summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorsu_v <suv-sf@users.sourceforge.net>2014-09-02 14:24:00 +0000
committer~suv <suv-sf@users.sourceforge.net>2014-09-02 14:24:00 +0000
commit8e669dd194967a8f59a2ef3a53bf758f1bbb7eba (patch)
tree3d15c1647ac6370da4171a5dffe88546fa81ff99 /packaging
parentupdate to trunk (r13539) (diff)
downloadinkscape-8e669dd194967a8f59a2ef3a53bf758f1bbb7eba.tar.gz
inkscape-8e669dd194967a8f59a2ef3a53bf758f1bbb7eba.zip
add GTK+ backend to DMG filename, info file
(bzr r13506.1.53)
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/macosx/osx-build.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/packaging/macosx/osx-build.sh b/packaging/macosx/osx-build.sh
index 9d9bc07b9..db3b30249 100755
--- a/packaging/macosx/osx-build.sh
+++ b/packaging/macosx/osx-build.sh
@@ -251,8 +251,10 @@ function getinkscapeinfo () {
REVISION="$(bzr revno)"
[ $? -ne 0 ] && REVISION="" || REVISION="-r$REVISION"
+ gtk_target=`pkg-config --variable=target gtk+-2.0 2>/dev/null`
+
TARGETARCH="$ARCH"
- NEWNAME="Inkscape-$INKVERSION$REVISION-$TARGETVERSION-$TARGETARCH"
+ NEWNAME="Inkscape-$INKVERSION$REVISION-$gtk_target-$TARGETVERSION-$TARGETARCH"
DMGFILE="$NEWNAME.dmg"
INFOFILE="$NEWNAME-info.txt"
@@ -399,7 +401,8 @@ Build system information:
OS X Version $OSXVERSION
Architecture $ARCH
MacPorts Ver `port version | cut -f2 -d \ `
- GCC `$CXX --version | grep GCC`
+ GCC `$CXX --version | head -1`
+ GTK+ backend $gtk_target
Included dependency versions:
GTK `checkversion gtk+-2.0`
GTKmm `checkversion gtkmm-2.4`