mirror of
https://gitlab.freedesktop.org/xorg/proto/xorgproto.git
synced 2025-12-20 04:40:10 +01:00
Add files used to merge the repositories
Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
fa8997ab25
commit
80ceb11c62
5 changed files with 94 additions and 0 deletions
10
duplicate-files
Normal file
10
duplicate-files
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
./.gitignore
|
||||
./AUTHORS
|
||||
./autogen.sh
|
||||
./configure.ac
|
||||
./COPYING
|
||||
./docbook.am
|
||||
./Makefile.am
|
||||
./README
|
||||
./specs/Makefile.am
|
||||
./specs/.gitignore
|
||||
19
merge-makefile
Normal file
19
merge-makefile
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#!/bin/sh
|
||||
|
||||
for i in `cat protos`; do
|
||||
sed -e "s/^pkgconfig/${i}pkgconfig/" \
|
||||
-e "s/EXTRA_DIST/${i}_EXTRA_DIST/" \
|
||||
-e 's/#.*$//' \
|
||||
-e '/MAINTAINERCLEANFILES/d' \
|
||||
-e '/PHONY/d' \
|
||||
-e '/SUBDIRS=specs/d' \
|
||||
-e '/ChangeLog/d' \
|
||||
-e '/CHANGELOG/d' \
|
||||
-e '/INSTALL/d' \
|
||||
-e '/dist-hook/d' \
|
||||
$i/Makefile.am
|
||||
done | cat -s |
|
||||
awk '/dist_doc_DATA/ { doc[ndoc++] = $3; }
|
||||
{ print $0 }
|
||||
END { print "SUBDIRS=specs"; print; print "dist_doc_DATA = \\"; for (i in doc) printf "\t%s \\\n", doc[i]; }'
|
||||
|
||||
6
merge-protos
Normal file
6
merge-protos
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
for i in `cat protos | grep -v x11proto`; do
|
||||
git merge --allow-unrelated-histories $i/master --commit --no-edit -m"Merge $i"
|
||||
./move-protos $i
|
||||
done
|
||||
21
move-protos
Normal file
21
move-protos
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#!/bin/sh
|
||||
|
||||
case $# in
|
||||
1)
|
||||
me="$1"
|
||||
;;
|
||||
*)
|
||||
echo 'Usage: $0 <my-name>'
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
for i in `cat duplicate-files`; do
|
||||
if [ -f $i ]; then
|
||||
mkdir -p $me/`dirname $i`
|
||||
echo git mv $i $me/$i
|
||||
git mv $i $me/$i
|
||||
fi
|
||||
done
|
||||
|
||||
git commit -m"Move common $me files out of the way"
|
||||
38
protos
Normal file
38
protos
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
applewmproto
|
||||
bigreqsproto
|
||||
calibrateproto
|
||||
compositeproto
|
||||
damageproto
|
||||
dmxproto
|
||||
dri2proto
|
||||
dri3proto
|
||||
evieproto
|
||||
fixesproto
|
||||
fontcacheproto
|
||||
fontsproto
|
||||
glproto
|
||||
inputproto
|
||||
kbproto
|
||||
lg3dproto
|
||||
panoramixproto
|
||||
pmproto
|
||||
presentproto
|
||||
printproto
|
||||
randrproto
|
||||
recordproto
|
||||
renderproto
|
||||
resourceproto
|
||||
scrnsaverproto
|
||||
trapproto
|
||||
videoproto
|
||||
windowswmproto
|
||||
x11proto
|
||||
xcmiscproto
|
||||
xextproto
|
||||
xf86bigfontproto
|
||||
xf86dgaproto
|
||||
xf86driproto
|
||||
xf86miscproto
|
||||
xf86rushproto
|
||||
xf86vidmodeproto
|
||||
xineramaproto
|
||||
Loading…
Add table
Reference in a new issue