Hello. Xserver's autogen.sh checks for format.subjectPrefix git preference to be defined, and sets a default in case there is none.
Other modules are missing this feature. To generate the patches, In xorg/util/modular directory, cloned all the modules (thanks to build.sh -L). Ran the attached subject_all.sh script. Changed to patches dir ./subjectPrefix_patches/ it created. Verified the patches with "grep changed * | grep -v ' 3 insert'". Ran the attached all.sh script. Attached is the all.tar.xz result. Below is a sample for xcb-proto. > From 13713caf3194581501fa891e2da1c1c33cd47693 Mon Sep 17 00:00:00 2001 > From: Mihail Konev <k....@ya.ru> > Date: Mon, 10 Oct 2016 15:01:11 +0000 > Subject: [PATCH xcb/proto] add git format.subjectPrefix to autogen.sh > > Signed-off-by: Mihail Konev <k....@ya.ru> > --- > autogen.sh | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/autogen.sh b/autogen.sh > index fc34bd55c443..78d554b5cdc0 100755 > --- a/autogen.sh > +++ b/autogen.sh > @@ -9,6 +9,9 @@ cd $srcdir > autoreconf -v --install || exit 1 > cd $ORIGDIR || exit $? > > +git config --local --get format.subjectPrefix >/dev/null 2>&1 || > + git config --local format.subjectPrefix "PATCH xcb/proto" > + > if test -z "$NOCONFIGURE"; then > $srcdir/configure "$@" > fi > -- > 2.9.2 > - Mihail
subject_all.sh
Description: Bourne shell script
all.sh
Description: Bourne shell script
all.tar.xz
Description: application/xz
_______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel