Commit graph

4699 commits

Author SHA1 Message Date
Ashish SHUKLA
b2edd3a92d GNU Emacs Updates
editors/emacs:
 - Update to 24.4[1]
 - Remove all upstreamed diffs[1]
 - Switch to static pkg-plist[1]
 - Add OPTIONs for ACL, file notification, LTO, ALSA, and OSS[1]
 - Reword IGNORE messages for portlint[1]
 - Add fix for a Emacs TRAMP bug
 - Update CANNA patchset[2]

editors/emacs-devel:
 - Update to bzr snapshot revision 118251
 - Add pkg-install, and pkg-deinstall file missed from r364499
 - Switch to static pkg-plist

editors/emacs-nox11:
 - Remove PLIST_DIRSTRY

Mk/bsd.emacs.mk:
 - Update Emacs version numbers
 - Remove deprecated XEmacs entries

PR:		194624[1]
Submitted by:	Joseph Mingrone <jrm at ftfl.ca>[1],
                TAKANO Yuji <takachan at running-dog.net>[2]
2014-11-05 13:17:17 +00:00
Raphael Kubo da Costa
a9662ed949 Update Qt5 ports to 5.3.2.
Proudly presented by the KDE on FreeBSD team, with several guest stars.

This update took way longer than initially expected due to us previously
accumulating assumptions and changes to Qt's build system that finally bit
us back with the 5.3 release series, so we had to do a fair amount of
cleanup.

New ports:
- comms/qt5-serialport: Qt functions to access serial ports, originally
                        based on work by Fernando Apesteguia. [1]
- devel/qt5-qdoc: Qt documentation generator, the Qt5 equivalent of
                  devel/qt4-qdoc3. Originally worked on by Tobias Berner.
                  It had already been half-split from devel/qt5-buildtools,
                  we just needed to finish the work.

Dead ports:
- devel/qt5-qmldevtools: Merged into lang/qt5-qml.

Minor changes:
- devel/qt5: Add x11/qt5-x11extras and the new ports to the dependency list.
- graphics/qt5-imageformats: The port now supports the JPEG2000, WEBP,
                             Direct Draw Surface and ICNS formats.
- multimedia/qt5-multimedia: The ALSA and PULSEAUDIO options are now
                             mutually exclusive due to changes introduced in
                             Qt 5.3.0 (the ALSA code is now a proper plugin
                             that is only built if PulseAudio is not used).
- x11/qt5-x11extras: Add USE_LDCONFIG since the port installs a shared
                     library.

The big changes:
- bsd.qt.mk: Set QMAKESPEC instead of QMAKEPATH. [3]
  QMAKEPATH does much more than we want now that we call qmake from the top
  of ${WRKSRC}. qmake uses QMAKEPATH when evaluating the QMAKE_MKSPECS
  property, which is in turn used by qt_config.pri to load the .pri files in
  mkspecs/modules.

  In practice, this means that if people have an older Qt installation those
  files will be used and QT_CONFIG will have values such as "gui" even if
  one is building a port like textproc/qt5-xml, which passes -no-gui to the
  configure script. Consequently, unintended code paths may be enabled or
  the configuration step can just fail if the .pro files expect values that
  are not present in the system-wide, older .pri files.

  We avoid all those problems if we use QMAKESPEC, as qmake does not take
  its value into account when evaluating the QMAKE_MKSPECS property and will
  only parse the files in the mkspec's directory (mkspecs/freebsd-clang, for
  example, instead of all the files in mkspecs).

