ports/58840: [PATCH] exclude possiblyunrequireddependenciesfrom x11/gnome2

Jens Rehsack rehsack at liwing.de
Mon Nov 3 00:58:50 PST 2003


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
-------------- next part --------------
#!/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



More information about the freebsd-gnome mailing list