[Slackbuilds-users] [PATCH]

Benjamin Trigona-Harany bosth at alumni.sfu.ca
Tue Sep 11 02:15:13 UTC 2012


Patches for:
desktop/wmfs
graphics/exact-image
libraries/stfl

-------------- next part --------------
From 1a831ecef40690eb450d3015046658a769fbc0d1 Mon Sep 17 00:00:00 2001
From: Benjamin Trigona-Harany <bosth at alumni.sfu.ca>
Date: Sun, 9 Sep 2012 20:12:36 -0700
Subject: [PATCH 1/3] Fix stfl build for 14.0

---
 libraries/stfl/stfl.SlackBuild | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/libraries/stfl/stfl.SlackBuild b/libraries/stfl/stfl.SlackBuild
index f210013..f10edad 100644
--- a/libraries/stfl/stfl.SlackBuild
+++ b/libraries/stfl/stfl.SlackBuild
@@ -7,7 +7,7 @@
 
 PRGNAM=stfl
 VERSION=${VERSION:-0.22}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
 TAG=${TAG:-_SBo}
 
 if [ -z "$ARCH" ]; then
@@ -68,10 +68,17 @@ find $PKG -depth -type d -empty -delete || true
 find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
   | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
 
+# make installs an example for perl in the lib path
+rm $PKG/usr/lib${LIBDIRSUFFIX}/perl5/vendor_perl/example.pl
+
 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING README example.c $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
 cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
 
+# install all examples into the doc directory
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/examples
+cp -a example.c example.stfl perl5/example.pl python/example.* ruby/example.rb spl/*.spl $PKG/usr/doc/$PRGNAM-$VERSION/examples
+
 mkdir -p $PKG/install
 cat $CWD/slack-desc > $PKG/install/slack-desc
 
-- 
1.7.12
-------------- next part --------------
From ed11bab99c65b6e27aa8a1d8fce2e58496c03b4f Mon Sep 17 00:00:00 2001
From: Benjamin Trigona-Harany <bosth at alumni.sfu.ca>
Date: Sun, 9 Sep 2012 20:20:38 -0700
Subject: [PATCH 2/3] Fix build issue with php for exact-image under 14.0

---
 graphics/exact-image/exact-image.SlackBuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/graphics/exact-image/exact-image.SlackBuild b/graphics/exact-image/exact-image.SlackBuild
index f124ced..c3c920c 100644
--- a/graphics/exact-image/exact-image.SlackBuild
+++ b/graphics/exact-image/exact-image.SlackBuild
@@ -4,7 +4,7 @@
 
 PRGNAM=exact-image
 VERSION=${VERSION:-0.8.7}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
 TAG=${TAG:-_SBo}
 
 if [ -z "$ARCH" ]; then
@@ -58,7 +58,8 @@ sed "s, at vendorlib@,$vendorlib,g" $CWD/fixup-perl_paths.diff | patch -p1 --verbos
 
 ./configure \
   --bindir=/usr/bin \
-  --libdir=/usr/lib${LIBDIRSUFFIX}
+  --libdir=/usr/lib${LIBDIRSUFFIX} \
+  --without-php
 
 make CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS"
 make install DESTDIR=$PKG
-- 
1.7.12
-------------- next part --------------
From 497e82981b5ed836ae6b436c67b776e6c0df76c6 Mon Sep 17 00:00:00 2001
From: Benjamin Trigona-Harany <bosth at alumni.sfu.ca>
Date: Sun, 9 Sep 2012 20:25:24 -0700
Subject: [PATCH 3/3] Fix download link for wmfs

---
 desktop/wmfs/wmfs.SlackBuild | 2 +-
 desktop/wmfs/wmfs.info       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/desktop/wmfs/wmfs.SlackBuild b/desktop/wmfs/wmfs.SlackBuild
index ac3bd81..84debe7 100644
--- a/desktop/wmfs/wmfs.SlackBuild
+++ b/desktop/wmfs/wmfs.SlackBuild
@@ -6,7 +6,7 @@
 
 PRGNAM=wmfs
 VERSION=${VERSION:-201104}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
 TAG=${TAG:-_SBo}
 
 if [ -z "$ARCH" ]; then
diff --git a/desktop/wmfs/wmfs.info b/desktop/wmfs/wmfs.info
index 5885a03..ac72047 100644
--- a/desktop/wmfs/wmfs.info
+++ b/desktop/wmfs/wmfs.info
@@ -1,7 +1,7 @@
 PRGNAM="wmfs"
 VERSION="201104"
 HOMEPAGE="http://wmfs.info/projects/wmfs"
-DOWNLOAD="http://wmfs.info/attachments/download/45/wmfs-201104.tar.gz"
+DOWNLOAD="https://github.com/downloads/xorg62/wmfs/wmfs-201104.tar.gz"
 MD5SUM="323fa55885d86783f104f936e6b12c75"
 DOWNLOAD_x86_64=""
 MD5SUM_x86_64=""
-- 
1.7.12


More information about the SlackBuilds-users mailing list