- Stop explicitly passing ${LOCALBASE} to the compiler. [3]
  qmake's behavior has changed in Qt 5, and the paths set in QMAKE_INCDIR
  and QMAKE_LIBDIR in the mkspecs are passed before any others, such as the
  ones in the build directory themselves.

  In practice, this means that we end up with linker calls like this:

  c++ -o libfoo.so foo.o bar.o -L/usr/local/lib -L/wrkdir/build/lib
      -lQt5Gui -lQt5Core

  So if one already has Qt installed in the system, the older, already
  present version of the libraries in /usr/local/lib will be used instead of
  the newly-built ones in /wrkdir/build/lib.

  QTBUG-40825 discusses this behavior upstream, but there has been no
  agreement on a solution yet.

  For now, the solution adopted is to make the compiler and the linker aware
  of those paths but only try them last after all others, and this is
  achieved by setting the CPATH and LIBRARY_PATH environment variables when
  qmake is being used.

  In addition to setting them in CONFIGURE_ENV and MAKE_ENV, we also need to
  stop changing QMAKE_INCDIR and QMAKE_LIBDIR as well as filter those paths
  from the pkg-config calls qtbase's configure script makes.

- Call qmake from the root of the ${WRKSRC}.

  In Qt 5.3, Qt's build infrastructure has undergone some changes that make
  our previous approach of calling qmake from the directories we want to
  build stop working. Things would break even more in Qt 5.4, in which
  qtbase's configure script does not accept the -process, -fully-process and
  -dont-process arguments anymore (it always behaves as if -process had been
  used).

  Bite the bullet and start calling qmake from ${WRKSRC}. The largest part of
  this change involves changing lines in Makefiles from
    WRKSRC_SUBDIR=	foo/bar
  to
    BUILD_WRKSRC=		${WRKSRC}/foo/bar
    INSTALL_WRKSRC=		${WRKSRC}/foo/bar
  as well as adding patches to .pro files to avoid entering other
  subdirectories and removing post-configure targets that are not necessary
  anymore.

  Since qmake needs to be called from the top of ${WRKSRC} anyway, we can
  also simplify the configuration process for the qtbase ports a little.
  Looking at r10019 it is not clear why we started calling qmake in the
  pre-configure target in addition to the post-configure one (while also
  skipping it in do-configure), but we can now drop this call since letting
  configure behave as if -process had been passed means it will call qmake
  on its own and overwrite the files generated by the pre-configure call. We
  still need to call qmake in post-configure though, as the configure script
  does not pass -recursive when calling qmake and we need to be able to call
  make from any subdirectory when building.

PR:		194762 [1]
PR:		194566 # exp-run with base GCC and clang
PR:		194088 [3]
2014-11-05 09:39:21 +00:00
Antoine Brodin
fd76fd9625 - During makeplist, emit only empty directories inside prefix and
directories outside prefix
- Whitelisting orphan directories not starting with / is no longer necessary
- Adjust missing directories check to use a list of all directories instead
  of the dirs from make-plist

Differential Revision:	https://reviews.freebsd.org/D1101
Reviewed by:	bapt
With hat:	portmgr
2014-11-05 07:14:21 +00:00
John Marino
d2bcf058dc Add new ports databases/mariadb100-server and -client (version 10.0)
PR:		193539
Submitted by:	spil.oss (gmail)

MariaDB is a database server that offers drop-in replacement functionality
for MySQL. MariaDB is built by some of the original authors of MySQL, with
assistance from the broader community of Free and open source software
developers. In addition to the core functionality of MySQL, MariaDB offers
a rich set of feature enhancements including alternate storage engines,
server optimizations, and patches.
2014-11-04 08:21:55 +00:00
Gerald Pfeifer
742ef83709 Add support for USE_GCC=5 and its preferred form USE_GCC=5+.
PR:		194676
2014-11-02 21:15:21 +00:00
Bryan Drewery
ec713d99b6 - Enable SSP by default.
This is the culmination of years of work and testing including work by jlh@.

  This will enable SSP by default for all amd64 releases, and i386 releases
  10.0 and over.

