Commit graph

29 commits

Author SHA1 Message Date
Jean-Sébastien Pédron
a9ac0eea1e Don't generate @dirrmentry directives for X11 fonts
Submitted by:	ak
Approved by:	ak
2014-12-19 23:47:26 +00:00
Jean-Sébastien Pédron
91293a3505 x11-servers/xorg-server: Update to 1.14
The X.Org server has been updated to 1.14. The changes it brings are described
in a post on the Graphics team blog:
http://blogs.freebsdish.org/graphics/2014/11/19/xserver-1-14-update-ready/

The most noticable change is the DEVD input device autodetection backend
which is enabled by default, replacing the HAL backend. The keyboard
layout configuration must be migrated from HAL's .fdi files to X.Org
files. The procedure is explained in the post mentionned above.

Several ports were removed with this update, mainly because they are not
compatible with the X.Org server anymore:
    o  nvidia-driver-71
    o  nvidia-driver-96
    o  xf86-input-egalax
    o  xf86-video-newport
    o  xf86-video-tga

PR:		155696, 181660, 183478 (partially fixed), 188640, 191331
Differential Revision:	https://reviews.freebsd.org/D1337
Submitted by:	ak (most of the work on the DEVD backend), dumbbell, kwm,
		zeising
Tested by:	Many people on freebsd-x11@ and IRC
Reviewed by:	kwm, portmgr (antoine)
Approved by:	kwm, portmgr (antoine)
2014-12-19 23:03:54 +00:00
Baptiste Daroussin
6f6b21be27 Remove extra %D 2014-09-03 06:03:24 +00:00
Baptiste Daroussin
7a9dee6dd3 Convert some @unexec to their proper equivalent in keyword 2014-09-03 05:47:19 +00:00
Baptiste Daroussin
e16e20ac67 Make pkg_install aware of @fc @fcfontsdir and @fontsdir
Simplify bsd.xorg.mk by only using those keywords
run pkg_install.awk later to allow to use keywords in most of the targets in Mk/*

Tested by:	mandree
2014-06-12 10:10:50 +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
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
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
92ea0d614b The FreeBSD x11 team proudly presents
an zeising, kwm, miwi, bapt, eadler production:

Xorg 7.7

Starring:
xserver 1.12.4 (new xorg only)
Mesa 8.0.4, including libGL, libGLU and dri (new xorg only)
libX11 1.5.0
libxcb 1.9
libdrm 2.4.42 (new xorg only)
freeglut 2.8.1
Also starring:
Updates to drivers and other libraries and utilities

Additional notes:
Change pkgconf to be a build dependency.
Add a new USE_XORG, xcb, to depend on libxcb and update all ports to use
this.
Trim makefile headers.
Take maintanership of x11/xcb-proto, ok'd by ashish.
If you are running WITH_NEW_XORG=, you need to rebuild all installed
drivers, see UPDATING for more information.
Various fixes to make ports compile.

PR:		ports/177942
Exp-run by:	miwi
Approved by:	portmgr (miwi)

Thanks to all who helped testing!
2013-05-25 14:37:02 +00:00
Niclas Zeising
8ed49557f8 Add a new xorg module, to use with USE_XORG: xorg-macros. This module
pulls in devel/xorg-macros.
Convert all ports that depends on xorg-macros to use this USE_XORG.
Split up the long XORG_MODULES= list in bsd.xorg.mk to have only one module
on each line.
Add xorg-macros dependency to xorg-server.

Reviewed by:	kwm, bapt
Obtained from:	xorg development repo (partly)
2013-03-11 19:14:28 +00:00
Koop Mast
fef19532ce Add workaround for when clang is used as a compiler, due to a tail calls
optimization bug in llvm when PIC mode is used. This bug was reproduced with
3.2 and 3.1 on i386. And prevents modules that where dlopen()'d by the
xorg-server, to dlopen() other shared modules by themself.

This is known to happen with the vmware and vesa drivers others might be
affected.

More details: http://llvm.org/bugs/show_bug.cgi?id=15086

Submitted by:	dim@
2013-02-19 16:24:16 +00:00
Martin Wilke
61d8acdb49 - Remove emacs mode, -*- mode: ...; -*- [1]
- Comments for BUILD_ and RUN_DEPENDS fail to mention alternate means to specify dependencie [2]
- Fix make reinstall [3]
- Trivial comment change for PORTDATA [4]

PR:		151954 [1]
		161314 [2]
		167085 [3]
		167465 [4]
Submitted by:	Anonymous <swell.k@gmail.com> [1]
		dougb@ and Chris Rees <utisoft@gmail.com> [2]
		Garrett Cooper <yanegomi@gmail.com> [3]
		"Bryan Drewery" <bryan@shatow.net> [4]
Tested via:	phw
2012-05-23 08:17:49 +00:00
Koop Mast
2c0e73a187 Fix building of atleast xf86-input-{mouse,keyboard} in tinderbox when
WITH_NEW_XORG is set.
While here fix the XSERVER_VER macro so it actualy works [1]

Reported by:	decke@ [1]
2012-05-02 07:22:42 +00:00
Martin Wilke
29e347e197 - Please welcome Xorg 7.5.2
The Xorg Team is pleased to announce the next round of Xorg updates.
       The team created a new flag called WITH_NEW_XORG that users can include
       in /etc/make.conf. This was created for the intel KMS work being done
       althouthough It probably works for other chips. Unfortunately, the intel
       KMS driver will only work on FreeBSD 9(RELENG|STABLE) or 10/HEAD users.
       Older version of FreeBSD will not be supported. Intel users will need
       to patch their source manually with Konstantin?s KMS kernel patch to get
       the newer chips to work. Please carefully read UPDATING entry.

Changes:

        - libdrm 2.4.31 (including KMS support)
        - mesa 7.11.2
        - xorg-server 1.10.6
        - a lot of new Graphic Drivers.

    I would like to thank:

         Koop Mast
         Eitan Adler
         Niclas Zeising
         and all helpers and testers from x11@.
2012-04-21 17:03:32 +00:00
Koop Mast
7c2cacfb17 Replace a custom ARCH check in Mk/bsd.xorg.mk for xf86-video-sunffb with
ONLY_FOR_ARCHS=sparc64 in the port itself.
axe md5 in distinfo.

PR:		ports/154393
Submitted by:	Eitan Adler <lists@eitanadler.com>
Approved by:	x11 (miwi)
2011-03-01 10:11:42 +00:00
Martin Wilke
d594ccc94f - Please welcome Xorg 7.5.1
The X-Server has been patched to the latest 1.7.X series, drivers
and fonts have been updated to the latest versions. This update includes
some components from Xorg 7.6 with a lot of improvements, and it seems
that the performance is much better than the old version. Also this
Update fix build issues with clang and binutils 2.17.50 in current,
remove 6.X gruft and de-author pkg-descr.

I would like to thank:

	Beat Gaetzi
	Dima Panov
	Koop Mast
	Eitan Adler
	and all Testers.

PR:		ports/147646
		ports/148035
		ports/148744
		ports/150223
		ports/152889
		ports/154457
2011-02-25 16:52:50 +00:00
Martin Wilke
f4936121f9 - Update to Xorg 7.5
The Intel drivers was patched to work with
the new server. The drivers for Vesa, NV,NVIDIA and
ATI have been tested thoroughfully and seem to work fine.
A complete changelog of Xorg 7.5 can you read here:

http://www.x.org/releases/X11R7.5/

A note to FreeBSD 6.X users: We strongly recommend you
to update your system to 7.x or above.

For updating try

portupgrade -af \*

or:

portmaster -af

Please report any problems and issus to x11 (at) FreeBSD.org.

Thanks to beat@, rnoland@, fluffy@, stas@ and all testers for their help
and Feeback.

Tested by:	Community and 2x exp-runs
2010-05-01 11:41:07 +00:00
Robert Noland
c9df379227 It looks like most all drivers are starting to require libXi, not just
video drivers.

Reported by:	QAT (via xf86-input-synaptics)
2009-04-25 19:49:16 +00:00
Robert Noland
fd559155d1 Update Xorg server to 1.6.0
o Update randrproto, libXrandr and xrandr to 1.3.0
	o Update xf86-video-intel to 2.6.3
	o Update other less common drivers as needed
	o Mark a bunch of un-maintained input drivers ignored
	o Update the various slave X server ports as well
2009-04-04 04:04:01 +00:00
Florent Thoumie
340b57f8be - Update X.org ports to 7.4+ (few ports are more recent than the katamari).
- Bump PORTREVISION for all ports depending on libglut since the shlib
version number went from 4 to 3.
- Bump PORTREVISION for all ports depending on libXaw as libXaw.so.8 isn't
installed anymore.
- Couple of ports fixes (mostly missing xorg components added to USE_XORG).
2009-01-23 16:28:36 +00:00
Florent Thoumie
af38e1c31b Whitespace fix. 2008-10-23 11:21:30 +00:00
Martin Wilke
3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00
Florent Thoumie
5d486865e5 - Mark xtrans as a BUILD_DEPENDS only (unless specified otherwise with :both)
- Bump PORTREVISION on ports having xtrans in USE_XORG.
- Add some missing dependencies in various xorg libraries.
2008-03-13 10:33:56 +00:00
Pav Lucistnik
821fed09a7 - Automatically append -fno-strict-aliasing to CFLAGS when -O2 or higher
optimizations are enabled.

PR:		ports/121363
Submitted by:	obrien

- Change USE_XPM variable to use USE_XORG framework, and lose implied USE_XLIB

PR:		ports/113799
Submitted by:	des (based on)
Patch by:	pav

- Teach USE_LDCONFIG to do the right thing when used with USE_LINUX_PREFIX

PR:		ports/118212
Original patch:	vd
Patch by:	pav

- Allow tab as well as space in param.h for OSVERSION determination

PR:		ports/117507
Submitted by:	erwin

- Reverse the condition so EXTRACT_PRESERVE_OWNERSHIP now work as advertised

PR:		ports/117916
Submitted by:	tobez

- Assorted comment fixes

PR:		ports/118054
Submitted by:	linimon

- Style nit ($@ -> ${.TARGET})

PR:		ports/120276
Submitted by:	obrien
2008-03-11 23:45:04 +00:00
Pav Lucistnik
7e427bdbb7 - Fix issues with actual-package-depends, most notably fix bad list when a
third party package with invalid or missing pkgorigin is installed; this
  resulted in silently discarding dependency records for some people

PR:		ports/115010
Submitted by:	netchild

- Replace some calls to basename and dirname with make logic

PR:		ports/115994
Submitted by:	netchild

- Fix bsd.xorg.mk to work when USE_XORG is used below
  .include <bsd.port.pre.mk>; should allow conditional X.Org component
  dependencies with OPTIONS, etc

Submitted by:	flz

- When installing as user, don't install any libdata/ldconfig entries

Submitted by:	flz
PR:		ports/106613 (in audit trail)

- Introduce INSTALL_KLD; it's same as INSTALL_SCRIPT but the name is more
  obvious

PR:		ports/116200
Submitted by:	edwin
2007-10-03 22:24:59 +00:00
Florent Thoumie
62df320cc3 - Update X.org ports to 7.3.
- Mark XFree86-4 as DEPRECATED with EXPIRATION_DATE set to 2007-12-25.
I hope that nobody will be bored enough on Christmas to remove them on
that day.

Tested by:	vehemens, Rene Ladan, Beech Rintoul, sarek on x11@
2007-09-13 19:45:08 +00:00
Rong-En Fan
f935a609c5 - Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
supports them.  This is determined by running ``configure --help'' in
  do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
  which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
  Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
  PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
  subdirectory detection.

PR:		ports/111470
Approved by:	portmgr
Discussed with:	stas (Mk/*), gerald (info related stuffs)
Tested by:	pointyhat exp run
2007-07-23 09:36:51 +00:00
Florent Thoumie
d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00