mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Get goffice building properly.
- make sure it will build dynamically - remove unknown symbols - fix the intltool-merge problem by replacing intltool-merge git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14731 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
9f1d69b417
commit
80146b4f58
@ -103,6 +103,7 @@ add_step inst_gwrap
|
||||
add_step inst_gnome
|
||||
add_step inst_autotools
|
||||
add_step inst_libgsf
|
||||
add_step inst_goffice
|
||||
add_step inst_svn
|
||||
add_step svn_up
|
||||
add_step inst_gnucash
|
||||
|
@ -539,20 +539,27 @@ function inst_goffice() {
|
||||
set -e
|
||||
smart_wget $GOFFICE_URL $DOWNLOAD_DIR
|
||||
tar -xjpf $DOWNLOAD_UDIR/goffice-*.tar.bz2 -C $TMP_UDIR
|
||||
mydir=`pwd`
|
||||
qpushd $TMP_UDIR/goffice-*
|
||||
cp configure.in configure.in.bak
|
||||
cat configure.in.bak | sed '/AC_PROG_INTLTOOL/s#)$#,[no-xml])#' > configure.in
|
||||
[ -n "$GOFFICE_PATCH" -a -f "$GOFFICE_PATCH" ] && \
|
||||
patch -p1 < $GOFFICE_PATCH
|
||||
cp goffice/Makefile.am goffice/Makefile.am.bak
|
||||
cat goffice/Makefile.am.bak \
|
||||
| sed '/LIBADD/s#-lurlmon##;s#-lhtmlhelp##' \
|
||||
> goffice/Makefile.am
|
||||
cp goffice/goffice.def goffice/goffice.def.bak
|
||||
cat goffice/goffice.def.bak \
|
||||
| sed '/^go_doc_mark_not_modified$/d;/^go_plugin_init$/d;/^go_plugin_shutdown$/d' \
|
||||
> goffice/goffice.def
|
||||
automake
|
||||
autoconf
|
||||
./configure --prefix=$_GOFFICE_UDIR
|
||||
for f in `find . -name Makefile.am` ; do
|
||||
if [ `grep -c INTLTOOL_XML_RULE $f` != 0 ] ; then
|
||||
cp $f $f.bak
|
||||
cat $f.bak | sed -e '/INTLTOOL_XML_RULE/d' > $f
|
||||
fi
|
||||
done
|
||||
[ -f dumpdef.pl ] || cp -p ../libgsf-*/dumpdef.pl .
|
||||
[ -f $mydir/intltool-merge ] && \
|
||||
( mv intltool-merge intltool-merge.bak ; \
|
||||
cp -p $mydir/intltool-merge . )
|
||||
make
|
||||
make install
|
||||
qpopd
|
||||
|
9
packaging/win32/intltool-merge
Normal file
9
packaging/win32/intltool-merge
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Fake intltool-merge
|
||||
|
||||
if [ "$1" != "-x" -a "$2" != "-u" ] ; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
cat "$6" | sed 's/<_/</g;s#</_#</#g;s#</ _#</ #g' > "$7"
|
Loading…
Reference in New Issue
Block a user