[gimp/osx-build: 19/46] Add missing language files to OS X bundler
- From: Sven Claussner <sclaussner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/osx-build: 19/46] Add missing language files to OS X bundler
- Date: Mon, 30 Jun 2014 19:30:46 +0000 (UTC)
commit 43e592c82053543a9ed28e38026c0674230bbbad
Author: Sven Claussner <sclaussner src gnome org>
Date: Sun May 11 14:26:28 2014 +0200
Add missing language files to OS X bundler
Fix typo (filename.mo). Add missing language files for GIMP and its
dependencies. Prepare translation of OS X application menu strings.
build/osx/gimp-2.8-python.bundle | 76 +++++++++++++++++++++++++----------
build/osx/gimp-master-python.bundle | 51 +++++++++++++++++++----
2 files changed, 96 insertions(+), 31 deletions(-)
---
diff --git a/build/osx/gimp-2.8-python.bundle b/build/osx/gimp-2.8-python.bundle
index ee21407..a11e505 100644
--- a/build/osx/gimp-2.8-python.bundle
+++ b/build/osx/gimp-2.8-python.bundle
@@ -30,7 +30,7 @@
${prefix}/lib/libpyglib-2.0-python.0.dylib
</binary>
- <!-- Pull in all python modules -->
+ <!-- Pull in all Python modules -->
<data>${prefix}/lib/pygtk/2.0/*.py</data>
<data>${prefix}/lib/pygtk/2.0/demos/*.py</data>
@@ -72,7 +72,7 @@
<data>${prefix}/lib/python2.7/xml/parsers/*.py</data>
<data>${prefix}/lib/python2.7/xml/sax/*.py</data>
- <!-- Pull in all python binaries -->
+ <!-- Pull in all Python binaries -->
<binary>${prefix}/lib/python2.7/lib-dynload/*.so</binary>
<binary>${prefix}/lib/python2.7/site-packages/*.so</binary>
@@ -88,7 +88,7 @@
<main-binary>${prefix}/bin/gimp-2.8</main-binary>
- <!-- Copy in gimp plugins and modules -->
+ <!-- Copy in GIMP plugins and modules -->
<binary>${prefix}/lib/gimp/2.0/plug-ins/*</binary>
<binary>${prefix}/lib/gimp/2.0/modules/*.so</binary>
<data>${prefix}/lib/gimp/2.0/python/*py</data>
@@ -97,10 +97,10 @@
<!-- Copy in GTK+ modules -->
<binary>${prefix}/lib/${gtkdir}/modules/*.so</binary>
- <!-- Copy in babl modules -->
+ <!-- Copy in Babl modules -->
<binary>${prefix}/lib/babl-0.1/*.so</binary>
- <!-- Copy in gegl modules -->
+ <!-- Copy in GEGL modules -->
<binary>${prefix}/lib/gegl-0.2/*.so</binary>
<!-- Copy in GTK+ theming engines and modules -->
@@ -108,7 +108,7 @@
<binary>${prefix}/lib/${gtkdir}/${pkg:${gtk}:gtk_binary_version}/printbackends/*.so</binary>
<binary>${prefix}/lib/${gtkdir}/${pkg:${gtk}:gtk_binary_version}/immodules/*.so</binary>
- <!-- Copy in gdk-pifbuf modules and loader file-->
+ <!-- Copy in GDK-Pixbuf modules and loader file-->
<binary>
${prefix}/lib/gdk-pixbuf-2.0/${pkg:gdk-pixbuf-2.0:gdk_pixbuf_binary_version}/
</binary>
@@ -118,15 +118,47 @@
${prefix}/lib/pango/${pkg:pango:pango_module_version}/modules/*.so
</binary>
- <!-- Translation filenames-->
+ <!-- Copy in translations -->
+ <!-- - copy in GIMP and GEGL translations - -->
+ <translations name="gegl-0.2">${prefix}/share/locale</translations>
+ <translations name="gimp20-libgimp">${prefix}/share/locale</translations>
+ <translations name="gimp20-python">${prefix}/share/locale</translations>
+ <translations name="gimp20-script-fu">${prefix}/share/locale</translations>
+ <translations name="gimp20-std-plug-ins">${prefix}/share/locale</translations>
+ <translations name="gimp20-tips">${prefix}/share/locale</translations>
+ <translations name="gimp20">${prefix}/share/locale</translations>
+
+ <!-- - copy in ISO-Code Package translations (language names) - -->
+ <translations name="iso_15924">${prefix}/share/locale</translations>
+ <translations name="iso_3166">${prefix}/share/locale</translations>
+ <translations name="iso_3166_2">${prefix}/share/locale</translations>
+ <translations name="iso_4217">${prefix}/share/locale</translations>
+ <translations name="iso_639">${prefix}/share/locale</translations>
+ <translations name="iso_639_3">${prefix}/share/locale</translations>
+
+ <!-- - copy in miscellanous translations- -->
+ <translations name="atk10">${prefix}/share/locale</translations>
+ <translations name="gdk-pixbuf">${prefix}/share/locale</translations>
+ <translations name="gettext-tools">${prefix}/share/locale</translations>
+ <translations name="glib-networking">${prefix}/share/locale</translations>
+ <translations name="glib20">${prefix}/share/locale</translations>
+ <translations name="gnutls">${prefix}/share/locale</translations>
+ <translations name="gtk20-properties">${prefix}/share/locale</translations>
<translations name="gtk20">${prefix}/share/locale</translations>
- <translations name="gegl-0.2.mo">${prefix}/share/locale</translations>
- <translations name="gimp20-libgimp.mo">${prefix}/share/locale</translations>
- <translations name="gimp20.mo">${prefix}/share/locale</translations>
- <translations name="gimp20-python.mo">${prefix}/share/locale</translations>
- <translations name="gimp20-script-fu.mo">${prefix}/share/locale</translations>
- <translations name="gimp20-std-plug-ins.mo">${prefix}/share/locale</translations>
- <translations name="gimp20-tips.mo">${prefix}/share/locale</translations>
+ <translations name="gvfs">${prefix}/share/locale</translations>
+ <translations name="libexif-12">${prefix}/share/locale</translations>
+ <translations name="libgpg-error">${prefix}/share/locale</translations>
+ <translations name="libsecret">${prefix}/share/locale</translations>
+ <translations name="libsoup">${prefix}/share/locale</translations>
+ <translations name="shared-mime-info">${prefix}/share/locale</translations>
+
+ <!-- preparation to copy the GTK-Mac-Integration translation strings (Services,
+ Hide, Show all, Quit etc.) in the 'GIMP' menu to the same place where Simone (skl)
+ puts them.
+ TODO: examine, understand and apply her solution. See also:
+
http://sourceforge.net/p/gimponosx/code/HEAD/tree/GimpPorts/ports/graphics/gimp2/files/app-gui-gui-unique.c.diff
+ https://github.com/jralls/gtk-mac-integration/blob/master/README -->
+ <!-- data dest="${bundle}/Contents/Resources">${prefix}/share/strings</data -->
<!-- Copy in mime data -->
<!-- Used for opening up help in browser -->
@@ -148,7 +180,7 @@
${prefix}/share/mime-info/*
</data>-->
- <!-- Copy in dbus Launch session support -->
+ <!-- Copy in D-Bus Launch session support -->
<data>${prefix}/etc/dbus-1/system.conf</data>
<data>${prefix}/etc/dbus-1/session.d/</data>
<data>${prefix}/etc/dbus-1/system.d/</data>
@@ -158,17 +190,17 @@
<!--<binary>${prefix}/bin/dbus-</binary>-->
<binary>${prefix}/bin/dbus-*</binary>
- <!-- Copy in gvfs file support -->
+ <!-- Copy in GVFS file support -->
<binary>${prefix}/bin/gvfs-*</binary>
- <!-- Copy in gtk+-2.0 data -->
+ <!-- Copy in GTK+-2.0 data -->
<data>${prefix}/etc/gtk-2.0/*</data>
- <!-- Copy in fontconfig data -->
+ <!-- Copy in FontConfig data -->
<data>${prefix}/etc/fonts/conf.d/*</data>
<data>${prefix}/etc/fonts/fonts.conf</data>
- <!-- Gimp data -->
+ <!-- GIMP data -->
<data>${prefix}/etc/gimp/2.0/*</data>
<data dest="${bundle}/Contents/Resources/share/gimp">${prefix}/share/gimp</data>
@@ -178,8 +210,8 @@
<!-- Copy in themes -->
<data>${prefix}/share/themes</data>
- <!-- Copy in gtk+ theme data -->
- <data>${prefix}/share/gtk-engines/*.xml</data>
+ <!-- Copy in GTK+ theme data -->
+ <!-- data>${prefix}/share/gtk-engines/*.xml</data -->
<!-- Change default theme -->
<data dest="${bundle}/Contents/Resources/etc/${gtkdir}/gtkrc">
@@ -191,7 +223,7 @@
${project}/custom/gimprc
</data>-->
- <!-- Copy in better fontconfig defaults -->
+ <!-- Copy in better FontConfig defaults -->
<!--<data dest="${bundle}/Contents/Resources/etc/fonts/fonts.conf">
${project}/custom/fonts.conf
</data>-->
diff --git a/build/osx/gimp-master-python.bundle b/build/osx/gimp-master-python.bundle
index 96ad010..e9f9715 100755
--- a/build/osx/gimp-master-python.bundle
+++ b/build/osx/gimp-master-python.bundle
@@ -101,7 +101,7 @@
<binary>${prefix}/lib/babl-0.1/*.so</binary>
<!-- Copy in GEGL modules -->
- <binary>${prefix}/lib/gegl-0.3/*.so</binary>
+ <binary>${prefix}/lib/gegl-0.2/*.so</binary>
<!-- Copy in GTK+ theming engines and modules -->
<binary>${prefix}/lib/${gtkdir}/${pkg:${gtk}:gtk_binary_version}/engines/*.so</binary>
@@ -118,15 +118,48 @@
${prefix}/lib/pango/${pkg:pango:pango_module_version}/modules/*.so
</binary>
- <!-- Translation filenames-->
+ <!-- Translations -->
+ <!-- - GIMP and GEGL translations - -->
+ <translations name="gegl-0.3">${prefix}/share/locale</translations>
+ <translations name="gimp20-libgimp">${prefix}/share/locale</translations>
+ <translations name="gimp20-python">${prefix}/share/locale</translations>
+ <translations name="gimp20-script-fu">${prefix}/share/locale</translations>
+ <translations name="gimp20-std-plug-ins">${prefix}/share/locale</translations>
+ <translations name="gimp20-tips">${prefix}/share/locale</translations>
+ <translations name="gimp20">${prefix}/share/locale</translations>
+
+ <!-- - ISO-Code Package translations - -->
+ <translations name="iso_15924">${prefix}/share/locale</translations>
+ <translations name="iso_3166">${prefix}/share/locale</translations>
+ <translations name="iso_3166_2">${prefix}/share/locale</translations>
+ <translations name="iso_4217">${prefix}/share/locale</translations>
+ <translations name="iso_639">${prefix}/share/locale</translations>
+ <translations name="iso_639_3">${prefix}/share/locale</translations>
+
+ <!-- - miscellanous translations- -->
+ <translations name="atk10">${prefix}/share/locale</translations>
+ <translations name="exiv2">${prefix}/share/locale</translations>
+ <translations name="gdk-pixbuf">${prefix}/share/locale</translations>
+ <translations name="gettext-tools">${prefix}/share/locale</translations>
+ <translations name="glib-networking">${prefix}/share/locale</translations>
+ <translations name="glib20">${prefix}/share/locale</translations>
+ <translations name="gnutls">${prefix}/share/locale</translations>
+ <translations name="gtk20-properties">${prefix}/share/locale</translations>
<translations name="gtk20">${prefix}/share/locale</translations>
- <translations name="gegl-0.2.mo">${prefix}/share/locale</translations>
- <translations name="gimp20-libgimp.mo">${prefix}/share/locale</translations>
- <translations name="gimp20.mo">${prefix}/share/locale</translations>
- <translations name="gimp20-python.mo">${prefix}/share/locale</translations>
- <translations name="gimp20-script-fu.mo">${prefix}/share/locale</translations>
- <translations name="gimp20-std-plug-ins.mo">${prefix}/share/locale</translations>
- <translations name="gimp20-tips.mo">${prefix}/share/locale</translations>
+ <translations name="gvfs">${prefix}/share/locale</translations>
+ <translations name="libexif-12">${prefix}/share/locale</translations>
+ <translations name="libgpg-error">${prefix}/share/locale</translations>
+ <translations name="libsecret">${prefix}/share/locale</translations>
+ <translations name="libsoup">${prefix}/share/locale</translations>
+ <translations name="shared-mime-info">${prefix}/share/locale</translations>
+
+ <!-- preparation to copy the GTK-Mac-Integration translation strings (Services,
+ Hide, Show all, Quit etc.) in the 'GIMP' menu to the same place where Simone (skl)
+ puts them.
+ TODO: examine, understand and apply her solution. See also:
+
http://sourceforge.net/p/gimponosx/code/HEAD/tree/GimpPorts/ports/graphics/gimp2/files/app-gui-gui-unique.c.diff
+ https://github.com/jralls/gtk-mac-integration/blob/master/README -->
+ <!-- data dest="${bundle}/Contents/Resources">${prefix}/share/strings</data -->
<!-- Copy in mime data -->
<!-- Used for opening up help in browser -->
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]