With hat:	portmgr
Tested by:	multiple exp-runs, CFT package repository, CFT ports
Discussed with:	bapt, antoine
2014-11-02 20:01:31 +00:00
John Marino
b340da6eb8 bsd.port.mk: Finish update to make makepatch
A portion of this patch to upgrade makepatch was committed almost 2
months ago; this is the rest of it.  It changes the directory separator
to "_" and it will transform "_" in the filename to "__" to avoid
ambiguous file names (e.g. A/B/C.c and A_B/C.c won't have the same patch
name).

The new logic will not rename an existing patch that used previously
standard separators of "-", "+", or "__" in its name.  It is desireable
to avoid commits that only change the filename of the patch, so that's
why existing filenames are re-used if previously legal.

The diff command is also pass the -p argument for additional useful
context.

Differential Revision:	https://reviews.freebsd.org/D582
Approved by:		portmgr (bapt)
2014-10-30 23:04:03 +00:00
Raphael Kubo da Costa
b569014a83 bsd.qt.mk: Stop using @cwd in the plist generation code.
Just specify full paths with ${QT_PREFIX} directly, as @cwd is deprecated.
2014-10-29 22:43:21 +00:00
Bryan Drewery
9ae831676e Move WITH_CCACHE_BUILD logic to bsd.ccache.mk
With hat:	portmgr
2014-10-28 18:01:55 +00:00
Marcus von Appen
885f50de5a - Second attempt to fix the python version usage on single port builds
If a port requests a different python version from the one being the
  default or provided at the command line, certain directories as well
  as plist entries will use the wrong python version value (the one
  being the default or provided at the command line), instead of the
  value, the port requests.

PR:		194605
exp-run by:	antoine@
With hat:	python@
2014-10-27 18:58:21 +00:00
Antoine Brodin
504fcb758d Revert r371447, this breaks important ports like devel/py-gobject
With hat:	portmgr
2014-10-24 22:31:07 +00:00
Marcus von Appen
9c1a554aba - Use the proper python version value within a single port build
If a port requests a different python version from the one being the
  default or provided at the command line, certain directories as well
  as plist entries will use the wrong python version value (the one
  being the default or provided at the command line), instead of
  the value, the port requests

Differential Revision:	https://reviews.freebsd.org/D963
With hat:	python@
2014-10-24 16:10:40 +00:00
Raphael Kubo da Costa
990a62701e Remove @dirrm and @dirrmtry entries from the Qt ports. 2014-10-23 21:35:14 +00:00
Baptiste Daroussin
f8b75b5619 Remove unused and broken new-plist target
Modify the automatic plist to not generate the @dirrm
2014-10-20 20:36:39 +00:00
John Marino
f31e703dca Add Mk/Uses/alias.mk
When on used FreeBSD, this tool doesn't do anything.  However, when used
on DragonFly, it will define __FreeBSD__ appropriately in CFLAGS which
allows the port to build with minimal or no extra patches.

Differential Revision:	https://reviews.freebsd.org/D950
Reviewed by:		portmgr
Approved by:		bapt (portmgr)
2014-10-20 07:33:00 +00:00
Max Brazhnikov
0ea52f99b4 KDE/FreeBSD team presents KDE SC 4.14.2 and KDE Workspace 4.11.13!
USE_KDE4=kdehier component has been deprecated, new components added:
 baloo			- Baloo core libraries
 baloo-widgets		- Baloo widgets library
 kfilemetadata		- KDE library for extracting file metadata

New ports:
  graphics/kqtquickcharts	- QtQuick plugin to render interactive charts
  misc/artikulate		- Pronunciation trainer for KDE
				(not usable currently, links to both
				GStreamer 1.x and 0.10.x via dependencies)
  sysutils/baloo[-widgets]	- KDE framework for searching and
				managing user metadata
  sysutils/kfilemetadata	- Library for extracting file metadata

l10n ports:
- Farsi (Persian) and Indonesian translations has been readded
- Vietnamese didn't pass threshold for inclusion into release

