summaryrefslogtreecommitdiffstats
path: root/packaging/macos/src/inkscape.bundle
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:24:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:24:48 +0000
commitcca66b9ec4e494c1d919bff0f71a820d8afab1fa (patch)
tree146f39ded1c938019e1ed42d30923c2ac9e86789 /packaging/macos/src/inkscape.bundle
parentInitial commit. (diff)
downloadinkscape-cca66b9ec4e494c1d919bff0f71a820d8afab1fa.tar.xz
inkscape-cca66b9ec4e494c1d919bff0f71a820d8afab1fa.zip
Adding upstream version 1.2.2.upstream/1.2.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'packaging/macos/src/inkscape.bundle')
-rw-r--r--packaging/macos/src/inkscape.bundle181
1 files changed, 181 insertions, 0 deletions
diff --git a/packaging/macos/src/inkscape.bundle b/packaging/macos/src/inkscape.bundle
new file mode 100644
index 0000000..892963b
--- /dev/null
+++ b/packaging/macos/src/inkscape.bundle
@@ -0,0 +1,181 @@
+<?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:ARTIFACT_DIR}</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}/gtk3-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+-3.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}/inkscape.plist</plist>
+
+ <main-binary>${prefix}/bin/inkscape</main-binary>
+
+ <!-- Copy in the input methods. Dunno if they actually work with
+ OSX. Note the ${gtkdir} macro, which expands to the correct
+ library subdirectory for the specified gtk version. -->
+ <binary>
+ ${prefix}/lib/${gtkdir}/${pkg:${gtk}:gtk_binary_version}/immodules/*.so
+ </binary>
+
+<!-- And the print backends -->
+ <binary>
+ ${prefix}/lib/${gtkdir}/${pkg:${gtk}:gtk_binary_version}/printbackends/*.so
+ </binary>
+
+<!-- Starting with 2.24, gdk-pixbuf installs into its own directory. -->
+ <binary>
+ ${prefix}/lib/gdk-pixbuf-2.0/${pkg:gdk-pixbuf-2.0:gdk_pixbuf_binary_version}/loaders/*.so
+ </binary>
+
+<!-- No longer needed for pango >= 1.38
+ <binary>
+ ${prefix}/lib/pango/${pkg:pango:pango_module_version}/modules/
+ </binary>
+-->
+ <binary>
+ ${prefix}/lib/inkscape/libinkscape_base.dylib
+ </binary>
+ <binary>
+ ${prefix}/lib/libexslt.0.dylib
+ </binary>
+ <binary>
+ ${prefix}/lib/libssl.1.1.dylib
+ </binary>
+ <binary>
+ ${prefix}/lib/gio/modules/*.so
+ </binary>
+ <binary>
+ ${prefix}/lib/enchant-2/*.so
+ </binary>
+ <!-- Ghostscript (disable this for GPLv2+ compliance!) -->
+ <binary>
+ ${prefix}/bin/gs
+ </binary>
+ <data>
+ ${prefix}/share/ghostscript
+ </data>
+ <data>
+ ${prefix}/bin/ps2pdf*
+ </data>
+ <!-- GObject Introspection -->
+ <binary>
+ ${prefix}/lib/libgirepository-1.0.1.dylib
+ </binary>
+ <gir>
+ ${prefix}/share/gir-1.0/*.gir
+ </gir>
+ <!-- WebP Codec -->
+ <binary>
+ ${prefix}/lib/libwebp.7.dylib
+ </binary>
+ <binary>
+ ${prefix}/lib/libwebpmux.3.dylib
+ </binary>
+ <binary>
+ ${prefix}/lib/libwebpdemux.2.dylib
+ </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="gdk-pixbuf">
+ ${prefix}/share/locale
+ </translations>
+ <translations name="gtk30">
+ ${prefix}/share/locale
+ </translations>
+ <translations name="gtk30-properties">
+ ${prefix}/share/locale
+ </translations>
+ <translations name="inkscape">
+ ${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/gtk3-demo
+ </data -->
+
+ <data>
+ ${prefix}/etc/fonts
+ </data>
+ <data>
+ ${prefix}/share/enchant
+ </data>
+ <data>
+ ${prefix}/share/fontconfig
+ </data>
+ <data>
+ ${prefix}/share/glib-2.0
+ </data>
+ <data>
+ ${prefix}/share/icons
+ </data>
+ <data>
+ ${prefix}/share/ImageMagick-6
+ </data>
+ <data>
+ ${prefix}/share/inkscape
+ </data>
+ <!-- Copy in the themes data. You may want to trim this to save space
+ in your bundle. -->
+ <data>
+ ${prefix}/share/themes
+ </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}/Giggle.icns
+ </data -->
+
+ </app-bundle>