Commit graph

111 commits

Author SHA1 Message Date
Gerald Pfeifer
89f8b05214 Bump PORTREVISIONS for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

In particular that is ports with USE_GCC=yes, USE_GCC=any, or one of
gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang,
c++11-lang, c++0x, c11 requested via USES=compiler.
2016-11-20 09:38:08 +00:00
Jan Beich
4365088e18 audio/pulseaudio: simplify hw.snd.default_unit search
PR:		211684
Submitted by:	lightside <lightside@gmx.com>
MFH:		2016Q4 (r425809 bandwagon)
2016-11-09 22:06:42 +00:00
Jan Beich
eb137b5117 audio/pulseaudio: respect hw.snd.default_unit
PR:		211684
Submitted by:	lightside <lightside@gmx.com>
Reviewed by:	Tobias Kortkamp <t@tobik.me>
Approved by:	maintainer timeout (3 months)
MFH:		2016Q4 (notorious for affecting www/firefox)
2016-11-09 21:54:29 +00:00
Jan Beich
4d8e904ca9 audio/pulseaudio: update to 9.0
- Add xcb to USE_XORG, required by bin/pacat
- Add iconv to USES, required by bin/pacat
- Add ssl to USES and correct OPENSSL_CFLAGS and OPENSSL_LIBS
- Replace --disable-systemd with correct --disable-systemd-* configure arguments
- Move ALSA and JACK to AUDIO options group
- Move BASH and ZSH to COMPLETIONS options group
- Add DATABASE single option to be able to select supported database
- Add SIMPLE (database support) to default options
- Silence mkdir
- Replace files/patch-src_daemon_default.pa.in with sed patch
- Adapt pkg-plist

Changes:	https://www.freedesktop.org/wiki/Software/PulseAudio/Notes/9.0/
ABI:		https://abi-laboratory.pro/tracker/timeline/pulseaudio/
PR:		210548
Submitted by:	lightside@gmx.com
Approved by:	maintainer timeout (4 months)
2016-10-25 12:53:23 +00:00
Mathieu Arnold
eabbfd75e3 ${RM} already has -f.
PR:		213570
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2016-10-21 12:51:40 +00:00
Mathieu Arnold
9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00
Mathieu Arnold
7f4572eae4 Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 13:29:15 +00:00
Koop Mast
b93a80c992 The FreeBSD GNOME team proudly presents GNOME 3.18 for FreeBSD.
The offical GNOME 3.18 release notes can be found at
https://help.gnome.org/misc/release-notes/3.18/

This update doesn't contain the glib/gtk c++ bindings which will
be done in a another update due to the requirement on c++11 and the
amount of fallout this probably will give.

GDM is still at version 3.16 due to some issues.

Bump mate-themes to use the gtk 3.18 version of the themes.

Thanks to Antoine Brodin for running the exp-runs.

This release was made possible by the following people:
  Gustau Perez
  Ting-Wei_Lan

PR:	207006
2016-02-14 18:57:53 +00:00
Dmitry Marakasov
67971bd0fb Improve shebangfix framework
- Support multiple values in *_OLD_CMD, i.e. we can now fix both "/usr/bin/python" and "/usr/bin/env python" at the same time
- Default *_OLD_CMD values are now always appended, so you don't need to specify them in individual ports
- Add lua support (depends on USES=lua)
- Add more default values, such as "/usr/bin/env foo" for python, perl, bash, ruby and lua
- Shebangfix now matches whole words, e.g. we will no longer (erroneously) replace "/usr/bin/perl5.005" with "${perl_CMD}5.005" (but "/usr/bin/perl -tt" is still (correctly) replaced with "${perl_CMD} -tt")

Note that *_OLD_CMD items containing spaces must now be quoted (e.g. perl_OLD_CMD=/bin/perl /usr/bin/perl "/usr/bin/env perl")

Update shebangfix usage according to new rules in many ports:

- Remove *_OLD_CMD for patterns now replaced by default
- Quote custom *_OLD_CMD which contain spaces

Fix shebangfix usage in many ports (irrelevant to infrastructure change):

- Remove redundant SHEBANG_LANG (no need to duplicate default langs)
- Remove redundant *_CMD (such as python_CMD=${LOCALBASE}/bin/python${PYTHON_VER} when USES=python is present)
- Never use *_OLD_CMD in REINPLACE_CMD matchers, these should always look for exact string

Approved by:	portmgr (bapt)
Differential Revision:	D3756
2015-10-19 14:50:52 +00:00
Mathieu Arnold
bb271f0bf7 Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3412?
2015-08-19 13:29:59 +00:00
Roman Bogorodskiy
95c270496f Disable xen option by adding '--disable-xen' to CONFIGURE_ARGS. Xen extension
is currently broken on FreeBSD and pusleaudio tries to build it when it finds
Xen libraries on the host, so build fails in this case.

