Commit graph

127 commits

Author SHA1 Message Date
Adriaan de Groot
064fa58763 graphics/cairo: make documentation available in devhelp
GNOME devhelp looks for documentation in particular places,
and cairo was putting it somewhere subtly different.
Switch DOCSDIR (since it was already being used in the
Makefile and pkg-plist, this is the smallest change)
to point to where it should. This approach is copied
from devel/libsoup/ and was suggested by Sean Champ.

PR:		263852 263785
2022-09-17 16:26:59 +02:00
Stefan Eßer
fb16dfecae Remove WWW entries moved into port Makefiles
Commit b7f05445c0 has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2022-09-07 23:58:51 +02:00
Stefan Eßer
b7f05445c0 Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
2022-09-07 23:10:59 +02:00
Tobias C. Berner
022e658bd1 graphics: remove 'Created by' lines
A big Thank You to the original contributors of these ports:

  *  "Waitman Gobble" <uzimac@da3m0n8t3r.com>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Abel Chow <ozsanh45vds001@sneakemail.com>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
  *  Ade Lovett <ade@lovett.com>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Aldis Berjoza <aldis@bsdroot.lv>
  *  Alex Hayward <xelah@xelah.com>
  *  Alex Ivasyuv <siegerstein@pochta.ru>
  *  Alex Samorukov <samm@os2.kiev.ua>
  *  Alexander Gromnitsky
  *  Alexander Kojevnikov <alexander@kojevnikov.com>
  *  Alexander Logvinov <ports@logvinov.com>
  *  Alexander Nedotsukov <bland@FreeBSD.org>
  *  Alexander Nedotsukov <bland@mail.ru>
  *  Alexander Y. Grigoryev <alexander.4mail@gmail.com>
  *  Alexey Dokuchaev <danfe@FreeBSD.org>
  *  Alonso Cardenas Marquez <acm@FreeBSD.org>
  *  Anatoliy Dmytriyev <tolid@plab.ku.dk>
  *  Anatoly Borodin <anatoly.borodin@gmail.com>
  *  Anders Nordby <anders@fix.no>
  *  Andras Horvath <han@log69.com>
  *  Andreas Daehn <ad001@uni-rostock.de>
  *  Andrew Pantyukhin <infofarmer@FreeBSD.org>
  *  Andrey Slusar <anray@FreeBSD.org>
  *  Andrey Zakhvatov
  *  Anes Mukhametov <anes@anes.su>
  *  Anonymous <swell.k@gmail.com>
  *  Anton Berezin <tobez@FreeBSD.org>
  *  Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
  *  Arjan van Leeuwen <avleeuwen@piwebs.com>
  *  Ashish SHUKLA <ashish@FreeBSD.org>
  *  Bill Fumerola <billf@chc-chimes.com>
  *  Björn König <bkoenig@alpha-tierchen.de>
  *  Brad Hendrickse <bradh@iafrica.com>
  *  Bruce M Simpson <bms@FreeBSD.org>
  *  Carlos Eduardo G. Carvalho <cartola@openit.com.br>
  *  Charlie Kester <corky1951@comcast.net>
  *  Choe, Cheng-Dae
  *  Choe, Cheng-Dae <whitekid@gmail.com>
  *  Chris D. Faulhaber <jedgar@FreeBSD.org>
  *  Chris D. Faulhaber <jedgar@fxp.org>
  *  Chris Piazza <cpiazza@FreeBSD.org>
  *  Christopher Key <cjk32@cam.ac.uk>
  *  Chuck Robey <chuckr@FreeBSD.org>
  *  Corey Smith <corsmith@gmail.com>
  *  Dan Langille <dvl@FreeBSD.org>
  *  Daniel O'Connor <darius@dons.net.au>
  *  Daniel Roethlisberger <daniel@roe.ch>
  *  Danilo Egea Gondolfo <danilo@FreeBSD.org>
  *  Dave Cottlehuber <dch@skunkwerks.at>
  *  David Bremner <bremner@unb.ca>
  *  David Gilbert <dgilbert@velocet.ca>
  *  David Naylor <dbn@FreeBSD.org>
  *  David Yeske <dyeske@gmail.com>
  *  Denis Barov <dindin@dindin.ru>
  *  Denis Podolskiy <bytestore@yandex.ru>
  *  Dennis Herrmann <adox@mcx2.org>
  *  Devaux Fabien <fab@gcu.info>
  *  Dmitry Sivachenko <dima@Chg.RU>
  *  Dominik Brettnacher <domi@nonsensss.de>
  *  Donn Miller <dmmiller@cvzoom.net>
  *  Douglas Carmichael <dcarmich@mcs.com>
  *  Douglas K. Rand <rand@meridian-enviro.com>
  *  Edwin Groothuis <edwin@mavetju.org>
  *  Emanuel Haupt <ehaupt@FreeBSD.org>
  *  Emanuel Haupt <ehaupt@critical.ch>
  *  Emil J.V. Björsell (Jev)
  *  Emmanuel Vadot <manu@FreeBSD.org>
  *  Eric Anholt <anholt@FreeBSD.org>
  *  Eric Freeman <freebsdports@chillibear.com>
  *  Eric P. Scott <eps+pbug0703@ana.com>
  *  Erwin Lansing <erwin@FreeBSD.org>
  *  Eugene Mychlo <myc@barev.net>
  *  Fernan Aguero <fernan@iib.unsam.edu.ar>
  *  Franz Klammer <klammer@webonaut.com>
  *  FreeBSD GNOME Team <gnome@FreeBSD.org>
  *  G. Adam Stanislav <adam@whizkidtech.net>
  *  Garrett Wollman <wollman@lcs.mit.edu>
  *  Gea-Suan Lin <gslin@gslin.org>
  *  George Reid <greid@ukug.uk.freebsd.org>
  *  Gerrit Beine (<gerrit.beine@gmx.de>)
  *  Gerrit Beine (<tux@pinguru.net>)
  *  Glenn Johnson
  *  Greg Lewis <glewis@FreeBSD.org>
  *  Gustau Perez <gustau.perez@gmail.com>
  *  Gustau Pérez i Querol <gustau.perez@gmail.com>
  *  Gvozdikov Veniamin <g.veniamin@googlemail.com>
  *  Hernan Di Pietro <hernan.di.pietro@gmail.com>
  *  Hiroto Kagotani <hiroto.kagotani@gmail.com>
  *  Horia Racoviceanu <horia@racoviceanu.com>
  *  Hye-Shik Chang <perky@fallin.lv>
  *  Hye-Shik Chang <perky@python.or.kr>
  *  Igor Pokrovsky <ip@doom.homeunix.org>
  *  Igor Pokrovsky <tiamat@comset.net>
  *  James FitzGibbon <jfitz@FreeBSD.org>
  *  Jamie Hermans <jamie@hermans.ca>
  *  Jan Henrik Sylvester <me@janh.de>
  *  Janni
  *  Janos Mohacsi <janos.mohacsi@bsd.hu>
  *  Jason Helfman <jgh@FreeBSD.org>
  *  Jean-Marc Zucconi <jmz@FreeBSD.org>
  *  Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
  *  Jean-Yves Lefort <jylefort@FreeBSD.org>
  *  Jean-Yves Lefort <jylefort@brutele.be>
  *  Jeff Molofee
  *  Jeremy Norris <ishmael127@home.com>
  *  Jeremy Norris <ishmael27@home.com>
  *  Joe Marcus Clarke <marcus@FreeBSD.org>
  *  Johannes Dieterich <jmd@FreeBSD.org>
  *  Johannes Jost Meixner <johannes@perceivon.net>
  *  Johannes Meixner <johannes@perceivon.net>
  *  John Hay
  *  John McAree <john@mcaree.org>
  *  John Prather
  *  John Reynolds <johnjen@reynoldsnet.org>
  *  Joris Dedieu <joris.dedieu@gmail.com>
  *  Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
  *  Jose Jachuf <jjachuf@gmail.com>
  *  Joseph Koshy <koshy@india.hp.com>
  *  Juergen Unger <j.unger@choin.net>
  *  KANOU Hiroki <kanou@mil.allnet.ne.jp>
  *  KIRIYAMA Kazuhiko
  *  Kay Lehmann
  *  Kevin Golding <ports@caomhin.org>
  *  Kimura Fuyuki <fuyuki@hadaly.org>
  *  Koop Mast <kwm@FreeBSD.org>
  *  Kris Kennaway <kris@FreeBSD.org>
  *  Kris Moore <kmoore@FreeBSD.org>
  *  Kubilay Kocak <koobs@FreeBSD.org>
  *  Kurt Kanzenbach <kurt@kmk-computers.de>
  *  Kyle Martin <mkm@ieee.org>
  *  Laurent Courty
  *  Leonardo Martins <lmartins@nepe.eee.ufg.br>
  *  Lev Serebryakov <lev@FreeBSD.org>
  *  Malte Lance <malte.lance@gmx.net>
  *  Marc Fonvieille <blackend@FreeBSD.org>
  *  Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
  *  Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> et al.
  *  Mark Atkinson <atkin901@gmail.com>
  *  Mark Murray <markm@FreeBSD.org>
  *  Mark Pulford <mark@kyne.com.au>
  *  Markus Brueffer <markus@FreeBSD.org>
  *  Martin Dieringer <martin.dieringe@gmx.de>
  *  Martin Dieringer <martin.dieringer@gmx.de>
  *  Martin Matuska <mm@FreeBSD.org>
  *  Martin Neubauer <m.ne@gmx.net>
  *  Martin Sugioarto <martin.sugioarto@udo.edu>
  *  Martin Tournoij <carpetsmoker@rwxrwxrwx.net>
  *  Martin Tournoij <carpetsmoker@xs4all.nl>
  *  Martin Wilke <miwi@FreeBSD.org>
  *  Mateusz Piotrowski <0mp@FreeBSD.org>
  *  Mathieu Arnold
  *  Matthew Luckie <mjl@luckie.org.nz>
  *  Matthew X. Economou <xenophon+fbsdports@irtnog.org>
  *  Matthias Fechner <mfechner@FreeBSD.org>
  *  Matthieu Volat <mazhe@alkumuna.eu>
  *  Maurice Castro <maurice@serc.rmit.edu.au>
  *  Maxim Sobolev <sobomax@FreeBSD.org>
  *  Michael Gmelin <freebsd@grem.de>
  *  Michael Johnson <ahze@FreeBSD.org>
  *  Michael Johnson <ahze@ahze.net>
  *  Michael Nottebrock <lofi@FreeBSD.org>
  *  Michael Reifenberger <mr@FreeBSD.org>
  *  Mike Krutov <neko@takino.org>
  *  Mikhail T. <mi@aldan.algebra.com>
  *  Mikhail Teterin <mi@aldan.algebra.com>
  *  Muhammad Moinur Rahman <5u623l20@gmail.com>
  *  NAKATA Maho <maho@FreeBSD.org>
  *  Naram Qashat <cyberbotx@cyberbotx.com>
  *  Nick Hilliard <nick@foobar.org>
  *  Nicola Vitale <nivit@FreeBSD.org>
  *  Nicola Vitale <nivit@email.it>
  *  Nikolay Korotkiy <sikmir@gmail.com>
  *  Norio Suzuki <nosuzuki@e-mail.ne.jp>
  *  Oliver Heesakkers <dev2@heesakkers.info>
  *  Oliver Lehmann <oliver@FreeBSD.org>
  *  Olivier Duchateau
  *  Paul Everlund
  *  Pav Lucistnik <pav@FreeBSD.org>
  *  Pedro F. Giffuni
  *  Pedro Garcia Freitas <sawp@sawp.com.br>
  *  Pedro Giffuni
  *  Pedro Giffuni <pfg@FreeBSD.org>
  *  Pete Fritchman <petef@FreeBSD.org>
  *  Pete Fritchman <petef@databits.net>
  *  Peter Ankerstal <peter@pean.org>
  *  Peter Jeremy <peterjeremy@optushome.com.au>
  *  Peter Schmiedeskamp <pschmied@qwest.net>
  *  Phil Phillips <pphillips@experts-exchange.com>
  *  Pietro Cerutti <gahr@FreeBSD.org>
  *  Pietro Cerutti <gahr@gahr.ch>
  *  Piotr Kubaj <pkubaj@anongoth.pl>
  *  Piotr Smyrak <smyru@heron.pl>
  *  Piotr Smyrak, piotr.smyrak@heron.pl
  *  Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  Quentin Stievenart <acieroid@awesom.eu>
  *  R Joseph Wright <rjoseph@mammalia.org>
  *  Radim Kolar
  *  Rainer Hurling <rhurlin@gwdg.de>
  *  Randall Hopper
  *  Randall Hopper <aa8vb@ipass.net>
  *  Randall Hopper <aa8vb@nc.rr.com>
  *  Reinier de Blois <rddeblois@gmail.com>
  *  Richard Hwang <rhwang@bigpanda.com>, Mikhail Teterin <mi@aldan.algebra.com>, Jun-ichiro itojun Itoh <itojun@itojun.org>
  *  Rick Elrod <codeblock@eighthbit.net>
  *  Rob Farmer <rfarmer@predatorlabs.net>
  *  Rod Person <rodperson@rodperson.com>
  *  Roland Jesse <roland.jesse@gmx.net>
  *  Romain Tartiere <romain@FreeBSD.org>
  *  Ron van Daal
  *  Ronald Kuehn <rk@ronald.org>
  *  Rong-En Fan <rafan@infor.org>
  *  Rusmir Dusko <nemysis@FreeBSD.org>
  *  Rusty Nejdl <rnejdl@ringofsaturn.com>
  *  Ryan Melcer <rmelcer@iteris.com>
  *  Ryan Steinmetz <zi@FreeBSD.org>
  *  Sahil Tandon <sahil@FreeBSD.org>
  *  Sam Lawrance
  *  Satoshi Asami <asami@FreeBSD.org>
  *  Satoshi Taoka <taoka@FreeBSD.org>
  *  Seiichirou Hiraoka
  *  Serge Negodyuck <petr@petrovich.kiev.ua>
  *  Sergey A. Osokin <osa@FreeBSD.org>
  *  Sergey Skvortsov <skv@protey.ru>
  *  Sergey V. Dyatko <sergey.dyatko@gmail.com>
  *  Shane Ambler
  *  Shaun Amott <shaun@inerd.com>
  *  Shell Hung <shell@shellhung.org>
  *  Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
  *  Simun Mikecin <numisemis@yahoo.com>
  *  Sofian Brabez <sbrabez@gmail.com>
  *  Stanislav Sedov <ssedov@mbsd.msk.ru>
  *  Stanislav Sedov <stas@FreeBSD.org>
  *  Stas Timokhin <devel@stasyan.com>
  *  Stas Timokhin <stast@bsdportal.ru>
  *  Stefan Walter <sw@gegenunendlich.de>
  *  Stephen Roome <steve@pepcross.com>
  *  Steve Wills <steve@meatwad.mouf.net>
  *  Steve Wills <swills@FreeBSD.org>
  *  Steven Kreuzer <skreuzer@FreeBSD.org>
  *  Steven Wallace <swallace@FreeBSD.org>
  *  Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  TAKAHASHI Kaoru <kaoru@kaisei.org>
  *  TAKATSU Tomonari <tota@FreeBSD.org>
  *  TAKATSU Tomonari <tota@rtfm.jp>
  *  TAOKA Fumiyoshi
  *  TATEISHI Katsuyuki <katsu@iec.hiroshima-u.ac.jp>
  *  Tassilo Philipp <tphilipp@potion-studios.com>
  *  Thibault Payet <monwarez@mailoo.org>
  *  Thierry Thomas <thierry@pompo.net>
  *  Thomas Dreibholz <dreibh@iem.uni-due.de>
  *  Thomas Gellekum <tg@FreeBSD.org>
  *  Thomas Hurst <tom@hur.st>
  *  Tilman Linneweh <arved@FreeBSD.org>
  *  Tim Bishop <tim@bishnet.net>
  *  Tod McQuillin <devin@spamcop.net>
  *  Tomoyuki Sakurai <cherry@trombik.org>
  *  Tsung-Han Yeh <snowfly@yuntech.edu.tw>
  *  UMENO Takashi <umeno@rr.iij4u.or.jp>
  *  Ulrich Spoerlein <q@uni.de>
  *  Vasil Dimov <vd@FreeBSD.org>
  *  Veniamin Gvozdikov <vg@FreeBSD.org>
  *  Vincent Tantardini <vinc@FreeBSD-fr.org>
  *  Vladimir Chukharev
  *  Wen Heping <wen@FreeBSD.org>
  *  Wen Heping <wenheping@gmail.com>
  *  Wen heping <wenheping@gmail.com>
  *  Wen heping<wenheping@gmail.com>
  *  Will Andrews <andrews@technologist.com>
  *  Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
  *  Ying-Chieh Liao <ijliao@FreeBSD.org>
  *  Yinghong Liu <relaxbsd@gmail.com>
  *  Yinghong.Liu <relaxbsd@gmail.com>
  *  Yuan-Chung Hsiao <ychsiao@ychsiao.org>
  *  Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
  *  Yukihiro Nakai <nacai@iname.com>
  *  Yukihiro Nakai <nakai@mlab.t.u-tokyo.ac.jp>
  *  Yuri Victorovich <yuri@FreeBSD.org>
  *  Yuri Victorovich <yuri@rawbw.com>
  *  Yuu Yashiki
  *  Yuzo FURUKAWA <hurukawa@kuee.kyoto-u.ac.jp>
  *  Zhihao Yuan <lichray@gmail.com>
  *  Zsolt Udvari <udvzsolt@gmail.com>
  *  ache
  *  alepulver
  *  anhot
  *  antonakis@gmail.com
  *  argv[0] (Iouri V. Ivliev)
  *  arved
  *  asami
  *  bf <bf@FreeBSD.org>
  *  bmc@WillsCreek.COM
  *  buganini@gmail.com
  *  cacho@mexicano.gdl.iteso.mx
  *  cartola (Carlos E. G. Carvalho)
  *  cartola@openit.com.br
  *  cfs@ing.puc.cl (original)
  *  chinsan
  *  chinsan <chinsan.tw@gmail.com>
  *  coryking
  *  cracauer@cons.org "Martin Cracauer"
  *  demon@FreeBSD.org
  *  dillon
  *  dom@happygiraffe.net
  *  erich@FreeBSD.org
  *  fenner
  *  fernan@iib.unsam.edu.ar
  *  frankch@waru.life.nthu.edu.tw
  *  gahr
  *  gary@hotlava.com
  *  gerard
  *  giffunip@asme.org
  *  glebius@FreeBSD.org
  *  gurkan@phys.ethz.ch
  *  hsu
  *  ijliao
  *  jamie
  *  jedgar@FreeBSD.org
  *  jeff@cetlink.net
  *  jjachuf@gmail.com
  *  jmz
  *  johalun
  *  johan
  *  johans
  *  kwm@FreeBSD.org
  *  lbartoletti <lbartoletti@FreeBSD.org>
  *  lesi@FreeBSD.org
  *  lichray@gmail.com
  *  luigi@FreeBSD.org
  *  maho@FreeBSD.org
  *  marcus@FreeBSD.org
  *  mb@imp.ch
  *  mi
  *  mm@FreeBSD.org
  *  nemysis <nemysis@gmx.ch>
  *  nik
  *  nork@FreeBSD.org
  *  olgeni@FreeBSD.org
  *  paulo@isr.uc.pt
  *  petef@FreeBSD.org
  *  pgs
  *  ports@FreeBSD.org
  *  proff@iq.org
  *  punkt.de Hosting Team <mops@punkt.de>
  *  rfarmer@predatorlabs.net
  *  roberto
  *  roland.jesse@gmx.net
  *  rpsfa@rit.edu
  *  saper@system.pl
  *  smace
  *  sobomax
  *  stas
  *  stb@lassitu.de
  *  theraven@FreeBSD.org
  *  thierry@pompo.net
  *  tobez
  *  trasz <trasz@pin.if.uz.zgora.pl>
  *  trevor
  *  vanilla
  *  will
  *  wolman@cs.washington.edu
  *  yukinopo@livedoor.com

