problem building from trunk in KDE
Bug #683280 reported by
Seif Lotfy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zeitgeist Framework |
Fix Released
|
Wishlist
|
Seif Lotfy |
Bug Description
Building zeitgeist from trunk requires gnome-common since we use gnome-autogen.sh
While this makes our lives easy in GNOME, KDE people don't really want to install it. So there must be another way to build from trunk easily.
Building from a source package works. But again some devs want trunk. Lets make this easier for them.
Related branches
lp:~seif/zeitgeist/fix-gnome-autogen
- Mikkel Kamstrup Erlandsen: Approve
-
Diff: 53 lines (+30/-10)1 file modifiedautogen.sh (+30/-10)
Changed in zeitgeist: | |
assignee: | nobody → Seif Lotfy (seif) |
status: | New → In Progress |
importance: | Undecided → Wishlist |
Changed in zeitgeist: | |
status: | In Progress → Fix Committed |
Changed in zeitgeist: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I started editing autogen.sh but my knowledge here is limited
This might help a bit I guess
-----------------
#! /bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
PKG_NAME=zeitgeist
(test -f $srcdir/ zeitgeist- daemon. py) || {
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
echo " top-level $PKG_NAME directory"
exit 1
}
which rapper || {
echo "You need to install raptor-utils"
exit 1
}
(grep "^AC_PROG_INTLTOOL" "$CONFIGURE" >/dev/null) && {
(intltoolize --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`intltoolize' installed" \
"to compile $PKG_NAME."
DIE=1
}
}
(autoconf --version) < /dev/null > /dev/null 2>&1 || { gnu.org/ pub/gnu/"
echo
echo "You must have autoconf installed to compile $package."
echo "Download the appropriate package for your distribution,"
echo "or get the source tarball at ftp://ftp.
DIE=1
}
(automake --version) < /dev/null > /dev/null 2>&1 || { www.gnu. org/order/ ftp.html"
echo
echo "You must have automake installed to compile $package."
echo "Download the appropriate package for your system,"
echo "or get the source from one of the GNU ftp sites"
echo "listed in http://
DIE=1
}
(libtool --version) < /dev/null > /dev/null 2>&1 || { www.gnu. org/order/ ftp.html"
echo
echo "You must have libtool installed to compile $package."
echo "Download the appropriate package for your system,"
echo "or get the source from one of the GNU ftp sites"
echo "listed in http://
DIE=1
}
(pkg-config --version) < /dev/null > /dev/null 2>&1 || {
result= "no"
echo
echo "You must have pkg-config installed to compile $package."
echo "Download the appropriate package for your distribution."
DIE=1
}
if test "$DIE" -eq 1; then
exit 1
fi
if test -z "$*"; then
echo "I am going to run ./configure with no arguments - if you wish "
echo "to pass any to it, please specify them on the $0 command line."
fi
echo "Generating configuration files for $package, please wait...."
echo " aclocal $ACLOCAL_FLAGS"
aclocal $ACLOCAL_FLAGS
#echo " autoheader"
#autoheader
echo " libtoolize --automake"
libtoolize --automake
echo " automake --add-missing $AUTOMAKE_FLAGS"
automake --add-missing $AUTOMAKE_FLAGS
echo " autoconf"
autoconf
$srcdir/configure "$@" && echo