astro/kstars:
- switch dependency from math/eigen2 to math/eigen3
- add PYKDE option for updating supernovae data

deskutils/kdepim4:
- update dependencies: add libkgapi and baloo,
  remove now needless clucene, link-grammar, strigi
- add patch to fix build with gcc42
- update COMMENT and description for all KDE PIM ports

devel/ruby-krossruby:
- remove BROKEN, it builds with ruby 2.x now

editors/kate:
- add patch to disable memory-hungry build of the kate tests [1]

graphics/okular:
- add dependency on graphics/libkscreen

math/cantor:
- add optional dependency on lang/luajit for LuaJIT backend
- fix gfortran detection [2]

misc/kdehier4:
- adapt to new pkg world. Now the purpose of kdehier4 only
  to link some stuff between KDE4_PREFIX and LOCALBASE.

science/kalzium:
- switch dependency from math/eigen2 to math/eigen3
- add dependence on science/chemical-mime-data

x11-themes/kdeartwork4
- switch dependency from math/eigen2 to math/eigen3

among other changes:
- drop deprecated USE_KDE4=kdehier
- drop @dirrm from plist
- clean up pkg-descr
- convert to options helpers
- other portlint fixes

The area51 repository features commits by alonso, rakuco and myself.

PR:		187150 [1]
Reported by:	pe.freethread@live.com
Patch by:	Tobias Berner <tcberner@gmail.com>

PR:		180674 [2]
Reported by:	torsten.eichstaedt@web.de

PR:		194316
Exp-run:	antoine
2014-10-19 15:57:27 +00:00
Juergen Lock
d9e7e2cb35 - Add X265 knob (default off) for X.265 (HEVC) encoding support using
multimedia/x265.

  Example usage:  (-c:a libfdk_aac needs FDK_AAC knob too)

	ffmpeg -i $inputvideofile -c:a libfdk_aac -b:a 64k -c:v libx265 -x265-params crf=31 $outputfile.mkv

  This can now be played back by at least ffplay (needs SDL knob),
  vlc, mplayer, mpv, xine.  (and gives a nice reduction in file size.)

No objection from:	multimedia@ list
2014-10-19 12:26:21 +00:00
Antoine Brodin
ccb7128a1c Switch from clang33 to clang34 for ports using compiler:*11*, objc or
gnustep on freebsd 8.4 and 9.1

PR:		ports/193555
Differential Revision:	https://reviews.freebsd.org/D935
Reviewed by:	bapt
Exp-run:	self
2014-10-18 18:13:58 +00:00
Antoine Brodin
3361ebd03e Unbreak seamonkey-i18n
With hat:	portmgr
2014-10-18 10:23:53 +00:00
Mathieu Arnold
906630d192 And remember to bump versions here too.
Sponsored by:	Absolight
2014-10-17 22:04:25 +00:00
Koop Mast
1d803f71bb Update Mesa ports to new default of 9.1.7 and more recent version to 10.3.0.
The port will switch to the newer version if hw context is available in the
i915kms driver.

- Get ride of WITH_NEW_XORG.
- Use @comment in plist to ignore unwanted files in the stagedir, instead of
  trying to remove them in post-install.
- Bump portrevision of 9.1.7 due to dependency changes.
- Drop :keepla from USES=libtool.
- Drop @dirrm[try] from plists
- Give dri propper options, with pkg-help for additional information.
- Make separate plist for dri for the different versions, the combined plist
  was headache inducing.
- Add "workaround" patches to allow clang to build the dri port on i386 [1].
  USE_GCC is now only needed for 8.x.
- Add gbm port and USE_GL switch for it.