With hat:	portmgr
2022-07-20 16:22:04 +02:00
Tijl Coosemans
6fd90bd660 graphics/cairo: prepare for autoconf 2.71
- configure.ac contains GTK_DOC_CHECK and the new autoreconf runs
  gtkdocize in that case so add a build dependency.
- fix post-patch commands that patch files which are regenerated by
  autoreconf.
- remove old patches while here.

PR:		263454
2022-05-27 11:11:04 +02:00
Trond Endrestøl
ad03eb1e0a graphics/cairo: define _WITH_CPU_SET_T to fix build on -CURRENT
Changes in 90fa9705d5cd hide functionality behind _WITH_CPU_SET_T,
and require consumers to opt-in.

Error:
	--- cairo-perf-micro.o ---
	cairo-perf-micro.c:418:5: error: unknown type name 'cpu_set_t'; did you mean 'cpusetid_t'?
	    cpu_set_t affinity;
	    ^~~~~~~~~
	    cpusetid_t
	/usr/include/sys/types.h:86:22: note: 'cpusetid_t' declared here
	typedef __cpusetid_t    cpusetid_t;
                        ^

PR:		259787
2021-11-23 11:42:45 +01:00
Evgeniy Khramtsov
d571716015 graphics/cairo: unbreak without X11 after dbca720cde
gl-device-release.c:33:8: error: unknown type name 'Window'
static Window
       ^
