From 9cc7a7b22ec09ee1c42107f4073a5583b323987d Mon Sep 17 00:00:00 2001 From: "Fernando Lopez Jr." Date: Wed, 27 Sep 2023 12:07:22 +0700 Subject: [PATCH] system/xcdroast: Fix script. Signed-off-by: Willy Sudiarto Raharjo --- system/xcdroast/README | 3 +++ system/xcdroast/xcdroast.SlackBuild | 14 ++++++++------ system/xcdroast/xcdroast.desktop | 1 + 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/system/xcdroast/README b/system/xcdroast/README index 72bb5a0d7d..136f717b0a 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 ae1c5882ac..3a387fdb8d 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 40f9bcf8c5..e5f479235f 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;