aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorFernando Lopez Jr. <fernando.lopezjr@gmail.com>2023-09-27 12:07:22 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-09-27 12:07:22 +0700
commit9cc7a7b22ec09ee1c42107f4073a5583b323987d (patch)
treee33354025bf10cf438cfd23e8570534ea21d6744 /system
parent209302f4b42b92daa53ea71fd5e667f96f3986f4 (diff)
system/xcdroast: Fix script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/xcdroast/README3
-rw-r--r--system/xcdroast/xcdroast.SlackBuild14
-rw-r--r--system/xcdroast/xcdroast.desktop1
3 files changed, 12 insertions, 6 deletions
diff --git a/system/xcdroast/README b/system/xcdroast/README
index 72bb5a0d7dee..136f717b0ae0 100644
--- a/system/xcdroast/README
+++ b/system/xcdroast/README
@@ -4,3 +4,6 @@ X-CD-Roast tries to be the most flexible CD and DVD burning software
ever. It allows even the unexperienced user to create or copy a CD or a
DVD with a few mouse clicks in a intuitive and nice looking graphical
user interface.
+
+Note:
+Upon start, you may need to manually specify your device, e.g /dev/sr0
diff --git a/system/xcdroast/xcdroast.SlackBuild b/system/xcdroast/xcdroast.SlackBuild
index ae1c5882ac95..3a387fdb8de8 100644
--- a/system/xcdroast/xcdroast.SlackBuild
+++ b/system/xcdroast/xcdroast.SlackBuild
@@ -27,12 +27,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Revision date: 2020/Nov/22
+# A few fixes: 2023/Sep/24; Petar Petrov
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=xcdroast
VERSION=${VERSION:-1.19}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -102,9 +103,7 @@ make XCDRLIB_PREFIX=/usr/lib${LIBDIRSUFFIX}/$PRGNAM install DESTDIR=$PKG
mkdir -p $PKG/usr/share/{applications,pixmaps}
cat $CWD/xcdroast.desktop > $PKG/usr/share/applications/xcdroast.desktop
-( cd $PKG/usr/share/pixmaps
- ln -s ../../lib${LIBDIRSUFFIX}/xcdroast/icons/xcdricon.png xcdroast.png
-)
+cp xpms/ico_cdwriter.xpm $PKG/usr/share/pixmaps/xcdroast.xpm
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -112,10 +111,13 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+# empty
+rm -rf $PKG/etc
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- COPYING ChangeLog INSTALL README AUTHORS NEWS \
- $PKG/usr/doc/$PRGNAM-$VERSION
+ COPYING ChangeLog README AUTHORS \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/system/xcdroast/xcdroast.desktop b/system/xcdroast/xcdroast.desktop
index 40f9bcf8c586..e5f479235f2c 100644
--- a/system/xcdroast/xcdroast.desktop
+++ b/system/xcdroast/xcdroast.desktop
@@ -4,3 +4,4 @@ Type=Application
Exec=xcdroast
Icon=xcdroast
Comment=CD creation tool
+Categories=System;