~ubuntu-branches/ubuntu/hardy/uim/hardy

« back to all changes in this revision

Viewing changes to make-dist.sh

  • Committer: Bazaar Package Importer
  • Author(s): Masahito Omote
  • Date: 2007-04-21 03:46:09 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20070421034609-gpcurkutp8vaysqj
Tags: 1:1.4.1-3
* Switch to dh_gtkmodules for the gtk 2.10 transition (Closes:
  #419318)
  - debian/control: Add ${misc:Depends} and remove libgtk2.0-bin on
    uim-gtk2.0.
  - debian/uim-gtk2.0.post{inst,rm}: Removed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
MAKE=make
 
4
 
 
5
UIM_REPOSITORY="http://anonsvn.freedesktop.org/svn/uim"
 
6
SSCM_REPOSITORY="${UIM_REPOSITORY}/sigscheme-trunk"
 
7
LIBGCROOTS_REPOSITORY="${UIM_REPOSITORY}/libgcroots-trunk"
 
8
TAGS_REPOSITORY="${UIM_REPOSITORY}/tags"
 
9
#SSCM_URL="${SSCM_REPOSITORY}"
 
10
SSCM_URL="${TAGS_REPOSITORY}/sigscheme-0.7.5"
 
11
#LIBGCROOTS_URL="${LIBGCROOTS_REPOSITORY}"
 
12
LIBGCROOTS_URL="${TAGS_REPOSITORY}/libgcroots-0.1.4"
 
13
RELEASE_SUFFIX=""
 
14
 
 
15
CONF_COMMON="--enable-maintainer-mode --disable-warnings-into-error"
 
16
CONF_NONE="$CONF_COMMON --disable-debug --disable-fep --disable-emacs --disable-gnome-applet --disable-kde-applet --disable-pref --disable-dict --without-anthy --without-canna --without-mana --without-prime --without-m17nlib --without-scim --without-gtk2 --without-gnome2 --without-qt --without-qt-immodule --disable-compat-scm --without-eb --without-libedit"
 
17
CONF_DEFAULT="$CONF_COMMON"
 
18
# --without-scim since it is broken
 
19
CONF_FULL="$CONF_COMMON --enable-debug --enable-fep --enable-emacs --enable-scim --enable-gnome-applet --enable-kde-applet --enable-pref --enable-dict --with-anthy --with-canna --with-mana --with-prime --with-m17nlib --without-scim --with-gtk2 --with-gnome2 --with-qt --with-qt-immodule --enable-compat-scm --with-eb --with-libedit"
 
20
 
 
21
 
 
22
svn export $SSCM_URL sigscheme
 
23
svn export $LIBGCROOTS_URL sigscheme/libgcroots
 
24
(cd sigscheme/libgcroots && ./autogen.sh) \
 
25
 && (cd sigscheme && ./autogen.sh) \
 
26
 && ./autogen.sh \
 
27
|| { echo 'autogen failed.' && exit 1; }
 
28
 
 
29
if test -n "$RELEASE_SUFFIX"; then
 
30
    ed Makefile.in <<EOT
 
31
/^distdir =
 
32
d
 
33
i
 
34
RELEASE_SUFFIX = ${RELEASE_SUFFIX}
 
35
#distdir = \$(PACKAGE)-\$(VERSION)
 
36
distdir = \$(PACKAGE)-\$(VERSION)\$(RELEASE_SUFFIX)
 
37
.
 
38
wq
 
39
EOT
 
40
fi
 
41
 
 
42
for conf_args in "$CONF_NONE" "$CONF_DEFAULT" "$CONF_FULL"; do
 
43
    echo "configure $conf_args"
 
44
    ./configure $conf_args && $MAKE distcheck sum \
 
45
      || { echo 'make distcheck failed'; exit 1; }
 
46
done