Subject: pkg/23582: audio/gnome-audio update to 2.0.0
To: None <gnats-bugs@gnats.netbsd.org>
From: Min Sik Kim <minskim@bawi.org>
List: netbsd-bugs
Date: 11/27/2003 13:27:56
>Number:         23582
>Category:       pkg
>Synopsis:       audio/gnome-audio update to 2.0.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 27 19:29:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Min Sik Kim
>Release:        NetBSD 1.6ZF
>Organization:
>Environment:
System: NetBSD mike.infnis.com 1.6ZF NetBSD 1.6ZF (MIKE) #8: Sat Nov 22 02:01:55 CST 2003 root@mike.infnis.com:/usr/obj/sys/arch/i386/compile/MIKE i386
Architecture: i386
Machine: i386
>Description:
Changes since 1.4.0:
  - Added question.wav.

>How-To-Repeat:
>Fix:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/audio/gnome-audio/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile	2003/07/17 21:22:16	1.8
+++ Makefile	2003/11/27 19:23:13
@@ -1,28 +1,25 @@
 # $NetBSD: Makefile,v 1.8 2003/07/17 21:22:16 grant Exp $
 #
 
-DISTNAME=	gnome-audio-1.4.0
+DISTNAME=	gnome-audio-2.0.0
 CATEGORIES=	audio
-MASTER_SITES=	${MASTER_SITE_GNOME:=sources/gnome-audio/1.4/}
+MASTER_SITES=	${MASTER_SITE_GNOME:=sources/gnome-audio/2.0/}
+EXTRACT_SUFX=	.tar.bz2
 
 MAINTAINER=	rh@NetBSD.org
 HOMEPAGE=	http://www.gnome.org/
 COMMENT=	Set of audio files for GNOME
 
 NO_CONFIGURE=	YES
+NO_BUILD=	YES
 USE_X11BASE=	YES
-MAKE_ENV+=	prefix="${PREFIX}"
 
 do-install:
-	${INSTALL_DATA_DIR} ${PREFIX}/share/sounds
-	${INSTALL_DATA_DIR} ${PREFIX}/share/sounds/panel
-	${INSTALL_DATA_DIR} ${PREFIX}/share/sounds/gtk-events
-.for file in card_shuffle phone shutdown1 startup3 warning email error \
-	     generic info panel/slide gtk-events/activate gtk-events/clicked \
-	     gtk-events/toggled
-	${INSTALL_DATA} ${WRKSRC}/sounds/${file}.wav \
-	                ${PREFIX}/share/sounds/${file}.wav
-.endfor
+	cd ${WRKSRC}/sounds && for f in *.wav */*.wav; do \
+		dst=`${DIRNAME} $$f`; \
+		${INSTALL_DATA_DIR} ${PREFIX}/share/sounds/$$dst; \
+		${INSTALL_DATA} $$f ${PREFIX}/share/sounds/$$f; \
+	done
 	${LN} -fs startup3.wav ${PREFIX}/share/sounds/login.wav
 	${LN} -fs shutdown1.wav ${PREFIX}/share/sounds/logout.wav
 
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/audio/gnome-audio/PLIST,v
retrieving revision 1.3
diff -u -r1.3 PLIST
--- PLIST	2002/12/09 16:01:12	1.3
+++ PLIST	2003/11/27 19:23:13
@@ -1,19 +1,20 @@
 @comment $NetBSD: PLIST,v 1.3 2002/12/09 16:01:12 tron Exp $
 share/sounds/card_shuffle.wav
-share/sounds/phone.wav
-share/sounds/shutdown1.wav
-share/sounds/startup3.wav
-share/sounds/warning.wav
 share/sounds/email.wav
 share/sounds/error.wav
 share/sounds/generic.wav
+share/sounds/gtk-events/activate.wav
+share/sounds/gtk-events/clicked.wav
+share/sounds/gtk-events/toggled.wav
 share/sounds/info.wav
 share/sounds/login.wav
 share/sounds/logout.wav
 share/sounds/panel/slide.wav
-share/sounds/gtk-events/activate.wav
-share/sounds/gtk-events/clicked.wav
-share/sounds/gtk-events/toggled.wav
-@dirrm share/sounds/gtk-events
+share/sounds/phone.wav
+share/sounds/question.wav
+share/sounds/shutdown1.wav
+share/sounds/startup3.wav
+share/sounds/warning.wav
 @dirrm share/sounds/panel
+@dirrm share/sounds/gtk-events
 @unexec ${RMDIR} %D/share/sounds 2>/dev/null || ${TRUE}
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/audio/gnome-audio/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo	2001/04/18 12:14:29	1.2
+++ distinfo	2003/11/27 19:23:13
@@ -1,4 +1,4 @@
 $NetBSD: distinfo,v 1.2 2001/04/18 12:14:29 agc Exp $
 
-SHA1 (gnome-audio-1.4.0.tar.gz) = c63a40c8bc9996c423738c46baf28202ab9338f2
-Size (gnome-audio-1.4.0.tar.gz) = 1451082 bytes
+SHA1 (gnome-audio-2.0.0.tar.bz2) = 488f6295e2e1f54a8988dd7e71ab673cd7fc8a00
+Size (gnome-audio-2.0.0.tar.bz2) = 1401319 bytes
>Release-Note:
>Audit-Trail:
>Unformatted: