libtunegimp: remove package
it is deprecated by upstream: https://wiki.musicbrainz.org/History:libtunepimp and uses an old version of libmusicbrainz, which does no longer build
This commit is contained in:
parent
9ece4aad10
commit
1627e5b5d5
@ -1,28 +0,0 @@
|
||||
{ stdenv, fetchurl, zlib, expat, curl, libmusicbrainz2, taglib, libmpcdec,
|
||||
libmad, libogg, libvorbis, flac, mp4v2, libofa, libtool }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libtunepimp-0.5.3";
|
||||
|
||||
outputs = [ "out" "lib" "dev" ];
|
||||
|
||||
setOutputFlags = false;
|
||||
|
||||
preConfigure = ''
|
||||
configureFlagsArray=(--includedir=$dev/include --libdir=$lib/lib)
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ zlib expat curl libmusicbrainz2 taglib libmpcdec
|
||||
libmad libogg libvorbis flac libofa libtool ];
|
||||
|
||||
patches = [ ./gcc-4.x.patch ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.musicbrainz.org/pub/musicbrainz/${name}.tar.gz";
|
||||
sha256 = "0s141zmsxv8xlivcgcmy6xhk9cyjjxmr1fy45xiqfqrqpsh485rl";
|
||||
};
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
@ -1,237 +0,0 @@
|
||||
diff -rc libtunepimp-0.5.3/include/tunepimp-0.5/metadata.h libtunepimp-0.5.3-new/include/tunepimp-0.5/metadata.h
|
||||
*** libtunepimp-0.5.3/include/tunepimp-0.5/metadata.h 2006-11-18 05:52:08.000000000 -0500
|
||||
--- libtunepimp-0.5.3-new/include/tunepimp-0.5/metadata.h 2011-11-06 09:00:14.816684749 -0500
|
||||
***************
|
||||
*** 29,34 ****
|
||||
--- 29,35 ----
|
||||
|
||||
#include <string>
|
||||
#include <cstdio>
|
||||
+ #include <cstring>
|
||||
|
||||
#include "defs.h"
|
||||
#include "tp_c.h"
|
||||
diff -rc libtunepimp-0.5.3/lib/c_wrapper.cpp libtunepimp-0.5.3-new/lib/c_wrapper.cpp
|
||||
*** libtunepimp-0.5.3/lib/c_wrapper.cpp 2006-11-18 05:52:33.000000000 -0500
|
||||
--- libtunepimp-0.5.3-new/lib/c_wrapper.cpp 2011-11-06 09:00:14.816684749 -0500
|
||||
***************
|
||||
*** 43,48 ****
|
||||
--- 43,49 ----
|
||||
if (obj == NULL) return;
|
||||
|
||||
#include <deque>
|
||||
+ #include <cstdlib>
|
||||
|
||||
class NotifyData
|
||||
{
|
||||
diff -rc libtunepimp-0.5.3/lib/fileio.cpp libtunepimp-0.5.3-new/lib/fileio.cpp
|
||||
*** libtunepimp-0.5.3/lib/fileio.cpp 2006-11-18 05:52:33.000000000 -0500
|
||||
--- libtunepimp-0.5.3-new/lib/fileio.cpp 2011-11-06 09:00:14.816684749 -0500
|
||||
***************
|
||||
*** 27,32 ****
|
||||
--- 27,34 ----
|
||||
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
+ #include <string.h>
|
||||
+ #include <stdlib.h>
|
||||
#include <string>
|
||||
#ifndef WIN32
|
||||
#include <unistd.h>
|
||||
***************
|
||||
*** 122,128 ****
|
||||
|
||||
void tmktempname(const char *path, char *newPath, int newPathLen)
|
||||
{
|
||||
! char *ptr, *temp;
|
||||
|
||||
temp = (char *)malloc(strlen(path) + 32);
|
||||
ptr = strrchr(path, dirSepChar);
|
||||
--- 124,131 ----
|
||||
|
||||
void tmktempname(const char *path, char *newPath, int newPathLen)
|
||||
{
|
||||
! char *temp;
|
||||
! const char *ptr;
|
||||
|
||||
temp = (char *)malloc(strlen(path) + 32);
|
||||
ptr = strrchr(path, dirSepChar);
|
||||
diff -rc libtunepimp-0.5.3/lib/metadata.cpp libtunepimp-0.5.3-new/lib/metadata.cpp
|
||||
*** libtunepimp-0.5.3/lib/metadata.cpp 2006-11-18 05:52:33.000000000 -0500
|
||||
--- libtunepimp-0.5.3-new/lib/metadata.cpp 2011-11-06 09:00:14.817684754 -0500
|
||||
***************
|
||||
*** 24,31 ****
|
||||
$Id: metadata.cpp 8359 2006-08-07 20:34:50Z luks $
|
||||
|
||||
----------------------------------------------------------------------------*/
|
||||
! #include <math.h>
|
||||
! #include <stdio.h>
|
||||
#include "metadata.h"
|
||||
#include "../config.h"
|
||||
using namespace std;
|
||||
--- 24,32 ----
|
||||
$Id: metadata.cpp 8359 2006-08-07 20:34:50Z luks $
|
||||
|
||||
----------------------------------------------------------------------------*/
|
||||
! #include <cmath>
|
||||
! #include <cstdio>
|
||||
! #include <cstdlib>
|
||||
#include "metadata.h"
|
||||
#include "../config.h"
|
||||
using namespace std;
|
||||
diff -rc libtunepimp-0.5.3/lib/protocol.cpp libtunepimp-0.5.3-new/lib/protocol.cpp
|
||||
*** libtunepimp-0.5.3/lib/protocol.cpp 2006-11-28 15:25:04.000000000 -0500
|
||||
--- libtunepimp-0.5.3-new/lib/protocol.cpp 2011-11-06 09:00:23.281742454 -0500
|
||||
***************
|
||||
*** 8,18 ****
|
||||
-------------------------------------------------------------------*/
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <expat.h>
|
||||
#include <curl/curl.h>
|
||||
- #include <curl/types.h>
|
||||
#include <curl/easy.h>
|
||||
using namespace std;
|
||||
|
||||
--- 8,18 ----
|
||||
-------------------------------------------------------------------*/
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
+ #include <string.h>
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <expat.h>
|
||||
#include <curl/curl.h>
|
||||
#include <curl/easy.h>
|
||||
using namespace std;
|
||||
|
||||
diff -rc libtunepimp-0.5.3/lib/readmeta.cpp libtunepimp-0.5.3-new/lib/readmeta.cpp
|
||||
*** libtunepimp-0.5.3/lib/readmeta.cpp 2006-11-18 05:52:33.000000000 -0500
|
||||
--- libtunepimp-0.5.3-new/lib/readmeta.cpp 2011-11-06 09:00:14.817684754 -0500
|
||||
***************
|
||||
*** 30,36 ****
|
||||
#endif
|
||||
#endif
|
||||
|
||||
! #include <stdio.h>
|
||||
#ifndef WIN32
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
--- 30,37 ----
|
||||
#endif
|
||||
#endif
|
||||
|
||||
! #include <cstdio>
|
||||
! #include <cstdlib>
|
||||
#ifndef WIN32
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
diff -rc libtunepimp-0.5.3/lib/tunepimp.cpp libtunepimp-0.5.3-new/lib/tunepimp.cpp
|
||||
*** libtunepimp-0.5.3/lib/tunepimp.cpp 2006-11-18 05:52:33.000000000 -0500
|
||||
--- libtunepimp-0.5.3-new/lib/tunepimp.cpp 2011-11-06 09:00:14.818684760 -0500
|
||||
***************
|
||||
*** 30,36 ****
|
||||
#endif
|
||||
#endif
|
||||
|
||||
! #include <stdio.h>
|
||||
#include <map>
|
||||
using namespace std;
|
||||
|
||||
--- 30,37 ----
|
||||
#endif
|
||||
#endif
|
||||
|
||||
! #include <cstdio>
|
||||
! #include <cstdlib>
|
||||
#include <map>
|
||||
using namespace std;
|
||||
|
||||
diff -rc libtunepimp-0.5.3/lib/utf8/utf8util.cpp libtunepimp-0.5.3-new/lib/utf8/utf8util.cpp
|
||||
*** libtunepimp-0.5.3/lib/utf8/utf8util.cpp 2006-11-18 05:52:26.000000000 -0500
|
||||
--- libtunepimp-0.5.3-new/lib/utf8/utf8util.cpp 2011-11-06 09:00:14.818684760 -0500
|
||||
***************
|
||||
*** 26,31 ****
|
||||
--- 26,32 ----
|
||||
----------------------------------------------------------------------------*/
|
||||
|
||||
#include <stdio.h>
|
||||
+ #include <stdlib.h>
|
||||
#include "utf8util.h"
|
||||
#include "utf8.h"
|
||||
#ifdef WIN32
|
||||
diff -rc libtunepimp-0.5.3/plugins/mp3/id3_2_3_meta.cpp libtunepimp-0.5.3-new/plugins/mp3/id3_2_3_meta.cpp
|
||||
*** libtunepimp-0.5.3/plugins/mp3/id3_2_3_meta.cpp 2006-11-18 05:51:07.000000000 -0500
|
||||
--- libtunepimp-0.5.3-new/plugins/mp3/id3_2_3_meta.cpp 2011-11-06 09:00:14.818684760 -0500
|
||||
***************
|
||||
*** 26,31 ****
|
||||
--- 26,32 ----
|
||||
----------------------------------------------------------------------------*/
|
||||
|
||||
#include <stdio.h>
|
||||
+ #include <stdlib.h>
|
||||
#include <assert.h>
|
||||
#include <ctype.h>
|
||||
#include <musicbrainz/mb_c.h>
|
||||
diff -rc libtunepimp-0.5.3/plugins/mp3/id3_meta.cpp libtunepimp-0.5.3-new/plugins/mp3/id3_meta.cpp
|
||||
*** libtunepimp-0.5.3/plugins/mp3/id3_meta.cpp 2006-11-18 05:51:07.000000000 -0500
|
||||
--- libtunepimp-0.5.3-new/plugins/mp3/id3_meta.cpp 2011-11-06 09:00:14.818684760 -0500
|
||||
***************
|
||||
*** 26,31 ****
|
||||
--- 26,32 ----
|
||||
----------------------------------------------------------------------------*/
|
||||
|
||||
#include <stdio.h>
|
||||
+ #include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include <ctype.h>
|
||||
#include <musicbrainz/mb_c.h>
|
||||
diff -rc libtunepimp-0.5.3/plugins/mp4/mp4.cpp libtunepimp-0.5.3-new/plugins/mp4/mp4.cpp
|
||||
*** libtunepimp-0.5.3/plugins/mp4/mp4.cpp 2006-11-18 05:51:08.000000000 -0500
|
||||
--- libtunepimp-0.5.3-new/plugins/mp4/mp4.cpp 2011-11-06 09:00:14.819684766 -0500
|
||||
***************
|
||||
*** 27,33 ****
|
||||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
! #include <mp4.h>
|
||||
#include "metadata.h"
|
||||
#include "plugin.h"
|
||||
#ifndef WIN32
|
||||
--- 27,34 ----
|
||||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
! #include <stdlib.h>
|
||||
! #include <mp4v2/mp4v2.h>
|
||||
#include "metadata.h"
|
||||
#include "plugin.h"
|
||||
#ifndef WIN32
|
||||
diff -rc libtunepimp-0.5.3/plugins/wma/wma.cpp libtunepimp-0.5.3-new/plugins/wma/wma.cpp
|
||||
*** libtunepimp-0.5.3/plugins/wma/wma.cpp 2006-11-18 05:51:28.000000000 -0500
|
||||
--- libtunepimp-0.5.3-new/plugins/wma/wma.cpp 2011-11-06 09:00:14.819684766 -0500
|
||||
***************
|
||||
*** 27,32 ****
|
||||
--- 27,33 ----
|
||||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
+ #include <stdlib.h>
|
||||
#include <wmafile.h>
|
||||
#include "metadata.h"
|
||||
#include "plugin.h"
|
||||
diff -rc libtunepimp-0.5.3/plugins/wma/wmafile.cpp libtunepimp-0.5.3-new/plugins/wma/wmafile.cpp
|
||||
*** libtunepimp-0.5.3/plugins/wma/wmafile.cpp 2006-11-18 05:51:28.000000000 -0500
|
||||
--- libtunepimp-0.5.3-new/plugins/wma/wmafile.cpp 2011-11-06 09:00:14.819684766 -0500
|
||||
***************
|
||||
*** 19,24 ****
|
||||
--- 19,25 ----
|
||||
* USA *
|
||||
***************************************************************************/
|
||||
|
||||
+ #include <string.h>
|
||||
#include <tstring.h>
|
||||
#include <wmafile.h>
|
||||
#include <wmatag.h>
|
@ -9277,8 +9277,6 @@ with pkgs;
|
||||
|
||||
libtsm = callPackage ../development/libraries/libtsm { };
|
||||
|
||||
libtunepimp = callPackage ../development/libraries/libtunepimp { };
|
||||
|
||||
libtxc_dxtn = callPackage ../development/libraries/libtxc_dxtn { };
|
||||
|
||||
libtxc_dxtn_s2tc = callPackage ../development/libraries/libtxc_dxtn_s2tc { };
|
||||
|
Loading…
Reference in New Issue
Block a user