Date: Mon, 03 Nov 2003 08:58:45 +0000 From: Jens Rehsack <rehsack@liwing.de> To: James Pole <james@pole.net.nz> Cc: gnome@freebsd.org Subject: Re: ports/58840: [PATCH] exclude possiblyunrequireddependenciesfrom x11/gnome2 Message-ID: <3FA618C5.9000908@liwing.de> In-Reply-To: <1067843548.3865.17.camel@localhost> References: <200311021927.hA2JRIt2074978@freefall.freebsd.org> <1067833233.258.10.camel@localhost> <20031103045730.GV96543@toxic.magnesium.net> <1067843548.3865.17.camel@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------010907030406020609000502 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit James Pole wrote: > On Mon, 2003-11-03 at 17:57, Adam Weinberger wrote: > >>The reason that these programs are part of x11/gnome2 and not >>x11/gnome2-fifth-toe is that, at any point, the GNOME project could >>start releasing software that assumes that any and all parts of the >>GNOME desktop/development system are installed. > Plenty of other ports take advantage of WITH_* and/or WITHOUT_* options > to let users finetune their ports without forcing them to write their > own Makefiles. Why not x11/gnome2? Just a more easy way (for you?): I use the attached update script with a nice patch in ~/patches/ports/x11/gnome2/ what removes me all unwanted gnome2 dependencies. Use it with caution - it's not designed for masses use, 'cause it wild deletes *.orig and *.rej files from /usr/src and /usr/ports. Read it carefully if you plan to use it. > Just because the GNOME project says this or that should be the default, > doesn't mean that we should not allow users to specify what they don't > want from the default options. I agree to Joe's first response: Where does the customization ends? So I'm going to use my own patch which I have to update everytime the applying fails. > - James Regards, Jens --------------010907030406020609000502 Content-Type: text/plain; name="update" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="update" #!/bin/sh logfile="/var/log/update-log-`date +%F.%H:%M:%S`" echo "logging to ${logfile}" touch ${logfile} if [ "x${NO_REMOVE_ORIG}" = "x" ] then for dir in /usr/src /usr/ports do for ext in orig rej do list=`find ${dir} -name "*.${ext}"` if [ "x" != "x${list}" ] then rm -v ${list} 2>&1 | tee /dev/stderr >>${logfile} fi done done fi cvsup -L2 -g /usr/local/etc/cvsup/cvsupfile | tee /dev/stderr >${logfile} cd /usr/src for a in ~/patches/src/patch-* do if [ -f $a ] then echo "Applying patch \"${a}\"" | tee /dev/stderr >>${logfile} patch -E <$a >>${logfile} 2>&1 fi done cd /usr/ports for portsdir in ~/patches/ports/* do for port in ${portsdir}/* do if [ -d $port ] then for a in ${port}/patch-* do if [ -f $a ] then echo "Applying patch \"${a}\"" | tee /dev/stderr >>${logfile} patch -E <$a >>${logfile} 2>&1 fi done fi done done portsdb -uU /etc/periodic/weekly/400.status-pkg date --------------010907030406020609000502--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FA618C5.9000908>