aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@gmail.com>2010-09-14 12:57:05 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-09-14 12:57:05 -0500
commit1fa150086ee0f004267ec63aa64fe28151d8818d (patch)
tree070f9dad95c17d3d829f60efa667ec942fe8e447
parentbf08fafc1ddf420925bb1a829201362ddab12e12 (diff)
multimedia/devede: Patched to fix background pixmap installation
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--multimedia/devede/devede.SlackBuild11
-rw-r--r--multimedia/devede/fix_extra_backgrounds_dir.patch12
-rw-r--r--multimedia/devede/slack-desc10
3 files changed, 23 insertions, 10 deletions
diff --git a/multimedia/devede/devede.SlackBuild b/multimedia/devede/devede.SlackBuild
index 80e6bb84a6ab7..d2c148815252c 100644
--- a/multimedia/devede/devede.SlackBuild
+++ b/multimedia/devede/devede.SlackBuild
@@ -27,12 +27,12 @@
# - pass the version number to the build script
# As of v3.16.8 maintained by Niels Horn <niels.horn@gmail.com>
-# Revision date: 2010/07/10
+# Revision date: 2010/09/13
PRGNAM=devede
VERSION=${VERSION:-3.16.9}
ARCH=noarch
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -51,15 +51,16 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
+# Fix an error in the install.sh script that creates an unneeded "backgrounds"
+# directory
+patch -p1 < $CWD/fix_extra_backgrounds_dir.patch
+
./install.sh \
--prefix=/usr \
--pkgdocdir=/usr/doc/$PRGNAM-$VERSION \
--uninstall=no \
DESTDIR=$PKG
-# Copy the missed backgrounds (not sure why install.sh skips them)
-cp -a pixmaps/backgrounds/* $PKG/usr/share/pixmaps/backgrounds
-
cp -a version.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/multimedia/devede/fix_extra_backgrounds_dir.patch b/multimedia/devede/fix_extra_backgrounds_dir.patch
new file mode 100644
index 0000000000000..cdd7582eb9244
--- /dev/null
+++ b/multimedia/devede/fix_extra_backgrounds_dir.patch
@@ -0,0 +1,12 @@
+--- devede-3.16.9/install.sh 2010-07-02 19:29:29.000000000 -0300
++++ devede-3.16.9_patched/install.sh 2010-09-13 22:57:48.000000000 -0300
+@@ -64,9 +64,6 @@
+ install -m 755 -d "${DESTDIR}${2}/pixmaps"
+ install -m 644 "${scriptdir}/devede.svg" "${DESTDIR}${2}/pixmaps/"
+
+- install -m 755 -d "${DESTDIR}${2}/pixmaps/backgrounds"
+- install -m 644 "${scriptdir}/devede.svg" "${DESTDIR}${2}/pixmaps/"
+-
+ install -m 755 -d "${DESTDIR}${2}/applications"
+ install -m 644 "${scriptdir}/devede.desktop" \
+ "${DESTDIR}${2}/applications/"
diff --git a/multimedia/devede/slack-desc b/multimedia/devede/slack-desc
index cef9289b0ffbc..82a84df5e341f 100644
--- a/multimedia/devede/slack-desc
+++ b/multimedia/devede/slack-desc
@@ -11,9 +11,9 @@ devede:
devede: DeVeDe is a program to create video DVDs and CDs (VCD, sVCD or CVD)
devede: suitable for home players, from any number of video files, in any of
devede: the formats supported by Mplayer.
-devede:
+devede:
devede: Homepage: http://www.rastersoft.com/programas/devede.html
-devede:
-devede:
-devede:
-devede:
+devede:
+devede:
+devede:
+devede: