From 9e16233a565274182db1d4369b65e3ccce0b068c Mon Sep 17 00:00:00 2001 From: Thierry N Date: Thu, 3 Sep 2009 21:10:25 +0200 Subject: Maj xdg-utils#1.0.2-2, support pour midori --- extra/xdg-utils/.md5sum | 1 + extra/xdg-utils/Pkgfile | 6 ++++-- extra/xdg-utils/xdg-utils-1.0.2-midori-1.patch | 11 +++++++++++ 3 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 extra/xdg-utils/xdg-utils-1.0.2-midori-1.patch (limited to 'extra/xdg-utils') 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 -- cgit v1.2.3-70-g09d2