bug-gnuzilla
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnuzilla] minor problems when building Icecat 52.2.1 for Androi


From: David Hedlund
Subject: Re: [Bug-gnuzilla] minor problems when building Icecat 52.2.1 for Android
Date: Sat, 29 Jul 2017 12:30:33 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

See https://gitlab.com/fdroid/fdroiddata/merge_requests/2194 for the current status in F-Droid.


On 2017-07-29 10:26, Narcis Garcia wrote:
Thanks!


El 28/07/17 a les 22:11, Reid Fleming ha escrit:
I have just finished building Icecat 52.2.1 for Android, and have found a
few minor problems.  Building was done on Ubuntu 17.04 x86_64.


1) You must manually create obj-android/ or "./mach build" will build for
    x86_64 instead of arm.


2) "./mach build" dies after emitting "Reticulating splines..."

   The problem is that array elements beginning with "IceCat" in the file

     mobile/android/base/android-services.mozbuild

   are not in alphabetical order.  Order them and rerun "./mach build".


3) "./mach build" fails because ANDROID_VERSION_CODE doesn't seem to be
    set or properly computed anywhere.  A solution is to modify the file

         mobile/android/base/AndroidManifest.xml.in

    and replace

         ANDROID_VERSION_CODE

    with something like "123456789" before rerunning "./mach build".


4) "./mach package" fails with the message:

     ERROR: The following duplicated files are not allowed:
         chrome/chrome/content/about.png

     A solution to this problem is removing the file

         obj-android/dist/bin/chrome/chrome/content/branding/about.png

     before rerunning "./mach package".


5) "./mach package" fails quietly with the message:

     ValueError: Don't know how to compute android:versionCode for CPU...

   A solution is to edit the file

     python/mozbuild/mozbuild/android_version_code.py

   and change line 118 from

         elif min_sdk == 15:

   to

         elif min_sdk == 15 or min_sdk == 11:

   before rerunning "./mach package".


Reid


--
http://gnuzilla.gnu.org

--
http://gnuzilla.gnu.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]