Commit Graph

3923 Commits

Author SHA1 Message Date
Antoine Brodin
9ff26af3d4 - Remove USE_OPENAL code
- Add a developer error to bsd.sanity.mk if it is used

Approved by:	portmgr (bapt)
2013-12-26 06:51:03 +00:00
Antoine Brodin
6bf16e7311 Add new USES=openal, which will replace USE_OPENAL
The conversion is simple:
USE_OPENAL=yes -> USES=openal
USE_OPENAL=soft -> USES=openal:soft
USE_OPENAL=al alut -> USES=openal:al,alut
and so on

Approved by:	portmgr (bapt)
2013-12-25 23:24:54 +00:00
Alexey Dokuchaev
32bb1cf264 Traditionally, most (if not all) tamperings with ${TMPPLIST} were done
silently within the ports (similar to extraction and patching phases).

Recently introduced Mk/Uses/kmod.mk does some grunt work for pkg-plist,
like @[un]exec /usr/sbin/kldxref ... stuff via ${ECHO_CMD}, which makes
build logs less neat.  Mute them and MKDIR, remove an extra whitespace,
and wrap one overly long line.

Approved by:	rene
2013-12-25 16:43:24 +00:00
Rene Ladan
d06bb3f036 - Replace USE_DOS2UNIX target by a wrapper for USES=dos2unix
- Remove comments for USE_DOS2UNIX

This makes bsd.port.mk line-ending clean.

PR:		ports/184168
Submitted by:	myself
Approved by:	portmgr (bdrewery)
Exp-runs by:	bdrewery
2013-12-24 10:22:26 +00:00
Max Brazhnikov
adc20be473 - Don't remove rpath from binaries during install [1]
- Remove outdated comment

PR:		ports/176901 [1]
Submitted by:	amdmi3, avg
Exp-run by:	bdrewery
2013-12-22 14:04:37 +00:00
Baptiste Daroussin
6a2d5db265 Stop registering recursively dependencies into package with pkgng
pkg has a naive solver but good enough to properly order the dependencies
and not get into a missed dependency
pkg register is also able to figure out by itself lib_depends magically
added during the compilation.
2013-12-20 23:05:35 +00:00
Tijl Coosemans
b8737c7c89 Add the directory with GCC runtime libraries to LDFLAGS. This lets Clang
find the right libgcc_s when it links object files produced by gfortran.
2013-12-20 16:33:59 +00:00
Niclas Zeising
0406d5b04f Try to fix font handling for xorg fonts when using staging and pkgng.
This should silence all QAT messages about leftover font files.

Bump portrevision for all affected ports.

Original idea:		bapt
2013-12-19 10:49:00 +00:00
Marcus von Appen
f002f3a384 - Remove lang/python as implicit build and run dependency from
bsd.python.mk

  Ports need to use a designated python interpreter, whether this
  is the default one chosen by the user (or provided by the system)
  and pulled in via USE_PYTHON[_BUILD|_RUN]=yes or an explicit version
  or version range pulled in via USE_PYTHON[_BUILD|_RUN]=X.Y does not
  matter.

  Ports should however not rely on 'python' at build or installation
  time, whenever possible to avoid problems with building packages for
  different python versions.

  This change tries to raise the barrier for misbehaving ports and eases
  package builds for different python versions.

Tested with:	exp-run (ports/184591)
Reviewed by:	wg@, koobs@
Supported by:	wg@
With hat on:	python@
2013-12-18 17:21:49 +00:00
Baptiste Daroussin
09753f8230 Fix user belonging to multiple groups when a package is staged
Reported by:	flo
2013-12-18 00:03:53 +00:00
Baptiste Daroussin
9e2745ba75 Use new LIB_DEPENDS syntax for bsd.gnustep.mk 2013-12-16 23:12:24 +00:00
Baptiste Daroussin
1a74528333 Use new LIB_DEPENDS format for USE_SQLITE 2013-12-16 23:03:50 +00:00
Alberto Villa
4998a19923 - Update Calligra Suite to 2.7.5.
- Require a new compiler to build Calligra.
- Make GTL really an option in Calligra.
- STAGEify.
- Use OPTIONS helpers.
- Set NO_ARCH for translation ports.
- Add translation port for Intelingua.