PR:		202170
Approved by:	kwm
2015-08-08 08:42:11 +00:00
Koop Mast
9396414c12 Replace LOCALBASE with PREFIX, since this is where we install it.
Submitted by:	jbeich@
2015-06-14 02:54:49 +00:00
Koop Mast
f2b1b51d41 * Fix segfault on HEAD part 2.
* Make sure that linux/kFreeBSD code isn't run on FreeBSD itself.
  * Pass the correct value back via the argument of the calling function. [1]
  * Fix white space to match the rest of the file, so upstream can't complain
    about that.

* Drop freedesktop-sound-theme it isn't used by default. Add line to
  pkg-message to mention that it needs to be installed if enabled in
  default.pa.
* Don't use ETCDIR in pkg-message.in, it gets expanded to
  ${LOCALBASE}/etc/pulseaudio which isn't correct since pulseaudio uses
  etc/pulse/

[1] I have no idea what I did to break this in the first version, while
  it worked at the time localy.
2015-06-13 21:32:14 +00:00
Koop Mast
59ac13dba5 Fix a segfault by using some FreeBSD sysctl to get the info needed.
This can happen when /proc isn't mounted.

While here, teach where the dbus machine-id file lives.
2015-05-31 16:12:17 +00:00
Koop Mast
4afc0c328d The _DISABLE used by the zsh option doesn't exist, change it to _OFF [1]
Fix plist when the ALSA option is enabled. [2]

Submitted by:	jbeich@ [1], Barbara Guida <barbara.freebsd@gmail.com> [2]
2015-04-16 07:46:16 +00:00
Koop Mast
0a551e4373 Update pulseaudio to 6.0 [1].
* Correct some paths in the default config file (default.pa). [1]
* Add run depend freedesktop-sound-theme since pulse tries to run these files.
* Add a small patch to allow 24bit audio formats, it not clear why this is
  disabled by default. [2]
* Add pkg-message with instructions how to set input/output channel.
* The kde start script was merged into the normal x11 start script.

PR:		198567 [1], [2]
Submitted by:	olivierd@ [1], romain@ [2]
2015-04-15 21:41:25 +00:00
Dmitry Marakasov
7c77d16417 - Add LICENSE
- Add CPE info

Approved by:	kwm
2015-04-13 18:17:01 +00:00
John Marino
112f62e6b9 audio category: Remove $PTHREAD_LIBS
xmcd didn't pass check-plist (pre-existing), fixed.

approved by:	PTHREAD blanket
2015-03-25 21:37:39 +00:00
Antoine Brodin
bd63b368ac Fix some _DEPENDS 2015-01-24 19:27:27 +00:00
Tijl Coosemans
60945f0277 Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla in
the 32 ports that still use it.  Bump PORTREVISION on their dependent
ports except the ones that depend on these:

audio/libogg
audio/libvorbis
devel/pcre
ftp/curl
graphics/jpeg
graphics/libart_lgpl
graphics/tiff
textproc/expat2
textproc/libxslt

In these cases the same trick as in the recent gettext update is used.
The ports install a symlink with the old library version.  When enough
of their dependent ports have had regular updates the remaining ones can
get a PORTREVISION bump and the links can be removed.

Also remove the devel/pcre dependency from USE_GNOME=glib20.  It causes
over 2200 packages to depend on devel/pcre while less than 200 actually
link with it.  The glib20 package still depends on devel/pcre so this
should not make a difference for ports with USE_GNOME=glib20.  Also,
libdata/pkgconfig/glib-2.0.pc lists pcre as a private library so
USE_GNOME=glib20 should not propagate it.

PR:		195724
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-12-08 16:48:38 +00:00
Koop Mast
af3811313c The FreeBSD GNOME team proudly presents GNOME 3.14 and Cinnamon 2.2.
Gnome 3.14.1 and Cinnamon 2.2.16 are supported on FreeBSD 9.3-RELEASE and up.

This commit removes the old GNOME 2 desktop, bindings and some ports that
can't be compiled. A few ports where updated to more recent versions to
allow them to compile with this update.

Apart from updating ports to newer versions

GDM is more integrated with gnome-shell now, and handles several things for
the GNOME desktop such as screen locking. If you want to use GNOME 3 via
startx, you will have to add your own lock screen/screensaver. For example xscreensaver
can be used for sessions started without GDM.

Shell Extensions can be installed via https://extensions.gnome.org/ , we have
ported a few that can't be installed via this way.
The old gnome-utils and gnome-games ports where split up into single ports
and where converted to meta-ports.
gnome-terminal requires a UTF-8 locale to run, gdm handles this already, but
if you use startx you need to do this yourself.

Upgrade instructions:

Delete the old and conflicting packages:
# pkg delete clutter gnome-utils gnome-panel gnome-keyring vala-vapigen \
    guile gcalctool gnome-media libgnomekbd
# pkg delete gnome-screensaver gnome-applets bug-buddy evolution-exchange \
    evolution-webcal gnome-system-tools seahorse-plugins gnome-control-center

For package users the following lines will be enough:
# pkg upgrade
# pkg install gnome3

For ports users should do the following:
# portmaster -a
# portmaster x11/gnome3

We are currently aware of two issues. The first issue is a bug in the
file monitoring code in the glib20 port. This bug causes glib programs
to crash when files in a monitored directory are added or removed.
Upstream is aware of the problem, but since the problem is quite complex
there is no solution yet. This problem isn't restricted to BSD.

The second issue is that on certain video cards totem will display a
purple/pink overlay on the video. It not clear yet where the issues
comes from.

Major thanks goes to Gustau Perez for being a driving force behind getting
GNOME 3 up to speed again. Also thanks to Antoine Brodin for running the exp-runs.

This update was also made possible by:
	Joe Maloney
	Kris Moore
	Beeblebrox
	Ryan Lortie
	Antoine Jacoutot
	and everyone I missed
2014-11-19 11:49:04 +00:00
Tijl Coosemans
15c4a5ecf3 Replace USE_AUTOTOOLS=libltdl with an ordinary LIB_DEPENDS in all ports.
There are only 60 such ports so there doesn't need to be a separate
keyword or USES for this.

Approved by:	portmgr (bapt)
2014-09-17 07:38:15 +00:00
Tijl Coosemans
ed087d4a05 Convert to USES=libtool and add INSTALL_TARGET=install-strip
Obtained from:	gnome-dev
2014-09-01 21:24:52 +00:00
Baptiste Daroussin
bb2209eea3 USES=execinfo 2014-08-04 23:04:15 +00:00
Tijl Coosemans
9f8b4bcde3 Support LIBS like LDFLAGS.
- Add LIBS="${LIBS}" to MAKE_ENV and CONFIGURE_ENV.
- Add an option helper for LIBS.
- Adjust all ports that already use LIBS.  Also remove references to
  PTHREAD_CFLAGS and PTHREAD_LIBS while here.
- Some ports did not support having a LIBS environment variable and
  required additional patches.

Somewhat simplified a linker command line looks like:

${CC} ${src_LDFLAGS} ${LDFLAGS} ${src_LIBS} ${LIBS}

where src_LDFLAGS and src_LIBS are controlled by upstream and LDFLAGS and
LIBS can be controlled by us.  If possible -L and -l flags need to be
added to LIBS to make sure they appear after any -L and -l flags set by
upstream.  Many ports currently add -L${LOCALBASE}/lib to LDFLAGS but this
may appear too early on the command line causing installed libraries to
be linked in instead of freshly built ones.

Additional changes:
benchmarks/netio: Replace WITH_IPV6 with an IPV6 option.
comms/gnokii: Replace some patches with USES=pathfix.  Also remove -fPIC.
graphics/gimageview: USES=libtool and install desktop file in DESKTOPDIR.
graphics/visionworkbench: Remove FreeBSD 7 support.
multimedia/libmovtar: New LIB_DEPENDS syntax.
multimedia/opencinematools: Use standard do-build.
net/siproxd: USES=libtool:keepla (port actually needs .la files for plugins)
net-mgmt/nagios: Remove -fPIC.
net-mgmt/nagios4: Remove -fPIC.
print/cups-base: Only add -lssp_nonshared on i386 and OSVERSION < 1000036.
security/p11-kit: Replace PTHREAD_LIBS in CONFIGURE_ENV with
ac_cv_func_pthread_mutexattr_init=no in CONFIGURE_ARGS.  This skips a test
in configure that falsely detects pthread_mutexattr_init in our libc.
sysutils/dar: Fix iconv detection.
x11/rxvt-unicode: Remove -lstdc++ and patch configure to remove a FreeBSD
hack and use $CXX as linker as on other platforms.

PR:		190592
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-06-11 14:49:59 +00:00
Koop Mast
676940276c Stagify. 2014-03-31 18:59:35 +00:00
Baptiste Daroussin
5d078315a9 Fix typo 2013-12-11 14:40:48 +00:00
Baptiste Daroussin
5978476c35 In preparation for making libtool generate libraries with a sane name, fix all
LIB_DEPENDS in audio

