This is a simple (and incorrect) patch to get a the mgp Debian source to compile.
The problem with the configure script seems to be that $x_libraries is never set causing an incorrect gcc library flag. "-L -lXft -lfontconfig" which has an empty library path. Any ideas why $x_libraries doesn't work? Also, mgp has a problem with linking against /usr/lib/libm17n-X.so which doesn't exist. However, /usr/lib/libm17n-X.so.0.1.0 does exist and a link between the two fixes the problem of mgp segfaulting right off. What is the proper fix for that? Brandon
diff --git a/configure b/configure index a696ad0..2129805 100755 --- a/configure +++ b/configure @@ -2602,10 +2602,10 @@ else echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6 fi -if test "$no_x" != yes; then - LIBS="$LIBS -L$x_libraries" - OPTFLAGS="$OPTFLAGS -I$x_includes" -fi +#if test "$no_x" != yes; then +# LIBS="$LIBS -L$x_libraries" +# OPTFLAGS="$OPTFLAGS -I$x_includes" +#fi echo $ac_n "checking if Xft2 is used""... $ac_c" 1>&6 echo "configure:2612: checking if Xft2 is used" >&5 diff --git a/debian/changelog b/debian/changelog index ad291fc..dee3da1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +mgp (1.11b-7bp) unstable; urgency=low + + * Fix for Xorg 7.0 + + -- Brandon Philips <[EMAIL PROTECTED]> Mon, 17 Apr 2006 14:40:00 +0900 + mgp (1.11b-6) unstable; urgency=low * debian/control: diff --git a/mgp.spec b/mgp.spec index 67ccdda..941e931 100644 --- a/mgp.spec +++ b/mgp.spec @@ -1,8 +1,8 @@ %define name magicpoint %define version 1.11b -%define release 1 +%define release 2 %define serial 1 -%define prefix /usr/X11R6 +%define prefix /usr Summary: X based presentation software. Name: %{name}