gl-device-release.c:34:21: error: unknown type name 'Display'
create_test_window (Display *display,
                    ^
gl-device-release.c:35:7: error: unknown type name 'GLXContext'; did you mean 'EGLContext'?
                    GLXContext glx_context,
                    ^~~~~~~~~~
                    EGLContext
/usr/local/include/EGL/egl.h:64:15: note: 'EGLContext' declared here
typedef void *EGLContext;
              ^
gl-device-release.c:36:7: error: unknown type name 'XVisualInfo'
                    XVisualInfo *visual_info)
                    ^
gl-oversized-surface.c:38:2: error: use of undeclared identifier 'GLX_RGBA'
        GLX_RGBA,
        ^
gl-oversized-surface.c:39:2: error: use of undeclared identifier 'GLX_RED_SIZE'
        GLX_RED_SIZE, 1,
        ^
gl-oversized-surface.c:40:2: error: use of undeclared identifier 'GLX_GREEN_SIZE'
        GLX_GREEN_SIZE, 1,
        ^
gl-oversized-surface.c:41:2: error: use of undeclared identifier 'GLX_BLUE_SIZE'
        GLX_BLUE_SIZE, 1,
        ^
gl-oversized-surface.c:42:2: error: use of undeclared identifier 'GLX_ALPHA_SIZE'
        GLX_ALPHA_SIZE, 1,
        ^
