Commit graph

44 commits

Author SHA1 Message Date
hauke
a1b641145c Use gtar instead of the base tar(1) in the xemacs* top-level Makefile
because of a problem with NetBSD-current libarchive-as-tar, see bin/56080.

Note this depencency is not a burden, since xemacs-packages requires
gtar, anyway.
2021-03-28 10:36:33 +00:00
hauke
3a0fa7572a Linux glibc 2.32+ has removed sys_siglist
Remove stale reference to nb version in Makefile.common
2020-10-02 11:31:14 +00:00
hauke
189a55e704 Un-lose the patch comment -- sigh. 2019-11-27 15:11:45 +00:00
hauke
67c8efdc2a I didn't mean to drop _XOPEN_SOURCE_EXTENDED definition, sorry. 2019-11-27 14:48:36 +00:00
hauke
91d9d21384 For Solarish, select _XOPEN_SOURCE version depending on __STDC_VERSION__,
see <https://gist.github.com/jperkin/b08f9108daf8d0ac695067d71f882a9d>
2019-11-27 14:35:16 +00:00
hauke
ce18c94470 Fix comments.
Augment debug option arguments.

Explicitly select garbage collector.

Set dialogs and widgets to "athena" explicitly.
There are no "lucid" implementations; instead, configure will look for
Motif implementations, and fall back to Athena. The former is prone to
sneak in undeclared dependencies on Motif and (on sole platforms) xft.

Remove the patch that was supposed to fix this, but didn't.
2018-12-19 13:41:45 +00:00
hauke
0a9617494f On some target platforms, Xm headers #define *_XFT_ symbols; if we do
not use xft (the default), explicitly disable it.
2018-01-30 11:47:39 +00:00
hauke
9fd27da5b1 The standards.info provided by XEmacs conflicts with the one installed
by devel/autoconf, which is probably newer.
2017-11-17 13:06:03 +00:00
hauke
e7d453ae52 Unbreak SunOS builds (here: OmniOS). 2017-11-16 15:07:04 +00:00
hauke
a3047cd8c7 Upgrade to XEmacs 21.5.34
Don't try to define max_align_t in C11 or C++11 mode.

Regen patch.
2017-11-15 15:04:25 +00:00
hauke
61bf4ad6b1 Upgrade to XEmacs 21.5.34
Obsolete, fixed upstream
2017-11-15 15:02:19 +00:00
hauke
22e4134efc Upgrade to XEmacs 21.5.34
Deal with bulk build namespace intrusion.

Was patch-an
2017-11-15 15:01:36 +00:00
hauke
dfa0987600 Upgrade to XEmacs 21.5.34
Obsolete, fixed upstream
2017-11-15 15:00:38 +00:00
hauke
ae4bfc4697 Upgrade to XEmacs 21.5.34
Deal with a difference between bmake and gmake in using $< in a
makefile target

Was patch-al
2017-11-15 14:59:55 +00:00
hauke
dc63b914c0 Upgrade to XEmacs 21.5.34
Prefer NAME_MAX over MAXNAMLEN, if available

Was patch-ak
2017-11-15 14:58:53 +00:00
hauke
61d1bd49c5 Upgrade to XEmacs 21.5.34
Fix build on DragonFly

Was patch-aj
2017-11-15 14:57:58 +00:00
hauke
fa9ed486bb Upgrade to XEmacs 21.5.34
Obsolete, change is in upstream
2017-11-15 14:57:09 +00:00
hauke
429fe8900f Upgrade to XEmacs 21.5.34
Obsolete, CANNA v1 was de-supported in 2007
2017-11-15 14:56:25 +00:00
hauke
331e31acde Upgrade to XEmacs 21.5.34
Obsolete, the file is #included, and the including file
should import the required headers
2017-11-15 14:55:35 +00:00
hauke
bd6f4df119 Upgrade to XEmacs 21.5.34
Obsolete, gtk support does not build, and is
subject to re-work upstream
2017-11-15 14:54:56 +00:00
hauke
d22ffd1d35 Upgrade to XEmacs 21.5.34
Obsolete, src/unexfreebsd.c is gone
2017-11-15 14:54:09 +00:00
hauke
b8ec288ea2 Upgrade to XEmacs 21.5.34
Enhance ELF macros to deal with 32/64 bit arches
Special-case alpha

Was patch-ad
2017-11-15 14:53:27 +00:00
hauke
ff0b8b5c73 Upgrade to XEmacs 21.5.34
Install internal build scripts as scripts
Prefix {c,e}tags to avoid conflicts

Was patch-ac
2017-11-15 14:52:02 +00:00
hauke
2f0eb9a5f6 Upgrade to XEmacs 21.5.34
Add POSIX syntax for passing ld(1) options through the
compiler front end

NetBSD machine settings are gone
Other patches are in upstream

Was patch-ab
2017-11-15 14:50:50 +00:00
hauke
395402daae Upgrade to XEmacs 21.5.34
Prefix {c,e}tags to avoid conflicts.

Was patch-aa
2017-11-15 14:49:32 +00:00
joerg
b59e1a3910 Don't try to define max_align_t in C11 or C++11 mode. 2016-03-26 23:26:14 +00:00
joerg
b3be13b851 Fix inverted condition. 2016-01-29 15:46:48 +00:00
joerg
28419fa645 Fix 6 year+ old type in configure by adding missing hyphen for -Wl,-R.
Fix main declaration for X11 test.
Always use C++ and C99 compatible inline specifier.
2012-12-21 15:06:31 +00:00
hauke
e7b4ba9f79 Fix CVE-2009-2688, via <https://bugzilla.redhat.com/show_bug.cgi?id=511994>
Note xemacs 21.5 still dumps core during the build.
2012-04-27 14:37:37 +00:00
wiz
d11d298094 Add patch that should fix build with png-1.5. 2011-04-01 13:00:32 +00:00
joerg
ba74763b94 Fix the mysterious bulk build failure (temacs can only run in batch mode). 2009-12-29 21:51:00 +00:00
tonnerre
2d98fbf446 Fix vcdiff insecure temp file creation vulnerability (CVE-2008-1694) for
xemacs-current as well.
2008-05-04 22:27:07 +00:00
jlam
98886c197a Restructure the following packages:
editors/xemacs-current
	editors/xemacs-current-nox11

The latter is now just editors/xemacs-current built with a specific set
of options.  Changes include:

+ Rename the "xaw" option to "lucid" to match the option name used in
  xemacs/options.mk.  Also comment out the "esound" option which isn't
  fully supported yet.  Add some comments to the options.mk file to
  make it a little easier to understand.

  XXX Should probably add a pgsql option as this version of XEmacs has
  XXX some sort of PostgreSQL support.  Also need to sort out native
  XXX sound support.

+ Remove Makefile.common and move all logic into xemacs-current/Makefile
  and xemacs-current/options.mk.

+ As of version 21.5, xemacs switched to using GNU autoconf, so set
  GNU_CONFIGURE=yes.

+ Include termcap.buildlink3.mk to properly deal with termcap/curses
  issues (xemacs needs termcap).  Drop the --without-ncurses setting
  as the issue is handled by termcap.buildlink3.mk.

+ Be slightly more aware of ${X11_TYPE} == "modular" by not referring to
  ${X11BASE} in that case.

+ Include buildlink3.mk files for zlib and gettext, which are detected
  automatically if they're in the base system.  Gettext is needed for
  MULE support.

+ In the Makefile and the PLIST, don't substitute for ${EMACSVER}.
  Instead substitute for ${DISTNAME} so the PLIST looks closer to
  xemacs/PLIST.

+ Add patch-al which handles a difference between bmake and gmake in
  using $< in a makefile target.

+ Support DESTDIR installation by adding INSTALL_MAKE_FLAGS to override
  where files are installed during the install phase.

+ Honor PKGMANDIR.

+ Bump the PKGREVISION for xemacs-current and xemacs-current-nox11 to 1.
  Both packages now track and use the same PKGREVISION number.
2008-04-24 21:32:47 +00:00
joerg
d8042a721f Fix build on DragonFly. 2007-06-30 17:59:03 +00:00
rillig
e0461a6624 Fixed "test ==". 2006-10-14 02:18:37 +00:00
martin
a1fbef7957 Update to 21.5.27.
This fixes PR 34197.
2006-09-04 09:20:51 +00:00
magick
2a0c9d7deb Update xemacs-current from 21.5.18 to 21.5.19
From the ChangeLog:

*          XEmacs 21.5.19 "chives" is released.
      "chives" is the twentieth in the VEGETABLE series.


Relative to XEmacs 21.5.18 "chestnut", "chives" includes a large
number of minor enhancements and work-in-progress.  Some important or
annoying bugs have been fixed:

  - The lstream data truncation bug (often observed as truncated emails
    or truncated process input in buffers) has been identified and
    fixed, we believe (hard to test).

  - The bug where process output insertion replaced the whole buffer,
    rather than just the region, has been fixed.

  - The "Metacity maximize" bug (which was XEmacs's fault, not the
    window manager's) has been fixed.

Known remaining bugs include:

  - Aborts due to recursive entry to the allocation code from error
    handlers.  Workaround: avoid getting the memory full warnings (at
    75% and 95% of memory space).

  - A regression test failure in no-Mule builds.  Workaround: don't
    run the c-tests.el series when running tests.  (Simply move
    tests/automated/c-tests.el out of the way.)

Currently fairly stable, this seems to be a good point to release a
beta as a checkpoint.  At the user level the most visible changes are
extension of the "behavior" mechanism for enabling and disabling
features, and a major reorganization of the documentation in the
source tree.  For behaviors, see the Options->Behaviors submenu.

The source documentation changes include

   At top level,
      README has been gutted, with most content moved to the FAQ.
      BUGS and README.packages were removed, with much of their content
      moved to the FAQ.
      GETTING.GNU.SOFTWARE was removed.

   In etc,
      BETA, CHARSETS, CODING-STANDARDS, CODINGS, DEBUG, DISTRIB, MACHINES,
      and PACKAGES were removed, with most content moved to various Texinfo
      documents.
      FTP, GNU, LPF, MAILINGLISTS MORE.STUFF, MOTIVATION, ORDERS,
      ORDERS.EUROPE, ORDERS.JAPAN, README.HYPERBOLE, README.OO-BROWSER,
      SERVICE, and TERMS were removed.

   PROBLEMS and etc/README were revised.

For developers, the following important internal API changes occurred.

  - Initialization code (called from emacs.c:main_1()) has been
    refactored.  See the ChangeLog (2004-10-27, Ben Wing) for details.

  - The GCPRO API has been refactored.  See the ChangeLog (2004-10-27,
    Ben Wing) for details.  (Yes, it was a megapatch: same log entry.)

For more detailed information, there is a list of credits, and then
the full ChangeLogs, following the availability information.

For general information about XEmacs, the developers, and the user
community, see our home page,

		       http://www.xemacs.org/
2005-03-02 22:05:19 +00:00
magick
355b847d04 Make this package build again:
Remove esound-support from options.mk until i find the reason why
libossaudio is not used.
Fix canna-support with a patch from Thomas Klausner. Thanks.
2005-01-22 13:03:06 +00:00
magick
6c8bc33728 Update xemacs-current to 21.5.18
From the Releasenotes:
Relative to XEmacs 21.5.17 "chayote", "chestnut" has Jerry James's new
bignum support.  You can now keep track of the U.S. national debt to
the penny, or count to Avogadro's number by ones!  Speaking of really
big numbers, Malcolm Purvis has one in mind: "two".  To GTK+ fans,
that's an awfully big number.  It's not here yet, but Malcolm has put
in a lot of patches, and a port to GTK+ v2 could start soon.  Jerry
James has started using the Uno code checker to clean up unused
variables and other ugliness.  Completion of the portable dumper
project is in sight, as Olivier Galibert has contributed code to
attach the dumpfile to the executable.

A large number of contributors have provided the usual assortment of
bug fixes and feature additions, small and large.
2004-11-25 18:09:06 +00:00
martin
07fcc79f3d Make it compile with XEMACS_WIDGETS=gtk. 2003-04-23 22:54:42 +00:00
salo
235ccbe101 s/INSTALL_*/BSD_INSTALL_*/ in patches, remove unnecessary MAKE_ENV. 2003-01-19 06:52:54 +00:00
uebayasi
8dd26b153e Update to XEmacs 21.5.10, "burdock".
Changes excerpted from ${WRKSRC}/CHANGES-beta.

---

Lots of updates from Ben Wing (as always), also from Andy Piper, Mike
Sperber, and Stephen Turnbull with lots of documentation updates and
fixes.  One new exciting addition in this release is that the LDAP and
PostgreSQL code has been extracted out of the core C code and moved to
DSO's.  We have Jerry James to thank/blame/worship for that.

Build

-- Reset sheap-adjustment to zero - Piper.
-- Make --pdump default to yes on Linux - Turnbull.
-- Only use -Wpacked in GCC v3 - Wing.
-- Remove LISP_FLOAT_TYPE definition. - James.
-- Temporarily disable DSO's under Cygwin - Wing.
-- Updates to DSO building code (Makefile.in, configure.in etc) - Wing, James.
-- Separate compiler warning flags from CFLAGS - Wing.
-- Delete auto-autoloads.e* & custom-load.e* on 'make clean' - Turnbull.
-- Disable detection of 'getaddrinfo' for HP-UX 11.XX - Turnbull.
-- Include modules directories in 'make tags' - Youngs.
-- Fix shadowing warnings in make-docfile.c - Wing.
-- Move the common stuff from postgresql/ldap Makefile.in.in &
     configure.ac's into a "common" Makefile and configure script -
     Wing.
-- Major cleanup of ellcc - Wing, James.
-- Add Makefile var to pick up '--site-libraries' in DSO's - Youngs.
-- Avoid unnecessary deviations from UNIX 'describe-installation' in
     xemacs.mak - Aichner.
-- Don't confirm overwriting files in xemacs.mak - Aichner.
-- Support 'xemacs_extra_name' in xemacs.mak - Aichner.
-- Some gcc/g++ 3 fixes - Wing.
-- Warning fixes - Wing.
-- Fix some C++ errors - Wing.
-- Allow for C needing volatile and C++ that can't have volatile,
     remove previous volatile hacks - Wing.
-- Try for a working Cygwin build with old unexec - Wing.
-- Warning suppression - Turnbull.
-- New Mule character class regexp tests - Turnbull, Ueno.
-- Better handling of known bugs in tests - Turnbull.
-- Add test for stale subexpr match-data - Turnbull.
-- Update syntax-table tests - Turnbull.
-- Add word-boundary regexp tests - Turnbull.

Documentation

-- Updates to PROBLEMS file
	Running/Linux - Lesstif 0.93.36 - Turnbull
	Running/IRIX - Irix 6.5 coredumps - Turnbull
	Running/Cygwin - "No cygXpm-noX" fatal error - Turnbull
	Missing charsets - Remove ambiguity - Turnbull
	Running, General - FontSet warnings - Turnbull
	MacOS/X - Stack limitation - Turnbull
	Digital Unix - Generalise - Turnbull
	AIX - USE_KKCC lossage - Turnbull.
-- Update instructions in info/dir - Wallington.
-- Recommend TeXinfo 4.2 in INSTALL - Turnbull.
-- Add example in sample.Xdefaults - Boffi.
-- Typo fixes - Yamaoka, Youngs, Turnbull, Wing.
-- Docstring fixes - Turnbull, Piper, Skyttä, Wing.
-- Update description of XEmacs Patches and Design ML's - Turnbull.
-- Incorportate ChangeLog.X into ChangeLog - Wing.
-- FAQ additions/amendments:
	Debugging FAQ improvements - Wing.
	Mention union type bugs - Turnbull.
	Debugging HOWTO improvements - Turnbull.
	Decoding Lisp objects in the debugger - Turnbull.
	Fix location of FAQ on website - Skyttä.
	Add missing menu entry for Q3.2.7 - Verna.
	Displaying non-ASCII - Turnbull.
	Mention bug report commands - Turnbull.
	Revise Q1.3.[1-6] - Turnbull.
	New FAQ for "no cygXpm-noX" fatal error - Turnbull.
-- New TeXinfo nodes:
	"Widget Internals" - Turnbull.
	"Simple Specifier Usage" - Turnbull.
	"Compilation Options" - Turnbull.
-- Document charset Unification and Tables - Turnbull.
-- Better short description of Mule in Mule submenu - Turnbull.
-- Regression Testing XEmacs design hints & rewrite - Turnbull.
-- Document 'face-frob-from-locale-first' - Golubev.
-- Document 'set-face-background-pixmap-file' - Verna.
-- Add urefs to Doug Lea's * Wolfram Gloger's home pages in "Low-Level
     Modules" - Turnbull.
-- Update "Available Packages" - Skyttä.
-- Document 'append' arg of 'add-to-list' - Skyttä.
-- Add optimisation hints in "Techniques for XEmacs Developers" - Turnbull.

Internals

-- Add *menubar*FontSet and *popup*FontSet entries - Turnbull, Skyttä.
-- Extract ldap and postgresql code from core and put them into DSO's - James.
-- 'Fset_window_point' Correct to GNU/Emacs behaviour (fixes some bugs
     in Gnus) - Wing.
-- Inhibit GC in critical sections - Wing.
-- Fix calculation in 'report_sheap_usage' - Piper.
-- Implement and use new var 'garbage_collection_messages' - Wallington.
-- Fix 'open_database' for Berkeley DB 4.1.x - Allen.
-- Updates to frame code - Sperber.
-- Change C debugger entrance: error message, then stack trace, then
     exiting message, then force debugger - Wing.
-- Use EQ not EQUAL in 'mswindows_init_frame_1' - Wing.
-- Better redisplay-related asserts - Wing.
-- Don't generate large warning strings when they'll be discarded - Wing.
-- Implement 'debug-on-error' as documented - Wing.
-- Fix docs relating to QUIT which can't GC under any circumstances - Wing.
-- More robust package compilation and debugging - Wing.
-- Overhaul profile code - Wing.
-- Fix crashes due to incorrectly ported GNU/Emacs code - Wing.
-- Clean up realpath.c - Wing.
-- DdeCreateStringHandle needs to be manual due to new Cygwin bug - Wing.
-- Fix some Cygwin complaints - Wing.
-- Unconditionally use LISP_FLOAT_TYPE code - James.
-- Improve crash message in 'shut_down_emacs' - Turnbull.
-- Update NAS code for NAS 1.6 and later - Toy.
-- Fix "unused variable" warnings in mule-canna.c - Turnbull.
-- Prototype 'enqueue_focus_event' - Turnbull.
-- Use BORDER_FIDDLE_FACTOR instead of 10 in 'layout_layout' - Piper.
-- Add optional 'noerror' arg to 'Frequire' - Wallington.
-- Only resize 'layout_query_geometry' dynamically if static sizes
     haven't been set - Piper.
-- Fix infloop upon a gdm logout - Sigelman.
-- Fix scope of 'num_nonshy_regs' - Turnbull.
-- Fix "stale match data" bug - Turnbull.
-- Don't call 'XtDisplay' on a destroyed widget - Golubev.
-- Update specifier code - Sperber.
-- Update process code - Sperber.
-- Move ldap/postgresql code out to DSO's - James.
-- Normalise Ffile_truename and drive spec on cygwing to win32 format
     - Piper.
-- Use 'closesocket' instead of 'CloseHandle' in 'winsock_closer' - Alexander.
-- Coding system updates - Ikiuo.

Lisp API

-- Update window-xemacs.el to fix 'goto-line' - Wing.
-- Add garbage collection messages - Wallington.
-- Re-implement window configurations in Emacs Lisp - Sperber.
-- Enhance background-pixmap-file code - Verna.
-- New macro 'save-window-excursion' to eventually replace bytecode
     instruction - Sperber.
-- Move window.el et al up the order in dumped-lisp.el - Sperber.
-- Don't use 'save-window-excursion' in
     'shrink-window-if-larger-than-buffer' - Sperber.
-- Updates to pixel-size code in dialog.el - Sperber.
-- Remove nonworking 'breakpoint-on-error' - Wing.
-- Extract out 'with-displaying-help-buffer' into a more general mechanism
     - Wing.
-- Don't catch errors when noninteractive in startup.el - Wing.
-- Fix warnings in code-files.el, loadhist.el, & package-get.el - Wing.
-- Simplify code in '*-reset-device-font-menus' - James.
-- Synch font-menu.el to the 21.4 version - Turnbull.
-- Preserve return value from 'call-process' - Sperber.
-- New functions in replace.el that operate on regions - Evans.
-- Run 'delete-frame-hook' in general dialogs only - Piper.
-- Add a margin parameter in autoload.el for DSO autoloads - James.
-- Conditionalise autoloads for DSO's on the existence of the DSO - James.
-- Always set module directories/paths in dump-paths.el - James.
-- Bring list of package sites up to date - Skyttä.
-- Add "Find Variable" menu entry for 'hyper-apropos-find-variable' -
     Wallington
-- Fix 'view-lossage' interactive spec - Wallington.
-- Synch 'with-output-to-string' with GNU/Emacs 21 - Wallington.
-- Bind C-xrd to 'delete-rectangle' - Yamaoka.
-- Move entries in 'auto-mode-alist' out to packages for the modes
     that are in packages - Skyttä
-- New compatible alias for 'lookup-syntax-properties'
     ('parse-sexp-lookup-properties') - Turnbull.
-- Enable C autoloads for DSO's - James.
-- Update revert-buffer code - Piper.
-- Add new coding system 'utf-8-bom' - Ikiuo.
2003-01-18 05:45:42 +00:00
magick
e5991cdbb8 Update xemacs-current to 21.5.9
Changes since 21.5.5 are too many to list here. Please consult www.xemacs.org
for details. There have been mainly hundreds of bug fixes and work has been
done on a new garbage collector which isn't enabled yet. Nothing exitingly
new has been added as far as i know. Mainly internal rework.
2002-10-06 11:40:07 +00:00
magick
a2059564c3 Initial import of XEmacs 21.5.5
This is the *BETA* developement line of XEmacs so handle with care.
This package is based on pkg/14132 contributed by Eric Gillespie Jr.
Most notable change to the release is the possibility to compile
xemacs with gtk+. Set XEMACS_WIDGETS accordingly in your mk.conf
Possible values are:
lucid (default)
gtk
gnome
motif
2002-03-24 19:40:29 +00:00