[frogr/macosx] Add needed files to create a bundle file for Mac OSX
- From: Mario Sanchez Prada <msanchez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [frogr/macosx] Add needed files to create a bundle file for Mac OSX
- Date: Tue, 22 Feb 2011 22:09:29 +0000 (UTC)
commit 215cf59a76f2fae3d584bc0f9caaa0ce9a61ef48
Author: Mario Sanchez Prada <msanchez igalia com>
Date: Tue Feb 22 11:35:32 2011 +0100
Add needed files to create a bundle file for Mac OSX
frogr.bundle | 131 +++++++++++++++++++++++++++++++++++++++++++++++
macosx/Info-frogr.plist | 30 +++++++++++
macosx/frogr.icns | Bin 0 -> 246472 bytes
macosx/gtkrc | 1 +
4 files changed, 162 insertions(+), 0 deletions(-)
---
diff --git a/frogr.bundle b/frogr.bundle
new file mode 100644
index 0000000..7b7c021
--- /dev/null
+++ b/frogr.bundle
@@ -0,0 +1,131 @@
+<?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.
+ -->
+ <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>
+
+ <image>
+ <!-- Not implemented yet (DMG image). -->
+ </image>
+
+ <!-- Comment this out to keep the install names in binaries -->
+ <run-install-name-tool/>
+
+ <!-- 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}/launcher.sh</launcher-script -->
+
+ <!-- Not implemented: Optional runtime, could be python or mono
+ for example.
+ -->
+ <!-- runtime copy="yes">/usr/bin/python</runtime -->
+ <!-- Indicate the active gtk version to use. This is needed only
+ for gtk+-3.0 projects. -->
+ <gtk>gtk+-2.0</gtk>
+ </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}/macosx/Info-frogr.plist</plist>
+
+ <main-binary>${prefix}/bin/frogr</main-binary>
+
+ <!-- Copy in GTK+ modules. Note the ${gtkdir} macro, which expands
+ to the correct library subdirectory for the specified gtk
+ version.
+ -->
+ <binary>
+ ${prefix}/lib/${gtkdir}/modules/*.so
+ </binary>
+
+ <!-- Copy in GTK+ theme engines. Note the use of the
+ "${pkg:module:variable}" macro, which evaluates to a pkg-config
+ variable in the specified module. Note that any libraries that
+ binaries link to are also copied in automatically. Note also
+ the included ${gtk} macro, which gets the correct package name
+ to get. -->
+ <binary>
+ ${prefix}/lib/${gtkdir}/${pkg:${gtk}:gtk_binary_version}/engines/*.so
+ </binary>
+
+ <binary>
+ ${prefix}/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader*.so
+ </binary>
+
+ <!-- Translation filenames, one for each program or library that you
+ want to copy in to the bundle. The "dest" attribute is
+ optional, as usual. Bundler will find all translations of that
+ library/program under the indicated directory and copy them.-->
+ <translations name="gtk20">
+ ${prefix}/share/locale
+ </translations>
+
+
+ <!-- Data to copy in, usually Glade/UI files, images, sounds files
+ etc. The destination inside the bundle can be specified if the
+ files should end up at a different location, by using the
+ "dest" property. The destination must then start with the macro
+ "${bundle}", which refers to the bundle root directory.
+ -->
+ <!-- data>
+ ${prefix}/share/frogr
+ </data -->
+
+ <!-- Copy in the themes data. You may want to trim this to save space
+ in your bundle. -->
+ <data>
+ ${prefix}/share/themes/Clearlooks
+ </data>
+
+ <!-- Copy icons. Note that the .icns file is an Apple format which
+ contains up to 4 sizes of icon. You can use
+ /Developer/Applications/Utilities/Icon Composer.app to import
+ artwork and create the file. -->
+ <data dest="${bundle}/Contents/Resources">
+ ${project}/macosx/frogr.icns
+ </data>
+
+ <!-- This is where theme commands go. You can copy them in from your
+ theme of choice if they provide and example, or you can just
+ change the source path. -->
+
+ <data dest="${bundle}/Contents/Resources/etc/${gtkdir}/gtkrc">
+ ${project}/macosx/gtkrc
+ </data>
+
+ <!-- Icon themes to copy. The "icons" property can be either of
+ "auto", "all", or "none". All or none should be
+ self-explanatory, while auto means that the script will try to
+ figure out which icons are needed. This is done by getting all
+ the strings from all copied binaries, and matching them against
+ icon names. To be safe, you should use "all". "none" is useful
+ if you want just the index.theme file but no icons, mostly
+ needed for the "hicolor" base theme.
+ >
+ <icon-theme icons="auto">
+ Tango
+ </icon-theme -->
+
+</app-bundle>
diff --git a/macosx/Info-frogr.plist b/macosx/Info-frogr.plist
new file mode 100644
index 0000000..bd5464c
--- /dev/null
+++ b/macosx/Info-frogr.plist
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//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>frogr</string>
+ <key>CFBundleGetInfoString</key>
+ <string>0.5, (c) 2009-2011 Mario Sanchez Prada, http://live.gnome.org/Frogr</string>
+ <key>CFBundleIconFile</key>
+ <string>frogr.icns</string>
+ <key>CFBundleIdentifier</key>
+ <string>org.gnome.frogr</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>0.5</string>
+ <key>CFBundleVersion</key>
+ <string>0.5</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>NSHumanReadableCopyright</key>
+ <string>Licensed under the terms of the GNU General Public License version 3 Copyright (c) 2009-2011 Mario Sanchez Prada</string>
+ <key>LSMinimumSystemVersion</key>
+ <string>10.4</string>
+</dict>
+</plist>
diff --git a/macosx/frogr.icns b/macosx/frogr.icns
new file mode 100644
index 0000000..b8e64fa
Binary files /dev/null and b/macosx/frogr.icns differ
diff --git a/macosx/gtkrc b/macosx/gtkrc
new file mode 100644
index 0000000..d46d74d
--- /dev/null
+++ b/macosx/gtkrc
@@ -0,0 +1 @@
+gtk-theme-name = "Clearlooks"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]