summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Gerus <arachnist@i.am-a.cat>2015-03-07 01:49:09 +0100
committerRobert Gerus <arachnist@i.am-a.cat>2015-03-07 01:49:09 +0100
commit683fcf6cabafa628ace30930c5e4ea0fdc8d5c0b (patch)
tree918ffaa3068bd624e2d0717767d2e474f9265abf
parentb20ab4465a781bcfaa82ee640b9e3999b83d46fe (diff)
downloadgentoo-overlay-683fcf6cabafa628ace30930c5e4ea0fdc8d5c0b.tar.gz
gentoo-overlay-683fcf6cabafa628ace30930c5e4ea0fdc8d5c0b.tar.bz2
gentoo-overlay-683fcf6cabafa628ace30930c5e4ea0fdc8d5c0b.tar.xz
gentoo-overlay-683fcf6cabafa628ace30930c5e4ea0fdc8d5c0b.zip
Import and fix pavucontrol for new gtkmm
-rw-r--r--games-engines/openmw/Manifest4
-rw-r--r--games-engines/openmw/files/openmw-0.33.0-cfg.patch14
-rw-r--r--games-engines/openmw/files/openmw-0.33.0-opencs.patch13
-rw-r--r--games-engines/openmw/openmw-0.34.0.ebuild5
-rw-r--r--media-sound/pavucontrol/ChangeLog205
-rw-r--r--media-sound/pavucontrol/Manifest5
-rw-r--r--media-sound/pavucontrol/files/pavucontrol-2.0-gtkmm-segfault-fix.patch201
-rw-r--r--media-sound/pavucontrol/metadata.xml5
-rw-r--r--media-sound/pavucontrol/pavucontrol-2.0.ebuild45
-rw-r--r--profiles/categories1
10 files changed, 463 insertions, 35 deletions
diff --git a/games-engines/openmw/Manifest b/games-engines/openmw/Manifest
index ab0fef4..1b560cc 100644
--- a/games-engines/openmw/Manifest
+++ b/games-engines/openmw/Manifest
@@ -1,6 +1,4 @@
-AUX openmw-0.33.0-cfg.patch 338 SHA256 064dee511f54ef063f21eade8dd7d3b13fd9c681fbee42c7ef85572692590f0d SHA512 8217001ee3dd761524e71c155ead3d7bde259a000a38a2edbba1f10c88e8e397992d30f998dd1a47fd44f5b7ea0f7b8b3f258bab28f0d915f98e9b0cad86e5ef WHIRLPOOL ef972affc624a0dacb705588b5b88b502f9a4fa231142cd6d65bfb2faeae18258be07b5ebb9b69c3742d218bdd32ff8d20773bb8cf72dbb0af6248d1f4b4e69d
-AUX openmw-0.33.0-opencs.patch 324 SHA256 82793593651f0eee8486ea518e9170f348c49ef0aa7756c5e7d3a883f0af07b0 SHA512 788d66fce118e889947e7a9a4a5a749e405d39c273045703fa5f270e1b4566a09175e48bd9b065d84b9b8eb60ef76ad1186e2685d2a0ad2f5bbaca07e2396363 WHIRLPOOL 48bf6f917f081a40eb2ca9f4ff2b16e9e255b65703ee2b06ed9487575d0f3aa12756162942ab5fc4980a3f9cb7e0a73f38280f6f98e5a2c4055a4107277461f5
DIST openmw-0.34.0.tar.gz 4066579 SHA256 4091adc26ea2f9919db12ccbe6eb2e615a869500bc5bb69e959ba5b321caa40d SHA512 fd0f49819e56006680660ee7196773f27e7ac493e65205b5e82ad66d4eb78dfb380737baee8507e341fbcdc5e9f5fc81ad6295cf257b09ec753639fd5ceeeeeb WHIRLPOOL 7ea492b5e8a00ee7f3a1b84cf4607c57f3fd17cae60986ac1eed79b0ce963ed6c279b43d3033b7725708108cab855cfb61a0b43bec500a2cc871f15a3a721a6c
-EBUILD openmw-0.34.0.ebuild 2634 SHA256 125a56a296529bbc67133b8c7ec855d0932f0b3f534421f688012a7eb0696b13 SHA512 bdd039d7918073251be4c1ad9d7eeb784d821b7a07de608a71312e4385e614934fd317d41d731ab8275fa3bcf0df017b53edb6032158292e77114ddddfedad41 WHIRLPOOL 219befa0329a14a37a94ff27678e1657d850a3e0afbd048511889495ddcc983743ea1f6373099d341c8a88e6c734612381b50e4b6b00b6f5fa55807000b883cf
+EBUILD openmw-0.34.0.ebuild 2542 SHA256 b53fc8100629dd81d28365a28e9a8cd4b00084cca8909dac657b37244c0ffa8d SHA512 09debe77b5406f2a41339a4af91b89ffbf648f6677ad38fb7d625926b8bd42cf732bd5ef4224842ba77929022ecdec50be6b2ea89ad11692855b3e289a451889 WHIRLPOOL 0b3219e746fbec04fadfd0c7238e4b667ead5b0f1fbbd5be258c0fed1445425e77d51d386c9831acba28012349f8cde154dfecd91ba6746d94db812c8a1d62fa
MISC ChangeLog 1297 SHA256 ccd53251654ece1d9deb46f95a83c20f0123938852e8209c8011bf40c0d5ef7b SHA512 7a9de3b6ae266009376f73ad57ed122d699b8ecc60a3735cf805b74091d016762b7c84b0b8fcf50111078368f9fc1cec864e1f4888e77ec90479543676f1f34d WHIRLPOOL 936dab547f842b4233bd51669ad196dbbd20b4468ac031022724a511dce85abf93377a7d9d345025c43b30760246e03d2ffc653d64685a0a094e490c8e91b3db
MISC metadata.xml 1125 SHA256 7cec4fa3a9e257ea00a5776de3ee5230927804ff96bc3d9a05f75bc4d794d629 SHA512 14da78b996386d420be0aa27ae302ca0bc54e2074d03e0bd4e04f6380105a9e1ac91e6ba565de8c04da8dacbcba88f2b706487c3036ff60aa141cd75d9241730 WHIRLPOOL 808d4881548fea60d99529e4970ac49c711741c47795719c6606b1cc32c08c5d044c546109ae0587b65d17b04162d7015fb4404dca973224ae340460dfccf661
diff --git a/games-engines/openmw/files/openmw-0.33.0-cfg.patch b/games-engines/openmw/files/openmw-0.33.0-cfg.patch
deleted file mode 100644
index 42125cb..0000000
--- a/games-engines/openmw/files/openmw-0.33.0-cfg.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-From: Julian Ospald <hasufell@gentoo.org>
-Date: Sat Jun 16 00:27:52 UTC 2012
-
-use cmake variable for data location
-
---- files/openmw.cfg
-+++ files/openmw.cfg
-@@ -1,5 +1,6 @@
- data="?global?data"
- data="?mw?Data Files"
-+data=${MORROWIND_DATA_FILES}
- data-local="?userdata?data"
- resources=${OPENMW_RESOURCE_FILES}
- script-blacklist=Museum
diff --git a/games-engines/openmw/files/openmw-0.33.0-opencs.patch b/games-engines/openmw/files/openmw-0.33.0-opencs.patch
deleted file mode 100644
index 5abd7da..0000000
--- a/games-engines/openmw/files/openmw-0.33.0-opencs.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-https://bugs.openmw.org/issues/2108
-
-diff --git a/apps/opencs/view/render/cell.hpp b/apps/opencs/view/render/cell.hpp
-index e63e095..67117bf 100644
---- a/apps/opencs/view/render/cell.hpp
-+++ b/apps/opencs/view/render/cell.hpp
-@@ -3,6 +3,7 @@
-
- #include <string>
- #include <map>
-+#include <memory>
-
- #include <OgreVector3.h>
diff --git a/games-engines/openmw/openmw-0.34.0.ebuild b/games-engines/openmw/openmw-0.34.0.ebuild
index b18e9a3..321dfbe 100644
--- a/games-engines/openmw/openmw-0.34.0.ebuild
+++ b/games-engines/openmw/openmw-0.34.0.ebuild
@@ -35,11 +35,6 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${PN}-${P}
-src_prepare() {
- epatch "${FILESDIR}"/${P}-cfg.patch \
- "${FILESDIR}"/${P}-opencs.patch
-}
-
src_configure() {
local mycmakeargs=(
-DBINDIR="${GAMES_BINDIR}"
diff --git a/media-sound/pavucontrol/ChangeLog b/media-sound/pavucontrol/ChangeLog
new file mode 100644
index 0000000..8708653
--- /dev/null
+++ b/media-sound/pavucontrol/ChangeLog
@@ -0,0 +1,205 @@
+# ChangeLog for media-sound/pavucontrol
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pavucontrol/ChangeLog,v 1.45 2014/08/03 18:32:51 ago Exp $
+
+ 03 Aug 2014; Agostino Sarubbo <ago@gentoo.org> pavucontrol-2.0.ebuild:
+ Stable for ppc, wrt bug #501702
+
+ 20 Jul 2014; Pacho Ramos <pacho@gentoo.org> pavucontrol-2.0.ebuild:
+ x86 stable, bug #501702
+
+ 20 Jul 2014; Pacho Ramos <pacho@gentoo.org> pavucontrol-2.0.ebuild:
+ amd64 stable, bug #501702
+
+ 15 Jul 2014; Pacho Ramos <pacho@gentoo.org> -pavucontrol-0.9.10.ebuild,
+ pavucontrol-2.0.ebuild:
+ Raise pulseaudio dep (#464936 by Roland)
+
+ 23 Dec 2013; Pacho Ramos <pacho@gentoo.org> metadata.xml:
+ Cleanup due bug #221237
+
+ 05 Apr 2013; Agostino Sarubbo <ago@gentoo.org> pavucontrol-1.0.ebuild:
+ Stable for ppc, wrt bug #463738
+
+*pavucontrol-2.0 (05 Apr 2013)
+
+ 05 Apr 2013; Arun Raghavan <ford_prefect@gentoo.org> +pavucontrol-2.0.ebuild:
+ Bump to 2.0
+
+ 20 May 2012; Samuli Suominen <ssuominen@gentoo.org> pavucontrol-1.0.ebuild:
+ Keyword ~ppc64
+
+ 05 May 2012; Michał Górny <mgorny@gentoo.org> pavucontrol-0.9.10.ebuild,
+ pavucontrol-1.0.ebuild:
+ dev-util/pkgconfig -> virtual/pkgconfig
+
+ 04 Apr 2012; Jeff Horelick <jdhore@gentoo.org> pavucontrol-1.0.ebuild:
+ marked x86 per bug 407575
+
+ 14 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> pavucontrol-1.0.ebuild:
+ amd64 stable wrt #407575
+
+ 09 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> pavucontrol-1.0.ebuild,
+ metadata.xml:
+ Remove USE="gtk3" and always enable GTK+-3 wrt #374057. Install ChangeLog.
+
+*pavucontrol-1.0 (27 Sep 2011)
+
+ 27 Sep 2011; Arun Raghavan <ford_prefect@gentoo.org>
+ -pavucontrol-0.99.2.ebuild, +pavucontrol-1.0.ebuild:
+ Bump to 1.0 and drop prerelease. One small fix since previous release
+ candidate.
+
+*pavucontrol-0.99.2 (23 Sep 2011)
+
+ 23 Sep 2011; Arun Raghavan <ford_prefect@gentoo.org>
+ +pavucontrol-0.99.2.ebuild, metadata.xml:
+ Add pre-release build for 0.99.2 (1.0 RC2). Includes gtk3 support (exposed as
+ a USE flag), improved UI, and support for new features such as
+ per-source-output volumes and selecting passthrough formats.
+
+ 08 Mar 2010; Markus Meier <maekke@gentoo.org> pavucontrol-0.9.10.ebuild:
+ x86 stable, bug #305917
+
+ 20 Feb 2010; Samuli Suominen <ssuominen@gentoo.org>
+ pavucontrol-0.9.10.ebuild:
+ amd64 stable wrt #305917
+
+ 10 Dec 2009; Samuli Suominen <ssuominen@gentoo.org>
+ pavucontrol-0.9.4.ebuild, pavucontrol-0.9.5.ebuild,
+ pavucontrol-0.9.8-r1.ebuild, pavucontrol-0.9.9.ebuild,
+ pavucontrol-0.9.10.ebuild:
+ Raise libsigc++ depend to >= 2.2 wrt #296406.
+
+*pavucontrol-0.9.10 (14 Oct 2009)
+
+ 14 Oct 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ +pavucontrol-0.9.10.ebuild:
+ Version bump.
+
+ 17 Sep 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ pavucontrol-0.9.9.ebuild:
+ Bump pulseaudio requirement to 0.9.16 (bug #285244).
+
+ 13 Sep 2009; Olivier Crête <tester@gentoo.org> pavucontrol-0.9.9.ebuild:
+ Needs gtkmm 2.16 to build
+
+*pavucontrol-0.9.9 (13 Sep 2009)
+
+ 13 Sep 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ +pavucontrol-0.9.9.ebuild, +files/pavucontrol-0.9.9-potfiles.patch:
+ Version bump, thanks to Jason Pleau in bug #284785.
+
+*pavucontrol-0.9.8-r1 (19 Jul 2009)
+
+ 19 Jul 2009; Samuli Suominen <ssuominen@gentoo.org>
+ pavucontrol-0.9.8.ebuild, +pavucontrol-0.9.8-r1.ebuild,
+ +files/pavucontrol-0.9.8-icons.patch:
+ Don't abort if icons are not found wrt #273815, thanks to Robert Förster.
+
+ 09 Jul 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ pavucontrol-0.9.8.ebuild:
+ Bump the libcanberra requirement.
+
+ 27 May 2009; Samuli Suominen <ssuominen@gentoo.org>
+ pavucontrol-0.9.7.ebuild:
+ Raise pulseaudio depend to 0.9.12 wrt #271288, thanks to Maciej
+ Józiewicz.
+
+ 11 May 2009; Samuli Suominen <ssuominen@gentoo.org>
+ pavucontrol-0.9.8.ebuild:
+ Raise x11-libs/gtk+ dep wrt #269409, thanks to Yaroslav Isakov.
+
+*pavucontrol-0.9.8 (11 May 2009)
+
+ 11 May 2009; Samuli Suominen <ssuominen@gentoo.org>
+ +pavucontrol-0.9.8.ebuild:
+ Version bump wrt #266190 and #269409.
+
+ 25 Oct 2008; Petteri Räty <betelgeuse@gentoo.org>
+ pavucontrol-0.9.7.ebuild:
+ Add dependency on libcanberra built with the gtk use flag. Fixes bug
+ #241130.
+
+*pavucontrol-0.9.7 (10 Oct 2008)
+
+ 10 Oct 2008; Diego Pettenò <flameeyes@gentoo.org>
+ +pavucontrol-0.9.7.ebuild:
+ Version bump.
+
+*pavucontrol-0.9.6-r1 (09 Oct 2008)
+
+ 09 Oct 2008; Diego Pettenò <flameeyes@gentoo.org>
+ +pavucontrol-0.9.6-r1.ebuild:
+ Update to EAPI=2 and USE deps.
+
+*pavucontrol-0.9.6 (18 Apr 2008)
+
+ 18 Apr 2008; Diego Pettenò <flameeyes@gentoo.org>
+ +pavucontrol-0.9.6.ebuild:
+ Version bump, thanks to Thorsten Vollmer in bug #218179.
+
+ 11 Feb 2008; Olivier Crête <tester@gentoo.org> pavucontrol-0.9.5.ebuild:
+ Stable on amd64, bug #204219
+
+ 25 Jan 2008; Raúl Porcel <armin76@gentoo.org> pavucontrol-0.9.5.ebuild:
+ Add ~sparc wrt #207369
+
+ 24 Jan 2008; Diego Pettenò <flameeyes@gentoo.org>
+ pavucontrol-0.9.5.ebuild:
+ Add missing inherit for eutils.
+
+ 24 Jan 2008; Diego Pettenò <flameeyes@gentoo.org>
+ pavucontrol-0.9.5.ebuild:
+ Add check for glib USE flag on pulseaudio for next revision.
+
+ 13 Jan 2008; Diego Pettenò <flameeyes@gentoo.org>
+ pavucontrol-0.9.4.ebuild, pavucontrol-0.9.5.ebuild:
+ Add missing pkg-config dependency. Thanks Patrick in bug #205614.
+
+ 03 Jan 2008; Markus Meier <maekke@gentoo.org> pavucontrol-0.9.4.ebuild:
+ x86 stable, bug #204219 and remove inexistent doc
+
+*pavucontrol-0.9.5 (31 Oct 2007)
+
+ 31 Oct 2007; Diego Pettenò <flameeyes@gentoo.org>
+ +pavucontrol-0.9.5.ebuild:
+ Version bump.
+
+ 13 Oct 2006; Diego Pettenò <flameeyes@gentoo.org>
+ -pavucontrol-0.9.2.ebuild, -pavucontrol-0.9.3.ebuild,
+ pavucontrol-0.9.4.ebuild:
+ Remove old version and add missing dependency over gnome-icon-theme.
+
+ 10 Oct 2006; Joshua Jackson <tsunam@gentoo.org> pavucontrol-0.9.2.ebuild,
+ pavucontrol-0.9.3.ebuild, pavucontrol-0.9.4.ebuild:
+ adding ~x86 as they build per galtgendo
+
+ 04 Oct 2006; Luca Barbato <lu_zero@gentoo.org> pavucontrol-0.9.4.ebuild:
+ Marked ~ppc
+
+*pavucontrol-0.9.4 (31 Aug 2006)
+
+ 31 Aug 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +pavucontrol-0.9.4.ebuild:
+ Version bump.
+
+*pavucontrol-0.9.3 (27 Jul 2006)
+
+ 27 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +pavucontrol-0.9.3.ebuild:
+ Version bump.
+
+ 18 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
+ pavucontrol-0.9.2.ebuild:
+ Add ~x86-fbsd keyword.
+
+ 17 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
+ pavucontrol-0.9.2.ebuild:
+ Add missing dependency on libsigc++.
+
+*pavucontrol-0.9.2 (17 Jul 2006)
+
+ 17 Jul 2006; Diego Pettenò <flameeyes@gentoo.org> +metadata.xml,
+ +pavucontrol-0.9.2.ebuild:
+ Initial import, Volume Control for PulseAudio.
diff --git a/media-sound/pavucontrol/Manifest b/media-sound/pavucontrol/Manifest
new file mode 100644
index 0000000..fc589ae
--- /dev/null
+++ b/media-sound/pavucontrol/Manifest
@@ -0,0 +1,5 @@
+AUX pavucontrol-2.0-gtkmm-segfault-fix.patch 7814 SHA256 e6fbc185ef38d24fa40a80bb4a0316e0483eefeb19a9b7d00399c3cd52b4ade0 SHA512 cf538961d70aa9fb04f4275181c15907208fd4b9fd9852907ebc17fd1a5a3d607acbf55e5d60b0f3af29f5f39c0dbcdfe4c5bb442afcabcc22566ea81257b232 WHIRLPOOL 9347b1776fffc7f10f17230a25820144508c435580cd75a68bf4b859438cc81352931be90b298122e376cb86f432792b2c96d62820f2776aad3d75244fb0ffb1
+DIST pavucontrol-2.0.tar.xz 151560 SHA256 22f29dd81b4a1a34ec7bffe9b027aff2a37fc76ccded4539d43a8c126a39470b SHA512 2b5f83f79cf6d7ce94bd836278274acb09824af389f5a7ad7d3977db743d8f9c5def78d8e9dea901a7e05355cfebb060f513cf01997baf546fd2dd2ada0513b1 WHIRLPOOL f85b60363ea30aee976e4e704bddf607b4e18ea9f9041d63acd0dc36183e103435f37c70e3b55b6327b7b1c7291c898b8167742cbcc7c47ebcd83a10f790d33c
+EBUILD pavucontrol-2.0.ebuild 1054 SHA256 278157c75ae6ce48c9f14a4c0fe7f59d5d841d8890c576b70b0de5e9d7e41b3c SHA512 93d599657e2440361b524df11e97ee30c5e1a44e7c927a2f73b6f1a7b33d726275a260051b94115eabeba87b4c730c7eca419df00f347ba9afdea3297c49cd20 WHIRLPOOL 1f345a478c6a0909a39d1af20a93c05577eacbb74ac4b6994181eb92fd93c6012c13c69e9589d2f501bae6ba541c03a7bfd662259c16b22adb6994c94f547126
+MISC ChangeLog 6773 SHA256 bc031a0a9b9bdf50fc2b1b67a75e6aae1b754049056de385d1a033e3f53220a2 SHA512 dbb661fc8ccc2dc07663d5c8b3c35d5bcc41ff9ceb2d58ae5d25d0086aa225303495f773de5a7744a40a9b844059815a7a7cd3a824a49ff7430ded2f652cca9a WHIRLPOOL 0acb5c91ad79e3c369638d60bf55fa7ac682ef2f64de23da8d7fcde0c22ec39a6e14339a38df49b086327480d6c6e2380d70c06d7139fe2ab8fe5091f7201bd7
+MISC metadata.xml 160 SHA256 6bafe4a5c7b42309f124ebc2a9d78ebe5379aec4dcdc88c0bda2ab79c9851a6b SHA512 f00066790833ce0ac73de2a96f22bc5ba7b9440a8f73749e2ab52f85038a05d3f768fe6ad59b15430b39b3c36163ae60b5e32d0c323326bb9427529c365549b9 WHIRLPOOL 0e3afa7015a86fdd97bcf0aa4d3b0063e87e34fffeb907b1c7c25c3b662849fefa7e45330d5aa697c7d65b24647d0ecefdfeb6b83b27645c12f2afb2c21be423
diff --git a/media-sound/pavucontrol/files/pavucontrol-2.0-gtkmm-segfault-fix.patch b/media-sound/pavucontrol/files/pavucontrol-2.0-gtkmm-segfault-fix.patch
new file mode 100644
index 0000000..bb93b64
--- /dev/null
+++ b/media-sound/pavucontrol/files/pavucontrol-2.0-gtkmm-segfault-fix.patch
@@ -0,0 +1,201 @@
+From a98200f2699d453a78c9dfbb85e307bbdb3e3dbf Mon Sep 17 00:00:00 2001
+From: Hans de Goede <hdegoede@redhat.com>
+Date: Thu, 28 Aug 2014 12:58:05 +0200
+Subject: [PATCH] Reference the widget before returning it from ::create
+ methods
+
+Widgets (unlike Windows and Dialogs) returned by Gtk::Builder::get_widget*
+start owned by the GtkBuilder object, the idea being that they will get
+added to a container before the scope of the GtkBuilder object ends, and it
+thus automatically gets destroyed.
+
+But in the various ::create methods in pavucontrol, a pointer to the widget
+gets returned, so that it can be added to a cointainer by the caller.
+However as soon as the ::create method exits the GtkBuilder object owning
+the widget, and thus also the widget gets destroyed, and we end up returning
+free-ed memory.
+
+This commit fixes this by making all ::create methods take a reference on
+the widget before returning it, and having all the callers unreference the
+widget after adding it to a container.
+
+https://bugs.freedesktop.org/show_bug.cgi?id=83144
+https://bugzilla.redhat.com/show_bug.cgi?id=1133339
+
+Signed-off-by: Hans de Goede <hdegoede@redhat.com>
+---
+ src/cardwidget.cc | 1 +
+ src/channelwidget.cc | 1 +
+ src/devicewidget.cc | 1 +
+ src/mainwindow.cc | 6 ++++++
+ src/rolewidget.cc | 1 +
+ src/sinkinputwidget.cc | 1 +
+ src/sinkwidget.cc | 1 +
+ src/sourceoutputwidget.cc | 1 +
+ src/sourcewidget.cc | 1 +
+ src/streamwidget.cc | 1 +
+ 10 files changed, 15 insertions(+)
+
+diff --git a/src/cardwidget.cc b/src/cardwidget.cc
+index c79ac6c..28c558d 100644
+--- a/src/cardwidget.cc
++++ b/src/cardwidget.cc
+@@ -45,6 +45,7 @@ CardWidget* CardWidget::create() {
+ CardWidget* w;
+ Glib::RefPtr<Gtk::Builder> x = Gtk::Builder::create_from_file(GLADE_FILE, "cardWidget");
+ x->get_widget_derived("cardWidget", w);
++ w->reference();
+ return w;
+ }
+
+diff --git a/src/channelwidget.cc b/src/channelwidget.cc
+index 6f59de2..fe94c11 100644
+--- a/src/channelwidget.cc
++++ b/src/channelwidget.cc
+@@ -53,6 +53,7 @@ ChannelWidget* ChannelWidget::create() {
+ x->add_from_file(GLADE_FILE, "adjustment1");
+ x->add_from_file(GLADE_FILE, "channelWidget");
+ x->get_widget_derived("channelWidget", w);
++ w->reference();
+ return w;
+ }
+
+diff --git a/src/devicewidget.cc b/src/devicewidget.cc
+index 1a148ee..813780f 100644
+--- a/src/devicewidget.cc
++++ b/src/devicewidget.cc
+@@ -89,6 +89,7 @@ void DeviceWidget::setChannelMap(const pa_channel_map &m, bool can_decibel) {
+ snprintf(text, sizeof(text), "<b>%s</b>", pa_channel_position_to_pretty_string(m.map[i]));
+ cw->channelLabel->set_markup(text);
+ channelsVBox->pack_start(*cw, false, false, 0);
++ cw->unreference();
+ }
+ channelWidgets[m.channels-1]->last = true;
+
+diff --git a/src/mainwindow.cc b/src/mainwindow.cc
+index 5a42318..5d205fb 100644
+--- a/src/mainwindow.cc
++++ b/src/mainwindow.cc
+@@ -300,6 +300,7 @@ void MainWindow::updateCard(const pa_card_info &info) {
+ else {
+ cardWidgets[info.index] = w = CardWidget::create();
+ cardsVBox->pack_start(*w, false, false, 0);
++ w->unreference();
+ w->index = info.index;
+ is_new = true;
+ }
+@@ -416,6 +417,7 @@ bool MainWindow::updateSink(const pa_sink_info &info) {
+ sinkWidgets[info.index] = w = SinkWidget::create(this);
+ w->setChannelMap(info.channel_map, !!(info.flags & PA_SINK_DECIBEL_VOLUME));
+ sinksVBox->pack_start(*w, false, false, 0);
++ w->unreference();
+ w->index = info.index;
+ w->monitor_index = info.monitor_source;
+ is_new = true;
+@@ -570,6 +572,7 @@ void MainWindow::updateSource(const pa_source_info &info) {
+ sourceWidgets[info.index] = w = SourceWidget::create(this);
+ w->setChannelMap(info.channel_map, !!(info.flags & PA_SOURCE_DECIBEL_VOLUME));
+ sourcesVBox->pack_start(*w, false, false, 0);
++ w->unreference();
+ w->index = info.index;
+ is_new = true;
+
+@@ -686,6 +689,7 @@ void MainWindow::updateSinkInput(const pa_sink_input_info &info) {
+ sinkInputWidgets[info.index] = w = SinkInputWidget::create(this);
+ w->setChannelMap(info.channel_map, true);
+ streamsVBox->pack_start(*w, false, false, 0);
++ w->unreference();
+ w->index = info.index;
+ w->clientIndex = info.client;
+ is_new = true;
+@@ -743,6 +747,7 @@ void MainWindow::updateSourceOutput(const pa_source_output_info &info) {
+ w->setChannelMap(info.channel_map, true);
+ #endif
+ recsVBox->pack_start(*w, false, false, 0);
++ w->unreference();
+ w->index = info.index;
+ w->clientIndex = info.client;
+ is_new = true;
+@@ -838,6 +843,7 @@ bool MainWindow::createEventRoleWidget() {
+
+ eventRoleWidget = RoleWidget::create();
+ streamsVBox->pack_start(*eventRoleWidget, false, false, 0);
++ eventRoleWidget->unreference();
+ eventRoleWidget->role = "sink-input-by-media-role:event";
+ eventRoleWidget->setChannelMap(cm, true);
+
+diff --git a/src/rolewidget.cc b/src/rolewidget.cc
+index fd3196c..db07f92 100644
+--- a/src/rolewidget.cc
++++ b/src/rolewidget.cc
+@@ -40,6 +40,7 @@ RoleWidget* RoleWidget::create() {
+ RoleWidget* w;
+ Glib::RefPtr<Gtk::Builder> x = Gtk::Builder::create_from_file(GLADE_FILE, "streamWidget");
+ x->get_widget_derived("streamWidget", w);
++ w->reference();
+ return w;
+ }
+
+diff --git a/src/sinkinputwidget.cc b/src/sinkinputwidget.cc
+index b88b718..5a0ba39 100644
+--- a/src/sinkinputwidget.cc
++++ b/src/sinkinputwidget.cc
+@@ -43,6 +43,7 @@ SinkInputWidget* SinkInputWidget::create(MainWindow* mainWindow) {
+ Glib::RefPtr<Gtk::Builder> x = Gtk::Builder::create_from_file(GLADE_FILE, "streamWidget");
+ x->get_widget_derived("streamWidget", w);
+ w->init(mainWindow);
++ w->reference();
+ return w;
+ }
+
+diff --git a/src/sinkwidget.cc b/src/sinkwidget.cc
+index 7f4902c..f682cf2 100644
+--- a/src/sinkwidget.cc
++++ b/src/sinkwidget.cc
+@@ -82,6 +82,7 @@ SinkWidget* SinkWidget::create(MainWindow* mainWindow) {
+ Glib::RefPtr<Gtk::Builder> x = Gtk::Builder::create_from_file(GLADE_FILE, "deviceWidget");
+ x->get_widget_derived("deviceWidget", w);
+ w->init(mainWindow, "sink");
++ w->reference();
+ return w;
+ }
+
+diff --git a/src/sourceoutputwidget.cc b/src/sourceoutputwidget.cc
+index 827c5a8..4d915b0 100644
+--- a/src/sourceoutputwidget.cc
++++ b/src/sourceoutputwidget.cc
+@@ -49,6 +49,7 @@ SourceOutputWidget* SourceOutputWidget::create(MainWindow* mainWindow) {
+ Glib::RefPtr<Gtk::Builder> x = Gtk::Builder::create_from_file(GLADE_FILE, "streamWidget");
+ x->get_widget_derived("streamWidget", w);
+ w->init(mainWindow);
++ w->reference();
+ return w;
+ }
+
+diff --git a/src/sourcewidget.cc b/src/sourcewidget.cc
+index 5e4ecf0..fde5333 100644
+--- a/src/sourcewidget.cc
++++ b/src/sourcewidget.cc
+@@ -35,6 +35,7 @@ SourceWidget* SourceWidget::create(MainWindow* mainWindow) {
+ Glib::RefPtr<Gtk::Builder> x = Gtk::Builder::create_from_file(GLADE_FILE, "deviceWidget");
+ x->get_widget_derived("deviceWidget", w);
+ w->init(mainWindow, "source");
++ w->reference();
+ return w;
+ }
+
+diff --git a/src/streamwidget.cc b/src/streamwidget.cc
+index 94363ec..e602cce 100644
+--- a/src/streamwidget.cc
++++ b/src/streamwidget.cc
+@@ -77,6 +77,7 @@ void StreamWidget::setChannelMap(const pa_channel_map &m, bool can_decibel) {
+ snprintf(text, sizeof(text), "<b>%s</b>", pa_channel_position_to_pretty_string(m.map[i]));
+ cw->channelLabel->set_markup(text);
+ channelsVBox->pack_start(*cw, false, false, 0);
++ cw->unreference();
+ }
+ channelWidgets[m.channels-1]->last = true;
+ channelWidgets[m.channels-1]->setBaseVolume(PA_VOLUME_NORM);
+--
+2.1.0
+
diff --git a/media-sound/pavucontrol/metadata.xml b/media-sound/pavucontrol/metadata.xml
new file mode 100644
index 0000000..3bf6bcf
--- /dev/null
+++ b/media-sound/pavucontrol/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sound</herd>
+</pkgmetadata>
diff --git a/media-sound/pavucontrol/pavucontrol-2.0.ebuild b/media-sound/pavucontrol/pavucontrol-2.0.ebuild
new file mode 100644
index 0000000..db1effe
--- /dev/null
+++ b/media-sound/pavucontrol/pavucontrol-2.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pavucontrol/pavucontrol-2.0.ebuild,v 1.5 2014/08/03 18:32:51 ago Exp $
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="Pulseaudio Volume Control, GTK based mixer for Pulseaudio"
+HOMEPAGE="http://freedesktop.org/software/pulseaudio/pavucontrol/"
+SRC_URI="http://freedesktop.org/software/pulseaudio/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ~ppc64 ~sparc x86 ~x86-fbsd"
+IUSE="nls"
+
+RDEPEND="
+ >=dev-cpp/gtkmm-3.0:3.0
+ >=dev-libs/libsigc++-2.2:2
+ >=media-libs/libcanberra-0.16[gtk3]
+ >=media-sound/pulseaudio-3[glib]
+ virtual/freedesktop-icon-theme
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? (
+ dev-util/intltool
+ sys-devel/gettext
+ )
+"
+
+src_prepare() {
+ epatch "${FILESDIR}/pavucontrol-2.0-gtkmm-segfault-fix.patch"
+
+ default_src_prepare
+}
+
+src_configure() {
+ econf \
+ --docdir=/usr/share/doc/${PF} \
+ --htmldir=/usr/share/doc/${PF}/html \
+ --disable-lynx \
+ $(use_enable nls)
+}
diff --git a/profiles/categories b/profiles/categories
index 2435ca8..2453191 100644
--- a/profiles/categories
+++ b/profiles/categories
@@ -1,5 +1,6 @@
dev-libs
games-engines
+media-sound
net-im
sys-fs
sys-kernel