summaryrefslogtreecommitdiff
path: root/source/x/xdg-utils
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/xdg-utils')
-rwxr-xr-xsource/x/xdg-utils/xdg-utils-cvs_checkout.sh17
-rwxr-xr-xsource/x/xdg-utils/xdg-utils.SlackBuild9
-rw-r--r--source/x/xdg-utils/xdg-utils.info2
-rw-r--r--source/x/xdg-utils/xdg-utils.mate.diff43
-rw-r--r--source/x/xdg-utils/xdg-utils.url2
5 files changed, 6 insertions, 67 deletions
diff --git a/source/x/xdg-utils/xdg-utils-cvs_checkout.sh b/source/x/xdg-utils/xdg-utils-cvs_checkout.sh
deleted file mode 100755
index 74d7ba0e..00000000
--- a/source/x/xdg-utils/xdg-utils-cvs_checkout.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash
-
-
-MODULE=$(basename $0 -cvs_checkout.sh)
-DATE=$(date +%Y%m%d)
-
-set -x
-
-rm -rf $MODULE
-
-cvs -z3 -d:pserver:anonymous@cvs.freedesktop.org:/cvs/portland checkout -P portland/$MODULE
-pushd portland
-find . -name CVS -exec rm -rf "{}" \; 2> /dev/null
-tar cjf ../$MODULE-${DATE}cvs.tar.bz2 $MODULE
-popd
-
-rm -rf portland
diff --git a/source/x/xdg-utils/xdg-utils.SlackBuild b/source/x/xdg-utils/xdg-utils.SlackBuild
index eabc7260..43dd6145 100755
--- a/source/x/xdg-utils/xdg-utils.SlackBuild
+++ b/source/x/xdg-utils/xdg-utils.SlackBuild
@@ -26,9 +26,9 @@
PKGNAM=xdg-utils
-VERSION=1.1.0-rc1
+VERSION=1.1.1
ARCH=noarch
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
PKG_VERSION=${VERSION/-/_}
@@ -44,11 +44,9 @@ mkdir -p $TMP $PKG
cd $TMP || exit 1
rm -rf $PKGNAM-$VERSION
-tar xvf $CWD/$PKGNAM-$VERSION.tar.bz2 || exit 1
+tar xvf $CWD/$PKGNAM-$VERSION.tar.xz || exit 1
cd $PKGNAM-$VERSION || exit 1
-zcat $CWD/xdg-utils.mate.diff.gz | patch -p1 --verbose || exit 1
-
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -60,6 +58,7 @@ find . \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
+ --mandir=/usr/man \
|| exit 1
make $NUMJOBS || make || exit 1
diff --git a/source/x/xdg-utils/xdg-utils.info b/source/x/xdg-utils/xdg-utils.info
deleted file mode 100644
index 6b5eaf5f..00000000
--- a/source/x/xdg-utils/xdg-utils.info
+++ /dev/null
@@ -1,2 +0,0 @@
-HOMEPAGE="http://portland.freedesktop.org/wiki/"
-DOWNLOAD="http://portland.freedesktop.org/download/xdg-utils-1.0.2.tgz"
diff --git a/source/x/xdg-utils/xdg-utils.mate.diff b/source/x/xdg-utils/xdg-utils.mate.diff
deleted file mode 100644
index c2480e32..00000000
--- a/source/x/xdg-utils/xdg-utils.mate.diff
+++ /dev/null
@@ -1,43 +0,0 @@
---- ./scripts/xdg-open.orig 2011-01-01 04:03:14.000000000 -0600
-+++ ./scripts/xdg-open 2013-06-09 21:15:55.612892954 -0500
-@@ -308,6 +308,7 @@
- elif `dbus-send --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetNameOwner string:org.gnome.SessionManager > /dev/null 2>&1` ; then DE=gnome;
- elif xprop -root _DT_SAVE_MODE 2> /dev/null | grep ' = \"xfce4\"$' >/dev/null 2>&1; then DE=xfce;
- elif [ x"$DESKTOP_SESSION" == x"LXDE" ]; then DE=lxde;
-+ elif [ x"$DESKTOP_SESSION" == x"mate" ]; then DE=mate;
- else DE=""
- fi
- }
-@@ -371,6 +372,21 @@
- fi
- }
-
-+open_mate()
-+{
-+ if gvfs-open --help 2>/dev/null 1>&2; then
-+ gvfs-open "$1"
-+ else
-+ mate-open "$1"
-+ fi
-+
-+ if [ $? -eq 0 ]; then
-+ exit_success
-+ else
-+ exit_failure_operation_failed
-+ fi
-+}
-+
- open_xfce()
- {
- exo-open "$1"
-@@ -539,6 +555,10 @@
- open_gnome "$url"
- ;;
-
-+ mate)
-+ open_mate "$url"
-+ ;;
-+
- xfce)
- open_xfce "$url"
- ;;
diff --git a/source/x/xdg-utils/xdg-utils.url b/source/x/xdg-utils/xdg-utils.url
new file mode 100644
index 00000000..ed268348
--- /dev/null
+++ b/source/x/xdg-utils/xdg-utils.url
@@ -0,0 +1,2 @@
+http://www.freedesktop.org/wiki/Software/xdg-utils/
+http://portland.freedesktop.org/download/