Commit graph

61 commits

Author SHA1 Message Date
Joseph Mingrone
58c7c92693
Emacs ports: Add lexical-binding cookie to site-wide initialization
As of 9f25d46568b in upstream's master branch, Emacs emits a run-time
warning when lexical binding is unset.  This serves as a reminder that
lexical binding is preferred.

Reviewed by:	yasu
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D49991
2025-04-25 15:57:01 -03:00
Joseph Mingrone
8dd365d9e1
editors/emacs-devel: NATIVECOMP requires GCC 11+
Follow up b4eb3cc with another pkg-message.in tweak to also let users
who are upgrading know that native compilation requires GCC version 11
or newer.  This shouldn't be an issue for the vast majority of users,
since the default GCC version is now newer than 11.

Sponsored by:	The FreeBSD Foundation
2023-01-11 10:52:24 -04:00
Joseph Mingrone
b4eb3cc125
editors/emacs-devel: Tweak GCC requirement
Support for the USE_GCC=X+ form was removed in 9b5f5ab.  Native
compilation requires GCC version 11 or newer and the default version of
GCC is now 12.

Sponsored by:	The FreeBSD Foundation
2023-01-09 09:55:59 -04:00
Yasuhiro Kimura
d04f04b14c editors/emacs-devel: Update to 2022-04-16 snapshot
* Enable NATIVECOMP option by default [1]
* If Emacs is build with NATIVECOMP enabled, display message as
  following at installation and upgrading time [2]
  - There are some elisp applications that don't work collectly if it
    is native compiled
  - If user uses such applications there is workaround to disable
    nativecompilation by user configuration [3]
  - Native compilation often results in high CPU
  - It is also possible to throttle it by user configuration
* Tidy up Makefile with portfmt

Discussed with:	ashish, jrm [1],[2]
Reference:	https://lists.gnu.org/archive/html/help-gnu-emacs/2022-04/msg00129.html [3]
Reviewed by:	ashish, jrm
Differential Revision:	https://reviews.freebsd.org/D34935
2022-04-20 10:49:24 +09:00
Joseph Mingrone
ba8e50ec99 editors/emacs-devel: Update to 2020-06-01 commit c59e878 and...
..remove a local patch that fixed a build issue on systems using version 10
of clang.  This version of clang enforces stricter requirements for the
placement of FALLTHROUGH labels.  Upstream committed a change that fixes
the build and silences the FALLTHROUGH warning.

e021c2dc22
2020-06-01 19:06:08 +00:00
Ashish SHUKLA
086ef05ea9 - Update to git snapshot b1fe27d
- Add a patch to unbreak building on -HEAD[1], and -STABLE[2]
  platforms which ship clang/LLVM 10

PR:		246525[2]
Reported by:	pkg-fallout[1], Robert Cina[2]
2020-05-19 04:21:32 +00:00
Joseph Mingrone
316c318a59 editors/emacs-devel: Fix build on 10.4 and update
Recent changes in upstream's master branch mean a newer makeinfo than is
available in the 10.4 base system is required, so add print/texinfo to
BUILD_DEPENDS.

While here, also update to the tip of upstream's master branch and silence
portlint warnings about USE_GNOME without USES=gnome.

Reported by:	pkg-fallout, antoine
2018-10-11 03:44:05 +00:00
Joseph Mingrone
bf06ecfc29 editors/emacs-devel: Restore configure patch to accept base makeinfo
The configure patch was removed in r472261, because I incorrectly thought
/usr/bin/makeinfo had been removed from base in 10.4.

Pointy-hat: jrm
2018-06-13 02:23:30 +00:00
Joseph Mingrone
b672dbca9c Emacs ports: Improve consistency between the two Emacs ports and...
- [1] Do not link liblockfile when MAILUTILS option is off.  Users who want
  mail functionality should turn on the MAILUTILS option.  See PR 227799.

- [2] Create a link under exec_directory pointing to
  ${PREFIX}/bin/movemail.  See upstream bug https://bugs.gnu.org/31737 and
  PR 228833.

