Commit graph

87 commits

Author SHA1 Message Date
joerg
7fdde28ea5 Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 18:48:07 +00:00
joerg
bacea7cad5 Remove @dirrm entries from PLISTs 2009-06-14 17:48:39 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
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.
2009-03-20 19:23:50 +00:00
wiz
285b7dd776 Bump PKGREVISION for libXaw API depends bump due to libXaw8 removal. 2008-11-10 17:21:33 +00:00
uebayasi
34004f51e0 Move mk/emacs.mk to editors/emacs/modules.mk.
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.
2008-10-11 09:31:54 +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
dan
4b7a95c785 long-overdue commit of an option to enable xft anti-aliased fonts
ok uebayasi@
2007-11-13 04:10:09 +00:00
dan
89344a486b make paths relative to ${.CURDIR}
per request from uebayasi@
2007-11-13 04:07:42 +00:00
uebayasi
3f0652c3f9 Support XEmacs 21.5.x without X too. 2007-11-12 01:48:47 +00:00
uebayasi
75635c82f9 Initial addition of buildlink3.mk fragments for Emacs / XEmacs programs. 2007-10-29 12:40:02 +00:00
joerg
d8042a721f Fix build on DragonFly. 2007-06-30 17:59:03 +00:00
wiz
8f972c112d Desupport gnome1 option. 2007-05-20 17:20:25 +00:00
obache
55b113c2b2 Variable `EMACSVERSION' used but not defined. 2006-12-23 16:16:40 +00:00
wiz
c128b26ba2 CHECK_WRKREF_SKIP wants a relative path nowadays. 2006-12-19 18:21:10 +00:00
rillig
3bde06ab4e The emacs binary may have the build path embedded. 2006-10-24 08:48:36 +00:00
rillig
e0461a6624 Fixed "test ==". 2006-10-14 02:18:37 +00:00
obache
bb1584e095 Add some missing entry. 2006-09-30 12:25:39 +00:00
obache
db343a1947 Some forgotten renumbering 19->27. 2006-09-30 12:24:45 +00:00
tron
0d9e9ca332 Remove Mario Kemper as maintainer of these package on his request. 2006-09-06 15:38:32 +00:00
martin
a1fbef7957 Update to 21.5.27.
This fixes PR 34197.
2006-09-04 09:20:51 +00:00
martin
5d5c91136e Add debug option 2006-08-14 14:22:23 +00:00
ghen
2eca3d9f2c The databases/openldap package has been split in -client and -server component
packages.  Convert LDAP-based applications to depend on openldap-client, and
bump PKGREVISION for those that depend on it by default.
2006-05-31 18:22:23 +00:00
wiz
02f8f7c52d Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update. 2006-04-17 13:45:57 +00:00
jlam
e10b319ed7 Fix xemacs packages to honor PKGINFODIR in the default INFOPATH when
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.
2006-03-20 18:21:29 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
joerg
6e4a0dd799 Bump all motif packages for recent openmotif update. The major version
of the shared libXm has changed.
2005-12-12 21:36:54 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
2005-06-01 18:02:37 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +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
agc
01907502f3 Add RMD160 digests in addition to the SHA1 ones. 2005-02-23 17:15:09 +00:00
minskim
7239360b44 xemacs and gnuserv have many common files in PLIST. Make them
conflict.

Bump PKGREVISIONs.
2005-01-31 00:10:12 +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
reed
e117eda090 Bump PKGREVISIONs due to libtiff update.
Some BUILDLINK_RECOMMENDED bumps done also.

(If I missed any, please let me know -- and let me know a good
way to automate this.)
2004-12-28 23:18:15 +00:00
wiz
d502237fcc Fix typo in PKG_SUPPORTED_OPTIONS. 2004-12-28 15:45:12 +00:00
jlam
650b62997d Remove support for some variables that are supposed to go away after
pkgsrc-2004Q4 is branched.
2004-12-22 21:46:24 +00:00
xtraeme
a912ea5470 Convert to use bsd.options.mk, the following options are available:
esound ldap xface canna

# XXX Support for the following variables will be removed after the
# XXX pkgsrc-2004Q4 branch is released:
# XXX
# XXX USE_OPENLDAP
# XXX USE_XFACE
# XXX XEMACS_ESD
# XXX XEMACS_USE_CANNA
2004-11-25 21:42:59 +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
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
cube
536a13d16b USE_LDAP -> USE_OPENLDAP 2004-04-21 20:50:41 +00:00
xtraeme
6cfe5f95ad bl3ify 2004-04-12 15:14:55 +00:00
magick
12ff70405b Update xemacs to 21.5.17:
*          XEmacs 21.5.17 "chayote" is released.
      "chayote" is the eighteenth in the OXYMORON series.


The main purpose of the "chayote" release is to provide a checkpoint
before upcoming major changes.  Bignum (infinite precision integer)
support and Xft (including antialiasing) support are expected to be
added in the near future.

Relative to XEmacs 21.5.16 "celeriac", "chayote" has many improvements
in module support from Jerry James, and improved package management
from Steve Youngs.  Steve Youngs also ported the "lazy" widget support
from GNU Emacs 21.3, and Jerry James synched frame and window support.
A number of annoying crashes in GTK, in X11 dialogs, and in the
bytecode interpreter were fixed, but several crashes remain.
2004-04-04 16:12:01 +00:00
minskim
a26fbaedb6 Use XEMACS_USE_CANNA instead of EMACS_CANNA for consistency, and add
it to BUILD_DEFS.  Approved by uebayasi@.
2004-02-09 07:16:13 +00:00
jlam
3ac2d4b8aa In the new compiler selection framework, GCC_REQD is appended to, not
overridden.
2004-02-01 01:43:28 +00:00
kristerw
e07880e51a Use GCC_REQD instead of USE_PKGSRC_GCC when overriding the compiler
for arm, so that we don't need to install the gcc package(s) on
machines that already have a working compiler in their /usr/bin.
2004-01-25 12:44:34 +00:00
magick
654d9d212b Disable sound support as proposed by Martin Husemann to make xemacs compile
under -current, until i found out why it suddenly fails.
2004-01-14 16:50:19 +00:00
reed
6d9af8d68d Bump package revisions for tiff update.
Tiff is backward compatible, but was broken on amd64 platform
so this makes sure new tiff is used.
2004-01-03 18:49:33 +00:00
magick
71ceb282c9 Update xemacs to 21.5.16
As usual many small bugfixes. Details are on
http://www.xemacs.org/Releases/21.5.16.html
2003-12-03 00:50:34 +00:00