gossip r2723 - in trunk: . data data/packaging data/packaging/mac



Author: rhult
Date: Thu Feb  7 17:55:54 2008
New Revision: 2723
URL: http://svn.gnome.org/viewvc/gossip?rev=2723&view=rev

Log:
Add mac bundle data

Added:
   trunk/data/packaging/
   trunk/data/packaging/Makefile.am
   trunk/data/packaging/mac/
   trunk/data/packaging/mac/Gossip.icns   (contents, props changed)
   trunk/data/packaging/mac/Info.plist.in
   trunk/data/packaging/mac/Makefile.am
   trunk/data/packaging/mac/gossip.bundle
   trunk/data/packaging/mac/gtkrc
Modified:
   trunk/ChangeLog
   trunk/configure.ac
   trunk/data/Makefile.am

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Thu Feb  7 17:55:54 2008
@@ -425,6 +425,9 @@
   data/pixmaps/Makefile
   data/win32/Makefile
   data/glade/Makefile
+  data/packaging/Makefile
+  data/packaging/mac/Makefile
+  data/packaging/mac/Info.plist
   libgossip/Makefile
   libloudermouth/Makefile
   src/Makefile

Modified: trunk/data/Makefile.am
==============================================================================
--- trunk/data/Makefile.am	(original)
+++ trunk/data/Makefile.am	Thu Feb  7 17:55:54 2008
@@ -1,4 +1,4 @@
-SUBDIRS = glade pixmaps
+SUBDIRS = glade pixmaps packaging
 
 if HAVE_PLATFORM_WIN32
 SUBDIRS += win32

Added: trunk/data/packaging/Makefile.am
==============================================================================
--- (empty file)
+++ trunk/data/packaging/Makefile.am	Thu Feb  7 17:55:54 2008
@@ -0,0 +1 @@
+SUBDIRS = mac

Added: trunk/data/packaging/mac/Gossip.icns
==============================================================================
Binary file. No diff available.

Added: trunk/data/packaging/mac/Info.plist.in
==============================================================================
--- (empty file)
+++ trunk/data/packaging/mac/Info.plist.in	Thu Feb  7 17:55:54 2008
@@ -0,0 +1,28 @@
+<?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>Gossip</string>
+    <key>CFBundleGetInfoString</key>
+    <string>Gossip</string>
+    <key>CFBundleIconFile</key>
+    <string>Gossip.icns</string>
+    <key>CFBundleIdentifier</key>
+    <string>org.gnome.Gossip</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>NSHumanReadableCopyright</key>
+    <string>Copyright  2002-2008 Imendio AB, GNU General Public License.</string>
+    <key>LSMinimumSystemVersion</key>
+    <string>10.4</string>
+</dict>
+</plist>

Added: trunk/data/packaging/mac/Makefile.am
==============================================================================
--- (empty file)
+++ trunk/data/packaging/mac/Makefile.am	Thu Feb  7 17:55:54 2008
@@ -0,0 +1 @@
+EXTRA_DIST = Gossip.icns gossip.bundle

Added: trunk/data/packaging/mac/gossip.bundle
==============================================================================
--- (empty file)
+++ trunk/data/packaging/mac/gossip.bundle	Thu Feb  7 17:55:54 2008
@@ -0,0 +1,97 @@
+<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
+<app-bundle>
+
+  <meta>
+    <!-- Where to pick up the GTK+ installation, icon themes,
+         etc. Note that "${env:PREFIX}" is evaluated to the value of
+         the environment variable PREFIX, and likewise with HOME. 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.
+    -->
+    <prefix name="default">${env:PREFIX}</prefix>
+
+    <!-- The project directory is the default location of the created
+         app. If you leave out the path, the current directory is
+         used.
+    -->
+    <destination overwrite="yes">${env:HOME}/Desktop</destination>
+
+    <image>
+      <!-- Not implemented yet (DMG image). -->
+    </image>
+
+    <!-- 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-->
+  </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/gossip</main-binary>
+
+  <!-- Copy in GTK+ and Pango modules. 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. 
+  -->
+  <binary>
+    ${prefix}/lib/gtk-2.0/${pkg:gtk+-2.0:gtk_binary_version}/loaders/*.so
+  </binary>
+  <binary>
+    ${prefix}/lib/gtk-2.0/${pkg:gtk+-2.0:gtk_binary_version}/engines/libclearlooks.so
+  </binary>
+  <binary>
+    ${prefix}/lib/pango/${pkg:pango:pango_module_version}/modules/pango-basic-atsui.so
+  </binary>
+
+  <!-- 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/gossip
+  </data>
+
+  <data>
+    ${prefix}/share/themes/Clearlooks
+  </data>
+
+  <data dest="${bundle}/Contents/Resources">
+    ${project}/Gossip.icns
+  </data>
+
+  <data dest="${bundle}/Contents/Resources/etc/gtk-2.0/gtkrc">
+    ${project}/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>

Added: trunk/data/packaging/mac/gtkrc
==============================================================================
--- (empty file)
+++ trunk/data/packaging/mac/gtkrc	Thu Feb  7 17:55:54 2008
@@ -0,0 +1,16 @@
+gtk-icon-theme-name = "Tango"
+gtk-font-name = "Lucida Grande 11"
+gtk-enable-mnemonics = 0
+gtk-theme-name = "Clearlooks"
+
+#include "$bundle_data/themes/Clearlooks/gtk-2.0/gtkrc"
+
+style "my-clearlooks" = "clearlooks-default"
+{
+  engine "clearlooks"
+  {
+    style = CLASSIC
+  }
+}
+class "*" style "my-clearlooks"
+          



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]