1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
Commit Graph

665 Commits

Author SHA1 Message Date
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
Adam Weinberger
08a006d08a Rename all patches that contain '::' as a path separator, and use
'__' instead.
2014-07-29 17:12:47 +00:00
Adam Weinberger
e50d4e40ac Remove NOPORTDOCS. 2014-07-04 23:20:13 +00:00
Baptiste Daroussin
dddc7102e2 Use MAKE_CMD 2014-06-25 05:39:37 +00:00
Baptiste Daroussin
a33191366c Convert GMAKE to MAKE_CMD
Please note that lots of invocation of MAKE_CMD here are wrong as they do not
properly respect MAKE_ENV and friends

With hat:	portmgr
2014-06-25 05:35:31 +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
f4fc5055dc Revert accident commit in -r351411. This should stop the option dialog
from spamming the user.

Submitted by:	marino@
2014-05-15 21:26:23 +00:00
Pawel Pekala
a6056cb104 Restore PORTREVISION mistakenly removed in last commit
PR:		ports/188276
Submitted by:	Matthew D.Fuller <fullermd@over-yonder.net>
Pointy hat to:	me
2014-05-01 10:44:16 +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
Baptiste Daroussin
53b48fd609 Support stage 2014-03-02 01:58:17 +00:00
Steve Wills
05dc3f8dfe X11rdp is an X server for xrdp.
WWW: http://www.xrdp.org/

PR:		ports/185793
Submitted by:	Koichiro IWAO <meta+ports@vmeta.jp>
2014-02-11 21:56:02 +00:00
Martin Wilke
500665890f - Stage support 2014-02-03 13:38:57 +00:00
Baptiste Daroussin
f7ee036117 Fix packaging on FreeBSD 11 when WITH_NEW_XORG is defined by bsd.port.mk 2014-01-25 22:05:25 +00:00
Baptiste Daroussin
e04b632220 Fix properties on pkg-plist 2014-01-21 23:40:21 +00:00
Koop Mast
171e2bd11b Remove extra bsd.port.options.mk, it already defined in the master port.
PR:		ports/184952
Submitted by:	marino@
2013-12-31 13:22:14 +00:00
Koop Mast
f396dfff5b Remove extra bsd.port.options.mk, it already defined in the master port.
Fix typo in vfbserver port.

Obtained from:	xorg-dev repo
2013-12-31 12:58:50 +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
Pawel Pekala
491ba8c3a6 - Support CC/CFLAGS properly
- Update MASTER_SITES
- Port supports staging

PR:		ports/184875
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2013-12-20 18:41:56 +00:00
Niclas Zeising
bac69bee7d Fix whitespace, no functional changes. 2013-12-16 13:52:48 +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
Baptiste Daroussin
32856e3cbb Convert to USES=imake
Remove useless deps on gmake
Trim header
2013-06-28 22:58:59 +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
Baptiste Daroussin
c9ed11d1d1 2013-02-27 www/igal: No more upstream, no more public distfiles, consider using www/llgal
2013-02-27 finance/tinyerp-server: No more upstream, no more public distfiles, consider using finance/openerp-server
2013-02-27 ports-mgmt/portcheck: No more upstream, no more public distfiles
2013-02-28 security/sslproxy: Abandoned upstream
2013-02-28 x11-themes/e17-theme-darkness: No more public distfiles
2013-02-28 x11-themes/e17-theme-cthulhain: Dead upstream since 2008
2013-02-28 x11-servers/driglide: 3dfx is dead, fails to compile on recent versions of freebsd
2013-02-28 mail/gmime: Superceded with version 2.4
2013-02-28 archivers/bsdar: part of the base system
2013-03-03 23:45:02 +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
Eitan Adler
54162dd7a8 3dfx has been defunct for a long time
Feature safe:	yes
2012-12-08 22:51:07 +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
Baptiste Daroussin
abb421178b Add new OPTIONS_EXCLUSE_${ARCH} to be able to exclude an option on the given arch
Fix xorg-server on sparc64 by excluing the HAL option on sparc64 has it used to
be before convertion to new options framework [1]

Reported by:	marius@
Tested by:	marius@
Approved by:	kwm [1]
2012-07-13 10:23:57 +00:00
Baptiste Daroussin
43c93c7817 Convert to new options framework
while here remove the NO_SUID_XSERVER which was redundant with the options and
fix a bug[1] (defining an option after bsd.port.pre.mk) which was a workaround of
limitations of the old framework

Reported by:	ak@ [1]
Reviewed by:	kwm@, miwi@
Approved by:	kwm@, miwi@
2012-06-06 12:56:30 +00:00