Commit graph

294 commits

Author SHA1 Message Date
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
Gerald Pfeifer
ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +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
Alexey Dokuchaev
5db86daed5 Chase the shlib version bump of `mail/mailutils' in r493966. 2019-02-26 14:58:27 +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
Gerald Pfeifer
a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00
Koop Mast
289883b11b Update ImageMagick to 6.9.10.14 [1]
* Add PKGNAMESUFFIX and rename the directory. This was done to show
  that IM6 is not the "main" version. But still fully supported by upstream.
* Convert a number of options to optionhelpers.
* Add option for ISO/IEC 23008-12:2017 HEIF suport
* Add comment to pkg-descr explaining IM6's "legacy" tag.
* Add comment to the patch-config_policy.xml file why it still needed.

Please note that IM7 is not a drop in replacement due to library API and
command arguments changes. And as a result ports need to decide for themself
which version to use.

Chase these changes in all the ports that using IM6.

PR:		225102 (based on, only the version update) [1]
Submitted by:	Pascal Christen <pascal.christen@hostpoint.ch>
2018-11-10 19:57:07 +00:00
Gerald Pfeifer
09f9633cb6 Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
2018-07-29 22:18:44 +00:00
Yuri Victorovich
0b57df9a21 print/libotf: Update 0.9.13 -> 0.9.16
Port changes:
* Add LICENSE/LICENSE_FILE
* Add to USE_XORG
* Remove CPPFLAGS

PR:		228647
Submitted by:	thierry
Approved by:	nikola.lecic@anthesphoria.net (maintainer's timeout; 30 days)
2018-07-02 06:27:48 +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
Joseph Mingrone
f76f9f534d editors/emacs: Fix build when XWIDGETS knob is on
Reported by:	olgeni
2018-06-01 01:11:37 +00:00
Joseph Mingrone
aca33f1e53 editors/emacs: Fix copy/paste nonsense error from r471214
pointy-hat:	jrm
2018-05-31 15:57:13 +00:00
Joseph Mingrone
f55e6d7c2e editors/emacs: Fix configure issue when no X toolkit knob is on 2018-05-31 15:35:36 +00:00
Joseph Mingrone
7a25a9e899 editors/emacs: Fix plist issue when SOURCES knob is off
PR:		228626
Reported by:	Simeon Simeonov <blackmore@pichove.org>
2018-05-31 15:35:18 +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
Joseph Mingrone
c85daea952 Emacs ports: Conform to 'Order of Variables in Port Makefiles' in PH 2018-04-26 13:49:09 +00:00
Joseph Mingrone
02454df1ce Emacs ports: Tell configure to skip checks for sysinfo header
The build fails when devel/libsysinfo is pulled in.  This can happen when
graphics/ImageMagick is built with the OPENMP knob on.

Reported by:	Richard M. Timoney <richardt@maths.tcd.ie>
2018-04-26 02:03:28 +00:00
Joseph Mingrone
78da9d4745 Emacs ports: Remove obsolete variable definitions
editors/emacs: The CANNA option was replaced by a flavor, so remove
CANNA_DESC.

editors/emacs and editors/emacs-devel: The X11 option was replaced by the
nox flavor, so remove WITHOUT_X11.

Reported by:	ashish
2018-02-21 23:59:43 +00:00
Joseph Mingrone
a3361fa7ef Emacs ports: Add USES=localbase:ldflags and MAILUTILS option
Refer to
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=10313
https://lists.gnu.org/archive/html/emacs-devel/2017-08/msg00044.html
2018-02-21 23:59:37 +00:00
Joseph Mingrone
6dca38e4f6 editors/emacs: Remove X11 option references missed in 462411
PR:		226083
Reported by:	Terry Kennedy <terry-freebsd@glaver.org>
Differential Revision:	https://reviews.freebsd.org/D14233
2018-02-21 12:46:19 +00:00
Joseph Mingrone
e267732558 editors/emacs: Use OPTION helper to conditionally add to PLIST_FILES
Submitted by:	mat
2018-02-20 16:36:06 +00:00
Joseph Mingrone
433449f08a editors/emacs,emacs-devel: After nox flavor, remove X11 option 2018-02-20 16:17:32 +00:00
Joseph Mingrone
9fb5a7a995 editors/emacs@canna: Fix plist issue when SOURCES option is off 2018-02-20 16:17:30 +00:00
Joseph Mingrone
fb26a9cc45 editors/emacs@canna: Use correct configure argument
Submitted by:	TAKANO Yuji <takachan@running-dog.net>
2018-02-20 16:17:27 +00:00
Joseph Mingrone
9a8e67ae63 editors/emacs@nox, editors/emacs-devel@nox: Fix configure error
When liblockfile is installed, configure fails, but only for the @nox
flavors.

There is an emacs-devel@gnu.org mailing list thread discussing the issue.
https://lists.gnu.org/archive/html/emacs-devel/2018-02/msg00515.html

PR:		225902
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
2018-02-20 16:17:16 +00:00
Joseph Mingrone
a3cc513bfc Flavorize and modernize Emacs ports
- Convert USE_EMACS to USES=emacs
- Remove editors/emacs-nox11 (refer to nox flavors of editors/emacs and
  editors/emacs-devel)
- Permit default Emacs flavor to be specified in make.conf
- Rename japanese/migemo-emacs23 to japanese/migemo-emacs
- Update and simplify audio/emms and fix build on FreeBSD 10 [1]
- Update databases/bbdd and fix build on FreeBSD 10 [1]
- Update editors/emacs-devel
- Ensure Makefile shell commands that change directory are executed in a
  subshell
- Silence some portlint warnings

[1] By not depending on base texinfo

PR:		225404
Reviewed by:	antoine
Approved by:	portmgr (mat) ashish (maintainer)
Differential Revision:	https://reviews.freebsd.org/D13506
2018-02-01 18:03:09 +00:00
Ashish SHUKLA
4a3529f7c3 - Fix broken behaviour when port is compiled with IMAGEMAGICK option
and ImageMagick is built with OPENMP option

PR:		223518
Submitted by:	Kalten <kalten@gmx.at>
2017-11-19 09:13:43 +00:00
Koop Mast
704ab44ef9 ImageMagick to 6.9.9-15.
* Disable FPX (FlashPix) support by default. This image format is really
  rare these days coupled with that there are known CVE's in libfpx and
  it doesn't seem to be maintained these days. It doesn't make sense to
  keep it enabled by default anymore. [1]
* Add new option for RAW support
* Fix portscout macro to only show 6.9.x versions

Bump other ports for the shared library bumps in IM 6.

PR:		222309 [1]
Submitted by:	Anton Yuzhaninov <citrin+pr@citrin.ru> [1]
2017-09-28 15:36:31 +00:00
Ashish SHUKLA
938c9d589e - Update Emacs to 25.3
Security:	https://www.vuxml.org/freebsd/47e2e52c-975c-11e7-942d-5404a68a61a2.html
2017-09-12 15:34:32 +00:00
Koop Mast
6a6ad99f06 Chase ImageMagick shlib bump 2017-05-26 08:20:18 +00:00
Matthew Rezny
b760897dde Revision bump of all ports with USE_GL after consolidation of mesa-libs
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D10845
2017-05-23 05:03:14 +00:00
Joseph Mingrone
aca9927aa4 editors/emacs: Update to version 25.2
- Make gtk3 the default X11 toolkit since the configure script will search
  for that version first and upstream describes gtk2 as deprecated.
- Release notes: https://www.gnu.org/software/emacs/news/NEWS.25.2

Approved by:	ashish (maintainer), swills (mentor, implicit)
2017-04-22 19:38:35 +00:00
Ashish SHUKLA
d97f43e9ec - Mark port as BROKEN for aarch64
- Remove now redundant BROKEN_* directive from slave port:
  editors/emacs-nox11

Reported by:	Gergely Czuczy <gergely.czuczy at harmless.hu>
2017-03-14 03:04:12 +00:00
Tijl Coosemans
02f27a83b4 The output of tools like awk, date, sort, tr,... depends on the current
locale set by the user.  Add LANG=C and LC_ALL=C at the beginning of
bsd.port.mk and export them so all commands are executed with the C locale.
LC_ALL=C overrides all other LC_* variables.  LANG is used by setlocale(3)
as default value for LC_* variables, so normally it isn't used when LC_ALL
is set, but there's code out there that looks at LANG directly so it's safer
to set it as well.  The only commands not captured by this are !=
assignments before any inclusion of bsd.port.*mk.

Introduce USE_LOCALE=<locale> that adds LANG=<locale> and LC_ALL=<locale> to
CONFIGURE_ENV and MAKE_ENV so upstream build systems can be executed with a
different locale (e.g. USE_LOCALE=en_US.UTF-8).

PR:		215882
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2017-01-18 13:20:31 +00:00
Ashish SHUKLA
3477ba2967 - Fix typo, happened in r423103
PR:		212807
2016-10-02 13:33:53 +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
Mathieu Arnold
4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00
Tijl Coosemans
6bc6f3a9e0 - Update security/gnutls to 3.4.10.
- Rename the LIBDANE option DANE because that's the name of the protocol
  supported by libgnutls-dane and gnutls-cli.  Also clarify the option
  description.
- Add an IDN option.
- libgnutls-openssl has been removed in 3.4.  Some ports used this library
  in their LIB_DEPENDS but no port actually required it.
- Some old API functions have been removed.  Ports that used these have been
  updated or patched to use the new API.
- Add a patch to print/cups to prevent overlinking of libgnutls.so.
- Bump PORTREVISION on dependent ports.

net-im/jabber: This port used the old API to give users fine grained
control over which crypto algorithms were used via a configuration file.
It's not immediately obvious how to port this to the new API so the port
always uses the defaults now.

www/hydra: Mark BROKEN.  This uses more removed calls than the other ports,
is said to be alpha quality and not fully functional and has been abandoned
10 years ago.

PR:		207768
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-03-27 14:57:59 +00:00
Antoine Brodin
0e8c3bf1b3 Update giflib to 5.1.1
PR:		204492
2015-12-03 20:01:03 +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