File: update.sh

package info (click to toggle)
vips 8.14.1-3%2Bdeb12u2
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 35,912 kB
  • sloc: ansic: 165,449; cpp: 10,987; python: 4,462; xml: 4,212; sh: 471; perl: 40; makefile: 23
file content (30 lines) | stat: -rwxr-xr-x 568 bytes parent folder | download | duplicates (4)
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
#!/bin/bash

# attempt to update our copy of libnsgif from the upstream repo

set -e

git clone git://git.netsurf-browser.org/libnsgif.git

echo copying out source files ...

cp libnsgif/README.md README-ns.md
cp libnsgif/COPYING .

cp libnsgif/include/nsgif.h .
cp libnsgif/src/lzw.[ch] .
cp libnsgif/src/gif.c .

cp libnsgif/test/cli.[ch] test/
cp libnsgif/test/nsgif.c test/

if [ -d patches ]; then
  echo applying patches ...
  for patch in patches/*.patch; do
    [ -f "$patch" ] || continue
    patch -p0 <$patch
  done
fi

echo cleaning up ...
rm -rf libnsgif