Commit graph

284 commits

Author SHA1 Message Date
Yasuhiro Kimura
ba4eb3a50e editors/emacs: Update to 29.1
* Update Canna patch to the one for Emacs 29.
* Add new options PGTK, SQLITE3, TREESITTER and WEBP. SQLITE3 and
  TREESITTER are ON by default. PGTK and WEBP options are excluded
  from nox flavor.
* CARGO option doesn't imply XFT but prevents it. It is caused as a
  result of adding pure GTK support (PGTK option).
* OTK options doesn't imply XTF any more. It is also caused as a
  result of adding pure GTK support.
* Update NATIVECOMP option so it specifies ahead-of-time compilation
  via the configure argument.
* Remove "experimental" from NATIVECOMP_DESC.
* Add print/freetype2 and x11-fonts/fontconfig to CAIRO_LIB_DEPENDS
  and GTK3_LIB_DEPENDS. Necessary to link emacs binary with shared
  libraries.
* When PGTK option is ON and SCROLLBARS is OFF, configure fails as
  following

  ----------------------------------------------------------------------
  checking for gnutls >= 2.12.2... yes
  checking for jansson >= 2.7... yes
  checking for tree-sitter >= 0.20.2... yes
  checking for libkqueue... no
  checking for library containing kqueue... none required
  configure: error: Non-toolkit scroll bars are not implemented for your system
  ----------------------------------------------------------------------

  So add SCROLLBARS to PGTK_IMPLIES to avoid such options setting.
* When MODULES option is OFF and TREESITTER is ON, link error happens
  as following.

  ----------------------------------------------------------------------
  cc -o temacs.tmp \
    -Demacs  -I. -I. -I../lib -I../lib   -I/usr/local/include   -I/usr/local/include/librsvg-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -D_THREAD_SAFE   -I/usr/local/include/libpng16  -I/usr/local/include/libxml2   -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include  -I/usr/local/include -D_THREAD_SAFE  -I/usr/local/include -D_THREAD_SAFE  -I/usr/local/include -D_THREAD_SAFE   -I/usr/local/include -D_THREAD_SAFE  -I/usr/local/include -I/usr/local/include/webp   -I/usr/local/include  -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -pthread  -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include  -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include  -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libpng16  -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include    -MMD -MF deps/.d -MP  -I/usr/local/include   -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1   -I/usr/local/include/cairo -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -D_THREAD_SAFE      -Wno-switch -Wno-pointer-sign -Wno-string-plus-int -Wno-unknown-attributes -Wno-unknown-pragmas -Wno-initializer-overrides -Wno-tautological-compare -Wno-tautological-constant-out-of-range-compare -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include    -fstack-protector-strong -L/usr/local/lib  -L/usr/local/lib \
      dispnew.o frame.o scroll.o xdisp.o menu.o xmenu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o bidi.o cm.o term.o terminal.o xfaces.o xterm.o xfns.o xselect.o xrdb.o xsmfns.o xsettings.o  dbusbind.o emacs.o keyboard.o macros.o keymap.o sysdep.o bignum.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o cmds.o casetab.o casefiddle.o indent.o search.o regex-emacs.o undo.o alloc.o pdumper.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o sort.o font.o print.o lread.o  syntax.o  bytecode.o comp.o  process.o gnutls.o callproc.o region-cache.o sound.o timefns.o atimer.o doprnt.o intervals.o textprop.o composite.o xml.o lcms.o kqueue.o  profiler.o decompress.o thread.o systhread.o sqlite.o  treesit.o itree.o      xfont.o ftfont.o ftcrfont.o hbfont.o  fontset.o fringe.o image.o xgselect.o json.o     terminfo.o lastfile.o      ../lib/libgnu.a      ../oldXMenu/libXMenu11.a  -ltiff -ljpeg -L/usr/local/lib -lpng16  -lgif  -L/usr/local/lib -lwebpdemux -lwebpdecoder   -lSM -lICE -lX11   -lXrender  -L/usr/local/lib -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo        -lrt -L/usr/local/lib -ldbus-1  -lexecinfo -L/usr/local/lib -lXrandr  -L/usr/local/lib -lXinerama  -L/usr/local/lib -lXfixes  -lXext -lXext -L/usr/local/lib -lxml2   -lutil -L/usr/local/lib -lcairo  -lncurses  -L/usr/local/lib -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl  -L/usr/local/lib -lgobject-2.0 -lglib-2.0 -lintl   -L/usr/local/lib -lfreetype  -L/usr/local/lib -lfontconfig -lfreetype  -L/usr/local/lib -lharfbuzz    -L/usr/local/lib -lgnutls  -lpthread  -L/usr/local/lib -llcms2 -llcms2_fast_float -llcms2_threaded   -lm -lz   -L/usr/local/lib -ljansson  -lgmp  -L/usr/local/lib -lXi   -L/usr/local/lib -ltree-sitter  -lsqlite3 -lXcomposite -lXext
  ld: error: undefined symbol: dynlib_error
  >>> referenced by treesit.c
  >>>               treesit.o:(treesit_load_language)
  >>> referenced by treesit.c
  >>>               treesit.o:(treesit_load_language)
  >>> referenced by treesit.c
  >>>               treesit.o:(treesit_load_language)
  >>> referenced 1 more times

  ld: error: undefined symbol: dynlib_sym
  >>> referenced by treesit.c
  >>>               treesit.o:(treesit_load_language)

  ld: error: undefined symbol: dynlib_open
  >>> referenced by treesit.c
  >>>               treesit.o:(treesit_load_language)
  cc: error: linker command failed with exit code 1 (use -v to see invocation)
  ----------------------------------------------------------------------

  So add MODULES to TREESITTER_IMPLIES to avoid such options setting.
  * Bump PORTREVISION of ports that use "USES=emacs".

