Commit Graph

118 Commits

Author SHA1 Message Date
Emmanuel Vadot 7d19c99678 graphics/cairo: Change GL option from SINGLE to RADIO
This allow to not select any GL renderer as before.

Pointy hat to:	  manu
Reported by:	Yasuhiro KIMURA <yasu@utahime.org>
2020-09-25 11:04:56 +00:00
Emmanuel Vadot 61e9f6d72c graphics/cairo: Allow GLESv2 backend as an options
This is useful for X11-less setups.

Reviewed by:	tcberner
Approved by:	desktop (tcberner@)
Differential Revision:	https://reviews.freebsd.org/D26437
2020-09-25 06:54:37 +00:00
Yuri Victorovich 750897f008 graphics/cairo: Roll back r548287 thyat upgraded cairo to 1.17.2 due to run-time problems that it caused
PR:		249290
Reported by:	Stefan Ehmann <shoesoft@gmx.net> et al.
2020-09-13 16:37:21 +00:00
Yuri Victorovich 19b7c0f7ab graphics/cairo: Update 1.16.0 -> 1.17.2
PR:		246816
Approved by:	gnome (maintainer; timeout 100+ days). later maintainer was changed to desktop@
2020-09-12 05:28:42 +00:00
Tobias C. Berner 28bac6ebdd Move some gnome@ ports to desktop@
As gnome@ is lacking active committers at the moment, transfer some of its
ports [1] up the stack to the desktop@ group, in hope that this way we get some
updates in as the set of people that "should feel responsible" grows.

As soon as gnome@ grows some committers again, this can (and should) of course
be reverted again.

[1] The list of ports chosen in this move consits of all the ports that are
required to build x11/kde5.

Approved by:	portmgr (bapt)
Differential Revision:	https://reviews.freebsd.org/D26362
2020-09-10 18:55:41 +00:00
Jan Beich 3441191dd8 graphics/cairo: simplify non-GLX case after r538507
Submitted by:	manu
2020-06-11 18:32:32 +00:00
Jan Beich ce8a09e040 graphics/cairo: drop RUN_DEPENDS on xorgproto
Cairo API doesn't expose any of xorgproto headers. Even if some
consumers *implicitly* depend on xorgproto via cairo the bootlegging
still occurs: cairo -> libX11 -> libXdmcp -> xorgproto.
2020-06-11 18:16:43 +00:00
Jan Beich 680e437f9e graphics/cairo: drop xorgproto from OPENGL
X11 already depends on xorgproto while GLX requires X11.

$ pkg info -ql xorgproto | sed '/include/!d; s,.*include/,,' |
  fgrep --exclude='*config*' --exclude='*ChangeLog*' -rnf - .
./boilerplate/cairo-boilerplate-glx.c:37:#include <X11/X.h>
./src/cairo-xlib-surface-shm.c:145:#include <X11/Xproto.h>
./src/cairo-xlib-surface-shm.c:148:#include <X11/extensions/shmproto.h>
./src/cairo-xlib-surface-shm.c:150:#include <X11/extensions/shmstr.h>
./src/cairo-xlib-xrender-private.h:56:#include <X11/extensions/renderproto.h>
./src/cairo-xlib-xrender-private.h:219:/* Copied from X11/extensions/render.h */
./src/cairo-xlib-xrender-private.h:533:/* Copied from X11/extensions/renderproto.h */
./src/cairo-xlib-xrender-private.h:535:#include <X11/Xmd.h>

Submitted by:	manu (based on)
2020-06-11 18:13:22 +00:00
Jan Beich 91eae87396 graphics/cairo: divorce OPENGL from X11
- OPENGL enables EGL, so don't require GLX
- cairo-gl uses libOpenGL with libglvnd
- libglvnd lacks libGL if built without X11
2020-06-11 16:39:03 +00:00
Niclas Zeising a3c56e68df Add USES=xorg USES=gl, ports categories e and g
Add USES=xorg and USES=gl to ports in categories starting with 'e' and 'g'.
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-05 22:21:16 +00:00
Niclas Zeising be6c15b5c6 Add USES=xorg USES=gl, ports categories g
Add USES=xorg and USES=gl to ports in categories starting with 'g'.
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-05 22:16:14 +00:00
Koop Mast 7a2736b392 Update cairo to 1.16.0.
PR:		233742
Submitted by:	Charlie Li <ml+freebsd@vishwin.info>
2019-03-23 10:06:48 +00:00
Tobias Kortkamp 0d7b872a8c Do not set CONFIGURE_ARGS twice 2019-01-08 11:23:34 +00:00
Koop Mast 951c1f5d1c The FreeBSD GNOME team proudly presents GNOME 3.28 for FreeBSD.
The offical GNOME 3.28 release notes can be found at
https://help.gnome.org/misc/release-notes/3.28/

Thanks to Antoine Brodin for running the exp-runs.

PR:		229761
2018-09-30 11:58:29 +00:00
Niclas Zeising 0fae2e9e0e Change x11/xorgproto to become a build dep
Change x11/xorgproto to become a build time dependency when added to
USE_XORG.  Change the dependency to be on the port, rather than a file the
port installs.
Fix fallout.
Bump portrevision on depending ports.

PR:		230909
Reviewed by:	eadler
Approved by:	portmgr (antoine)
Obtained from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorgproto
exp-run:	antoine
Differential Revision:	https://reviews.freebsd.org/D16906
2018-09-11 18:34:27 +00:00
Niclas Zeising 15dac70c75 Switch to xorgproto instead of individual packages
Upstream used to distribute protocol headers as separate packages, but has
decided to merge those to a common package, named xorgproto.  This update
tracks that change.

* Add a new port, x11/xorgproto, with are protocol headers for xorg.
* Hook the new protocol port to the build and to infrastructure in
  bsd.xorg.mk.
* Update all ports with a dependency on any of the old *proto packages to
  instead depend on xorgproto.  Bump portrevision.
* Delete the old *proto packages, update MOVED.

PR:		230023
Submitted by:	zeising
Approved by:	portmgr (antoine)
exp-run by:	antoine
2018-07-31 18:41:30 +00:00
Sunpoet Po-Chuan Hsieh 640f56be65 Update LICENSE
- Add LICENSE_FILE

