[Lunar-commits] <moonbase> xemacs: various changes and enhancements.

Dave Brown dagbrown at lunar-linux.org
Tue Jul 22 09:12:28 CEST 2008


commit ebc9f30111455f25823ce881e15750dadecd862e
Author: Dave Brown <dagbrown at lart.ca>
Date:   Tue Jul 22 15:56:40 2008 +0900

    xemacs: various changes and enhancements.
    
    - added support for MULE internationalization
    - got rid of the GTK/GNOME questions because whatever the user decides
      is overridden by the BUILD anyway
    - made jpeg/png support optional
---
 editors/xemacs/BUILD     |    5 +++++
 editors/xemacs/CONFIGURE |    1 +
 editors/xemacs/DEPENDS   |   15 +++++++--------
 3 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/editors/xemacs/BUILD b/editors/xemacs/BUILD
index 2803905..8d7e89c 100644
--- a/editors/xemacs/BUILD
+++ b/editors/xemacs/BUILD
@@ -1,6 +1,11 @@
 (
 
   LDFLAGS=`echo $LDFLAGS | sed "s/-z combreloc//"`
+
+  if [[ "$XEMACS_MULE" == "y" ]]; then
+      OPTS="$OPTS --with-mule --with-xim=xlib"
+  fi
+
   ./configure  --prefix=/usr             \
                --with-msw=no             \
                --infodir=/usr/share/info \
diff --git a/editors/xemacs/CONFIGURE b/editors/xemacs/CONFIGURE
new file mode 100644
index 0000000..f71a0f8
--- /dev/null
+++ b/editors/xemacs/CONFIGURE
@@ -0,0 +1 @@
+mquery XEMACS_MULE "Enable internationalization support?" n 
diff --git a/editors/xemacs/DEPENDS b/editors/xemacs/DEPENDS
index 930c335..e111872 100644
--- a/editors/xemacs/DEPENDS
+++ b/editors/xemacs/DEPENDS
@@ -1,19 +1,18 @@
-depends  jpeg         &&
-depends  libpng       &&
 depends  gdbm         &&
 depends  db           &&
 depends  xemacs-base  &&
 depends  xemacs-efs   &&
+depends  libXpm       &&
 
 optional_depends  "openMotif"                                               \
                   ""                                                        \
                   ""                                                        \
                   "for OSF/Motif standard GUI"
-optional_depends  "gtk+"                                                    \
-                  "--with-gtk"                                              \
+optional_depends  "libpng"                                                  \
+                  "--with-png"                                              \
                   ""                                                        \
-                  "for EXPERIMENTAL gtk support GUI, known to be not okay"
-optional_depends  "gnome-libs"                                              \
-                  "--with-gnome"                                            \
+                  "for PNG image support"
+optional_depends  "jpeg"                                                    \
+                  "--with-jpeg"                                             \
                   ""                                                        \
-                  "for EXPERIMENTAL Gnome support GUI, known to be not okay"
+                  "for JPEG image support"


More information about the Lunar-commits mailing list