
Automate generation of MacGPG2 binaries
Reported by Benjamin Donnachie | December 31st, 2010 @ 01:20 PM | in 2.0.18 (closed)
Compilation of MacGPG2 is currently a manual process.
Either script or produce top-level Makefile to automate. Additionally, automated tests preferred.
Comments and changes to this ticket
-
-
Alex (via GPGTools) January 1st, 2011 @ 05:34 PM
Also have a look at https://github.com/GPGMail/GPGMail/blob/master/GPGMail/Utilities/te... in this context.
-
Alex (via GPGTools) January 4th, 2011 @ 01:40 PM
- Milestone cleared.
- Importance changed from to Low
-
Benjamin Donnachie January 16th, 2011 @ 12:13 PM
- Milestone cleared.
- Importance changed from Low to High
Due to issues with various libraries, currently not able to script. However, still working on it!
-
Alex (via GPGTools) January 24th, 2011 @ 07:54 PM
Just fyi:
Undefined symbols: "_libintl_textdomain", referenced from: _main in iconv.o
-
Benjamin Donnachie January 24th, 2011 @ 08:15 PM
Should still be tagged experimental. Other libraries fail to build
from script, notably gettext and libusb-compat.Sent from my iPhone
-
Benjamin Donnachie January 25th, 2011 @ 12:13 AM
Added a status message to reflect experimental status.
Issues so far include gettext will not compile properly unless direct from archive - copied source or git import fail. Suspect a symlink, or similar, but not investigated yet. libusb-compat will only compile from command line despite confirming same environment; again, requires investigation.
However, good news is that patch to pth makefile produces fat binary in single pass. Script also offers good record of steps needed, even if some have to be performed manually at the moment.
Ongoing.
-
Alex (via GPGTools) January 26th, 2011 @ 09:58 AM
Since I'm building all sources from the installer script (http://gpgtools.lighthouseapp.com/projects/65162/tickets/30 and https://github.com/GPGTools/GPGTools/blob/master/scripts/create_dmg.sh) it would be nice to have all binaries and config files at build/MacGPG2 after running "make".
-
Alex (via GPGTools) January 26th, 2011 @ 10:16 AM
It might help to remove the "sudo" command and set MacGPG2 to "$BuildDirectory/usr/local/MacGPG2".
-
Benjamin Donnachie January 29th, 2011 @ 02:47 PM
On the build machine, libraries need to be installed in their final location otherwise user installs will fail, without adjusting library references.
sudo required to preserve correct ownership on files.
-
Alex (via GPGTools) January 29th, 2011 @ 07:24 PM
The issue here is that I would like to compile all projects for the installer automatically (this already work for all other (smaller) parts of our project). This way there is no need to add any binaries to the repository.
I don't know any Unix software that doesn't separate the "make" and "make install" step - afaik usually the search path for the libraries are adjusted when compiling the sources in the "make" phase and "make install" copies the files to the final location. -
-
Benjamin Donnachie January 30th, 2011 @ 02:09 AM
BTW, will work on improving script once compile issues resolved. Particularly concerned by gettext's refusal to compile from git or copied source, but works fine from tar ball - needs investigation.
-
Benjamin Donnachie January 31st, 2011 @ 11:13 PM
- Milestone cleared.
gettext is checking modified time on makefile template, detecting it as changed and failing it its attempt to rebuild it. Fault identified, to patch.
-
-
-
Alex (via GPGTools) September 8th, 2011 @ 01:14 PM
- Tag set to p1
-
Alex (via GPGTools) October 12th, 2011 @ 04:55 PM
@Benjamin: have you already found some time to have a look at the build script?
-
Alex (via GPGTools) December 28th, 2011 @ 01:22 PM
- Assigned user changed from Benjamin Donnachie to Mento
- State changed from open to fixed
- Milestone set to 2.0.18
- Importance changed from High to Low
Done in 2.0.18 "buildscript" branch.
-
steve March 30th, 2013 @ 02:32 PM
- Tag cleared.
-
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
People watching this ticket
Referenced by
-
30 Add IDEA support make install (see #4)
-
30 Add IDEA support So in case #4 is solved and someone wants to provide some...