ChangeLog:	https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-29.1
Reviewed by:	ashish, jrm
Differential Revision:	https://reviews.freebsd.org/D41444
2023-08-20 09:53:11 +09:00
Daniel Engberg
664a2fa1e5 */*: Bump jpeg-turbo users treewide
New major version 3.0.0
2023-07-28 19:13:17 +02:00
Yasuhiro Kimura
0ebb2e46f5 editors/emacs: Add upstream patch for check-declare-directory
Add following upstream patch for check-declare-directory.

----------------------------------------------------------------------
commit ed1a24b4b2e39498e4c4448365e1d5f0149e5fc6
Author:     Lars Ingebrigtsen <larsi@gnus.org>
AuthorDate: Wed May 11 14:18:27 2022 +0200
Commit:     Lars Ingebrigtsen <larsi@gnus.org>
CommitDate: Wed May 11 14:18:27 2022 +0200

    Don't signal errors in check-declare-directory

    * lisp/emacs-lisp/check-declare.el (check-declare-directory): Don't
    bug out if we don't find any files with declare-function:(bug#55354)
    because this is a predicate function, and that's inconvenient.
----------------------------------------------------------------------

This fixes build error with upcoming update of devel/git-modes to
1.4.1 as following.

----------------------------------------------------------------------
=======================<phase: build          >============================
===>  Building for git-modes-1.4.1,1
gmake[1]: Entering directory '/wrkdirs/usr/ports/devel/git-modes/work-full/git-modes-1.4.1'
Compiling git-modes.el
Compiling gitattributes-mode.el
Compiling gitconfig-mode.el
Compiling gitignore-mode.el
 Creating git-modes-autoloads.el
 Checking function declarations
Debugger entered--Lisp error: (error "find exited with status 1")
  signal(error ("find exited with status 1"))
  error("%s exited with status %s" "find" 1)
  process-lines-handling-status("find" nil "." "-name" "*.el" "-exec" "grep" "-l" "^[ \11]*(declare-function" "{}" "+")
  apply(process-lines-handling-status "find" nil ("." "-name" "*.el" "-exec" "grep" "-l" "^[ \11]*(declare-function" "{}" "+"))
  process-lines("find" "." "-name" "*.el" "-exec" "grep" "-l" "^[ \11]*(declare-function" "{}" "+")
  check-declare-directory("~/git-modes-1.4.1/")
  eval((check-declare-directory default-directory) t)
  command-line-1(("-L" "/usr/local/share/emacs/28.2/site-lisp/compat" "-L" "." "--eval" "(check-declare-directory default-directory)"))
  command-line()
  normal-top-level()

gmake[1]: *** [Makefile:37: check-declare] Error 255
gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/git-modes/work-full/git-modes-1.4.1'
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/git-modes
----------------------------------------------------------------------

Reviewed by:	jrm
Differential Revision:	https://reviews.freebsd.org/D40079
2023-05-13 15:32:53 +09:00
Felix Palmen
a6bb2f8c5e Mk/Uses/magick.mk: Bump all consumers
Bump all consumers of ImageMagick ports after flavorizing them.

Approved by:	tcberner (mentor, implicit)
2023-04-30 13:10:42 +02:00
Tobias C. Berner
fa81a4f5f8 accessibility/at-spi2-core: update to 2.46.0
What's new in at-spi2-core 2.46.0:
* Fix GetInterfaces documentation on org.a11y.atspi.Accessible
  interface.

What's new in at-spi2-core 2.45.91:
* Send device event controller events using the same signature as other
  events.
* Document the Accessible, Action, and Cache dbus interfaces.
* Fix license of atspi-gmain.c (#87).

What's new in at-spi2-core 2.45.90:
* xml: Add some documentation.
* xml: Fix event arguments.
* xml: Add some missing DeviceEventController methods.
* Bind the AT-SPI bus to the graphical session.
* Mark bus service as belonging to the session slice.
* Add ATSPI_ROLE_PUSH_BUTTON_MENU.
* Add an "announcement" event/signal to allow objects to send
  notifications (!63).
* Various code clean-ups and test improvements.

What's new in at-spi2-core 2.45.1:
* Atk and at-spi2-atk are now merged into this project.
* Now requires meson 0.56.2 and glib 2.67.4.
* at-spi2-atk: Expose the accessible hierarchy via dbus introspection.
* Properly escape the AT-SPI bus address; fixes warnings about the address
  not containing a colon (!55).
* Add a text value to AtspiValue, so that a value can expose a textual
  description, as in the new Atk value API.
* Add atspi_event_listener_register_with_app, to allow an event listener
  to be registered only for a given application (!52).

- accessibility/atk and accessibility/at-spi2-atk have been merged into
  accessibility/at-spi2-core

- accessibility/at-spi2-core: bump consumers of removed ports atk and at-spi2-atk

PR:		269704
Exp-run by:	antoine
---
2023-03-02 06:23:10 +01:00
Yasuhiro Kimura
8f3485d5de editors/emacs: Add upstream patches to fix multiple vulnerabilities
Reviewed by:	ashish, jrm
MFH:		2023Q1
Security:	a75929bd-b6a4-11ed-bad6-080027f5fec9
Differential Revision:	https://reviews.freebsd.org/D38810
2023-02-28 18:20:41 +09:00
Joseph Mingrone
822b6995b2
editors/emacs: 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-13 10:24:41 -04:00
Yasuhiro Kimura
2b1ab08852 editors/emacs: Add upstream patch to fix arbitary shell command execution vulnerability
Reviewed by:	jrm
MFH:		2023Q1
Security:	76e2fcce-92d2-11ed-a635-080027f5fec9
Differential Revision:	https://reviews.freebsd.org/D38033
2023-01-13 18:20:56 +09:00
Joseph Mingrone
8882913727
Emacs ports: Build using GCC when NATIVECOMP is on
In order to allow concurrent installation, the GCC ports, as of 0338e04,
moved some header files to internal locations.  Emacs built with
NATIVECOMP requires GCC jit libraries.  Rather than patching Emacs to
search in those internal locations, build Emacs with GCC when NATIVECOMP
is turned on.

PR:		257060
Tested by:	jcfyecrayz@liamekaens.com, yasu
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D37275
2022-11-06 11:22:02 -04:00
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
Stefan Eßer
fb16dfecae Remove WWW entries moved into port Makefiles
Commit b7f05445c0 has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2022-09-07 23:58:51 +02:00
Stefan Eßer
b7f05445c0 Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
2022-09-07 23:10:59 +02:00
Tobias C. Berner
7cd7a8d850 editors: remove 'Created by' lines
A big Thank You to the original contributors of these ports:

  *  Adam Saponara <as@php.net>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Alexey Dokuchaev <danfe@FreeBSD.org>
  *  Andreas Kohout <shanee@augusta.de>
  *  Andrej Zverev <az@inec.ru>
  *  Andrey Zakhvatov
  *  Anton Tornqvist <antont@inbox.lv>
  *  Bill Fumerola <billf@chc-chimes.com>
  *  Bob Eager <bob@eager.cx>
  *  Chris D. Faulhaber <jedgar@fxp.org>
  *  Chris Petrik <chris@officialunix.com>
  *  Christian Brueffer <chris@unixpages.org>
  *  Craig Leres <leres@FreeBSD.org>
  *  Daniel Eischen <deischen@FreeBSD.org>
  *  David O'Brien <obrien@cs.ucdavis.edu>
  *  David Thiel <lx@redundancy.redundancy.org>
  *  Diego Depaoli <trebestie@gmail.com>
  *  Dima Dorfman <dima@unixfreak.org>
  *  Dmitri Goutnik <dg@syrec.org>
  *  Dominic Mitchell
  *  Emanuel Haupt <ehaupt@FreeBSD.org>
  *  Frederic Cambus
  *  Gea-Suan Lin <gslin@gslin.org>
  *  Geoffrey Mainland <mainland@apeiron.net>
  *  Grzegorz Blach <gblach@FreeBSD.org>
  *  Hakisho Nukama <nukama@gmail.com>
  *  James Bailie <jimmy@mammothcheese.ca>
  *  Janos Mohacsi <janos.mohacsi@bsd.hu>
  *  Jason Evans <jasone@FreeBSD.org>
  *  Jean-Yves Lefort <jylefort@brutele.be>
  *  Jille Timmermans (jille@quis.cx)
  *  Joe Marcus Clarke <marcus@FreeBSD.org>
  *  Johannes Meixner <johannes@perceivon.net>
  *  John Merryweather Cooper et al
  *  Jun-ichiro itojun Itoh <itojun@itojun.org>
  *  KIMURA Yasuhiro <yasu@utahime.org>
  *  Kelly Yancey <kbyanc@posi.net>
  *  Kenneth Vestergaard Schmidt <kvs@pil.dk>
  *  Kris Kennaway <kris@FreeBSD.org>
  *  Leif Pedersen <bilbo@devpit.org>
  *  MANTANI Nobutaka <nobutaka@nobutaka.com>
  *  Mark Pulford <mark@kyne.com.au>
  *  Martin Blapp
  *  Matías Pizarro <matias@pizarro.net>
  *  Maxim Sobolev <sobomax@FreeBSD.org>
  *  Michael Johnson <ahze@FreeBSD.org>
  *  Michael Johnson <ahze@ahze.net>
  *  Michael L. Hostbaek (mich@freebsdcluster.org)
  *  Michael Vasilenko <acid@stu.cn.ua>
  *  Miguel Clara <miguelmclara@gmail.com>
  *  Mohammad S. Babaei <info@babaei.net>
  *  Nicola Vitale <nivit@email.it>
  *  Olga Smirnova <mistresssilvara@hotmail.com>
  *  Oliver Lehmann <oliver@FreeBSD.org>
  *  Olivier Cochard-Labbe <olivier@FreeBSD.org>
  *  Olivier Duchateau
  *  Patrick Li <pat@databits.net>
  *  Peter Wemm <peter@FreeBSD.org>
  *  Philippe Lefebvre <nemesis@balistik.net>
  *  Rimvydas Jasinskas <zrj@ef.irc>
  *  Roman Shterenzon <roman@xpert.com>
  *  Satoshi Asami (asami)
  *  Shaun Amott <shaun@FreeBSD.org>
  *  Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
  *  Shigeyuki Fukushima <shige@FreeBSD.org>
  *  Stanislav Sedov <stas@core.310.ru>
  *  Thomas Gellekum <tg@FreeBSD.org>
  *  Vitaly Magerya <vmagerya@gmail.com>
  *  Xin LI <delphij@FreeBSD.org>
  *  Ying-Chieh Liao
  *  Ying-Chieh Liao <ijliao@FreeBSD.org>
  *  Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
  *  alepulver
  *  brett@peloton.physics.montana.edu
  *  buganini@gmail.com
  *  eric
  *  erich@rrnet.com
  *  gahr
  *  gelf
  *  giffunip@asme.org
  *  ijliao
  *  jkh
  *  joerg
  *  joseph@randomnetworks.com
  *  krion
  *  lightside <lightside@gmx.com>
  *  pgf
  *  rch@richard.eu.org
  *  tetsushi NAKAI <nakai@tsl.pe.u-tokyo.ac.jp>
  *  tg
  *  thierry@pompo.net
  *  torstenb@FreeBSD.org
  *  verm

With hat:	portmgr
2022-07-20 16:21:49 +02:00
Baptiste Daroussin
36c95c1ea0 editors/emacs: remove GCONF option 2022-06-08 16:10:15 +02:00
Piotr Kubaj
291fef31b6 editors/emacs: build without GCC on powerpc64le
The current release builds fine.
2022-04-17 13:05:52 +02:00
Charlie Li
d63665f7cd
textproc/libxml2: bump all LIB_DEPENDS consumers
This is a separate commit to facilitate easier cherry-picking for
quarterly.

PR: 262853, 262940, 262877, 263126
Approved by: fluffy (mentor)
2022-04-10 15:11:41 -04:00
HIROSE yuuji
4eebea2037
editors/emacs: Add updated canna patches 2022-04-07 19:12:43 -03:00
Joseph Mingrone
448b1af9f4
editors/emacs: Update to 28.1
https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS.28

Reviewed by:	ashish
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D34779
2022-04-07 19:12:43 -03:00
Matthias Fechner
247c7db751 textproc/libxml2: bump all dependencies
This should make sure that all dependent ports will pick
up the new version commited with a13ec21cd7
2022-03-26 09:27:27 +01:00
Tobias C. Berner
45526ecbee framework: Add new USES 'magick' for graphics/ImageMagick*
A new USES has been added to depend on ImageMagick.

	USES=magick

adds a LIB_DEPENDS on graphics/ImageMagick${IMAGEMAGICK_DEFAULT}.

If a specific version is required, use for example

	USES=magick:6        resp.     USES=magick:7

If only a build, run or test is required, use for example

	USES=magick:build    resp.     USES=magick:6,build,test

If a dependency on the nox11 flavor is required, use for example

	USES=magick:nox11    resp.     USES=magick:7,nox11,run,test

See magick.mk for more details on the available flags.

The tree has been completely converted to make use of this.

Approved by:	bapt
Differential Revision: https://reviews.freebsd.org/D32754
2021-12-11 14:50:53 +01:00
Tobias C. Berner
b6c28aeee7 graphics/ImageMagick7: Bump consumers after 4f086586da 2021-11-12 17:46:39 +01:00
Baptiste Daroussin
2c672a4de9 INSTALLS_ICONS: retire the macro and rework the related dependencies
While here, make sure gtk-update-icon-cache is only on run dependency
where added as a dependency
Enforce gtk3 to depend on gtk-update-icon-cache (previously it was
inheriting the dependency)
2021-10-10 21:44:42 +02:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02: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
Piotr Kubaj
a011f0b7ba editors/emacs: fix build on powerpc64le
Use GCC:
Hash table too large
2021-03-07 13:07:03 +00:00
Piotr Kubaj
c32a4b37ed Add LTO_DESC to Mk/bsd.options.desc.mk.
There are more and more ports using LTO.
2021-02-10 19:17:45 +00:00
Alexey Dokuchaev
f0a8df1498 - Update `mail/mailutils' to version 3.11
- Add `required_files' and `configlint' to rc scripts
- Emacs ports: chase shared library version bump

Submitted by:	maintainer
2020-12-25 08:17:49 +00:00
Tobias C. Berner
9e0e8d17a4 Prefer graphics/ligvrsvg2-rust over graphics/librsvg2
- switch to the more modern version of librsvg2 on architectures
  supporting rust
- this will fix some graphical issues on these architectures

PR:		250276
Exp-run by:	antoine
Submitted by:	tobik
Differential Revision:	https://reviews.freebsd.org/D18878
2020-11-09 17:08:12 +00:00
Ashish SHUKLA
599d72d808 - Include a patch from upstream to fix regression in schemas.xml
PR:		250813
Submitted by:	Yasuhiro KIMURA <yasu at utahime dot org>
2020-11-07 19:56:54 +00:00
Joseph Mingrone
e26fca5848 Emacs ports: Simplify flavor comments
Suggested by:	mat
Reviewed by:	emacs (ashish)
2020-10-15 09:46:09 +00:00
Piotr Kubaj
96c9413e54 editors/emacs: remove GCC dependency
Dependent ports now build fine with clang.
2020-09-23 23:59:07 +00:00
Mark Linimon
96c6c4a799 Canonicalize use of GCC on all powerpc variants.
Approved by:	portmgr (tier-2 blanket)
2020-09-23 17:44:40 +00:00
Joseph Mingrone
2c380341a2 editors/emacs: Fix packaging issue when the SOURCES knob is off
Reported by:	Scott Allendorf <scott-allendorf@uiowa.edu>
2020-08-13 03:01:02 +00:00
Joseph Mingrone
5ff2f08590 editors/emacs: Add pkg-message to update dependent packages
Submitted by:	ashish
2020-08-13 03:00:51 +00:00
Joseph Mingrone
bea2b0b802 editors/emacs: Update to version 27.1
Please refer to the 20200811 UPDATING entry when upgrading
dependent (*-emacs26-*) ports.

Port changes:

- depend on math/gmp
- match upstream by turning CAIRO, HARFBUZZ, and JSON options and on and
  turning MAGICK off by default
- remove OPENMP check for graphics/ImageMagick as the openmp is now
  included in base
- update EMACS_VER in Mk/Uses/emacs.mk
- bump USES=emacs ports or remove BROKEN for net-im/jabber.el and
  deskutils/howm, which now build

Submitted by:	HIROSE Yuuji <yuuji@gentei.org> (canna patch)
Reviewed by:	ashish
Differential Revision:	https://reviews.freebsd.org/D23966
2020-08-12 18:30:06 +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
Jan Beich
f866d35f8c editors/emacs: divorce GSETTINGS from DBUS
Whether GSettings uses DBus at runtime depends on the backend.

PR:		247042
Approved by:	jrm
2020-06-07 16:56:35 +00:00
Greg Lehey
37feccdc38 Bump PORTREVISION.
Reminded by: ashish@
2020-04-27 05:38:49 +00:00
Greg Lehey
33b98bb82f Require ImageMagick 7, not 6. 2020-04-27 04:41:22 +00:00
Joseph Mingrone
f7475e110d editors/emacs: Use more precise description for the FCITXPATCH knob
While here, pet portfmt.
2020-02-20 18:46:57 +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
Piotr Kubaj
43fb7e6e4c editors/emacs: fix miscompilation on powerpc64 elfv2
Clang currently miscompiles emacs, resulting in broken builds for dependencies:
===>  Building for treepy.el-emacs26-0.1.1_3
(cd /wrkdirs/usr/ports/devel/treepy.el/work-full/treepy.el-0.1.1 ; /usr/local/bin/emacs-26.3 -batch -q -f batch-byte-compile treepy.el)
*** Signal 6

Use GCC to workaround it.

PR:		243484
Approved by:	jrm (maintainer)
2020-01-22 10:47:24 +00:00
Joseph Mingrone
f60299d376 editors/emacs: Standardize formatting with ports-mgmt/portfmt
Approved by:	portmgr* (swills)

* A commit hook for flavors was trigger, preventing the commit without portmgr
approval.
2019-11-10 19:57:28 +00:00
Niclas Zeising
185df3c499 editors/emacs: Bump portrevision
Bump portrevision for editors/emacs and editors/emacs-devel after removal of
the optional libXp depdenency.
2019-11-01 14:14:00 +00:00
Niclas Zeising
56de881f3e editors/emacs: Remove optional dependency on libXp
Remove the optional dependency on libXp from editors/emacs and
editors/emacs-devel.  The dependency on libXp is added if the MOTIF option
is selected, but libXp isn't needed in this case.  The MOTIF option is not
the default.
libXp has been deprecated and is going away.
2019-11-01 14:08:52 +00:00
Baptiste Daroussin
76afe2b79a Drop the ipv6 virtual category for e* category as it is not relevant anymore 2019-10-09 10:37:18 +00:00
Joseph Mingrone
ed7767b952 Emacs ports: Minor cleanup to option descriptions
- Use some default descriptions defined in bsd.options.desc.mk
- Move [implies ...] notes left for smaller displays
- Drop 'Experimental' from Cairo description [1]


[1] https://lists.gnu.org/archive/html/emacs-devel/2019-06/msg00633.html
2019-09-09 16:16:31 +00:00
Joseph Mingrone
c8aa5f3dd9 Emacs ports: no-op to conform to var order and improve consistency
Approved by:	ashish
Differential Revision:	https://reviews.freebsd.org/D21524
2019-09-09 16:16:23 +00:00
Joseph Mingrone
e8421442d2 editors/emacs: Update to version 26.3
Port changes:

- Remove JSON knob, because Emacs has no configurable json option in
  versions prior to and including 26.3.  The knob should not have been
  added in r472261.

- Add USES+=gnome unless flavor is nox.  Do this because defining
  INSTALLS_ICONS adds USE_GNOME+=gtk-update-icon-cache.

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

Submitted by:	HIROSE Yuuji <yuuji@gentei.org> [canna patch updates]
Differential Revision:	https://reviews.freebsd.org/D21193
2019-08-30 17:43:53 +00:00