Calligra 2.7 release notes:
http://www.calligra.org/news/calligra-2-7-released
2013-12-16 22:59:42 +00:00
William Grzybowski
2fc30ab028 Mk/bsd.python.mk: fix setup call for python 3.x
Reported by:	antoine
2013-12-16 22:01:40 +00:00
William Grzybowski
0710975429 Mk/bsd.sanity.mk: note about python auto plist and pkgname
PYDISTUTILS_PKGNAME is useless when used with USE_PYDISTUTILS=yes and
PYDISTUTILS_AUTOPLIST as its only function is to determine egg info name.

Approved by:	portmgr (bapt)
2013-12-16 12:52:18 +00:00
Niclas Zeising
47be7a61c9 Switch FreeBSD CURRENT to use the new xorg stack (WITH_NEW_XORG=) [0]
If the old xorg stack is still needed, it is possible to add WITHOUT_NEW_XORG=
to /etc/make.conf to get the old version.

Update several xorg related ports, including:
x11/libxcb 1.9.1 -> 1.9.3
graphics/libdrm 2.4.46 -> 2.4.50
x11/pixman 0.30.2 -> 0.32.4
x11/xkeyboard-config 2.9 -> 2.10.1
x11-drivers/xf86-input-keyboard 1.7.0 -> 1.8.0

Fix dissapearing cursor in xf86-video-vmware [2]

Stagify all x11@-owned ports

Bump portrevisions for xf86-* ports due to xserver version change.

Fix fallout from updates where needed.

Thanks to:	all testersi, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/184684 [1], ports/181385 [2]
Submitted by:	Douglas Carmichael <dcarmich@dcarmichael.net> [2]
Approved by:	portmgr (bdrewery), core (jhb) [0]
2013-12-16 11:11:09 +00:00
Rene Ladan
7657603be6 Spell out "nestedfct"
Approved by:	portmgr (bapt)
2013-12-15 23:45:39 +00:00
Baptiste Daroussin
31e3c5129c fmake doesn't like previous commit (which breaks index) [1]
Given we do not support for long enough old OPTIONS framework just get
rid of this compat block that doesn't bring anything anymore

Kick by:	cperciva [1]
2013-12-15 23:44:13 +00:00
Baptiste Daroussin
990ef2dec3 Do not set again WITHOUT_NLS in old backward compatibility if NLS is in OPTIONS_UNSET
Reported by:	eadler
2013-12-15 23:31:36 +00:00
Rene Ladan
f7110a705a Mention nestedfct parameter.
Perform some language fixes while here.

Approved by:	portmgr (bapt)
2013-12-15 23:22:33 +00:00
William Grzybowski
88488ebd59 Mk/bsd.sanity.mk: note USE_PYDISTUTILS=easy_install deprecation
Now that all python packages use setuptools and eggs are undesired for system
wide packages the ports should use USE_PYDISTUTILS=yes instead.

Approved by:	portmgr (bapt)
2013-12-15 21:56:41 +00:00
William Grzybowski
1e34739b64 Use setuptools for all Python ports.
Setuptools is the preferred method to manage Python distributions after
many changes to the packaging ecosystem over the past couple of years.

Only ports using USE_PYDISTUTILS= yes are affected by this commit, ports using
USE_PYDISTUTILS= easy_install remains the same however this usage is now
deprecated and should be converted to USE_PYDISTUTILS= yes.

Some Python distributions do not work with setuptools out of the box because
they extend the install command from distutils and not setuptools, and
so they need to be patched accordingly.

pip (which leverages setuptools) works around the issue by using eggs, however
we want to get rid of those as well, as support for "flat" installation is
unavailable or has other issues associated with it.

This work allows us to unify how python packages are built, ensure that Python
distributions are installed consistently, reduces complexity for Python port
maintainers and paves the way for simplifying the Python ports framework in
the future.

With hat on:	python
Reviewed by:	koobs, antoine
Exp-run:	bdrewery
Approved by:	bdrewery (portmgr)
2013-12-15 16:22:17 +00:00
Florian Smeets
7efa77ad7c Update to nspr 4.10.2
Update to nss 3.15.3.1
Update firefox-esr and thunderbird to 24.2.0
Update firefox to 26.0
Update seamonkey to 2.23

- catch up with directory renames since USES=webplugins was introduced;
  fixes plugins not being automatically enabled after install
- linux-firefox and linux-seamonkey can play HTML5 audio [2][3] and
  measure about:memory usage, again
- dom.ipc.plugins.enabled->true no longer crash linux-firefox which makes
  some flash sites work again; as there's no nspluginwrapper in-between
  the infamous "youtube issue" never occurs
- install DEBUG with symbols [3] and describe the option better [4]
- enable dumping about:memory upon kill -65, kill -66 and GC/CC log
  upon kill -67 to a file under /tmp directory; linux-firefox uses
  kill -34, kill -35 and kill -36 respectively

PR:		ports/183861 [1]
PR:		ports/184006 [2]
PR:		ports/169896 [3]
PR:		ports/184285 [3]
PR:		ports/184286 [4]
Security:	dd116b19-64b3-11e3-868f-0025905a4771
In collaboration with: Jan Beich <jbeich@tormail.org>
2013-12-14 13:42:06 +00:00
Eitan Adler
8f169764d6 bsd.sanity.mk: add a warning not to use the BSD license
The 'BSD' license covered 3+ different licenses some of which were not OSI
approved.  Instead we now have 3 separate licenses.

Approved by:	portmgr (tabthorpe)
2013-12-14 06:04:59 +00:00
Baptiste Daroussin
ea0afa43ec Add compiler:nestedfct which will automatically probe USE_GCC=any 2013-12-13 14:14:48 +00:00
Tijl Coosemans
7365cece2c New USES=fortran to replace USE_FORTRAN.
USE_FORTRAN=yes can be replaced with USES=fortran or USES=fortran:gcc.
USE_FORTRAN=ifort can be replaced with USES=fortran:ifort.
USE_FORTRAN=f77 is deprecated and the version of gcc it depends
on (lang/gcc34) is scheduled to be removed.

Note that USE_FORTRAN=yes also makes GCC the C/C++ compiler while
USES=fortran only sets the Fortran compiler and can be used together
with Clang as C/C++ compiler.
2013-12-13 13:22:32 +00:00
Baptiste Daroussin
d17a45a117 Warn users about WITHOUT_NLS deprecation 2013-12-13 11:30:02 +00:00
Baptiste Daroussin
827dbfd2d3 Stop defining WITHOUT_NLS it not used anymore in the ports tree 2013-12-13 11:28:52 +00:00
Baptiste Daroussin
91e3a74739 Convert LIB_DEPENDS 2013-12-13 10:44:22 +00:00
Eitan Adler
95af718359 bsd.licenses.db.mk: add versioned BSD license
Add the BSD-2-Clause, BSD-3-Clause, and BSD-4-Clause licenses.  Note that these
are very specific licenses and these identifiers should NOT be used for e.g.,
BSD-2-Clause-FreeBSD.

Approved by:	portmgr (tabthorpe)
2013-12-11 23:31:26 +00:00
Eitan Adler
2a0772d861 Templates, Mk/ lang/ruby*: add the RUBY license
The current Ruby license is an optional choice of BSD-2-Clause and the 'Ruby'
license.  This is not OSI approved.

Approved by:	portmgr (tabthorpe)
2013-12-11 23:07:43 +00:00
Eitan Adler
18934abe04 bsd.port.mk: add LEGAL_TEXT and LEGAL_PACKAGE variable
The license system did not a method to give 'positive' permissions or other
'LEGAL' information without affecting the resulting package in some way
(RESTRICTED, NO_PACKAGE, NO_CDROM, etc.).

Provide a generic mechanism to provide this.

Further, provide a special variable "LEGAL" which can be used to capture any of
NO_PACKAGE, NO_CDROM, RESTRICTED, LEGAL_TEXT in reverse priority order.

PR:		ports/178096
Approved by:	portmgr (bdrewery)
2013-12-11 00:23:15 +00:00
Baptiste Daroussin
c55b1dc4b6 Bring back bsd.licenses.mk to prior r336083 the ports tree is not yet ready for that
Reported by:	mat
Pointyhat to:	bapt
2013-12-10 19:10:13 +00:00
Baptiste Daroussin
48d34b8d40 Disable NO_ARCH for now as it prevent from upgrading from pkg 1.1 to pkg 1.2 (pkg 1.1 will not understand it and claim there invalid ABIs)
Let's wait a bit before activating it.

Reported by:	mat
2013-12-10 19:05:41 +00:00
Marcus von Appen
885b528f02 New USES=twisted, to replace the old USE_TWISTED knob.
twisted can be configured with the arguments run or build to replace
the previous USE_TWISTED_RUN and USE_TWISTED_BUILD knobs. The twisted
components can be added as comma-separated arguments. If you previously
wrote
    USE_TWISTED=        yes
    USE_TWISTED=        conch names
    USE_TWISTED_RUN=    yes
you now would write
    USES=       twisted
    USES=       twisted:conch,names
    USES=       twisted:run
2013-12-08 12:04:07 +00:00
Koop Mast
430957572e Add vte3, the Gtk 3 version of the vte terminal widget.
Split off gnome-pty-helper from vte to allow both versions of vte to be
installed at the same time.
Update comment to make it clearer which gtk+ version it is for.
Enable introspection bindings in vte.

Obtained from:	GNOME dev repo.
2013-12-08 09:55:41 +00:00
Gerald Pfeifer
e526b95449 Explicitly include the GCC run time directory in LDFLAGS. This should
not be necessary when linking with GCC, but that's not the only way the
link process can be invoked.

PR:		182136
2013-12-07 22:36:21 +00:00
Baptiste Daroussin
0d585ac82e /usr/bin/nawk and /bin/csh are valid shebangs 2013-12-06 23:12:52 +00:00
Antoine Brodin
5f1525f56c Some ports install their info pages gzipped (devel/cvs or lang/gauche for
instance)
Handle this case

Approved by:	portmgr (bapt)
2013-12-06 12:19:21 +00:00
Alex Kozlov
325d7d2c22 - Use NO_ARCH instead of NOARCH for consistency with other NO_ knobs
Suggested by:	Eugene Stenkin <eugeni.stenkin@gmail.com>
Approved by:	portmgr (bapt)
2013-12-06 09:14:13 +00:00
Alex Kozlov
fcf2320fd6 - Implement support for architecture-neutral ports
- Replace 'alpha' with 'amd64'
- Remove gratuitous whitespaces at the end of the line

Approved by:	portmgr (bapt)
2013-12-06 08:20:16 +00:00
Koop Mast
69fdd2465d Remove libxml, last release in 2002. And unsupport upstream. 2013-12-05 13:50:22 +00:00
Antoine Brodin
c617959ef5 Do not create a BSD local hierarchy under ${STAGEDIR}${LINUXBASE} when
USE_LINUX=yes and PREFIX!=LINUXBASE.
This is not needed and creates a bunch of stage orphaned directories.

PR:		ports/184477
Approved by:	portmgr (bapt)
Tested by:	poudriere bulk -t games/dsnake emulators/rtc www/linux-f10-flashplugin11 (no error, no orphans)
2013-12-04 17:48:26 +00:00
Bryan Drewery
b517565d8c - Use proper UNAME variable here
With hat:	portmgr
2013-12-03 19:08:47 +00:00
David Naylor
3991d151ab Add sanity check for LIB_DEPENDS and RUN_DEPENDS.
Ports does not support relative paths in ${TYPE}_DEPENDS and actually breaks
the dependency registration with pkgng.  This occurs in ACTUAL_PACKAGE_DEPENDS
where ${PORTSDIR} is stripped from the dependencies' directory and uses the
rest of the string as the package origin.  pkg(8) then fails to detect package
origins with relative paths.

Approved by:	portmgr (bapt)
2013-12-02 16:56:42 +00:00
Rene Ladan
dacbb85df4 Now that x11-toolkits/linux-f10-gtk is gone, remove its definition. 2013-12-01 00:40:07 +00:00
Mathieu Arnold
5fa7b7d571 Fixup makeplist for directories.
Without, it'll generate :
@dirrmtry %%PORTDOCS%%%%DOCSDIR%%
With :
%%PORTDOCS%%@dirrmtry %%DOCSDIR%%

PR:		ports/184287
Submitted by:	mat
Approved by:	bapt
2013-11-29 16:08:41 +00:00
Baptiste Daroussin
a414afee4c Allow a user non belonging to whell to create a package 2013-11-29 14:57:42 +00:00
Antoine Brodin
b03b173fe8 Fix listing of info-* files when staging
Approved by:	portmgr (bapt)
2013-11-29 08:39:03 +00:00
Gerald Pfeifer
545eced26f Extend description of USE=shebangfix. Improve grammar and formatting.
Approved by:	portmgr (bapt)
2013-11-28 23:57:53 +00:00