mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-28 15:21:00 +02:00
libraries/libtunepimp: Removed (ftbfs)
This commit is contained in:
parent
2d7f91a1fe
commit
6de4da45c8
7 changed files with 0 additions and 326 deletions
|
@ -1,7 +0,0 @@
|
|||
libtunepimp (library for media tagging using MusicBrainz servers)
|
||||
|
||||
The TunePimp library is a MusicBrainz enabled tagging library that allows
|
||||
music files to be looked up. Once the files have been identified, libtunepimp
|
||||
writes new metadata tags to the music files and then writes the files to a
|
||||
standardized directory hierarchy. libmusicbrainz and libtunepimp are used by
|
||||
various media players to identify and tag media files.
|
|
@ -1,146 +0,0 @@
|
|||
diff -Nur libtunepimp-0.5.3.orig/include/tunepimp-0.5/metadata.h libtunepimp-0.5.3/include/tunepimp-0.5/metadata.h
|
||||
--- libtunepimp-0.5.3.orig/include/tunepimp-0.5/metadata.h 2006-11-18 04:52:08.000000000 -0600
|
||||
+++ libtunepimp-0.5.3/include/tunepimp-0.5/metadata.h 2009-07-05 22:25:09.566603724 -0500
|
||||
@@ -27,6 +27,7 @@
|
||||
#ifndef __METADATA_H__
|
||||
#define __METADATA_H__
|
||||
|
||||
+#include <string.h>
|
||||
#include <string>
|
||||
#include <cstdio>
|
||||
|
||||
diff -Nur libtunepimp-0.5.3.orig/lib/c_wrapper.cpp libtunepimp-0.5.3/lib/c_wrapper.cpp
|
||||
--- libtunepimp-0.5.3.orig/lib/c_wrapper.cpp 2006-11-18 04:52:33.000000000 -0600
|
||||
+++ libtunepimp-0.5.3/lib/c_wrapper.cpp 2009-07-05 22:25:09.558605363 -0500
|
||||
@@ -24,6 +24,7 @@
|
||||
$Id: c_wrapper.cpp 8360 2006-08-07 21:05:12Z luks $
|
||||
|
||||
----------------------------------------------------------------------------*/
|
||||
+#include <stdlib.h>
|
||||
#include "tunepimp.h"
|
||||
#include "mutex.h"
|
||||
#include "tp_c.h"
|
||||
diff -Nur libtunepimp-0.5.3.orig/lib/fileio.cpp libtunepimp-0.5.3/lib/fileio.cpp
|
||||
--- libtunepimp-0.5.3.orig/lib/fileio.cpp 2006-11-18 04:52:33.000000000 -0600
|
||||
+++ libtunepimp-0.5.3/lib/fileio.cpp 2009-07-05 22:25:09.562578982 -0500
|
||||
@@ -27,6 +27,8 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
+#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
#include <string>
|
||||
#ifndef WIN32
|
||||
#include <unistd.h>
|
||||
diff -Nur libtunepimp-0.5.3.orig/lib/metadata.cpp libtunepimp-0.5.3/lib/metadata.cpp
|
||||
--- libtunepimp-0.5.3.orig/lib/metadata.cpp 2006-11-18 04:52:33.000000000 -0600
|
||||
+++ libtunepimp-0.5.3/lib/metadata.cpp 2009-07-05 22:25:09.558605363 -0500
|
||||
@@ -26,6 +26,7 @@
|
||||
----------------------------------------------------------------------------*/
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
+#include <stdlib.h>
|
||||
#include "metadata.h"
|
||||
#include "../config.h"
|
||||
using namespace std;
|
||||
diff -Nur libtunepimp-0.5.3.orig/lib/protocol.cpp libtunepimp-0.5.3/lib/protocol.cpp
|
||||
--- libtunepimp-0.5.3.orig/lib/protocol.cpp 2006-11-28 14:25:04.000000000 -0600
|
||||
+++ libtunepimp-0.5.3/lib/protocol.cpp 2009-07-05 22:25:09.558605363 -0500
|
||||
@@ -8,6 +8,7 @@
|
||||
-------------------------------------------------------------------*/
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <expat.h>
|
||||
diff -Nur libtunepimp-0.5.3.orig/lib/readmeta.cpp libtunepimp-0.5.3/lib/readmeta.cpp
|
||||
--- libtunepimp-0.5.3.orig/lib/readmeta.cpp 2006-11-18 04:52:33.000000000 -0600
|
||||
+++ libtunepimp-0.5.3/lib/readmeta.cpp 2009-07-05 22:25:09.562578982 -0500
|
||||
@@ -31,6 +31,7 @@
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
+#include <stdlib.h>
|
||||
#ifndef WIN32
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
diff -Nur libtunepimp-0.5.3.orig/lib/tunepimp.cpp libtunepimp-0.5.3/lib/tunepimp.cpp
|
||||
--- libtunepimp-0.5.3.orig/lib/tunepimp.cpp 2006-11-18 04:52:33.000000000 -0600
|
||||
+++ libtunepimp-0.5.3/lib/tunepimp.cpp 2009-07-05 22:25:09.558605363 -0500
|
||||
@@ -30,7 +30,9 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+#include <string.h>
|
||||
#include <stdio.h>
|
||||
+#include <stdlib.h>
|
||||
#include <map>
|
||||
using namespace std;
|
||||
|
||||
diff -Nur libtunepimp-0.5.3.orig/lib/utf8/utf8util.cpp libtunepimp-0.5.3/lib/utf8/utf8util.cpp
|
||||
--- libtunepimp-0.5.3.orig/lib/utf8/utf8util.cpp 2006-11-18 04:52:26.000000000 -0600
|
||||
+++ libtunepimp-0.5.3/lib/utf8/utf8util.cpp 2009-07-05 22:25:09.558605363 -0500
|
||||
@@ -26,6 +26,7 @@
|
||||
----------------------------------------------------------------------------*/
|
||||
|
||||
#include <stdio.h>
|
||||
+#include <stdlib.h>
|
||||
#include "utf8util.h"
|
||||
#include "utf8.h"
|
||||
#ifdef WIN32
|
||||
diff -Nur libtunepimp-0.5.3.orig/plugins/mp3/id3_2_3_meta.cpp libtunepimp-0.5.3/plugins/mp3/id3_2_3_meta.cpp
|
||||
--- libtunepimp-0.5.3.orig/plugins/mp3/id3_2_3_meta.cpp 2006-11-18 04:51:07.000000000 -0600
|
||||
+++ libtunepimp-0.5.3/plugins/mp3/id3_2_3_meta.cpp 2009-07-05 22:25:09.562578982 -0500
|
||||
@@ -26,6 +26,7 @@
|
||||
----------------------------------------------------------------------------*/
|
||||
|
||||
#include <stdio.h>
|
||||
+#include <stdlib.h>
|
||||
#include <assert.h>
|
||||
#include <ctype.h>
|
||||
#include <musicbrainz/mb_c.h>
|
||||
diff -Nur libtunepimp-0.5.3.orig/plugins/mp3/id3_meta.cpp libtunepimp-0.5.3/plugins/mp3/id3_meta.cpp
|
||||
--- libtunepimp-0.5.3.orig/plugins/mp3/id3_meta.cpp 2006-11-18 04:51:07.000000000 -0600
|
||||
+++ libtunepimp-0.5.3/plugins/mp3/id3_meta.cpp 2009-07-05 22:25:09.562578982 -0500
|
||||
@@ -26,6 +26,7 @@
|
||||
----------------------------------------------------------------------------*/
|
||||
|
||||
#include <stdio.h>
|
||||
+#include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include <ctype.h>
|
||||
#include <musicbrainz/mb_c.h>
|
||||
diff -Nur libtunepimp-0.5.3.orig/plugins/mp4/mp4.cpp libtunepimp-0.5.3/plugins/mp4/mp4.cpp
|
||||
--- libtunepimp-0.5.3.orig/plugins/mp4/mp4.cpp 2006-11-18 04:51:08.000000000 -0600
|
||||
+++ libtunepimp-0.5.3/plugins/mp4/mp4.cpp 2009-07-05 22:25:09.562578982 -0500
|
||||
@@ -27,6 +27,7 @@
|
||||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
+#include <stdlib.h>
|
||||
#include <mp4.h>
|
||||
#include "metadata.h"
|
||||
#include "plugin.h"
|
||||
diff -Nur libtunepimp-0.5.3.orig/plugins/wma/wma.cpp libtunepimp-0.5.3/plugins/wma/wma.cpp
|
||||
--- libtunepimp-0.5.3.orig/plugins/wma/wma.cpp 2006-11-18 04:51:28.000000000 -0600
|
||||
+++ libtunepimp-0.5.3/plugins/wma/wma.cpp 2009-07-05 22:25:09.562578982 -0500
|
||||
@@ -27,6 +27,7 @@
|
||||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
+#include <stdlib.h>
|
||||
#include <wmafile.h>
|
||||
#include "metadata.h"
|
||||
#include "plugin.h"
|
||||
diff -Nur libtunepimp-0.5.3.orig/plugins/wma/wmafile.cpp libtunepimp-0.5.3/plugins/wma/wmafile.cpp
|
||||
--- libtunepimp-0.5.3.orig/plugins/wma/wmafile.cpp 2006-11-18 04:51:28.000000000 -0600
|
||||
+++ libtunepimp-0.5.3/plugins/wma/wmafile.cpp 2009-07-05 22:25:09.566603724 -0500
|
||||
@@ -19,6 +19,7 @@
|
||||
* USA *
|
||||
***************************************************************************/
|
||||
|
||||
+#include <string.h>
|
||||
#include <tstring.h>
|
||||
#include <wmafile.h>
|
||||
#include <wmatag.h>
|
|
@ -1,13 +0,0 @@
|
|||
diff -ruN libtunepimp-0.5.3.orig/lib/fileio.cpp libtunepimp-0.5.3/lib/fileio.cpp
|
||||
--- libtunepimp-0.5.3.orig/lib/fileio.cpp 2009-05-28 11:49:43.000000000 -0700
|
||||
+++ libtunepimp-0.5.3/lib/fileio.cpp 2009-05-28 11:59:05.000000000 -0700
|
||||
@@ -124,7 +124,8 @@
|
||||
|
||||
void tmktempname(const char *path, char *newPath, int newPathLen)
|
||||
{
|
||||
- char *ptr, *temp;
|
||||
+ const char *ptr;
|
||||
+ char *temp;
|
||||
|
||||
temp = (char *)malloc(strlen(path) + 32);
|
||||
ptr = strrchr(path, dirSepChar);
|
|
@ -1,30 +0,0 @@
|
|||
diff -ur libtunepimp-0.5.3.orig/plugins/mp4/mp4.cpp libtunepimp-0.5.3/plugins/mp4/mp4.cpp
|
||||
--- libtunepimp-0.5.3.orig/plugins/mp4/mp4.cpp 2009-07-10 15:50:20.000000000 +0300
|
||||
+++ libtunepimp-0.5.3/plugins/mp4/mp4.cpp 2009-07-10 15:51:18.000000000 +0300
|
||||
@@ -28,7 +28,7 @@
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
-#include <mp4.h>
|
||||
+#include <mp4v2/mp4v2.h>
|
||||
#include "metadata.h"
|
||||
#include "plugin.h"
|
||||
#ifndef WIN32
|
||||
@@ -232,7 +232,7 @@
|
||||
|
||||
strcpy(mdata->fileFormat, fileName + strlen(fileName) - 3);
|
||||
|
||||
- if (!MP4Close(mp4file))
|
||||
+ MP4Close(mp4file);
|
||||
return 0;
|
||||
|
||||
return 1;
|
||||
@@ -316,7 +316,7 @@
|
||||
sprintf(temp, "%d", mdata->nonAlbum);
|
||||
MP4SetMetadataFreeForm(mp4file, "MusicBrainz Non-Album", (u_int8_t *)temp, strlen(temp) + 1);
|
||||
|
||||
- if (!MP4Close(mp4file))
|
||||
+ MP4Close(mp4file);
|
||||
return 0;
|
||||
|
||||
#ifndef WIN32
|
|
@ -1,101 +0,0 @@
|
|||
#!/bin/bash
|
||||
# Slackware build script for <libtunepimp>
|
||||
# Written by Michales Michaloudes korgie@gmail.com
|
||||
|
||||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=libtunepimp
|
||||
VERSION=${VERSION:-0.5.3}
|
||||
BUILD=${BUILD:-3}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
|
||||
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
|
||||
# the name of the created package would be, and then exit. This information
|
||||
# could be useful to other scripts.
|
||||
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
|
||||
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
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 $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
-exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
|
||||
# Add some needed includes for gcc-4.3 and a gcc4.4 fix.
|
||||
patch -p1 < $CWD/libtunepimp-0.5.3-gcc43.patch
|
||||
patch -p1 < $CWD/libtunepimp-0.5.3-gcc44.patch
|
||||
# Patch for new libmp4v2
|
||||
patch -p1 < $CWD/libtunepimp-0.5.3-libmp4v2.patch
|
||||
|
||||
# A curl header is deprecated.
|
||||
sed -i '/include.*types.h/d' $TMP/$PRGNAM-$VERSION/lib/protocol.cpp
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
--disable-static \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
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
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
AUTHORS COPYING ChangeLog INSTALL TODO README README.LGPL \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
rm -f $PKG/usr/lib*/*.la
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
|
|
@ -1,10 +0,0 @@
|
|||
PRGNAM="libtunepimp"
|
||||
VERSION="0.5.3"
|
||||
HOMEPAGE="http://musicbrainz.org"
|
||||
DOWNLOAD="ftp://ftp.musicbrainz.org/pub/musicbrainz/historical/libtunepimp-0.5.3.tar.gz"
|
||||
MD5SUM="09649f983acef679a548344ba7a9bb2f"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="libmusicbrainz libofa"
|
||||
MAINTAINER="Michales Michaloudes"
|
||||
EMAIL="korgie@gmail.com"
|
|
@ -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 ':' except on otherwise blank lines.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
libtunepimp: libtunepimp (library for media tagging using MusicBrainz servers)
|
||||
libtunepimp:
|
||||
libtunepimp: The TunePimp library is a MusicBrainz enabled tagging library that
|
||||
libtunepimp: allows music files to be looked up. Once the files have been
|
||||
libtunepimp: identified, libtunepimp writes new metadata tags to the music files
|
||||
libtunepimp: and then writes the files to a standardized directory hierarchy.
|
||||
libtunepimp:
|
||||
libtunepimp: libmusicbrainz and libtunepimp are used by various media players to
|
||||
libtunepimp: identify and tag media files.
|
||||
libtunepimp:
|
||||
libtunepimp:
|
Loading…
Reference in a new issue