summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvisvgm/TLpatches/TL-Changes
blob: 2013dee9c92efe6df500ff7202be15ba3f400502 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
(This file public domain.)

Changes applied to the original dvisvgm source as obtained from:
	https://dvisvgm.de/Downloads/
	or (hopefully) https://ctan.org/pkg/dvisvgm

Update version in ./version.ac.
Update DATE and copyrights in configure.ac.

mv dvisvgm-src dvisvgm-prev
tar xf dvisvgm-VER.tar.gz
mv dvisvgm-VER dvisvgm-src
tar xf dvisvgm-VER.tar.gz # again, so we can compare orig release to ours

# remove common and generated files:
cd dvisvgm-src
rm ar-lib compile config.guess config.sub depcomp install-sh
rm ltmain.sh missing test-driver 
rm -rf m4 autom4te.cache
rm -f aclocal.m4 configure # reduce chance of confusion?
#
# files to add:
svn status | sed -n 's/^\?//p'
svn add `!!`
svn status | sed -n 's/^\?//p'  # rerun, should be empty now
#
# files to remove:
svn status | sed -n 's/^\!//p'
svn rm `!!`
svn status | sed -n 's/^\!//p'  # rerun, should be empty now
cd ..

Update our ./configure.ac from upstream dvisvgm-src/configure.ac.
See patch-04-configure for reference, but they won't apply as-is.
Probably easiest to check dvisvgm-prev/configure.ac
vs. new, and then install the changes in our configure.ac by hand.

# patch to integrate into TL build; will likely need adjusting also.
patch -d dvisvgm-src -p1 <TLpatches/patch-08-makefiles 

# remake autostuff (then make, etc., with fingers crossed).
autoreconf

# before committing, update patches:
diff -u2 dvisvgm-3.0.1/configure.ac ./ >TLpatches/patch-04-configure
for m in `(cd ./dvisvgm-src && find -name Makefile.am)`; do \
  diff -u2 dvisvgm-{3.0.1,src}/$m; done >TLpatches/patch-08-makefiles