Commit graph

14 commits

Author SHA1 Message Date
Mathieu Arnold
d0cba2b797 Cleanup Mk/Uses/gnome.mk.
- Remove the use of comp_DETECT.
- Remove all comp_DETECT variables.
- Remove a use of comp_DETECT outside of gnome.mk
- Remove py3gobject3.
- Have ports depending directly on devel/py-gobject3 use gnome to do it.

PR:		224618
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D13550
2018-01-03 13:22:31 +00:00
Antoine Brodin
b30fa14a7a Make py3gobject3 and pygobject3 synonyms
The requested version of python can be set via USES=python:version
This change allows to build most ports depending on devel/py-gobject3
with DEFAULT_VERSIONS=python=3.x
In the future, one of py3gobject3 or pygobject3 could be deprecated.
2017-12-13 16:11:55 +00:00
Mathieu Arnold
551be3c723 Convert Python ports to FLAVORS.
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
2017-11-30 15:50:30 +00:00
Mathieu Arnold
4da13b8f8e Remove WANT_GNOME and HAVE_GNOME.
Approved by:	bapt kwm
Sponsored by:	Absolight
Differential Revision:	  https://reviews.freebsd.org/D12643
2017-10-12 15:57:51 +00:00
Baptiste Daroussin
067df085eb Finish removal of gal2 2017-04-01 22:21:32 +00:00
Baptiste Daroussin
cdd9171c1c Remove more obsolete gnome2 components 2017-04-01 22:05:39 +00:00
Baptiste Daroussin
b8812b9f34 Remove some old gnome2 ports not depend on anymore and not maintained upstream 2017-04-01 20:15:11 +00:00
Antoine Brodin
547a3ebc7b Add libintl.so to glib20_LIB_DEPENDS
As noted in PR 209813, some glib headers include libintl.h and then use
gettext in some macros.  Programs that use this API (directly or indirectly)
can end up with calls to gettext and need to be linked with libintl.so.
glib-2.0.pc has -lintl in its Libs too.

PR:		209813
With hat:	portmgr
2017-03-12 08:25:22 +00:00
Mathieu Arnold
eabbfd75e3 ${RM} already has -f.
PR:		213570
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2016-10-21 12:51:40 +00:00
Baptiste Daroussin
ecba37e1cc Remove gtk-sharp10 it is not depended on anymore and superceeded by other libs 2016-06-19 23:00:37 +00:00
Mathieu Arnold
d5e588bc6e Make all the targets in USES use the _USES_* helpers.
It is left as an exercise to the reader to reorder some of those targets
to fix some small problems, and to add a comment about why each target
is ran when it is ran.

Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D5717
2016-04-22 09:24:34 +00:00
Baptiste Daroussin
421767bd88 Remove the now unneeded ${PORTSDIR} from dependency definition in
The infrastructure Makefiles

PR:		206569
Exp run by:	antoine
Differential Revision:	D5047
2016-03-27 01:23:25 +00:00
Koop Mast
f281bfd280 Reapply https://svnweb.freebsd.org/changeset/ports/406559 which
got lost in https://svnweb.freebsd.org/changeset/ports/408449.

Noticed by:	rakuco@
2016-02-07 21:04:42 +00:00
Koop Mast
71d5deb1f4 Move Mk/bsd.gnome.mk and Mk/bsd.mate.mk to Mk/Uses/.
To use the GNOME or MATE components activate it by adding gnome
or mate to USES. The usage of USE_GNOME/INSTALL_ICONS and for
example GLIB_SCHEMAS has stayed the same.

Like with USES, the use of USE_GNOME and so after bsd.port.pre.mk
is now forbidden. And adapt ports that where still doing that.

Exp-runs done by:	antoine@

PR:		205432
Reviewed by:	antoine@, mat@
Approved by:	portmgr (antoine@)
Differential Revision:	https://reviews.freebsd.org/D3653
2016-02-07 19:43:56 +00:00
Renamed from Mk/bsd.gnome.mk (Browse further)