Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the
current python flavor. It can be used in dependency lines when the
port itself is not python flavored. For example, deskutils/calibre.
By default, all the flavors are generated. To only generate flavors
for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define
BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf.
In all the ports with Python dependencies, the *_DEPENDS entries MUST
end with the flavor so that the framework knows which to build/use.
This is done by appending '@${PY_FLAVOR}' after the origin (or
@${FLAVOR} if in a Python module with Python flavors, as the content
will be the same). For example:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
PR: 223071
Reviewed by: portmgr, python
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D12464
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 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, c++11-lib, c++11-lang,
c++14-lang, c++0x, c11, or gcc-c++11-lib.
PR: 219275
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using using Mk/bsd.octave.mk which in turn has USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
c++11-lang, c++0x, c11, or gcc-c++11-lib.
PR: 216707
$ sigil
[Embedded Python Error]
Traceback (most recent call last):
File "/usr/local/share/sigil/python3lib/xmlprocessor.py", line 6, in <module>
from sigil_bs4.builder._lxml import LXMLTreeBuilderForXML
File "/usr/local/share/sigil/plugin_launchers/python/sigil_bs4/builder/_lxml.py", line 26, in <module>
from lxml import etree
ImportError: No module named 'lxml'
* multimedia/obs-studio:
Import some upstream commits that pass all required include directories to
the compiler and reference libsysinfo.so with a full path instead of passing
-lsysinfo and relying on ${LOCALBASE}/lib being in the linker search path.
* textproc/sigil:
Pass LDFLAGS+=${LOCALBASE}/lib for now to work around the fact that
upstream's build system references libhunspell-1.3.so and libpcre16.so
without full paths (instead of finding them with the proper CMake commands it
relies on pkg-config's output).
* x11/antimicro:
Also pass LDFLAGS+=${LOCALBASE}/lib for now to work around the fact that
several X11 and SDL2 libraries are referenced without full paths. I sent a
pull request upstream to fix the X11 references, but SDL2 is still detected
through pkg-config.
MFH: 2015Q4
- Support multiple values in *_OLD_CMD, i.e. we can now fix both "/usr/bin/python" and "/usr/bin/env python" at the same time
- Default *_OLD_CMD values are now always appended, so you don't need to specify them in individual ports
- Add lua support (depends on USES=lua)
- Add more default values, such as "/usr/bin/env foo" for python, perl, bash, ruby and lua
- Shebangfix now matches whole words, e.g. we will no longer (erroneously) replace "/usr/bin/perl5.005" with "${perl_CMD}5.005" (but "/usr/bin/perl -tt" is still (correctly) replaced with "${perl_CMD} -tt")
Note that *_OLD_CMD items containing spaces must now be quoted (e.g. perl_OLD_CMD=/bin/perl /usr/bin/perl "/usr/bin/env perl")
Update shebangfix usage according to new rules in many ports:
- Remove *_OLD_CMD for patterns now replaced by default
- Quote custom *_OLD_CMD which contain spaces
Fix shebangfix usage in many ports (irrelevant to infrastructure change):
- Remove redundant SHEBANG_LANG (no need to duplicate default langs)
- Remove redundant *_CMD (such as python_CMD=${LOCALBASE}/bin/python${PYTHON_VER} when USES=python is present)
- Never use *_OLD_CMD in REINPLACE_CMD matchers, these should always look for exact string
Approved by: portmgr (bapt)
Differential Revision: D3756
- Convert to system minizip & utf8-cpp, which are newer
- Prevent accidentally mixing bundled/system headers
- Prefer ninja over make(1) to max out CPU during build
- Turn off asserts in bundled tidyLib
- Check actual compiler when disabling PCH and fix cmake warning
- Drop some unused RUN_DEPENDS (qmake, moc, linguist*)
- Sort LIB_DEPENDS according to port origin
- Require devel/pcre with pcre16 support
- Pet portlint (DATADIR, makepatch)
Changes: https://github.com/user-none/Sigil/blob/0.8.6/ChangeLog.txt
Current WWW page at GOOGLE_CODE says:
New Home Page
The new home page for Sigil is http://sigil-ebook.com
Project code moved to Github
The source code for Sigil is no longer being managed on Google
Code. It is now available on GitHub and can be accessed at
https://github.com/user-none/Sigil.
the 32 ports that still use it. Bump PORTREVISION on their dependent
ports except the ones that depend on these:
audio/libogg
audio/libvorbis
devel/pcre
ftp/curl
graphics/jpeg
graphics/libart_lgpl
graphics/tiff
textproc/expat2
textproc/libxslt
In these cases the same trick as in the recent gettext update is used.
The ports install a symlink with the old library version. When enough
of their dependent ports have had regular updates the remaining ones can
get a PORTREVISION bump and the links can be removed.
Also remove the devel/pcre dependency from USE_GNOME=glib20. It causes
over 2200 packages to depend on devel/pcre while less than 200 actually
link with it. The glib20 package still depends on devel/pcre so this
should not make a difference for ports with USE_GNOME=glib20. Also,
libdata/pkgconfig/glib-2.0.pc lists pcre as a private library so
USE_GNOME=glib20 should not propagate it.
PR: 195724
Exp-run by: antoine
Approved by: portmgr (antoine)
libzip installs /usr/local/include/zip.h, and -I/usr/local/include ended
up being passed to the compiler before -I<path-to-internal-minizip-copy>,
which caused problems. [1]
While here, modernize the Makefile:
- Move LICENSE to the appropriate place.
- Remove USE_DOS2UNIX: the files it was supposed to fix are not DOS-encoded
anymore.
- Support staging.
- Convert from manually calling update-desktop-database and
USE_GNOME=desktopfileutils to USES=desktop-file-utils.
PR: ports/180350 [1]
Approved by: maintainer timeout (no activity since the original report 7 months ago)
MFH: 2014Q1
"libhunspell-1.3.so.0", while ".0" is an ABI version.
PR: ports/173361
Submitted by: bsam (me)
Approved by: Jonathan Chen <jonc@chen.org.nz> (maintainer)
Feature safe: yes
. use two line style headers;
. strip ABI versions from LIB_DEPENDS;
. add licence (GPLv3);
. make use of desktopfileutils for port and package;
. add pkgconfig build dependency;
. remove desktop entry from Makefile (the port has got it's own);
. remove BROKEN at FreeBSD-6.x (not supported anymore).
PR: ports/173305
Submitted by: bsam (me)
Reviewed by: Jonathan Chen <jonc@chen.org.nz> (maintainer)
Feature safe: yes
in ePub format.
* Free and open source software under GPLv3
* Multi-platform: runs on Windows, FreeBSD, Linux and Mac
* Full Unicode support: everything you see in Sigil is in UTF-16
* Full EPUB spec support
* WYSIWYG editing
* Multiple Views: Book View, Code View and Split View
* Metadata editor with full support for all possible metadata entries
(more than 200) with full descriptions for each
* Table Of Contents editor
* Multi-level TOC support
* Book View fully supports the display of any XHTML document possible
under the OPS spec
* SVG support
* Basic XPGT support
* Advanced automatic conversion of all imported documents to Unicode
* Currently imports TXT, HTML and EPUB files; more will be added with time
* Embedded HTML Tidy; all imported documents are thoroughly cleaned;
changing views cleans the document so no matter how much you screw
up your code, it will fix it (usually)
* An actually usable user interface
WWW: http://code.google.com/p/sigil/
PR: ports/150348
Submitted by: Jonathan Chen <jonc@chen.org.nz>