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
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)
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)
- 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
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
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)
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
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.
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
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
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
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
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)
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.
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)
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)