Approved by:	portmgr (blanket)
2017-09-24 18:49:06 +00:00
Dmitry Marakasov 5a723b98e1 - Update WWW
Approved by:	portmgr blanket
2017-09-07 09:01:43 +00:00
Matthew Rezny b760897dde Revision bump of all ports with USE_GL after consolidation of mesa-libs
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D10845
2017-05-23 05:03:14 +00:00
Koop Mast 6afc73fc78 Update cairo to 1.14.8.
* Record indirect gettext-runtime dependancy for the GLIB option.
* Activate the gnome framework properly (don't depend on the workaround)
2017-03-08 15:33:43 +00:00
Jan Beich d727b67ebb graphics/cairo: clean up
- Convert to option helpers
- Fix LICENSE combination
- Add missing X11 dependencies [1]

PR:		198996 [1]
Submitted by:	yuri@rawbw.com [1]
Approved by:	portmgr blanket
MFH:		2016Q3
2016-07-25 23:48:35 +00:00
Dmitry Marakasov 4e942b6419 - Fix trailing whitespace in pkg-descrs, categories [g-n]*
Approved by:	portmgr blanket
2016-05-19 10:44:11 +00:00
Mathieu Arnold 4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00
Koop Mast a400c74b06 Fix packaging of cairo in poudriere when the glib option is disabled.
cairo-sphinx doesn't have a disable switch, but it checks for the
present of glib. Add the sphinx plist files under the GLIB option,
so that when sphinx plist entries are consistent, regardless if
glib is installed or not.

PR:		195187
2016-01-20 13:02:56 +00:00
Koop Mast 3c8d04907f Update cairo to 1.14.6. 2015-12-10 21:50:14 +00:00
Antoine Brodin 10d08bc528 Unbreak INDEX 2015-11-09 15:06:35 +00:00
Sean Bruno afd5b52ca0 Update port Makefile to support mips build of cairo.
Add License Information

PR:		201683
Submitted by:	Carlos J Puga Medina <cpm@fbsd.es>
2015-11-09 14:59:36 +00:00
Koop Mast 5a8f50c9e3 Collapse the EGL option into the OPENGL option.
The build fails if EGL is selected but OPENGL isn't.
2015-08-06 07:50:29 +00:00
Jung-uk Kim f83f5f0cb1 Fix endianness detection on head with strings(1) from ELF toolchain.
Approved by:	gnome (maintainer, timeout > 6 months)
MFH:		2015Q3
2015-08-05 21:40:11 +00:00
Koop Mast d129587b5d The FreeBSD GNOME team proudly presents GNOME 3.16 for FreeBSD.
The offical GNOME 3.16 release notes can be found at https://help.gnome.org/misc/release-notes/3.16/

Upgrade instructions for port users:

Delete the old tracker package with:
# pkg delete -f tracker
And user port upgrade tool of choice to upgrade.

Thanks to Antoine Brodin for running the exp-runs.

This release was made possible by the following people:
  Gustau Perez
  Ting-Wei_Lan

PR:		201980
2015-08-05 19:13:24 +00:00
Dmitry Marakasov 2ea807b888 - Add CPE info
Approved by:	portmgr blanket
2015-05-13 23:15:12 +00:00
John Marino 9746d6524b graphics category: Remove $PTHREAD_LIBS
graphics/zbar didn't pass check-plist (pre-existing), fixed.

approved by:	PTHREAD blanket
2015-03-25 20:09:42 +00:00
Baptiste Daroussin bb21093773 Bump portrevision after png update 2014-12-25 20:54:41 +00:00
Antoine Brodin 7ae46e9b12 Change libpng15.so to libpng.so in LIB_DEPENDS to prepare the upgrade 2014-12-25 19:04:25 +00:00
Koop Mast 4bb3216402 Update to 1.12.18.
Don't depend on libX11 when X11 option is disabled. [1]

PR:		195569 [1]
Submitted by:	madpilot@ [1]
2014-12-09 10:54:35 +00:00
Baptiste Daroussin a76a739bfe Cleanup plist 2014-10-20 17:04:20 +00:00
John Baldwin 1ebd0e3345 The MAP_NORESERVE flag to mmap() has never been implemented in FreeBSD and
is being removed.  No portrev bump needed since the kernel will continue to
accept this flag for old binaries even after support for it in new binaries
is removed.

PR:		193961
Approved by:	portmgr (antoine)
2014-10-18 12:20:42 +00:00
Koop Mast af3711b2f7 The cairo port is now updated to 1.12.16.
We delayed the update of cairo to the 1.12 series as long as we possibly
could, but 1.10 was blocking updates to other ports, e.g. pango and gtk30.
Continued availability of cairo 1.10 would prevent building of any GTK+
applications.

Cairo 1.12 exposes some driver bugs in xf86-video-intel 2.7.1, and may expose
bugs in other older drivers. These bugs manifest as display artifacts.
Conversely, this update fixes some graphical glitches with xorg-server 1.12.
2014-09-12 06:34:28 +00:00
Tijl Coosemans aad09bc5e2 When linking a library libA with a library libB using libtool, if libB.la
exists, libtool will add all libraries libB.la refers to (dependency_libs
field) to the linker command line and store them in the dependency_libs
field of libA.la.  So everything that subsequently links with libA will also
link to these extra libraries.  This causes too much overlinking.

This commit modifies Mk/Uses/libtool.mk so it empties the dependency_libs
field in .la libraries during staging.  However, because .la libraries have
very limited use when dependency_libs is empty it makes sense to completely
remove them during staging.

So with this commit USES=libtool is modified to remove .la libraries and a
new form (USES=libtool:keepla) is introduced in case they need to be kept
(dependency_libs is still emptied).

PORTREVISION is bumped on all ports with USES=libtool that install .la
libraries.  Most ports are also changed to add :keepla because .la
libraries have to be kept around as long as there are dependent ports with
.la libraries that refer to them in their dependency_libs field.  In most
cases :keepla can be removed again as soon as all dependent ports that
install .la libraries have some form of USES=libtool added to their
Makefile.

PR:		ports/188759
Exp-run:	bdrewery
Approved by:	portmgr (bdrewery)
2014-04-23 13:25:16 +00:00
Niclas Zeising 39fc32e828 The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:

NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE

This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.

This patch also contains updates of libxcb and related ports, pixman, as well
as some drivers and utilities.

Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due
to xserver version change.

Apart from these updates, the way shared libraries are handled has been
changed for all xorg ports, as well as libxml2 and freetype, which means
ltverhack is gone and as a consequence shared libraries have been bumped.
The plan is that this change will make library bumps less likely in the
future.
All affected ports have had their portrevisions bumped as a consequence of
this.

Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT.

Update instructions, hardware support, and more notes can be found on
https://wiki.freebsd.org/Graphics

Thanks to:	all testers, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/187602 [1]
Approved by:	portmgr (bdrewery), core (jhb)
2014-04-16 18:28:47 +00:00
Baptiste Daroussin 37b9c91b5f Support stage
Switch to USES=libtool
2014-04-11 15:20:44 +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
Niclas Zeising 5a4c543c2b The FreeBSD graphics/x11 team proudly presents
a kwm, zeising production:

MESA 9.1.6

Starring:
Mesa 9.1.6, including libGL, libGLU and dri (new xorg only)
Addition of libEGL and libglesv2
KMS support for ATI graphics cards in 10-current (new xorg only)
Improved sparc64 support for new xorg. [1]
pixman 0.30.2, including shlib bump and portrevision bumps
libX11 1.6.2
Make absolute pointing devices work with x11-drivers/xf86-input-mouse
x11-drivers/xf86-video-ati 7.2.0 for 10-current (KMS aware ati driver)

Also starring:
Updates to drivers and other libraries and utilities

Additional notes:
When updating MESA related ports (libGL, dri) you need to remove old versions
first.  See UPDATING for details.

PR:		ports/181962 [2]
Submitted by:	marius [1]
		zeising [2]
Exp-run by:	bdrewery
Approved by:	portmgr (bdrewery)

Thanks to all who helped testing!
2013-09-29 17:01:41 +00:00
Baptiste Daroussin eb08c5441c Add NO_STAGE all over the place in preparation for the staging support (cat: graphics) 2013-09-20 18:35:44 +00:00
Koop Mast eb6aa0f648 Add pkgconfig as build to fix the build with non default options. [1]
While here convert the pixman depend to USE_XORG, and remove the versions
in lib_depends.

PR:		ports/178984
Submitted by:	Garrett Wollman <wollman@xyz.csail.mit.edu>
2013-05-26 08:48:28 +00:00
Jeremy Messenger 0d00ac1c49 - Remove the gobject enable flag in the global since there is an option to
disable it.
- gnomehack -> USES=pathfix
2013-03-19 16:15:33 +00:00
Koop Mast e19880e838 For building with libGL we also need dri2proto. Make it available for ports
using cairo when cairo is build with OpenGL support (off by default).

Submitted by:	zeising@
2013-01-16 11:38:15 +00:00
Renato Botelho 8687702404 - Update xcb-util to 0.3.9
- Update xcb-util-wm to 0.3.9
- Update xcb-util-keysyms to 0.3.9
- Update xcb-util-image to 0.3.9
- Bump PORTREVISION on dependant ports
2012-12-10 19:08:02 +00:00
Baptiste Daroussin 5338d3b460 Convert to OptionsNG
When OPENGL option is activated, then cairo.pc hard depends on glproto.p, thus
glproto is now also a run dependency of cairo if OPENGL is activated, this
unbreak building ports depending on cairo if OPENGL option is activated and
WITH_NEW_XORG and WITH_KMS are sets

Approved by:	gnome (kwm)
2012-09-26 10:12:42 +00:00
Mark Linimon 07192a24ed Mark as broken on ARM.
PR:		ports/170946
Submitted by:	linimon
Hat:		portmgr
2012-09-04 03:05:23 +00:00