Commit Graph

127 Commits

Author SHA1 Message Date
ajacoutot 706b60a9ce Bump after textproc/libxml,-main => textproc/libxml 2025-11-01 11:16:40 +00:00
jca 445ea24117 Add alpha.gnu.org URL for pretest emacs releases 2025-09-06 16:44:17 +00:00
jca 1db3743591 Bugfix update to emacs-30.2
Initial diff from Artur Manuel
2025-09-06 16:35:56 +00:00
jca 6ea215de87 Sync WANTLIB 2025-05-23 11:09:15 +00:00
jca e7a5d4d48a Update to emacs-30.1
emacs-30.0.92 pretest reports from krw@ kirill@ gnezdo@ and Timo Myyra
2025-02-23 22:40:55 +00:00
jca 23499700a4 Add a PGTK Emacs flavor for wayland users
Since the gtk2 and gtk3 FLAVORS look at the Xorg entrails, this "Pure
GTK" build is mostly useful to people using wayland.

Note that you explicitely need emacs -nw if you want to use it from
a non-graphical environment.

Requested and tested by matthieu@
2024-11-05 11:16:04 +00:00
sthen 091f115610 more rsvg bumps due to WANTLIB/PLIST_DB; not run into them in the bulk yet
but I will
2024-10-29 09:46:25 +00:00
aisha dc67c93db1 add /etc/emacs as additional location to search for custom
user defined lisp files

patch cleaning and ok jca@
2024-07-06 02:12:36 +00:00
jca 862196c1bd SECURITY update to emacs-29.4
Among other fixes, this update fixes an arbitrary command execution in
Org-mode.

Announce email:
https://lists.gnu.org/archive/html/emacs-devel/2024-06/msg00695.html

oss-sec mail:
https://www.openwall.com/lists/oss-security/2024/06/23/1

Initial diff from Kirill A. Korinsky
2024-06-23 12:55:50 +00:00
jca 7a719fdaee SECURITY update to emacs-29.3
No CVEs assigned yet, please see NEWS (C-h n) for a list of changes that
may affect your setup.
2024-03-24 16:36:34 +00:00
jca 32967b9f8d Bugfix update to emacs-29.2 2024-01-20 22:43:39 +00:00
jca 20dfaad13c Revert previous, such changes should be discussed with the port maintainer
Also I depend on this very feature.
2023-11-12 19:47:18 +00:00
robert 6f8038386d unsetenv the DISPLAY variable in the no_x11 flavor so that xdg-open
will not open URLs in a GUI browser
2023-11-12 18:09:22 +00:00
espie fb79849e4d -> SITES 2023-09-21 12:22:31 +00:00
jca ad008559a7 Enable tree-sitter support
Tree-sitter support is not the default for most/all modes, you have to
enable/promote it or explicitely call <language>-ts-mode.

Requested by several folks.
2023-08-25 20:25:35 +00:00
jca f7b4d3d8f3 Update to emacs-29.1
Release announcement: https://lists.gnu.org/archive/html/emacs-devel/2023-07/msg00879.html
Drop security-related patches added during emacs-28.2 lifetime.
New deps: sqlite3 (added for now), webp (added), tree-sitter (not added yet).

Input from Xi Lu, Renato Aguiar, Timo Myyra, op@ and semarie@,
tests report from krw@, tests and ok op@ and semarie@
2023-08-02 11:12:25 +00:00
ajacoutot 9ed6191383 x11/gtk+3,-guic -> x11/gtk+4,-guic + bump included inherits from MODULE. 2023-04-24 11:40:33 +00:00
jca 63f9de2219 Bump to stay ahead of -stable 2023-04-16 21:15:56 +00:00
jca d1bb10963c Add patches for command injection vulnerabilities
Fixes for CVE-2023-27985, CVE-2023-27986 and CVE-2023-28617
From lux (lx at shellcodes dot org)
2023-04-16 20:46:36 +00:00
jca cc67ad2ee3 Bump to be ahead of -stable 2023-03-14 13:16:39 +00:00
jca 79bebe7a39 Backport security fixes from the emacs-28 branch
Fixes for CVE-2022-45939, CVE-2022-48337, CVE-2022-48338, CVE-2022-48339
Prevent arbitrary command execution in ctags/etags handling and
htmlfontify/ruby modes.

From lux @ shellcodes dot org
2023-03-14 13:09:48 +00:00
jca 6faf08fabd Bugfix update to emacs-28.2
Test reports from krw@ namn@ and gkoehler@, thanks!
ok krw@
2022-09-22 07:16:16 +00:00
jca 6a92477893 Update to emacs-28.1
Major changes:
- native lisp code compilation (not enabled in our port)
- emacs is moving to cairo + harfbuzz and away from libXft.  This may cause
  issues with bitmap fonts.
- update to Unicode standard 14.0.

Support for OpenBSD <= 5.3 has been dropped, but we don't care.

See C-h n for other changes.

Positive test feedback from tb@ abieber@ jj@ krw@, thanks!
2022-04-19 11:54:34 +00:00
jca cd0fba1ff1 Drop RCS Ids in the ports I maintain 2022-03-10 00:04:05 +00:00
jca 91f13f7854 Reenable execinfo on powerpc, backtrace() is usable since the ld.lld switch
From Brad, tests from cwen@ and gkoehler@
2021-08-29 07:28:05 +00:00
jca 404458437f Don't use printf("%n") in the catch-signal-and-exit code path
Reported by gkoehler@, tests and ok tb@
2021-08-29 07:24:50 +00:00
jca 5e0cb654b4 Drop "broken SIGIO" workaround to fix longstanding emacs hangs
Since 2017 and maybe earlier people have experienced hangs in various
parts of Emacs.  Two error cases which were easy to reproduce:
Emacs spinning when running org-capture in an X11 environment, and (more
recently reported) M-x list-packages failing to connect to online
mirrors.

