[Slackbuilds-users] Osmo re-add/update to 0.2.8

Brad Ely elyb at ioplasm.net
Thu Oct 29 04:03:07 UTC 2009


I wanted to try Osmo on 13.0 so gave a shot at updating the Slackbuild
(not tested on _64).

diff -u ../osmo-12.2/README ./README
--- ../osmo-12.2/README	2009-05-06 20:21:42.000000000 -0400
+++ ./README	2009-10-28 19:25:14.000000000 -0400
@@ -3,5 +3,7 @@
 easy to use and good looking PIM tool to help to manage personal
 information.
 
-libnotify, libical, libsyncml (available at SBo), and libgringotts
-(not available at SBo) are optional build time dependencies.
+Optional build-time dependencies are:
+libical (part of Slackware 13.0)
+libnotify, libsyncml (available at SBo)
+libgringotts, libtar (not available at SBo)
Only in ../osmo-12.2: osmo-0.2.6.tar.gz
diff -u ../osmo-12.2/osmo.SlackBuild ./osmo.SlackBuild
--- ../osmo-12.2/osmo.SlackBuild	2009-05-06 20:21:42.000000000 -0400
+++ ./osmo.SlackBuild	2009-10-28 23:01:36.000000000 -0400
@@ -23,7 +23,7 @@
 # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 PRGNAM=osmo
-VERSION=${VERSION:-0.2.6}
+VERSION=${VERSION:-0.2.8}
 ARCH=${ARCH:-i486}
 BUILD=${BUILD:-1}
 TAG=${TAG:-_SBo}
@@ -35,10 +35,13 @@
 
 if [ "$ARCH" = "i486" ]; then
   SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+  LIBDIRSUFFIX=""
 elif [ "$ARCH" = "i686" ]; then
   SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+  LIBDIRSUFFIX=""
 elif [ "$ARCH" = "x86_64" ]; then
   SLKCFLAGS="-O2 -fPIC"
+  LIBDIRSUFFIX="64"
 fi
 
 rm -rf $PKG
@@ -54,16 +57,10 @@
  \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
  -exec chmod 644 {} \;
 
-# Apply patch-libgringotts-2.diff patch found at
-# http://sourceforge.net/mailarchive/forum.php?thread_name=49B43951.50203%40waitrose.com&forum_name=osmo-pim-friends
-# In order for Osmo 0.2.6 to compile, this patch needs to be applied regardless of building with or without libgringotts.
-( cd src
-  patch -p0 < $CWD/patch-libgringotts-2.diff || exit 1
-)
-
 CFLAGS="$SLKCFLAGS" \
 ./configure \
   --prefix=/usr \
+  --libdir=/usr/lib${LIBDIRSUFFIX} \
   --sysconfdir=/etc \
   --localstatedir=/var \
   --mandir=/usr/man \
@@ -88,4 +85,4 @@
 cat $CWD/doinst.sh > $PKG/install/doinst.sh
 
 cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff -u ../osmo-12.2/osmo.info ./osmo.info
--- ../osmo-12.2/osmo.info	2009-05-08 21:01:55.000000000 -0400
+++ ./osmo.info	2009-10-28 23:05:47.000000000 -0400
@@ -1,8 +1,10 @@
 PRGNAM="osmo"
-VERSION="0.2.6"
+VERSION="0.2.8"
 HOMEPAGE="http://clay.ll.pl/osmo"
-DOWNLOAD="http://downloads.sourceforge.net/osmo-pim/osmo-0.2.6.tar.gz"
-MD5SUM="0253bde2583c4299b1afcf2e29b134aa"
+DOWNLOAD="http://downloads.sourceforge.net/osmo-pim/osmo-0.2.8.tar.gz"
+DOWNLOAD_x86_64=""
+MD5SUM="7fa83efd27cd3ecc54e73f0ec4e91d81"
+MD5SUM_x86_64=""
 MAINTAINER="Frank Caraballo"
 EMAIL="fecaraballo{at}gmail{dot}com"
 APPROVED="dsomero"
Only in ../osmo-12.2: patch-libgringotts-2.diff


More information about the SlackBuilds-users mailing list