diff options
author | rillig <rillig@pkgsrc.org> | 2006-10-19 06:19:18 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-10-19 06:19:18 +0000 |
commit | 70732b0c64455a4f68c1adc55d28d76ae9b7efb0 (patch) | |
tree | 4dd03788b64ef523e003f887b6682ef74c701432 /graphics | |
parent | 9b537eb511127cef6443a713a2ca3bb2339c15ac (diff) | |
download | pkgsrc-70732b0c64455a4f68c1adc55d28d76ae9b7efb0.tar.gz |
Fixed "test ==".
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/inkscape/distinfo | 5 | ||||
-rw-r--r-- | graphics/inkscape/patches/patch-ae | 13 | ||||
-rw-r--r-- | graphics/inkscape/patches/patch-af | 13 | ||||
-rw-r--r-- | graphics/inkscape/patches/patch-ag | 13 |
4 files changed, 43 insertions, 1 deletions
diff --git a/graphics/inkscape/distinfo b/graphics/inkscape/distinfo index c63cbaf093e..0b087d1047a 100644 --- a/graphics/inkscape/distinfo +++ b/graphics/inkscape/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.15 2006/10/06 20:29:11 adam Exp $ +$NetBSD: distinfo,v 1.16 2006/10/19 06:19:18 rillig Exp $ SHA1 (inkscape-0.44.1.tar.gz) = 6e55d0cf9f4ef50aaca250de36cde33654fb180a RMD160 (inkscape-0.44.1.tar.gz) = 2781febf20e3fcc9e630328ee4ec18b7ddda2aeb @@ -6,3 +6,6 @@ Size (inkscape-0.44.1.tar.gz) = 10702187 bytes SHA1 (patch-aa) = f690b21528e122bafaa86f8aefc63e98459a85c9 SHA1 (patch-ac) = 17e0c058f54e862ad0d2f392b2856e4f3f48fc7b SHA1 (patch-ad) = 441a97c9e3da9b730f55b2bff1a483a51f285658 +SHA1 (patch-ae) = 2b3f06a545d3cf27f59d41619528c59ac142c758 +SHA1 (patch-af) = ff3388a3533fffd13cae78d6821a3b8dcaab83a2 +SHA1 (patch-ag) = a5f5f899d97f529a83f8814307df6f4e3eb20760 diff --git a/graphics/inkscape/patches/patch-ae b/graphics/inkscape/patches/patch-ae new file mode 100644 index 00000000000..d0735f2ab23 --- /dev/null +++ b/graphics/inkscape/patches/patch-ae @@ -0,0 +1,13 @@ +$NetBSD: patch-ae,v 1.1 2006/10/19 06:19:18 rillig Exp $ + +--- packaging/macosx/Resources/bin/getdisplay.sh.orig 2006-09-06 07:41:47.000000000 +0200 ++++ packaging/macosx/Resources/bin/getdisplay.sh 2006-10-19 08:13:34.000000000 +0200 +@@ -2,7 +2,7 @@ + # + # Author: Aaron Voisine <aaron@voisine.org> + +-if [ "$DISPLAY"x == "x" ]; then ++if [ "$DISPLAY"x = "x" ]; then + echo :0 > /tmp/display.$UID + else + echo $DISPLAY > /tmp/display.$UID diff --git a/graphics/inkscape/patches/patch-af b/graphics/inkscape/patches/patch-af new file mode 100644 index 00000000000..d36e5aa3025 --- /dev/null +++ b/graphics/inkscape/patches/patch-af @@ -0,0 +1,13 @@ +$NetBSD: patch-af,v 1.1 2006/10/19 06:19:18 rillig Exp $ + +--- packaging/macosx/Resources/script.orig 2006-09-06 07:41:48.000000000 +0200 ++++ packaging/macosx/Resources/script 2006-10-19 08:14:09.000000000 +0200 +@@ -17,7 +17,7 @@ open-x11 /tmp/getdisplay.sh || \ + open -a XDarwin /tmp/getdisplay.sh || \ + echo ":0" > /tmp/display.$UID + +-while [ "$?" == "0" -a ! -f /tmp/display.$UID ]; do ++while [ "$?" = "0" -a ! -f /tmp/display.$UID ]; do + sleep 1 + done + export "DISPLAY=`cat /tmp/display.$UID`" diff --git a/graphics/inkscape/patches/patch-ag b/graphics/inkscape/patches/patch-ag new file mode 100644 index 00000000000..64541e0cd44 --- /dev/null +++ b/graphics/inkscape/patches/patch-ag @@ -0,0 +1,13 @@ +$NetBSD: patch-ag,v 1.1 2006/10/19 06:19:18 rillig Exp $ + +--- share/extensions/ps2pdf.sh.orig 2006-09-06 07:43:07.000000000 +0200 ++++ share/extensions/ps2pdf.sh 2006-10-19 08:15:03.000000000 +0200 +@@ -2,7 +2,7 @@ + + params=`grep "^%%DocumentMedia:" "$1" | head -n 1 | awk '{ if (NF==7) { if ($2!="plain") print "-sPAPERSIZE=" $2; else print "-dDEVICEWIDTHPOINTS=" $3 " -dDEVICEHEIGHTPOINTS=" $4; } }'` + +-if [ "x${params}x" == "xx" ] ++if [ "x${params}x" = "xx" ] + then + params=`grep "^%%BoundingBox:" "$1" | head -n 1 | awk '{ if (NF==5) { print "-dDEVICEWIDTHPOINTS=" $4 " -dDEVICEHEIGHTPOINTS=" $5; } }'` + fi |