Commit graph

155 commits

Author SHA1 Message Date
hauke
de900cd164 Fix CVE-2009-2688, via <https://bugzilla.redhat.com/show_bug.cgi?id=511994> 2012-04-27 13:53:46 +00:00
hauke
9f7c0bb227 Like emacs21, #define TERMINFO for NetBSD >= 6.
Fixes PR lib/46366 - thanks to dholland for the hint.
2012-04-25 11:56:42 +00:00
wiz
3e5aee20cf Revbump for
a) tiff update to 4.0 (shlib major change)
b) glib2 update 2.30.2 (adds libffi dependency to buildlink3.mk)

Enjoy.
2012-02-06 12:39:49 +00:00
sbd
ec681430da Recursive dependency bump for databases/gdbm ABI_DEPENDS change. 2012-01-24 09:10:50 +00:00
hauke
3e1e7e4a90 PowerPC, building with -O2 optimisation with GCC (on netbsd-5,
at least) results in 'xemacs -vanilla' dumping core.
Lower optimisation as a workaround, until GCC is fixed.
2011-12-11 15:32:53 +00:00
marino
aa18b90f3d editors/xemacs: Fix all non-NetBSD platforms
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.
2011-12-08 20:43:28 +00:00
obache
0b8aa0f6a3 Recursive bump from gdbm shlib bump. 2011-08-23 13:06:45 +00:00
obache
51d76b29e2 recursive bump from gettext-lib shlib bump. 2011-04-22 14:40:40 +00:00
tnn
80b26e9da6 png-1.5 build fix 2011-01-19 16:04:00 +00:00
wiz
fcc0b5fda0 png shlib name changed for png>=1.5.0, so bump PKGREVISIONs. 2011-01-13 13:53:23 +00:00
dsainty
ada744dc0a Mechanically replace references to graphics/jpeg with the suitable
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
2010-12-23 11:44:24 +00:00
hauke
62a90292f4 Taking maintainership, after an offer from Masao Uebayasi. 2010-12-17 16:47:32 +00:00
hauke
da0b1b3f00 Update XEmacs package to 21.4.22
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.
2010-12-16 17:45:12 +00:00
obache
bfa30968e5 Remove -elc and -info archive from DISTFILES.
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.
2010-09-21 02:34:12 +00:00
dholland
4e6f35650d Needs revbump for png update. 2010-06-14 10:32:24 +00:00
dholland
476ec4da2f revbump for jpeg-8, apparently got missed. 2010-01-24 00:17:56 +00:00
joerg
19e5a70fb6 Don't leak the buildlink directories into the final program. I can't
find a good reason why they are used here, so don't use them.
2009-11-09 14:09:41 +00:00
sno
949cd3bc1f bump revision because of graphics/jpeg update 2009-08-26 19:56:37 +00:00
joerg
4c1883bce8 Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 18:48:07 +00:00
joerg
26e3ffdae1 Remove @dirrm entries from PLISTs 2009-06-14 17:48:39 +00:00
hasso
cefd367247 Make it build on DragonFly master. 2009-04-30 17:22:06 +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
obache
7e5e3d9048 Fix build with gcc41 on DragonFly BSD.
xemacs part of PR pkg/38633 from Hasso Tepper.
2008-07-01 13:24:34 +00:00
tonnerre
c4b9959536 Fix xemacs vcdiff insecure temp file creation vulnerability (CVE-2008-1694).
Approved-by: joerg
2008-04-29 14:07:15 +00:00
tron
eff85e5ea3 Fix inverted test for compressing the ".el" files. 2008-04-25 17:58:24 +00:00
jlam
6c38cf1c63 Be slightly more clever about setting MASTER_SITES so we don't need to
hardcode a portion of the version number.
2008-04-24 15:37:00 +00:00
jlam
289bec6913 No need to mention the website directly... it's automatically added
by pkgsrc infrastructure.
2008-04-24 15:33:12 +00:00
jlam
9cde120028 Restructure the following packages:
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.
2008-04-24 15:32:15 +00:00
jlam
841dfa0e7a Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
2008-04-12 22:42:57 +00:00
uebayasi
75635c82f9 Initial addition of buildlink3.mk fragments for Emacs / XEmacs programs. 2007-10-29 12:40:02 +00:00
joerg
ddc67390fa Fix build on DragonFly 1.8+ 2007-04-20 15:05:22 +00:00
joerg
b82df59364 Kill some obscure magic which doesn't seem to make sense.
xemacs-packages doesn't really need x11.b3.mk.
2007-02-19 20:17:21 +00:00
joerg
8e6d74c120 Add DragonFly and modular Xorg support. 2007-02-15 14:27:48 +00:00
joerg
58c3144236 Mechanically replace all includes of buildlink3.mk of the following
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
2006-12-15 20:32:52 +00:00
wiz
3c075b9609 CHECK_WRKREF_SKIP paths seem to relative to ${PREFIX} now, adapt. 2006-11-03 07:01:42 +00:00
markd
a90778d824 The package xemacs conflicts with is called gnuserv not gnuclient. 2006-07-07 01:31:42 +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
jlam
6ad6aef9d4 Replace references to ossaudio.buildlink3.mk with oss.buildlink3.mk.
Remove deprecated ossaudio.buildlink3.mk.
2006-03-09 21:04:39 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +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
rillig
09790e487c Append things to CONFIGURE_ARGS instead of overwriting them. Found by
pkglint.
2005-10-23 14:16:46 +00:00
jlam
bf9129c41e Drop distinction between PKGSRC_USE_TOOLS and USE_TOOLS by making
PKGSRC_USE_TOOLS go away.  There is now only a single USE_TOOLS variable
that specifies all of the tools we need to build/run the package.
2005-07-15 18:27:48 +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
jlam
7425b543e8 Note that gtar is required by the package. 2005-05-16 01:15:30 +00:00
magick
3801d08ec2 Xemacs and Xemacs-nox11 share the same PLIST but netbsd-x11 doesn't
install mule-x-init.elc which breaks "make package"
Fix this by uncommenting the entry for mule-x-init.elc in the
nox11 package as suggested by the submitter of pr 30020.
This fixes pr 30020
2005-04-25 17:23:50 +00:00