summaryrefslogtreecommitdiff
path: root/src/update-from-egg.sh
blob: cecd152fd62bad8e001aeb7b733d9d559fde9adb (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
#!/bin/sh

SVN_URI=http://svn.gnome.org/svn/libegg/trunk/libegg/smclient
FILES="eggdesktopfile.c
       eggdesktopfile.h
       eggsmclient.c
       eggsmclient.h
       eggsmclient-osx.c
       eggsmclient-private.h
       eggsmclient-win32.c
       eggsmclient-xsmp.c"
PATCHES="eggsmclient-1.patch
         eggsmclient-2.patch
         eggsmclient-3.patch"

echo "Obtaining latest version of the sources"
for FILE in $FILES
do
  svn export $SVN_URI/$FILE
done

echo "Applying patches"
for PATCH in $PATCHES
do
  patch -p3 -i $PATCH
done