Index: head/audio/vitunes/Makefile =================================================================== --- head/audio/vitunes/Makefile (revision 247225) +++ head/audio/vitunes/Makefile (revision 247226) @@ -1,36 +1,34 @@ # New ports collection makefile for: vitunes # Date created: 2009-09-02 # Whom: Dennis Herrmann # # $FreeBSD$ # PORTNAME= vitunes -PORTVERSION= 0.93 +PORTVERSION= 1.0.1 CATEGORIES= audio -MASTER_SITES= http://www.ryanflannery.net/hacking/vitunes/files/ \ +MASTER_SITES= http://www.vitunes.org/files/ \ http://mirror.4bit.ws/ \ ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= dhn EXTRACT_SUFX= .tgz MAINTAINER= dhn@FreeBSD.org COMMENT= A curses-based media player with vim-like keybinds RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer LIB_DEPENDS= id3tag.0:${PORTSDIR}/audio/libid3tag \ vorbis.4:${PORTSDIR}/audio/libvorbis \ mp4v2.0:${PORTSDIR}/multimedia/mpeg4ip-libmp4v2 MAKE_ARGS= LDFLAGS_DEPS="-L${LOCALBASE}/lib -lid3tag -lmp4v2 -logg -lvorbis -lvorbisfile" \ CFLAGS_DEPS="-I${LOCALBASE}/include" - -WRKSRC= ${WRKDIR}/${PORTNAME} ALL_TARGET= vitunes PLIST_FILES= bin/vitunes do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ .include Property changes on: head/audio/vitunes/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property Index: head/audio/vitunes/distinfo =================================================================== --- head/audio/vitunes/distinfo (revision 247225) +++ head/audio/vitunes/distinfo (revision 247226) @@ -1,3 +1,3 @@ -MD5 (vitunes-0.93.tgz) = 9eca27cd9b4991703298fd82bd677553 -SHA256 (vitunes-0.93.tgz) = a5e02a96f60806d17ae664329733a52c910a100dc9c502bbc3877bebed4d5c6b -SIZE (vitunes-0.93.tgz) = 36201 +MD5 (vitunes-1.0.1.tgz) = 4d8250dd3623abff518e5cbc19946ee1 +SHA256 (vitunes-1.0.1.tgz) = 31d27da83a25c8084db03d3ae9917ea17cde5ba430645dd2cd898e79788ac8c8 +SIZE (vitunes-1.0.1.tgz) = 54274 Property changes on: head/audio/vitunes/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/audio/vitunes/files/patch-Makefile =================================================================== --- head/audio/vitunes/files/patch-Makefile (nonexistent) +++ head/audio/vitunes/files/patch-Makefile (revision 247226) @@ -0,0 +1,11 @@ +--- ./Makefile.orig 2010-01-04 03:17:55.000000000 +0100 ++++ ./Makefile 2010-01-05 18:32:48.000000000 +0100 +@@ -7,7 +7,7 @@ + LDEPS=-L/usr/local/lib -lid3tag -lmp4v2 -logg -lvorbis -lvorbisfile + + CC=/usr/bin/gcc +-CFLAGS=-c -Wall -ansi -g $(CDEPS) ++CFLAGS=-c -Wall -g $(CDEPS) -std=c99 + LDFLAGS=-lutil -lncurses -lm $(LDEPS) + + Property changes on: head/audio/vitunes/files/patch-Makefile ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/audio/vitunes/files/patch-medialib.c =================================================================== --- head/audio/vitunes/files/patch-medialib.c (nonexistent) +++ head/audio/vitunes/files/patch-medialib.c (revision 247226) @@ -0,0 +1,21 @@ +--- ./medialib.c.orig 2010-01-04 03:17:55.000000000 +0100 ++++ ./medialib.c 2010-01-05 18:32:53.000000000 +0100 +@@ -287,7 +287,8 @@ + * last extracted meta-info from it (otherwise we ignore) + */ + +- if (sb.st_mtim.tv_sec > mdb.library->files[i]->last_updated) { ++ //if (sb.st_mtim > mdb.library->files[i]->last_updated) { ++ if (sb.st_mtime > mdb.library->files[i]->last_updated) { + mi = meta_extract(filename); + + if (mi == NULL) { +@@ -385,7 +386,7 @@ + if (idx != -1) { + /* file already exists in library database - update */ + +- if (ftsent->fts_statp->st_mtim.tv_sec > ++ if (ftsent->fts_statp->st_mtime > + mdb.library->files[idx]->last_updated) { + + /* file has been modified since we last extracted info */ Property changes on: head/audio/vitunes/files/patch-medialib.c ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/audio/vitunes/files/patch-medialib.h =================================================================== --- head/audio/vitunes/files/patch-medialib.h (nonexistent) +++ head/audio/vitunes/files/patch-medialib.h (revision 247226) @@ -0,0 +1,18 @@ +--- ./medialib.h.orig 2010-01-04 03:17:55.000000000 +0100 ++++ ./medialib.h 2010-01-05 18:32:57.000000000 +0100 +@@ -7,9 +7,15 @@ + #ifndef MEDIA_LIBRARY_H + #define MEDIA_LIBRARY_H + ++#include ++#include + #include + #include + #include ++#include ++ ++typedef unsigned short u_short; ++ + #include + + #include "meta_info.h" Property changes on: head/audio/vitunes/files/patch-medialib.h ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/audio/vitunes/files/patch-meta_info.c =================================================================== --- head/audio/vitunes/files/patch-meta_info.c (nonexistent) +++ head/audio/vitunes/files/patch-meta_info.c (revision 247226) @@ -0,0 +1,11 @@ +--- ./meta_info.c.orig 2010-01-04 03:17:55.000000000 +0100 ++++ ./meta_info.c 2010-01-05 18:33:03.000000000 +0100 +@@ -678,7 +678,7 @@ + const char *errstr = NULL; + + /* note that the range is here what libid3tag can handle */ +- gindex = strtonum(mi->cinfo[MI_CINFO_GENRE], 0, 147, &errstr); ++ gindex = atoll(mi->cinfo[MI_CINFO_GENRE]); + if (errstr != NULL) { /* check for invalid genre number */ + free(mi->cinfo[MI_CINFO_GENRE]); + mi->cinfo[MI_CINFO_GENRE] = NULL; Property changes on: head/audio/vitunes/files/patch-meta_info.c ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/audio/vitunes/files/patch-meta_info.h =================================================================== --- head/audio/vitunes/files/patch-meta_info.h (nonexistent) +++ head/audio/vitunes/files/patch-meta_info.h (revision 247226) @@ -0,0 +1,10 @@ +--- ./meta_info.h.orig 2010-01-04 03:17:55.000000000 +0100 ++++ ./meta_info.h 2010-01-05 18:33:09.000000000 +0100 +@@ -5,6 +5,7 @@ + #include + #include + #include ++#include + #include + #include + #include Property changes on: head/audio/vitunes/files/patch-meta_info.h ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/audio/vitunes/files/patch-uinterface.h =================================================================== --- head/audio/vitunes/files/patch-uinterface.h (nonexistent) +++ head/audio/vitunes/files/patch-uinterface.h (revision 247226) @@ -0,0 +1,15 @@ +--- ./uinterface.h.orig 2010-01-04 03:17:55.000000000 +0100 ++++ ./uinterface.h 2010-01-05 18:33:14.000000000 +0100 +@@ -17,11 +17,11 @@ + #define UINTERFACE_H + + #include +-#include + #include + #include + #include + #include ++#include + #include + #include + #include Property changes on: head/audio/vitunes/files/patch-uinterface.h ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/audio/vitunes/files/patch-vitunes.h =================================================================== --- head/audio/vitunes/files/patch-vitunes.h (nonexistent) +++ head/audio/vitunes/files/patch-vitunes.h (revision 247226) @@ -0,0 +1,17 @@ +--- ./vitunes.h.orig 2010-01-04 03:17:55.000000000 +0100 ++++ ./vitunes.h 2010-01-05 18:33:18.000000000 +0100 +@@ -1,10 +1,13 @@ + #ifndef VITUNES_H + #define VITUNES_H + ++#include + #include + #include +-#include ++//#include + #include ++#include ++#include + + #include "input_handlers.h" + #include "uinterface.h" Property changes on: head/audio/vitunes/files/patch-vitunes.h ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/audio/vitunes/pkg-descr =================================================================== --- head/audio/vitunes/pkg-descr (revision 247225) +++ head/audio/vitunes/pkg-descr (revision 247226) @@ -1,6 +1,6 @@ vitunes is a curses-based playlist manager and media player for *nix operating systems with vim-like keybinds. It's primary goal is to serve as an index of "tagged" multimedia files and provide a quick, easy interface for browsing & searching your files, and creating playlists. -WWW: http://www.ryanflannery.net/hacking/vitunes/ +WWW: http://www.vitunes.org/ Property changes on: head/audio/vitunes/pkg-descr ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property