Subject: pkg/15242: Update gqmpeg to 0.12.0
To: None <gnats-bugs@gnats.netbsd.org>
From: None <rxg@ms25.url.com.tw>
List: netbsd-bugs
Date: 01/14/2002 20:53:52
>Number:         15242
>Category:       pkg
>Synopsis:       Update gqmpeg to 0.12.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 14 04:55:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Rui-Xiang Guo
>Release:        NetBSD 1.5ZA
>Organization:
	
>Environment:
	
	
System: NetBSD rxgpc.sparqnet.net 1.5ZA NetBSD 1.5ZA (HIVE) #0: Sat Jan 12 21:07:31 CST 2002 rxg@rxgpc.sparqnet.net:/usr/src/sys/arch/i386/compile/HIVE i386
Architecture: i386
Machine: i386
>Description:
  Changes:

     + Added bitrate etc. information and comment support for ogg files,
       including a comment editor.
     + Song titles and comments are now customizable, and are saved in the
       playlist (to customize use right click menu in playlist).
     + Added Traditional Chinese translation (zh_TW).
     - Added help window (displays README).
     - Basic read-only support for m3u 3.0 titles saved in a playlist.
     * Fix (at least improved) --dockwm behavior.
     * Several misc fixes.
>How-To-Repeat:
	1. use this patch to Makefile
	   (add DEPENDS for xmp to remove the 'noisy' message :))
--- /usr/pkgsrc/audio/gqmpeg/Makefile   Sat Dec  8 00:11:15 2001
+++ Makefile
@@ -2,5 +2,5 @@
 # FreeBSD Id: Makefile,v 1.6 1998/12/28 01:02:05 vanilla Exp
 
-DISTNAME=              gqmpeg-0.11.0
+DISTNAME=              gqmpeg-0.12.0
 CATEGORIES=            audio
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=gqmpeg/}
@@ -14,4 +14,5 @@
 DEPENDS+=              mpg123>=0.59.18:../../audio/mpg123
 DEPENDS+=              vorbis-tools>=1.0.0.6:../../audio/vorbis-tools
+DEPENDS+=              xmp>=2.0.2:../../audio/xmp
 
 USE_BUILDLINK_ONLY=    YES

	2. change the patches with these two
patch-aa
$NetBSD$

--- Makefile.in.orig    Fri Jan  4 04:42:19 2002
+++ Makefile.in
@@ -116,11 +116,11 @@
 skindir = $(prefix)/share/gqmpeg/skins
 skin_DATA = SKIN-SPECS README
 
-@HAVE_GNOME_TRUE@desktopdir = @HAVE_GNOME_TRUE@$(GNOME_DATADIR)/gnome/apps/Mult
imedia
-@HAVE_GNOME_TRUE@desktop_DATA = @HAVE_GNOME_TRUE@gqmpeg.desktop
+desktopdir = $(GNOME_DATADIR)/gnome/apps/Multimedia
+desktop_DATA = gqmpeg.desktop
 
-@HAVE_GNOME_TRUE@icondir = @HAVE_GNOME_TRUE@$(GNOME_DATADIR)/pixmaps
-@HAVE_GNOME_TRUE@icon_DATA = @HAVE_GNOME_TRUE@gqmpeg.png
+icondir = $(GNOME_DATADIR)/pixmaps
+icon_DATA = gqmpeg.png
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 CONFIG_HEADER = config.h
patch-ab
$NetBSD$

--- configure.orig      Fri Jan  4 04:40:19 2002
+++ configure
@@ -2290,7 +2290,6 @@
   FALSE_FALSE=
 fi
 
-localedir='${prefix}/share/locale'
 
 
 ALL_LINGUAS="cs de fr ja pt_BR zh_TW"
@@ -4121,6 +4120,8 @@
        < $srcdir/po/POTFILES.in > po/POTFILES
   
 
+DATADIRNAME="${PKGLOCALEDIR}"
+localedir='${prefix}/${DATADIRNAME}/locale'
 
 
 
	3. change PLIST file with this
@comment $NetBSD$
bin/gqmpeg
bin/gqmpeg-shoutcast-plugin.sh
man/man1/gqmpeg.1
share/gnome/apps/Multimedia/gqmpeg.desktop
share/gqmpeg/skins/README
share/gqmpeg/skins/SKIN-SPECS
${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/gqmpeg.mo
${PKGLOCALEDIR}/locale/de/LC_MESSAGES/gqmpeg.mo
${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/gqmpeg.mo
${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/gqmpeg.mo
${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/gqmpeg.mo
${PKGLOCALEDIR}/locale/zh_TW/LC_MESSAGES/gqmpeg.mo
share/pixmaps/gqmpeg.png
@unexec rmdir -p %D/share/gqmpeg/skins 2> /dev/null || true
@unexec rmdir -p %D/share/gnome/apps/Multimedia 2> /dev/null || true
	4. please add a new entry 'zh_TW' in NetBSD.x11.dist, thanks!
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: