librep/rep-gtk/sawfish compilation issues
- From: Michal Jaegermann <michal harddata com>
- To: sawfish-list gnome org
- Subject: librep/rep-gtk/sawfish compilation issues
- Date: Sat, 27 Dec 2008 16:09:11 -0700
I tried, at last, the latest releases of librep, rep-gtk and
sawfish. At least on rawhide Fedora installation I had to add
an attached patch to recompile librep. Otherwise config.sub and
config.guess were missing and ./configure was not going very far.
The real change is added '--install' option to libtoolize. Inserted
in configure.in 'AC_CONFIG_MACRO_DIR([m4])' macro is likely not
required but there were loud complaints otherwise. :-)
Just for consistency I used similar options with rep-gtk and sawfish
too. config.sub and config.guess are supplied there, strangely
enough, so this was superflous in a sense, but I wanted to have some
degree of uniformity.
Also sawfish sources provide sawfish.desktop which gets installed
in gnome/wm-properties/. Two problems. One is that this file
is not UTF-8 encoded as expected. The other is that it looks like
that it should be really called sawfish-ui.desktop or something like
that. As Christopher B. discovered as well with current versions
of gnome sawfish.deskop is needed in /usr/share/applications/
(%{_desktopdir} macro for rpm) and it should look like somewhat in
a style of the one attached. Then you can set gconf key
/desktop/gnome/session/required_components/windowmanager to sawfish
and this setting is followed.
Other than that librep-0.17.2, rep-gtk-0.18.3 and sawfish-1.3.5.1
recompiled for me and they even appear to work. :-)
Michal
--- librep-0.17.2/configure.in~ 2008-12-27 12:10:42.000000000 -0700
+++ librep-0.17.2/configure.in 2008-12-27 12:11:26.000000000 -0700
@@ -22,6 +22,7 @@ AC_REVISION($Revision: 1.146 $)
AC_INIT(src/rep_subrs.h)
AC_CONFIG_HEADER(config.h src/rep_config.h)
+AC_CONFIG_MACRO_DIR([m4])
dnl Release versioning info
version="0.17.2"
--- librep-0.17.2/autogen.sh~ 2008-08-14 09:30:42.000000000 -0600
+++ librep-0.17.2/autogen.sh 2008-12-27 12:32:13.000000000 -0700
@@ -9,7 +9,7 @@ if [ -f configure.in ]; then
fi
if grep "A[MC]_PROG_LIBTOOL" configure.in >/dev/null; then
echo "Running libtoolize"
- libtoolize --force --copy || exit 1
+ libtoolize --install --force --copy || exit 1
fi
echo "Running aclocal $ACLOCAL_FLAGS"
aclocal $ACLOCAL_FLAGS || exit 1
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Sawfish
Exec=sawfish
NoDisplay=true
# name of loadable control center module
X-GNOME-WMSettingsModule=sawfish
# name we put on the WM spec check window
X-GNOME-WMName=Sawfish
# back compat only
X-GnomeWMSettingsLibrary=sawfish
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=sawfish
X-GNOME-Bugzilla-Component=general
X-GNOME-Autostart-Phase=WindowManager
X-GNOME-Provides=windowmanager
X-GNOME-Autostart-Notify=true
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]