PR:		192286 [1]
Submitted by:	Carlos Jacobo Puga Medina [1]
Approved by:	portmgr (bapt@)
In collaberation with:	dumbbell@
Obtained from:	xorg-dev
2014-10-17 09:53:13 +00:00
Beat Gaetzi
8f7f02ae39 - Update Firefox to 33.0
- Update Firefox ESR to 31.2.0
- Update NSS to 3.17.2
- Update Thunderbird to 31.2.0
- Update libxul to 31.2.0 (and mark as BROKEN)
- Disable SSL 3.0 with pref (Upstream bug 1076983)
- (workaround) replace USE_GCC=yes with USES=compiler:gcc-c++11-lib in
  order to fix runtime for PGO and powerpc/powerpc64 on libc++ systems
- Add OSS audio fallback for HTML5 audio from upstream bug;
  not exposed yet because WebRTC still needs ALSA or PulseAudio
- Kill @dirrm from gecko@ ports per CHANGES from 20140922
- Drop workaround for LLVM PR 19007: base and lang/clang34 have the fix
- Improve workaround comment for LLVM PR 15840, partially rejecting
  r348851 by marino@ until bug 193555

PR:		194356
Submitted by:	Jan Beich
Security:	http://www.vuxml.org/freebsd/9c1495ac-8d8c-4789-a0f3-8ca6b476619c.html
2014-10-15 15:48:16 +00:00
Tijl Coosemans
2210fec0e9 Modern compilers have more -O* flags that enable strict aliasing. Instead
of listing each one, just add -fno-strict-aliasing to CFLAGS unconditionally

PR:		186929
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-10-09 17:59:01 +00:00
Steve Wills
b97946146d Switch default Ruby to 2.0 2014-10-09 01:08:28 +00:00
Alex Kozlov
6107ede2ac - Accept absolute path for @fc, @fontsdir, @fcfontsdir, @shell keywords
Approved by:	portmgr (antoine, bapt)
Differential Revision:	https://reviews.freebsd.org/D721
2014-10-08 21:39:47 +00:00
Baptiste Daroussin
820cfcd281 Comment out, it is not ready for prime 2014-10-08 18:28:27 +00:00
Baptiste Daroussin
2e0c90c883 Check CATEGORIES sanity directly from bsd.sanity.mk
Differential Revision:	https://reviews.freebsd.org/D917
Reviewed by:	bdrewery
2014-10-08 17:11:52 +00:00
Baptiste Daroussin
83fe4bc1ea Use bsd.sanity.mk to check for INSTALLS_SHLIB 2014-10-08 10:08:24 +00:00
Antoine Brodin
df3c805917 info keyword now handles full paths
With hat:	portmgr
2014-10-08 06:19:54 +00:00
Baptiste Daroussin
fe0b735bba Get rid of _DESKTOPDIR_REL and use DESKTOPDIR everywhere
That avoids playing with @cwd
2014-10-08 06:13:43 +00:00
Baptiste Daroussin
a8e8df12f4 Use absolute path for PORTDATA PORTDOCS and PORTEXAMPLES
That makes them @cwd safe
2014-10-08 06:06:34 +00:00
Baptiste Daroussin
856027ca8a Use absolute patch for rc scripts in plist
That avoids playing with @cwd
2014-10-08 05:54:33 +00:00
Baptiste Daroussin
fe7bca82f0 Make info files absolute patch in plist
That makes them more @cwd safe while simplifying the infra
2014-10-08 05:52:17 +00:00
Marcus von Appen
062e11b164 - Do not blindly assume PREFIX to be the same as PYTHONBASE, when creating the
egg-info entries for the plist

PR:		193811
Reported by:	6yearold@gmail.com
Exp-run by:	antoine@
With hat:	python@
2014-10-07 16:51:20 +00:00
Antoine Brodin
5b3bfaf08f Fix typo
With hat:	portmgr
2014-10-07 16:45:30 +00:00
Baptiste Daroussin
c477206edd Add a master site for libreoffice dev hosting abbreviated as LODEV 2014-10-07 12:10:39 +00:00
Baptiste Daroussin
a32ac3883f Add a use to handle gperf dependency
It uses gperf from base if it exists and its version is 3.x.x
Otherwise it uses gperf from ports
2014-10-07 09:32:53 +00:00
Tijl Coosemans
a4155c67ec Remove unused configure-autotools target from Mk/bsd.autotools.mk and
Mk/bsd.port.mk

