1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
Commit Graph

154 Commits

Author SHA1 Message Date
Mathieu Arnold
5b55a8a53e Fix usage of WITH_OPENSSL_BASE, WITH_OPENSSL_PORT and OPENSSL_PORT.
WITH_OPENSSL_* can't be set after bsd.port.pre.mk.
Fold all other usage into using SSL_DEFAULT == foo

PR:		210149
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	The FreeBSD Foundation, Absolight
Differential Revision:	https://reviews.freebsd.org/D6577
2016-06-16 13:23:13 +00:00
Mathieu Arnold
72ea7e696b Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:33:55 +00:00
Koop Mast
52f474c7cb Update xorg-server to 1.17.4. 2015-10-29 23:03:33 +00:00
Koop Mast
76da779716 Unbreak the build of xorg-server 1.17.2 on arm. Apparently the 1.17 update
broke this.

Submitted by:	sbruno@
2015-10-21 21:14:39 +00:00
Koop Mast
4c670c9a31 Add missing dependancies so xephyr can be build again. [1]
Reported by:	Piotr Kubaj <pkubaj@riseup.net>
2015-10-13 11:31:40 +00:00
Antoine Brodin
3ad2ea6e69 Unbreak INDEX 2015-10-13 09:26:46 +00:00
Koop Mast
1742c4fbee Xorg-server update to 1.17.2 with related driver updates and bumps.
Update fontproto to 2.1.3.
Update libXfont to 1.5.1.
Update xf86-input-keyboard 1.8.1.
Update xf86-input-vmmouse to 13.1.0.
Update xf86-input-void to 1.4.1.
Update xf86-video-chips to 1.2.6.
Update xf86-video-cirrus to 1.5.3.
Update xf86-video-mach64 to 6.9.5.
Update xf86-video-neomagic to 1.2.9.
Update xf86-video-r128 to 6.10.0.
Update xf86-video-s3virge to 1.10.7.
Update xf86-video-savage to 2.3.8.
Update xf86-video-siliconmotion to 1.7.8.
Update xf86-video-sis to 0.10.8.
Update xf86-video-trident to 1.3.7.
Update xf86-video-vesa to 2.3.4.

* All other xf86-* drivers where bump and/or patched to allow them to
  compile and work with the new xorg-server.
* The ATI-ums driver is removed because the API it depends on was
  removed from the xorg-server.
* Add patch to sunffb to make the lack of XAA non-fatal
  (not build/run tested due to lack of hardware).
* Remove the extra patches in xorg-server for arm. The code seems to
  support it now natively. Please file a bug if this is not the case.
* Update the xorg-server support in virtualbox-ose-additions for vboxmouse. [1]

Submitted by:	jkim@ [1]
Obtained from:	Graphics devel repo
2015-10-13 07:45:08 +00:00
Dimitry Andric
6edde2ba50 Disable use of SSE instructions in Xorg's xf86SlowBcopy() function.
When such instructions are used to copy data from/to mapped video
memory, some hypervisors (e.g. KVM, Microsoft Hyper-V) can generate
SIGILL or SIGBUS exceptions, causing Xorg to crash.

Reported by:	nogcjx@fastmail.fm
Approved by:	x11 (bapt)
PR:		202643
MFH:		2015Q3
2015-09-05 11:57:51 +00:00
Jung-uk Kim
6fce017bdf Automatically load mouse integration support for VirtualBox guest. 2015-05-19 20:04:12 +00:00
Mathieu Arnold
60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00
Baptiste Daroussin
66d439f626 Disable fontpath.d support as it overwrites the default fontrootdir making non
fontconfig application like xcalc not to find their fonts

Reported by:	Jakub Lach <jakub_lach@mailplus.pl>, Stefan Thurner <stthur@gmail.com>
2015-03-22 19:49:09 +00:00
Baptiste Daroussin
a5da770e67 Make fonts repecting XDG
Xorg is now looking in ${LOCALBASE}/share/fonts by default
Xorg now accepts symlinks in etc/X11/fontpath.d (as decribed in Xserver(1))
Large cleanup on lots of font ports
All fonts are now properly dynamically generating fonts.dir and fonts.scale
instead of sometime overwriting existing ones)
All fonts are generating fontconfig's cache
Improve consistency in fonts ports
2015-03-21 23:05:19 +00:00
Koop Mast
e8e22ed74d Fix CVE-2015-0255.
Information leak in the XkbSetGeometry request of X servers.

