From owner-freebsd-ports-bugs@FreeBSD.ORG Mon May 16 18:10:07 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20E2D16A4D0 for ; Mon, 16 May 2005 18:10:07 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E0B143D7F for ; Mon, 16 May 2005 18:10:06 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4GIA1JP011821 for ; Mon, 16 May 2005 18:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4GIA1Go011820; Mon, 16 May 2005 18:10:01 GMT (envelope-from gnats) Resent-Date: Mon, 16 May 2005 18:10:01 GMT Resent-Message-Id: <200505161810.j4GIA1Go011820@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, KATO Tsuguru Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E194D16A4CE for ; Mon, 16 May 2005 18:00:42 +0000 (GMT) Received: from hfep08.dion.ne.jp (hfep08.dion.ne.jp [203.181.105.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37EB643DA7 for ; Mon, 16 May 2005 18:00:41 +0000 (GMT) (envelope-from tkato432@yahoo.com) Received: from localhost ([61.198.243.18]) by hfep08.dion.ne.jp with SMTP id <20050516180029135.YAYO@hfep08.dion.ne.jp> for ; Tue, 17 May 2005 03:00:29 +0900 Message-Id: <20050517030006.63ba3860.tkato432@yahoo.com> Date: Tue, 17 May 2005 03:00:06 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/81118: Update port: audio/tunesbrowser to 0.3.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2005 18:10:07 -0000 >Number: 81118 >Category: ports >Synopsis: Update port: audio/tunesbrowser to 0.3.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon May 16 18:10:00 GMT 2005 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.11-RELEASE-p7 i386 >Organization: >Environment: >Description: - Update to version 0.3.0 Remove file: files/patch-audioplayer.c files/patch-main.c >How-To-Repeat: >Fix: diff -urN /usr/ports/audio/tunesbrowser/Makefile audio/tunesbrowser/Makefile --- /usr/ports/audio/tunesbrowser/Makefile Sat Mar 12 20:20:28 2005 +++ audio/tunesbrowser/Makefile Mon May 16 20:03:27 2005 @@ -6,8 +6,7 @@ # PORTNAME= tunesbrowser -PORTVERSION= 0.2.0 -PORTREVISION= 2 +PORTVERSION= 0.3.0 CATEGORIES= audio MASTER_SITES= http://craz.net/programs/itunes/files/ @@ -17,19 +16,21 @@ LIB_DEPENDS= opendaap.0:${PORTSDIR}/devel/libopendaap USE_BZIP2= yes -USE_INC_LIBTOOL_VER=15 USE_X_PREFIX= yes -USE_GNOME= libglade2 gnometarget gnomehack gnomeprefix +USE_GNOME= gnomehack gnomeprefix gnometarget libglade2 +WANT_GNOME= yes USE_GSTREAMER= mad +GNU_CONFIGURE= yes MAN1= tunesbrowser.1 -DATADIR= ${PREFIX}/share/gnome/${PORTNAME} +.include -pre-everything:: - @${ECHO_MSG} '===>' - @${ECHO_MSG} '===> Warning: ${PORTNAME} is extremelly buggy, especially' - @${ECHO_MSG} '===> on the FreeBSD 4.x branch, and may not run at all' - @${ECHO_MSG} '===>' +.if ${HAVE_GNOME:Mlibgnome}!="" +PKGNAMESUFFIX= -gnome +USE_GNOME+= libgnome +.else +CONFIGURE_ARGS+= --disable-gnome +.endif -.include +.include diff -urN /usr/ports/audio/tunesbrowser/distinfo audio/tunesbrowser/distinfo --- /usr/ports/audio/tunesbrowser/distinfo Thu Feb 3 19:50:13 2005 +++ audio/tunesbrowser/distinfo Mon May 16 19:30:26 2005 @@ -1,2 +1,2 @@ -MD5 (tunesbrowser-0.2.0.tar.bz2) = e0fa00ca89ded223033430f4c54a83f9 -SIZE (tunesbrowser-0.2.0.tar.bz2) = 208472 +MD5 (tunesbrowser-0.3.0.tar.bz2) = dacfc3f7209c3165be9a9211dfb7bf0e +SIZE (tunesbrowser-0.3.0.tar.bz2) = 222593 diff -urN /usr/ports/audio/tunesbrowser/files/patch-Makefile.in audio/tunesbrowser/files/patch-Makefile.in --- /usr/ports/audio/tunesbrowser/files/patch-Makefile.in Thu Feb 3 12:32:26 2005 +++ audio/tunesbrowser/files/patch-Makefile.in Mon May 16 19:39:21 2005 @@ -1,17 +1,20 @@ ---- Makefile.in.orig Wed Feb 2 22:27:56 2005 -+++ Makefile.in Wed Feb 2 22:29:51 2005 -@@ -389,12 +389,12 @@ - uiDATA_INSTALL = $(INSTALL_DATA) - install-uiDATA: $(ui_DATA) - @$(NORMAL_INSTALL) -- $(mkinstalldirs) $(DESTDIR)$(uidir) -+ $(mkinstalldirs) $(DESTDIR)$(uidir)/tunesbrowser - @list='$(ui_DATA)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - f="`echo $$p | sed -e 's|^.*/||'`"; \ - echo " $(uiDATA_INSTALL) $$d$$p $(DESTDIR)$(uidir)/$$f"; \ -- $(uiDATA_INSTALL) $$d$$p $(DESTDIR)$(uidir)/$$f; \ -+ $(uiDATA_INSTALL) $$d$$p $(DESTDIR)$(uidir)/tunesbrowser/$$f; \ - done +--- Makefile.in.orig Mon May 16 14:48:28 2005 ++++ Makefile.in Mon May 16 19:39:09 2005 +@@ -144,7 +144,7 @@ + sysconfdir = @sysconfdir@ + target_alias = @target_alias@ + SUBDIRS = debug +-uidir = $(datadir) ++uidir = $(pkgdatadir) + bin_PROGRAMS = tunesbrowser + tunesbrowser_SOURCES = albumlist.c artistlist.c audioplayer.c \ + daap.c main.c misc_ui.c songlist.c sourcelist.c \ +@@ -158,7 +158,7 @@ + man_MANS = tunesbrowser.1 - uninstall-uiDATA: + INCLUDES = -I$(srcdir) -I$(srcdir)/debug +-AM_CFLAGS = $(TB_CFLAGS) -W -Wall -DUIDIR=$(datadir) ++AM_CFLAGS = $(TB_CFLAGS) -W -Wall -DUIDIR=$(pkgdatadir) + + ui_DATA = tunesbrowser.glade \ + comp.blue.png comp.red.png \ diff -urN /usr/ports/audio/tunesbrowser/files/patch-audioplayer.c audio/tunesbrowser/files/patch-audioplayer.c --- /usr/ports/audio/tunesbrowser/files/patch-audioplayer.c Thu Feb 3 19:50:13 2005 +++ audio/tunesbrowser/files/patch-audioplayer.c Thu Jan 1 09:00:00 1970 @@ -1,25 +0,0 @@ ---- audioplayer.c.orig Mon Dec 20 03:03:55 2004 -+++ audioplayer.c Wed Feb 2 21:42:19 2005 -@@ -106,7 +106,8 @@ - - static void async_cmd_cb_gst_setup_clock(__UNUSED__ void *data) - { -- GstClock *clock = gst_bin_get_clock(GST_BIN(pipeline_thread)); -+ GstClock *clock; -+ clock = gst_bin_get_clock(GST_BIN(pipeline_thread)); - songstarted = gst_clock_get_time(clock) / GST_SECOND; - } - -@@ -157,8 +158,10 @@ - - static void cb_iterate(GstBin *bin, __UNUSED__ gpointer data) - { -- GstClock *clock = gst_bin_get_clock(bin); -- int seconds = gst_clock_get_time(clock) / GST_SECOND; -+ GstClock *clock; -+ int seconds; -+ clock = gst_bin_get_clock(bin); -+ seconds = gst_clock_get_time(clock) / GST_SECOND; - - seconds = seconds - songstarted; - diff -urN /usr/ports/audio/tunesbrowser/files/patch-main.c audio/tunesbrowser/files/patch-main.c --- /usr/ports/audio/tunesbrowser/files/patch-main.c Wed Feb 16 03:24:08 2005 +++ audio/tunesbrowser/files/patch-main.c Thu Jan 1 09:00:00 1970 @@ -1,34 +0,0 @@ ---- main.c.orig Mon Jan 3 21:58:29 2005 -+++ main.c Wed Feb 2 21:56:11 2005 -@@ -38,7 +38,7 @@ - { - fprintf(stderr, "Oops! TunesBrowser has crashed. Sorry about that!\n"); - fprintf(stderr, "This probably won't be of any use unless you feel like debugging,\n"); -- fprintf(stderr, "but the crash occured because of %p being bad.\n", siginfo->si_ptr); -+ fprintf(stderr, "but the crash occured because of %p being bad.\n", siginfo->si_value.sigval_ptr); - #if 0 - fprintf(stderr, "\n\nRaised SIGSTOP. You can now attach a debugger.\n"); - fprintf(stderr, "Attach to PID %i\n", getpid()); -@@ -66,11 +66,11 @@ - int ret; - - sa.sa_handler = (void*)sighandler_sigsegv; -- sa.sa_flags = SA_NOMASK | SA_SIGINFO; -+ sa.sa_flags = SA_NODEFER | SA_SIGINFO; - ret = sigaction(SIGSEGV, &sa, NULL); - - sa.sa_handler = (void*)sighandler_sigpipe; -- sa.sa_flags = SA_NOMASK | SA_SIGINFO; -+ sa.sa_flags = SA_NODEFER | SA_SIGINFO; - ret = sigaction(SIGPIPE, &sa, NULL); - } - -@@ -94,7 +94,7 @@ - - gtk_init(&argc, &argv); - -- xml = glade_xml_new(XSTR(UIDIR) "/tunesbrowser.glade", NULL, NULL); -+ xml = glade_xml_new(XSTR(UIDIR) "/tunesbrowser/tunesbrowser.glade", NULL, NULL); - - glade_xml_signal_autoconnect(xml); - diff -urN /usr/ports/audio/tunesbrowser/pkg-plist audio/tunesbrowser/pkg-plist --- /usr/ports/audio/tunesbrowser/pkg-plist Thu Feb 3 12:32:25 2005 +++ audio/tunesbrowser/pkg-plist Mon May 16 19:40:18 2005 @@ -3,5 +3,7 @@ share/gnome/tunesbrowser/comp.red.png share/gnome/tunesbrowser/sound1.png share/gnome/tunesbrowser/sound2.png +share/gnome/tunesbrowser/soundfile.png +share/gnome/tunesbrowser/tips.txt share/gnome/tunesbrowser/tunesbrowser.glade @dirrm share/gnome/tunesbrowser >Release-Note: >Audit-Trail: >Unformatted: