diff options
author | bapt <bapt@FreeBSD.org> | 2013-10-07 18:36:07 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-10-07 18:36:07 +0800 |
commit | c965f2d74c87baf0856fe1f05270922cabb33c3e (patch) | |
tree | 10379288b4ca2f9155c1c4ab0cd0f12cb0eab96e /audio | |
parent | d9c006160af7881d660ba460e3781fa477346214 (diff) | |
download | freebsd-ports-gnome-c965f2d74c87baf0856fe1f05270922cabb33c3e.tar.gz freebsd-ports-gnome-c965f2d74c87baf0856fe1f05270922cabb33c3e.tar.zst freebsd-ports-gnome-c965f2d74c87baf0856fe1f05270922cabb33c3e.zip |
Remove yamt, it is unmaintained and depends on gnome1 libraries
Approved by: demon (maintainer)
Diffstat (limited to 'audio')
-rw-r--r-- | audio/Makefile | 1 | ||||
-rw-r--r-- | audio/yamt/Makefile | 28 | ||||
-rw-r--r-- | audio/yamt/distinfo | 2 | ||||
-rw-r--r-- | audio/yamt/files/patch-aa | 11 | ||||
-rw-r--r-- | audio/yamt/files/patch-ab | 11 | ||||
-rw-r--r-- | audio/yamt/files/patch-po-ja.po | 13 | ||||
-rw-r--r-- | audio/yamt/files/patch-src-Makefile.in | 10 | ||||
-rw-r--r-- | audio/yamt/files/patch-yamt-directory-traversal | 123 | ||||
-rw-r--r-- | audio/yamt/pkg-descr | 13 | ||||
-rw-r--r-- | audio/yamt/pkg-plist | 30 |
10 files changed, 0 insertions, 242 deletions
diff --git a/audio/Makefile b/audio/Makefile index 878ff30305b5..d8e4a980229e 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -877,7 +877,6 @@ SUBDIR += xsynth-dssi SUBDIR += xvmixer SUBDIR += xwave - SUBDIR += yamt SUBDIR += yell SUBDIR += zinf SUBDIR += zynaddsubfx diff --git a/audio/yamt/Makefile b/audio/yamt/Makefile deleted file mode 100644 index 7f2cbee632c4..000000000000 --- a/audio/yamt/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -# Created by: Dmitry Sivachenko <dima@Chg.RU> -# $FreeBSD$ - -PORTNAME= yamt -PORTVERSION= 0.5 -PORTREVISION= 11 -CATEGORIES= audio gnome -MASTER_SITES= SF \ - ftp://ftp.gpad.ac.ru/pub/FreeBSD/distfiles/ - - -MAINTAINER= demon@FreeBSD.org -COMMENT= Yet Another Mp3 Tool which helps you to organize your mp3s - -USES= gmake pathfix -NO_STAGE= yes -USE_GNOME= gnomelibs gnomeprefix -GNU_CONFIGURE= yes -CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" -CPPFLAGS+= -I${LOCALBASE}/include - -post-patch: - @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ - s|DATADIRNAME=lib|DATADIRNAME=share|g ; \ - s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \ - s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure - -.include <bsd.port.mk> diff --git a/audio/yamt/distinfo b/audio/yamt/distinfo deleted file mode 100644 index 3c287df426b4..000000000000 --- a/audio/yamt/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (yamt-0.5.tar.gz) = df4616e287aa9b2feb946bf54467dabbdc3f5c2065982e903e80406d8a5dd54d -SIZE (yamt-0.5.tar.gz) = 261074 diff --git a/audio/yamt/files/patch-aa b/audio/yamt/files/patch-aa deleted file mode 100644 index 702068db770a..000000000000 --- a/audio/yamt/files/patch-aa +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.orig Sat Jun 3 20:35:31 2000 -+++ configure Sat Jun 3 20:36:07 2000 -@@ -4366,7 +4366,7 @@ - - fi - --PACKAGE_PIXMAPS_DIR="`gnome-config --datadir`/pixmaps/${PACKAGE}" -+PACKAGE_PIXMAPS_DIR="`gnome-config --datadir`/pixmaps" - - - diff --git a/audio/yamt/files/patch-ab b/audio/yamt/files/patch-ab deleted file mode 100644 index b1fba12ec832..000000000000 --- a/audio/yamt/files/patch-ab +++ /dev/null @@ -1,11 +0,0 @@ ---- pixmaps/Makefile.in.orig Sat Jun 3 20:47:40 2000 -+++ pixmaps/Makefile.in Sat Jun 3 20:47:54 2000 -@@ -113,7 +113,7 @@ - EXTRA_DIST = yamt-logo.png yamt-icon.png - - --pixmapdir = $(datadir)/pixmaps/yamt -+pixmapdir = $(datadir)/pixmaps - - pixmap_DATA = $(EXTRA_DIST) - mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs diff --git a/audio/yamt/files/patch-po-ja.po b/audio/yamt/files/patch-po-ja.po deleted file mode 100644 index 887905613792..000000000000 --- a/audio/yamt/files/patch-po-ja.po +++ /dev/null @@ -1,13 +0,0 @@ ---- po/ja.po.orig Sun Sep 8 23:20:05 2002 -+++ po/ja.po Sun Sep 8 23:20:10 2002 -@@ -827,8 +827,8 @@ - #~ "Then it deletes all directories." - #~ msgstr "" - #~ "¤³¤Îµ¡Ç½¤ÏʬÎൡǽ¤ÎÃúÅÙÈ¿ÂФò¹Ô¤¦:\n" --#~ "¸µ¤Î¥Ç¥£¥ì¥¯¥È¥ê¡¼(³î¤Ä»Ò¥Ç¥£¥ì¥¯¥È¥ê¡¼)Æâ¤ÎÁ´¥Õ¥¡¥¤¥ë¤Ï°¸Àè¥Ç¥£¥ì¥¯¥È¥ê¡¼¤Ë°" --#~ "ܤµ¤ì¤ë.\n" -+#~ "¸µ¤Î¥Ç¥£¥ì¥¯¥È¥ê¡¼(³î¤Ä»Ò¥Ç¥£¥ì¥¯¥È¥ê¡¼)Æâ¤ÎÁ´¥Õ¥¡¥¤¥ë¤Ï°¸Àè¥Ç¥£¥ì¥¯¥È¥ê¡¼¤Ë" -+#~ "ܤµ¤ì¤.\n" - #~ "¤½¤ì¤«¤éÁ´¥Ç¥£¥ì¥¯¥È¥ê¡¼¤òºï½ü¤¹¤ë." - - #~ msgid "Find" diff --git a/audio/yamt/files/patch-src-Makefile.in b/audio/yamt/files/patch-src-Makefile.in deleted file mode 100644 index 280cfb6eee3f..000000000000 --- a/audio/yamt/files/patch-src-Makefile.in +++ /dev/null @@ -1,10 +0,0 @@ ---- src/Makefile.in.orig 2000-03-31 06:01:10.000000000 -0600 -+++ src/Makefile.in 2011-03-25 13:10:47.000000000 -0500 -@@ -359,7 +359,2 @@ - -- --dnl INCLUDES = -I$(top_srcdir) -I$(includedir) $(GNOME_INCLUDEDIR) \ --dnl -DG_LOG_DOMAIN=\"yamt\" -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \ --dnl -I../intl -I$(top_srcdir)/intl -- - # Tell versions [3.59,3.63) of GNU make to not export all variables. diff --git a/audio/yamt/files/patch-yamt-directory-traversal b/audio/yamt/files/patch-yamt-directory-traversal deleted file mode 100644 index 99ec83166d17..000000000000 --- a/audio/yamt/files/patch-yamt-directory-traversal +++ /dev/null @@ -1,123 +0,0 @@ ---- src/id3tag.c -+++ src/id3tag.c -@@ -389,12 +389,20 @@ - return(1); - } - -+static void id3tag_sanitize (char *string) -+{ -+ while ((string = strchr (string, '/'))) -+ { -+ *string = '_'; -+ } -+} -+ - /* This function renames a file based on its tag in the given format */ - int id3tag_rename( char *filename, char *format ) - { - struct id3tag tag; - struct stat stbuf; -- char target_filename[80]=""; -+ char target_filename[PATH_MAX]=""; - char buffer[10]=""; - char *tmp; - int i; -@@ -425,36 +433,42 @@ - { - case 't': - strcat( target_filename, tag.title); -+ id3tag_sanitize (target_filename+i2); - i2=i2+strlen(tag.title); - i++; - break; - - case 'a': - strcat( target_filename, tag.artist); -+ id3tag_sanitize (target_filename+i2); - i2=i2+strlen(tag.artist); - i++; - break; - - case 'b': - strcat( target_filename, tag.album); -+ id3tag_sanitize (target_filename+i2); - i2=i2+strlen(tag.album); - i++; - break; - - case 'c': - strcat( target_filename, tag.comment); -+ id3tag_sanitize (target_filename+i2); - i2=i2+strlen(tag.comment); - i++; - break; - - case 'y': - strcat( target_filename, tag.year); -+ id3tag_sanitize (target_filename+i2); - i2=i2+strlen(tag.year); - i++; - break; - - case 'g': - strcat( target_filename, id3tag_get_genre(tag.genre)); -+ id3tag_sanitize (target_filename+i2); - i2=i2+strlen(id3tag_get_genre(tag.genre)); - i++; - break; -@@ -521,9 +535,9 @@ - int id3tag_sort( char *filename, char *rootdir, char *format_level1, char *format_level2 ) - { - struct id3tag tag; -- char *dir_level1=NULL; -- char *dir_level2=NULL; -- char target_filename[80]; -+ char *dir_level1=NULL, *dir_level1_sanitized; -+ char *dir_level2=NULL, *dir_level2_sanitized; -+ char source_filename[PATH_MAX], target_filename[PATH_MAX]; - char dir_cur[80]; - - -@@ -554,8 +568,10 @@ - chdir(rootdir); - if( dir_level1[0] == '\0' ) - dir_level1 = "Unknown"; -- yamtlog("%s %s", "New directory: ", dir_level1); -- mkdir( dir_level1, S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IXGRP|S_IROTH ); -+ dir_level1_sanitized = strdup (dir_level1); -+ id3tag_sanitize (dir_level1_sanitized); -+ yamtlog("%s %s", "New directory: ", dir_level1_sanitized); -+ mkdir( dir_level1_sanitized, S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IXGRP|S_IROTH ); - - /* Level 2 */ - if( strcmp( format_level2, "Album") == 0 ) -@@ -573,18 +589,24 @@ - - if( dir_level2[0] == '\0' ) - dir_level2 = "Unknown"; -- yamtlog("%s %s", "New directory: ", dir_level2); -+ dir_level2_sanitized = strdup (dir_level2); -+ id3tag_sanitize (dir_level2_sanitized); -+ yamtlog("%s %s", "New directory: ", dir_level2_sanitized); - - /* Go into the previously created directory */ -- chdir( dir_level1 ); -- mkdir( dir_level2, S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IXGRP|S_IROTH ); -+ chdir( dir_level1_sanitized ); -+ mkdir( dir_level2_sanitized, S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IXGRP|S_IROTH ); - /* Move the file into the new (?) directory */ - -- sprintf( target_filename, "mv \"%s/%s\" \"%s%s/%s/%s\"", dir_cur, filename, rootdir, dir_level1, dir_level2, filename ); -+ snprintf( source_filename, PATH_MAX, "%s/%s", dir_cur, filename ); -+ snprintf( target_filename, PATH_MAX, "%s%s/%s/%s", rootdir, dir_level1_sanitized, dir_level2_sanitized, filename ); -+ -+ free (dir_level1_sanitized); -+ free (dir_level2_sanitized); - - yamtlog("%s %s", "Sorted ", filename ); - -- system( target_filename ); -+ rename( source_filename, target_filename ); - - /* if( (rename( filename, target_filename )) ) */ - /* { */ diff --git a/audio/yamt/pkg-descr b/audio/yamt/pkg-descr deleted file mode 100644 index 0083cc5fed9b..000000000000 --- a/audio/yamt/pkg-descr +++ /dev/null @@ -1,13 +0,0 @@ -YAMT is Yet Another Mp3 Tool which helps you to organize your mp3s. - -FEATURES: - -Currently YAMT supports the following: - - Editing of single ID3 TAGs - - Rename files based on their ID3 TAGs (optional recursive) - - Mass tagging with variables %dir and %file - for the current directory and file (optional recursive) - - Sorting into subdirectories - - Find files with a special TAG (optional recursive) - -WWW: http://yamt.sourceforge.net/ diff --git a/audio/yamt/pkg-plist b/audio/yamt/pkg-plist deleted file mode 100644 index 65e9eb0b5b41..000000000000 --- a/audio/yamt/pkg-plist +++ /dev/null @@ -1,30 +0,0 @@ -bin/yamt -share/gnome/apps/Applications/yamt.desktop -share/pixmaps/yamt-logo.png -share/pixmaps/yamt-icon.png -share/locale/de/LC_MESSAGES/yamt.mo -share/locale/fr/LC_MESSAGES/yamt.mo -share/locale/hu/LC_MESSAGES/yamt.mo -share/locale/ja/LC_MESSAGES/yamt.mo -share/gnome/help/yamt/C/topic.dat -share/gnome/help/yamt/C/index.html -share/gnome/help/yamt/C/about.html -share/gnome/help/yamt/C/advanced.html -share/gnome/help/yamt/C/auto.html -share/gnome/help/yamt/C/contacts.html -share/gnome/help/yamt/C/docbook.css -share/gnome/help/yamt/C/edit.html -share/gnome/help/yamt/C/exchange.html -share/gnome/help/yamt/C/explore.html -share/gnome/help/yamt/C/features.html -share/gnome/help/yamt/C/introduction.html -share/gnome/help/yamt/C/ln15.html -share/gnome/help/yamt/C/mass.html -share/gnome/help/yamt/C/misc.html -share/gnome/help/yamt/C/playlists.html -share/gnome/help/yamt/C/properties-0.html -share/gnome/help/yamt/C/properties.html -share/gnome/help/yamt/C/rename.html -share/gnome/help/yamt/C/sortandunsort.html -@dirrm share/gnome/help/yamt/C -@dirrm share/gnome/help/yamt |