aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/libunique/README2
-rw-r--r--libraries/libunique/libunique.SlackBuild20
-rw-r--r--libraries/libunique/libunique.info10
-rw-r--r--libraries/libunique/slack-desc2
4 files changed, 23 insertions, 11 deletions
diff --git a/libraries/libunique/README b/libraries/libunique/README
index f7b71b620ed0b..72a557a9fb4c0 100644
--- a/libraries/libunique/README
+++ b/libraries/libunique/README
@@ -6,4 +6,4 @@ running instance.
Unique makes it easy to write this kind of applications, by
providing a base class, taking care of all the IPC machinery
needed to send messages to a running instance, and also handling
-the startup notification side. \ No newline at end of file
+the startup notification side.
diff --git a/libraries/libunique/libunique.SlackBuild b/libraries/libunique/libunique.SlackBuild
index 2b83ae04ba393..232c011271182 100644
--- a/libraries/libunique/libunique.SlackBuild
+++ b/libraries/libunique/libunique.SlackBuild
@@ -5,7 +5,7 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=libunique
-VERSION=${VERSION:-1.0.8}
+VERSION=${VERSION:-1.1.6}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -46,14 +46,24 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
- --disable-dependency-tracking \
--enable-static=no \
- --enable-debug=no \
+ --enable-dbus=yes \
+ --enable-bacon=yes \
+ --enable-introspection=no \
+ --disable-dependency-tracking \
--with-x \
+ --enable-debug=no \
--build=$ARCH-slackware-linux
make
-make install-strip DESTDIR=$PKG
+make install DESTDIR=$PKG
+
+( cd $PKG
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null || true
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null || true
+)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
@@ -65,4 +75,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
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 --git a/libraries/libunique/libunique.info b/libraries/libunique/libunique.info
index 558c03077d355..3b8badcec5bbc 100644
--- a/libraries/libunique/libunique.info
+++ b/libraries/libunique/libunique.info
@@ -1,8 +1,10 @@
PRGNAM="libunique"
-VERSION="1.0.8"
+VERSION="1.1.6"
HOMEPAGE="http://live.gnome.org/LibUnique"
-DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/libunique/1.0/libunique-1.0.8.tar.bz2"
-MD5SUM="02b9e41c70ca738e1aa914f400fc1f05"
+DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/libunique/1.1/libunique-1.1.6.tar.bz2"
+MD5SUM="7955769ef31f1bc4f83446dbb3625e6d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="Larry Hajali"
EMAIL="larryhaja[at]gmail[dot]com"
-APPROVED="dsomero"
+APPROVED="Erik Hanson"
diff --git a/libraries/libunique/slack-desc b/libraries/libunique/slack-desc
index 6df2361d323fe..0a9cac9540e29 100644
--- a/libraries/libunique/slack-desc
+++ b/libraries/libunique/slack-desc
@@ -6,7 +6,7 @@
# leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
-libunique: libunique (library for writing single instance applications)
+libunique: libunique (a library for writing single instance applications)
libunique:
libunique: Unique is a library for writing single instance applications. Unique
libunique: makes it easy to write this kind of applications, by providing a base