aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2013-11-18 23:01:08 -0600
committerRobby Workman <rworkman@slackbuilds.org>2013-11-22 00:09:08 -0600
commit661893807dace4f88ddac8c96664db78b3ce531b (patch)
tree97149d16584b7d0623772a22a9d8387040542889
parentf728ad6b39a5ef272efb0e2f667c0e1030485c37 (diff)
multimedia/cdcat: Removed (build failure)
If upstream still hasn't bothered to port this to qt4, then I have to wonder why we're still dragging the corpse along. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--multimedia/cdcat/README3
-rw-r--r--multimedia/cdcat/bugfix.patch13
-rw-r--r--multimedia/cdcat/cdcat.SlackBuild94
-rw-r--r--multimedia/cdcat/cdcat.desktop10
-rw-r--r--multimedia/cdcat/cdcat.info10
-rw-r--r--multimedia/cdcat/doinst.sh4
-rw-r--r--multimedia/cdcat/gcc4.patch11
-rw-r--r--multimedia/cdcat/slack-desc19
8 files changed, 0 insertions, 164 deletions
diff --git a/multimedia/cdcat/README b/multimedia/cdcat/README
deleted file mode 100644
index e44dad8e12c9..000000000000
--- a/multimedia/cdcat/README
+++ /dev/null
@@ -1,3 +0,0 @@
-CdCat is a graphical (QT based) catalog program which scans the directories
-and/or drives you want and stores it (including mp3 tags) in gzipped XML
-format.
diff --git a/multimedia/cdcat/bugfix.patch b/multimedia/cdcat/bugfix.patch
deleted file mode 100644
index 3b60c47f38ba..000000000000
--- a/multimedia/cdcat/bugfix.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -urN cdcat-1.01b/src/mp3tag.cpp cdcat-1.01b~/src/mp3tag.cpp
---- cdcat-1.01b/src/mp3tag.cpp 2005-08-22 19:03:00.000000000 +0200
-+++ cdcat-1.01b~/src/mp3tag.cpp 2006-08-13 15:59:20.000000000 +0200
-@@ -219,7 +219,7 @@
- unsigned int pos=0;
- unsigned int framelen;
- char id[5];
-- id[5] ='\0';
-+ id[4] ='\0';
-
- fseek(mp3,0,SEEK_END);
- flen = ftell(mp3);
-
diff --git a/multimedia/cdcat/cdcat.SlackBuild b/multimedia/cdcat/cdcat.SlackBuild
deleted file mode 100644
index d965ca1022b7..000000000000
--- a/multimedia/cdcat/cdcat.SlackBuild
+++ /dev/null
@@ -1,94 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for cdcat:
-# a QT based catalog program
-
-# Maintained by Niels Horn <niels.horn@gmail.com>
-# revision date 2010/05/27
-
-PRGNAM=cdcat
-VERSION=${VERSION:-1.01b}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-
-# Automatically determine the architecture we're building on:
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-PRGTAR=CdCat
-QT3MAKE=/opt/kde3/bin/qmake
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $TMP/$PRGTAR-$VERSION $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-tar xvf $CWD/$PRGTAR-$VERSION.tar.bz2
-cd $PRGTAR-$VERSION
-chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
-
-# Patch source so it will build with modern gcc...
-patch -p1 < $CWD/gcc4.patch
-
-# And fix a bug while we're here...
-# (source: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=358929)
-patch -p1 < $CWD/bugfix.patch
-
-# We need to build from the src directory...
-cd src
- $QT3MAKE $PRGNAM.pro
- sed -i "s,-O2,$SLKCFLAGS,g" Makefile
- sed -i "s,usr/X11R6/lib,usr/lib$LIBDIRSUFFIX/X11,g" Makefile
- sed -i "s,/usr/local/,/usr/,g" Makefile
- make
- make install INSTALL_ROOT=$PKG
-cd ..
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-# desktop file & icon
-mkdir -p $PKG/usr/share/{applications,pixmaps}
-mv $PKG/usr/share/$PRGNAM/$PRGNAM.png $PKG/usr/share/pixmaps/
-cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/share/$PRGNAM/{Authors,COPYING,ChangeLog,README,TRANSLATORS_README} \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- INSTALL README_IMPORT* TODO VERSION \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/multimedia/cdcat/cdcat.desktop b/multimedia/cdcat/cdcat.desktop
deleted file mode 100644
index 9b3d9ed823f2..000000000000
--- a/multimedia/cdcat/cdcat.desktop
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Version=1.0
-Type=Application
-Name=CdCat
-Comment=CD Catalog
-Categories=AudioVideo;
-Exec=cdcat
-Icon=cdcat
-Terminal=false
-StartupNotify=false
diff --git a/multimedia/cdcat/cdcat.info b/multimedia/cdcat/cdcat.info
deleted file mode 100644
index b458dc4d8398..000000000000
--- a/multimedia/cdcat/cdcat.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="cdcat"
-VERSION="1.01b"
-HOMEPAGE="http://cdcat.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/cdcat/CdCat-1.01b.tar.bz2"
-MD5SUM="59b321ff3848b34cb6862fd2a408cb44"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="qt3"
-MAINTAINER="Niels Horn"
-EMAIL="niels.horn@gmail.com"
diff --git a/multimedia/cdcat/doinst.sh b/multimedia/cdcat/doinst.sh
deleted file mode 100644
index 4e8ba7071dea..000000000000
--- a/multimedia/cdcat/doinst.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
diff --git a/multimedia/cdcat/gcc4.patch b/multimedia/cdcat/gcc4.patch
deleted file mode 100644
index fd103c2de2ce..000000000000
--- a/multimedia/cdcat/gcc4.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- CdCat-1.01b/src/import.h 2005-08-22 14:03:00.000000000 -0300
-+++ CdCat-1.01b-patched/src/import.h 2009-12-08 11:26:54.000000000 -0200
-@@ -66,7 +66,7 @@
-
- class importGtktalogCsv: public QObject {
- Q_OBJECT public:
-- importGtktalogCsv::importGtktalogCsv( GuiSlave * parent, QString separator, QString filename, bool createdatabase, bool correctbadstyle );
-+ importGtktalogCsv( GuiSlave * parent, QString separator, QString filename, bool createdatabase, bool correctbadstyle );
- ~importGtktalogCsv();
-
- /*
diff --git a/multimedia/cdcat/slack-desc b/multimedia/cdcat/slack-desc
deleted file mode 100644
index 124ee5feddde..000000000000
--- a/multimedia/cdcat/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|' on
-# the right side marks the last column you can put a character in. You must make
-# exactly 11 lines for the formatting to be correct. It's also customary to
-# leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-cdcat: cdcat (Graphical Catalog program)
-cdcat:
-cdcat: CdCat is a graphical (QT based) catalog program which scans the
-cdcat: directories/drives you want and stores it (including mp3 tags) in
-cdcat: gzipped XML format.
-cdcat:
-cdcat: http://cdcat.sourceforge.net/
-cdcat:
-cdcat:
-cdcat:
-cdcat: