The previous change to PLIST broke all platforms not NetBSD if built under
PKG_DEVELOPER=yes. The netbsd.h header will be present on all platforms,
so it needs to have a dedicated entry in PLIST (as it used to). The
LOWER_OPSYS variable is just wrong in this case.
Secondly, the dragonfly.h file was updated for the default compiler,
allowing this version of xemacs to build again.
alternative from mk/jpeg.buildlink3.mk
This allows selection of an alternative jpeg library (namely the x86 MMX,
SSE, SSE2 accelerated libjpeg-turbo) via JPEG_DEFAULT=libjpeg-turbo, and
follows the current standard model for alternatives (fam, motif, fuse etc).
The mechanical edits were applied via the following script:
#!/bin/sh
for d in */*; do
[ -d "$d" ] || continue
for i in "$d/"Makefile* "$d/"*.mk; do
case "$i" in *.orig|*"*"*) continue;; esac
out="$d/x"
sed -e 's;graphics/jpeg/buildlink3\.mk;mk/jpeg.buildlink3.mk;g' \
-e 's;BUILDLINK_PREFIX\.jpeg;JPEGBASE;g' \
< "$i" > "$out"
if cmp -s "$i" "$out"; then
rm -f "$out"
else
echo "Edited $i"
mv -f "$i" "$i.orig" && mv "$out" "$i"
fi
done
done
I tried to work in the manual PLIST changes.
Changes since 21.4.17 from the distribution ChangeLog:
2008-12-28 Vin Shelton <acs@xemacs.org>
* XEmacs 21.4.22 is released
* etc/photos/vin.png:
* etc/photos/vinm.png: Updated.
2007-10-07 Vin Shelton <acs@xemacs.org>
* XEmacs 21.4.21 is released
* modules/ldap/eldap.c: Declare that we use deprecated API.
Thanks to Mats Lidell <matsl@xemacs.org> for the report & patch:
<871wgnqunm.fsf@spencer.lidell.homelinux.net>.
2006-12-09 Vin Shelton <acs@xemacs.org>
* XEmacs 21.4.20 is released
* configure.in: Find relocated xpm library under cygwin.
Patch lifted from Rick Rankin's 21.5 version of the patch.
* PROBLEMS: X11R7 loses x11/bitmaps/gray.
* configure.in: Simplify cygwin include and nox/Xpm handling.
As of cygwin-1.5.19, 'gcc -print-file-name=libc.a' (effectively)
returns '/lib' instead of '/usr/lib', so we'll use
'gcc -print-search-dirs' instead.
2006-01-28 Vin Shelton <acs@xemacs.org>
* XEmacs 21.4.19 is released
* etc/package-index.LATEST.gpg: Updated with latest package data.
Merge from 21.5.
* configure.in: Fixed `LDAP_OPT_ON' libraries configuration
introduced in local 2005-03-13 change of `configure.in'. However,
do not check for internal `-lber' `ber_pvt_opt_on' symbol as done
in upstream. This symbol is not part of any published interface,
it may exist or not exist, depending on openldap version. Cryptic
comment before using it in upstream 21.5 source did not state
precisely under which circumstances checking for it was useful,
which sort of user code tried to link the symbol. So in local
21.5 dismissed both the code and the comment without writing a
cleaner equivalent.
* etc/NEWS: Document.
* etc/package-index.LATEST.gpg: Updated with latest package data.
* etc/OXYMORONS: insert 'Social Property' for 21.4.18.
* etc/NEWS: document motif deprecation and defaulting
--with-widgets to off.
* etc/PACKAGES: Fix description of xetla.
2005-12-03 Vin Shelton <acs@xemacs.org>
* XEmacs 21.4.18 is released
* etc/TUTORIAL.cs: copied from 21.5.
* etc/TUTORIAL.sl: copied from 21.5.
* configure.in: Merge revision 1.19 change: fix ldap libraries
configuration lossage when `-lldap -llber' links and but `-lldap'
does not; allow `ldap_libs' to be empty or overridden by builder.
The lossage was introduced in upstream revision 1.151.2.31
(2005/01/31 02:54:47 vins) by (extremely hasty and unwise) merge
of revision 1.232 change.
* etc/NEWS: Document it.
* configure.in (XE_COMPUTE_RUNPATH): Check XtRegisterDrawable
availability.
* etc/PACKAGES: etc/PACKAGES: Announce re-builder, xetla.
* configure.in: Avoid using Motif also for cygwin
* configure.in: Check for u_int*_t typedefs and use them in
Berkeley DB detection.
* etc/PACKAGES: etc/PACKAGES: Announce re-builder, xetla.
* configure.in: Remove -fno-gnu-linker option from Solaris
dynodump builds; it doesn't do anything.
Don't use 'head -1' - it's deprecated by coreutils-5.3.0 on some
platforms.
* etc/PACKAGES: Announce latin-euro-standards, update mule-base.
* etc/OXYMORONS: New list.
Noticed by Matthias Buelow via PR#31294.
Formerly, source part of xemacs is in no-prefix archive.
But now, it is in -src archive, and no-prefix archive contains all of them.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
Don't call pkg_info to get the installed Emacs version; always use the
version matching EMACS_TYPE set by users. Be DEPENDS to it. This should
address pkg/37146 by Aleksey Cheusov.
While here convert some emacs lisp packages to user-destdir.
editors/xemacs
editors/xemacs-nox11
The latter is now just editors/xemacs built with a specific set of
options. Changes include:
+ Add support for the following new options in options.mk:
x11 Support X11 displays
lucid Use Lucid widget set
Also add commented out support for the following options for
alternative widget sets:
gtk GTK widgets
motif Motif widgets
xaw Athena widgets
Note that USE_ATHENA, USE_GTK, and USE_MOTIF are legacy variables for
the corresponding options.
+ Remove Makefile.common and move all logic into xemacs/Makefile and
xemacs/options.mk.
+ Rename the "mule" PLIST variable to "canna", which more accurately
reflects what is conditionally installed.
+ Include termcap.buildlink3.mk to properly deal with termcap/curses
issues (xemacs needs termcap). Drop the --with-ncurses=no setting
as the issue is handled by termcap.buildlink3.mk.
+ In xemacs/Makefile, we don't need separate EXTRACT_ONLY and EXTRA_FILES
if we're actually going to extract all of those files all of the time.
Just list them all in DISTFILES.
+ Be slightly more aware of ${X11_TYPE} == "modular" by not referring to
${X11BASE} in that case.
+ In patch-ak, directly substitute the local value of etcdir (``../etc/'')
into src/Makefile.in.in. This allows for overriding etcdir via
INSTALL_MAKE_FLAGS at install-time so that destdir-style installation
will work.
+ 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 and xemacs-nox11 to 4. Both packages
now track and use the same PKGREVISION number.
packages with the modular Xorg equivalent. Those are falling back
to the old location by default, so this commmit doesn't change
dependencies.
graphics/xpm ==> x11/libXpm
fonts/Xft2 ==> x11/libXft
x11/Xfixes ==> x11/libXfixes
x11/xcursor ==> x11/libXcursor
x11/Xrender ==> x11/libXrender
x11/Xrandr ==> libXrandr
reading info files. Also strip the split info files from the PLIST
as the plist module handles them automatically. Lastly, define
INFO_FILES so that the pkginstall framework properly manages the "dir"
info file database index in the xemacs info directory.
Bump the PKGREVISION.