summaryrefslogtreecommitdiff
path: root/system/xfburn/xfburn.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2012-09-07 09:18:49 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-09-07 09:21:30 -0500
commit7ffa46b4a7221ec7c4a28402b362f95abac3e763 (patch)
treedc6471409d8f99aa54c454fb973e3488ea1fec8c /system/xfburn/xfburn.SlackBuild
parentcf44e6b8d928a9213808d6d6cabc24c63fdefe95 (diff)
downloadslackbuilds-7ffa46b4a7221ec7c4a28402b362f95abac3e763.tar.gz
system/xfburn: Included a couple of fixes from Arch Linux
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/xfburn/xfburn.SlackBuild')
-rw-r--r--system/xfburn/xfburn.SlackBuild17
1 files changed, 14 insertions, 3 deletions
diff --git a/system/xfburn/xfburn.SlackBuild b/system/xfburn/xfburn.SlackBuild
index 3d3386faa6..6c7fced657 100644
--- a/system/xfburn/xfburn.SlackBuild
+++ b/system/xfburn/xfburn.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for xfburn
-# Copyright 2008-2011 Robby Workman, Northport, Alabama, USA
+# Copyright 2008-2012 Robby Workman, Northport, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=xfburn
-VERSION=0.4.3
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.4.3}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -71,6 +71,14 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix https://bugs.archlinux.org/task/26121 (and thanks to Arch for the patch)
+patch -p0 < $CWD/fix_empty_dir_segfault.diff
+
+# Fix build issue (thanks again to Arch)
+sed -i '1 i\
+ #include <glib-object.h>' \
+ xfburn/xfburn-settings.h
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -79,6 +87,9 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-static=no \
+ --enable-gstreamer \
+ --enable-dbus \
+ --disable-hal \
--build=$ARCH-slackware-linux
make