Submitted by:	http://lists.freedesktop.org/archives/xorg/2015-February/057158.html
Obtained from:	upstream
MFH:		2015Q1
2015-02-12 19:58:41 +00:00
Alex Kozlov
b7088112c0 - Fix AutoAddDevices option when config/devd backend is used
Reported by:	Jonathan Chen <jonc@chen.org.nz>, lightside@gmx.com, many others
Approved by:	x11 (dumbbell, kwm)
2014-12-23 20:40:58 +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
Koop Mast
1ef33079b3 Fix multiple xserver security advisories in the 1.12.4 xserver.
The patches where not ported to 1.7.7 so mark it forbidden. This version
is not default anymore and will be removed in the 1.14 update that currently
being tested.

Obtained from:	xserver upstream
MFH:		2014Q4
Security:	27b9b2f0-8081-11e4-b4ca-bcaec565249c
2014-12-10 21:35:13 +00:00
Sean Bruno
d7a36e69db Add some bits to the armv6 build to get a successful build/run on the RPi.
Not bumping the PORTREVISION as this is only applied to ARM builds.

Phabric:        https://reviews.freebsd.org/D756
PR:             181318
Submitted by:   mikael.urankar@gmail.com
Reviewed by:    kwm@
Approved by:    bdrewery (mentor)
2014-09-15 23:27:13 +00:00
Gerald Pfeifer
0abc164359 Fix the PORTREVISION bump for the lang/gcc update that went badly for
ports (x11-drivers plus graphics/libGL plus x11-servers/xorg-server)
that handle PORTREVISION in a creative manner hardly lending itself
to any form of automated bumping.

PR:		192025
Reported by:	Scott Allendorf <scott-allendorf@uiowa.edu>
2014-09-12 00:01:23 +00:00
Gerald Pfeifer
15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00
Baptiste Daroussin
ac725ce224 Properly reset ownership
remove now useless @exec
2014-09-03 06:16:29 +00:00
Nathan Whitehorn
8ac3b545c9 Bump XORG_REVISION to reflect changed behavior on PowerPC.
Approved by:	kwm
2014-07-29 23:07:27 +00:00
Nathan Whitehorn
c3246c7f70 mmap() /dev/mem instead of /dev/console on PowerPC. Mostly this was already
being done in libpciaccess, so this is functionally a no-op in most cases
and unifies behavior. Besides aesthetic appeal, the ability to directly mmap()
all of physical memory through /dev/console on PowerPC is about to go away
on -CURRENT, which means everything should converge on /dev/mem.

Approved by:	kwm
2014-07-29 23:00:10 +00:00
Koop Mast
eeabcd7024 x11-drivers/xf86-video-ati:
On other ARCH then i386/amd64 keep the old version. Since 7.x is KMS which
 is not available on the other ARCHS.

x11-drivers/xf86-video-nv:
 Fix nv driver on ppc.

x11-servers/xorg-server:
 In the powerpc case of NEW_XORG don't overwrite EXTRA_PATCHES.
 Patch update:
   < nathanw> it works around the change in behavior in libpciaccess that
                the PR mentions
   < nathanw> by porting the relevant code from the Linux backend

PR:		ports/188278
Submitted by:	jmmv@, nwhitehorn@
2014-05-29 19:32:08 +00:00
Koop Mast
62378ea793 Fix BadImplemented errors that happen with gdk 3.12.x and GNOME 3. [1]
Use INSTALL_TARGET=install-strip for stripping.
Allow user to package xorg-server again.

Obtained from:	debian [1]
2014-04-24 11:43:11 +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
Boris Samorodov
6e0bf304bd Fix PLIST_SUB (add a space after @comment) for non-default option.
Reported and tested by:	Andrea Venturoli <ml@netfence.it>
Approved by:		x11 (kwm)
2013-12-30 11:41:18 +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
Koop Mast
61f7258c32 Fix typo.
Submitted by:	Herbert J. Skuhra <h.skuhra@gmail.com>
2013-10-24 19:50:23 +00:00
Koop Mast
785722b1cf Document xorg-server use after free CVE.
Reviewed by:	zeising@
2013-10-24 13:05:10 +00:00
Niclas Zeising
6456a79045 Fix patches. Remove two unneeded ones, and add new patches to fix sparc64.
This was missed in the mesa update.

This syncs x11-server/xorg-server with the xorg development repo

Bump portrevision again in case.
Apologies for the churn!