- Based on user feedback, change the package name for the nox flavor of
  editors/emacs-devel from emacs-devel_nox to emacs-devel-nox.  The
  original motivation for naming the package emacs-devel_nox was so that
  PKGNAMESUFFIX would match the flavor names for USES=emacs ports and
  flavor names cannot contain '-'.

- Remove patches that are no longer necessary.  The patch
  emacs-devel/files/patch-configure.ac is no longer necessary because 10.3,
  which included an old version of texinfo in base, is EOL.  The lldb-gud
  patch is no longer necessary because the LLDB option has been removed.

- Update editors/emacs-devel to a newer commit on the upstream master
  branch.

- Customize COMMENT for nox flavor of editors/emacs-devel.

PR:		227799 [1], 228833 [2]
Submitted by:	yasu@utahime.org [1], bengta@sics.se [2]
Approved by:	ashish
Differential Revision:	https://reviews.freebsd.org/D15728
2018-06-12 16:03:56 +00:00
Ashish SHUKLA
733ddbfbe5 - Update to git snapshot 49a42fb
- Remove the workaround added in previous commit

Security:	https://www.vuxml.org/freebsd/47e2e52c-975c-11e7-942d-5404a68a61a2.html
2017-09-13 13:15:55 +00:00
Ashish SHUKLA
9fa7c2a9cf - Update to git snapshot 1b492fa
- Add a patch to workaround a configure issue reported upstream
  at http://lists.gnu.org/archive/html/emacs-devel/2017-09/msg00020.html
- Update BROKEN message on AARCH64, as now it does not break on sbrk[1]

PR:		221961[1]
Reported by:	Gergely Czuczy <gergely.czuczy@harmless.hu>
2017-09-04 13:42:18 +00:00
Ashish SHUKLA
f5f3bcca92 - Update to git snapshot 211d41a, fixes building as non-root user[1]
- Resurrect LLDB option with updated patchset from upstream[2]

[1] http://lists.gnu.org/archive/html/emacs-devel/2017-03/msg00622.html
[2] https://opensource.apple.com/source/lldb/lldb-76/utils/emacs/

Submitted by:	jrm
Reported by:	rakuco
2017-03-25 17:38:51 +00:00
Ashish SHUKLA
8555341722 - Update to git snapshot 560d6f9
- Remove LLDB option, as patch does not cleanly apply anymore
2017-03-24 05:01:56 +00:00
Joseph Mingrone
8a7d93bd44 editors/emacs-devel: Update to latest commit on master branch.
- Switch to using the supplied autoconf.sh, because it is required on 10.3 to
  create nt/gnulib.mk.

- Patch to accept makeinfo versions as far back as 4.8, which is the version in
  10.3 base.

Approved by:	ashish (maintainer) swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D9287
2017-01-24 15:27:06 +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
31c25245ab - Update to latest pretest 25.0.90[1]
- Switch to GNU mirrors
- Add XWIDGET option[1]
- Fix portlint warnings[1]

PR:		206813
Submitted by:	Joseph Mingrone <jrm at ftfl.ca>[1]
2016-02-07 22:46:55 +00:00
Ashish SHUKLA
0d03e1ae70 - Update to git revision af40b76
- Switch to GitHub for MASTER_SITES
- Remove USE_AUTOTOOLS, and move it to USES instead
- Cosmetic changes to Makefile, and pkg-plist
- Remove pkg-install/pkg-deinstall scripts, not needed anymore

PR:		204842
Submitted by:	Joseph Mingrone <jrm at ftfl.ca>
2015-11-30 00:24:59 +00:00
Mathieu Arnold
320514f1dd It seems some people keep adding $FreeBSD$ to patch files.
Patches must not be changed by the vcs, this includes the
svn:keyword expansion.  Set fbsd:nokeywords to a couple of patches.

With hat:	portmgr
Sponsored by:	Absolight
2015-09-16 13:03:45 +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
74652ab917 - Update to git snapshot 4a50af93
- Add an OPTION to enable support for LLDB debugger to GUD[1], provided
  by third-party diff
- Add CPE information[2]