gl-surface-source.c:33:5: error: unknown type name 'Display'
    Display *dpy;
    ^
gl-surface-source.c:34:5: error: unknown type name 'GLXContext'; did you mean 'EGLContext'?
    GLXContext ctx;
    ^~~~~~~~~~
    EGLContext
/usr/local/include/EGL/egl.h:64:15: note: 'EGLContext' declared here
typedef void *EGLContext;
              ^
gl-surface-source.c:42:5: error: implicit declaration of function 'glXDestroyContext' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    glXDestroyContext (arg->dpy, arg->ctx);
    ^
gl-surface-source.c:42:5: note: did you mean 'eglDestroyContext'?
/usr/local/include/EGL/egl.h:156:31: note: 'eglDestroyContext' declared here
EGLAPI EGLBoolean EGLAPIENTRY eglDestroyContext (EGLDisplay dpy, EGLContext ctx);
                              ^
gl-surface-source.c:43:5: error: implicit declaration of function 'XCloseDisplay' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    XCloseDisplay (arg->dpy);
    ^
gl-device-release.c:38:5: error: use of undeclared identifier 'Colormap'
    Colormap colormap;
    ^
gl-device-release.c:39:5: error: use of undeclared identifier 'XSetWindowAttributes'
    XSetWindowAttributes window_attributes;
    ^
