summaryrefslogtreecommitdiff
path: root/macosx/bundle/sylpheed.bundle
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/bundle/sylpheed.bundle')
-rw-r--r--macosx/bundle/sylpheed.bundle152
1 files changed, 152 insertions, 0 deletions
diff --git a/macosx/bundle/sylpheed.bundle b/macosx/bundle/sylpheed.bundle
new file mode 100644
index 0000000..e741404
--- /dev/null
+++ b/macosx/bundle/sylpheed.bundle
@@ -0,0 +1,152 @@
1<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
2<app-bundle>
3
4 <meta>
5 <!-- Where to pick up the GTK+ installation, icon themes,
6 etc. Note that "${env:JHBUILD_PREFIX}" is evaluated to the
7 value of the environment variable JHBUILD_PREFIX. You can
8 define additional prefixes and refer to them in paths
9 throughout this file on the form "${prefix:name}". This is
10 useful for installing certain libraries or even the
11 application itself separately. Note that JHBUILD_PREFIX is
12 defined by jhbuild, so it you are not using jhbuild you can
13 either define your own or just hardcode the path here.
14 -->
15 <prefix name="default">${env:JHBUILD_PREFIX}</prefix>
16
17 <!-- The project directory is the default location of the created
18 app. If you leave out the path, the current directory is
19 used. Note the usage of an environment variable here again.
20 -->
21 <destination overwrite="yes">${env:HOME}/Desktop</destination>
22
23 <image>
24 <!-- Not implemented yet (DMG image). -->
25 </image>
26
27 <!-- Comment this out to keep the install names in binaries -->
28 <run-install-name-tool/>
29
30 <!-- Optionally specify a launcher script to use. If the
31 application sets up everything needed itself, like
32 environment variable, linker paths, etc, a launcher script is
33 not needed. If the source path is left out, the default
34 script will be used.
35 -->
36 <launcher-script>${project}/launcher.sh</launcher-script >
37
38 <!-- Not implemented: Optional runtime, could be python or mono
39 for example.
40 -->
41 <!-- runtime copy="yes">/usr/bin/python</runtime -->
42 <!-- Indicate the active gtk version to use. This is needed only
43 for gtk+-3.0 projects. -->
44 <gtk>gtk+-2.0</gtk>
45 </meta>
46
47 <!-- The special macro "${project}" refers to the directory where
48 this bundle file is located. The application name and bundle
49 identifier are taken from the plist file.
50 -->
51 <plist>${project}/Info-sylpheed.plist</plist>
52
53 <main-binary>${prefix}/bin/sylpheed</main-binary>
54
55 <!-- Copy in GTK+ modules. Note the ${gtkdir} macro, which expands
56 to the correct library subdirectory for the specified gtk
57 version.
58 -->
59 <binary>
60 ${prefix}/lib/${gtkdir}/modules/*.so
61 </binary>
62
63 <!-- Copy in GTK+ theme engines and print backends. Note the use of the
64 "${pkg:module:variable}" macro, which evaluates to a pkg-config
65 variable in the specified module. Note that any libraries that
66 binaries link to are also copied in automatically. Note also
67 the included ${gtk} macro, which gets the correct package name
68 to get. -->
69 <binary>
70 ${prefix}/lib/${gtkdir}/${pkg:${gtk}:gtk_binary_version}/engines/*.so
71 </binary>
72 <binary>
73 ${prefix}/lib/${gtkdir}/${pkg:${gtk}:gtk_binary_version}/printbackends/*.so
74 </binary>
75 <binary>
76 ${prefix}/lib/${gtkdir}/${pkg:${gtk}:gtk_binary_version}/immodules/*.so
77 </binary>
78
79<!-- Starting with 2.24, gdk-pixbuf installs into its own directory. -->
80 <binary>
81 ${prefix}/lib/gdk-pixbuf-2.0/${pkg:${gtk}:gtk_binary_version}/loaders/*.so
82 </binary>
83
84 <binary>
85 ${prefix}/lib/pango/${pkg:pango:pango_module_version}/modules/*.so
86 </binary>
87
88 <binary>
89 ${prefix}/lib/sylpheed/plugins/*.so
90 </binary>
91
92 <!-- Translation filenames, one for each program or library that you
93 want to copy in to the bundle. The "dest" attribute is
94 optional, as usual. Bundler will find all translations of that
95 library/program under the indicated directory and copy them.-->
96 <translations name="gtk20">
97 ${prefix}/share/locale
98 </translations>
99 <translations name="sylpheed">
100 ${prefix}/share/locale
101 </translations>
102
103
104 <!-- Data to copy in, usually Glade/UI files, images, sounds files
105 etc. The destination inside the bundle can be specified if the
106 files should end up at a different location, by using the
107 "dest" property. The destination must then start with the macro
108 "${bundle}", which refers to the bundle root directory.
109 -->
110 <data>
111 ${prefix}/share/sylpheed
112 </data>
113 <!-- data>
114 ${prefix}/share/pixmaps
115 </data -->
116
117 <!-- Copy in the themes data. You may want to trim this to save space
118 in your bundle. -->
119 <data>
120 ${prefix}/share/themes
121 </data>
122
123 <!-- Copy icons. Note that the .icns file is an Apple format which
124 contains up to 4 sizes of icon. You can use
125 /Developer/Applications/Utilities/Icon Composer.app to import
126 artwork and create the file. -->
127 <data dest="${bundle}/Contents/Resources">
128 ${project}/sylpheed.icns
129 </data>
130
131 <!-- This is where theme commands go. You can copy them in from your
132 theme of choice if they provide and example, or you can just
133 change the source path. -->
134
135 <data dest="${bundle}/Contents/Resources/etc/${gtkdir}/gtkrc">
136 ${project}/gtkrc
137 </data>
138
139 <!-- Icon themes to copy. The "icons" property can be either of
140 "auto", "all", or "none". All or none should be
141 self-explanatory, while auto means that the script will try to
142 figure out which icons are needed. This is done by getting all
143 the strings from all copied binaries, and matching them against
144 icon names. To be safe, you should use "all". "none" is useful
145 if you want just the index.theme file but no icons, mostly
146 needed for the "hicolor" base theme.
147 >
148 <icon-theme icons="auto">
149 Tango
150 </icon-theme -->
151
152</app-bundle>