Obtained from:	xorg development repo
2013-09-29 23:46:47 +00:00
Niclas Zeising
23f2e96944 Fix perl dependency.
Submitted by: Barbara Guida <bar@FreeBSD.org>
2013-09-29 23:32:01 +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
eea5b447da Add NO_STAGE all over the place in preparation for the staging support (cat: x11-servers) 2013-09-20 23:52:24 +00:00
Niclas Zeising
c17dedd527 Plug two more use before initialized with the new x server.
Noted by:	clang
Obtained from:	xorg development repo
2013-08-14 11:58:48 +00:00
Andrej Zverev
2e118d08ae - Convert to new perl framework
Approved by:	bapt@ (x11@)
2013-08-04 15:01:34 +00:00
Niclas Zeising
927cfacb14 Enable AIGLX by default on xorg-server 1.12. (WITH_NEW_XORG)
Bump portrevision for 1.12

Obtained from:	xorg development repo
2013-06-27 18:38:27 +00:00
Niclas Zeising
c20d929bcc Readd the dix_events.c patch that was removed with the xorg update.
There have been some reports of problems with pointer focus and other
related issues in Mwm and open-motif without this patch.
Bump portrevision for old xorg.

PR:		ports/179397
Submitted by:	William Bulley <web@umich.edu>
2013-06-26 20:00:39 +00:00
Jung-uk Kim
95f49b08d0 Add a patch to fix upstream bug 18451 for 1.7.7.
https://bugs.freedesktop.org/show_bug.cgi?id=18451
http://cgit.freedesktop.org/xorg/xserver/patch/?id=6dae7f3

Analyzed by:	dim
PR:		ports/179625
2013-06-17 21:51:48 +00:00
Koop Mast
ddb2e5e6a1 Don't install the README.compiled file, it got installed in a directory
not owned by xorg-server. This will fix poudriere -t

Submitted by:	miwi
2013-06-16 20:50:52 +00:00
Niclas Zeising
5f84f960af Fix patching on powerpc with new xorg.
PR:		ports/179229
Submitted by:	jhibbits (PR), zeising (patch)
2013-06-14 14:39:18 +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
Niclas Zeising
83d33b71ca Fix the patch used to make xorg-server build with clang on i386.
Noticed by:	Barbara Guida <barbara.freebsd@gmail.com>
PR:		ports/175776 [1]
Submitted by:	Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp> [1]
Approved by:	kwm, miwi (mentors, implicit)
2013-02-02 21:45:42 +00:00
Niclas Zeising
b1d186d5f3 Fix build on i386 when building with clang.
PR:		ports/174286 (inspired by)
Submitted by:	deeptech71 <deeptech71@gmail.com>
Tested by:	crees, kwm
Approved by:	kwm, miwi (mentors, implicit)
Obtained from:	xorg-dev repo
2013-01-19 12:35:40 +00:00
Niclas Zeising
fa8e223204 Add a patch to fix a couple of cases of use before initialized in the new
xorg-server.  Without this patch, xorg-server compiled with clang segfaults.
Bump portrevision since clang is default compiler on current.

Reviewed by:	kwm
Approved by:	kwm, miwi (mentors, implicit)
2012-12-14 11:02:48 +00:00
Alberto Villa
bf0a5354d3 - Add missing "defined".
Approved by:	eadler, kwm (x11@)
Feature safe:	yes
2012-11-15 12:47:11 +00:00
Koop Mast
04a589dee4 Solve libGL.so and libglx.so conflict situation between libGL, xorg-server and
the nvidia-driver. Install the libraries in port specific directories.
Use pkg-install and pkg-deinstall scripts to update the hardlinks to the
default locations of these files.

While here clean up some @dirrmtry lines in xorg-server plist for directories
that aren.t created by xorg-server.

Motivator:	pkgng
Inspiration:	irc, freebsd-x11@ mailinglist discussion (sorry can't find it
		anymore to give credit the people)
Reviewed by:	danfe@ (for nvidia parts), bapt@
Approved by:	danfe@ (for nvidia parts)
With hat:	x11@
2012-08-31 15:44:41 +00:00
Koop Mast
2c361035bb Replace some spaces with tabs, and remove double defined variables in PLIST_SUB. 2012-08-29 11:30:31 +00:00
Niclas Zeising
7761aefad2 Fix the build of xorg related ports when the base system is compiled with
clang as system compiler and cpp is clang cpp (as opposed to GNU cpp).
This is done by removing the configure test for cpp completely.  Using
clang cpp will make some manual pages as well as some scripts get slightly
wierd whitespace formatting.  However, it does not affect the function of
the scripts or the instructions in the manual pages.

PR:             ports/166373
Submitted by:   Jakub Lach <jakub_lach@mailplus.pl> (PR)
Patch by:       me (with ideas from PR and mailing list)
Tested by:      Jakub Lach <jakub_lach@mailplus.pl>, me
Approved by:    kwm (mentor)
Obtained from:  xorg staging area
2012-07-29 18:26:00 +00:00