diff options
author | kleink <kleink@pkgsrc.org> | 1999-06-16 15:00:39 +0000 |
---|---|---|
committer | kleink <kleink@pkgsrc.org> | 1999-06-16 15:00:39 +0000 |
commit | 947552d135fd1eb5742d4468e33a76535435a23c (patch) | |
tree | 34b6e82fec8b33bb1e5c11dae5d8d553310783e7 /audio | |
parent | d55c62c778e6909494417fc5c31e361c25d31cf5 (diff) | |
download | pkgsrc-947552d135fd1eb5742d4468e33a76535435a23c.tar.gz |
Initial import of freezetag-0.9.2, a GTK-based id3 tag editor.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/freezetag/Makefile | 15 | ||||
-rw-r--r-- | audio/freezetag/files/md5 | 3 | ||||
-rw-r--r-- | audio/freezetag/patches/patch-aa | 13 | ||||
-rw-r--r-- | audio/freezetag/patches/patch-ab | 13 | ||||
-rw-r--r-- | audio/freezetag/patches/patch-ac | 22 | ||||
-rw-r--r-- | audio/freezetag/patches/patch-ad | 13 | ||||
-rw-r--r-- | audio/freezetag/pkg/COMMENT | 1 | ||||
-rw-r--r-- | audio/freezetag/pkg/DESCR | 5 | ||||
-rw-r--r-- | audio/freezetag/pkg/PLIST | 2 |
9 files changed, 87 insertions, 0 deletions
diff --git a/audio/freezetag/Makefile b/audio/freezetag/Makefile new file mode 100644 index 00000000000..ccba9cb6558 --- /dev/null +++ b/audio/freezetag/Makefile @@ -0,0 +1,15 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/06/16 15:00:39 kleink Exp $ +# + +DISTNAME= freezetag-0.9.2 +CATEGORIES= audio +MASTER_SITES= http://katz.linuxpower.org/freezetag/current/ + +MAINTAINER= kleink@netbsd.org +HOMEPAGE= http://katz.linuxpower.org/freezetag/ + +DEPENDS= gtk+-1.2.2:../../x11/gtk + +GNU_CONFIGURE= yes + +.include "../../mk/bsd.pkg.mk" diff --git a/audio/freezetag/files/md5 b/audio/freezetag/files/md5 new file mode 100644 index 00000000000..c94ca21d9ed --- /dev/null +++ b/audio/freezetag/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 1999/06/16 15:00:39 kleink Exp $ + +MD5 (freezetag-0.9.2.tar.gz) = d84cd138700ee0afae5c3f4ee70646e0 diff --git a/audio/freezetag/patches/patch-aa b/audio/freezetag/patches/patch-aa new file mode 100644 index 00000000000..ef93c948faa --- /dev/null +++ b/audio/freezetag/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 1999/06/16 15:00:40 kleink Exp $ + +--- src/freezetag.h.orig Fri Apr 9 00:12:25 1999 ++++ src/freezetag.h Wed Jun 16 02:04:00 1999 +@@ -7,6 +7,8 @@ + #include <sys/stat.h> + #include <unistd.h> + #include <fcntl.h> ++#include <stdio.h> ++#include <string.h> + + + #include "dirbrowser.h" diff --git a/audio/freezetag/patches/patch-ab b/audio/freezetag/patches/patch-ab new file mode 100644 index 00000000000..e1725af2e39 --- /dev/null +++ b/audio/freezetag/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 1999/06/16 15:00:40 kleink Exp $ + +--- src/edit_box.c.orig Fri Apr 9 05:42:58 1999 ++++ src/edit_box.c Wed Jun 16 01:37:41 1999 +@@ -86,7 +86,7 @@ + int fd, length,i, genre; + gchar *song, *artist, *album, *year, *comments; + char tag[4]; +- char fulltag = "TAG "; ++ char *fulltag = "TAG "; + extern GtkWidget *filelist; + + if ( ! ((song_flag != 0) || (artist_flag != 0) || (album_flag != 0) || (year_flag != 0) || (comments_flag != 0) || (genre_flag != 0) )) { diff --git a/audio/freezetag/patches/patch-ac b/audio/freezetag/patches/patch-ac new file mode 100644 index 00000000000..53b9659c2e4 --- /dev/null +++ b/audio/freezetag/patches/patch-ac @@ -0,0 +1,22 @@ +$NetBSD: patch-ac,v 1.1.1.1 1999/06/16 15:00:40 kleink Exp $ + +--- src/freezetag.c.orig Sat Apr 10 03:46:02 1999 ++++ src/freezetag.c Wed Jun 16 02:17:13 1999 +@@ -174,7 +174,7 @@ + genre = genre_table[genrenum]; + + +- if ( (buf[0] != 'T') && (buf[1] != 'A') && (buf[2] != 'G') ) { ++ if ( (buf[0] != 'T') || (buf[1] != 'A') || (buf[2] != 'G') ) { + gtk_clist_append( GTK_CLIST (clist), line ); + } else { + gchar *row[7] = { file, song, artist, album, year, comment, genre }; +@@ -322,7 +322,7 @@ + gtk_box_pack_start (GTK_BOX (mainbox), topbox, FALSE, TRUE, 0); + gtk_widget_show(topbox); + +- directorylist = create_dir_browser((gchar *) get_current_dir_name(), window); ++ directorylist = create_dir_browser((gchar *) getcwd(NULL, 0), window); + gtk_widget_set_usize( GTK_WIDGET (directorylist), 400, 100); + gtk_box_pack_start (GTK_BOX (topbox), directorylist, FALSE, TRUE, 0); + gtk_widget_show (directorylist); diff --git a/audio/freezetag/patches/patch-ad b/audio/freezetag/patches/patch-ad new file mode 100644 index 00000000000..8dfda3c89df --- /dev/null +++ b/audio/freezetag/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1.1.1 1999/06/16 15:00:40 kleink Exp $ + +--- src/rename.c.orig Sat Apr 10 03:46:18 1999 ++++ src/rename.c Wed Jun 16 02:14:25 1999 +@@ -53,7 +53,7 @@ + + lseek(fd, -128, SEEK_END); + read(fd, tag, 128); +- if ( (tag[0] != 'T') && (tag[1] != 'A') && (tag[2] != 'G') ) { ++ if ( (tag[0] != 'T') || (tag[1] != 'A') || (tag[2] != 'G') ) { + #ifdef DEBUG + g_warning("Can't rename a file without a tag - %s\n", filename); + #endif diff --git a/audio/freezetag/pkg/COMMENT b/audio/freezetag/pkg/COMMENT new file mode 100644 index 00000000000..7cad578fe47 --- /dev/null +++ b/audio/freezetag/pkg/COMMENT @@ -0,0 +1 @@ +An id3 tag editor for GTK+-1.2.0 and higher diff --git a/audio/freezetag/pkg/DESCR b/audio/freezetag/pkg/DESCR new file mode 100644 index 00000000000..11f9bc43751 --- /dev/null +++ b/audio/freezetag/pkg/DESCR @@ -0,0 +1,5 @@ +freezetag is an id3 tag editor for GTK+-1.2.0 and higher. It currently +supports adding directories recursively, changing multiple tags at a time, +and the viewing of current tags. In addition to viewing and changing tags, +freezetag can also rename your files based on the tag from a format specifier +Also, since freezetag uses GTK+ 1.2.0+, it takes advantage of your GTK+ themes. diff --git a/audio/freezetag/pkg/PLIST b/audio/freezetag/pkg/PLIST new file mode 100644 index 00000000000..a7b48982ff0 --- /dev/null +++ b/audio/freezetag/pkg/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1999/06/16 15:00:39 kleink Exp $ +bin/freezetag |