This commit is contained in:
commit
543119d58b
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
93
cast-pointer-integer-different-size.patch
Normal file
93
cast-pointer-integer-different-size.patch
Normal file
@ -0,0 +1,93 @@
|
||||
diff -ru xemacs-21.5.24.orig/src/eval.c xemacs-21.5.24/src/eval.c
|
||||
--- xemacs-21.5.24.orig/src/eval.c 2005-12-27 18:12:06.000000000 +0100
|
||||
+++ xemacs-21.5.24/src/eval.c 2006-02-17 12:22:23.000000000 +0100
|
||||
@@ -136,6 +136,7 @@
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
+#include <stdint.h>
|
||||
#include "lisp.h"
|
||||
|
||||
#include "commands.h"
|
||||
@@ -5974,13 +5975,13 @@
|
||||
Lisp_Object opaque = XCAR (cons);
|
||||
Lisp_Object lval = XCDR (cons);
|
||||
int *addr = (int *) get_opaque_ptr (opaque);
|
||||
- int val;
|
||||
+ intptr_t val;
|
||||
|
||||
if (INTP (lval))
|
||||
val = XINT (lval);
|
||||
else
|
||||
{
|
||||
- val = (int) get_opaque_ptr (lval);
|
||||
+ val = (intptr_t) get_opaque_ptr (lval);
|
||||
free_opaque_ptr (lval);
|
||||
}
|
||||
|
||||
diff -ru xemacs-21.5.24.orig/src/event-unixoid.c xemacs-21.5.24/src/event-unixoid.c
|
||||
--- xemacs-21.5.24.orig/src/event-unixoid.c 2003-02-07 12:50:53.000000000 +0100
|
||||
+++ xemacs-21.5.24/src/event-unixoid.c 2006-02-17 12:50:18.000000000 +0100
|
||||
@@ -27,6 +27,7 @@
|
||||
/* This file has been Mule-ized. */
|
||||
|
||||
#include <config.h>
|
||||
+#include <stdint.h>
|
||||
#include "lisp.h"
|
||||
|
||||
#include "console-stream-impl.h"
|
||||
@@ -361,9 +362,9 @@
|
||||
/* Decode inhandle and outhandle. Their meaning depends on
|
||||
the process implementation being used. */
|
||||
/* We are passed plain old file descs */
|
||||
- infd = (int) inhandle;
|
||||
- outfd = (int) outhandle;
|
||||
- errfd = (int) errhandle;
|
||||
+ infd = (int) (intptr_t) inhandle;
|
||||
+ outfd = (int) (intptr_t) outhandle;
|
||||
+ errfd = (int) (intptr_t) errhandle;
|
||||
|
||||
*instream = (infd >= 0
|
||||
? make_filedesc_input_stream (infd, 0, -1, 0)
|
||||
diff -ru xemacs-21.5.24.orig/src/input-method-xlib.c xemacs-21.5.24/src/input-method-xlib.c
|
||||
--- xemacs-21.5.24.orig/src/input-method-xlib.c 2005-01-25 00:33:59.000000000 +0100
|
||||
+++ xemacs-21.5.24/src/input-method-xlib.c 2006-02-17 12:54:58.000000000 +0100
|
||||
@@ -70,6 +70,7 @@
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
+#include <stdint.h>
|
||||
#include "lisp.h"
|
||||
|
||||
#include "buffer.h"
|
||||
@@ -708,7 +709,7 @@
|
||||
|
||||
if (converter_data)
|
||||
{
|
||||
- Boolean free_p = (Boolean) (int) converter_data;
|
||||
+ Boolean free_p = (Boolean) (int) (intptr_t) converter_data;
|
||||
XIMStyles *styles = (XIMStyles *) toVal->addr;
|
||||
if (free_p)
|
||||
XFree ( styles->supported_styles );
|
||||
diff -ru xemacs-21.5.24.orig/src/process-unix.c xemacs-21.5.24/src/process-unix.c
|
||||
--- xemacs-21.5.24.orig/src/process-unix.c 2005-02-04 05:06:34.000000000 +0100
|
||||
+++ xemacs-21.5.24/src/process-unix.c 2006-02-17 12:56:36.000000000 +0100
|
||||
@@ -31,6 +31,7 @@
|
||||
written by Wolfgang S. Rupprecht */
|
||||
|
||||
#include <config.h>
|
||||
+#include <stdlib.h>
|
||||
|
||||
#if !defined (NO_SUBPROCESSES)
|
||||
|
||||
@@ -846,8 +847,8 @@
|
||||
unix_init_process_io_handles (Lisp_Process *p, void *in, void *UNUSED (out),
|
||||
void *err, int UNUSED (flags))
|
||||
{
|
||||
- UNIX_DATA(p)->infd = (int) in;
|
||||
- UNIX_DATA(p)->errfd = (int) err;
|
||||
+ UNIX_DATA(p)->infd = (int) (intptr_t) in;
|
||||
+ UNIX_DATA(p)->errfd = (int) (intptr_t) err;
|
||||
}
|
||||
|
||||
/* Move the file descriptor FD so that its number is not less than MIN. *
|
362
destdir.patch
Normal file
362
destdir.patch
Normal file
@ -0,0 +1,362 @@
|
||||
diff -ru xemacs-21.5.24.orig/Makefile.in.in xemacs-21.5.24/Makefile.in.in
|
||||
--- xemacs-21.5.24.orig/Makefile.in.in 2005-12-27 18:11:00.000000000 +0100
|
||||
+++ xemacs-21.5.24/Makefile.in.in 2005-12-27 19:00:48.000000000 +0100
|
||||
@@ -61,6 +61,8 @@
|
||||
RECURSIVE_MAKE_ARGS=@RECURSIVE_MAKE_ARGS@
|
||||
#endif
|
||||
|
||||
+DESTDIR=
|
||||
+
|
||||
SHELL = /bin/sh
|
||||
LANG = C
|
||||
LC_ALL = C
|
||||
@@ -382,35 +384,35 @@
|
||||
(cd ./$${subdir} && $(MAKE) $(RECURSIVE_MAKE_ARGS) install prefix=${prefix} \
|
||||
exec_prefix=${exec_prefix} bindir=${bindir} libdir=${libdir} \
|
||||
archlibdir=${archlibdir}) ; done
|
||||
- if test "`(cd ${archlibdir} && $(pwd))`" != \
|
||||
+ if test "`(cd $(DESTDIR)${archlibdir} && $(pwd))`" != \
|
||||
"`(cd ./lib-src && $(pwd))`"; then \
|
||||
if test -f ../Installation; then \
|
||||
- ${INSTALL_DATA} ../Installation ${archlibdir}/Installation; \
|
||||
+ ${INSTALL_DATA} ../Installation $(DESTDIR)${archlibdir}/Installation; \
|
||||
fi; \
|
||||
- ${INSTALL_DATA} lib-src/config.values ${docdir}/config.values; \
|
||||
- ${INSTALL_DATA} lib-src/DOC ${docdir}/DOC; \
|
||||
+ ${INSTALL_DATA} lib-src/config.values $(DESTDIR)${docdir}/config.values; \
|
||||
+ ${INSTALL_DATA} lib-src/DOC $(DESTDIR)${docdir}/DOC; \
|
||||
for subdir in `find ${archlibdir} -type d ! -name RCS ! -name SCCS ! -name CVS -print` ; \
|
||||
do (cd $${subdir} && $(RM) -r RCS CVS SCCS \#* *~) ; done ; \
|
||||
else true; fi
|
||||
#if (defined(PDUMP) && !defined (DUMP_IN_EXEC)) || (defined (PDUMP) && defined(WIN32_NATIVE))
|
||||
- ${INSTALL_DATA} src/${PROGNAME}.dmp ${bindir}/${PROGNAME}-${version}-`src/${PROGNAME} -sd`.dmp
|
||||
+ ${INSTALL_DATA} src/${PROGNAME}.dmp $(DESTDIR)${bindir}/${PROGNAME}-${version}-`src/${PROGNAME} -sd`.dmp
|
||||
#endif
|
||||
#ifdef WIN32_NATIVE
|
||||
- ${INSTALL_PROGRAM} src/${PROGNAME} ${bindir}/${PROGNAME}
|
||||
- -chmod 0755 ${bindir}/${PROGNAME}
|
||||
+ ${INSTALL_PROGRAM} src/${PROGNAME} $(DESTDIR)${bindir}/${PROGNAME}
|
||||
+ -chmod 0755 $(DESTDIR)${bindir}/${PROGNAME}
|
||||
#else
|
||||
# ifdef CYGWIN
|
||||
- ${INSTALL_PROGRAM} src/${PROGNAME} ${bindir}/${PROGNAME}-${version}.exe
|
||||
- -chmod 0755 ${bindir}/${PROGNAME}-${version}.exe
|
||||
- cd ${bindir} && $(RM) ./${PROGNAME} && ${LN_S} ${PROGNAME}-${version}.exe ./${PROGNAME}
|
||||
+ ${INSTALL_PROGRAM} src/${PROGNAME} $(DESTDIR)${bindir}/${PROGNAME}-${version}.exe
|
||||
+ -chmod 0755 $(DESTDIR)${bindir}/${PROGNAME}-${version}.exe
|
||||
+ cd $(DESTDIR)${bindir} && $(RM) ./${PROGNAME} && ${LN_S} ${PROGNAME}-${version}.exe ./${PROGNAME}
|
||||
# else
|
||||
- ${INSTALL_PROGRAM} src/${PROGNAME} ${bindir}/${PROGNAME}-${version}
|
||||
- -chmod 0755 ${bindir}/${PROGNAME}-${version}
|
||||
- cd ${bindir} && $(RM) ./${PROGNAME} && ${LN_S} ${PROGNAME}-${version} ./${PROGNAME}
|
||||
+ ${INSTALL_PROGRAM} src/${PROGNAME} $(DESTDIR)${bindir}/${PROGNAME}-${version}
|
||||
+ -chmod 0755 $(DESTDIR)${bindir}/${PROGNAME}-${version}
|
||||
+ cd $(DESTDIR)${bindir} && $(RM) ./${PROGNAME} && ${LN_S} ${PROGNAME}-${version} ./${PROGNAME}
|
||||
# endif /* CYGWIN */
|
||||
#endif /* WIN32_NATIVE */
|
||||
if test "${prefix}" != "${exec_prefix}"; then \
|
||||
- $(MAKEPATH) ${exec_prefix}/lib/${instvardir}; \
|
||||
+ $(MAKEPATH) $(DESTDIR)${exec_prefix}/lib/${instvardir}; \
|
||||
for dir in \
|
||||
lib/${inststaticdir} \
|
||||
lib/${instvardir}/etc \
|
||||
@@ -421,13 +423,13 @@
|
||||
done; \
|
||||
fi
|
||||
#ifdef HAVE_SHLIB
|
||||
- $(INSTALL_DATA) $(srcdir)/modules/auto-autoloads.* $(moduledir)
|
||||
+ $(INSTALL_DATA) $(srcdir)/modules/auto-autoloads.* $(DESTDIR)$(moduledir)
|
||||
#endif
|
||||
|
||||
install-arch-indep: mkdir info
|
||||
-@set ${COPYDESTS} ; \
|
||||
for dir in ${COPYDIR} ; do \
|
||||
- if test "`(cd $$1 && $(pwd))`" != \
|
||||
+ if test "`(cd $(DESTDIR)$$1 && $(pwd))`" != \
|
||||
"`(cd $${dir} && $(pwd))`"; then \
|
||||
: do nothing - echo "rm -rf $$1" ; \
|
||||
fi ; \
|
||||
@@ -435,35 +437,35 @@
|
||||
done
|
||||
-set ${COPYDESTS} ; \
|
||||
for dir in ${COPYDESTS} ; do \
|
||||
- if test ! -d $${dir} ; then mkdir $${dir} ; fi ; \
|
||||
+ if test ! -d $${dir} ; then mkdir $(DESTDIR)$${dir} ; fi ; \
|
||||
done ; \
|
||||
for dir in ${COPYDIR} ; do \
|
||||
dest=$$1 ; shift ; \
|
||||
test -d $${dir} \
|
||||
-a "`(cd $${dir} && $(pwd))`" != \
|
||||
- "`(cd $${dest} && $(pwd))`" \
|
||||
+ "`(cd $(DESTDIR)$${dest} && $(pwd))`" \
|
||||
&& (echo "Copying $${dir}..." ; \
|
||||
(cd $${dir} && $(TAR) -cf - . ) | \
|
||||
- (cd $${dest} && umask 022 && $(TAR) -xf - );\
|
||||
- chmod 0755 $${dest}; \
|
||||
- for subdir in `find $${dest} -type d ! -name RCS ! -name SCCS ! -name CVS -print` ; do \
|
||||
+ (cd $(DESTDIR)$${dest} && umask 022 && $(TAR) -xf - );\
|
||||
+ chmod 0755 $(DESTDIR)$${dest}; \
|
||||
+ for subdir in `find $(DESTDIR)$${dest} -type d ! -name RCS ! -name SCCS ! -name CVS -print` ; do \
|
||||
(cd $${subdir} && $(RM) -r RCS CVS SCCS \#* *~) ; \
|
||||
done) ; \
|
||||
done
|
||||
if test "`(cd ${srcdir}/info && $(pwd))`" != \
|
||||
- "`(cd ${infodir} && $(pwd))`" && cd ${srcdir}/info; then \
|
||||
- if test ! -f ${infodir}/dir -a -f dir ; then \
|
||||
- ${INSTALL_DATA} ${srcdir}/info/dir ${infodir}/dir ; \
|
||||
+ "`(cd $(DESTDIR)${infodir} && $(pwd))`" && cd ${srcdir}/info; then \
|
||||
+ if test ! -f $(DESTDIR)${infodir}/dir -a -f dir ; then \
|
||||
+ ${INSTALL_DATA} ${srcdir}/info/dir $(DESTDIR)${infodir}/dir ; \
|
||||
fi ; \
|
||||
for file in *.info* ; do \
|
||||
- ${INSTALL_DATA} $${file} ${infodir}/$${file} ; \
|
||||
- chmod 0644 ${infodir}/$${file}; \
|
||||
+ ${INSTALL_DATA} $${file} $(DESTDIR)${infodir}/$${file} ; \
|
||||
+ chmod 0644 $(DESTDIR)${infodir}/$${file}; \
|
||||
done ; \
|
||||
fi
|
||||
cd ${srcdir}/etc && \
|
||||
for page in xemacs etags ctags gnuserv gnuclient gnuattach gnudoit; do \
|
||||
- ${INSTALL_DATA} ${srcdir}/etc/$${page}.1 ${mandir}/$${page}${manext} ; \
|
||||
- chmod 0644 ${mandir}/$${page}${manext} ; \
|
||||
+ ${INSTALL_DATA} ${srcdir}/etc/$${page}.1 $(DESTDIR)${mandir}/$${page}${manext} ; \
|
||||
+ chmod 0644 $(DESTDIR)${mandir}/$${page}${manext} ; \
|
||||
done
|
||||
@echo "If you would like to save approximately 4M of disk space, do"
|
||||
@echo "make gzip-el"
|
||||
@@ -473,19 +475,23 @@
|
||||
@echo "${lispdir}"
|
||||
|
||||
gzip-el:
|
||||
- $(SHELL) ${srcdir}/lib-src/gzip-el.sh ${lispdir}
|
||||
+ $(SHELL) ${srcdir}/lib-src/gzip-el.sh $(DESTDIR)${lispdir}
|
||||
|
||||
## Build all the directories to install XEmacs in.
|
||||
## Since we may be creating several layers of directories,
|
||||
## (e.g. /usr/local/lib/${PROGNAME}-20.5/sparc-sun-solaris2.6), we use
|
||||
## make-path instead of mkdir. Not all mkdirs have the `-p' flag.
|
||||
mkdir: FRC.mkdir
|
||||
- ${MAKEPATH} ${COPYDESTS} ${docdir} ${infodir} ${archlibdir} \
|
||||
- ${mandir} ${bindir} ${datadir} ${libdir} \
|
||||
+ for dir in \
|
||||
+ ${COPYDESTS} ${docdir} ${infodir} ${archlibdir} \
|
||||
+ ${mandir} ${bindir} ${datadir} ${libdir} \
|
||||
#ifdef HAVE_SHLIB
|
||||
- ${moduledir} ${sitemoduledir} \
|
||||
+ ${moduledir} ${sitemoduledir} \
|
||||
#endif
|
||||
- ${sitelispdir}
|
||||
+ ${sitelispdir} ; \
|
||||
+ do \
|
||||
+ ${MAKEPATH} $(DESTDIR)$${dir} ; \
|
||||
+ done ;
|
||||
|
||||
## Delete all the installed files that the `install' target would
|
||||
## create (but not the noninstalled files such as `make all' would
|
||||
diff -ru xemacs-21.5.24.orig/dynodump/Makefile.in.in xemacs-21.5.24/dynodump/Makefile.in.in
|
||||
--- xemacs-21.5.24.orig/dynodump/Makefile.in.in 2005-12-27 18:11:04.000000000 +0100
|
||||
+++ xemacs-21.5.24/dynodump/Makefile.in.in 2005-12-27 19:00:48.000000000 +0100
|
||||
@@ -22,6 +22,8 @@
|
||||
|
||||
## Synched up with: Not synched with FSF.
|
||||
|
||||
+DESTDIR=
|
||||
+
|
||||
## For performance and consistency, no built-in rules.
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .o .i .h
|
||||
diff -ru xemacs-21.5.24.orig/etc/tests/external-widget/Makefile xemacs-21.5.24/etc/tests/external-widget/Makefile
|
||||
--- xemacs-21.5.24.orig/etc/tests/external-widget/Makefile 1996-12-18 23:42:31.000000000 +0100
|
||||
+++ xemacs-21.5.24/etc/tests/external-widget/Makefile 2005-12-27 19:00:48.000000000 +0100
|
||||
@@ -1,3 +1,5 @@
|
||||
+DESTDIR=
|
||||
+
|
||||
CFLAGS += -Xc -g -DTOOLTALK
|
||||
EMACSHOME = ../../..
|
||||
EMACSLIBDIR = $(EMACSHOME)/editor/src
|
||||
diff -ru xemacs-21.5.24.orig/lib-src/Makefile.in.in xemacs-21.5.24/lib-src/Makefile.in.in
|
||||
--- xemacs-21.5.24.orig/lib-src/Makefile.in.in 2005-12-27 18:11:23.000000000 +0100
|
||||
+++ xemacs-21.5.24/lib-src/Makefile.in.in 2005-12-27 19:00:48.000000000 +0100
|
||||
@@ -24,6 +24,8 @@
|
||||
## above a certain point in this file are in shell format instead of
|
||||
## in C format. How the hell is this supposed to work? */
|
||||
|
||||
+DESTDIR=
|
||||
+
|
||||
## For performance and consistency, no built-in rules
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .h .o
|
||||
@@ -244,26 +246,26 @@
|
||||
## just run them directly from lib-src.
|
||||
${archlibdir}: all
|
||||
@echo; echo "Installing utilities run internally by XEmacs."
|
||||
- ./make-path ${archlibdir}
|
||||
+ ./make-path $(DESTDIR)${archlibdir}
|
||||
if test "`(cd ${archlibdir} && $(pwd))`" != "`$(pwd)`"; then \
|
||||
for f in ${PRIVATE_INSTALLABLE_EXES}; do \
|
||||
- (cd .. && $(INSTALL_PROGRAM) lib-src/$$f ${archlibdir}/$$f) ; \
|
||||
+ (cd .. && $(INSTALL_PROGRAM) lib-src/$$f $(DESTDIR)${archlibdir}/$$f) ; \
|
||||
done ; \
|
||||
fi
|
||||
if test "`(cd ${archlibdir} && $(pwd))`" \
|
||||
!= "`(cd ${srcdir} && $(pwd))`"; then \
|
||||
for f in ${PRIVATE_INSTALLABLE_SCRIPTS}; do \
|
||||
- (cd .. && $(INSTALL_PROGRAM) ${srcdir}/$$f ${archlibdir}/$$f); \
|
||||
+ (cd .. && $(INSTALL_PROGRAM) ${srcdir}/$$f $(DESTDIR)${archlibdir}/$$f); \
|
||||
done ; \
|
||||
fi
|
||||
|
||||
install: ${archlibdir}
|
||||
@echo; echo "Installing utilities for users to run."
|
||||
for file in ${PUBLIC_INSTALLABLE_EXES} ; do \
|
||||
- (cd .. && $(INSTALL_PROGRAM) lib-src/$${file} ${bindir}/$${file}) ; \
|
||||
+ (cd .. && $(INSTALL_PROGRAM) lib-src/$${file} $(DESTDIR)${bindir}/$${file}) ; \
|
||||
done
|
||||
for file in ${PUBLIC_INSTALLABLE_SCRIPTS} ; do \
|
||||
- (cd .. && $(INSTALL_PROGRAM) ${srcdir}/$${file} ${bindir}/$${file}) ; \
|
||||
+ (cd .. && $(INSTALL_PROGRAM) ${srcdir}/$${file} $(DESTDIR)${bindir}/$${file}) ; \
|
||||
done
|
||||
|
||||
uninstall:
|
||||
diff -ru xemacs-21.5.24.orig/lwlib/Makefile.in.in xemacs-21.5.24/lwlib/Makefile.in.in
|
||||
--- xemacs-21.5.24.orig/lwlib/Makefile.in.in 2005-12-27 18:11:45.000000000 +0100
|
||||
+++ xemacs-21.5.24/lwlib/Makefile.in.in 2005-12-27 19:00:48.000000000 +0100
|
||||
@@ -22,6 +22,8 @@
|
||||
## the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
## Boston, MA 02111-1307, USA.
|
||||
|
||||
+DESTDIR=
|
||||
+
|
||||
## For performance and consistency, no built-in rules
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .h .o .i .s
|
||||
diff -ru xemacs-21.5.24.orig/man/Makefile xemacs-21.5.24/man/Makefile
|
||||
--- xemacs-21.5.24.orig/man/Makefile 2005-12-27 18:11:52.000000000 +0100
|
||||
+++ xemacs-21.5.24/man/Makefile 2005-12-27 19:00:48.000000000 +0100
|
||||
@@ -20,6 +20,8 @@
|
||||
# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
# Boston, MA 02111-1307, USA.
|
||||
|
||||
+DESTDIR=
|
||||
+
|
||||
SHELL = /bin/sh
|
||||
MAKEINFO = makeinfo
|
||||
TEXI2DVI = texi2dvi
|
||||
diff -ru xemacs-21.5.24.orig/modules/base64/Makefile xemacs-21.5.24/modules/base64/Makefile
|
||||
--- xemacs-21.5.24.orig/modules/base64/Makefile 2001-04-12 20:22:33.000000000 +0200
|
||||
+++ xemacs-21.5.24/modules/base64/Makefile 2005-12-27 19:00:48.000000000 +0100
|
||||
@@ -7,6 +7,8 @@
|
||||
# 'installed'.
|
||||
#
|
||||
|
||||
+DESTDIR=
|
||||
+
|
||||
SHELL=/bin/sh
|
||||
RM=rm -f
|
||||
CC=../../lib-src/ellcc
|
||||
diff -ru xemacs-21.5.24.orig/modules/common/Makefile.common xemacs-21.5.24/modules/common/Makefile.common
|
||||
--- xemacs-21.5.24.orig/modules/common/Makefile.common 2005-12-27 18:11:58.000000000 +0100
|
||||
+++ xemacs-21.5.24/modules/common/Makefile.common 2005-12-27 19:01:49.000000000 +0100
|
||||
@@ -31,6 +31,8 @@
|
||||
#define NOT_C_CODE
|
||||
#include "../../src/config.h"
|
||||
|
||||
+DESTDIR=
|
||||
+
|
||||
SHELL=/bin/sh
|
||||
RM=rm -f
|
||||
PROGNAME=@PROGNAME@
|
||||
@@ -98,7 +100,7 @@
|
||||
-$(RM) *~ \#*
|
||||
|
||||
install: $(OBJECT_TO_BUILD)
|
||||
- $(INSTALL_PROGRAM) $< $(INSTALLPATH)
|
||||
+ $(INSTALL_PROGRAM) $< $(DESTDIR)$(INSTALLPATH)
|
||||
|
||||
##
|
||||
## Local Variables:
|
||||
diff -ru xemacs-21.5.24.orig/modules/zlib/Makefile xemacs-21.5.24/modules/zlib/Makefile
|
||||
--- xemacs-21.5.24.orig/modules/zlib/Makefile 2001-04-12 20:22:40.000000000 +0200
|
||||
+++ xemacs-21.5.24/modules/zlib/Makefile 2005-12-27 19:00:48.000000000 +0100
|
||||
@@ -8,6 +8,8 @@
|
||||
# 'installed'.
|
||||
#
|
||||
|
||||
+DESTDIR=
|
||||
+
|
||||
SHELL=/bin/sh
|
||||
RM=rm -f
|
||||
CC=../../lib-src/ellcc
|
||||
diff -ru xemacs-21.5.24.orig/netinstall/Makefile.in.in xemacs-21.5.24/netinstall/Makefile.in.in
|
||||
--- xemacs-21.5.24.orig/netinstall/Makefile.in.in 2005-12-27 18:11:58.000000000 +0100
|
||||
+++ xemacs-21.5.24/netinstall/Makefile.in.in 2005-12-27 19:00:48.000000000 +0100
|
||||
@@ -14,6 +14,8 @@
|
||||
##
|
||||
## Makefile for Cygwin installer
|
||||
|
||||
+DESTDIR=
|
||||
+
|
||||
## For performance and consistency, no built-in rules
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .cc .h .o
|
||||
@@ -172,7 +174,7 @@
|
||||
install:
|
||||
@echo; echo "Installing net setup."
|
||||
for file in ${INSTALLABLES} ; do \
|
||||
- (cd .. && $(INSTALL_PROGRAM) netinstall/$${file} ${bindir}/$${file}) ; \
|
||||
+ (cd .. && $(INSTALL_PROGRAM) netinstall/$${file} $(DESTDIR)${bindir}/$${file}) ; \
|
||||
done
|
||||
|
||||
version.c : $(srcdir)/ChangeLog Makefile
|
||||
diff -ru xemacs-21.5.24.orig/src/Makefile.in.in xemacs-21.5.24/src/Makefile.in.in
|
||||
--- xemacs-21.5.24.orig/src/Makefile.in.in 2005-12-27 18:12:02.000000000 +0100
|
||||
+++ xemacs-21.5.24/src/Makefile.in.in 2005-12-27 19:00:48.000000000 +0100
|
||||
@@ -39,6 +39,8 @@
|
||||
RECURSIVE_MAKE_ARGS=@RECURSIVE_MAKE_ARGS@
|
||||
#endif
|
||||
|
||||
+DESTDIR=
|
||||
+
|
||||
PROGNAME=@PROGNAME@
|
||||
prefix=@prefix@
|
||||
SRC=@srcdir@
|
||||
@@ -1068,7 +1070,7 @@
|
||||
#ifdef HAVE_SHLIB
|
||||
MAKEPATH=../lib-src/make-path
|
||||
install: $(PROGNAME)
|
||||
- $(MAKEPATH) $(archlibdir)/include $(archlibdir)/include/m $(archlibdir)/include/s
|
||||
+ $(MAKEPATH) $(DESTDIR)$(archlibdir)/include $(DESTDIR)$(archlibdir)/include/m $(DESTDIR)$(archlibdir)/include/s
|
||||
-@echo "Copying include files for ellcc..."
|
||||
-@hdir=`pwd`; \
|
||||
cd $(SRC); hdrdir2=`pwd`; cd $$hdir; \
|
||||
@@ -1082,12 +1084,12 @@
|
||||
test -d s && hdrtars="$$hdrtars s/*"; \
|
||||
test -d m && hdrtars="$$hdrtars m/*"; \
|
||||
test -n "$$hdrtars" && (tar cf - $$hdrtars) | \
|
||||
- (cd $(archlibdir)/include && umask 022 && tar xf -); \
|
||||
- chmod 755 $(archlibdir)/include; \
|
||||
- test -d $(archlibdir)/include/s && \
|
||||
- chmod 755 $(archlibdir)/include/s; \
|
||||
- test -d $(archlibdir)/include/m && \
|
||||
- chmod 755 $(archlibdir)/include/s;) \
|
||||
+ (cd $(DESTDIR)$(archlibdir)/include && umask 022 && tar xf -); \
|
||||
+ chmod 755 $(DESTDIR)$(archlibdir)/include; \
|
||||
+ test -d $(DESTDIR)$(archlibdir)/include/s && \
|
||||
+ chmod 755 $(DESTDIR)$(archlibdir)/include/s; \
|
||||
+ test -d $(DESTDIR)$(archlibdir)/include/m && \
|
||||
+ chmod 755 $(DESTDIR)$(archlibdir)/include/s;) \
|
||||
done)
|
||||
#endif
|
||||
|
||||
diff -ru xemacs-21.5.24.orig/tests/tooltalk/Makefile xemacs-21.5.24/tests/tooltalk/Makefile
|
||||
--- xemacs-21.5.24.orig/tests/tooltalk/Makefile 1996-12-18 23:44:15.000000000 +0100
|
||||
+++ xemacs-21.5.24/tests/tooltalk/Makefile 2005-12-27 19:00:48.000000000 +0100
|
||||
@@ -12,6 +12,8 @@
|
||||
|
||||
### Code:
|
||||
|
||||
+DESTDIR=
|
||||
+
|
||||
CC = cc -Xc
|
||||
CPPFLAGS = -I/usr/openwin/include
|
||||
CFLAGS = -g -v -DNeedFunctionPrototypes
|
14
do-not-create-backups-in-temp-directories.patch
Normal file
14
do-not-create-backups-in-temp-directories.patch
Normal file
@ -0,0 +1,14 @@
|
||||
diff -ru xemacs-21.5.21.orig/lisp/files.el xemacs-21.5.21/lisp/files.el
|
||||
--- xemacs-21.5.21.orig/lisp/files.el 2005-04-08 16:07:00.000000000 +0200
|
||||
+++ xemacs-21.5.21/lisp/files.el 2005-06-07 21:25:23.000000000 +0200
|
||||
@@ -166,7 +166,9 @@
|
||||
Checks for files in `temporary-file-directory' or
|
||||
`small-temporary-file-directory'."
|
||||
(let ((temporary-file-directory (temp-directory)))
|
||||
- (not (or (let ((comp (compare-strings temporary-file-directory 0 nil
|
||||
+ (not (or (null name)
|
||||
+ (string-match "^/tmp/" name)
|
||||
+ (let ((comp (compare-strings temporary-file-directory 0 nil
|
||||
name 0 nil)))
|
||||
;; Directory is under temporary-file-directory.
|
||||
(and (not (eq comp t))
|
29
fix-load-history.el
Normal file
29
fix-load-history.el
Normal file
@ -0,0 +1,29 @@
|
||||
;;; -*- mode: emacs-lisp -*-
|
||||
|
||||
;;; fix up the load-history to make it possible to use find-function
|
||||
;;; on functions which are in dumped lisp files, even if XEmacs was not
|
||||
;;; dumped at the place where it is finally running.
|
||||
;;;
|
||||
;;; Suggested by Jeff Mincy <jeff@delphioutpost.com>, see:
|
||||
;;;
|
||||
;;; http://list-archive.xemacs.org/xemacs-design/200204/msg00365.html
|
||||
;;;
|
||||
;;; Test whether this works by evaluating (find-function 'next-line)
|
||||
;;;
|
||||
|
||||
(defvar build-directory
|
||||
(let ((dumped-file (symbol-file 'next-line)))
|
||||
(and lisp-directory
|
||||
(file-directory-p lisp-directory)
|
||||
dumped-file
|
||||
(not (file-exists-p dumped-file))
|
||||
(string-match "^\\(.*[/\\]lisp[/\\]\\)" dumped-file)
|
||||
(substring dumped-file (match-beginning 1) (match-end 1))))
|
||||
"The directory that is stored in load-history for dumped files")
|
||||
|
||||
(when build-directory
|
||||
(eval-after-load 'find-func
|
||||
(dolist (entry load-history)
|
||||
(when (string-match (regexp-quote build-directory) (car entry))
|
||||
(setcar entry (replace-match lisp-directory t t (car entry)))))))
|
||||
|
247
gnomebug.patch
Normal file
247
gnomebug.patch
Normal file
@ -0,0 +1,247 @@
|
||||
diff -ru xemacs-21.5.18.orig/src/EmacsFrame.c xemacs-21.5.18/src/EmacsFrame.c
|
||||
--- xemacs-21.5.18.orig/src/EmacsFrame.c 2004-09-20 21:19:34.000000000 +0200
|
||||
+++ xemacs-21.5.18/src/EmacsFrame.c 2004-12-10 14:33:40.000000000 +0100
|
||||
@@ -33,6 +33,7 @@
|
||||
#include "faces.h"
|
||||
#include "frame-impl.h"
|
||||
#include "toolbar.h"
|
||||
+#include "sysdep.h"
|
||||
#include "window.h"
|
||||
|
||||
#include "console-x-impl.h"
|
||||
@@ -510,15 +511,22 @@
|
||||
setting, automatically forces a redisplay as necessary. */
|
||||
}
|
||||
|
||||
+int update_hints_inhibit = 0;
|
||||
+
|
||||
static XtGeometryResult
|
||||
EmacsFrameQueryGeometry (Widget widget, XtWidgetGeometry *request,
|
||||
XtWidgetGeometry *result)
|
||||
{
|
||||
EmacsFrame ew = (EmacsFrame) widget;
|
||||
+ struct frame *f = (struct frame*)ew->emacs_frame.frame;
|
||||
int mask = request->request_mode;
|
||||
- Dimension width, height;
|
||||
- int ok_width_int, ok_height_int;
|
||||
+ const Dimension width = (mask & CWWidth ) ? request->width : ew->core.width;
|
||||
+ const Dimension height = (mask & CWHeight) ? request->height : ew->core.height;
|
||||
+ int ok_width_int, ok_height_int, columns, rows, char_width, char_height;
|
||||
Dimension ok_width, ok_height;
|
||||
+ int delta_w, delta_h;
|
||||
+
|
||||
+ update_hints_inhibit = 1;
|
||||
|
||||
/* We have a definite preference for what size we would like
|
||||
to be.
|
||||
@@ -530,19 +538,42 @@
|
||||
3) Otherwise, take our current size and round it to the
|
||||
nearest multiple of the default char size. */
|
||||
|
||||
- width = mask & CWWidth ? request->width : ew->core.width;
|
||||
- height = mask & CWHeight ? request->height : ew->core.height;
|
||||
- round_size_to_char (ew->emacs_frame.frame, width, height,
|
||||
- &ok_width_int, &ok_height_int);
|
||||
- ok_width = (Dimension) ok_width_int;
|
||||
+ pixel_to_char_size (f, width, height, &columns, &rows);
|
||||
+ round_size_to_char (f, width, height, &ok_width_int, &ok_height_int);
|
||||
+
|
||||
+ ok_width = (Dimension) ok_width_int;
|
||||
ok_height = (Dimension) ok_height_int;
|
||||
+
|
||||
if (ew->emacs_frame.preferred_width)
|
||||
ok_width = ew->emacs_frame.preferred_width;
|
||||
if (ew->emacs_frame.preferred_height)
|
||||
ok_height = ew->emacs_frame.preferred_height;
|
||||
- result->request_mode |= CWWidth | CWHeight;
|
||||
+
|
||||
+ char_width = ok_width / columns;
|
||||
+ char_height = ok_height / rows;
|
||||
+ delta_w = width - f->gnomewidth;
|
||||
+ delta_h = height - f->gnomeheight;
|
||||
+
|
||||
+ if (abs(delta_w) < char_width)
|
||||
+ ok_width = result->width = f->gnomewidth;
|
||||
+ else
|
||||
+ f->gnomewidth = width;
|
||||
+
|
||||
+ if (abs(delta_h) < char_height)
|
||||
+ ok_height = result->height = f->gnomeheight;
|
||||
+ else
|
||||
+ f->gnomeheight = height;
|
||||
+
|
||||
+ if (ok_width != width)
|
||||
+ result->request_mode |= CWWidth;
|
||||
+ if (ok_height != height)
|
||||
+ result->request_mode |= CWHeight;
|
||||
+
|
||||
result->width = ok_width;
|
||||
result->height = ok_height;
|
||||
+
|
||||
+ update_hints_inhibit = 0;
|
||||
+
|
||||
if (((mask & CWWidth) && ok_width != request->width)
|
||||
|| ((mask & CWHeight) && ok_height != request->height))
|
||||
return XtGeometryAlmost;
|
||||
@@ -632,8 +663,21 @@
|
||||
if (rows < 1)
|
||||
rows = 1;
|
||||
|
||||
+ check_frame_size (f, &rows, &columns);
|
||||
char_to_pixel_size (f, columns, rows, &pixel_width, &pixel_height);
|
||||
|
||||
+ if (ew->core.width == pixel_width && ew->core.height == pixel_height)
|
||||
+ return;
|
||||
+
|
||||
+#if 0
|
||||
+ {
|
||||
+ Arg al[1];
|
||||
+ XtSetArg (al [0], XtNwaitForWm, FALSE);
|
||||
+ XtSetValues ((Widget) ew, al, countof (al));
|
||||
+ }
|
||||
+#endif
|
||||
+ stop_interrupts ();
|
||||
+
|
||||
if (FRAME_X_TOP_LEVEL_FRAME_P (f))
|
||||
x_wm_set_variable_size (FRAME_X_SHELL_WIDGET (f), columns, rows);
|
||||
|
||||
@@ -643,4 +687,6 @@
|
||||
XtSetArg (al [1], XtNheight, pixel_height);
|
||||
XtSetValues ((Widget) ew, al, countof (al));
|
||||
}
|
||||
+
|
||||
+ start_interrupts();
|
||||
}
|
||||
diff -ru xemacs-21.5.18.orig/src/EmacsShell-sub.c xemacs-21.5.18/src/EmacsShell-sub.c
|
||||
--- xemacs-21.5.18.orig/src/EmacsShell-sub.c 2003-02-14 08:38:30.000000000 +0100
|
||||
+++ xemacs-21.5.18/src/EmacsShell-sub.c 2004-12-10 14:33:40.000000000 +0100
|
||||
@@ -232,6 +232,20 @@
|
||||
|
||||
WidgetClass EMACS_SHELL_WIDGET_CLASS = (WidgetClass) &EMACS_SHELL_CLASS_REC;
|
||||
|
||||
+extern int update_hints_inhibit;
|
||||
+
|
||||
+static Widget
|
||||
+get_wm_shell (Widget w)
|
||||
+{
|
||||
+ Widget wmshell;
|
||||
+
|
||||
+ for (wmshell = XtParent (w);
|
||||
+ wmshell && !XtIsWMShell (wmshell);
|
||||
+ wmshell = XtParent (wmshell));
|
||||
+
|
||||
+ return wmshell;
|
||||
+}
|
||||
+
|
||||
static void
|
||||
update_size_hints_internal (EMACS_SHELL_WIDGET w,
|
||||
int width, int height)
|
||||
@@ -240,6 +254,10 @@
|
||||
int cell_width, cell_height;
|
||||
Arg al [10];
|
||||
|
||||
+ if (update_hints_inhibit)
|
||||
+ return;
|
||||
+ stop_interrupts ();
|
||||
+
|
||||
/* time to update them thar size hints */
|
||||
cell_width = w->wm.size_hints.width_inc;
|
||||
cell_height = w->wm.size_hints.height_inc;
|
||||
@@ -264,6 +282,8 @@
|
||||
XtSetArg(al [3], XtNminHeight, base_height +
|
||||
cell_height * w->emacs_shell.min_height_cells);
|
||||
XtSetValues ((Widget) w, al, 4);
|
||||
+
|
||||
+ start_interrupts ();
|
||||
}
|
||||
|
||||
static XtGeometryResult
|
||||
@@ -302,6 +322,8 @@
|
||||
/* OK since this file is not dumped */
|
||||
static int reentrant = 0;
|
||||
XtGeometryResult result;
|
||||
+ Dimension ok_width = 0, ok_height = 0;
|
||||
+ int mask = request->request_mode;
|
||||
|
||||
if (reentrant)
|
||||
abort ();
|
||||
@@ -317,13 +339,51 @@
|
||||
printf ("\n");
|
||||
printf (" requested shell size: %d %d\n", request->width, request->height);
|
||||
#endif
|
||||
+#if 0
|
||||
+ if (mask & (CWWidth | CWHeight))
|
||||
+ {
|
||||
+ const Dimension cell_width = w->wm.size_hints.width_inc;
|
||||
+ const Dimension cell_height = w->wm.size_hints.height_inc;
|
||||
+ const Dimension requ_width = ((mask & CWWidth) ? request->width : w->core.width );
|
||||
+ const Dimension requ_height = ((mask & CWHeight) ? request->height : w->core.height);
|
||||
+ const Dimension base_width = requ_width - cell_width * w->emacs_shell.width_cells;
|
||||
+ const Dimension base_height = requ_height - cell_height * w->emacs_shell.height_cells;
|
||||
+
|
||||
+ const int xw = (requ_width - base_width ) / cell_width;
|
||||
+ const int xh = (requ_height - base_height) / cell_height;
|
||||
+
|
||||
+ ok_width = base_width + (cell_width * xw);
|
||||
+ ok_height = base_height + (cell_height * xh);
|
||||
+
|
||||
+ if ((mask & CWWidth) && (ok_width != request->width))
|
||||
+ {
|
||||
+ request->request_mode |= CWWidth;
|
||||
+ request->width = ok_width;
|
||||
+ }
|
||||
+ if ((mask & CWHeight) && (ok_height != request->height))
|
||||
+ {
|
||||
+ request->request_mode |= CWHeight;
|
||||
+ request->height = ok_height;
|
||||
+ }
|
||||
+
|
||||
+ if ((mask & CWWidth) && (xw == w->emacs_shell.width_cells))
|
||||
+ {
|
||||
+ request->request_mode &= ~CWWidth;
|
||||
+ request->width = w->core.width;
|
||||
+ }
|
||||
+ if ((mask & CWHeight) && (xh == w->emacs_shell.height_cells))
|
||||
+ {
|
||||
+ request->request_mode &= ~CWHeight;
|
||||
+ request->height = w->core.height;
|
||||
+ }
|
||||
+ }
|
||||
+#endif
|
||||
/* update the size hints */
|
||||
update_size_hints_internal (w,
|
||||
request->request_mode & CWWidth ?
|
||||
request->width : w->core.width,
|
||||
request->request_mode & CWHeight ?
|
||||
request->height : w->core.height);
|
||||
-
|
||||
result = SuperClassRootGeometryManager (gw, request, reply);
|
||||
|
||||
#ifdef DEBUG_GEOMETRY_MANAGEMENT
|
||||
diff -ru xemacs-21.5.18.orig/src/frame-impl.h xemacs-21.5.18/src/frame-impl.h
|
||||
--- xemacs-21.5.18.orig/src/frame-impl.h 2003-01-12 12:08:16.000000000 +0100
|
||||
+++ xemacs-21.5.18/src/frame-impl.h 2004-12-10 15:04:17.337109993 +0100
|
||||
@@ -68,6 +68,10 @@
|
||||
of line glyphs, in pixels */
|
||||
int pixheight, pixwidth;
|
||||
|
||||
+ /* Remember size of the whole frame due be able to work around
|
||||
+ GNOME metacity bug */
|
||||
+ int gnomeheight, gnomewidth;
|
||||
+
|
||||
#ifdef HAVE_TTY
|
||||
/* The count of frame number. This applies to TTY frames only. */
|
||||
int order_count;
|
||||
diff -ru xemacs-21.5.18.orig/src/redisplay.c xemacs-21.5.18/src/redisplay.c
|
||||
--- xemacs-21.5.18.orig/src/redisplay.c 2004-09-20 21:19:57.000000000 +0200
|
||||
+++ xemacs-21.5.18/src/redisplay.c 2004-12-10 14:33:41.000000000 +0100
|
||||
@@ -6965,7 +6965,9 @@
|
||||
if (f->size_slipped)
|
||||
{
|
||||
adjust_frame_size (f);
|
||||
+#if 0
|
||||
assert (!f->size_slipped);
|
||||
+#endif
|
||||
}
|
||||
|
||||
/* The menubar, toolbar, and icon updates should be done before
|
14
ndbm.patch
Normal file
14
ndbm.patch
Normal file
@ -0,0 +1,14 @@
|
||||
diff -ru xemacs-21.5.20.orig/configure.ac xemacs-21.5.20/configure.ac
|
||||
--- xemacs-21.5.20.orig/configure.ac 2005-03-11 12:19:01.000000000 +0100
|
||||
+++ xemacs-21.5.20/configure.ac 2005-05-13 11:41:10.000000000 +0200
|
||||
@@ -4917,8 +4917,8 @@
|
||||
|
||||
dnl Check for DBM support in libgdbm.
|
||||
if test "$enable_database_gdbm" != "no"; then
|
||||
- AC_CHECK_LIB(gdbm, dbm_open, [
|
||||
- enable_database_gdbm=yes enable_database_dbm=no libdbm=-lgdbm], [
|
||||
+ AC_CHECK_LIB(ndbm, dbm_open, [
|
||||
+ enable_database_gdbm=yes enable_database_dbm=no libdbm=-lndbm], [
|
||||
if test "$enable_database_gdbm" = "yes"; then
|
||||
XE_DIE("Required GNU DBM support cannot be provided.")
|
||||
fi
|
17
set-locale-to-c-when-not-supported-by-x.patch
Normal file
17
set-locale-to-c-when-not-supported-by-x.patch
Normal file
@ -0,0 +1,17 @@
|
||||
diff -ru xemacs-21.5.25.20060327.orig/src/intl.c xemacs-21.5.25.20060327/src/intl.c
|
||||
--- xemacs-21.5.25.20060327.orig/src/intl.c 2005-12-27 18:12:09.000000000 +0100
|
||||
+++ xemacs-21.5.25.20060327/src/intl.c 2006-03-27 17:06:52.000000000 +0200
|
||||
@@ -84,8 +84,10 @@
|
||||
#ifdef HAVE_X_WINDOWS
|
||||
if (!init_x_locale (locale))
|
||||
{
|
||||
- /* Locale not supported under X. Put it back. */
|
||||
- setlocale (LC_ALL, loc);
|
||||
+ /* Locale not supported under X. Set locale to "C" and print a warning. */
|
||||
+ warn_when_safe (Qwarning, Qwarning,
|
||||
+ "locale not supported by Xlib, setting locale to C.");
|
||||
+ setlocale (LC_ALL, "C");
|
||||
setlocale (LC_NUMERIC, "C");
|
||||
free (loc);
|
||||
return Qnil;
|
||||
|
12
suppress-warning-about-undefined-unicode-key-mappings.patch
Normal file
12
suppress-warning-about-undefined-unicode-key-mappings.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -ru xemacs-21.5.21.orig/lisp/x-init.el xemacs-21.5.21/lisp/x-init.el
|
||||
--- xemacs-21.5.21.orig/lisp/x-init.el 2005-05-10 19:14:42.000000000 +0200
|
||||
+++ xemacs-21.5.21/lisp/x-init.el 2005-06-13 16:44:51.000000000 +0200
|
||||
@@ -243,6 +243,7 @@
|
||||
(when (and (not (get (intern sym-string) 'ascii-character))
|
||||
(string-match "^U[0-9A-F]+$" sym-string))
|
||||
(pushnew (concat sym-string " ") unknown-code-points :test 'equal)))
|
||||
+ (setq unknown-code-points nil)
|
||||
(when unknown-code-points
|
||||
(lwarn 'key-mapping 'info
|
||||
"Undefined Unicode key mappings.
|
||||
xemacs-21.5.21/lispだけに発見: x-init.el.~1~
|
26
unitialized-variables.patch
Normal file
26
unitialized-variables.patch
Normal file
@ -0,0 +1,26 @@
|
||||
diff -ru xemacs-21.5.25.20060327.orig/src/extents.c xemacs-21.5.25.20060327/src/extents.c
|
||||
--- xemacs-21.5.25.20060327.orig/src/extents.c 2006-03-27 13:37:34.000000000 +0200
|
||||
+++ xemacs-21.5.25.20060327/src/extents.c 2006-03-27 17:24:00.000000000 +0200
|
||||
@@ -3121,6 +3121,10 @@
|
||||
|
||||
gb.glyph = glyph;
|
||||
gb.extent = wrap_extent (e);
|
||||
+ /* not used, but necessary to avoid compiler warnings about unitiallized variables */
|
||||
+ gb.findex = 0;
|
||||
+ gb.active = 0;
|
||||
+ gb.width = 0;
|
||||
Dynarr_add (ef->begin_glyphs, gb);
|
||||
}
|
||||
else if (EQ (glyph, last_glyph))
|
||||
@@ -3140,6 +3144,10 @@
|
||||
|
||||
gb.glyph = glyph;
|
||||
gb.extent = wrap_extent (e);
|
||||
+ /* not used, but necessary to avoid compiler warnings about unitiallized variables */
|
||||
+ gb.findex = 0;
|
||||
+ gb.active = 0;
|
||||
+ gb.width = 0;
|
||||
Dynarr_add (ef->end_glyphs, gb);
|
||||
}
|
||||
else if (EQ (glyph, last_glyph))
|
||||
|
60
xe-list.el
Normal file
60
xe-list.el
Normal file
@ -0,0 +1,60 @@
|
||||
(defvar xe-list-file-name "xe-list")
|
||||
|
||||
(defun xe-list-find-el (&optional buffer)
|
||||
(interactive)
|
||||
(let ((el-with-elc)
|
||||
(el-without-elc))
|
||||
(save-excursion
|
||||
(if buffer
|
||||
(set-buffer buffer))
|
||||
(goto-char (point-min))
|
||||
(while (re-search-forward "^\\(.*\\.el\\)$" nil t)
|
||||
(let ((el (match-string 1)))
|
||||
(save-excursion
|
||||
(goto-char (point-min))
|
||||
(if (re-search-forward (concat "^" (regexp-quote el) "c$") nil t)
|
||||
(setq el-with-elc (cons el el-with-elc))
|
||||
(setq el-without-elc (cons el el-without-elc)))))))
|
||||
(list (nreverse el-with-elc) (nreverse el-without-elc))))
|
||||
|
||||
(defun xe-list-find-elc (&optional buffer)
|
||||
(interactive)
|
||||
(let ((elc-with-el)
|
||||
(elc-without-el))
|
||||
(save-excursion
|
||||
(if buffer
|
||||
(set-buffer buffer))
|
||||
(goto-char (point-min))
|
||||
(while (re-search-forward "^\\(.*\\.elc\\)$" nil t)
|
||||
(let ((elc (match-string 1))
|
||||
(el (replace-in-string (match-string 1) "\\.elc$" ".el")))
|
||||
(save-excursion
|
||||
(goto-char (point-min))
|
||||
(if (re-search-forward (concat "^" (regexp-quote el) "$") nil t)
|
||||
(setq elc-with-el (cons elc elc-with-el))
|
||||
(setq elc-without-el (cons elc elc-without-el)))))))
|
||||
(list (nreverse elc-with-el) (nreverse elc-without-el))))
|
||||
|
||||
(defun xe-list-write-list-to-file (list file)
|
||||
(interactive)
|
||||
(with-temp-buffer
|
||||
(mapcar (lambda (x) (insert x) (insert "\n"))
|
||||
list)
|
||||
(write-file file)))
|
||||
|
||||
(defun xe-list-generate-list-files ()
|
||||
(interactive)
|
||||
(let ((el-lists)
|
||||
(elc-lists))
|
||||
(find-file xe-list-file-name)
|
||||
(setq el-lists (xe-list-find-el xe-list-file-name))
|
||||
(setq elc-lists (xe-list-find-elc xe-list-file-name))
|
||||
(xe-list-write-list-to-file (car el-lists)
|
||||
(concat xe-list-file-name "-el-with-elc"))
|
||||
(xe-list-write-list-to-file (car (cdr el-lists))
|
||||
(concat xe-list-file-name "-el-without-elc"))
|
||||
(xe-list-write-list-to-file (car elc-lists)
|
||||
(concat xe-list-file-name "-elc-with-el"))
|
||||
(xe-list-write-list-to-file (car (cdr elc-lists))
|
||||
(concat xe-list-file-name "-elc-without-el"))))
|
||||
|
18
xemacs-21.4.13-ppc.patch
Normal file
18
xemacs-21.4.13-ppc.patch
Normal file
@ -0,0 +1,18 @@
|
||||
--- xemacs-21.4.13/src/ppc.ldscript.ppc 2004-01-20 15:49:25.000000000 +0100
|
||||
+++ xemacs-21.4.13/src/ppc.ldscript 2004-01-20 15:49:48.000000000 +0100
|
||||
@@ -66,6 +66,15 @@
|
||||
that no actual memory is lost; the page which is skipped can not
|
||||
be referenced). */
|
||||
. = .;
|
||||
+ PROVIDE (__preinit_array_start = .);
|
||||
+ .preinit_array : { *(.preinit_array) }
|
||||
+ PROVIDE (__preinit_array_end = .);
|
||||
+ PROVIDE (__init_array_start = .);
|
||||
+ .init_array : { *(.init_array) }
|
||||
+ PROVIDE (__init_array_end = .);
|
||||
+ PROVIDE (__fini_array_start = .);
|
||||
+ .fini_array : { *(.fini_array) }
|
||||
+ PROVIDE (__fini_array_end = .);
|
||||
.data :
|
||||
{
|
||||
*(.data)
|
106
xemacs-21.4.13-ppc64.patch
Normal file
106
xemacs-21.4.13-ppc64.patch
Normal file
@ -0,0 +1,106 @@
|
||||
--- xemacs-21.4.13/src/m/powerpc64.h.ppc64 2004-01-21 10:11:35.000000000 +0100
|
||||
+++ xemacs-21.4.13/src/m/powerpc64.h 2004-01-21 10:11:35.000000000 +0100
|
||||
@@ -0,0 +1,86 @@
|
||||
+/* machine description file for PowerPC 64-bit.
|
||||
+ Copyright (C) 1994, 2001, 2002 Free Software Foundation, Inc.
|
||||
+
|
||||
+This file is part of GNU Emacs.
|
||||
+
|
||||
+GNU Emacs is free software; you can redistribute it and/or modify
|
||||
+it under the terms of the GNU General Public License as published by
|
||||
+the Free Software Foundation; either version 1, or (at your option)
|
||||
+any later version.
|
||||
+
|
||||
+GNU Emacs is distributed in the hope that it will be useful,
|
||||
+but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
+GNU General Public License for more details.
|
||||
+
|
||||
+You should have received a copy of the GNU General Public License
|
||||
+along with GNU Emacs; see the file COPYING. If not, write to
|
||||
+the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
+Boston, MA 02111-1307, USA. */
|
||||
+
|
||||
+
|
||||
+/* Now define a symbol for the cpu type, if your compiler
|
||||
+ does not define it automatically:
|
||||
+ Ones defined so far include vax, m68000, ns16000, pyramid,
|
||||
+ orion, tahoe, APOLLO and many others */
|
||||
+
|
||||
+/* Use type EMACS_INT rather than a union, to represent Lisp_Object */
|
||||
+/* This is desirable for most machines. */
|
||||
+
|
||||
+#define NO_UNION_TYPE
|
||||
+
|
||||
+/* Define the type to use. */
|
||||
+#define EMACS_INT long
|
||||
+#define EMACS_UINT unsigned long
|
||||
+#define SPECIAL_EMACS_INT
|
||||
+
|
||||
+/* Data type of load average, as read out of kmem. */
|
||||
+
|
||||
+#define LOAD_AVE_TYPE long
|
||||
+
|
||||
+/* Convert that into an integer that is 100 for a load average of 1.0 */
|
||||
+
|
||||
+#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
|
||||
+
|
||||
+/* Define C_ALLOCA if this machine does not support a true alloca
|
||||
+ and the one written in C should be used instead.
|
||||
+ Define HAVE_ALLOCA to say that the system provides a properly
|
||||
+ working alloca function and it should be used.
|
||||
+ Define neither one if an assembler-language alloca
|
||||
+ in the file alloca.s should be used. */
|
||||
+
|
||||
+#define HAVE_ALLOCA
|
||||
+
|
||||
+/* Some really obscure 4.2-based systems (like Sequent DYNIX)
|
||||
+ * do not support asynchronous I/O (using SIGIO) on sockets,
|
||||
+ * even though it works fine on tty's. If you have one of
|
||||
+ * these systems, define the following, and then use it in
|
||||
+ * config.h (or elsewhere) to decide when (not) to use SIGIO.
|
||||
+ *
|
||||
+ * You'd think this would go in an operating-system description file,
|
||||
+ * but since it only occurs on some, but not all, BSD systems, the
|
||||
+ * reasonable place to select for it is in the machine description
|
||||
+ * file.
|
||||
+ */
|
||||
+
|
||||
+/* #define NO_SOCK_SIGIO */
|
||||
+
|
||||
+#if defined(__OpenBSD__)
|
||||
+#define ORDINARY_LINK
|
||||
+#endif
|
||||
+
|
||||
+#if defined (LINUX) || defined (__NetBSD__) || defined (__OpenBSD__)
|
||||
+# define TEXT_END ({ extern int _etext; &_etext; })
|
||||
+#endif
|
||||
+
|
||||
+#if (defined (__NetBSD__) || defined (__OpenBSD__)) && defined (__ELF__)
|
||||
+#define HAVE_TEXT_START
|
||||
+#endif
|
||||
+
|
||||
+#define PNTR_COMPARISON_TYPE unsigned long
|
||||
+
|
||||
+#undef START_FILES
|
||||
+#define START_FILES pre-crt0.o /usr/lib64/crt1.o /usr/lib64/crti.o
|
||||
+
|
||||
+#undef LIB_STANDARD
|
||||
+#define LIB_STANDARD -lgcc -lc -lgcc /usr/lib64/crtn.o
|
||||
--- xemacs-21.4.13/src/vm-limit.c.ppc64 2004-01-21 14:35:11.000000000 +0100
|
||||
+++ xemacs-21.4.13/src/vm-limit.c 2004-01-21 14:35:57.000000000 +0100
|
||||
@@ -59,6 +59,14 @@
|
||||
unsigned long data_size;
|
||||
void (*save_warn_fun) (const char *);
|
||||
|
||||
+#ifdef __powerpc64__
|
||||
+ /* powerpc64 has a different memory layout, which
|
||||
+ * I would probably need to fake via a linker script.
|
||||
+ * For now assume we cannot run out of memory.
|
||||
+ */
|
||||
+ return;
|
||||
+#endif
|
||||
+
|
||||
if (lim_data == 0)
|
||||
get_lim_data ();
|
||||
five_percent = lim_data / 20;
|
12
xemacs-21.4.4-font-menu.patch
Normal file
12
xemacs-21.4.4-font-menu.patch
Normal file
@ -0,0 +1,12 @@
|
||||
--- xemacs-21.4.4.orig/lisp/font-menu.el Wed Jul 25 09:44:26 2001
|
||||
+++ xemacs-21.4.4/lisp/font-menu.el Fri Sep 21 12:20:23 2001
|
||||
@@ -396,8 +396,7 @@
|
||||
:size (concat
|
||||
(int-to-string
|
||||
(/ (or size from-size)
|
||||
- (specifier-instance font-menu-size-scaling
|
||||
- (selected-device))))
|
||||
+ 10))
|
||||
"pt")))
|
||||
(message "Font %s" (face-font-name 'default)))))
|
||||
|
13
xemacs-21.4.8-app-defaults.patch
Normal file
13
xemacs-21.4.8-app-defaults.patch
Normal file
@ -0,0 +1,13 @@
|
||||
--- etc/Emacs.ad.appdef 2002-10-31 15:05:40.000000000 +0000
|
||||
+++ etc/Emacs.ad 2002-12-12 14:25:43.000000000 +0000
|
||||
@@ -41,6 +41,10 @@
|
||||
! Note that by default, the pointer foreground and background are the same
|
||||
! as the default face.
|
||||
|
||||
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
+!! FontSet for menus when you use --with-xfs or --with-xim=xlib.
|
||||
+XEmacs*fontSet: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso10646-1,-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*,*
|
||||
+
|
||||
! Set the menubar colors. This overrides the default foreground and
|
||||
! background colors specified above.
|
||||
*menubar*Foreground: Gray30
|
19
xemacs-21.4.8-xevent.patch
Normal file
19
xemacs-21.4.8-xevent.patch
Normal file
@ -0,0 +1,19 @@
|
||||
--- src/event-Xt.c
|
||||
+++ src/event-Xt.c 2003-09-02 17:39:09.000000000 +0200
|
||||
@@ -1249,9 +1249,13 @@
|
||||
However, "F1" normally does. */
|
||||
if (modifiers & XEMACS_MOD_SHIFT)
|
||||
{
|
||||
- int Mode_switch_p = *state & xd->ModeMask;
|
||||
- KeySym bot = XLookupKeysym (ev, Mode_switch_p ? 2 : 0);
|
||||
- KeySym top = XLookupKeysym (ev, Mode_switch_p ? 3 : 1);
|
||||
+ KeySym top, bot;
|
||||
+ XKeyEvent tmpev = *ev;
|
||||
+
|
||||
+ tmpev.state = *state & (xd->ModeMask | ~0xff);
|
||||
+ XLookupString(&tmpev, NULL, 0, &bot, NULL);
|
||||
+ tmpev.state |= ShiftMask;
|
||||
+ XLookupString(&tmpev, NULL, 0, &top, NULL);
|
||||
if (top && bot && top != bot)
|
||||
modifiers &= ~XEMACS_MOD_SHIFT;
|
||||
}
|
72
xemacs-21.5.18-movemail.patch
Normal file
72
xemacs-21.5.18-movemail.patch
Normal file
@ -0,0 +1,72 @@
|
||||
diff -ru xemacs-21.5.20.orig/lib-src/movemail.c xemacs-21.5.20/lib-src/movemail.c
|
||||
--- xemacs-21.5.20.orig/lib-src/movemail.c 2005-02-14 04:40:45.000000000 +0100
|
||||
+++ xemacs-21.5.20/lib-src/movemail.c 2005-05-12 12:44:12.000000000 +0200
|
||||
@@ -135,7 +135,7 @@
|
||||
#undef write
|
||||
#undef close
|
||||
|
||||
-static void fatal (char *, char*);
|
||||
+static void fatal (char *, char *, char *);
|
||||
static void error (char *, char *, char *);
|
||||
static void usage(int);
|
||||
static void pfatal_with_name (char *);
|
||||
@@ -309,7 +309,7 @@
|
||||
#endif
|
||||
|
||||
if (*outname == 0)
|
||||
- fatal ("Destination file name is empty", 0);
|
||||
+ fatal ("Destination file name is empty", 0, 0);
|
||||
|
||||
VERBOSE(("checking access to output file\n"));
|
||||
/* Check access to output file. */
|
||||
@@ -551,7 +551,7 @@
|
||||
return LOCKING;
|
||||
#endif
|
||||
else
|
||||
- fatal("invalid lock method: %s", method_name);
|
||||
+ fatal("invalid lock method: %s", method_name, 0);
|
||||
return 0; /* unreached */
|
||||
}
|
||||
|
||||
@@ -647,10 +647,10 @@
|
||||
/* Print error message and exit. */
|
||||
|
||||
static void
|
||||
-fatal (char *s1, char *s2)
|
||||
+fatal (char *s1, char *s2, char *s3)
|
||||
{
|
||||
maybe_unlock_dot();
|
||||
- error (s1, s2, NULL);
|
||||
+ error (s1, s2, s3);
|
||||
exit (1);
|
||||
}
|
||||
|
||||
@@ -667,16 +667,15 @@
|
||||
static void
|
||||
pfatal_with_name (char *name)
|
||||
{
|
||||
- char *s = concat ("", strerror (errno), " for %s");
|
||||
- fatal (s, name);
|
||||
+ fatal ("%s for %s", strerror (errno), name);
|
||||
}
|
||||
|
||||
static void
|
||||
pfatal_and_delete (char *name)
|
||||
{
|
||||
- char *s = concat ("", strerror (errno), " for %s");
|
||||
+ char *s = strerror (errno);
|
||||
unlink (name);
|
||||
- fatal (s, name);
|
||||
+ fatal ("%s for %s", s, name);
|
||||
}
|
||||
|
||||
/* Return a newly-allocated string whose contents concatenate those of s1, s2, s3. */
|
||||
@@ -702,7 +701,7 @@
|
||||
{
|
||||
long *result = (long *) malloc (size);
|
||||
if (!result)
|
||||
- fatal ("virtual memory exhausted", 0);
|
||||
+ fatal ("virtual memory exhausted", 0, 0);
|
||||
return result;
|
||||
}
|
||||
|
3
xemacs-21.5.27.20060705.tar.bz2
Normal file
3
xemacs-21.5.27.20060705.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:471ff31062cf08961f5750dc1bf3d9029cd15bb2d07ec27e2faf38436e838043
|
||||
size 9823249
|
19
xemacs-autoconf.patch
Normal file
19
xemacs-autoconf.patch
Normal file
@ -0,0 +1,19 @@
|
||||
--- configure.ac
|
||||
+++ configure.ac
|
||||
@@ -22,8 +22,6 @@
|
||||
dnl Due to a dependence on the implementation of certain internal autoconf
|
||||
dnl macros, die if any version other than 2.59 is used.
|
||||
AC_PREREQ(2.59)dnl
|
||||
-m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]), [2.59]), 1,
|
||||
- [m4_fatal([This script can only be generated with autoconf 2.59])], [])dnl
|
||||
AC_INIT([XEmacs],[21.5],[xemacs-beta@xemacs.org])dnl
|
||||
AC_CONFIG_SRCDIR(src/lisp.h)dnl
|
||||
dnl
|
||||
@@ -382,6 +380,7 @@
|
||||
dnl
|
||||
define([XE_EXPAND_COMPLEX_OPTIONS],
|
||||
[m4_if([$2], [[]], [],
|
||||
+ [$2], [], [],
|
||||
[XE_EXPAND_COMPLEX_OPTION([$1], m4_fst($2))[]dnl
|
||||
XE_EXPAND_COMPLEX_OPTIONS([$1], m4_cdr($2))])])dnl
|
||||
dnl
|
2298
xemacs-ia64.dif
Normal file
2298
xemacs-ia64.dif
Normal file
File diff suppressed because it is too large
Load Diff
74
xemacs-level3.patch
Normal file
74
xemacs-level3.patch
Normal file
@ -0,0 +1,74 @@
|
||||
diff -ru xemacs-21.5.20.orig/src/event-Xt.c xemacs-21.5.20/src/event-Xt.c
|
||||
--- xemacs-21.5.20.orig/src/event-Xt.c 2005-01-25 00:33:52.000000000 +0100
|
||||
+++ xemacs-21.5.20/src/event-Xt.c 2005-05-12 12:37:18.000000000 +0200
|
||||
@@ -646,8 +646,17 @@
|
||||
syms = &xd->x_keysym_map [(keycode - xd->x_keysym_map_min_code) *
|
||||
xd->x_keysym_map_keysyms_per_code];
|
||||
for (i = 0; i < xd->x_keysym_map_keysyms_per_code; i++)
|
||||
- if (IsModifierKey (syms [i]) ||
|
||||
- syms [i] == XK_Mode_switch) /* why doesn't IsModifierKey count this? */
|
||||
+ if (IsModifierKey(syms[i])
|
||||
+#ifdef XK_Mode_switch
|
||||
+ || syms[i] == XK_Mode_switch /* why doesn't IsModifierKey count this? */
|
||||
+#endif
|
||||
+#ifdef XK_Num_Lock
|
||||
+ || syms[i] == XK_Num_Lock
|
||||
+#endif
|
||||
+#if defined XK_ISO_Lock && defined XK_ISO_Last_Group_Lock
|
||||
+ || (syms[i] >= XK_ISO_Lock && syms[i] <= XK_ISO_Last_Group_Lock)
|
||||
+#endif
|
||||
+ )
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
@@ -997,8 +1006,17 @@
|
||||
than passing in 0) to avoid crashes on German IRIX */
|
||||
char dummy[256];
|
||||
XLookupString (event, dummy, 200, &keysym, 0);
|
||||
- return (IsModifierKey (keysym) || keysym == XK_Mode_switch )
|
||||
- ? Qnil : x_keysym_to_emacs_keysym (keysym, simple_p);
|
||||
+ return (IsModifierKey (keysym)
|
||||
+#ifdef XK_Mode_switch
|
||||
+ || keysym == XK_Mode_switch
|
||||
+#endif
|
||||
+#ifdef XK_Num_Lock
|
||||
+ || keysym == XK_Num_Lock
|
||||
+#endif
|
||||
+#if defined XK_ISO_Lock && defined XK_ISO_Last_Group_Lock
|
||||
+ || (keysym >= XK_ISO_Lock && keysym <= XK_ISO_Last_Group_Lock)
|
||||
+#endif
|
||||
+ ) ? Qnil : x_keysym_to_emacs_keysym (keysym, simple_p);
|
||||
}
|
||||
#endif /* ! XIM_MOTIF */
|
||||
|
||||
@@ -1048,8 +1066,17 @@
|
||||
{
|
||||
case XLookupKeySym:
|
||||
case XLookupBoth:
|
||||
- return (IsModifierKey (keysym) || keysym == XK_Mode_switch )
|
||||
- ? Qnil : x_keysym_to_emacs_keysym (keysym, simple_p);
|
||||
+ return (IsModifierKey (keysym)
|
||||
+#ifdef XK_Mode_switch
|
||||
+ || keysym == XK_Mode_switch
|
||||
+#endif
|
||||
+#ifdef XK_Num_Lock
|
||||
+ || keysym == XK_Num_Lock
|
||||
+#endif
|
||||
+#if defined XK_ISO_Lock && defined XK_ISO_Last_Group_Lock
|
||||
+ || (keysym >= XK_ISO_Lock && keysym <= XK_ISO_Last_Group_Lock)
|
||||
+#endif
|
||||
+ ) ? Qnil : x_keysym_to_emacs_keysym (keysym, simple_p);
|
||||
|
||||
case XLookupChars:
|
||||
{
|
||||
diff -ru xemacs-21.5.20.orig/src/xintrinsic.h xemacs-21.5.20/src/xintrinsic.h
|
||||
--- xemacs-21.5.20.orig/src/xintrinsic.h 2001-04-12 20:24:30.000000000 +0200
|
||||
+++ xemacs-21.5.20/src/xintrinsic.h 2005-05-12 12:37:18.000000000 +0200
|
||||
@@ -22,6 +22,7 @@
|
||||
#ifndef INCLUDED_xintrinsic_h_
|
||||
#define INCLUDED_xintrinsic_h_
|
||||
|
||||
+#include <X11/keysym.h>
|
||||
#include <X11/Intrinsic.h>
|
||||
|
||||
#endif /* INCLUDED_xintrinsic_h_ */
|
31
xemacs-ptmx.dif
Normal file
31
xemacs-ptmx.dif
Normal file
@ -0,0 +1,31 @@
|
||||
diff -ru xemacs-21.5.20.orig/src/process-unix.c xemacs-21.5.20/src/process-unix.c
|
||||
--- xemacs-21.5.20.orig/src/process-unix.c 2005-02-04 05:06:34.000000000 +0100
|
||||
+++ xemacs-21.5.20/src/process-unix.c 2005-05-11 17:41:30.000000000 +0200
|
||||
@@ -236,12 +236,6 @@
|
||||
"/dev/ptmx_bsd" /* Tru64 */
|
||||
};
|
||||
|
||||
-#ifdef HAVE_GETPT /* glibc */
|
||||
- master_fd = getpt ();
|
||||
- if (master_fd >= 0)
|
||||
- goto have_master;
|
||||
-#endif /* HAVE_GETPT */
|
||||
-
|
||||
|
||||
#if defined(HAVE_OPENPTY) /* BSD, Tru64, glibc */
|
||||
{
|
||||
@@ -275,6 +269,13 @@
|
||||
goto have_slave_name;
|
||||
#endif /* HAVE__GETPTY */
|
||||
|
||||
+#ifdef HAVE_GETPT /* glibc */
|
||||
+ master_fd = getpt ();
|
||||
+ if (master_fd >= 0)
|
||||
+ goto have_master;
|
||||
+#endif /* HAVE_GETPT */
|
||||
+
|
||||
+
|
||||
/* Master clone devices are available on most systems */
|
||||
{
|
||||
int i;
|
||||
|
13
xemacs-vendor.patch
Normal file
13
xemacs-vendor.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff -ru xemacs-21.4.15.orig/lisp/x-init.el xemacs-21.4.15/lisp/x-init.el
|
||||
--- xemacs-21.4.15.orig/lisp/x-init.el 2001-04-12 20:21:40.000000000 +0200
|
||||
+++ xemacs-21.4.15/lisp/x-init.el 2004-09-28 17:16:55.881291820 +0200
|
||||
@@ -238,7 +238,8 @@
|
||||
(string-equal "X Consortium" vendor))
|
||||
;; Ok, we think this could be a Sun keyboard. Run the Sun code.
|
||||
(x-win-init-sun))
|
||||
- ((string-match "XFree86" vendor)
|
||||
+ ((or (string-match "XFree86" vendor)
|
||||
+ (string-match "The X.Org Foundation" vendor))
|
||||
;; Those XFree86 people do some weird keysym stuff, too.
|
||||
(x-win-init-xfree86)))))
|
||||
|
1202
xemacs.changes
Normal file
1202
xemacs.changes
Normal file
File diff suppressed because it is too large
Load Diff
1370
xemacs.patch
Normal file
1370
xemacs.patch
Normal file
File diff suppressed because it is too large
Load Diff
1251
xemacs.spec
Normal file
1251
xemacs.spec
Normal file
File diff suppressed because it is too large
Load Diff
31
xemacs.test
Normal file
31
xemacs.test
Normal file
@ -0,0 +1,31 @@
|
||||
Testform für xemacs
|
||||
===================
|
||||
|
||||
08.09.2000: Version 21.1.12
|
||||
Maintainer: werner
|
||||
|
||||
Vorraussetzungen:
|
||||
=================
|
||||
|
||||
X _und_ libz, libjpeg, libpng, libgbdm, libdb, libtiff sollten installiert sein.
|
||||
|
||||
Starten:
|
||||
========
|
||||
|
||||
xemacs
|
||||
xemacs -nw
|
||||
xemacs -q -vanilla
|
||||
xemacs -nw -q -vanilla
|
||||
als Editor von mailx/elm/pine ...
|
||||
|
||||
|
||||
Testen mit verschiedensten File-Typen (*.tex, man-pages.
|
||||
*.html, info-mode, gnus, rmail, ...)
|
||||
|
||||
Testen von pop-mail (?)
|
||||
|
||||
|
||||
Ergebnisse:
|
||||
===========
|
||||
|
||||
Hängt von der gewählten mode ab.
|
Loading…
Reference in New Issue
Block a user