With hat:	portmgr
2013-12-11 14:35:36 +00:00
Baptiste Daroussin
183c2ed74f Add NO_STAGE all over the place in preparation for the staging support (cat: audio) 2013-09-20 14:36:35 +00:00
Baptiste Daroussin
0dc34effd5 Add an explicit dependency on pkgconf
While here:
- trim headers
- convert USE_GMAKE to USES=gmake
2013-08-30 22:31:38 +00:00
Baptiste Daroussin
e451e43da7 Convert to new option framework
Approve by:	gnome (kwm)
Obtained from:	gnome dev repo
2013-06-05 08:59:14 +00:00
Alex Kozlov
e159824929 - Convert USE_GETTEXT to USES (part 3)
Approved by:	portmgr (bapt)
2013-04-24 18:10:30 +00:00
Koop Mast
8e99fc00fb Fix the build on 10-i386
Reported by:	miwi
2013-04-22 15:11:27 +00:00
Koop Mast
7fa4997d9c Make pulseaudio compile on the arm platform.
PR:		ports/176794
Submitted by:	Olivier Cochard-Labbe <olivier@cochard.me>
2013-03-09 23:06:17 +00:00
Koop Mast
17f8b794de Implict depend on libsndfile, since libsndfile was made a optional depend in
the libsamplerate port..

Submitted by:	Luca Pizzamiglio <luca.pizzamiglio@gmail.com>
		John Hein <gnome-jfbml@snkmail.com>
2012-08-16 17:26:54 +00:00
Dirk Meyer
2b74a89bc8 - update png to 1.5.10 2012-06-01 05:26:28 +00:00
Jeremy Messenger
01b377b5c5 Fix the build with clang.
PR:		ports/167957
Submitted by:	Alan Hicks <ahicks@p-o.co.uk>
2012-05-20 16:22:20 +00:00
Renato Botelho
0b63a690f1 Adjust necesary ports to build with xcb-util 0.3.8
audio/pulseaudio is being updated to 0.9.23
x11/startup-notification is being updated to 0.12

Both was approved by kwm@

x11-wm/awesome is being updated to 3.4.11

Exp-run by:	pav@
2012-01-15 12:48:11 +00:00
Koop Mast
e02dac54b8 Update MASTER_SITE
Don't pickup linux/input.h, this should fix plist failure because the evdev
modules is build (which is useless for us). [2]
Disable alsa support..
Remove FreeBSD 6.x patch.
Disable mmap support on FreeBSD versions that don't have support for it. [1]

PR:		ports/161567 [2]
Submitted by:	avg@ [1]
Reported by:	Takefu <takefu@airport.fm> [2]
2011-11-03 12:25:26 +00:00
Dmitry Marakasov
6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00
Gabor Kovesdan
d6753a0164 - Track dependencies after databases/gdbm update 2011-09-12 23:17:32 +00:00
Koop Mast
0e682dded4 Remove USE_GNOME=gnometarget from ports. It has been a empty keyword since
mid 2008.

PR:		ports/159624
Submitted by:	Ruslan Mahmatkhanov <cvs-src@yandex.ru>
2011-08-11 19:20:17 +00:00
Steve Wills
85c56ef710 Disable Capabilities globally since it is broken
PR:		ports/155235
Submitted by:	Scot Hetzel <swhetzel at gmail.com>
Approved by:	kwm (multimedia@)
2011-03-12 15:09:51 +00:00
Koop Mast
cd3455a4cc Fix the build with clang. 2011-02-28 14:45:34 +00:00
Ade Lovett
4a8684e352 Sync to new bsd.autotools.mk 2010-12-04 07:34:27 +00:00
Joe Marcus Clarke
8b34025359 Update to 0.9.22. 2010-11-27 21:35:03 +00:00
Koop Mast
0325b24e7f Add patch that somehow didn't make it in the previous commit. 2010-07-25 15:23:23 +00:00
Koop Mast
f62dd21d6e Don't overwrite config files when reinstalling. [1]
Don't detect /dev/dspN.0 instead of /dev/dpsN. We should not reference a
virtual channel 0, which is automatically cloned from /dev/dspN. [2]

Reported by:	someone on #bsdports [1]
		jkim@ [2]
2010-07-25 12:35:50 +00:00
Ade Lovett
8d837132c7 Bounce PORTREVISION for gettext-related ports. Have fun, ya'll. 2010-05-31 02:01:56 +00:00
Dirk Meyer
de78af3ac5 - update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
2010-03-28 06:47:48 +00:00