diff options
-rw-r--r-- | system/graveman/fix-menu.patch | 8 | ||||
-rw-r--r-- | system/graveman/graveman.SlackBuild | 56 | ||||
-rw-r--r-- | system/graveman/graveman.info | 2 | ||||
-rw-r--r-- | system/graveman/slack-desc | 10 |
4 files changed, 41 insertions, 35 deletions
diff --git a/system/graveman/fix-menu.patch b/system/graveman/fix-menu.patch new file mode 100644 index 0000000000..cfd48d1c2a --- /dev/null +++ b/system/graveman/fix-menu.patch @@ -0,0 +1,8 @@ +--- graveman-0.3.12-5/desktop/graveman.desktop.in 2005-05-23 23:07:08.000000000 +0200 ++++ graveman-0.3.12_p5-r1/desktop/graveman.desktop.in 2006-12-25 14:11:39.000000000 +0100 +@@ -49,4 +49,4 @@ + Terminal=false + Type=Application + Icon=graveman48.png +-Categories=Application;Utility; ++Categories=AudioVideo; diff --git a/system/graveman/graveman.SlackBuild b/system/graveman/graveman.SlackBuild index 1128191ceb..910092e5fc 100644 --- a/system/graveman/graveman.SlackBuild +++ b/system/graveman/graveman.SlackBuild @@ -22,25 +22,18 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Note: the developer's source code version is numbered -# with a dash at the end, e.g. 0.3.12-5, which can throw -# off the package building process. This SlackBuild fixes -# the problem by using a SRCVER variable for the source -# version and a VERSION variable for the local version. -# Essentially, this changes the dash to a period. -# Be sure to change both variables accordingly when used -# with a new version of Graveman. Thanks to Eric Hameleers -# for the fix. - -# Slackbuild mainter switched to Keith Richie disturbed1976@gmail.com -# Added patch to support for audio CDs with newer Sox versions. +# Slackbuild maintainer switched to Keith Richie disturbed1976@gmail.com +# Added patch to support newer Sox versions. PRGNAM=graveman -VERSION=0.3.12.5 # this is local version -SRCVER=0.3.12-5 # this is the developer's source version -BUILD=${BUILD:-5} +VERSION=0.3.12.5 +BUILD=${BUILD:-6} TAG=${TAG:-_SBo} +SRCVER=0.3.12-5 # this is the developer's source version + +DOCS="AUTHORS COPYING ChangeLog NEWS README* THANKS TRANSLATE-HOWTO.fr" + # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -70,12 +63,14 @@ else LIBDIRSUFFIX="" fi +set -e + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP || exit 1 +cd $TMP rm -rf $PRGNAM-$SRCVER -tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz || exit 1 -cd $PRGNAM-$SRCVER || exit 1 +tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz +cd $PRGNAM-$SRCVER chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -83,8 +78,13 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Patch needed to work with version of Sox in Slackware 13.0+ -patch -Np0 -i $CWD/sox.patch --verbose || exit 1 +# Allow Graveman to find and use newer versions of sox +# http://savannah.nongnu.org/bugs/?18409 +patch -Np0 -i $CWD/sox.patch --verbose + +# Place Graveman in Audio/Vido menu catagory +# https://bugs.gentoo.org/show_bug.cgi?id=159756 +patch -Np1 -i $CWD/fix-menu.patch --verbose CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -93,23 +93,21 @@ CXXFLAGS="$SLKCFLAGS" \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ - || exit 1 + --build=$ARCH-slackware-linux -make || exit 1 -make install DESTDIR=$PKG || exit 1 +make +make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done -) +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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING ChangeLog NEWS README* THANKS TRANSLATE-HOWTO.fr \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc -type f -exec chmod 0644 {} \; mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/system/graveman/graveman.info b/system/graveman/graveman.info index 6e348559e6..f5a735bcf7 100644 --- a/system/graveman/graveman.info +++ b/system/graveman/graveman.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Keith Richie" EMAIL="disturbed1976@gmail.com" -APPROVED="michiel" +APPROVED="rworkman" diff --git a/system/graveman/slack-desc b/system/graveman/slack-desc index 513e2c65c7..0947f8379b 100644 --- a/system/graveman/slack-desc +++ b/system/graveman/slack-desc @@ -7,13 +7,13 @@ |-----handy-ruler----------------------------------------------------| graveman: Graveman (CD and DVD burning application) -graveman: +graveman: graveman: Graveman is a GTK2 front end to cdrecord, mkisofs, readcd, sox, graveman: flac, dvd+rw-tools, and cdrdao. Graveman can burn audio cds graveman: from ogg, mp3, and flac, and can burn data cds and dvds, copy graveman: on the fly, clean rewritable cds and dvds, and duplicate cds. -graveman: +graveman: graveman: Homepage: http://graveman.tuxfamily.org -graveman: -graveman: -graveman: +graveman: +graveman: +graveman: |