1 <?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
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.
15 <prefix name="default">/opt/local</prefix>
16 <prefix name="linphone">${env:LINPHONE_INSTALL_PREFIX}</prefix>
17 <prefix name="ms2plugins">${env:MS2_PLUGINS_INSTALL_PREFIX}</prefix>
18 <prefix name="macports">/opt/local</prefix>
19 <!-- The project directory is the default location of the created
20 app. If you leave out the path, the current directory is
21 used. Note the usage of an environment variable here again.
23 <destination overwrite="yes">${env:BUNDLE_PREFIX}</destination>
26 <!-- Not implemented yet (DMG image). -->
29 <!-- Comment this out to keep the install names in binaries -->
30 <run-install-name-tool/>
32 <!-- Optionally specify a launcher script to use. If the
33 application sets up everything needed itself, like
34 environment variable, linker paths, etc, a launcher script is
35 not needed. If the source path is left out, the default
38 <!--launcher-script>${project}/launcher.sh</launcher-script -->
40 <!-- Not implemented: Optional runtime, could be python or mono
43 <!-- runtime copy="yes">/usr/bin/python</runtime -->
44 <!-- Indicate the active gtk version to use. This is needed only
45 for gtk+-3.0 projects. -->
49 <!-- The special macro "${project}" refers to the directory where
50 this bundle file is located. The application name and bundle
51 identifier are taken from the plist file.
53 <plist>${project}/Info-linphone.plist</plist>
55 <main-binary>${prefix:linphone}/bin/linphone</main-binary>
58 ${prefix:ms2plugins}/lib/mediastreamer/plugins/*.so
61 <!-- Copy in GTK+ modules. Note the ${gtkdir} macro, which expands
62 to the correct library subdirectory for the specified gtk
66 ${prefix}/lib/${gtkdir}/modules/*.so
70 ${prefix}/lib/gdk-pixbuf-2.0
74 ${prefix}/share/mime/globs
78 ${prefix}/lib/pango/${pkg:pango:pango_module_version}/modules/*.so
81 <!-- Copy in GTK+ theme engines. Note the use of the
82 "${pkg:module:variable}" macro, which evaluates to a pkg-config
83 variable in the specified module. Note that any libraries that
84 binaries link to are also copied in automatically. Note also
85 the included ${gtk} macro, which gets the correct package name
88 ${prefix}/lib/${gtkdir}/${pkg:${gtk}:gtk_binary_version}/engines/*.so
90 <!-- Copy GIO modules, required for https access for wizard-->
92 ${prefix}/lib/gio/modules/libgiognutls.so
95 <!-- Translation filenames, one for each program or library that you
96 want to copy in to the bundle. The "dest" attribute is
97 optional, as usual. Bundler will find all translations of that
98 library/program under the indicated directory and copy them.-->
99 <translations name="gtk20">
100 ${prefix}/share/locale
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.
111 ${prefix:linphone}/share/linphone
115 ${prefix:linphone}/share/pixmaps/linphone
118 <!-- Copy in the themes data. You may want to trim this to save space
121 ${prefix}/share/themes
124 <!-- Copy icons. Note that the .icns file is an Apple format which
125 contains up to 4 sizes of icon. You can use
126 /Developer/Applications/Utilities/Icon Composer.app to import
127 artwork and create the file. -->
128 <data dest="${bundle}/Contents/Resources">
129 ${project}/../../pixmaps/linphone.icns
133 <data dest="${bundle}/Contents/Resources">
134 ${project}/environment.sh
137 <!-- This is where theme commands go. You can copy them in from your
138 theme of choice if they provide and example, or you can just
139 change the source path. -->
141 <data dest="${bundle}/Contents/Resources/etc/${gtkdir}/gtkrc">
142 ${project}/../../gtk/gtkrc.mac
145 <data dest="${bundle}/Contents/Resources/share/sounds/linphone/rings/oldphone.wav">
146 ${prefix:linphone}/share/sounds/linphone/rings/oldphone.wav
149 <data dest="${bundle}/Contents/Resources/share/sounds/linphone/ringback.wav">
150 ${prefix:linphone}/share/sounds/linphone/ringback.wav
153 <!-- Icon themes to copy. The "icons" property can be either of
154 "auto", "all", or "none". All or none should be
155 self-explanatory, while auto means that the script will try to
156 figure out which icons are needed. This is done by getting all
157 the strings from all copied binaries, and matching them against
158 icon names. To be safe, you should use "all". "none" is useful
159 if you want just the index.theme file but no icons, mostly
160 needed for the "hicolor" base theme.
162 <icon-theme icons="auto">