switch to from multimedia/ruby-flvtool2 to multimedia/rubygem-flvtool2 as
ruby-flvtool2 will soon be deprecated due to the death of RubyForge
With hat: ruby@
Approved by: portmgr (since this port is not staged)
in fact on i386 - since this was the first report I got of this kind
(and I don't have an i386 box anymore myself) let's assume it's an
i386 issue. So change the USE_GCC=any to be i386-only.
- Bump PORTREVISION.
PR: 192583
(ports that are dependencies of other ports)
net-p2p/transmission-cli: add USES=libtool and remove PTHREAD_LIBS
sysutils/deltup: simplify patch by using MAKE_ARGS
x11-fm/rox-filer: convert to USES=shared-mime-info
x11-wm/emerald: remove PTHREAD_LIBS
PR: 192062
MJPG-streamer takes JPGs from Linux-UVC compatible webcams, filesystem or
other input plugins and streams them as M-JPEG via HTTP to webbrowsers,
VLC and other software. It is the successor of uvc-streamer, a Linux-UVC
streaming application with Pan/Tilt
WWW: http://sourceforge.net/projects/mjpg-streamer/
PR: 181527
Submitted by: kozlov.sergey.404@gmail.com
Please use USES=python instead of USE_PYTHON.
USE_PYTHON=yes becomes USES=python
USE_PYTHON=2.7+ becomes USES=python:2.7+
USE_PYTHON_BUILD=3.3 becomes USES=python:3.3,build
...
A new PYTHON_FEATURES variable was added, which enables certain features for a
port and replaces some knobs at the same time;
PYTHON_FEATURES=distutils replaces USE_PYDISTUTILS
PYTHON_FEATURES=autoplist replaces PYDISTUTILS_AUTOPLIST
PYTHON_FEATURES=py3kplist replaces PYTHON_PY3K_PLIST_HACK
PYTHON_FEATURES=noegginfo replaces PYDISTUTILS_NOEGGINFO
PYTHON_FEATURES=concurrent replaces PYTHON_CONCURRENT_INSTALL
PYTHON_FEATURES=pythonprefix replaces USE_PYTHON_PREFIX
Some knobs have been deprecated and are to be removed in the near future:
PYTHON_MASTER_SITES - use MASTER_SITE_PYTHON instead
PYTHON_PKGNAMESUFFIX - use PYTHON_PKGNAMEPREFIX instead
PYDISTUTILS_INSTALLNOSINGLE - deprecated without replacement
Some knobs have been removed completely:
PYTHON_MASTER_SITE_SUBDIR
PYTHON_DISTNAME
PYTHON_WRKSRC
Several variables specific to the Python framework are no longer passed to the
build environment to avoid polluting dependency builds.
PYTHON_VERSION is not passed to .MAKEFLAGS anymore
PYTHON_DEFAULT_VERSION,
PYTHON_DEFAULT_PORTVERSION and
PYTHONBASE are not passed to the make environment anymore
The conversion required a couple of ports to be updated to fit the changes and
new requirements. Those included "bsd.python.mk" directly or contained checks
in places, for which the USES framework would fail to provide correct values.
Python modules directly using the upstream Python package (such as py-tkinter
or py-sqlite3) were updated to avoid using the now unnecessary and remmoved
knobs from "bsd.python.mk".
Phabric: D399
exp-run: 167368 192357
PR: 167368 192357
Reviewed by: antoine, wg
Exp-run award: antoine
With hat: python@
Approved by: portmgr
Add python2 and python3 flavors.
USE_GSTREAMER1 entries will be made when I figure out how adapt
bsd.gstreamer.mk to the dual python flavors.
PR: ports/187647 (merged/based on)
Submitted by: Olivier Duchateau
in r363436 and remove the UPDATING entry because it did not guarantee
that all ports were updated nor that they were updated in the right order.
Also remove libgcrypt.la again.
PR: 192342
Approved by: portmgr (implicit, bump unstaged ports)
- Update to 1.6.1
- Remove some unneeded patches
- Fix pkg-plist
- report configure bug upstream
https://bugs.g10code.com/gnupg/issue1668
- report API breakage downstream and find that MacPorts had the same issue
https://rt.cpan.org/Ticket/Display.html?id=97201
- bump PORTREVISION for dependent ports (approx. 100 ports)
- Thanks to exp-run by antoine@ to find ports that break
- patch ports that would otherwise break
security/shishi with PR 192164 is already committed
[1] devel/ccrtp
[2] editors/abiword
[3] security/p5-Crypt-GCrypt
PR: 191256, 192162 [1], 192163 [2], 192166 [3]
Submitted by: Carlos Jacobo Puga Medina <cjpugmed@gmail.com>
Approved by: maintainer timeout, antoine (exp-run), portmgr (implicit)
* Initialize libvlc with appropriate arguments on OS X
* Prevent libvlc 2.2 argument warnings by not using the deprecated
--album-art argument when building against 2.2. This argument will be
removed entirely in a future feature release as its presence only
reflected the libvlc default behavior anyway.
* Ensure playback is terminated when encountering an invalid queued
MediaSource [#330154].
* Prevent a crash when when GUIs call setCdTrack on a not-yet-ready
MediaPlayer [#329121].
* Prevent assertation failures with Qt 5 by not unlocking mutexes that have
not been previously locked.
* Convert a direct call chain to QApplication::syncX() to a Qt queued call
to prevent cross-thread usage of X11, ultimately causing XIO errors and
crashes [#327367, #332977].
This is a minor bug fix release:
* Fix CMake 3 compatibility by synchronizing the FindQt4.cmake module from
kdelibs git.
* Prevent possible internal infinite loop call chains when trying to handle
backend construction in simulation mode (i.e. without actual backend being
installed on the system).
* When not building with PHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT, make
sure that the relative Qt paths are set according to whether the build is
meant for Qt4 or 5. Previously this would always install to a path for
qt5.
... And bump PORTREVISION on ports that depend on devel/qscintilla2 due to
the shlib version change.
This is brought to you by the KDE on FreeBSD team. Besides updating to newer
upstream releases, this commit also contains a lot of under-the-hood changes
to the PyQt/QScintilla/SIP ports. Their Makefiles had accumulated a lot of
cruft over time, so it was time for some summer cleaning:
- General, belated changes:
* Use OPTIONS helpers wherever possible, stop including
<bsd.port.options.mk> when not necessary, stop checking for
${PORT_OPTIONS:MDOCS} and ${PORT_OPTIONS:MEXAMPLES} when not necessary,
add options such as DOCS and/or DEBUG where they were only checked for.
- QScintilla ports:
* Drop the API option from py-qt4-qscintilla2. It had been broken ever
since staging support was added, and its existence does not make much
sense: QScintilla is a hard dependency regardless of the state of this
option anyway, they all come from the same tarball and the configuration
script assumes the .api file will always be installed.
- PyQt ports:
* The configure.py patch shared by all PyQt ports has been trimmed down to
the minimum. Changes for Qt3 compatibility or for things that are just
not needed anymore have been removed.
* Several post-configure targets in the PyQt ports have been removed, as
they had no effect on the way the ports were built whatsoever.
* In some cases, instead of calling Python's py_compile.py on `ls *.py
*/*.py */*/*.py` to generate .pyc and .pyo files, we just call
compileall.py, which is made for this kind of task.
* The patch + sed hack to build py-qt4-dbussupport has been replaced by
only extracting the dbus/ directory for that port and excluding it from
all others.
* Move the bulk of the code in all Makefiles to bsd.pyqt.mk, like the
non-Python Qt ports do with bsd.qt.mk and the QT_DIST variable. A large
portion of all PyQt Makefiles were very similar and contained a lot of
boilerplate code that can be shared among all of them since they all
come from the same tarball. bsd.pyqt.mk now has a PYQT4_DIST variable
that, when set, automatically sets several common variables and the
do-configure target for a port. This allows us to considerably reduce
the size of all the py-qt4-* Makefiles.
* To make the above possible and also to allow us to use as many OPTIONS
helpers as possible, the ARGS variable is now called CONFIGURE_ARGS.
That's what it was used for anyway.
PR: 191990
when an older version of a package is installed. This is the case when an
executable links with installed libraries and with uninstalled libraries
that link with other uninstalled libraries. For each of the directly
linked libraries the executable will have an rpath (/usr/local/lib for the
installed libraries and a path under WRKDIR for each of the uninstalled
libraries), but not for the indirect libraries. Both ld(1) and rtld(1)
search the rpath of the executable first before any rpath of libraries, so
the indirectly linked libraries will be found in /usr/local/lib if they are
installed instead of in WRKDIR.
With this commit executables will overlink with uninstalled indirect
libraries again so their location is added to the rpath of the executable.
This partially reverts r358784.
PR: 191611
Approved by: portmgr (bapt)
- 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)
Use class instead of struct for RateCtl in encoderparams.hh. Class RateCtl is
defined in ratectl.hh and used elsewhere in the code too.
Fix headerguard typo in ontheflyratectlpass[12].hh.
Found by: Clang
- Project repository has been moved from Google code to GitHub
- Introduce OPTIONS for ASM ENCA FONTCONFIG HARFBUZZ
- BUILD_DEPENDS on yasm for optimized ASM builds
PR: 191874
Submitted by: Jan Beich <jbeich@vfemail.net>
Approved by: mentors (implicit)
at libavcodec/x86/h264_deblock.asm:504 due to unaligned memory access
- Remove a patch that is no longer needed now
(Similar to r358825)
Reported by: Joseph Olatt <joji@eskimo.com> (on freebsd-questions)
Apparently the clang parser was having trouble with the nested ternary
operator on C++ which was the cause of the FreeBSD 10+ failures. Expanding
it to a condition ladder pleased clang.
A couple of libraries were used but not explicitly specified to the
linker before: libsolid and libX11, so let's correct that too.
The archivers/rar port is a FreeBSD BLOB which DragonFly can't use. In
fact, only i386 and 32-bit enabled amd64 platforms on FreeBSD can use it.
Rather than have dvdrip break by default on all the platforms that don't
support RAR, change to an non-default option.
While here:
* use shebangfix to adjust perl
* Don't define RUN_DEPENDS based on BUILD_DEPENDS (bad practice)
* Use modern OPTIONS configuration
COMMENT typos and surrounding whitespace fixes. A few Makefiles where not
included as they contain Latin-1 characters that break the Phabricator
workflow. Category M.
CR: D306
Approved by: portmgr (bapt)
- Makefile cleanup / pet portlint
- Reduce available set of OPTIONS
- DEBUG, GCOV, EFENCE not supported anymore
- ASS and LUA now required by port
PR: 191375
Submitted by: tkato432@yahoo.com
Approved by: mentors (implicit)
By request of Gea-Suan Lin <gslin@gslin.org> - reset ports to ports@FreeBSD.
Gea-Suan Lin's work is much appreciated.
Approved by: portmgr (implicit) (not really, skipping NO_STAGE check)
- Convert to USES=libtool, bump PORTREVISIONs - la files not installed
- Convert to new LIB_DEPENDS format
- Remove LATEST_LINK, PKGNAMESUFFIX already set
changes that Debian made to their libtool. The first command applies to
libtool versions 1.4 and up. The second command is somewhat more elaborate
but essentially it uses the sed hold space to move an "elif...fi" block
down. It applies to 2.x. Together these reduce overlinking to unpatched
.la files (from ports that don't have USES=libtool yet but also .la files
in the work directory).
The third and fourth command fix relinking. During staging libtool may
relink libA when it links to another library in the work directory libB.
The reason is that libA created during build phase has its runpath set to
the location of libB in the work directory. This allows running an
executable that links to libA from within the work directory. The relink
removes this extra runpath.
When libtool relinks libA it replaces "libB.la" on the linker command line
with "-L${STAGEDIR}${PREFIX}/lib -lB" with the intention to link to libB in
the stage directory but this -L flag isn't necessarily the first so another
libB may be linked instead. The two sed commands make relink the same as a
normal link. This means libtool will relink with libraries from the work
directory using a path similar to "../srcB/.libs/libB.so" without -L flags.
This applies to libtool 1.4 and up. Earlier versions don't seem to relink
libraries.
(This fixes ports like devel/apr1 so they link with freshly built libraries
instead of installed libraries.)
Fix all ports with missing libraries.
Additionally:
archivers/rpm4: USES=patchfix.
databases/gdbm: INSTALL_TARGET=install-strip.
devel/gnome-vfs: remove patch that doesn't change anything.
devel/ois: INSTALL_TARGET=install-strip and use standard USE_AUTOTOOLS.
devel/zziplib: INSTALL_TARGET=install-strip, MAKE_CMD.
multimedia/mjpegtools: remove USE_AUTOTOOLS, use modern compiler on i386
instead of disabling optimisations.
net/libnetdude: disable static plugins.
PR: 190941
Exp-run: antoine
Approved by: portmgr (antoine)
- Add LICENSE
- Remove NO_PACKAGE restriction, the package should include a working kmod
- Use new LIB_DEPENDS
- Move pkg-message to files/
- Use %%KMODDIR%% instead of hardcoding it
Use USES=compiler:openmp for the OPENMP option[2]
Ditch the use of perl for patching etc [4] and silence perl threaded check [6]
-delay option spurious message should be fixed [5]
JASPER option was replace by JPEG2000 for JP2k support.
Put 16BIT_PIXEL and HDRI option separate option block. These options change
the library name, so the user needs to take this into consideration.
Use new LIB_DEPENDS syntax.
Use @sample for config files.
Sprinkle some USES=pkgconfig for some ports, since we don't pull it in
anymore at run-time.
PR: 185462 [1]
PR: 187548 [2]
PR: 182793 [3]
PR: 181746 [4]
PR: 176047 [5]
PR: 190814 [6]
Submitted by: c.petrik.sosa@gmail.com [1]
Matthieu Volat <mazhe@alkumuna.eu> [2]
free.bsd@webstyle.ch [3]
andrnils@gmail.com [4]
rfg@tristatelogic.com [5]
Michelle Sullivan <michelle@sorbs.net> [6]
Approved by: portmgr (blanket) (for NO_STAGED ports)
Note that graphics/GraphicsMagick12 was removed on 2014-05-20 because it is
no longer maintained upstream.
Detailed/other changes:
* graphics/GraphicsMagick :
- Copy contents from graphics/GraphicsMagick13
- Remove PORTREVISION and PKGNAMESUFFIX
- Keep original pkg-descr, do not copy whitespace-only changes.
* graphics/pecl-gmagick :
- Use modern LIB_DEPENDS
* graphics/vips :
- Stage support
- Use modern LIB_DEPENDS
- USES libtool, pathfix
* multimedia/bombono :
- Update BUILD_DEPENDS and RUN_DEPENDS
* textproc/htmltolatex :
- Use modern LIB_DEPENDS
Phabric: D108 162
Approved by: portmgr (antoine, bapt)
Sylvio's last commit was 17 months ago, a full 5 months after all of his
ports could have been reset per policy. Given the push to complete
staging (48 ports are still unstaged, something like 70+ have already
been staged by other committers) and given that PRs are automatically
assigned but never addressed, it's better just to reset all the ports and
PRs so that it's clear to others that these ports are free to maintain.
Approved by: portmgr (implicit)
- Add new MASTER_SITE where distfile is still fetchable
- Add LICENSE*
- Stagify
- Handle GNOME and ICONS via OPTIONS rather than WITH*
- Pet portlint
PR: 190500 , 190528
Submitted by: kalten@gmx.at, mikhail.rokhin@gmail.com
Reviewed by: jadawin
Approved by: mentors (implicit)
- Add LIBS="${LIBS}" to MAKE_ENV and CONFIGURE_ENV.
- Add an option helper for LIBS.
- Adjust all ports that already use LIBS. Also remove references to
PTHREAD_CFLAGS and PTHREAD_LIBS while here.
- Some ports did not support having a LIBS environment variable and
required additional patches.
Somewhat simplified a linker command line looks like:
${CC} ${src_LDFLAGS} ${LDFLAGS} ${src_LIBS} ${LIBS}
where src_LDFLAGS and src_LIBS are controlled by upstream and LDFLAGS and
LIBS can be controlled by us. If possible -L and -l flags need to be
added to LIBS to make sure they appear after any -L and -l flags set by
upstream. Many ports currently add -L${LOCALBASE}/lib to LDFLAGS but this
may appear too early on the command line causing installed libraries to
be linked in instead of freshly built ones.
Additional changes:
benchmarks/netio: Replace WITH_IPV6 with an IPV6 option.
comms/gnokii: Replace some patches with USES=pathfix. Also remove -fPIC.
graphics/gimageview: USES=libtool and install desktop file in DESKTOPDIR.
graphics/visionworkbench: Remove FreeBSD 7 support.
multimedia/libmovtar: New LIB_DEPENDS syntax.
multimedia/opencinematools: Use standard do-build.
net/siproxd: USES=libtool:keepla (port actually needs .la files for plugins)
net-mgmt/nagios: Remove -fPIC.
net-mgmt/nagios4: Remove -fPIC.
print/cups-base: Only add -lssp_nonshared on i386 and OSVERSION < 1000036.
security/p11-kit: Replace PTHREAD_LIBS in CONFIGURE_ENV with
ac_cv_func_pthread_mutexattr_init=no in CONFIGURE_ARGS. This skips a test
in configure that falsely detects pthread_mutexattr_init in our libc.
sysutils/dar: Fix iconv detection.
x11/rxvt-unicode: Remove -lstdc++ and patch configure to remove a FreeBSD
hack and use $CXX as linker as on other platforms.
PR: 190592
Exp-run by: antoine
Approved by: portmgr (antoine)
Starting with perl 5.20, they're not installed any more if empty,
and on FreeBSD, they're (always ?) empty.
PR: 190681
Submitted by: mat
Exp-Run by: antoine
Sponsored by: Absolight
- Fix crash when trying to play certain videos with no audio in gmplayer [2]
- Improve non-options variable summary during build in pre-everything [2]
- Bump PORTREVISION in mplayer (the binary changes)
PR: 190027
Submitted by: rfg@tristatelogic.com [1], andre@albsmeier.net[2]
Approved by: mentors (implicit)
- Add libidn dependency. It is always picked up when detected by
configure.
- Add libxml2 dependency (USE_GNOME=libxml2). It's actually an optional
dependency but it is used by several other plugins.
- Replace OSVERSION+clang tests with USES=compiler:c11.
- Replace post-patch command with USES=pathfix.
- Add some more --enable-* flags to CONFIGURE_ARGS to make sure configure
doesn't silently ignore problems with dependencies.
- Add some more --disable-* flags to CONFIGURE_ARGS to make sure
configure doesn't auto-enable them.
- Specify the correct location of KDE Solid files in CONFIGURE_ARGS.
("Play with VLC" option when you insert a CD/DVD.)
- Add ac_cv_search_pthread_rwlock_init=-pthread to CONFIGURE_ARGS to
override the test for libpthread. It detects pthread_rwlock_init in
our libc and assumes no threading library is needed, but libc doesn't
have a real pthread implementation.
- Add the gnutls3 include directory to CPPFLAGS before LOCALBASE/include
which may contain gnutls2 headers.
- Rename some options so more descriptions from bsd.options.desc.mk can
be used.
- Add OPTIMIZED_CFLAGS to OPTIONS_DEFAULT. Remove custom CFLAGS so this
option only controls the "optimizations" configure option which is
enabled by default by upstream.
- Remove REALAUDIO from OPTIONS_DEFAULT. Old codec.
- Remove SDL from OPTIONS_DEFAULT. This is an alternative way to render
video. The X11 option is better for this.
- Remove SKINS from OPTIONS_DEFAULT.
- Remove X264 from OPTIONS_DEFAULT. It's an encoder, not a decoder and
vlc is typically used as a player not as a video server.
- Remove SERVER_ONLY and NO_DVD options. Their implementation doesn't
work with modern options framework.
- Add a patch to fix some issues in the configure script, e.g. don't add
-L/usr/local/lib to LDFLAGS. This ends up in the wrong place on the
linker command line causing installed vlc libraries to be linked in
instead of freshly built ones.
- With patched configure some options like A52 need include/library
search paths now.
- Some options have pkgconfig files now so remove include/library search
paths where possible.
- Separate KATE option from OGG.
- Use option helpers for LIBRSVG2, LUA, OGG, QT4, SDL, V4L and X11.
- Implement NCURSES option with USES=ncurses.
- Add VDPAU option.
- Drop perl5 dependency.
- Drop old hacks like -fPIC, -I${WRKSRC}/include, LIBS="-lc", PTHREAD_LIBS.
- Add missing dependencies to SKINS option (libminizip, xorg)
- Patch the right file with WITH_CDROM_DEVICE and WITH_DVD_DEVICE.
- Only use auto-plist for the plugins directory. Use regular pkg-plist,
PORTDATA and PORTDOCS for everything else. This is a lot simpler and
makes it easier to detect library version changes.
- Delete some unneeded patches.
Approved by: bapt