Assorted fixes for building Gramps 5.0.

This commit is contained in:
John Ralls 2019-08-25 19:08:43 -07:00
parent 710e40425f
commit 1c856bb93b
2 changed files with 18 additions and 18 deletions

View File

@ -17,7 +17,7 @@
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>Gramps-5.1.0=1</string> <string>Gramps-5.1.0-1</string>
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>????</string> <string>????</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>

View File

@ -13,7 +13,7 @@
<plist>${project}/Info.plist</plist> <plist>${project}/Info.plist</plist>
<!-- Build gramps-launcher with: <!-- Build gramps-launcher with:
gcc -L$PREFIX `python-config --cflags --ldflags` \ gcc -L$PREFIX/lib `python-config -\-cflags -\-ldflags` \
-o $PREFIX/bin/gramps-launcher \ -o $PREFIX/bin/gramps-launcher \
path/to/gtk-mac-bundler/examples/python-launcher.c path/to/gtk-mac-bundler/examples/python-launcher.c
with the obvious substitution. with the obvious substitution.
@ -41,7 +41,7 @@
</binary> </binary>
<binary recurse="True"> <binary recurse="True">
${prefix}/lib/python3.4/*.so ${prefix}/lib/python3.6/*.so
</binary> </binary>
<binary> <binary>
@ -69,7 +69,7 @@
</binary> </binary>
<binary> <binary>
${prefix}/lib/libosmgpsmap-1.0.0.dylib ${prefix}/lib/libosmgpsmap-1.0.1.dylib
</binary> </binary>
<binary> <binary>
@ -77,7 +77,7 @@
</binary> </binary>
<binary> <binary>
${prefix}/lib/libhunspell-1.3.0.dylib ${prefix}/lib/libhunspell-1.6.0.dylib
</binary> </binary>
<binary> <binary>
@ -96,6 +96,10 @@
${prefix}/lib/libgexiv2.dylib ${prefix}/lib/libgexiv2.dylib
</binary> </binary>
<gir>
${prefix}/share/gir-1.0/*.gir
</gir>
<!-- Translation filenames, one for each program or library that you <!-- Translation filenames, one for each program or library that you
want to copy in to the bundle. The "dest" attribute is want to copy in to the bundle. The "dest" attribute is
optional, as usual. Bundler will find all translations of that optional, as usual. Bundler will find all translations of that
@ -133,36 +137,33 @@
${project}/gramps_launcher.py ${project}/gramps_launcher.py
</data> </data>
<!-- We have to pull in the python modules, which are mixed python
and loadable modules. -->
<data> <data>
${prefix}/share/glib-2.0/schemas ${prefix}/share/glib-2.0/schemas
</data> </data>
<!-- We have to pull in the python modules, which are mixed python
and loadable modules. -->
<data recurse="True"> <data recurse="True">
${prefix}/lib/python3.4/*.py ${prefix}/lib/python3.6/*.py
</data> </data>
<data> <data>
${prefix}/lib/python3.4/config-3.4m/ ${prefix}/lib/python3.6/config-3.6m-darwin/
</data> </data>
<data> <data>
${prefix}/lib/python3.4/site-packages/gramps/gen/utils/resource-path ${prefix}/lib/python3.6/site-packages/gramps/gen/utils/resource-path
</data> </data>
<data> <data>
${prefix}/include/python3.4m/pyconfig.h ${prefix}/include/python3.6m/pyconfig.h
</data> </data>
<data> <data>
${prefix}/lib/girepository-1.0/ ${prefix}/share/xml/iso-codes
</data> </data>
<!--data>
${prefix}/share/webkit-1.0/
</data-->
<data> <data>
${prefix}/share/enchant/ ${prefix}/share/enchant/
</data> </data>
@ -172,7 +173,7 @@
</data> </data>
<data recurse="True"> <data recurse="True">
${prefix}/lib/python3.4/site-packages/gramps/*.glade ${prefix}/lib/python3.6/site-packages/gramps/*.glade
</data> </data>
<data> <data>
@ -204,7 +205,6 @@
<data> <data>
${prefix}/share/icons ${prefix}/share/icons
</data> </data>
<!-- Copy icons. Note that the .icns file is an Apple format which <!-- Copy icons. Note that the .icns file is an Apple format which
contains up to 4 sizes of icon. You can use contains up to 4 sizes of icon. You can use
/Developer/Applications/Utilities/Icon Composer.app to import /Developer/Applications/Utilities/Icon Composer.app to import