PR:		198022[1], 198239[2]
Submitted by:	pfg[1], shun <shun.fbsd.pr at dropcut.net>[2]
2015-03-23 14:12:30 +00:00
Ashish SHUKLA
34bb9be1dc - 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 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:52:21 +00:00
Tijl Coosemans
3ab1b8443e - Replace security/gnutls with security/gnutls3 and update to 3.2.15
- Bump PORTREVISION on all ports that depend on security/gnutls and
  adjust all ports that depend on security/gnutls3
- Update mail/anubis to version 4.2 which supports gnutls 3.x
- Update mail/libvmime to a development snapshot (recommended by upstream
  developers)

PR:		191274
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-07-23 09:54:02 +00:00
Ashish SHUKLA
8353544254 - Update to bzr snapshot revision 116732
- Add OPTIONs for building with GnuTLS 3.x[1] (default), and GnuTLS 2.x
  support
- Remove OPTION for SYNC_INPUT (not supported)
- Add a fix when building with ncurses port being installed
- Fix CONFLICTS to pass portlint checks

PR:		ports/187346[1]
2014-03-15 08:37:48 +00:00
Mathieu Arnold
590fe7e77c Fixup props on patches.
With hat:	portmgr
Sponsored by:	Absolight
2014-01-22 17:40:44 +00:00
Ashish SHUKLA
08c9131679 - Re-add accidentally removed diff in r335977, and unbreak port 2013-12-11 23:45:37 +00:00
Ashish SHUKLA
f9a45a28bb - Update to bzr snapshot revision 115370
- Add PKGNAMESUFFIX to avoid package name collision
- Add STAGE support
- Relocate INFO_PATH to avoid conflicting with similarly named
  info files provided by other packages, like print/texinfo
- Use INSTALLS_ICONS only when X11 is enabled
- Add OPTIONs for X11 support, SOUND (ALSA/OSS) support and filesystem
  notifications
- Depend on GCC for i386 platforms until clang gets the required
  fixes
- Stop compressing info files for it to work with INFO_PATH
- Use OptionsNG helpers to cleanup Makefile
- Remove already upstream-ed patches
2013-12-09 13:01:12 +00:00
Ashish SHUKLA
3158568038 - Update to bzr snapshot 112532 2013-05-13 05:33:57 +00:00
Ashish SHUKLA
117bb8acc0 - Fix brokenness on SPARC platforms
Reported by:	tabthorpe
Approved by:	portmgr
2013-04-09 18:14:37 +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
5c30de3a0f editors/emacs-devel:
- Update to bzr snapshot 111312
- Add OPTION for LTO support
- Remove ABI versions from LIB_DEPENDS
- Fix configure command-line arguments
- Add patches to make sure it compiles with GCC 4.6+
- Add patch for compilation on FreeBSD/arm[1]

Mk/bsd.emacs.mk
- Update EMACS_VER for editors/emacs-devel

Submitted by:	kientzle[1]
2012-12-25 16:28:05 +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
335ab732a2 - Update to bzr revision 107364
- Fix building on Sparc architecture
- Remove dependency on libungif[1]

PR:		ports/165299[1]
Submitted by:	olgeni[1]
2012-02-22 13:23:12 +00:00
Ashish SHUKLA
8dfa08a680 - Bring back patch in ports/161181 which got accidentally,
removed in previous commit
- Bump PORTREVISION

PR:		ports/161911
2011-10-30 16:46:10 +00:00
Ashish SHUKLA
0e5d917761 - Update to bzr revision 106240
- Remove patches which are now in upstream[1]
- Add patch to implement process support for FreeBSD from Emacs bug# 5243[1]