Approved by:	portmgr (bapt)
2014-10-07 09:22:27 +00:00
Johannes Jost Meixner
758e1872cb graphics/linux-c6-libGLU: Port of CentOS 6.5's Mesa libGLU
Add port of CentOS 6.5's libGLU library. This allows several games to be used
with the new CentOS ports.

While here:
 - Add c6 libglu to Mk/bsd.linux-apps.mk
 - Add to emulators/linux-c6 as dependency, bump PORTREVISION

Differential Revision:	https://reviews.freebsd.org/D841
Approved by: swills (mentor)
Approved by: portmgr (bapt)
2014-10-07 09:07:33 +00:00
Antoine Brodin
82646f1abd Replace @dirrm/@dirrmtry with @dir in makeplist and leftovers check
Differential Revision:	https://reviews.freebsd.org/D901
Reviewed by:	bapt
With hat:	portmgr
2014-10-06 19:17:22 +00:00
Lars Engels
6d89ef33f4 Add net/linux-c6-avahi-libs and add it as a dependency of emulators/linux-c6.
Differential Revision:	D902
Approved by:		portmgr (bapt)
2014-10-06 09:48:38 +00:00
Tijl Coosemans
88c67cd38c - Update devel/libtool and devel/libltdl to version 2.4.2.418
- Patch libtool so it uses the same library version specification as on
  Darwin, Linux and other systems.  Given the version current:revision:age
  a library will be given the extension .so.major.age.revision with major
  equal to current-age.  Before libtool would use .so.current on FreeBSD.
- Patch libtoolize to remove two cases of umask 0 that caused libltdl
  files to be copied world writable (--ltdl option)
- Let USES=libtool patch this new version correctly
- Adjust all ports with USES=libtool:build and bump PORTREVISION on their
  dependent ports if a library version changed

PR:		194068
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-10-05 18:01:19 +00:00
Antoine Brodin
dd9d36338d qa.sh now needs LINUXBASE
With hat:	portmgr
2014-10-04 18:05:48 +00:00
Olli Hauer
a6fda1e7ec - fix documentation of user controlled parameters for usage in /etc/make.conf.
APACHE_PORT should be used only in combination with "DEFAULT_VERSIONS+=apache2.2"

- ripp AP_BUILDEXT, it is only used in bsd.apache.mk and not exported
2014-10-04 10:53:21 +00:00
Bryan Drewery
32852abae0 - Allow LINUXBASE for shebangs.
PR:		193878
Submitted by:	Jan Beich <jbeich@vfemail.net>
With hat:	portmgr
2014-10-03 18:47:47 +00:00
Bryan Drewery
63fc9a3edb check-plist no longer needs to check for directories owned by dependencies.
pkg-1.3.8's auto directory handling makes this a non-issue.

We should add a new check to warn of possibly needing @dir for empty dirs
though.

With hat:	portmgr
2014-10-03 18:22:46 +00:00
Bryan Drewery
36716bd31e Garbage collect dependency mtree check removed in r368803 2014-10-03 18:14:18 +00:00
Tijl Coosemans
048a74771d Autoreconf runs automake in GNU mode which requires files like AUTHORS,
NEWS and ChangeLog to exist.  Let USES=autoreconf deal with that so ports
don't have to.
2014-10-03 15:33:39 +00:00
Koop Mast
2b2a2025a8 Remove eel and ports that use it.
Eel doesn't build after the gnome3 import.
2014-10-03 10:53:39 +00:00
Baptiste Daroussin
683b331695 Switch to WITH_NEW_XORG for all supported version of FreeBSD by default 2014-10-03 08:35:28 +00:00