diff options
Diffstat (limited to '')
-rw-r--r-- | build-aux/osx/bundle/data/Info.plist.in | 268 | ||||
-rwxr-xr-x | build-aux/osx/bundle/data/gedit | 66 | ||||
-rw-r--r-- | build-aux/osx/bundle/data/gedit.bundle | 122 | ||||
-rw-r--r-- | build-aux/osx/bundle/data/gedit.icns | bin | 0 -> 262295 bytes | |||
-rw-r--r-- | build-aux/osx/bundle/data/geditdoc.icns | bin | 0 -> 38861 bytes | |||
-rw-r--r-- | build-aux/osx/bundle/data/geditpkg.icns | bin | 0 -> 290002 bytes | |||
-rw-r--r-- | build-aux/osx/bundle/data/template.dmg.bz2 | bin | 0 -> 2101803 bytes |
7 files changed, 456 insertions, 0 deletions
diff --git a/build-aux/osx/bundle/data/Info.plist.in b/build-aux/osx/bundle/data/Info.plist.in new file mode 100644 index 0000000..381cbea --- /dev/null +++ b/build-aux/osx/bundle/data/Info.plist.in @@ -0,0 +1,268 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleExecutable</key> + <string>Gedit</string> + <key>CFBundleGetInfoString</key> + <string>@VERSION@ Copyright 2009, Gedit</string> + <key>CFBundleIconFile</key> + <string>gedit.icns</string> + <key>CFBundleIdentifier</key> + <string>org.gnome.Gedit</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>APPL</string> + <key>CFBundleShortVersionString</key> + <string>@VERSION@</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleVersion</key> + <string>@VERSION@</string> + <key>NSHumanReadableCopyright</key> + <string>Copyright 2009 Gedit, GNU General Public License.</string> + <key>LSMinimumSystemVersion</key> + <string>10.7</string> + <key>CFBundleName</key> + <string>Gedit</string> + <key>CFBundleDisplayName</key> + <string>Gedit</string> + <key>NSHighResolutionCapable</key> + <true/> + <key>NSHighResolutionMagnifyAllowed</key> + <false/> + <key>CFBundleDocumentTypes</key> + <array> + <dict> + <key>CFBundleTypeExtensions</key> + <array> + <string>*</string> + <string>F</string> + <string>F90</string> + <string>Filemaker</string> + <string>M</string> + <string>act3</string> + <string>ada</string> + <string>applescript</string> + <string>as</string> + <string>asm</string> + <string>asp</string> + <string>awk</string> + <string>bak</string> + <string>bash</string> + <string>b</string> + <string>bf</string> + <string>brainfuck</string> + <string>c</string> + <string>cgi</string> + <string>c++</string> + <string>cfm</string> + <string>cob</string> + <string>conf</string> + <string>cp</string> + <string>cpp</string> + <string>cs</string> + <string>csh</string> + <string>css</string> + <string>CSS</string> + <string>csv</string> + <string>custom</string> + <string>cxx</string> + <string>def</string> + <string>default</string> + <string>do</string> + <string>dtd</string> + <string>dxf</string> + <string>enc</string> + <string>eps</string> + <string>err</string> + <string>f</string> + <string>f90</string> + <string>fcgi</string> + <string>for</string> + <string>fs</string> + <string>fscript</string> + <string>gcc</string> + <string>h</string> + <string>hpgl</string> + <string>htm</string> + <string>HTM</string> + <string>html</string> + <string>ics</string> + <string>idl</string> + <string>inc</string> + <string>ini</string> + <string>java</string> + <string>javascript</string> + <string>js</string> + <string>las</string> + <string>lasso</string> + <string>latex</string> + <string>lgt</string> + <string>lisp</string> + <string>log</string> + <string>ltx</string> + <string>lua</string> + <string>m</string> + <string>m1s</string> + <string>mel</string> + <string>m4</string> + <string>mk</string> + <string>mm</string> + <string>msl</string> + <string>mtl</string> + <string>mws</string> + <string>mx</string> + <string>mxo</string> + <string>mysql</string> + <string>njs</string> + <string>p</string> + <string>ps</string> + <string>pas</string> + <string>pch</string> + <string>php</string> + <string>php3</string> + <string>php4</string> + <string>phtml</string> + <string>pl</string> + <string>plist</string> + <string>pm</string> + <string>pod</string> + <string>postgresql</string> + <string>pike</string> + <string>pp</string> + <string>pro</string> + <string>py</string> + <string>python</string> + <string>pyw</string> + <string>r</string> + <string>rb</string> + <string>rc</string> + <string>reb</string> + <string>rebol</string> + <string>rsp</string> + <string>rtf</string> + <string>ruby</string> + <string>rxp</string> + <string>s</string> + <string>sgml</string> + <string>sh</string> + <string>shtm</string> + <string>shtml</string> + <string>sieve</string> + <string>sl</string> + <string>strings</string> + <string>sty</string> + <string>sps</string> + <string>spss</string> + <string>sql</string> + <string>SQL</string> + <string>st</string> + <string>svg</string> + <string>tab</string> + <string>tcl</string> + <string>tcsh</string> + <string>tex</string> + <string>text</string> + <string>txt</string> + <string>types</string> + <string>uue</string> + <string>v</string> + <string>vbs</string> + <string>vcard</string> + <string>vcs</string> + <string>verilog</string> + <string>vhd</string> + <string>vhdl</string> + <string>vrm</string> + <string>vrml</string> + <string>wmk</string> + <string>x</string> + <string>xhtml</string> + <string>xml</string> + <string>xsl</string> + <string>xslt</string> + <string>yaml</string> + </array> + <key>CFBundleTypeIconFile</key> + <string>geditdoc</string> + <key>CFBundleTypeMIMETypes</key> + <array> + <string>application/base64</string> + <string>application/dxf</string> + <string>application/php</string> + <string>application/plain</string> + <string>application/postscript</string> + <string>application/rtf</string> + <string>application/vnd.hp-hpgl</string> + <string>application/x-bsh</string> + <string>application/x-csh</string> + <string>application/x-javascript</string> + <string>application/x-latex</string> + <string>application/x-meme</string> + <string>application/x-pointplus</string> + <string>application/x-rtf</string> + <string>application/x-seelogo</string> + <string>application/x-sh</string> + <string>application/x-shar</string> + <string>application/x-tcl</string> + <string>application/x-tex</string> + <string>application/x-vrml</string> + <string>application/xml</string> + <string>image/svg+xml</string> + <string>image/svg-xml</string> + <string>image/vnd.dwg</string> + <string>image/x-dwg</string> + <string>image/x-xpixmap</string> + <string>model/vrml</string> + <string>text/asp</string> + <string>text/calendar</string> + <string>text/css</string> + <string>text/directory</string> + <string>text/html</string> + <string>text/javascript</string> + <string>text/pascal</string> + <string>text/php</string> + <string>text/plain</string> + <string>text/richtext</string> + <string>text/sgml</string> + <string>text/vcard</string> + <string>text/x-asm</string> + <string>text/x-c</string> + <string>text/x-fortran</string> + <string>text/x-h</string> + <string>text/x-java-source</string> + <string>text/x-m</string> + <string>text/x-pascal</string> + <string>text/x-perl-script</string> + <string>text/x-php-script</string> + <string>text/x-script.csh</string> + <string>text/x-script.perl-module</string> + <string>text/x-script.perl</string> + <string>text/x-script.phyton</string> + <string>text/x-script.sh</string> + <string>text/x-script.tcl</string> + <string>text/x-script.tcsh</string> + <string>text/x-server-parsed-html</string> + <string>text/x-sgml</string> + <string>text/x-uuencode</string> + <string>text/x-vcalendar</string> + <string>text/x-vcard</string> + <string>text/xml</string> + <string>x-world/x-vrml</string> + </array> + <key>CFBundleTypeName</key> + <string>Gedit Document</string> + <key>CFBundleTypeOSTypes</key> + <array> + <string>****</string> + </array> + <key>CFBundleTypeRole</key> + <string>Editor</string> + </dict> + </array> +</dict> +</plist> diff --git a/build-aux/osx/bundle/data/gedit b/build-aux/osx/bundle/data/gedit new file mode 100755 index 0000000..391fbbb --- /dev/null +++ b/build-aux/osx/bundle/data/gedit @@ -0,0 +1,66 @@ +#!/bin/bash + +if test "x$GTK_DEBUG_LAUNCHER" != x; then + set -x +fi + +if test "x$GTK_DEBUG_GDB" != x; then + EXEC="lldb --" +elif test "x$GTK_DEBUG_DTRUSS" != x; then + EXEC="sudo dtruss sudo -u $USER" +else + EXEC=exec +fi + +name=$(basename "$0") +dirn=$(dirname "$0") + +pushd "$dirn/../../" > /dev/null +bundle=$(pwd -P) +popd > /dev/null + +bundle_contents="$bundle"/Contents +bundle_res="$bundle_contents"/Resources +bundle_lib="$bundle_res"/lib +bundle_bin="$bundle_res"/bin +bundle_data="$bundle_res"/share +bundle_etc="$bundle_res"/etc + +export PATH="$bundle_bin:$PATH" +export DYLD_LIBRARY_PATH="$bundle_lib:$DYLD_LIBRARY_PATH" +export XDG_CONFIG_DIRS="$bundle_etc:$XDG_CONFIG_DIRS" +export XDG_DATA_DIRS="$bundle_data:$XDG_DATA_DIRS" +export GTK_DATA_PREFIX="$bundle_res" +export GTK_EXE_PREFIX="$bundle_res" +export GTK_PATH="$bundle_res" +export GDK_PIXBUF_MODULE_FILE="$bundle_lib/gdk-pixbuf-2.0/2.10.0/loaders.cache" +#export GIO_EXTRA_MODULES="$bundle_lib/gio/modules" +export GI_TYPELIB_PATH="$bundle_lib/girepository-1.0" +export PYTHONPATH="$bundle_lib/python3.3/site-packages" +export PYTHONHOME="$bundle_res" +export PANGO_LIBDIR="$bundle_lib" +export PANGO_SYSCONFDIR="$bundle_etc" +export PEAS_PLUGIN_LOADERS_DIR="$bundle_lib/libpeas-1.0/loaders" +export ENCHANT_MODULES_DIR="$bundle_lib/enchant" +export ENCHANT_DATA_DIR="$bundle_data/enchant" + +if test -f "$bundle_lib/charset.alias"; then + export CHARSETALIASDIR="$bundle_lib" +fi + +# Extra arguments can be added in environment.sh. +EXTRA_ARGS= +if test -f "$bundle_res/environment.sh"; then + source "$bundle_res/environment.sh" +fi + +# Strip out the argument added by the OS. +if [ x`echo "x$1" | sed -e "s/^x-psn_.*//"` == x ]; then + shift 1 +fi + +if [ "x$GTK_DEBUG_SHELL" != "x" ]; then + exec bash +else + $EXEC "$bundle_contents/MacOS/$name-bin" "$@" $EXTRA_ARGS +fi diff --git a/build-aux/osx/bundle/data/gedit.bundle b/build-aux/osx/bundle/data/gedit.bundle new file mode 100644 index 0000000..edb138f --- /dev/null +++ b/build-aux/osx/bundle/data/gedit.bundle @@ -0,0 +1,122 @@ +<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*--> +<app-bundle> + + <meta> + <!-- Where to pick up the GTK+ installation, icon themes, + etc. Note that "${env:JHBUILD_PREFIX}" is evaluated to the + value of the environment variable JHBUILD_PREFIX. You can + define additional prefixes and refer to them in paths + throughout this file on the form "${prefix:name}". This is + useful for installing certain libraries or even the + application itself separately. Note that JHBUILD_PREFIX is + defined by jhbuild, so it you are not using jhbuild you can + either define your own or just hardcode the path here. + --> + <gtk>gtk+-3.0</gtk> + <prefix name="default">${env:JHBUILD_PREFIX}</prefix> + + <!-- The project directory is the default location of the created + app. If you leave out the path, the current directory is + used. Note the usage of an environment variable here again. + <destination overwrite="yes">${env:HOME}/Desktop</destination> + --> + + <!-- Optionally specify a launcher script to use. If the + application sets up everything needed itself, like + environment variable, linker paths, etc, a launcher script is + not needed. If the source path is left out, the default + script will be used. + --> + <launcher-script>${project}/Gedit</launcher-script> + <run-install-name-tool/> + </meta> + + <!-- The special macro "${project}" refers to the directory where + this bundle file is located. The application name and bundle + identifier are taken from the plist file. + --> + <plist>${project}/Info.plist</plist> + <main-binary>${prefix}/bin/gedit</main-binary> + + <!-- Copy in dependencies of python plugins --> + <binary>${prefix}/lib/libgit2-glib*.dylib</binary> + + <!-- Copy in GTK+ printer backends --> + <binary>${prefix}/lib/gtk-3.0/${pkg:gtk+-3.0:gtk_binary_version}/printbackends/*.so</binary> + + <!-- Copy in GTK+ im modules --> + <binary>${prefix}/lib/gtk-3.0/${pkg:gtk+-3.0:gtk_binary_version}/immodules/*.so</binary> + + <!-- Copy in pango modules --> + <binary>${prefix}/lib/pango/${pkg:pango:pango_module_version}/modules/*.so</binary> + + <!-- Copy in gdk pixbuf loader modules --> + <binary>${prefix}/lib/gdk-pixbuf-2.0/${pkg:gdk-pixbuf-2.0:gdk_pixbuf_binary_version}/loaders/*.so</binary> + + <!-- Copy in plugins and plugin loaders --> + <binary>${prefix}/lib/libpeas-1.0/loaders/*.so</binary> + <binary>${prefix}/lib/gedit/plugins/*.so</binary> + + <!-- Take the applespell enchant provider --> + <binary>${prefix}/lib/enchant/libenchant_applespell.so</binary> + + <!-- Copy in peas modules --> + <binary>${prefix}/lib/libpeas-1.0/loaders/*.so</binary> + + <!-- Copy in girepository typelibs --> + <data>${prefix}/lib/girepository-1.0</data> + + <!-- Copy in gedit private girepository typelibs --> + <data>${prefix}/lib/gedit/girepository-1.0</data> + + + <!-- python --> + <binary>${prefix}/lib/python3.3/site-packages/cairo/*.so</binary> + <binary>${prefix}/lib/python3.3/site-packages/gi/*.so</binary> + + <!--<data>${prefix}/lib/python3.3/site-packages/cairo</data> + <data>${prefix}/lib/python2.3/site-packages/gi</data>--> + + <data>${prefix}/include/python3.3m/pyconfig.h</data> + + <binary>${prefix}/lib/python3.3/lib-dynload/*.so</binary> + <data>${prefix}/lib/python3.3</data> + <binary>${prefix}/bin/python3</binary> + + <!-- GTK+3 data --> + <data>${prefix}/etc/gtk-3.0/*</data> + + <!-- gtksourceview --> + <data>${prefix}/share/gtksourceview-4</data> + + <!-- gedit --> + <data>${prefix}/share/gedit</data> + <data>${prefix}/lib/gedit</data> + + <!-- locale (TODO: trim) --> + <data>${prefix}/share/locale</data> + <data>${prefix}/lib/charset.alias</data> + + <!-- mime database --> + <data>${prefix}/share/mime</data> + + <!-- iso-codes --> + <data>${prefix}/share/xml/iso-codes</data> + + <!-- Themes --> + <data>${prefix}/share/themes/Default</data> + <data>${prefix}/share/themes/Adwaita</data> + <data>${prefix}/share/themes/HighContrast</data> + <data>${prefix}/share/themes/Mac</data> + + <!-- App icon --> + <data dest="${bundle}/Contents/Resources">${project}/gedit.icns</data> + <data dest="${bundle}/Contents/Resources">${project}/geditdoc.icns</data> + + <!-- gsettings schema --> + <data>${prefix}/share/glib-2.0/schemas/gschemas.compiled</data> + + <!-- Icon theme --> + <icon-theme icons="auto">Adwaita</icon-theme> + <icon-theme icons="auto">gnome</icon-theme> +</app-bundle> diff --git a/build-aux/osx/bundle/data/gedit.icns b/build-aux/osx/bundle/data/gedit.icns Binary files differnew file mode 100644 index 0000000..a0bd725 --- /dev/null +++ b/build-aux/osx/bundle/data/gedit.icns diff --git a/build-aux/osx/bundle/data/geditdoc.icns b/build-aux/osx/bundle/data/geditdoc.icns Binary files differnew file mode 100644 index 0000000..cea4481 --- /dev/null +++ b/build-aux/osx/bundle/data/geditdoc.icns diff --git a/build-aux/osx/bundle/data/geditpkg.icns b/build-aux/osx/bundle/data/geditpkg.icns Binary files differnew file mode 100644 index 0000000..92e7add --- /dev/null +++ b/build-aux/osx/bundle/data/geditpkg.icns diff --git a/build-aux/osx/bundle/data/template.dmg.bz2 b/build-aux/osx/bundle/data/template.dmg.bz2 Binary files differnew file mode 100644 index 0000000..b6450e2 --- /dev/null +++ b/build-aux/osx/bundle/data/template.dmg.bz2 |