PR:		ports/161911[1]
Submitted by:	Nali Toja <nalitoja@gmail.com>[1]
2011-10-30 15:08:13 +00:00
Ashish SHUKLA
efb10588db - Update to bzr revision 106087
- Fix detection of 'make' program in use in configure script[1]
- Use openpty(3) instead of deprecated pty(4) interface[2]
- Add patch to interrupt `debug-on-quit' during loops[3]
- Track ncurses dependency[4]

PR:		ports/160986[1], ports/161181[2], ports/161220[3], ports/161497[4]
Submitted by:	h h <aakusta@gmail.com>[1], Nali Toja <nalitoja@gmail.com>[2][3][4]
2011-10-17 04:55:31 +00:00
Ashish SHUKLA
87e44003c4 - Update to bzr revision 105651
- Add fix for GNU Emacs bug report# 8522 which affects users of euc-japan
  keyboard-coding-system[1]
- Restrict INSTALLS_ICONS knob to GTK2/3 section as it installs GTK+
  dependencies[2]
- Update MASTER_SITES
- Fix portlint warnings

Submitted by:	hrs[1]
Reported by:	Yue Wu <vanopen@gmail.com>[2]
2011-09-08 06:16:32 +00:00
Ashish SHUKLA
853dfaba6c - Update to bzr revision 105418.
- Apply INSTALLS_ICONS fix[1].
- Add GTK3 option.
- Add GSETTINGS option.
- Remove alloca fix as it's not needed anymore.

Submitted by:	olgeni[1] (via private email)
2011-08-08 14:32:54 +00:00
Ashish SHUKLA
cc53588749 - Update to bzr revision 104238.
- 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]

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:14:17 +00:00
Ashish SHUKLA
7e860505f7 - Add autoheader to USE_AUTOTOOLS[1].
- Include 'alloca' fix[1].
- Fix ImageMagick dependency to depend on X11[2].

Submitted by:	Pan Tsu[1], swell.k@gmail.com[2]
Approved by:	pgj (implicit)
2011-05-01 09:56:45 +00:00
Ashish SHUKLA
4c918a10b5 - Update to bzr revision 104000.
Approved by:	tabthorpe (mentor)
2011-04-28 15:08:25 +00:00
Ashish SHUKLA
5c37bd26b0 - Update to bzr revision 102364.
- Restore GTK2 option.
- Enable IMAGEMAGICK option by default.
- Add GNUTLS option.
- Fix the issue with bad plist generation and mention it in UPDATING.
- Include 'alloca' fix provided by swell.k@gmail.com [1].

PR:		ports/149049[1]
Submitted by:	swell.k@gmail.com[1]
Approved by:	tabthorpe (mentor)
2010-11-18 03:39:12 +00:00
Ashish SHUKLA
030c983273 - Update port to latest snapshot.
- Clean up pkg-plist.
- Add new OPTIONs.

Approved by:	tabthorpe (mentor)
2010-09-27 01:19:31 +00:00
Ashish SHUKLA
ab1642fb0a - Add OPTIONS to the port.
- Add the LICENSE information to the port.
- 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 detection logic from configure script.

PR:		ports/147546
Approved by:	tabthorpe (mentor)
2010-07-28 12:23:02 +00:00
Dirk Meyer
0b0f936de4 - update patch png14
PR:		145171
2010-03-30 18:15:38 +00:00
Dirk Meyer
f860019f62 - fix build for png-1.4.1
Submitted by:	Andreas Tobler
2010-03-30 04:15:33 +00:00
Philip M. Gollucci
9513e77d65 - Udpate to 23.0.95 pretest
PR:             ports/135951
Submitted by:   Giorgos Keramidas <keramida@ceid.upatras.gr> (maintainer)
2009-06-23 15:05:32 +00:00
Philip M. Gollucci
1b83dffcf9 Part 2:
- Add WITH_SOURCES option

PR:             ports/134875
Approved by:    maintainer
Submitted by:   Ashish SHUKLA <wahjava@gmail.com>
2009-06-17 03:51:58 +00:00
Pav Lucistnik
68578057f1 - cvs rm empty patchfile
Missed by:	beech
2009-02-15 08:29:31 +00:00
Boris Samorodov
6f2bb26c30 Emacs pretest 23.0.90 is now available:
http://lists.gnu.org/archive/html/emacs-devel/2009-02/msg00051.html

PR:		ports/131275
Submitted by:	keramida (maintainer)
2009-02-02 12:15:44 +00:00
Boris Samorodov
ae1486e557 . fix the build WITHOUT_GTK; [1]
. update to a newer snapshot;  [2]
. while I'm here: reset PORTREVISION.

PR:		28513  [1], 129536  [2]
Submitted by:	Ashish Shukla <wahjava at gmail.com>  [1],
		keramida (maintainer)  [2]
Approved by:	keramida (maintainer)  [1]
2008-12-09 22:18:53 +00:00