From owner-freebsd-ports Thu Jan 2 10:20:26 2003 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7020637B405 for ; Thu, 2 Jan 2003 10:20:17 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72C2643EE6 for ; Thu, 2 Jan 2003 10:20:13 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h02IKDNS045366 for ; Thu, 2 Jan 2003 10:20:13 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h02IKD2S045365; Thu, 2 Jan 2003 10:20:13 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A96337B401 for ; Thu, 2 Jan 2003 10:19:04 -0800 (PST) Received: from kartoffel.salatschuessel.net (p5084BD89.dip.t-dialin.net [80.132.189.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 233EB43EB2 for ; Thu, 2 Jan 2003 10:18:41 -0800 (PST) (envelope-from olivleh1@kartoffel.salatschuessel.net) Received: from kartoffel.salatschuessel.net (localhost [127.0.0.1]) by kartoffel.salatschuessel.net (8.12.6/8.12.6) with ESMTP id h02IIAYk005949; Thu, 2 Jan 2003 19:18:10 +0100 (CET) (envelope-from olivleh1@kartoffel.salatschuessel.net) Received: (from root@localhost) by kartoffel.salatschuessel.net (8.12.6/8.12.6/Submit) id h02II3CN005948; Thu, 2 Jan 2003 19:18:03 +0100 (CET) Message-Id: <200301021818.h02II3CN005948@kartoffel.salatschuessel.net> Date: Thu, 2 Jan 2003 19:18:03 +0100 (CET) From: Oliver Lehmann Reply-To: Oliver Lehmann To: FreeBSD-gnats-submit@FreeBSD.org Cc: Oliver Lehmann X-Send-Pr-Version: 3.113 Subject: ports/46697: update-port: sysutils/xcdroast Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 46697 >Category: ports >Synopsis: update-port: sysutils/xcdroast >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Jan 02 10:20:12 PST 2003 >Closed-Date: >Last-Modified: >Originator: Oliver Lehmann >Release: FreeBSD 4.7-STABLE i386 >Organization: >Environment: System: FreeBSD kartoffel.salatschuessel.net 4.7-STABLE FreeBSD 4.7-STABLE #1: Thu Nov 28 15:46:09 CET 2002 olivleh1@nudel.salatschuessel.net:/usr/obj/i386/usr/src/sys/KARTOFFEL i386 >Description: update the xcdroast port from alpha10 to alpha13. please close: o [2002/11/27] ports/45809 ports update-port: sysutils/xcdroast o [2002/12/27] ports/46562 ports update-port: sysutils/xcdroast Alpha10, which is actually still in the ports tree, became useless. It requires an old version of cdrtools, and it's incompatible with any actuall version of cdrtools. Removed patch-files: patch-Makefile patch-io.c patch-xcdrdata.h patch-xcdroast.h New patch-files: patch-src::xcdroast.h >How-To-Repeat: >Fix: --- xcdroast.patch begins here --- diff -ruN xcdroast.old/Makefile /usr/ports/sysutils/xcdroast/Makefile --- xcdroast.old/Makefile Thu Jan 2 18:58:38 2003 +++ /usr/ports/sysutils/xcdroast/Makefile Thu Jan 2 19:04:07 2003 @@ -6,9 +6,11 @@ # PORTNAME= xcdroast -PORTVERSION= 0.98.a.10 +PORTVERSION= 0.98.a.13 CATEGORIES= sysutils -MASTER_SITES= http://www.xcdroast.org/download/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ + http://www.xcdroast.org/download/ +MASTER_SITE_SUBDIR= xcdroast DISTNAME= ${PORTNAME}-${PORTVERSION:S/.a./alpha/} MAINTAINER= lehmann@ans-netz.de @@ -17,26 +19,34 @@ mkisofs:${PORTSDIR}/sysutils/mkisofs USE_X_PREFIX= yes -USE_GMAKE= yes USE_GNOMENG= yes -USE_GNOME= imlib gdkpixbuf +USE_GNOME= gdkpixbuf +GNU_CONFIGURE= yes -MAKE_ENV+= GTK_CONFIG="${GTK_CONFIG}" \ - GLIB_CONFIG="${GLIB_CONFIG}" \ - IMLIB_CONFIG="${IMLIB_CONFIG}" +CONFIGURE_ENV+= GTK_CONFIG="${GTK_CONFIG}" \ + GLIB_CONFIG="${GLIB_CONFIG}" MAN1= xcdroast.1 +.if defined(WITH_NONROOT) +CONFIGURE_ARGS+=--enable-nonrootmode +.else +CONFIGURE_ARGS+=--disable-nonrootmode +.endif + +pre-everything:: + @${ECHO} "" + @${ECHO} "You may use the following build options:" + @${ECHO} "" + @${ECHO} " WITH_NONROOT=yes Use xcdroast w/o beeing root" + @${ECHO} "" + post-patch: - for i in xcdroast.h Makefile ; do \ - ${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/$$i ; \ - done - - for i in Makefile xcdroast.h ; do \ - ${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/$$i ; \ - done + @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g; \ + s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/src/xcdroast.h; post-install: +.if defined(WITH_NONROOT) @${CAT} ${PKGMESSAGE} - +.endif .include diff -ruN xcdroast.old/distinfo /usr/ports/sysutils/xcdroast/distinfo --- xcdroast.old/distinfo Thu Jan 2 18:58:38 2003 +++ /usr/ports/sysutils/xcdroast/distinfo Thu Jan 2 19:05:02 2003 @@ -1 +1 @@ -MD5 (xcdroast-0.98alpha10.tar.gz) = 6f9ffd30c7ba8f067c2f1bddcc83d7d8 +MD5 (xcdroast-0.98alpha13.tar.gz) = ba5d006cc8a9d13c223ccc11c2fc088a diff -ruN xcdroast.old/files/patch-Makefile /usr/ports/sysutils/xcdroast/files/patch-Makefile --- xcdroast.old/files/patch-Makefile Thu Jan 2 18:58:38 2003 +++ /usr/ports/sysutils/xcdroast/files/patch-Makefile Thu Jan 1 01:00:00 1970 @@ -1,34 +0,0 @@ ---- Makefile.orig Tue Apr 23 21:23:10 2002 -+++ Makefile Fri May 17 16:32:22 2002 -@@ -6,13 +6,13 @@ - # Installation prefix directory: - - #PREFIX=/usr --PREFIX=/usr/local -+PREFIX=%%PREFIX%% - PRE_LIBDIR=$(PREFIX)/lib/xcdroast-0.98 - - # put here the prefix where you want xcdroast to look for - # cdrecord/mkisofs/readcd/cdda2wav. - # e.g. /usr --CDRTOOLS_PREFIX=$(PREFIX) -+CDRTOOLS_PREFIX=%%LOCALBASE%% - - # for linux - INSTALL=/usr/bin/install -c -@@ -29,11 +29,11 @@ - - #--- - --CFLAGS=-Wall `gtk-config --cflags` `gdk-pixbuf-config --cflags` -DPRE_PREFIX="\"$(PREFIX)\"" -DPRE_LIBDIR="\"$(PRE_LIBDIR)\"" -DCDRTOOLS_PREFIX="\"$(CDRTOOLS_PREFIX)\"" $(EXTRA_CFLAGS) --CFLAGS2=-Wall `glib-config --cflags --libs` -DPRE_PREFIX="\"$(PREFIX)\"" -DPRE_LIBDIR="\"$(PRE_LIBDIR)\"" -DCDRTOOLS_PREFIX="\"$(CDRTOOLS_PREFIX)\"" $(EXTRA_CFLAGS) -+CFLAGS=-Wall `${GTK_CONFIG} --cflags` `gdk-pixbuf-config --cflags` -DPRE_PREFIX="\"$(PREFIX)\"" -DPRE_LIBDIR="\"$(PRE_LIBDIR)\"" -DCDRTOOLS_PREFIX="\"$(CDRTOOLS_PREFIX)\"" $(EXTRA_CFLAGS) -+CFLAGS2=-Wall `${GLIB_CONFIG} --cflags --libs` -DPRE_PREFIX="\"$(PREFIX)\"" -DPRE_LIBDIR="\"$(PRE_LIBDIR)\"" -DCDRTOOLS_PREFIX="\"$(CDRTOOLS_PREFIX)\"" $(EXTRA_CFLAGS) - --LIBS=`gtk-config --libs` `gdk-pixbuf-config --libs` --TOOLLIBS=`gtk-config --libs` -+LIBS=`${GTK_CONFIG} --libs` `gdk-pixbuf-config --libs` -+TOOLLIBS=`${GTK_CONFIG} --libs` - CC=cc - - OBJ = main.o language.o init.o tools.o xtools.o menus.o setup.o io.o duplicate.o wav_frontend.o wav_id.o create.o diff -ruN xcdroast.old/files/patch-io.c /usr/ports/sysutils/xcdroast/files/patch-io.c --- xcdroast.old/files/patch-io.c Thu Jan 2 18:58:38 2003 +++ /usr/ports/sysutils/xcdroast/files/patch-io.c Thu Jan 1 01:00:00 1970 @@ -1,12 +0,0 @@ ---- io.c.orig Fri May 17 17:12:28 2002 -+++ io.c Fri May 17 17:12:44 2002 -@@ -8492,7 +8492,8 @@ - return 1; - } else { - /* create command to create new group */ -- g_snprintf(tmp,MAXLINE,"%s %s\n", GROUPADD, NONROOTMODEGROUP); -+ -+ g_snprintf(tmp,MAXLINE,"%s groupadd -n %s\n", GROUPADD, NONROOTMODEGROUP); - strcat(ret,tmp); - } - } diff -ruN xcdroast.old/files/patch-src::xcdroast.h /usr/ports/sysutils/xcdroast/files/patch-src::xcdroast.h --- xcdroast.old/files/patch-src::xcdroast.h Thu Jan 1 01:00:00 1970 +++ /usr/ports/sysutils/xcdroast/files/patch-src::xcdroast.h Thu Jan 2 18:59:39 2003 @@ -0,0 +1,19 @@ +--- src/xcdroast.h.orig Fri Dec 27 18:57:24 2002 ++++ src/xcdroast.h Fri Dec 27 18:59:40 2002 +@@ -99,11 +99,11 @@ + then in $PREFIX (e.g. /usr/bin/cdrecord instead of + /usr/local/lib/xcdroast-0.98/bin/cdrecord) */ + +-#define CDRECORD "bin/cdrecord" +-#define CDRECORDPRODVD "bin/cdrecord.prodvd" +-#define CDDA2WAV "bin/cdda2wav" +-#define READCD "bin/readcd" +-#define MKISOFS "bin/mkisofs" ++#define CDRECORD "%%LOCALBASE%%/bin/cdrecord" ++#define CDRECORDPRODVD "%%LOCALBASE%%/bin/cdrecord.prodvd" ++#define CDDA2WAV "%%LOCALBASE%%/bin/cdda2wav" ++#define READCD "%%LOCALBASE%%/bin/readcd" ++#define MKISOFS "%%LOCALBASE%%/bin/mkisofs" + + /* MINIMUM required versions. Greater versions are now silently + accepted. diff -ruN xcdroast.old/files/patch-xcdrdata.h /usr/ports/sysutils/xcdroast/files/patch-xcdrdata.h --- xcdroast.old/files/patch-xcdrdata.h Thu Jan 2 18:58:38 2003 +++ /usr/ports/sysutils/xcdroast/files/patch-xcdrdata.h Thu Jan 1 01:00:00 1970 @@ -1,10 +0,0 @@ ---- xcdrdata.h.orig Fri May 17 16:40:55 2002 -+++ xcdrdata.h Fri May 17 16:40:30 2002 -@@ -3,6 +3,7 @@ - */ - - #include -+#include - - typedef struct setup_data { - gint writer_devnr; diff -ruN xcdroast.old/files/patch-xcdroast.h /usr/ports/sysutils/xcdroast/files/patch-xcdroast.h --- xcdroast.old/files/patch-xcdroast.h Thu Jan 2 18:58:38 2003 +++ /usr/ports/sysutils/xcdroast/files/patch-xcdroast.h Thu Jan 1 01:00:00 1970 @@ -1,58 +0,0 @@ ---- xcdroast.h.orig Tue Apr 23 20:55:27 2002 -+++ xcdroast.h Fri May 17 17:19:29 2002 -@@ -41,12 +41,12 @@ - #define UNAME "/bin/uname -a" - #define UNAME2 "/usr/bin/uname -a" - #define CHOWN "/bin/chown" --#define CHOWN2 "/usr/bin/chown" -+#define CHOWN2 "/usr/sbin/chown" - #define CHGRP "/bin/chgrp" - #define CHGRP2 "/usr/bin/chgrp" - #define CHMOD "/bin/chmod" - #define CHMOD2 "/usr/bin/chmod" --#define GROUPADD "/usr/sbin/groupadd" -+#define GROUPADD "/usr/sbin/pw" - - #define WAVPLAY "bin/wavplay" - #define RMTOOL "bin/rmtool" -@@ -59,10 +59,10 @@ - then in $PREFIX (e.g. /usr/bin/cdrecord instead of - /usr/local/lib/xcdroast-0.98/bin/cdrecord) */ - --#define CDRECORD "bin/cdrecord" --#define CDDA2WAV "bin/cdda2wav" --#define READCD "bin/readcd" --#define MKISOFS "bin/mkisofs" -+#define CDRECORD "%%LOCALBASE%%/bin/cdrecord" -+#define CDDA2WAV "%%LOCALBASE%%/bin/cdda2wav" -+#define READCD "%%LOCALBASE%%/bin/readcd" -+#define MKISOFS "%%LOCALBASE%%/bin/mkisofs" - - /* MINIMUM required versions. Greater versions are now silently - accepted. -@@ -70,7 +70,7 @@ - IT WONT WORK WITH LOWER VERSIONS, EVEN WHEN YOU THINK IT DOES! */ - - #define CDRECORD_VERSION "1.11a19" --#define MKISOFS_VERSION "1.15a17" -+#define MKISOFS_VERSION "1.15a21" - #define CDDA2WAV_VERSION "1.11a19" - #define READCD_VERSION "1.11a19" - -@@ -116,14 +116,14 @@ - #define SAVEMASTERLIST "xcdrmaster.lst" - - /* default paths/configfile */ --#define PREFIX "/usr/local" -+#define PREFIX "%%PREFIX%%" - #define LIBDIR "lib/xcdroast-0.98" - #define CONFIGDIR "~/.xcdroast" - #define CONFFILE "xcdr098.cfg" - #define LOGFILE "xcdr098.log" - #define ISOOPTFILE "isoopt.cfg" - #define ISOHEADERFILE "isoheader.cfg" --#define ROOTCONFIG "/etc/xcdroast.conf" -+#define ROOTCONFIG "%%PREFIX%%/etc/xcdroast.conf" - #define NONROOTBAK "nonrootflags.cfg" - - /* language stuff*/ diff -ruN xcdroast.old/pkg-plist /usr/ports/sysutils/xcdroast/pkg-plist --- xcdroast.old/pkg-plist Thu Jan 2 18:58:38 2003 +++ /usr/ports/sysutils/xcdroast/pkg-plist Thu Jan 2 18:58:41 2003 @@ -1,4 +1,5 @@ bin/xcdroast +lib/charset.alias lib/xcdroast-0.98/bin/cddbtool lib/xcdroast-0.98/bin/rmtool lib/xcdroast-0.98/bin/vrfytool @@ -12,15 +13,37 @@ lib/xcdroast-0.98/icons/dialog_question.png lib/xcdroast-0.98/icons/dialog_warning.png lib/xcdroast-0.98/icons/xcdricon.gif +lib/xcdroast-0.98/icons/xcdricon.png lib/xcdroast-0.98/icons/xcdrlogo.gif -lib/xcdroast-0.98/icons/xcdrlogo2.gif -lib/xcdroast-0.98/lang/lang_extract.sh -lib/xcdroast-0.98/lang/langhelp.def -lib/xcdroast-0.98/lang/language.def lib/xcdroast-0.98/sound/test.wav +share/locale/bg/LC_MESSAGES/xcdroast.mo +share/locale/ca/LC_MESSAGES/xcdroast.mo +share/locale/cs/LC_MESSAGES/xcdroast.mo +share/locale/da/LC_MESSAGES/xcdroast.mo +share/locale/de/LC_MESSAGES/xcdroast.mo +share/locale/es/LC_MESSAGES/xcdroast.mo +share/locale/et/LC_MESSAGES/xcdroast.mo +share/locale/fi/LC_MESSAGES/xcdroast.mo +share/locale/fr/LC_MESSAGES/xcdroast.mo +share/locale/gl/LC_MESSAGES/xcdroast.mo +share/locale/hr/LC_MESSAGES/xcdroast.mo +share/locale/hu/LC_MESSAGES/xcdroast.mo +share/locale/id/LC_MESSAGES/xcdroast.mo +share/locale/it/LC_MESSAGES/xcdroast.mo +share/locale/ja/LC_MESSAGES/xcdroast.mo +share/locale/locale.alias +share/locale/nl/LC_MESSAGES/xcdroast.mo +share/locale/no/LC_MESSAGES/xcdroast.mo +share/locale/pl/LC_MESSAGES/xcdroast.mo +share/locale/pt_BR/LC_MESSAGES/xcdroast.mo +share/locale/ru/LC_MESSAGES/xcdroast.mo +share/locale/sk/LC_MESSAGES/xcdroast.mo +share/locale/sv/LC_MESSAGES/xcdroast.mo +share/locale/tr/LC_MESSAGES/xcdroast.mo +share/locale/zh_CN.GB2312/LC_MESSAGES/xcdroast.mo +share/locale/zh_TW.Big5/LC_MESSAGES/xcdroast.mo @dirrm lib/xcdroast-0.98/bin @dirrm lib/xcdroast-0.98/icons -@dirrm lib/xcdroast-0.98/lang @dirrm lib/xcdroast-0.98/sound @dirrm lib/xcdroast-0.98 @unexec if pw groupshow -n xcdwrite 2>/dev/null 1>&2; then pw groupdel -n xcdwrite; fi --- xcdroast.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message