summaryrefslogtreecommitdiffstats
path: root/extra/xdg-utils
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-09-03 21:10:25 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-09-03 21:10:25 +0200
commit9e16233a565274182db1d4369b65e3ccce0b068c (patch)
tree1db19d908fb54b44a670f799b099974ab732302a /extra/xdg-utils
parent5275546f2b427e2802ad3588eb10db63a7e0c416 (diff)
downloadnutyx-extra-9e16233a565274182db1d4369b65e3ccce0b068c.tar.gz
nutyx-extra-9e16233a565274182db1d4369b65e3ccce0b068c.tar.bz2
nutyx-extra-9e16233a565274182db1d4369b65e3ccce0b068c.tar.xz
nutyx-extra-9e16233a565274182db1d4369b65e3ccce0b068c.zip
Maj xdg-utils#1.0.2-2, support pour midori
Diffstat (limited to 'extra/xdg-utils')
-rwxr-xr-xextra/xdg-utils/.md5sum1
-rwxr-xr-xextra/xdg-utils/Pkgfile6
-rw-r--r--extra/xdg-utils/xdg-utils-1.0.2-midori-1.patch11
3 files changed, 16 insertions, 2 deletions
diff --git a/extra/xdg-utils/.md5sum b/extra/xdg-utils/.md5sum
index ac8956c96..d8bc99e07 100755
--- a/extra/xdg-utils/.md5sum
+++ b/extra/xdg-utils/.md5sum
@@ -1 +1,2 @@
+09388df881d9f4ce27b63f5b1ff00f20 xdg-utils-1.0.2-midori-1.patch
348a5b91dc66426505022c74a64b2940 xdg-utils-1.0.2.tgz
diff --git a/extra/xdg-utils/Pkgfile b/extra/xdg-utils/Pkgfile
index b242f4acf..dad47053f 100755
--- a/extra/xdg-utils/Pkgfile
+++ b/extra/xdg-utils/Pkgfile
@@ -6,11 +6,13 @@
name=xdg-utils
version=1.0.2
-release=1
-source=(http://portland.freedesktop.org/download/$name-$version.tgz)
+release=2
+source=(http://portland.freedesktop.org/download/$name-$version.tgz\
+ $name-$version-midori-1.patch)
build() {
cd $name-$version
+ patch -Np1 -i ../$name-$version-midori-1.patch
./configure --prefix=/usr
make
make DESTDIR=$PKG install
diff --git a/extra/xdg-utils/xdg-utils-1.0.2-midori-1.patch b/extra/xdg-utils/xdg-utils-1.0.2-midori-1.patch
new file mode 100644
index 000000000..8e49d5b7a
--- /dev/null
+++ b/extra/xdg-utils/xdg-utils-1.0.2-midori-1.patch
@@ -0,0 +1,11 @@
+--- xdg-utils-1.0.2/scripts/xdg-open.original 2009-09-03 18:41:24.000000000 +0000
++++ xdg-utils-1.0.2/scripts/xdg-open 2009-09-03 18:43:15.000000000 +0000
+@@ -408,7 +408,7 @@
+ if [ x"$DE" = x"" ]; then
+ # if BROWSER variable is not set, check some well known browsers instead
+ if [ x"$BROWSER" = x"" ]; then
+- BROWSER=firefox:mozilla:netscape
++ BROWSER=firefox:mozilla:netscape:midori
+ fi
+ DE=generic
+ fi