Those hangs don't appear any more if we disable an old workaround for
our seemingly broken SIGIO implementation.  Even if we still suffer from
problems in this area, right now the workaround seems to hurt us more
than help us.

Many thanks to mikeb@, Emmanuel Giraud, abieber@, Piotr Isajew, Gregoire
Jadi, krw@ and others for the reports and quick feedback.  Special
thanks to fellow Gregoire Jadi for leading the latest bug hunt which
gave us this diff. <3
2021-07-15 19:26:25 +00:00
cwen 1f51725e73 emacs: fix the build on powerpc
A recent commit brought base libexecinfo support for emacs, but it appears it
makes 'temacs' segfault during the build on powerpc. Disable the libexecinfo
support, only on this arch, to fix the build.

comment tweak and OK jca@ (maintainer)
2021-07-13 08:37:57 +00:00
jca f86ae6bf48 Enable libexecinfo usage
From Brad

Since emacs is mostly the executable itself and the lisp code, don't
expect useful backtraces in case of problems.  People should still
install the debug-emacs package and use egdb.

Fatal error 11: Segmentation fault
Backtrace:
0x13c54970bda <???> at emacs
0x13c5494f791 <???> at emacs
0x13c5497184e <???> at emacs
0x13c549718d2 <???> at emacs
0x13c549706e9 <???> at emacs
Segmentation fault (core dumped)
2021-06-12 23:17:50 +00:00
jca a18591898f Bugfix update to emacs-27.2
Tested by Timo Myyra and krw@
2021-04-04 23:43:25 +00:00
yasuoka 5606d0a45b Add a patch from upsgream which avoids crashes in Mew due to corrupted
tool-bar label.

ok jca
2021-02-28 10:47:09 +00:00
jca 55039f29b8 Update to emacs-27.1
The most prominent change for us is probably the new portable dumper,
emacs no longer modifies the layout of its ELF executable as part of its
dumping mechanism.  No more sbrk-based allocator at build time, no more
nopie or ld -Z workarounds, etc.

From the release announce email:
--8<--
Emacs 27.1 has a wide variety of new features, including:
  - Built-in support for arbitrary-size integers
  - Text shaping with HarfBuzz
  - Native support for JSON parsing
  - Better support for Cairo drawing
  - Portable dumping used instead of unexec
  - Support for XDG conventions for init files
  - Additional early-init initialization file
  - Lexical-binding is used by default
  - Built-in support for tab bar and tab-line
  - Support for resizing and rotating of images without ImageMagick
-->8--

Feedback for 27.0.91 pretest from bcallah@, matthieu@, krw@
Feedback for 27.1 from Nam Nguyen, ok krw@
2020-08-23 09:55:00 +00:00
jca eda3b0e8c4 i386 switched to ld.lld more than one year ago
No functional change
2020-07-03 17:05:14 +00:00
yasuoka e29987df81 Fix configure to use posix_openpt(3).
ok jca
2020-06-27 04:11:03 +00:00
jca b6aaf26b17 ${BUILD_PACKAGES} instead of - 2019-11-10 21:50:23 +00:00
jca aed0e196fa Move USE_GMAKE in a more appropriate place 2019-11-10 17:58:19 +00:00
jca 66bacb23ef Simplify debug package goo 2019-11-10 17:49:30 +00:00
jca 417179de64 Provide debug-emacs 2019-11-10 17:21:32 +00:00
jca c1b17d49f1 Minor update to emacs-26.3
NEWS:
  https://github.com/emacs-mirror/emacs/blob/master/etc/NEWS.26
2019-09-25 22:10:51 +00:00
sthen 484cf3de0c replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:45:45 +00:00
sthen 6ff3e55398 bump REVISION in a bunch of ports known or likely to use struct kinfo_proc,
there may be some missing as my unpacked ports source is a little out of date
but this should catch the main things people might run into

the struct was reordered a second time in sysctl.h r1.192 to improve
compatibility but amd64 snapshot packages made it out before that happened
so the bumps are still needed
2019-06-25 20:25:20 +00:00
sthen 22de3ff02c set png16 WANTLIB entries back to png following the change in soname
part done by portbump, part by hand (it is easily confused)
2019-05-17 16:45:25 +00:00
jca 92dba9cf87 Update to emacs-26.2
Announcement mail:
  https://lists.gnu.org/archive/html/info-gnu/2019-04/msg00003.html

Works fine on amd64 and sparc64.  Tests by Timo Myyra, sunil@, Nam
Nguyen, krw@ and me.
2019-04-22 16:34:45 +00:00
jca 20647091ad Enable support for m17n/libotf
Similar diff from Eric Brown months ago.
2019-03-27 13:36:00 +00:00
jca 4f8b7684f4 Preemptively disable libotf and m17n-lib deps
Temporary until the mentioned libs are imported, I'll probably add m17n
support to the graphical emacs flavors later.
2019-03-26 16:19:36 +00:00
jca 5a456c772c Control the use of ld -Z from the port Makefile
Should help testing on platforms not yet handled
2018-11-27 13:53:29 +00:00
jca 0caae79743 Don't clobber LDFLAGS 2018-11-23 15:31:22 +00:00
naddy 0272dfee2a On i386, link without -Z. Not required with ld.bfd and not supported
by ld.lld.  ok jca@
2018-11-10 15:02:23 +00:00
jca 663caa18fb Upgrade path from emacs21 to latest emacs
"makes sense" naddy@, tweaks from sthen@
2018-11-02 12:56:52 +00:00
espie f4b7f81318 convert to PKGSTEM 2018-09-04 12:46:09 +00:00