summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Bratashov <dn2010@gmail.com>2013-12-17 11:33:13 +0100
committerErik Hanson <erik@slackbuilds.org>2013-12-17 11:00:31 -0600
commit79948380ce2b832599b9f5216cd320b8879189b7 (patch)
tree73a7bfc53ae2221c99314fc167fdf14a64772f20
parent349e943ffc7bb616be8733c50df87a39101d8f28 (diff)
downloadslackbuilds-79948380ce2b832599b9f5216cd320b8879189b7.tar.gz
academic/gwyddion: Updated for version 2.34.
Added a patch for the italian translation Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--academic/gwyddion/gwyddion-2.34-it-translation-spaces.patch101
-rw-r--r--academic/gwyddion/gwyddion.SlackBuild6
-rw-r--r--academic/gwyddion/gwyddion.info6
3 files changed, 108 insertions, 5 deletions
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 <yeti@gwyddion.net>\n"
+ "Language-Team: Italian <kde-i18n-it@kde.org>\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"