gl-device-release.c:40:5: error: use of undeclared identifier 'Window'
    Window window = None;
    ^
gl-device-release.c:42:5: error: use of undeclared identifier 'colormap'
    colormap = XCreateColormap (display,
    ^
gl-device-release.c:42:16: error: implicit declaration of function 'XCreateColormap' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    colormap = XCreateColormap (display,
               ^
gl-device-release.c:43:8: error: implicit declaration of function 'RootWindow' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                            RootWindow (display, visual_info->screen),
                            ^
gl-device-release.c:45:8: error: use of undeclared identifier 'AllocNone'
                            AllocNone);
                            ^
gl-oversized-surface.c:43:2: error: use of undeclared identifier 'GLX_DOUBLEBUFFER'
        GLX_DOUBLEBUFFER,
        ^
gl-oversized-surface.c:44:2: error: use of undeclared identifier 'None'
        None
        ^
gl-oversized-surface.c:47:5: error: use of undeclared identifier 'Display'
    Display *display;
    ^
gl-oversized-surface.c:47:14: error: use of undeclared identifier 'display'
    Display *display;
             ^
gl-oversized-surface.c:48:5: error: use of undeclared identifier 'XVisualInfo'
    XVisualInfo *visual_info;
    ^
gl-oversized-surface.c:48:18: error: use of undeclared identifier 'visual_info'
    XVisualInfo *visual_info;
                 ^
gl-oversized-surface.c:49:5: error: unknown type name 'GLXContext'; did you mean 'EGLContext'?
    GLXContext glx_context;
    ^~~~~~~~~~
    EGLContext
/usr/local/include/EGL/egl.h:64:15: note: 'EGLContext' declared here
typedef void *EGLContext;
              ^
gl-oversized-surface.c:54:5: error: use of undeclared identifier 'display'
    display = XOpenDisplay (NULL);
    ^
gl-surface-source.c:52:2: error: use of undeclared identifier 'GLX_RGBA'
        GLX_RGBA,
        ^
gl-surface-source.c:53:2: error: use of undeclared identifier 'GLX_RED_SIZE'
        GLX_RED_SIZE, 1,
        ^
gl-surface-source.c:54:2: error: use of undeclared identifier 'GLX_GREEN_SIZE'
        GLX_GREEN_SIZE, 1,
        ^
gl-surface-source.c:55:2: error: use of undeclared identifier 'GLX_BLUE_SIZE'
        GLX_BLUE_SIZE, 1,
        ^
gl-surface-source.c:56:2: error: use of undeclared identifier 'GLX_ALPHA_SIZE'
        GLX_ALPHA_SIZE, 1,
        ^
gl-surface-source.c:57:2: error: use of undeclared identifier 'GLX_DOUBLEBUFFER'
        GLX_DOUBLEBUFFER,
        ^
gl-surface-source.c:58:2: error: use of undeclared identifier 'None'
        None
        ^
gl-surface-source.c:60:5: error: use of undeclared identifier 'XVisualInfo'
    XVisualInfo *visinfo;
    ^
gl-surface-source.c:60:18: error: use of undeclared identifier 'visinfo'
    XVisualInfo *visinfo;
                 ^
gl-device-release.c:46:5: error: use of undeclared identifier 'window_attributes'
    window_attributes.colormap = colormap;
    ^
gl-device-release.c:46:34: error: use of undeclared identifier 'colormap'
    window_attributes.colormap = colormap;
                                 ^
gl-device-release.c:47:5: error: use of undeclared identifier 'window_attributes'
    window_attributes.border_pixel = 0;
    ^
gl-device-release.c:48:5: error: use of undeclared identifier 'window'
    window = XCreateWindow (display, RootWindow (display, visual_info->screen),
    ^
gl-device-release.c:48:14: error: implicit declaration of function 'XCreateWindow' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    window = XCreateWindow (display, RootWindow (display, visual_info->screen),
             ^
gl-oversized-surface.c:54:15: error: implicit declaration of function 'XOpenDisplay' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    display = XOpenDisplay (NULL);
              ^
gl-oversized-surface.c:55:9: error: use of undeclared identifier 'display'
    if (display == NULL)
        ^
gl-oversized-surface.c:58:5: error: use of undeclared identifier 'visual_info'
    visual_info = glXChooseVisual (display, DefaultScreen (display), rgba_attribs);
    ^
gl-oversized-surface.c:58:19: error: implicit declaration of function 'glXChooseVisual' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    visual_info = glXChooseVisual (display, DefaultScreen (display), rgba_attribs);
                  ^
gl-oversized-surface.c:58:45: error: implicit declaration of function 'DefaultScreen' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    visual_info = glXChooseVisual (display, DefaultScreen (display), rgba_attribs);
gl-surface-source.c:61:5: error: unknown type name 'GLXContext'; did you mean 'EGLContext'?
    GLXContext ctx;
    ^~~~~~~~~~
    EGLContext
/usr/local/include/EGL/egl.h:64:15: note: 'EGLContext' declared here
typedef void *EGLContext;
              ^
gl-surface-source.c:65:5: error: use of undeclared identifier 'Display'
    Display *dpy;
    ^
gl-surface-source.c:65:14: error: use of undeclared identifier 'dpy'
    Display *dpy;
             ^
gl-surface-source.c:67:5: error: use of undeclared identifier 'dpy'
    dpy = XOpenDisplay (NULL);
    ^
gl-surface-source.c:67:11: error: implicit declaration of function 'XOpenDisplay' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    dpy = XOpenDisplay (NULL);
          ^
gl-surface-source.c:68:9: error: use of undeclared identifier 'dpy'
    if (dpy == NULL)
        ^
gl-oversized-surface.c:58:60: error: use of undeclared identifier 'display'
    visual_info = glXChooseVisual (display, DefaultScreen (display), rgba_attribs);
                                                           ^

PR:		256180
Reported by:	shrdlu19@gmail.com
Approved by:	maintainer timeout (3 weeks)
2021-06-18 19:27:50 +00:00
Neel Chauhan
dbca720cde graphics/cario: Update to 1.17.4
Differential Revision: https://reviews.freebsd.org/D29793
2021-05-24 12:16:44 -07:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
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