From 79948380ce2b832599b9f5216cd320b8879189b7 Mon Sep 17 00:00:00 2001 From: Daniil Bratashov Date: Tue, 17 Dec 2013 11:33:13 +0100 Subject: academic/gwyddion: Updated for version 2.34. Added a patch for the italian translation Signed-off-by: Matteo Bernardini --- .../gwyddion-2.34-it-translation-spaces.patch | 101 +++++++++++++++++++++ academic/gwyddion/gwyddion.SlackBuild | 6 +- academic/gwyddion/gwyddion.info | 6 +- 3 files changed, 108 insertions(+), 5 deletions(-) create mode 100644 academic/gwyddion/gwyddion-2.34-it-translation-spaces.patch (limited to 'academic') diff --git a/academic/gwyddion/gwyddion-2.34-it-translation-spaces.patch b/academic/gwyddion/gwyddion-2.34-it-translation-spaces.patch new file mode 100644 index 0000000000..c4231b967a --- /dev/null +++ b/academic/gwyddion/gwyddion-2.34-it-translation-spaces.patch @@ -0,0 +1,101 @@ +Index: po/it.po +=================================================================== +--- po/it.po (revision 15772) ++++ po/it.po (revision 15773) +@@ -13,7 +13,7 @@ + "Project-Id-Version: it\n" + "Report-Msgid-Bugs-To: yeti@gwyddion.net\n" + "POT-Creation-Date: 2013-12-15 14:29+0100\n" +-"PO-Revision-Date: 2013-12-10 14:04+0100\n" ++"PO-Revision-Date: 2013-12-16 14:56+0100\n" + "Last-Translator: Yeti \n" + "Language-Team: Italian \n" + "Language: \n" +@@ -1711,7 +1711,7 @@ + + #: app/gwyappfilechooser.c:696 + msgid "Row-level previewed data" +-msgstr " " ++msgstr "" + + #: app/gwyappfilechooser.c:805 + msgid "…" +@@ -10297,7 +10297,7 @@ + + #: modules/process/superresolution.c:103 + msgid "/M_ultidata/_Super-resolution..." +-msgstr "/Multidati/Super-risoluzione" ++msgstr "/Multidati/Super-risoluzione..." + + #: modules/process/superresolution.c:107 + msgid "Super resolution of multiple images of same object" +@@ -10489,7 +10489,7 @@ + + #: modules/process/tip_blind.c:427 + msgid "Plot size _graph" +-msgstr " " ++msgstr "" + + #: modules/process/tip_blind.c:437 + msgid "Create tip i_mages" +@@ -10707,7 +10707,7 @@ + + #: modules/process/xydenoise.c:84 + msgid "/M_ultidata/_XY denoise..." +-msgstr " " ++msgstr "" + + #: modules/process/xydenoise.c:88 + msgid "Denoises horizontal/vertical measurement." +@@ -11820,27 +11820,27 @@ + + #: modules/volume/volume_extract.c:272 + msgid "X cross-section" +-msgstr " " ++msgstr "" + + #: modules/volume/volume_extract.c:273 + msgid "Y cross-section" +-msgstr " " ++msgstr "" + + #: modules/volume/volume_extract.c:274 + msgid "Z cross-section" +-msgstr " " ++msgstr "" + + #: modules/volume/volume_extract.c:275 modules/volume/volume_extract.c:697 + msgid "X direction sum" +-msgstr " " ++msgstr "" + + #: modules/volume/volume_extract.c:276 modules/volume/volume_extract.c:699 + msgid "Y direction sum" +-msgstr " " ++msgstr "" + + #: modules/volume/volume_extract.c:277 modules/volume/volume_extract.c:701 + msgid "Z direction sum" +-msgstr " " ++msgstr "" + + #: modules/volume/volume_extract.c:280 + msgid "X direction" +@@ -11864,7 +11864,7 @@ + + #: modules/volume/volume_extract.c:338 + msgid "_Extract projection" +-msgstr " " ++msgstr "" + + #: modules/volume/volume_extract.c:355 + msgid "Projections" +@@ -11884,7 +11884,7 @@ + + #: modules/volume/volume_extract.c:410 + msgid "Shown cut direction:" +-msgstr " " ++msgstr "" + + #: modules/volume/volume_extract.c:420 modules/volume/volume_extract.c:500 + msgid "Show mode:" diff --git a/academic/gwyddion/gwyddion.SlackBuild b/academic/gwyddion/gwyddion.SlackBuild index cf5509b255..8fe06a2c83 100644 --- a/academic/gwyddion/gwyddion.SlackBuild +++ b/academic/gwyddion/gwyddion.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=gwyddion -VERSION=${VERSION:-2.33} +VERSION=${VERSION:-2.34} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,6 +69,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# fix for italian language crash in gwyddion 2.34 +cat $CWD/gwyddion-2.34-it-translation-spaces.patch | patch -p0 + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -98,4 +101,3 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} - diff --git a/academic/gwyddion/gwyddion.info b/academic/gwyddion/gwyddion.info index 0209ab6de4..89f50c5f20 100644 --- a/academic/gwyddion/gwyddion.info +++ b/academic/gwyddion/gwyddion.info @@ -1,8 +1,8 @@ PRGNAM="gwyddion" -VERSION="2.33" +VERSION="2.34" HOMEPAGE="http://gwyddion.net" -DOWNLOAD="http://downloads.sourceforge.net/gwyddion/gwyddion-2.33.tar.xz" -MD5SUM="fa5c5ca4a3836c27ae76507814d28a26" +DOWNLOAD="http://downloads.sourceforge.net/gwyddion/gwyddion-2.34.tar.xz" +MD5SUM="75d5fca35ff284031f29471476b2492c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="gtkglext" -- cgit v1.2.3