mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
system/graveman: Miscellaneous fixes and enhancements.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
51963c9cc9
commit
5ae060f090
4 changed files with 41 additions and 35 deletions
8
system/graveman/fix-menu.patch
Normal file
8
system/graveman/fix-menu.patch
Normal file
|
@ -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;
|
|
@ -22,25 +22,18 @@
|
||||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
# Note: the developer's source code version is numbered
|
# Slackbuild maintainer switched to Keith Richie disturbed1976@gmail.com
|
||||||
# with a dash at the end, e.g. 0.3.12-5, which can throw
|
# Added patch to support newer Sox versions.
|
||||||
# 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.
|
|
||||||
|
|
||||||
PRGNAM=graveman
|
PRGNAM=graveman
|
||||||
VERSION=0.3.12.5 # this is local version
|
VERSION=0.3.12.5
|
||||||
SRCVER=0.3.12-5 # this is the developer's source version
|
BUILD=${BUILD:-6}
|
||||||
BUILD=${BUILD:-5}
|
|
||||||
TAG=${TAG:-_SBo}
|
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:
|
# Automatically determine the architecture we're building on:
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
|
@ -70,12 +63,14 @@ else
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP || exit 1
|
cd $TMP
|
||||||
rm -rf $PRGNAM-$SRCVER
|
rm -rf $PRGNAM-$SRCVER
|
||||||
tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz || exit 1
|
tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
|
||||||
cd $PRGNAM-$SRCVER || exit 1
|
cd $PRGNAM-$SRCVER
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find . \
|
find . \
|
||||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
\( -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 \) \
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||||
-exec chmod 644 {} \;
|
-exec chmod 644 {} \;
|
||||||
|
|
||||||
# Patch needed to work with version of Sox in Slackware 13.0+
|
# Allow Graveman to find and use newer versions of sox
|
||||||
patch -Np0 -i $CWD/sox.patch --verbose || exit 1
|
# 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" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
|
@ -93,23 +93,21 @@ CXXFLAGS="$SLKCFLAGS" \
|
||||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
|| exit 1
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
make || exit 1
|
make
|
||||||
make install DESTDIR=$PKG || exit 1
|
make install DESTDIR=$PKG
|
||||||
|
|
||||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
||||||
( cd $PKG/usr/man
|
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||||
find . -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
|
||||||
for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
|
|
||||||
)
|
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a AUTHORS COPYING ChangeLog NEWS README* THANKS TRANSLATE-HOWTO.fr \
|
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
find $PKG/usr/doc -type f -exec chmod 0644 {} \;
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
|
|
|
@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Keith Richie"
|
MAINTAINER="Keith Richie"
|
||||||
EMAIL="disturbed1976@gmail.com"
|
EMAIL="disturbed1976@gmail.com"
|
||||||
APPROVED="michiel"
|
APPROVED="rworkman"
|
||||||
|
|
|
@ -7,13 +7,13 @@
|
||||||
|
|
||||||
|-----handy-ruler----------------------------------------------------|
|
|-----handy-ruler----------------------------------------------------|
|
||||||
graveman: Graveman (CD and DVD burning application)
|
graveman: Graveman (CD and DVD burning application)
|
||||||
graveman:
|
graveman:
|
||||||
graveman: Graveman is a GTK2 front end to cdrecord, mkisofs, readcd, sox,
|
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: 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: 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: on the fly, clean rewritable cds and dvds, and duplicate cds.
|
||||||
graveman:
|
graveman:
|
||||||
graveman: Homepage: http://graveman.tuxfamily.org
|
graveman: Homepage: http://graveman.tuxfamily.org
|
||||||
graveman:
|
graveman:
|
||||||
graveman:
|
graveman:
|
||||||
graveman:
|
graveman:
|
||||||
|
|
Loading…
Reference in a new issue