Commit graph

67 commits

Author SHA1 Message Date
Yasuhiro Kimura
164249e867 editors/emacs: Update to 28.2
* Remove FCITXPATCH option as extra-patch-src_xfns.c can't be applied
  since 28.1.
* Tidy up Makefile with portfmt.
* Bump PORTREVISION of consumers.

ChangeLog:	https://www.gnu.org/software/emacs/news/NEWS.28.2

PR:		266454
Exp-run by:	antoine
Reviewed by:	ashish, jrm
Differential Revision:	https://reviews.freebsd.org/D36613
2022-09-21 16:48:19 +09:00
Joseph Mingrone
4c42925142 editors/emacs: Update to 27.2
This is a bug-fix release with no new features.

https://www.gnu.org/software/emacs/news/NEWS.27.2

Reviewed by:	ashish
Differential Revision:	https://reviews.freebsd.org/D27700
2021-03-26 00:40:44 +00:00
Ashish SHUKLA
d2ccb94ddd - Add a patch to make Emacs' TRAMP mode work with 12-STABLE,
and 13-CURRENT remote hosts

PR:		243807
Submitted by:	Yuichiro NAITO <nairo dot yuichiro at gmail dot com>
Reported by:	John F. Carr <jfc at mit dot edu>
2020-08-03 18:21:18 +00:00
Jan Beich
b5f5bf6f03 editors/emacs: backport 24-bit color fix for tty mode
libncurses in base system only supports termcap(5). RGB has 3 colors
but termcap(5) supports at most 2 arguments e.g.,

  $ export TERMCAP="${TERM}:Co#0x1000000:AF=\E[38;2;%d;%d;%dm:AB=\E[48;2;%d;%d;%dm:tc=${TERM}:"
  $ tput AB 1 1 1
  tput: too many arguments (3) for capability `AB'

To work around the limitation make Emacs check if environ(7) has
COLORTERM=truecolor some terminal emulators define by default e.g.,

- x11-toolkits/vte3 (gnome-terminal, sakura, ...)
- x11/alacritty
- x11/aminal
- x11/kitty (bug 233010)
- x11/konsole
- x11/qterminal

while others require defining COLORTERM=truecolor manually e.g.,

- x11/cool-retro-term
- x11/sterm
- x11/xterm

PR:		247248
Approved by:	jrm
Obtained from:	upstream
2020-06-20 13:39:49 +00:00
Joseph Mingrone
37f3668a51 editors/emacs: Add optional workaround for Fcitx input method
PR:		242012
Reported by:	david.alpha.fox@gmail.com
Approved by:	emacs (ashish)
Tested by:	david.alpha.fox@gmail.com
Differential Revision:	https://reviews.freebsd.org/D23725
2020-02-18 22:57:12 +00:00
Joseph Mingrone
90d332798a editors/emacs: Update to version 26.2
Port changes:
Match upstream's default behaviour by not installing the shared game
directory and the auxiliary program update-game-score

Upstream changes:
https://www.gnu.org/software/emacs/news/NEWS.26.2

Reviewed by:	ashish
Differential Revision:	https://reviews.freebsd.org/D18810
2019-04-17 14:36:02 +00:00
Joseph Mingrone
70923fe9f6 editors/emacs: Fix spellchecking with hunspell 1.7.0
While here, silence warning about USE_GNOME without USES=gnome.

PR:		235201
Reported by:	abij@tuta.io
2019-01-31 19:34:22 +00:00
Joseph Mingrone
3ae34aead8 editors/emacs: Update to version 26.1
NEWS: https://www.gnu.org/software/emacs/news/NEWS.26.1

Port changes
- Incorporate latest canna patches submitted by
  TAKANO Yuji <takachan@running-dog.net>.
- Remove workarounds for Bug 227799.
  - Configure succeeds whether devel/liblockfile is installed or not.
- Customize COMMENT for canna and nox flavors (reported by tobik).
- Remove legacy lldb for gud patch.
  - The patch added very little over running lldb on the command line.
    Moreover, gud is deprecated.  Hopefully a lldb-mi will arrive soon.

Reviewed by:	ashish (maintainer)
Differential Revision:	https://reviews.freebsd.org/D15044
2018-05-31 01:17:52 +00:00
Ashish SHUKLA
5b974a37af GNU Emacs updates
editors/emacs:
- Update to 25.1[1]
- Update CANNA patchset[2]
- Cleanup CONFLICTS_INSTALL list[1]
- Add LLDB option for lldb support (provided by 3rd party) to GUD[1]
- Add various other options, and re-order options[1]
- Incorporate games stuff in pkg-plist[1]
- Remove outdated diffs[1]

editors/emacs-nox11:
- Update to 25.1[3]
- Cleanup CONFLICTS_INSTALL list[3]

editors/emacs-devel:
- Update to git revision 25dca60d

Mk/bsd.emacs.mk:
- Update version numbers[4]

PR:		212807 [1], 212808 [3], 212809 [4]
Submitted by:	Joseph Mingrone <jrm@ftfl.ca> [1][3][4]
		TAKANO Yuji <takachan@running-dog.net> (private email) [2]
2016-10-02 05:07:22 +00:00
Ashish SHUKLA
4cbac963a8 editors/emacs:
- Clarify LICENSE, as it's "or any later version" clause
 - Switch to CONFLICTS_INSTALL, as conflicts only happen on install
 - Finish OPTIONS helpers conversion
 - Convert patch-sources.el to SUB_FILES
 - Convert *FLAGS to USES=localbase
 - Convert IGNORE and SOUND to _IMPLIES
 - Drop DBUS_PTHREAD_LIBS after ports r382294
 - Drop default WRKSRC
 - Drop clang workaround for unsupported FreeBSD versions

editors/emacs-nox11:
 - Kill EMACS_NO_X11_SLAVE in favour of ?= variables
 - Conflict with any EMACS_VER

PR:		208217
Submitted by:	jbeich
2016-04-08 08:00:15 +00:00
Ashish SHUKLA
b6fdca2c33 - Add patches to fix misused umask parameter, caught with FORTIFY_SOURCE
PR:		202574
Submitted by:	op
2015-08-23 21:19:17 +00:00
Mathieu Arnold
8dab11a002 Remove $FreeBSD$ from patches files in categories a-j.
With hat:	portmgr
Sponsored by:	Absolight
2015-05-22 13:34:20 +00:00
Ashish SHUKLA
2893a8de0c GNU Emacs Updates
editors/emacs:
 - Update to 24.5
 - Remove dependency on GCC for i386 platform, if the bug is fixed
   in the version in use
 - Remove upstreamed diff

editors/emacs-devel:
 - Update to git snapshot def0df01
 - Remove git revision from PORTVERSION, rather encode it in
   DISTNAME
 - Remove dependency on GCC for i386 platform, if the bug is fixed
   in the version in use
 - Fix portlint warnings

Mk/bsd.emacs.mk:
 - Update version number for editors/emacs
 - Remove deprecated block for emacs23

PR:		199553
2015-04-27 10:28:00 +00:00
Ashish SHUKLA
91332f8894 - Fix pkg-install script to correctly install emacs games scores files[1]
- Fix building port when ALSA option is enabled[2]
- Depend on desktop-file-utils only when X11 option is enabled[3]
- Bump PORTREVISION to account for these changes

PR:		194624[1], 194862[2]
Submitted by:	crest <crest at sahiro.org>[2]
Reported by:	Joseph Mingrone <jrm at ftfl.ca>[1],
		Richard Kuhns <rjk at wintek.com>[3] (via private email)
2014-11-07 12:46:59 +00:00
Ashish SHUKLA
b2edd3a92d GNU Emacs Updates
editors/emacs:
 - Update to 24.4[1]
 - Remove all upstreamed diffs[1]
 - Switch to static pkg-plist[1]
 - Add OPTIONs for ACL, file notification, LTO, ALSA, and OSS[1]
 - Reword IGNORE messages for portlint[1]
 - Add fix for a Emacs TRAMP bug
 - Update CANNA patchset[2]

editors/emacs-devel:
 - Update to bzr snapshot revision 118251
 - Add pkg-install, and pkg-deinstall file missed from r364499
 - Switch to static pkg-plist

editors/emacs-nox11:
 - Remove PLIST_DIRSTRY

Mk/bsd.emacs.mk:
 - Update Emacs version numbers
 - Remove deprecated XEmacs entries

PR:		194624[1]
Submitted by:	Joseph Mingrone <jrm at ftfl.ca>[1],
                TAKANO Yuji <takachan at running-dog.net>[2]
2014-11-05 13:17:17 +00:00
Ashish SHUKLA
421d89c84a - Update the diff to fix building on Sparc and ARM platforms
Submitted by:	Nicolas Edel <nicolas.edel@gmail.com> (via private email)
2014-02-23 00:55:46 +00:00
Ashish SHUKLA
c13e49fed8 - Add PKGNAMESUFFIX
- Add STAGE support
- Use OptionsNG helpers
- Rename X11TOOLKIT option to X11
- Add OPTIONS for emacs-nox11 slave
- Install info manuals to their own directory to avoid conflicts[1][3][4]
- Add a patch from upstream to fix building on non-X11 platforms[2]
- Add a patch from upstream to fix building on 9.x and later platforms
  due to C11 support
- Explicitly depend on GCC for i386 platforms, broken due to clang bug# 18171
- Mark port as MAKE_JOBS_SAFE

PR:		ports/183064[2], ports/181758[3], ports/179843[4]
Reported by:	Jay Borkenhagen <jayb at braeburn.org>[1]
2014-01-02 15:43:18 +00:00
Ashish SHUKLA
d6117118ea - Fix brokenness on SPARC platforms
Reported by:	tabthorpe
Approved by:	portmgr
2013-04-09 18:11:23 +00:00
Ashish SHUKLA
7fc5bd70f3 GNU Emacs updates
editors/emacs:
 - Update to 24.3
 - Update CANNA patchset[1]
 - Unbreak ARM support by using the patch from emacs-devel port
 - Add missing INSTALLS_ICONS[2]
 - Remove a patch which is already integrated upstream
 - Fix Makefile header

editors/emacs-devel:
 - Update to bzr revision 112178
 - Fix Makefile header
 - Add missing INSTALLS_ICONS[2]

editors/emacs23:
 - Remove ABI versions from LIB_DEPENDS
 - Fix Makefile header
 - Add missing INSTALLS_ICONS[2]

Mk/bsd.emacs.mk:
 - Update major version for editors/emacs port

*:
 - Bump PORTREVISION to chase Emacs updates

PR:		ports/177428[2]
Submitted by:	Yuji TAKANO[1] (via private email), bdrewery[2]
2013-03-30 05:13:30 +00:00
Ashish SHUKLA
2eb670fcca - Fix SOUND support[1]
- Make GSETTINGS option depend on DBUS option, as GSettings requires
  DBus to be functional[2]
- Remove ABI versions from LIB_DEPENDS

PR:		ports/176055[1], ports/175990[2]
Submitted by:	Zeus Panchenko <zeus.panchenko at gmail.com>[1],
		Fabian Keil <fk at fabiankeil.de>[2]
2013-02-17 09:17:41 +00:00
Ashish SHUKLA
d98bb49da8 GNU Emacs updates
editors/emacs
- Update to v. 24.1[1]
- Update CANNA patch to v. 24.1[2]
- Convert OPTIONS to OptionsNG
- Remove patch to VC to make it work with Subversion 1.7
- Add patch to implement process support for FreeBSD from Emacs bug# 5243
- Add patch to fix segfault on Terminal (from NetBSD emacs port)[2]

editors/emacs23
- Convert OPTIONS to OptionsNG
- Bump PORTREVISION of editors/emacs23 port
- Remove PORTEPOCH, as port needs to be explicitly installed/upgraded
- Connect repocopied editors/emacs23 to build

editors/emacs-devel
- Update to bzr revision 109364
- Convert OPTIONS to OptionsNG
- Remove redundant patches
- Add patch to add openpty support for 10-CURRENT from Emacs bug# 12040[3]

Mk/bsd.emacs.mk
- Add EMACS_PORT_NAME block for Emacs 24 to bsd.emacs.mk
- Update major version for emacs-devel port
- Take maintainership of bsd.emacs.mk

Thanks to everyone who tested these updates, and provided their feedback.

Submitted by:	http://www.gnu.org/software/emacs/NEWS.24.1[1]
Submitted by:	Yuji TAKANO[2] (via private email), Jan Beich[3]
2012-08-01 15:20:25 +00:00
Ashish SHUKLA
76c1fae7bd - Update to version 23.4
- Remove dependency on libungif[1]
- Import a diff from bzr repository to make VC work with Subversion 1.7[2]

PR:		ports/165298[1], ports/162191[2]
Submitted by:	olgeni[1], Yasuhiro KIMURA <yasu@utahime.org>[2]
2012-02-22 13:19:03 +00:00
Ashish SHUKLA
085666acef - Add fix for GNU Emacs bug report# 8522 which affects users of euc-japan
keyboard-coding-system[1]
- Fix portlint warnings
- Update PATCH_SITES

Submitted by:	hrs[1]
2011-09-07 20:20:25 +00:00
Ashish SHUKLA
623a0a78f1 - Update emacs.desktop to launch Emacs in Terminal when WITHOUT_X11 is
defined.[1]
- Emacs picks up giflib if available instead of libungif. Account for
  this.[2]
- Include 'alloca' fix.[2]

PR:		ports/156167[1]
Submitted by:	Zhihao Yuan <lichray@gmail.com>[1]
	  	Herbert J. Skuhra <h.skuhra@gmail.com>[2] (via private email)
2011-05-16 12:27:12 +00:00
Ashish SHUKLA
0c340ada33 - Update to version 23.3
- Update CANNA support[1]
- Fix bug in plist generation

Submitted by:	Yuji TAKANO <takachan@running-dog.net>[1] (via private email)
2011-05-11 11:15:48 +00:00
Ashish SHUKLA
5c9e555fc2 - Add CANNA support to the port, provided by Yuji TAKANO.
- Update CONFLICTS to conflict with 24.x.
- Include the license file to the port.
- Update descriptions of the OPTIONS.
- Fix building of port on 6.x/9.x with DBUS option enabled, provided
  by swell.k@gmail.com .
- Remove unneeded dependencies on gettext and dbus-glib.
- Remove ALSA checks.
- Clean up pkg-plist.

PR:		ports/146979
Approved by:	tabthorpe (mentor)
2010-09-27 01:14:52 +00:00
Boris Samorodov
dd849164d3 . update to version 23.2;
. introduce OPTIONS.

PR:		ports/146458
Submitted by:	Ashish SHUKLA <wahjava at gmail.com> (maintainer)
2010-05-14 08:04:39 +00:00
Dirk Meyer
0b0f936de4 - update patch png14
PR:		145171
2010-03-30 18:15:38 +00:00
Dirk Meyer
d19f589717 - fix build for png-1.4.1 2010-03-30 03:59:01 +00:00
Boris Samorodov
e8645c9b9a . items in emacs 23.1/GTK menus don't get updated, fix it; [1]
. bump PORTREVISION.

PR:		ports/144309  [1]
Submitted by:	Robert Jenssen <robertjenssen@ozemail.com.au>  [1]
Approved by:	keramida@ceid.upatras.gr (maintainer timeout, 17 days)
2010-03-15 16:53:49 +00:00
Philip M. Gollucci
14046789e0 - fix utmp.h -> utmpx.h
fixes are included in upstream e-mail so this is temporary

PR:             ports/143113
Submitted by:   Giorgos Keramidas <keramida@freebsd.org> (maintainer)
2010-02-02 07:03:11 +00:00
Boris Samorodov
3cb246682f Changes to editors/emacs and Mk/bsd.emacs.mk were taken from
PR/137956 by Ashish SHUKLA (thanks!).  [1]

Those ports which define EMACS_PORT_NAME to be "emacs21" were
not touched (this time). They may be converted to the new
world order by removing the above mentioned assignment.

Four ports were marked as BROKEN with EMACS_PORT_NAME=emacs23
(they do not compile):
. lang/bigloo;
. mail/wanderlust;
. mail/wanderlust-devel;
. www/emacs-w3m.

Three ports were marked as IGNORE with EMACS_PORT_NAME=emacs23:
. japanese/egg-canna (the port version is dated as of 2001,
  does not compile with Emacs 23 and seems it cannot be fixed);
. deskutils/remember.el (was incorporated into Emacs 23);
. editors/nxml (was incorporated into Emacs 23).

Changes that were made after (and as a result of) exp run. For
those ports:
. japanese/migemo-emacs21;
. japanese/migemo-emacs22
EMACS_PORT_NAME?= was changed to EMACS_PORT_NAME= to the apropriate
emacs port name.

PR:		ports/137956 [1], ports/141369 [2]
Submitted by:	Ashish SHUKLA <wahjava at gmail.com>  [1],
		bsam (me)  [2]
Exp-run by: miwi
2009-12-20 20:19:24 +00:00
Boris Samorodov
bb2e6e9dcd . backout previous commit (revert editors/emacs to version 22.3)
since the commit broke dependencies and the ports infrastructure
  was not fully prepared (a new emacs/editors22 port is needed
  for compatibility reasons);
. bump PORTEPOCH.

Reported by:	Jan Henrik Sylvester <me at janh.de>, kostik
Pointy hat to:	bsam (me)
2009-09-08 11:36:21 +00:00
Boris Samorodov
f1f69ce2f9 Updat GNU Emacs to v. 23.1.
Emacs 23 has a wide variety of new features, including:

* Improved Unicode support.
* Font rendering with Fontconfig and Xft.
* Support for using X displays and text terminals in one session,
  and for running as a daemon.
* Support for multi-file commits in distributed version-control
   systems (VC-dir).
* New modes and packages for viewing PDF and postscript files
  (Doc-view mode), connecting to processes through D-Bus (dbus),
  connecting to the GNU Privacy Guard (EasyPG), editing XML
  documents (nXML mode), editing Ruby programs (Ruby mode), and more.

Detailed list is available at: http://www.gnu.org/software/emacs/NEWS.23.1

PR:		ports/137956
Submitted by:	Ashish SHUKLA <wahjava at gmail.com>
Approved by:	keramida@ceid.upatras.gr (maintainer tineout, 19 days)
2009-09-07 19:33:30 +00:00
Boris Samorodov
80012e1ea9 . update to version 22.3 (includes a security fix in the way Emacs
interacts with Python);
. change EMACS_VER at bsd.emacs.mk.

While I'm here: remove old PORTREVISION.

PR:		127168
Submitted by:	keramida (maintainer)
2008-11-10 22:30:51 +00:00
Boris Samorodov
23f3a4a858 - Update editors/emacs to 22.2.
- Change bsd.emacs.mk accordingly.
- Fix comment about emacs-devel in bsd.emacs.mk.
- Some lisp directories are changed, add a note to UPDATING.

PR:		122783
Submitted by:	KIMURA Yasuhiro <yasu at utahime.org>
Approved by:	keramida (maintainer timeout, 6 weeks)
2008-06-03 14:36:50 +00:00
Edwin Groothuis
d76ca123b2 As pointed out by mjl @ #bsdports: The patch I commited was a patch
on itself. Extracted the patch and recommit it.

PR:		ports/120370
2008-05-14 23:58:28 +00:00
Edwin Groothuis
b3bfbdcfa6 [patch] editors/emacs build on arm
PR:		ports/120370
Submitted by:	Matthew Luckie <mjl@luckie.org.nz>
Approved by:	Giorgos Keramidas <keramida@ceid.upatras.gr>
2008-05-12 00:57:10 +00:00
Giorgos Keramidas
d963115816 Port the gmalloc.c allocator from the CVS trunk of Emacs.
This includes various enhancements and fixes, including a
serious bug caused by using gmalloc's allocation and free
functions and the system version of posix_memalign().

PR:             ports/114993
Submitted by:   Gardner Bell
Reviewed by:    pav
2007-10-08 23:29:47 +00:00
MANTANI Nobutaka
a98a506adc Update to 22.1.
Hand over maintainership to keramida.
2007-07-16 17:06:44 +00:00
MANTANI Nobutaka
eca19b7baf - Add .info suffix to filename of info files.
- Use INFO macro.

Requested by:	edwin
2005-12-08 17:01:46 +00:00
MANTANI Nobutaka
f464ad3453 Fix build error.
PR:		ports/85508
Submitted by:	NIIMI Satoshi <sa2c@sa2c.net>
2005-09-05 15:15:47 +00:00
MANTANI Nobutaka
3759f725e5 Add powerpc support.
PR:		ports/83074
Submitted by:	Dario Freni <saturnero@freesbie.org>
2005-07-15 16:08:40 +00:00
MANTANI Nobutaka
9b0d5fc1ec Fix problems with AltGr-Modifier on several keyboards.
PR:		ports/78209
Submitted by:	Kay Lehmann <kay_lehmann@web.de>
2005-03-02 15:05:55 +00:00
MANTANI Nobutaka
1867354dcb Fix format string vulnerability in the movemail utility.
Security:	CAN-2005-0100
Security:	http://www.vuxml.org/freebsd/3e3c860d-7dae-11d9-a9e7-0001020eed82.html
Security:	Malicious POP3 servers can execute arbitrary code.
2005-02-14 15:32:30 +00:00
FUJISHIMA Satsuki
a787f0b075 farewell to libxpg4. 2004-11-15 05:19:30 +00:00
Marcel Moolenaar
83fbdb3d28 Fix runtime breakage on ia64, which was introduced with binutils 2.15.
Note that emacs is run as part of the build, so it shows as a build
failure...

To explain (for maintainer's benefit):

Previously the linker would put the text segment in region 2 and the
data segment in region 3. This was changed for FreeBSD (due to me
sending a patch :-) to load the text segment in region 1 with the data
segment immediately following the text segment in the same region (or
subsequent regions of the text segment is larger than 2^61 bytes in
size -- fat chance :-)

So, the previous value of DATA_SEG_BITS (=0x6000000000000000, the
region base of the data segment prior to the binutils 2.15 import),
needed to be changed to match the current layout (=0x2000000000000000,
the region 1 base address).

Approved by: portmgr (krion -- thank!)
2004-09-05 21:38:16 +00:00
MANTANI Nobutaka
84edff6d3e Enable interruption with C-g key while opening network connection.
PR:		ports/65910
Submitted by:	NIIMI Satoshi <sa2c@sa2c.net>
2004-05-24 14:11:16 +00:00
Kris Kennaway
131cd97388 Move the ancient emacs 19.x port from editors/emacs to
editors/emacs19, and update the main emacs port to 21.x by copying from
editors/emacs21.  Retire the editors/emacs21 port.

PR:	ports/24983
2004-03-21 07:39:49 +00:00
Kris Kennaway
877ddfab1d Fix build on -current (remove duplicate declarations of things in system
headers)
2002-09-07 00:32:47 +00:00