[Build-common-hackers] Standardisation of the name of the patching targets included in debian/rules.

Charles Plessy charles-debian-nospam at plessy.org
Sun Feb 3 09:32:42 UTC 2008


Dear maintainers of CDBS, dpatch, and quilt,

if you are subscribed to debian-devel at l.d.o, you must have noticed the
long discussion about patch systems. An idea that was quite popular
was to standardise the patch target in all patch systems used during
package building.

Here is a summary of the targets used by the different makefile
includes available to the developpers:

File						Package	To patch	To depatch
/usr/share/dpatch/dpatch.make			dpatch	patch		unpatch
/usr/share/quilt/quilt.make			quilt	patch		unpatch
/usr/share/cdbs/1/rules/patchsys-quilt.mk	quilt	apply-patches	reverse-patches
/usr/share/cdbs/1/rules/simple-patchsys.mk	cdbs	apply-patches	reverse-patches
/usr/share/cdbs/1/rules/dpatch.mk		cdbs	apply-dpatches	deapply-dpatches

Since these five files provide patching facilities to a large number of Debian
source packages, it would be very advantageous if they could use the same
name for the patching and depatching rules: developpers could use them
without needing ab initio knowledge of the underlying system.

Obviously, there is no solution that wouldn't require a change in at least two
packages, and that is the reason I contact all of you and CC debian-devel.

Have a nice day,

-- 
Charles Plessy
Debian-med packaging team
Wakō, Saitama, Japan



More information about the Build-common-hackers mailing list