summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-admin/calamares/Manifest1
-rw-r--r--app-admin/calamares/calamares-1.1.ebuild60
-rw-r--r--app-admin/calamares/calamares-999.ebuild1
-rw-r--r--app-editors/sublime-text/Manifest2
-rw-r--r--app-editors/sublime-text/sublime-text-3083.ebuild87
-rw-r--r--app-misc/kogaion-skel/kogaion-skel-1.ebuild2
-rw-r--r--app-office/archi/Manifest1
-rw-r--r--app-office/archi/archi-2.4.0.ebuild50
-rw-r--r--dev-python/compizconfig-python/Manifest17
-rw-r--r--dev-python/gdk-pixbuf/Manifest6
-rw-r--r--dev-python/pygobject-base/Manifest1
-rw-r--r--dev-python/pygobject-base/files/3.16.1-unittest.patch15
-rw-r--r--dev-python/pygobject-base/pygobject-base-3.16.1.ebuild96
-rw-r--r--dev-python/pygobject-cairo/Manifest1
-rw-r--r--dev-python/pygobject-cairo/files/3.16.1-unittest.patch15
-rw-r--r--dev-python/pygobject-cairo/pygobject-cairo-3.16.1.ebuild73
-rw-r--r--dev-python/pygobject/metadata.xml4
-rw-r--r--dev-python/pygobject/pygobject-3.16.1.ebuild25
-rw-r--r--dev-python/pymaxe/Manifest1
-rw-r--r--dev-python/pysmbc/Manifest3
-rw-r--r--dev-python/python-blivet/Manifest1
-rw-r--r--dev-python/python-blivet/files/0001-Update-package-names-to-reflect-Gentoo-ones.patch144
-rw-r--r--dev-python/python-blivet/files/0001-devices-enable-UUID-for-dm-based-devices-in-fstab.patch28
-rw-r--r--dev-python/python-blivet/files/python-blivet-commit-to-disk-settle.patch12
-rw-r--r--dev-python/python-blivet/files/python-blivet-udev-path.patch11
-rw-r--r--dev-python/python-blivet/files/python-blivet-workaround-disable-multipath.patch9
-rw-r--r--dev-python/python-blivet/metadata.xml (renamed from mate-base/mate-applets/metadata.xml)5
-rw-r--r--dev-python/python-blivet/python-blivet-0.23.9-r3.ebuild55
-rw-r--r--dev-python/python-report/files/bugs.kogaion.org.ini (renamed from dev-python/python-report/files/bugs.sabayon.org.ini)4
-rw-r--r--dev-python/python-report/python-report-0.10-r1.ebuild4
-rw-r--r--dev-python/pyvlc/Manifest2
-rw-r--r--dev-python/qtstatemachine/Manifest7
-rw-r--r--eclass/argent-artwork.eclass (renamed from eclass/sabayon-artwork.eclass)10
-rw-r--r--eclass/argent-kernel.eclass (renamed from eclass/sabayon-kernel.eclass)172
-rw-r--r--eclass/kogaion-kernel.eclass1
-rw-r--r--eclass/transmission-2.83.eclass287
-rw-r--r--eclass/transmission-2.84.eclass291
-rw-r--r--kde-misc/ksuperkey/files/bind_krunner_to_super_key.patch9
-rw-r--r--kde-misc/ksuperkey/ksuperkey-99999.ebuild37
-rw-r--r--mate-base/mate-applets/mate-applets-1.8.1.ebuild103
-rw-r--r--mate-base/mate-session-manager/Manifest1
-rwxr-xr-xmate-base/mate-session-manager/files/10-user-dirs-update-mate10
-rw-r--r--mate-base/mate-session-manager/files/15-xdg-data-mate9
-rw-r--r--mate-base/mate-session-manager/files/MATE109
-rw-r--r--mate-base/mate-session-manager/files/defaults.list336
-rw-r--r--mate-base/mate-session-manager/files/mate-session-manager-1.2.0-idle-transition.patch10
-rw-r--r--mate-base/mate-session-manager/files/mate-session-manager-1.5.2-save-session-ui.patch535
-rw-r--r--mate-base/mate-session-manager/files/mate-session-manager-upower1.patch86
-rw-r--r--mate-base/mate-session-manager/mate-session-manager-1.8.1-r1.ebuild104
-rw-r--r--mate-extra/mate-tweak/Manifest2
-rw-r--r--mate-extra/mate-tweak/mate-tweak-3.4.8.ebuild32
-rw-r--r--mate-extra/mate-tweak/mate-tweak-3.4.9.ebuild32
-rw-r--r--mate-extra/mate-tweak/mate-tweak-9999.ebuild30
-rw-r--r--media-sound/deadbeef/Manifest2
-rw-r--r--media-sound/deadbeef/deadbeef-0.6.1.ebuild182
-rw-r--r--media-sound/deadbeef/deadbeef-0.6.2.ebuild243
-rw-r--r--media-sound/deadbeef/deadbeef-9999.ebuild248
-rw-r--r--media-sound/deadbeef/files/deadbeef-0.6.3-remove-unity-trash.patch55
-rw-r--r--media-sound/deadbeef/files/deadbeef-remove-pt_br-and-ru-help-translation.patch13
-rw-r--r--media-sound/deadbeef/files/deadbeef-remove-pt_br-help-translation.patch12
-rw-r--r--media-sound/deadbeef/files/deadbeef-remove-ru-help-translation.patch10
-rw-r--r--media-sound/deadbeef/files/desktop-2.patch (renamed from media-sound/deadbeef/files/deadbeef-0.6.2-remove-unity-trash.patch)27
-rw-r--r--media-sound/deadbeef/metadata.xml58
-rw-r--r--net-dns/avahi-base/Manifest1
-rw-r--r--net-dns/avahi-base/avahi-base-0.6.31-r1.ebuild168
-rw-r--r--net-dns/avahi-base/avahi-base-0.6.31-r5.ebuild224
-rw-r--r--net-dns/avahi-base/avahi-base-0.6.31-r6.ebuild224
-rw-r--r--net-dns/avahi-base/files/autoipd-openrc.sh32
-rw-r--r--net-dns/avahi-base/files/autoipd.sh52
-rw-r--r--net-dns/avahi-base/files/avahi-0.6.30-automake-1.11.2.patch102
-rw-r--r--net-dns/avahi-base/files/avahi-0.6.30-optional-gtk-utils.patch83
-rw-r--r--net-dns/avahi-base/files/avahi-0.6.30-parallel.patch34
-rw-r--r--net-dns/avahi-base/files/avahi-0.6.31-build-client-without-daemon.patch27
-rw-r--r--net-dns/avahi-base/files/avahi-0.6.31-fix-install-avahi-discover.patch31
-rw-r--r--net-dns/avahi-base/files/avahi-0.6.31-host-name-from-machine-id.patch85
-rw-r--r--net-dns/avahi-base/files/avahi-0.6.31-install-exec-hook.patch11
-rw-r--r--net-dns/avahi-base/files/avahi-0.6.31-so_reuseport-may-not-exist-in-running-kernel.patch30
-rw-r--r--net-dns/avahi-base/files/avahi-0.6.31-workaround-systemd-stop-timeout.patch10
-rw-r--r--net-dns/avahi-base/files/avahi-0.6.x-openrc-0.9.x-init-scripts-fixes.patch22
-rw-r--r--net-dns/avahi-base/metadata.xml17
-rw-r--r--net-dns/avahi-gtk/Manifest1
-rw-r--r--net-dns/avahi-gtk/avahi-gtk-0.6.31-r1.ebuild70
-rw-r--r--net-dns/avahi-gtk/avahi-gtk-0.6.31-r5.ebuild170
-rw-r--r--net-dns/avahi-gtk/avahi-gtk-0.6.31-r6.ebuild170
-rw-r--r--net-dns/avahi-gtk/files/avahi-0.6.30-automake-1.11.2.patch102
-rw-r--r--net-dns/avahi-gtk/files/avahi-0.6.30-optional-gtk-utils.patch83
-rw-r--r--net-dns/avahi-gtk/files/avahi-0.6.30-parallel.patch34
-rw-r--r--net-dns/avahi-gtk/files/avahi-0.6.31-build-client-without-daemon.patch27
-rw-r--r--net-dns/avahi-gtk/files/avahi-0.6.31-fix-install-avahi-discover.patch31
-rw-r--r--net-dns/avahi-gtk/files/avahi-0.6.31-host-name-from-machine-id.patch85
-rw-r--r--net-dns/avahi-gtk/files/avahi-0.6.31-install-exec-hook.patch11
-rw-r--r--net-dns/avahi-gtk/files/avahi-0.6.31-so_reuseport-may-not-exist-in-running-kernel.patch30
-rw-r--r--net-dns/avahi-gtk/files/avahi-0.6.x-openrc-0.9.x-init-scripts-fixes.patch22
-rw-r--r--net-dns/avahi-gtk/metadata.xml8
-rw-r--r--net-dns/avahi-gtk3/Manifest1
-rw-r--r--net-dns/avahi-gtk3/avahi-gtk3-0.6.31-r1.ebuild53
-rw-r--r--net-dns/avahi-gtk3/avahi-gtk3-0.6.31-r5.ebuild155
-rw-r--r--net-dns/avahi-gtk3/avahi-gtk3-0.6.31-r6.ebuild155
-rw-r--r--net-dns/avahi-gtk3/files/avahi-0.6.30-automake-1.11.2.patch102
-rw-r--r--net-dns/avahi-gtk3/files/avahi-0.6.30-optional-gtk-utils.patch83
-rw-r--r--net-dns/avahi-gtk3/files/avahi-0.6.30-parallel.patch34
-rw-r--r--net-dns/avahi-gtk3/files/avahi-0.6.31-build-client-without-daemon.patch27
-rw-r--r--net-dns/avahi-gtk3/files/avahi-0.6.31-fix-install-avahi-discover.patch31
-rw-r--r--net-dns/avahi-gtk3/files/avahi-0.6.31-host-name-from-machine-id.patch85
-rw-r--r--net-dns/avahi-gtk3/files/avahi-0.6.31-install-exec-hook.patch11
-rw-r--r--net-dns/avahi-gtk3/files/avahi-0.6.31-so_reuseport-may-not-exist-in-running-kernel.patch30
-rw-r--r--net-dns/avahi-gtk3/files/avahi-0.6.x-openrc-0.9.x-init-scripts-fixes.patch22
-rw-r--r--net-dns/avahi-gtk3/metadata.xml8
-rw-r--r--net-dns/avahi-mono/Manifest1
-rw-r--r--net-dns/avahi-mono/avahi-mono-0.6.31-r1.ebuild63
-rw-r--r--net-dns/avahi-mono/avahi-mono-0.6.31-r5.ebuild170
-rw-r--r--net-dns/avahi-mono/avahi-mono-0.6.31-r6.ebuild170
-rw-r--r--net-dns/avahi-mono/files/avahi-0.6.30-automake-1.11.2.patch102
-rw-r--r--net-dns/avahi-mono/files/avahi-0.6.30-optional-gtk-utils.patch83
-rw-r--r--net-dns/avahi-mono/files/avahi-0.6.30-parallel.patch34
-rw-r--r--net-dns/avahi-mono/files/avahi-0.6.31-build-client-without-daemon.patch27
-rw-r--r--net-dns/avahi-mono/files/avahi-0.6.31-fix-install-avahi-discover.patch31
-rw-r--r--net-dns/avahi-mono/files/avahi-0.6.31-host-name-from-machine-id.patch85
-rw-r--r--net-dns/avahi-mono/files/avahi-0.6.31-install-exec-hook.patch11
-rw-r--r--net-dns/avahi-mono/files/avahi-0.6.31-so_reuseport-may-not-exist-in-running-kernel.patch30
-rw-r--r--net-dns/avahi-mono/files/avahi-0.6.x-openrc-0.9.x-init-scripts-fixes.patch22
-rw-r--r--net-dns/avahi-mono/metadata.xml8
-rw-r--r--net-dns/avahi-qt/Manifest1
-rw-r--r--net-dns/avahi-qt/avahi-qt-0.6.31-r1.ebuild51
-rw-r--r--net-dns/avahi-qt/avahi-qt-0.6.31-r5.ebuild155
-rw-r--r--net-dns/avahi-qt/avahi-qt-0.6.31-r6.ebuild155
-rw-r--r--net-dns/avahi-qt/files/avahi-0.6.30-automake-1.11.2.patch102
-rw-r--r--net-dns/avahi-qt/files/avahi-0.6.30-optional-gtk-utils.patch83
-rw-r--r--net-dns/avahi-qt/files/avahi-0.6.30-parallel.patch34
-rw-r--r--net-dns/avahi-qt/files/avahi-0.6.31-build-client-without-daemon.patch27
-rw-r--r--net-dns/avahi-qt/files/avahi-0.6.31-fix-install-avahi-discover.patch31
-rw-r--r--net-dns/avahi-qt/files/avahi-0.6.31-host-name-from-machine-id.patch85
-rw-r--r--net-dns/avahi-qt/files/avahi-0.6.31-install-exec-hook.patch11
-rw-r--r--net-dns/avahi-qt/files/avahi-0.6.31-so_reuseport-may-not-exist-in-running-kernel.patch30
-rw-r--r--net-dns/avahi-qt/files/avahi-0.6.x-openrc-0.9.x-init-scripts-fixes.patch22
-rw-r--r--net-dns/avahi-qt/metadata.xml8
-rw-r--r--net-dns/avahi/avahi-0.6.31-r5.ebuild26
-rw-r--r--net-dns/avahi/avahi-0.6.31-r6.ebuild26
-rw-r--r--net-dns/avahi/metadata.xml17
-rw-r--r--net-p2p/gnunet-gtk/Manifest11
-rw-r--r--net-p2p/gnunet-qt/Manifest3
-rw-r--r--net-p2p/gnunet/Manifest38
-rw-r--r--net-p2p/kamailio/Manifest1
-rw-r--r--net-p2p/transmission-base/Manifest2
-rw-r--r--net-p2p/transmission-base/metadata.xml12
-rw-r--r--net-p2p/transmission-base/transmission-base-2.83.ebuild23
-rw-r--r--net-p2p/transmission-base/transmission-base-2.84.ebuild23
-rw-r--r--net-p2p/transmission-cli/Manifest2
-rw-r--r--net-p2p/transmission-cli/metadata.xml8
-rw-r--r--net-p2p/transmission-cli/transmission-cli-2.83.ebuild15
-rw-r--r--net-p2p/transmission-cli/transmission-cli-2.84.ebuild15
-rw-r--r--net-p2p/transmission-daemon/Manifest2
-rw-r--r--net-p2p/transmission-daemon/files/transmission-daemon.confd.414
-rw-r--r--net-p2p/transmission-daemon/files/transmission-daemon.initd.973
-rw-r--r--net-p2p/transmission-daemon/metadata.xml8
-rw-r--r--net-p2p/transmission-daemon/transmission-daemon-2.83.ebuild25
-rw-r--r--net-p2p/transmission-daemon/transmission-daemon-2.84.ebuild25
-rw-r--r--net-p2p/transmission-gtk/Manifest2
-rw-r--r--net-p2p/transmission-gtk/metadata.xml8
-rw-r--r--net-p2p/transmission-gtk/transmission-gtk-2.83.ebuild49
-rw-r--r--net-p2p/transmission-gtk/transmission-gtk-2.84.ebuild49
-rw-r--r--net-p2p/transmission-qt4/Manifest2
-rw-r--r--net-p2p/transmission-qt4/files/transmission-qt4-2.80-translations-path-fix.patch17
-rw-r--r--net-p2p/transmission-qt4/metadata.xml8
-rw-r--r--net-p2p/transmission-qt4/transmission-qt4-2.83.ebuild40
-rw-r--r--net-p2p/transmission-qt4/transmission-qt4-2.84.ebuild40
-rw-r--r--net-p2p/transmission/metadata.xml12
-rw-r--r--net-p2p/transmission/transmission-2.83.ebuild23
-rw-r--r--net-p2p/transmission/transmission-2.84.ebuild23
-rw-r--r--net-p2p/wuala/Manifest1
-rw-r--r--profiles/updates/1Q-20111
-rw-r--r--profiles/updates/1Q-20123
-rw-r--r--profiles/updates/1Q-201322
-rw-r--r--profiles/updates/2Q-20091
-rw-r--r--profiles/updates/2Q-2011255
-rw-r--r--profiles/updates/2Q-20137
-rw-r--r--profiles/updates/3Q-20111
-rw-r--r--profiles/updates/4Q-20104
-rw-r--r--sys-kernel/kogaion-sources/kogaion-sources-3.14.45.ebuild23
-rw-r--r--sys-kernel/linux-kogaion/linux-kogaion-3.14.45.ebuild30
-rw-r--r--sys-kernel/linux-live-brrc/Manifest1
-rw-r--r--sys-kernel/linux-live-brrc/linux-live-brrc-3.14.30.ebuild30
-rw-r--r--sys-kernel/linux-live-brrc/linux-live-brrc.skel30
-rw-r--r--www-client/firefox/Manifest84
-rw-r--r--www-client/firefox/files/firefox-32.0-hppa-js-configure.patch21
-rw-r--r--www-client/firefox/files/gentoo-default-prefs.js-117
-rw-r--r--www-client/firefox/files/icon/firefox.desktop9
-rw-r--r--www-client/firefox/files/pgo.patch13
-rw-r--r--www-client/firefox/firefox-31.7.0.ebuild378
-rw-r--r--www-plugins/freshplayerplugin/Manifest1
-rw-r--r--www-plugins/freshplayerplugin/freshplayerplugin-0.3.0.ebuild50
-rw-r--r--x11-misc/lightdm-base/lightdm-base-1.12.2.ebuild7
-rw-r--r--x11-misc/lightdm-base/lightdm-base-1.12.3.ebuild6
-rw-r--r--x11-themes/kogaion-artwork-calamares/Manifest2
-rw-r--r--x11-themes/kogaion-artwork-calamares/kogaion-artwork-calamares-2.0-r1.ebuild (renamed from x11-themes/kogaion-artwork-calamares/kogaion-artwork-calamares-2.0.ebuild)5
-rw-r--r--x11-themes/kogaion-artwork-core/kogaion-artwork-core-2.1.ebuild2
196 files changed, 7317 insertions, 2554 deletions
diff --git a/app-admin/calamares/Manifest b/app-admin/calamares/Manifest
new file mode 100644
index 00000000..01def072
--- /dev/null
+++ b/app-admin/calamares/Manifest
@@ -0,0 +1 @@
+DIST calamares-1.1.tar.gz 3641655 SHA256 db0b5f09d62f43c433ff53462dc35bd43bbc4fd618fa1aac081ebb05b570edee SHA512 5b67f99e8a13f0147d510ddef2f6ba90ec81e65526159643fe3a577f62030e7a466d9dfbad0fb7befa22e59074222dd5123565b871c90c2ed25f3547ca1bb582 WHIRLPOOL c9de81bcdff03d85c98438d00fa925216e3c50670eb7354e4574c499c8b49d8fbb77e99c5733e5a9e5d97e6c9a1b795fcdf35df0cad0002227fc8b051ffc2406
diff --git a/app-admin/calamares/calamares-1.1.ebuild b/app-admin/calamares/calamares-1.1.ebuild
new file mode 100644
index 00000000..228a5fa3
--- /dev/null
+++ b/app-admin/calamares/calamares-1.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+PYTHON_COMPAT=( python3_3 )
+
+inherit eutils cmake-utils python-r1
+
+SRC_URI="https://github.com/calamares/calamares/releases/download/v1.1/calamares-1.1.tar.gz"
+
+DESCRIPTION="Distribution-independent installer framework"
+HOMEPAGE="http://calamares.io"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+python"
+
+S="${WORKDIR}/${PN}-${PV}"
+
+DEPEND="
+ dev-vcs/git
+ python? (
+ >=dev-lang/python-3.3.5-r1:3.3
+ >=dev-libs/boost-1.55.0-r2[python_targets_python3_3]
+ )
+ >=dev-qt/designer-5.4.0:5
+ >=dev-qt/linguist-tools-5.4.0:5
+ >=dev-qt/qtconcurrent-5.4.0:5
+ >=dev-qt/qtcore-5.4.0:5
+ >=dev-qt/qtdbus-5.4.0:5
+ >=dev-qt/qtdeclarative-5.4.0:5
+ >=dev-qt/qtgui-5.4.0:5
+ >=dev-qt/qtnetwork-5.4.0:5
+ >=dev-qt/qtopengl-5.4.0:5
+ >=dev-qt/qtprintsupport-5.4.0:5
+ >=dev-qt/qtscript-5.4.0:5
+ >=dev-qt/qtsvg-5.4.0:5
+ >=dev-qt/qttest-5.4.0:5
+ >=dev-qt/qtwidgets-5.4.0:5
+ >=dev-qt/qtxml-5.4.0:5
+ >=dev-qt/qtxmlpatterns-5.4.0:5
+ >=dev-cpp/yaml-cpp-0.5.1
+ >=kde-frameworks/extra-cmake-modules-5.10.0"
+
+RDEPEND=">=app-misc/calamares-runtime-2.0[branding]"
+
+src_prepare() {
+ # If qtchooser is installed, it may break the build, because moc,rcc and uic binaries for wrong qt version may be used.
+ # Setting QT_SELECT environment variable will enforce correct binaries (fix taken from vlc ebuild)
+ export QT_SELECT=qt5
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DWITH_PARTITIONMANAGER=1
+ )
+ cmake-utils_src_configure
+}
diff --git a/app-admin/calamares/calamares-999.ebuild b/app-admin/calamares/calamares-999.ebuild
index 77c2bc1a..fd394328 100644
--- a/app-admin/calamares/calamares-999.ebuild
+++ b/app-admin/calamares/calamares-999.ebuild
@@ -8,7 +8,6 @@ PYTHON_COMPAT=( python3_3 )
inherit eutils cmake-utils python-r1 git-2
EGIT_BRANCH="master"
-EGIT_COMMIT="9e59374bfe0a088c47433bbf209810f89065601b"
EGIT_REPO_URI="https://github.com/Rogentos/calamares.git"
DESCRIPTION="Distribution-independent installer framework"
diff --git a/app-editors/sublime-text/Manifest b/app-editors/sublime-text/Manifest
new file mode 100644
index 00000000..c4aafbae
--- /dev/null
+++ b/app-editors/sublime-text/Manifest
@@ -0,0 +1,2 @@
+DIST sublime_text_3_build_3083_x32.tar.bz2 7572911 SHA256 89e8e2bafa041c263d2c5ffd1b8ea3c36d9727c95a3f7a6603bdf1f6c4cc3165 SHA512 7329e689d0a212bb8ac255f05845b3dfb94f0c60d4d7e9b3445c390c9ae13d2a63e7df9385b1a2a7ff38cf5bce7151d51a4a482d94e2712684db7055dc78502f WHIRLPOOL 2d9f81480d75169e4e7dd6e7081dce9705c17347dba4e6579a6643b79a30d06589db21173a7ca33db352706067324103edebd5d5eb42d8f10a35c5754c0bb75a
+DIST sublime_text_3_build_3083_x64.tar.bz2 7505310 SHA256 4565c7f607b69ca6efa1751c739a11d42aeaf66d15987fbb9595e97e3ece14ee SHA512 a92c2ce4aa2e99d1c77cf65a8da8539d907bf28ea6190488d97e632c501f7d38182b8d6eec831387505fab61f7d0449de2797bc4f947a9198a2b0bc1280df386 WHIRLPOOL 00f01e3249600acd9eece42a6ee3a9b9421aac4546ade1130a835e13e559ba92978b2efab44af4ce472310173568bf40b4c48e16512f264c249faf569ce8b344
diff --git a/app-editors/sublime-text/sublime-text-3083.ebuild b/app-editors/sublime-text/sublime-text-3083.ebuild
new file mode 100644
index 00000000..0e2b70d9
--- /dev/null
+++ b/app-editors/sublime-text/sublime-text-3083.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+inherit eutils gnome2-utils
+
+# get the major version from PV
+MV="${PV:0:1}"
+
+MY_PN="sublime_text_${MV}"
+MY_P="Sublime%20Text"
+S="${WORKDIR}/${MY_PN}"
+
+DESCRIPTION="Sophisticated text editor for code, markup and prose"
+HOMEPAGE="http://www.sublimetext.com"
+
+BASE_URI="http://c758482.r82.cf2.rackcdn.com"
+SRC_URI="amd64? ( ${BASE_URI}/${MY_PN}_build_${PV}_x64.tar.bz2 )
+ x86? ( ${BASE_URI}/${MY_PN}_build_${PV}_x32.tar.bz2 )"
+LICENSE="Sublime"
+SLOT="${MV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="multislot dbus"
+RESTRICT="bindist mirror strip"
+
+DEPEND=">=media-libs/libpng-1.2.46
+ >=x11-libs/gtk+-2.24.8-r1:2
+ multislot? ( app-admin/eselect-sublime )
+ dbus? ( sys-apps/dbus )"
+RDEPEND="${DEPEND}"
+
+QA_PREBUILT="*"
+
+pkg_nofetch() {
+ eerror "Sublime Text official site seems to be unresponsive."
+}
+
+src_install() {
+ insinto /opt/${MY_PN}
+ into /opt/${MY_PN}
+ exeinto /opt/${MY_PN}
+ doins -r "Icon"
+ doins -r "Packages"
+ doins "python3.3.zip"
+ doins "sublime.py"
+ doins "sublime_plugin.py"
+ doexe "sublime_text"
+ doexe "plugin_host"
+ dosym "/opt/${MY_PN}/sublime_text" /usr/bin/subl${MV}
+
+ local size
+ for size in 16 32 48 128 256 ; do
+ insinto /usr/share/icons/hicolor/${size}x${size}/apps
+ newins "Icon/${size}x${size}/sublime-text.png" sublime_text.png
+ done
+
+ make_desktop_entry "subl${MV} %F" "Sublime Text ${MV}" sublime_text "Development;TextEditor" "StartupNotify=true"
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ if use multislot; then
+ eselect_sublime_update
+ else
+ einfo "using major version ${MV} as default"
+ dosym /usr/bin/subl${MV} /usr/bin/subl
+ fi
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
+
+eselect_sublime_update() {
+ einfo
+ elog "Updating Sublime Text to the latest installed version"
+ elog "you can select the version you want to use just using"
+ elog
+ elog "eselect sublime set sublime_text_2"
+ einfo
+ eselect sublime set sublime_text_${MV} --use-old
+}
diff --git a/app-misc/kogaion-skel/kogaion-skel-1.ebuild b/app-misc/kogaion-skel/kogaion-skel-1.ebuild
index db39da4d..47212eb5 100644
--- a/app-misc/kogaion-skel/kogaion-skel-1.ebuild
+++ b/app-misc/kogaion-skel/kogaion-skel-1.ebuild
@@ -44,6 +44,6 @@ pkg_postinst() {
pkg_prerm() {
if [ -x "/usr/bin/xdg-desktop-menu" ]; then
- xdg-desktop-menu uninstall /usr/share/kogaion/xdg/kogaion-argetn.directory /usr/share/kogaion/xdg/*.desktop
+ xdg-desktop-menu uninstall /usr/share/kogaion/xdg/kogaion-kogaion.directory /usr/share/kogaion/xdg/*.desktop
fi
}
diff --git a/app-office/archi/Manifest b/app-office/archi/Manifest
new file mode 100644
index 00000000..d40202ad
--- /dev/null
+++ b/app-office/archi/Manifest
@@ -0,0 +1 @@
+DIST Archi-lnx32_64-2.4.0.tar.gz 46073078 SHA256 114cb3e0d5f999cf079ed046689281b62cd5851e5b7e479d1201d71578fde25c SHA512 bb43a37e57024df40ba13105ce3c60a50d44a6b3e3e9af0a3c1c3f49e71cf600c7b36a2d786fb1386da8bdf5dc1085bad6a733390a625561b90bb25de91e4743 WHIRLPOOL 8122327c31bff84c97d806e32b4165b252c1e4a433e9ad918d44380c11df621330e515fa91a8ceef499cfe46d20abacd2780fa892ca88701acea4906717d5472
diff --git a/app-office/archi/archi-2.4.0.ebuild b/app-office/archi/archi-2.4.0.ebuild
new file mode 100644
index 00000000..d71649c7
--- /dev/null
+++ b/app-office/archi/archi-2.4.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+inherit eutils
+
+DESCRIPTION="A free, open source, cross-platform tool and editor to create ArchiMate models."
+HOMEPAGE="http://archi.cetis.ac.uk/"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+SRC_URI="http://archi.cetis.ac.uk/download/latest/Archi-lnx32_64-${PV}.tar.gz"
+IUSE="doc examples"
+RESTRICT="strip mirror"
+RDEPEND=">=virtual/jre-1.6"
+
+INSTALLDIR="/opt/Archi"
+S="${WORKDIR}/Archi"
+
+src_install() {
+ # application
+ insinto ${INSTALLDIR}
+ doins -r configuration plugins
+
+ # executables
+ if use x86; then
+ doins Archi32*
+ chmod 755 "${D}/${INSTALLDIR}/Archi32"
+ elif use amd64; then
+ doins Archi64*
+ chmod 755 "${D}/${INSTALLDIR}/Archi64"
+ fi
+
+ # icon
+ newicon -s 128 icon.xpm archi.xpm
+
+ # docs
+ if use doc; then
+ dodoc about.html
+ dodoc about_files/*
+ dodoc docs/*
+ fi
+
+ # examples
+ if use examples; then
+ dodoc -r examples
+ fi
+}
diff --git a/dev-python/compizconfig-python/Manifest b/dev-python/compizconfig-python/Manifest
index f961a78c..288e1b0c 100644
--- a/dev-python/compizconfig-python/Manifest
+++ b/dev-python/compizconfig-python/Manifest
@@ -1,18 +1 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
DIST compizconfig-python-0.8.4.tar.bz2 269812 SHA256 6734ae35ee69d081f35f98a89cd3bccb411a4db7c5b35fbd226270d95ac76f5a SHA512 3cd20014a7d0b186c9659ce104576d8e08e9e9f1f60bed4b7f4097c12ca4c49392621d2328abb50017c7d9f86af5b43675468b1cd4b5d128e23c24371c4af9ef WHIRLPOOL d2b92846acc25a134604a8773f96b5745b65864f4365e864b9a43e72bbaa7a277592911932886ca3e0af052240f3a56d89ff66799bba0afad58bc8b6d33ba2ac
-EBUILD compizconfig-python-0.8.4-r5.ebuild 1031 SHA256 d02a4609c23e2bac67a64012030c4ff5d69be396c806ec958dccc406d12dff63 SHA512 5164211433a6ff9204adadb31217f43fbf157e219dcea2f021795d5ba963ba548bf458d648176ddcdd50aae8583f5b48ba566fac85568a43435bf0f09806dc2c WHIRLPOOL 67478d26ec64a5debb809ad838cc16b930ed57d5cc396ab1ce1c094fc1b623baa9793441bf753b007f96e76e014078371dd72f8ee134cf609c0cf715ee00457e
-MISC ChangeLog 4949 SHA256 e396282ea97bd2a25c4a11800d177bdf023ee9fe10d9ecfc36cca959698651f9 SHA512 af5e6309fd27b666ed21f7d2ae5777b79db7f46d052fd61ed7fef3fc5682727ef0738e3786d9cfe853e7d766176492f9172d518a7f4bbe9d919ee725f15c5abc WHIRLPOOL 40c073f1bb176414b7cc8c3afa30c37c8376d73284e6fbfc152d0b2501d4767ea1a32a0eff731027dff9acc97102906c16ebe1aa7ca4e97c3a59e3228484dbe5
-MISC metadata.xml 251 SHA256 5cf6e4528fd87ffa1e34b06bcee06396740ed034a225a2c23ea4cae1422c345f SHA512 e4e6d39ee3d5861e9376fb1192ac71cbe1aa124f1f1b309194519ee1d3d380f4b55a4663f380176e1f1fb71c760983824046d372be47c1f737d1ab7499d9fa92 WHIRLPOOL 47c6903ee91d103ca457ab33b5c41752fa8369908b43be76240cada264cb224aa3e0d2a7a481937f6efa9e5fa4d9206824a06c193c5ea17517db87f5a60be609
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.20 (GNU/Linux)
-
-iQEcBAEBCAAGBQJSGhugAAoJECo/aRed9267lgcH/0BjUUzbnK1cqJcTRonbLZc2
-OmAfacOMWHlX7CWif1uIQZkxjOM2JXCURgZskKDqIeaF/7evXXmR5o4OXV0gu2Tl
-g0L1iFfYqGZ4FHyG3m/YpDpOQNRbl70iYuqWNnS9RVZYeZpGHQBVRBEiZJwZ/yJI
-a5N3Y6cl41flnq8CSKHaL1upBJ/3/pwzMU2UOrgHgQ9M/Pyy5BswX8Inup429qPg
-yhdN+SyDHNwmP7yE+SpZaCFG29ThMM1AElk6H2e0DHDXg0V0DOl3EFrJ78ymRk+w
-3BJSJoI4qIJ7c/DtxUx+X1h58cIdT+5AjaJrhdUUMO8Y/aKbxR4C7zWQusqjIm0=
-=fjZg
------END PGP SIGNATURE-----
diff --git a/dev-python/gdk-pixbuf/Manifest b/dev-python/gdk-pixbuf/Manifest
index 0862a829..a6fb0bec 100644
--- a/dev-python/gdk-pixbuf/Manifest
+++ b/dev-python/gdk-pixbuf/Manifest
@@ -1,5 +1 @@
-AUX gdk-pixbuf-2.21.4-fix-automagic-x11.patch 715 RMD160 efeaa25e97e7620018ae3ca5b62d74ff6e0fd0d1 SHA1 d67d28548ce340034f5afb0ca07b699fd1a0619e SHA256 e977da6d4731a0164b7346a790dfabb95a951f9986fa623abd171bce79f63bcb
-DIST gdk-pixbuf-2.24.0.tar.xz 1176324 RMD160 38e9896dd9a1ed6bf207509cd635828cebe674b8 SHA1 6a78751630a54fdef9a6a3928322c98e6c1ef60c SHA256 67c11d3aa40441c1cea42c365bf2d6a9a9dd52fae2d359a707ad5e8abb4d28a7
-EBUILD gdk-pixbuf-2.24.0-r1.ebuild 2845 RMD160 ccc538a207cd1dafbd668c3e94f14444a3fd8984 SHA1 64581e96f97860094003d33adb637cbc5fd83c86 SHA256 d125f224debd09c13f841a59d09c9db6c385907e897534173a8736c144a2e798
-MISC GENTOO 0 RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 SHA1 da39a3ee5e6b4b0d3255bfef95601890afd80709 SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
-MISC metadata.xml 285 RMD160 829826c3a3edd13d82bf87a4e6c1c08719f1549f SHA1 03e8b2cfc1956cfea91e8cedfa2451e68b2bf8e5 SHA256 8400998fc578bc9661b57a27ed3226941e4f75ef5bf7d9f929ed9de2d97ba8b0
+DIST gdk-pixbuf-2.24.0.tar.xz 1176324 SHA256 67c11d3aa40441c1cea42c365bf2d6a9a9dd52fae2d359a707ad5e8abb4d28a7
diff --git a/dev-python/pygobject-base/Manifest b/dev-python/pygobject-base/Manifest
index 541286cb..7c1e1f09 100644
--- a/dev-python/pygobject-base/Manifest
+++ b/dev-python/pygobject-base/Manifest
@@ -1,3 +1,4 @@
DIST pygobject-3.12.1.tar.xz 701872 SHA256 da5fe04759e862d347b26b53a6aea0affa7cbe858b7004475fa8c7929496da35 SHA512 095754d06507bb5c5d802603d8fd97fabcc3057172f1fe6f34138e9553281cc7b474a0dd9f235678718eccc4f7adee38b10ec1365d5fd8c4c61a47e4a24fd5a1 WHIRLPOOL 3cc3c96f7f644c17ef9c9704107af3ff0577da3a54258de208b048eee1cf8e329ed572b4d8cea6e336a9757d6f60a969ce9c84fdd9987abf114b3e79a4ee3c18
DIST pygobject-3.13.3.tar.xz 710452 SHA256 28c4d28c4083ce9c249cf7a8621a1452ecc557951650810a09bf946b21df7452 SHA512 3e8aca047f95d903e89bdfe0e24daf226a10a2bdf783142164fa22a11e6047da528d004711d289067b8cbd80d247c517b2a029cd4df11e54df7f6e6b907833a3 WHIRLPOOL b709d55b93986d7067c65be737c5824d9a26bf1d8ee3ab4c2a0193e24cfb29dea378407d4dbc41772d7ffa259bea1fbda43787a4aef68feafb1f27c416acdf0b
DIST pygobject-3.14.0.tar.xz 720128 SHA256 779effa93f4b59cdb72f4ab0128fb3fd82900bf686193b570fd3a8ce63392d54 SHA512 f6e1e5826a6afe81eb0a37bb554b433769622f8a0d17ac9836498425d70c4583cf8157027a555c21fd7a0d6686863c7803a350550665a375a906fccdabca2090 WHIRLPOOL 0a665504b792691238b89d2704ce1cc024f89ddf96fd6b626f1f5b05dbccfd633e61f9b45b0ca09873029c576b9804edcfa77e1bceae9e995be44a3fd60852ca
+DIST pygobject-3.16.1.tar.xz 725220 SHA256 7d96dad050f15ec1688617b749bb485811842de46a22d31f9396023e8eaa1ec3 SHA512 f32db7620b6714fdc780ec28c282566c0e662648a53f37b2466cbed609d1cbbbf998e30fd42d24ae1e5c0334656b04276dd3a8bf210f9b93f2bfb66f305f7a72 WHIRLPOOL 7f3257f1743510d1c602d797bce4722f6f987676dee4186b7026277f94412663bef0b1e70519030e890ad330eb2cb2cdb7ac7bf8060d9c4a0aca019bd7d4f1a2
diff --git a/dev-python/pygobject-base/files/3.16.1-unittest.patch b/dev-python/pygobject-base/files/3.16.1-unittest.patch
new file mode 100644
index 00000000..5ee15b1d
--- /dev/null
+++ b/dev-python/pygobject-base/files/3.16.1-unittest.patch
@@ -0,0 +1,15 @@
+Comment out unittest that ought to work but for some reason does not want to.
+
+--- a/tests/test_glib.py 2015-05-10 14:01:45.873164005 +0200
++++ b/tests/test_glib.py 2015-03-05 09:32:55.000000000 +0100
+@@ -38,8 +38,8 @@
+ def test_xdg_dirs(self):
+ d = GLib.get_user_data_dir()
+ self.assertTrue('/' in d, d)
+- d = GLib.get_user_special_dir(GLib.UserDirectory.DIRECTORY_MUSIC)
+- self.assertTrue('/' in d, d)
++ #d = GLib.get_user_special_dir(GLib.UserDirectory.DIRECTORY_MUSIC)
++ #self.assertTrue('/' in d, d)
+ with warnings.catch_warnings():
+ warnings.simplefilter('ignore', PyGIDeprecationWarning)
+
diff --git a/dev-python/pygobject-base/pygobject-base-3.16.1.ebuild b/dev-python/pygobject-base/pygobject-base-3.16.1.ebuild
new file mode 100644
index 00000000..a75c5052
--- /dev/null
+++ b/dev-python/pygobject-base/pygobject-base-3.16.1.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+GCONF_DEBUG="no"
+GNOME2_LA_PUNT="yes"
+PYTHON_COMPAT=( python{2_7,3_4} )
+
+REAL_PN="${PN/-base}"
+GNOME_ORG_MODULE="${REAL_PN}"
+
+inherit autotools eutils gnome2 python-r1 virtualx
+
+DESCRIPTION="GLib's GObject library bindings for Python"
+HOMEPAGE="https://wiki.gnome.org/Projects/PyGObject"
+
+LICENSE="LGPL-2.1+"
+SLOT="3"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="+cairo examples test +threads"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+COMMON_DEPEND="
+ >=dev-libs/glib-2.38:2
+ >=dev-libs/gobject-introspection-1.39
+ virtual/libffi:=
+ ${PYTHON_DEPS}
+"
+DEPEND="${COMMON_DEPEND}
+ virtual/pkgconfig
+ test? (
+ dev-libs/atk[introspection]
+ media-fonts/font-cursor-misc
+ media-fonts/font-misc-misc
+ x11-libs/gdk-pixbuf:2[introspection]
+ x11-libs/gtk+:3[introspection]
+ x11-libs/pango[introspection] )
+"
+# gnome-base/gnome-common required by eautoreconf
+
+# We now disable introspection support in slot 2 per upstream recommendation
+# (see https://bugzilla.gnome.org/show_bug.cgi?id=642048#c9); however,
+# older versions of slot 2 installed their own site-packages/gi, and
+# slot 3 will collide with them.
+RDEPEND="${COMMON_DEPEND}
+ !<dev-python/pygtk-2.13
+ !<dev-python/pygobject-2.28.6-r50:2[introspection]
+"
+
+src_prepare() {
+ # Comment out broken unittest
+ epatch "${FILESDIR}"/3.16.1-unittest.patch
+ gnome2_src_prepare
+ python_copy_sources
+}
+
+src_configure() {
+ # Hard-enable libffi support since both gobject-introspection and
+ # glib-2.29.x rdepend on it anyway
+ # docs disabled by upstream default since they are very out of date
+ python_foreach_impl run_in_build_dir \
+ gnome2_src_configure \
+ --disable-cairo \
+ $(use_enable threads thread)
+}
+
+src_compile() {
+ python_foreach_impl run_in_build_dir gnome2_src_compile
+}
+
+src_test() {
+ unset DBUS_SESSION_BUS_ADDRESS
+ export GIO_USE_VFS="local" # prevents odd issues with deleting ${T}/.gvfs
+ export GIO_USE_VOLUME_MONITOR="unix" # prevent udisks-related failures in chroots, bug #449484
+ export SKIP_PEP8="yes"
+ testing() {
+ export XDG_CACHE_HOME="${T}/${EPYTHON}"
+ run_in_build_dir Xemake check
+ unset XDG_CACHE_HOME
+ }
+ python_foreach_impl testing
+ unset GIO_USE_VFS
+}
+
+src_install() {
+ DOCS="AUTHORS ChangeLog* NEWS README"
+
+ python_foreach_impl run_in_build_dir gnome2_src_install
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}
diff --git a/dev-python/pygobject-cairo/Manifest b/dev-python/pygobject-cairo/Manifest
index 23f104b2..ec25c511 100644
--- a/dev-python/pygobject-cairo/Manifest
+++ b/dev-python/pygobject-cairo/Manifest
@@ -2,3 +2,4 @@ DIST pygobject-3.12.1.tar.xz 701872 SHA256 da5fe04759e862d347b26b53a6aea0affa7cb
DIST pygobject-3.13.3.tar.xz 710452 SHA256 28c4d28c4083ce9c249cf7a8621a1452ecc557951650810a09bf946b21df7452 SHA512 3e8aca047f95d903e89bdfe0e24daf226a10a2bdf783142164fa22a11e6047da528d004711d289067b8cbd80d247c517b2a029cd4df11e54df7f6e6b907833a3 WHIRLPOOL b709d55b93986d7067c65be737c5824d9a26bf1d8ee3ab4c2a0193e24cfb29dea378407d4dbc41772d7ffa259bea1fbda43787a4aef68feafb1f27c416acdf0b
DIST pygobject-3.14.0.tar.xz 720128 SHA256 779effa93f4b59cdb72f4ab0128fb3fd82900bf686193b570fd3a8ce63392d54 SHA512 f6e1e5826a6afe81eb0a37bb554b433769622f8a0d17ac9836498425d70c4583cf8157027a555c21fd7a0d6686863c7803a350550665a375a906fccdabca2090 WHIRLPOOL 0a665504b792691238b89d2704ce1cc024f89ddf96fd6b626f1f5b05dbccfd633e61f9b45b0ca09873029c576b9804edcfa77e1bceae9e995be44a3fd60852ca
DIST pygobject-3.15.0.tar.xz 722740 SHA256 ba6e9a0a2ca3942e3e35343b4b306b6560104eb5cf632a0cdcfe96999ac9be8d SHA512 e7895c89be6ec30c98e6c4fd15355cf2e53024fc31c82f1c6bc9155951d45b20baa6b2d4157c58588fcd6814051487b499c224ed8df057583b79c4f8e0954ffa WHIRLPOOL aa1865b763851f454ab1910ed99d1c11613f165e221d40ed25df57f645181f42690d856075deb58083d61753ebde51ddc72f3909865acb976887a98de6690a17
+DIST pygobject-3.16.1.tar.xz 725220 SHA256 7d96dad050f15ec1688617b749bb485811842de46a22d31f9396023e8eaa1ec3 SHA512 f32db7620b6714fdc780ec28c282566c0e662648a53f37b2466cbed609d1cbbbf998e30fd42d24ae1e5c0334656b04276dd3a8bf210f9b93f2bfb66f305f7a72 WHIRLPOOL 7f3257f1743510d1c602d797bce4722f6f987676dee4186b7026277f94412663bef0b1e70519030e890ad330eb2cb2cdb7ac7bf8060d9c4a0aca019bd7d4f1a2
diff --git a/dev-python/pygobject-cairo/files/3.16.1-unittest.patch b/dev-python/pygobject-cairo/files/3.16.1-unittest.patch
new file mode 100644
index 00000000..5ee15b1d
--- /dev/null
+++ b/dev-python/pygobject-cairo/files/3.16.1-unittest.patch
@@ -0,0 +1,15 @@
+Comment out unittest that ought to work but for some reason does not want to.
+
+--- a/tests/test_glib.py 2015-05-10 14:01:45.873164005 +0200
++++ b/tests/test_glib.py 2015-03-05 09:32:55.000000000 +0100
+@@ -38,8 +38,8 @@
+ def test_xdg_dirs(self):
+ d = GLib.get_user_data_dir()
+ self.assertTrue('/' in d, d)
+- d = GLib.get_user_special_dir(GLib.UserDirectory.DIRECTORY_MUSIC)
+- self.assertTrue('/' in d, d)
++ #d = GLib.get_user_special_dir(GLib.UserDirectory.DIRECTORY_MUSIC)
++ #self.assertTrue('/' in d, d)
+ with warnings.catch_warnings():
+ warnings.simplefilter('ignore', PyGIDeprecationWarning)
+
diff --git a/dev-python/pygobject-cairo/pygobject-cairo-3.16.1.ebuild b/dev-python/pygobject-cairo/pygobject-cairo-3.16.1.ebuild
new file mode 100644
index 00000000..8f57d7c7
--- /dev/null
+++ b/dev-python/pygobject-cairo/pygobject-cairo-3.16.1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+GCONF_DEBUG="no"
+GNOME2_LA_PUNT="yes"
+PYTHON_COMPAT=( python{2_7,3_4} )
+
+REAL_PN="${PN/-cairo}"
+GNOME_ORG_MODULE="${REAL_PN}"
+
+inherit autotools eutils gnome2 python-r1 virtualx
+
+DESCRIPTION="GLib's GObject library bindings for Python, Cairo Libraries"
+HOMEPAGE="http://www.pygtk.org/"
+
+LICENSE="LGPL-2.1+"
+SLOT="3"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="+threads"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+COMMON_DEPEND="
+ ~dev-python/pygobject-base-${PV}[threads=]
+ >=dev-python/pycairo-1.10.0[${PYTHON_USEDEP}]
+ ${PYTHON_DEPS}"
+DEPEND="${COMMON_DEPEND}
+ x11-libs/cairo[glib]
+ gnome-base/gnome-common"
+RDEPEND="${COMMON_DEPEND}
+ !<dev-python/pygtk-2.13
+ !<dev-python/pygobject-2.28.6-r50:2[introspection]"
+
+# gnome-base/gnome-common required by eautoreconf
+
+src_prepare() {
+ # Comment out broken unittest
+ epatch "${FILESDIR}"/3.16.1-unittest.patch
+ gnome2_src_prepare
+ python_copy_sources
+}
+
+src_configure() {
+ # Hard-enable libffi support since both gobject-introspection and
+ # glib-2.29.x rdepend on it anyway
+ # docs disabled by upstream default since they are very out of date
+ python_foreach_impl run_in_build_dir \
+ gnome2_src_configure \
+ --enable-cairo \
+ $(use_enable threads thread)
+}
+
+src_compile() {
+ python_foreach_impl run_in_build_dir gnome2_src_compile
+}
+
+src_install() {
+ DOCS="AUTHORS ChangeLog* NEWS README"
+
+ python_foreach_impl run_in_build_dir gnome2_src_install
+ # just keep /usr/$(get_libdir)/*/site-packages/gi/_gi_cairo*.so
+ # discard the rest
+
+ # /usr/lib64/python2.7/site-packages/gi/_gi_cairo.so
+ # /usr/lib64/python3.3/site-packages/gi/_gi_cairo.cpython-33.so
+ # /usr/lib64/python3.4/site-packages/gi/_gi_cairo.cpython-34.so
+
+ rm $(find "${ED}" -type f | grep -v "gi/_gi_cairo.*\.so") \
+ $(find "${ED}" -type l | grep -v "gi/_gi_cairo.*\.so") || die
+ find "${ED}" -depth -type d -empty -exec rmdir {} \; || die
+}
diff --git a/dev-python/pygobject/metadata.xml b/dev-python/pygobject/metadata.xml
index ea70bd5c..9b1bc26a 100644
--- a/dev-python/pygobject/metadata.xml
+++ b/dev-python/pygobject/metadata.xml
@@ -3,8 +3,4 @@
<pkgmetadata>
<herd>gnome</herd>
<herd>python</herd>
-<use>
- <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg> for
- introspection</flag>
-</use>
</pkgmetadata>
diff --git a/dev-python/pygobject/pygobject-3.16.1.ebuild b/dev-python/pygobject/pygobject-3.16.1.ebuild
new file mode 100644
index 00000000..1c755cf9
--- /dev/null
+++ b/dev-python/pygobject/pygobject-3.16.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+PYTHON_COMPAT=( python{2_7,3_4} )
+
+inherit python-r1
+
+DESCRIPTION="GLib's GObject library bindings for Python, meta package"
+HOMEPAGE="https://wiki.gnome.org/Projects/PyGObject"
+
+LICENSE="LGPL-2.1+"
+SLOT="3"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="+cairo examples test +threads"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+COMMON_DEPEND="
+ ~dev-python/pygobject-base-${PV}[threads=,examples=,test=,${PYTHON_USEDEP}]
+ cairo? ( ~dev-python/pygobject-cairo-${PV}[threads=,${PYTHON_USEDEP}] )
+"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
diff --git a/dev-python/pymaxe/Manifest b/dev-python/pymaxe/Manifest
index 2cbcfe25..faeb836e 100644
--- a/dev-python/pymaxe/Manifest
+++ b/dev-python/pymaxe/Manifest
@@ -1,2 +1 @@
DIST pymaxe.tar.gz 195654 SHA256 3532b56bf3fbf9188f81684cb4148099ea9fbb870234495dcdef095933724c36 SHA512 6f9bbdf2fe3b63cd1186c64716303a75dc1a69378cddca76abb5003ccd95d01741d637a36f6272c5377149c3517e2fb1fa105977e9b46bedf1e1ea81e9394471 WHIRLPOOL e7ce1674aa0cb5ed521beb04117d81401f9e6cd461eb7d60c3e5d4daaff3269abecedd95403fa924b3242a3b94b4331819e7e2478c891f7ba83c1139701f0d84
-EBUILD pymaxe-20130303.ebuild 476 SHA256 1c40a47ef9c64f6614bb65d970d455d3e7bc71127f07116fd8bfe18a5592dd3a SHA512 e87a3f5e375b1011839cb8642dd4b2459c2c898b12086945dcdd8aba58268a326e4dc22046de9b7f25dd0cb4e2cd990eaff8f974054533687e0e03d9fd9fec60 WHIRLPOOL 2fb9835b84c0a6bb51b0e9ee04e8e7ec2e5f0ba6c7e25aaa6e259d78a54970c53160f3447fc0046e4fa795d5220c39343d1bece6004a0dae73ef100d4cce13eb
diff --git a/dev-python/pysmbc/Manifest b/dev-python/pysmbc/Manifest
index d96b52a1..d7d03e0b 100644
--- a/dev-python/pysmbc/Manifest
+++ b/dev-python/pysmbc/Manifest
@@ -1,2 +1 @@
-DIST pysmbc-1.0.13.tar.bz2 20795 RMD160 ed573822da34210aa6e0f9c09159de75db0aa505 SHA1 bf37346af4a6b543f7f91c46d0d1d0cc6020db32 SHA256 479fbb70d97fb64208d95975dc745f06f75661f954a8cbb988fe8b5bce4f379b
-EBUILD pysmbc-1.0.13.ebuild 409 RMD160 07a0d9727c3300ec4f57f1e00a9a865d71e52fb6 SHA1 995ae53230058273e1ea62f016be22608efc5d96 SHA256 2a863812aa96941b867446de0aea974bce5a8b9fa51144f395d5df66b9524e02
+DIST pysmbc-1.0.13.tar.bz2 20795 SHA256 479fbb70d97fb64208d95975dc745f06f75661f954a8cbb988fe8b5bce4f379b
diff --git a/dev-python/python-blivet/Manifest b/dev-python/python-blivet/Manifest
new file mode 100644
index 00000000..50286488
--- /dev/null
+++ b/dev-python/python-blivet/Manifest
@@ -0,0 +1 @@
+DIST blivet-0.23.9-1.tar.gz 230824 SHA256 4cf312640c7cf040e621f997cd16496b67b84f98a70cb9aee4adce4f3353abd7 SHA512 8ca5484291b1531c7af7f2122b6a05177b685f3f112d146d382fdd6e940c8e9c51c200439d7f0fe0fd9d80e5ae0bd1ae53c07d90159c1c63aa5fa6c739789b3e WHIRLPOOL ab1bf6d45f43172e15f8f149528fb02c615677b634cfde3780c2ff5f40b63e7c67d1ca844531aaeb4f33fa39404677268de1d7ecc8bf0e432ac0143138237a97
diff --git a/dev-python/python-blivet/files/0001-Update-package-names-to-reflect-Gentoo-ones.patch b/dev-python/python-blivet/files/0001-Update-package-names-to-reflect-Gentoo-ones.patch
new file mode 100644
index 00000000..142ad49c
--- /dev/null
+++ b/dev-python/python-blivet/files/0001-Update-package-names-to-reflect-Gentoo-ones.patch
@@ -0,0 +1,144 @@
+From 149d6e87069036aec413834ff93fa59fb9db2ab6 Mon Sep 17 00:00:00 2001
+From: Fabio Erculiani <lxnay@sabayon.org>
+Date: Sat, 10 May 2014 14:01:13 +0100
+Subject: [PATCH] Update package names to reflect Gentoo ones
+
+---
+ blivet/devices.py | 10 +++++-----
+ blivet/formats/fs.py | 4 ++--
+ blivet/formats/luks.py | 2 +-
+ blivet/formats/multipath.py | 2 +-
+ blivet/platform.py | 6 +++---
+ 5 files changed, 12 insertions(+), 12 deletions(-)
+
+diff --git a/blivet/devices.py b/blivet/devices.py
+index 1af4e00..137a61b 100644
+--- a/blivet/devices.py
++++ b/blivet/devices.py
+@@ -1987,7 +1987,7 @@ class DMCryptDevice(DMDevice):
+ class LUKSDevice(DMCryptDevice):
+ """ A mapped LUKS device. """
+ _type = "luks/dm-crypt"
+- _packages = ["cryptsetup-luks"]
++ _packages = ["cryptsetup"]
+
+ def __init__(self, name, format=None, size=None, uuid=None,
+ exists=False, sysfsPath='', parents=None):
+@@ -3612,7 +3612,7 @@ class DMRaidArrayDevice(DMDevice):
+ class MultipathDevice(DMDevice):
+ """ A multipath device """
+ _type = "dm-multipath"
+- _packages = ["device-mapper-multipath"]
++ _packages = ["multipath-tools"]
+ _services = ["multipathd"]
+ _partitionable = True
+ _isDisk = True
+@@ -3990,7 +3990,7 @@ class LoopDevice(StorageDevice):
+ class iScsiDiskDevice(DiskDevice, NetworkStorageDevice):
+ """ An iSCSI disk. """
+ _type = "iscsi"
+- _packages = ["iscsi-initiator-utils", "dracut-network"]
++ _packages = ["open-iscsi"]
+
+ def __init__(self, device, **kwargs):
+ self.node = kwargs.pop("node")
+@@ -4055,7 +4055,7 @@ class iScsiDiskDevice(DiskDevice, NetworkStorageDevice):
+ class FcoeDiskDevice(DiskDevice, NetworkStorageDevice):
+ """ An FCoE disk. """
+ _type = "fcoe"
+- _packages = ["fcoe-utils", "dracut-network"]
++ _packages = ["fcoe-utils"]
+
+ def __init__(self, device, **kwargs):
+ self.nic = kwargs.pop("nic")
+@@ -4227,7 +4227,7 @@ class DASDDevice(DiskDevice):
+ class NFSDevice(StorageDevice, NetworkStorageDevice):
+ """ An NFS device """
+ _type = "nfs"
+- _packages = ["dracut-network"]
++ _packages = []
+
+ def __init__(self, device, format=None, parents=None):
+ # we could make host/ip, path, &c but will anything use it?
+diff --git a/blivet/formats/fs.py b/blivet/formats/fs.py
+index 103717e..a03d3b6 100644
+--- a/blivet/formats/fs.py
++++ b/blivet/formats/fs.py
+@@ -1153,7 +1153,7 @@ class ReiserFS(FS):
+ _supported = False
+ _dump = True
+ _check = True
+- _packages = ["reiserfs-utils"]
++ _packages = ["reiserfsprogs"]
+ _infofs = "debugreiserfs"
+ _defaultInfoOptions = []
+ _existingSizeFields = ["Count of blocks on the device:", "Blocksize:"]
+@@ -1255,7 +1255,7 @@ class HFSPlus(FS):
+ _udevTypes = ["hfsplus"]
+ _mkfs = "mkfs.hfsplus"
+ _fsck = "fsck.hfsplus"
+- _packages = ["hfsplus-tools"]
++ _packages = ["hfsutils"]
+ _formattable = True
+ _mountType = "hfsplus"
+ _minSize = 1
+diff --git a/blivet/formats/luks.py b/blivet/formats/luks.py
+index 8f9ae7b..0eea209 100644
+--- a/blivet/formats/luks.py
++++ b/blivet/formats/luks.py
+@@ -49,7 +49,7 @@ class LUKS(DeviceFormat):
+ _formattable = True # can be formatted
+ _supported = False # is supported
+ _linuxNative = True # for clearpart
+- _packages = ["cryptsetup-luks"] # required packages
++ _packages = ["cryptsetup"] # required packages
+ _minSize = crypto.LUKS_METADATA_SIZE
+
+ def __init__(self, *args, **kwargs):
+diff --git a/blivet/formats/multipath.py b/blivet/formats/multipath.py
+index 2d6a5f3..b5c808b 100644
+--- a/blivet/formats/multipath.py
++++ b/blivet/formats/multipath.py
+@@ -39,7 +39,7 @@ class MultipathMember(DeviceFormat):
+ _formattable = False # can be formatted
+ _supported = True # is supported
+ _linuxNative = False # for clearpart
+- _packages = ["device-mapper-multipath"] # required packages
++ _packages = ["multipath-tools"] # required packages
+ _resizable = False # can be resized
+ _maxSize = 0 # maximum size in MB
+ _minSize = 0 # minimum size in MB
+diff --git a/blivet/platform.py b/blivet/platform.py
+index 31c4f50..f5d4dda 100644
+--- a/blivet/platform.py
++++ b/blivet/platform.py
+@@ -129,7 +129,7 @@ class Platform(object):
+ def packages (self):
+ _packages = self._packages
+ if flags.boot_cmdline.get('fips', None) == '1':
+- _packages.append('dracut-fips')
++ _packages.append('sys-kernel/dracut')
+ return _packages
+
+ def setDefaultPartitioning(self):
+@@ -211,7 +211,7 @@ class MacEFI(EFI):
+ _boot_stage1_format_types = ["macefi"]
+ _boot_efi_description = N_("Apple EFI Boot Partition")
+ _non_linux_format_types = ["macefi"]
+- _packages = ["mactel-boot"]
++ _packages = []
+
+ def setDefaultPartitioning(self):
+ ret = Platform.setDefaultPartitioning(self)
+@@ -276,7 +276,7 @@ class PS3(PPC):
+ pass
+
+ class S390(Platform):
+- _packages = ["s390utils"]
++ _packages = ["sys-apps/s390-tools"]
+ _disklabel_types = ["msdos", "dasd"]
+ _boot_stage1_device_types = ["disk", "partition"]
+ _boot_dasd_description = N_("DASD")
+--
+1.9.2
+
diff --git a/dev-python/python-blivet/files/0001-devices-enable-UUID-for-dm-based-devices-in-fstab.patch b/dev-python/python-blivet/files/0001-devices-enable-UUID-for-dm-based-devices-in-fstab.patch
new file mode 100644
index 00000000..5b795345
--- /dev/null
+++ b/dev-python/python-blivet/files/0001-devices-enable-UUID-for-dm-based-devices-in-fstab.patch
@@ -0,0 +1,28 @@
+From f026c2980c7c82599427645f7cd36e18bc02536f Mon Sep 17 00:00:00 2001
+From: Fabio Erculiani <lxnay@sabayon.org>
+Date: Sun, 11 May 2014 21:18:37 +0100
+Subject: [PATCH] devices: enable UUID= for dm-based devices in fstab
+
+---
+ blivet/devices.py | 5 -----
+ 1 file changed, 5 deletions(-)
+
+diff --git a/blivet/devices.py b/blivet/devices.py
+index 137a61b..714c849 100644
+--- a/blivet/devices.py
++++ b/blivet/devices.py
+@@ -1820,11 +1820,6 @@ class DMDevice(StorageDevice):
+ return d
+
+ @property
+- def fstabSpec(self):
+- """ Return the device specifier for use in /etc/fstab. """
+- return self.path
+-
+- @property
+ def mapName(self):
+ """ This device's device-mapper map name """
+ return self.name
+--
+1.9.2
+
diff --git a/dev-python/python-blivet/files/python-blivet-commit-to-disk-settle.patch b/dev-python/python-blivet/files/python-blivet-commit-to-disk-settle.patch
new file mode 100644
index 00000000..17de6606
--- /dev/null
+++ b/dev-python/python-blivet/files/python-blivet-commit-to-disk-settle.patch
@@ -0,0 +1,12 @@
+diff --git a/blivet/formats/disklabel.py b/blivet/formats/disklabel.py
+index 5015548..9071596 100644
+--- a/blivet/formats/disklabel.py
++++ b/blivet/formats/disklabel.py
+@@ -304,6 +304,7 @@ class DiskLabel(DeviceFormat):
+ raise DiskLabelCommitError(msg)
+ else:
+ self.updateOrigPartedDisk()
++ udev_settle()
+
+ def addPartition(self, *args, **kwargs):
+ partition = kwargs.get("partition", None)
diff --git a/dev-python/python-blivet/files/python-blivet-udev-path.patch b/dev-python/python-blivet/files/python-blivet-udev-path.patch
new file mode 100644
index 00000000..013080b8
--- /dev/null
+++ b/dev-python/python-blivet/files/python-blivet-udev-path.patch
@@ -0,0 +1,11 @@
+--- a/blivet/pyudev.py
++++ b/blivet/pyudev.py
+@@ -9,7 +9,7 @@ from ctypes import CDLL, c_char_p, c_int
+ # XXX this one may need some tweaking...
+ def find_library(name, somajor=0):
+ env = os.environ.get("LD_LIBRARY_PATH")
+- common = ["/lib64", "/lib"]
++ common = ["/lib64", "/lib", "/usr/lib64", "/usr/lib"]
+
+ if env:
+ libdirs = env.split(":") + common
diff --git a/dev-python/python-blivet/files/python-blivet-workaround-disable-multipath.patch b/dev-python/python-blivet/files/python-blivet-workaround-disable-multipath.patch
new file mode 100644
index 00000000..0102e10d
--- /dev/null
+++ b/dev-python/python-blivet/files/python-blivet-workaround-disable-multipath.patch
@@ -0,0 +1,9 @@
+--- a/blivet/devicelibs/mpath.py
++++ b/blivet/devicelibs/mpath.py
+@@ -11,4 +11,5 @@ def flush_mpaths():
+ log.error("multipath: some devices could not be flushed")
+
+ def is_multipath_member(path):
+- return (util.run_program(["multipath", "-c", path]) == 0)
++ return False
++ # return (util.run_program(["multipath", "-c", path]) == 0)
diff --git a/mate-base/mate-applets/metadata.xml b/dev-python/python-blivet/metadata.xml
index dca1781c..de483c53 100644
--- a/mate-base/mate-applets/metadata.xml
+++ b/dev-python/python-blivet/metadata.xml
@@ -1,8 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer>
- <email>TomWij@gentoo.org</email>
- <name>Tom Wijsman</name>
- </maintainer>
+<herd>python</herd>
</pkgmetadata>
diff --git a/dev-python/python-blivet/python-blivet-0.23.9-r3.ebuild b/dev-python/python-blivet/python-blivet-0.23.9-r3.ebuild
new file mode 100644
index 00000000..db930029
--- /dev/null
+++ b/dev-python/python-blivet/python-blivet-0.23.9-r3.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit eutils distutils
+
+REAL_PN="${PN/python-}"
+
+DESCRIPTION="python module for examining and modifying storage configuration."
+HOMEPAGE="https://fedoraproject.org/wiki/Blivet"
+SRC_URI="https://github.com/Sabayon/${REAL_PN}/archive/${REAL_PN}-${PV}-1.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-util/pykickstart-1.99.22
+ >=sys-apps/util-linux-2.15.1
+ >=sys-block/parted-1.8.1
+ sys-fs/cryptsetup
+ >=dev-python/python-cryptsetup-0.1.1
+ sys-fs/mdadm
+ sys-fs/dosfstools
+ >=sys-fs/e2fsprogs-1.41.0
+ sys-fs/btrfs-progs
+ >=dev-python/pyblock-0.45
+ sys-fs/multipath-tools
+ sys-process/lsof
+ "
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${REAL_PN}-${REAL_PN}-${PV}-1"
+
+src_prepare() {
+ # libudev in Gentoo is in /usr/lib64 if systemd
+ epatch "${FILESDIR}/${PN}-udev-path.patch"
+
+ # multipath -c hangs on x86 due to a libc bug
+ # Temporarily disable this
+ use x86 && epatch "${FILESDIR}/${PN}-workaround-disable-multipath.patch"
+
+ # Fix package names
+ epatch "${FILESDIR}/0001-Update-package-names-to-reflect-Gentoo-ones.patch"
+ # enable UUID= support for dm-based devices (dmcrypt, md, etc)
+ epatch "${FILESDIR}/0001-devices-enable-UUID-for-dm-based-devices-in-fstab.patch"
+
+ # Sabayon: commitToDisk should wait on udev. There is a missing udev_settle() call.
+ epatch "${FILESDIR}/${PN}-commit-to-disk-settle.patch"
+
+ distutils_src_prepare
+}
diff --git a/dev-python/python-report/files/bugs.sabayon.org.ini b/dev-python/python-report/files/bugs.kogaion.org.ini
index 9fa29826..2bb98c9c 100644
--- a/dev-python/python-report/files/bugs.sabayon.org.ini
+++ b/dev-python/python-report/files/bugs.kogaion.org.ini
@@ -1,9 +1,9 @@
-[bugs.sabayon.org]
+[bugs.rogentos.ro]
# template
template=bugzilla-template
# rhbz url
-bugzilla_host=bugs.sabayon.org
+bugzilla_host=bugs.rogentos.ro
# rhbz login, a password is always asked.
# username=user@example.com
diff --git a/dev-python/python-report/python-report-0.10-r1.ebuild b/dev-python/python-report/python-report-0.10-r1.ebuild
index b2c37da1..cd4a57b6 100644
--- a/dev-python/python-report/python-report-0.10-r1.ebuild
+++ b/dev-python/python-report/python-report-0.10-r1.ebuild
@@ -54,8 +54,8 @@ src_install() {
rm "${D}"/etc/report.d/dropbox.redhat.com.ini
rm "${D}"/etc/report.d/bugzilla.redhat.com.ini
- # XXX: {not yet implemented} install Sabayon configuration
- # cp "${FILESDIR}"/bugs.sabayon.org.ini "${D}/etc/report.d/"
+ # XXX: {not yet implemented} install Kogaion configuration
+ # cp "${FILESDIR}"/bugs.rogentos.ro.ini "${D}/etc/report.d/"
find "${D}"/ -name "bugzilla-template" -type d | xargs rm -rf
find "${D}"/ -name "RHEL-template" -type d | xargs rm -rf
find "${D}"/ -name "strata-template" -type d | xargs rm -rf
diff --git a/dev-python/pyvlc/Manifest b/dev-python/pyvlc/Manifest
deleted file mode 100644
index 0ab08d99..00000000
--- a/dev-python/pyvlc/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-EBUILD pyvlc-1.0.ebuild 854 SHA256 4bc104f41d0b9efdca7c0c064e4160dc8ab0da58777cac8e6c95d9f02ce980ef SHA512 c41f96dbad375d9859d3cd9825b2ca6b053228f4e9291b9e2b3e6c71df022d074c1dd2c96934812950f4843d556fdcbc977d1a4c614be6f9064c3c5ad17f2852 WHIRLPOOL 6755d10ae194fbba7a47cf390755dd11bf774f6e7b389b53f18b341b66327d7e543ddc8758f6007f6119fab8750c3ab2f433df2ebc40bbdacf28c4fea35688ca
-EBUILD pyvlc-9999.ebuild 854 SHA256 4bc104f41d0b9efdca7c0c064e4160dc8ab0da58777cac8e6c95d9f02ce980ef SHA512 c41f96dbad375d9859d3cd9825b2ca6b053228f4e9291b9e2b3e6c71df022d074c1dd2c96934812950f4843d556fdcbc977d1a4c614be6f9064c3c5ad17f2852 WHIRLPOOL 6755d10ae194fbba7a47cf390755dd11bf774f6e7b389b53f18b341b66327d7e543ddc8758f6007f6119fab8750c3ab2f433df2ebc40bbdacf28c4fea35688ca
diff --git a/dev-python/qtstatemachine/Manifest b/dev-python/qtstatemachine/Manifest
index aada8f2b..e0bd0c51 100644
--- a/dev-python/qtstatemachine/Manifest
+++ b/dev-python/qtstatemachine/Manifest
@@ -1,6 +1 @@
-AUX qstatemachines_add_CMake_support.patch_003 4827 RMD160 b462cf9d1c91cc6af0dfe0ffe1d4c1df68ec51ad SHA1 3323225f77d9fba7ec3431f53775883f0d15b439 SHA256 4822daf62e6e266e00220da108300e8c4cafadf2bcb08e973d9f721d004d357e
-AUX qstatemachines_fix_compound_state.patch_002 2809 RMD160 87788328b902681f10c736f0a39d7b828509429a SHA1 ffed349fa3087f435b92eeb8c8c08074f9865f35 SHA256 58d9330eec0d22f9f54fb18276ea86fbaeee95a762a33a2d95c011270bbe3b40
-AUX qstatemachines_fix_history.patch_001 7507 RMD160 2417563f065816d8012587633e7fa921009676ee SHA1 e03a79b912a305ac0c8c3467994845a970fe0aaf SHA256 eec10835e5733dc9554cf7dd814bdad02f8183b28a32f949004059ce6ce30771
-DIST qtstatemachine-1.1-opensource.tar.gz 1339216 RMD160 102189d7bbb9d2260b1b15020f37f5a078dd8098 SHA1 25a748433bf1807165d176957710739a653c51a4 SHA256 141b78bccb709c203c62bb16c7a328b024d71e83263438e3e65d49c49d9486bd
-EBUILD qtstatemachine-1.1-r1.ebuild 925 RMD160 1064b64d8dae03aa6b82bb2f85d5be32fdc96086 SHA1 73b7efa14d2af213faf4fb7d4696e3a0a523cea9 SHA256 0876be0b8faea518b038a5d880b8f9b55bdf61f4f1701ea0b36a821eb61d4fad
-EBUILD qtstatemachine-1.1.ebuild 1024 RMD160 eced99f95ad1f4d24a9334acdcb73ebe37864b54 SHA1 64d9b1d191a6243bf14a889b8a0b5cbf65b6cbbb SHA256 da925a8b35bc4ca53f31486d03942192074ebd877798ad41dc0e51d5a8e5a188
+DIST qtstatemachine-1.1-opensource.tar.gz 1339216 SHA256 141b78bccb709c203c62bb16c7a328b024d71e83263438e3e65d49c49d9486bd
diff --git a/eclass/sabayon-artwork.eclass b/eclass/argent-artwork.eclass
index f0aac62d..f430903a 100644
--- a/eclass/sabayon-artwork.eclass
+++ b/eclass/argent-artwork.eclass
@@ -13,12 +13,12 @@ KERN_INITRAMFS_SEARCH_NAME="${KERN_INITRAMFS_SEARCH_NAME:-initramfs-genkernel*}"
# @ECLASS-VARIABLE: GFX_SPLASH_NAME
# @DESCRIPTION:
# Default splash theme name to use
-GFX_SPLASH_NAME="${GFX_SPLASH_NAME:-sabayon}"
+GFX_SPLASH_NAME="${GFX_SPLASH_NAME:-argent}"
# @ECLASS-VARIABLE: PLYMOUTH_THEME
# @DESCRIPTION:
# Default plymouth theme name to use
-PLYMOUTH_THEME="${PLYMOUTH_THEME:-sabayon}"
+PLYMOUTH_THEME="${PLYMOUTH_THEME:-argent}"
# @FUNCTION: update_kernel_initramfs_splash
# @USAGE: update_kernel_initramfs_splash [splash_theme] [splash_file]
@@ -39,12 +39,12 @@ update_kernel_initramfs_splash() {
}
-# @FUNCTION: update_sabayon_kernel_initramfs_splash
-# @USAGE: update_sabayon_kernel_initramfs_splash
+# @FUNCTION: update_argent_kernel_initramfs_splash
+# @USAGE: update_argent_kernel_initramfs_splash
#
# @MAINTAINER:
# Fabio Erculiani
-update_sabayon_kernel_initramfs_splash() {
+update_argent_kernel_initramfs_splash() {
local splash_name="${GFX_SPLASH_NAME}"
local override_splash_file="${ROOT}etc/oem/splash_name"
if [ -f "${override_splash_file}" ]; then
diff --git a/eclass/sabayon-kernel.eclass b/eclass/argent-kernel.eclass
index 710aa0a7..f5d200ac 100644
--- a/eclass/sabayon-kernel.eclass
+++ b/eclass/argent-kernel.eclass
@@ -1,47 +1,47 @@
-# Copyright 2004-2010 Sabayon Project
+# Copyright 2004-2014 RogentOS Team
# Distributed under the terms of the GNU General Public License v2
# $
-# @ECLASS-VARIABLE: K_SABKERNEL_NAME
+# @ECLASS-VARIABLE: K_ARGKERNEL_NAME
# @DESCRIPTION:
# The kernel name used by the ebuild, it should be the ending ${PN} part
-# for example, of linux-sabayon it is "${PN/${PN/-*}-}" (sabayon)
-K_SABKERNEL_NAME="${K_SABKERNEL_NAME:-${PN/${PN/-*}-}}"
+# for example, of linux-argent it is "${PN/${PN/-*}-}" (argent)
+K_ARGKERNEL_NAME="${K_ARGKERNEL_NAME:-${PN/${PN/-*}-}}"
-# @ECLASS-VARIABLE: K_SABKERNEL_SELF_TARBALL_NAME
+# @ECLASS-VARIABLE: K_ARGKERNEL_SELF_TARBALL_NAME
# @DESCRIPTION:
# If the main kernel sources tarball is generated in-house and available
-# on the "sabayon" mirror, set this variable to the extension name (see example
+# on the "argent" mirror, set this variable to the extension name (see example
# below). This will disable ALL the extra/local patches (since they have to
-# be applied inside the tarball). Moreover, K_SABKERNEL_NAME,
+# be applied inside the tarball). Moreover, K_ARGKERNEL_NAME,
# K_KERNEL_PATCH_VER will be ignored.
# Example:
-# K_SABKERNEL_SELF_TARBALL_NAME="sabayon"
+# K_ARGKERNEL_SELF_TARBALL_NAME="argent"
# This would generate:
-# SRC_URI="mirror://sabayon/sys-kernel/linux-${PV}+sabayon.tar.${K_TARBALL_EXT}"
-K_SABKERNEL_SELF_TARBALL_NAME="${K_SABKERNEL_SELF_TARBALL_NAME:-}"
+# SRC_URI="mirror://argent/sys-kernel/linux-${PV}+argent.tar.${K_TARBALL_EXT}"
+K_ARGKERNEL_SELF_TARBALL_NAME="${K_ARGKERNEL_SELF_TARBALL_NAME:-}"
-# @ECLASS-VARIABLE: K_SABKERNEL_PATCH_UPSTREAM_TARBALL
+# @ECLASS-VARIABLE: K_ARGKERNEL_PATCH_UPSTREAM_TARBALL
# @DESCRIPTION:
# If set to 1, the ebuild will fetch the upstream kernel tarball and
-# apply the Sabayon patch against it. This strategy avoids the need of
+# apply the RogentOS patch against it. This strategy avoids the need of
# creating complete kernel source tarballs. The default value is 0.
-K_SABKERNEL_PATCH_UPSTREAM_TARBALL="${K_SABKERNEL_PATCH_UPSTREAM_TARBALL:-0}"
+K_ARGKERNEL_PATCH_UPSTREAM_TARBALL="${K_ARGKERNEL_PATCH_UPSTREAM_TARBALL:-0}"
-# @ECLASS-VARIABLE: K_SABKERNEL_FORCE_SUBLEVEL
+# @ECLASS-VARIABLE: K_ARGKERNEL_FORCE_SUBLEVEL
# @DESCRIPTION:
# Force the rewrite of SUBLEVEL in kernel sources Makefile
-K_SABKERNEL_FORCE_SUBLEVEL="${K_SABKERNEL_FORCE_SUBLEVEL:-}"
+K_ARGKERNEL_FORCE_SUBLEVEL="${K_ARGKERNEL_FORCE_SUBLEVEL:-}"
-# @ECLASS-VARIABLE: K_SABKERNEL_RESET_EXTRAVERSION
+# @ECLASS-VARIABLE: K_ARGKERNEL_RESET_EXTRAVERSION
# @DESCRIPTION:
# Force the rewrite of EXTRAVERSION in kernel sources Makefile (setting it to "")
-K_SABKERNEL_RESET_EXTRAVERSION="${K_SABKERNEL_RESET_EXTRAVERSION:-}"
+K_ARGKERNEL_RESET_EXTRAVERSION="${K_ARGKERNEL_RESET_EXTRAVERSION:-}"
-# @ECLASS-VARIABLE: K_SABKERNEL_LONGTERM
+# @ECLASS-VARIABLE: K_ARGKERNEL_LONGTERM
# @DESCRIPTION:
# Consider Kernel stable patchset as longterm (changing URL)
-K_SABKERNEL_LONGTERM="${K_SABKERNEL_LONGTERM:-}"
+K_ARGKERNEL_LONGTERM="${K_ARGKERNEL_LONGTERM:-}"
# @ECLASS-VARIABLE: K_KERNEL_SOURCES_PKG
# @DESCRIPTION:
@@ -82,7 +82,7 @@ K_KERNEL_SLOT_USEPVR="${K_KERNEL_SLOT_USEPVR:-0}"
# Set this to "1" if your kernel ebuild uses the new Linux kernel upstream
# versioning and ${PV} contains the stable revision, like 3.7.1.
# In the example above, this makes the SLOT variable contain only "3.7".
-# The sublevel version can be forced using K_SABKERNEL_FORCE_SUBLEVEL
+# The sublevel version can be forced using K_ARGKERNEL_FORCE_SUBLEVEL
K_KERNEL_NEW_VERSIONING="${K_KERNEL_NEW_VERSIONING:-0}"
# @ECLASS-VARIABLE: K_KERNEL_IMAGE_NAME
@@ -105,7 +105,7 @@ K_KERNEL_LTS="${K_KERNEL_LTS:-}"
# --kernel-binary= flag.
K_KERNEL_IMAGE_PATH="${K_KERNEL_IMAGE_PATH:-}"
-# @ECLASS-VARIABLE: K_SABKERNEL_FIRMWARE
+# @ECLASS-VARIABLE: K_ARGKERNEL_FIRMWARE
# @DESCRIPTION:
# Set this to "1" if your ebuild is a kernel firmware package
K_FIRMWARE_PACKAGE="${K_FIRMWARE_PACKAGE:-}"
@@ -135,10 +135,10 @@ K_WORKAROUND_SOURCES_COLLISION="${K_WORKAROUND_SOURCES_COLLISION:-}"
# this variable and depmod will work correctly.
K_WORKAROUND_USE_REAL_EXTRAVERSION="${K_WORKAROUND_USE_REAL_EXTRAVERSION:-}"
-# @ECLASS-VARIABLE: K_SABKERNEL_ZFS
+# @ECLASS-VARIABLE: K_ARGKERNEL_ZFS
# @DESCRIPTION:
# If set, this kernel features ZFS.
-K_SABKERNEL_ZFS="${K_SABKERNEL_ZFS:-}"
+K_ARGKERNEL_ZFS="${K_ARGKERNEL_ZFS:-}"
# @ECLASS-VARIABLE: K_GENKERNEL_ARGS
# @DESCRIPTION:
@@ -165,7 +165,7 @@ K_MKIMAGE_WRAP_INITRAMFS="${K_MKIMAGE_WRAP_INITRAMFS:-1}"
# [ARM ONLY] Provide the kernel load address to be used with mkimage
K_MKIMAGE_KERNEL_ADDRESS="${K_MKIMAGE_KERNEL_ADDRESS:-}"
-KERN_INITRAMFS_SEARCH_NAME="${KERN_INITRAMFS_SEARCH_NAME:-initramfs-genkernel*${K_SABKERNEL_NAME}}"
+KERN_INITRAMFS_SEARCH_NAME="${KERN_INITRAMFS_SEARCH_NAME:-initramfs-genkernel*${K_ARGKERNEL_NAME}}"
# Disable deblobbing feature
K_DEBLOB_AVAILABLE=0
@@ -177,35 +177,33 @@ if [ "${K_KERNEL_NEW_VERSIONING}" = "1" ]; then
CKV="$(get_version_component_range 1-2)"
fi
-inherit eutils multilib kernel-2 sabayon-artwork mount-boot linux-info
+inherit eutils multilib kernel-2 argent-artwork mount-boot linux-info
# from kernel-2 eclass
detect_version
detect_arch
-DESCRIPTION="Sabayon Linux kernel functions and phases"
+DESCRIPTION="Argent linux kernel functions and phases"
K_LONGTERM_URL_STR=""
-if [ -n "${K_SABKERNEL_LONGTERM}" ]; then
+if [ -n "${K_ARGKERNEL_LONGTERM}" ]; then
K_LONGTERM_URL_STR="/longterm/v${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}"
fi
## kernel-2 eclass settings
-if [ "${K_SABKERNEL_PATCH_UPSTREAM_TARBALL}" = "1" ]; then
- _patch_name="$(get_version_component_range 1-2)-${K_SABKERNEL_SELF_TARBALL_NAME}-${PVR}.patch.xz"
- SRC_URI="${KERNEL_URI}
- mirror://sabayon/${CATEGORY}/${_patch_name}
- "
+if [ "${K_ARGKERNEL_PATCH_UPSTREAM_TARBALL}" = "1" ]; then
+ _patch_name="$(get_version_component_range 1-2)-${K_ARGKERNEL_SELF_TARBALL_NAME}-${PVR}.patch.xz"
+ SRC_URI="${KERNEL_URI}"
UNIPATCH_LIST="${UNIPATCH_LIST} ${DISTDIR}/${_patch_name}"
unset _patch_name
-elif [ -n "${K_SABKERNEL_SELF_TARBALL_NAME}" ]; then
- SRC_URI="mirror://sabayon/${CATEGORY}/linux-${PVR}+${K_SABKERNEL_SELF_TARBALL_NAME}.tar.${K_TARBALL_EXT}"
+elif [ -n "${K_ARGKERNEL_SELF_TARBALL_NAME}" ]; then
+ SRC_URI="http://bpr.bluepink.ro/~rogentos/argent/${CATEGORY}/linux-${PVR}+${K_ARGKERNEL_SELF_TARBALL_NAME}.tar.${K_TARBALL_EXT}"
else
SRC_URI="${KERNEL_URI}"
fi
-if [ -z "${K_SABKERNEL_SELF_TARBALL_NAME}" ]; then
+if [ -z "${K_ARGKERNEL_SELF_TARBALL_NAME}" ]; then
if [ -n "${K_KERNEL_PATCH_VER}" ]; then
K_PATCH_NAME="patch-${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}.${K_KERNEL_PATCH_VER}.${K_TARBALL_EXT}"
SRC_URI="${SRC_URI}
@@ -222,7 +220,7 @@ _get_real_kv_full() {
if [[ "${KV_MAJOR}${KV_MINOR}" -eq 26 ]]; then
echo "${ORIGINAL_KV_FULL}"
elif [[ "${OKV/.*}" = "3" ]]; then
- # Linux 3.x support, KV_FULL is set to: 3.0-sabayon
+ # Linux 3.x support, KV_FULL is set to: 3.0-argent
# need to add another final .0 to the version part
echo "${ORIGINAL_KV_FULL/-/.0-}"
else
@@ -230,10 +228,10 @@ _get_real_kv_full() {
fi
}
-# replace "linux" with K_SABKERNEL_NAME, usually replaces
-# "linux" with "sabayon" or "server" or "openvz"
-KV_FULL="${KV_FULL/${PN/-*}/${K_SABKERNEL_NAME}}"
-EXTRAVERSION="${EXTRAVERSION/${PN/-*}/${K_SABKERNEL_NAME}}"
+# replace "linux" with K_ARGKERNEL_NAME, usually replaces
+# "linux" with "argent" or "server" or "openvz"
+KV_FULL="${KV_FULL/${PN/-*}/${K_ARGKERNEL_NAME}}"
+EXTRAVERSION="${EXTRAVERSION/${PN/-*}/${K_ARGKERNEL_NAME}}"
# drop -rX if exists
if [[ -n "${PR//r0}" ]] && [[ "${K_KERNEL_DISABLE_PR_EXTRAVERSION}" = "1" ]] \
&& [[ -z "${K_NOSETEXTRAVERSION}" ]]; then
@@ -246,7 +244,7 @@ ORIGINAL_KV_FULL="${KV_FULL}"
KV_FULL="$(_get_real_kv_full)"
# Starting from linux-3.0, we still have to install
-# sources stuff into /usr/src/linux-3.0.0-sabayon (example)
+# sources stuff into /usr/src/linux-3.0.0-argent (example)
# where the last part must always match uname -r
# otherwise kernel-switcher (and RELEASE_LEVEL file)
# will complain badly
@@ -294,10 +292,10 @@ if _is_kernel_binary; then
fi
fi
-if [ -n "${K_SABKERNEL_SELF_TARBALL_NAME}" ]; then
- HOMEPAGE="https://github.com/Sabayon/kernel"
+if [ -n "${K_ARGKERNEL_SELF_TARBALL_NAME}" ]; then
+ HOMEPAGE="https://github.com/Rogentos/kernel"
else
- HOMEPAGE="http://www.sabayon.org"
+ HOMEPAGE="http://www.argent.ro"
fi
# Returns success if _set_config_file_vars was called.
@@ -340,10 +338,10 @@ _set_config_file_vars() {
fi
fi
- K_SABKERNEL_CONFIG_FILES=()
- K_SABKERNEL_CONFIG_FILES+=( "${K_SABKERNEL_NAME}-${pvr}-$(_get_arch).config" )
- K_SABKERNEL_CONFIG_FILES+=( "${K_SABKERNEL_NAME}-${pv}-$(_get_arch).config" )
- K_SABKERNEL_CONFIG_FILES+=( "${K_SABKERNEL_NAME}-$(_get_arch).config" )
+ K_ARGKERNEL_CONFIG_FILES=()
+ K_ARGKERNEL_CONFIG_FILES+=( "${K_ARGKERNEL_NAME}-${pvr}-$(_get_arch).config" )
+ K_ARGKERNEL_CONFIG_FILES+=( "${K_ARGKERNEL_NAME}-${pv}-$(_get_arch).config" )
+ K_ARGKERNEL_CONFIG_FILES+=( "${K_ARGKERNEL_NAME}-$(_get_arch).config" )
_config_file_set=1
}
@@ -354,7 +352,7 @@ if [ -n "${K_ONLY_SOURCES}" ] || [ -n "${K_FIRMWARE_PACKAGE}" ]; then
RDEPEND="${RDEPEND}"
else
IUSE="dmraid dracut iscsi luks lvm mdadm plymouth splash"
- if [ -n "${K_SABKERNEL_ZFS}" ]; then
+ if [ -n "${K_ARGKERNEL_ZFS}" ]; then
IUSE="${IUSE} zfs"
fi
DEPEND="app-arch/xz-utils
@@ -365,7 +363,7 @@ else
arm? ( dev-embedded/u-boot-tools )
amd64? ( sys-apps/v86d )
x86? ( sys-apps/v86d )
- splash? ( x11-themes/sabayon-artwork-core )
+ splash? ( x11-themes/argent-artwork-core )
lvm? ( sys-fs/lvm2 sys-block/thin-provisioning-tools )
plymouth? (
|| ( >=sys-kernel/genkernel-next-5 >=sys-kernel/genkernel-5 )
@@ -405,7 +403,7 @@ _update_depmod() {
fi
}
-sabayon-kernel_pkg_setup() {
+argent-kernel_pkg_setup() {
if [ -n "${K_FIRMWARE_PACKAGE}" ]; then
einfo "Preparing kernel firmwares"
else
@@ -413,10 +411,10 @@ sabayon-kernel_pkg_setup() {
fi
}
-sabayon-kernel_src_unpack() {
+argent-kernel_src_unpack() {
local okv="${OKV}"
- if [ -n "${K_SABKERNEL_SELF_TARBALL_NAME}" ] && [ "${K_SABKERNEL_PATCH_UPSTREAM_TARBALL}" != "1" ]; then
- OKV="${PVR}+${K_SABKERNEL_SELF_TARBALL_NAME}"
+ if [ -n "${K_ARGKERNEL_SELF_TARBALL_NAME}" ] && [ "${K_ARGKERNEL_PATCH_UPSTREAM_TARBALL}" != "1" ]; then
+ OKV="${PVR}+${K_ARGKERNEL_SELF_TARBALL_NAME}"
fi
if [ "${K_KERNEL_NEW_VERSIONING}" = "1" ]; then
# workaround for kernel-2's universal_unpack assumptions
@@ -424,12 +422,12 @@ sabayon-kernel_src_unpack() {
else
kernel-2_src_unpack
fi
- if [ -n "${K_SABKERNEL_FORCE_SUBLEVEL}" ]; then
+ if [ -n "${K_ARGKERNEL_FORCE_SUBLEVEL}" ]; then
# patch out Makefile with proper sublevel
- sed -i "s:^SUBLEVEL = .*:SUBLEVEL = ${K_SABKERNEL_FORCE_SUBLEVEL}:" \
+ sed -i "s:^SUBLEVEL = .*:SUBLEVEL = ${K_ARGKERNEL_FORCE_SUBLEVEL}:" \
"${S}/Makefile" || die
fi
- if [ -n "${K_SABKERNEL_RESET_EXTRAVERSION}" ]; then
+ if [ -n "${K_ARGKERNEL_RESET_EXTRAVERSION}" ]; then
sed -i "s:^EXTRAVERSION =.*:EXTRAVERSION = :" "${S}/Makefile" || die
# some sources could have multiple append-based EXTRAVERSIONs
sed -i "s/^EXTRAVERSION :=.*//" "${S}/Makefile" || die
@@ -438,15 +436,15 @@ sabayon-kernel_src_unpack() {
# Let's handle EAPIs 0 and 1...
case ${EAPI:-0} in
- 0|1) sabayon-kernel_src_prepare ;;
+ 0|1) argent-kernel_src_prepare ;;
esac
}
-sabayon-kernel_src_prepare() {
+argent-kernel_src_prepare() {
_set_config_file_vars
}
-sabayon-kernel_src_compile() {
+argent-kernel_src_compile() {
if [ -n "${K_FIRMWARE_PACKAGE}" ]; then
_firmwares_src_compile
elif [ -n "${K_ONLY_SOURCES}" ]; then
@@ -470,15 +468,15 @@ _firmwares_src_compile() {
_kernel_copy_config() {
_is_config_file_set \
- || die "Kernel configuration file not set. Was sabayon-kernel_src_prepare() called?"
+ || die "Kernel configuration file not set. Was argent-kernel_src_prepare() called?"
local base_path="${DISTDIR}"
- if [ -n "${K_SABKERNEL_SELF_TARBALL_NAME}" ]; then
- base_path="${S}/sabayon/config"
+ if [ -n "${K_ARGKERNEL_SELF_TARBALL_NAME}" ]; then
+ base_path="${S}/argent/config"
fi
local found= cfg=
- for cfg in "${K_SABKERNEL_CONFIG_FILES[@]}"; do
+ for cfg in "${K_ARGKERNEL_CONFIG_FILES[@]}"; do
cfg="${base_path}/${cfg}"
if [ -f "${cfg}" ]; then
cp "${cfg}" "${1}" || die "cannot copy kernel config ${cfg} -> ${1}"
@@ -487,7 +485,7 @@ _kernel_copy_config() {
break
fi
done
- [[ -z "${found}" ]] && die "cannot find kernel configs among: ${K_SABKERNEL_CONFIG_FILES[*]}"
+ [[ -z "${found}" ]] && die "cannot find kernel configs among: ${K_ARGKERNEL_CONFIG_FILES[*]}"
}
_kernel_src_compile() {
@@ -517,15 +515,15 @@ _kernel_src_compile() {
cd "${S}" || die
local GKARGS=()
- GKARGS+=( "--no-save-config" "--e2fsprogs" "--udev" )
- use splash && GKARGS+=( "--splash=sabayon" )
- use plymouth && GKARGS+=( "--plymouth" "--plymouth-theme=${PLYMOUTH_THEME}" )
+ GKARGS+=( "--no-menuconfig" "--no-save-config" "--e2fsprogs" "--udev" )
+ # use splash && GKARGS+=( "--splash=argent" ) #NO MORE fbsplash!!!
+ use plymouth && GKARGS+=( "--plymouth" "--plymouth-theme=${PLYMOUTH_THEME}" ) #reverted to use variable (check the eclass)
use dmraid && GKARGS+=( "--dmraid" )
use iscsi && GKARGS+=( "--iscsi" )
use mdadm && GKARGS+=( "--mdadm" )
use luks && GKARGS+=( "--luks" )
use lvm && GKARGS+=( "--lvm" )
- if [ -n "${K_SABKERNEL_ZFS}" ]; then
+ if [ -n "${K_ARGKERNEL_ZFS}" ]; then
use zfs && GKARGS+=( "--zfs" )
fi
@@ -607,7 +605,7 @@ _setup_mkimage_ramdisk() {
return 0
}
-sabayon-kernel_src_install() {
+argent-kernel_src_install() {
if [ -n "${K_FIRMWARE_PACKAGE}" ]; then
_firmwares_src_install
elif [ -n "${K_ONLY_SOURCES}" ]; then
@@ -739,12 +737,12 @@ _kernel_src_install() {
_dracut_initramfs_create "${KV_FULL}"
}
-sabayon-kernel_pkg_preinst() {
+argent-kernel_pkg_preinst() {
if _is_kernel_binary; then
mount-boot_pkg_preinst
fi
}
-sabayon-kernel_grub2_mkconfig() {
+argent-kernel_grub2_mkconfig() {
if [ -x "${ROOT}usr/sbin/grub2-mkconfig" ]; then
# Grub 2.00
"${ROOT}usr/sbin/grub2-mkconfig" -o "${ROOT}boot/grub/grub.cfg"
@@ -773,7 +771,7 @@ _get_release_level() {
elif [[ "${KV_MAJOR}${KV_MINOR}" -eq 26 ]]; then
echo "${KV_FULL}"
elif [[ "${OKV/.*}" = "3" ]] && [[ "${KV_PATCH}" = "0" ]]; then
- # Linux 3.x support, KV_FULL is set to: 3.0-sabayon
+ # Linux 3.x support, KV_FULL is set to: 3.0-argent
# need to add another final .0 to the version part
echo "${KV_FULL/-/.0-}"
else
@@ -781,7 +779,7 @@ _get_release_level() {
fi
}
-sabayon-kernel_uimage_config() {
+argent-kernel_uimage_config() {
# Two cases here:
# 1. /boot/uImage symlink is broken (pkg_postrm)
# 2. /boot/uImage symlink doesn't exist (pkg_postinst)
@@ -813,7 +811,7 @@ sabayon-kernel_uimage_config() {
fi
}
-sabayon-kernel_bzimage_config() {
+argent-kernel_bzimage_config() {
# Two cases here:
# 1. /boot/bzImage symlink is broken (pkg_postrm)
# 2. /boot/bzImage symlink doesn't exist (pkg_postinst)
@@ -864,7 +862,7 @@ _dracut_initramfs_create() {
dracut -q -N -f --kver="${kver}" "${D}/boot/initramfs-dracut-${kver}"
}
-sabayon-kernel_pkg_postinst() {
+argent-kernel_pkg_postinst() {
if _is_kernel_binary; then
fstab_file="${ROOT}etc/fstab"
einfo "Removing extents option for ext4 drives from ${fstab_file}"
@@ -874,7 +872,7 @@ sabayon-kernel_pkg_postinst() {
fi
# Update kernel initramfs to match user customizations
- use splash && update_sabayon_kernel_initramfs_splash
+ use splash && update_argent_kernel_initramfs_splash
# Add kernel to grub.conf
if use amd64 || use x86; then
@@ -890,18 +888,18 @@ sabayon-kernel_pkg_postinst() {
"/boot/initramfs-genkernel-${kern_arch}-${KV_FULL}"
fi
- sabayon-kernel_grub2_mkconfig
+ argent-kernel_grub2_mkconfig
fi
# Setup newly installed kernel on ARM
if use arm; then
- sabayon-kernel_uimage_config
+ argent-kernel_uimage_config
fi
# Setup newly installed kernel on x86/amd64
# This is quite handy for static grub1/grub2
# configurations (like on Amazon EC2)
if use x86 || use amd64; then
- sabayon-kernel_bzimage_config
+ argent-kernel_bzimage_config
fi
kernel-2_pkg_postinst
@@ -909,11 +907,11 @@ sabayon-kernel_pkg_postinst() {
_update_depmod "${depmod_r}"
elog "Please report kernel bugs at:"
- elog "http://bugs.sabayon.org"
+ elog "http://bugs.argent.ro"
elog "The source code of this kernel is located at"
elog "=${K_KERNEL_SOURCES_PKG}."
- elog "Sabayon Linux recommends that portage users install"
+ elog "RogentOS Team recommends that portage users install"
elog "${K_KERNEL_SOURCES_PKG} if you want"
elog "to build any packages that install kernel modules"
elog "(such as ati-drivers, nvidia-drivers, virtualbox, etc...)."
@@ -922,13 +920,13 @@ sabayon-kernel_pkg_postinst() {
fi
}
-sabayon-kernel_pkg_prerm() {
+argent-kernel_pkg_prerm() {
if _is_kernel_binary; then
mount-boot_pkg_prerm
fi
}
-sabayon-kernel_pkg_postrm() {
+argent-kernel_pkg_postrm() {
if _is_kernel_binary; then
# Remove kernel from grub.conf
if use amd64 || use x86; then
@@ -943,18 +941,18 @@ sabayon-kernel_pkg_postrm() {
"/boot/initramfs-genkernel-${kern_arch}-${KV_FULL}"
fi
- sabayon-kernel_grub2_mkconfig
+ argent-kernel_grub2_mkconfig
fi
# Setup newly installed kernel on ARM
if use arm; then
- sabayon-kernel_uimage_config
+ argent-kernel_uimage_config
fi
# Setup newly installed kernel on x86/amd64
# This is quite handy for static grub1/grub2
# configurations (like on Amazon EC2)
if use x86 || use amd64; then
- sabayon-kernel_bzimage_config
+ argent-kernel_bzimage_config
fi
fi
}
diff --git a/eclass/kogaion-kernel.eclass b/eclass/kogaion-kernel.eclass
index 36c0888c..581094e6 100644
--- a/eclass/kogaion-kernel.eclass
+++ b/eclass/kogaion-kernel.eclass
@@ -512,6 +512,7 @@ _kernel_src_compile() {
local GKARGS=()
GKARGS+=( "--no-menuconfig" "--no-save-config" "--e2fsprogs" "--udev" )
# use splash && GKARGS+=( "--splash=kogaion" ) #NO MORE fbsplash!!!
+ use btrfs && GKARGS+=( "--btrfs" )
use plymouth && GKARGS+=( "--plymouth" "--plymouth-theme=${PLYMOUTH_THEME}" ) #reverted to use variable (check the eclass)
use dmraid && GKARGS+=( "--dmraid" )
use iscsi && GKARGS+=( "--iscsi" )
diff --git a/eclass/transmission-2.83.eclass b/eclass/transmission-2.83.eclass
new file mode 100644
index 00000000..075a5025
--- /dev/null
+++ b/eclass/transmission-2.83.eclass
@@ -0,0 +1,287 @@
+# Copyright 1999-2013 Sabayon
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+# @ECLASS: transmission-2.xx.eclass
+# @MAINTAINER:
+# slawomir.nizio@sabayon.org
+# @AUTHOR:
+# SÅ‚awomir Nizio <slawomir.nizio@sabayon.org>
+# @BLURB: eclass to ease managing of Sabayon split net-p2p/transmission
+# @DESCRIPTION:
+# This eclass is to ease managing of split net-p2p/transmission for Sabayon.
+# Its name contains a version that corresponds to net-p2p/transmission one,
+# because the eclass will change often when needed to follow changes
+# in Gentoo ebuild.
+# Always call phase functions using their public names, such like:
+# transmission-2.83_src_configure, and never _transmission_src_configure.
+
+# @ECLASS-VARIABLE: TRANSMISSION_PATCHES
+# @DEFAULT_UNSET
+# @DESCRIPTION:
+# Array that contains patches to apply just before eautoreconf.
+
+# @ECLASS-VARIABLE: TRANSMISSION_ECLASS_VERSION_OK
+# @DESCRIPTION:
+# Set this to x.y if you want to use transmission-x.y.eclass from ebuild
+# with ${PV} different than x.y. This is to catch bugs.
+: ${TRANSMISSION_ECLASS_VERSION_OK:=${PV}}
+
+# @ECLASS-VARIABLE: E_TRANSM_TAIL
+# @INTERNAL
+# @DESCRIPTION:
+# "Tail" of package name. Can take value gtk, qt4, etc. or can be empty.
+E_TRANSM_TAIL=${PN#transmission}
+E_TRANSM_TAIL=${E_TRANSM_TAIL#-}
+
+# @FUNCTION: _transmission_is
+# @INTERNAL
+# @DESCRIPTION:
+# Function used to check which variant of Transmission are we working on.
+# Argument should be one of these: (none), gtk, qt4, daemon, cli, base.
+# If argument is empty or omitted, true value means that it is
+# net-p2p/transmission (metapackage).
+_transmission_is() {
+ local what=$1
+ [[ ${what} = "${E_TRANSM_TAIL}" ]]
+}
+
+# @FUNCTION: _transmission_eclass_setup_functions
+# @INTERNAL
+# @DESCRIPTION:
+# Function to setup functions. The eval uses strictly controlled variables,
+# so it's OK.
+_transmission_eclass_setup_functions() {
+ local v=2.83
+ local func
+ for func in pkg_setup src_prepare src_configure src_compile \
+ pkg_preinst pkg_postinst pkg_postrm; do
+ eval "transmission-${v}_${func}() { _transmission_${func}; }"
+ done
+}
+
+_transmission_eclass_setup_functions
+
+MY_ECLASSES=""
+_transmission_is gtk && MY_ECLASSES+="fdo-mime gnome2-utils"
+_transmission_is qt4 && MY_ECLASSES+="fdo-mime qt4-r2"
+_transmission_is "" || MY_ECLASSES+=" autotools"
+_transmission_is base && MY_ECLASSES+=" user"
+
+inherit eutils multilib ${MY_ECLASSES}
+
+unset MY_ECLASSES
+
+case ${EAPI:-0} in
+ 4|5) EXPORT_FUNCTIONS pkg_setup src_prepare src_configure src_compile \
+ pkg_preinst pkg_postinst pkg_postrm ;;
+ *) die "EAPI=${EAPI} is not supported" ;;
+esac
+
+[[ ${PN} = transmission* ]] || \
+ die "This eclass can only be used with net-p2p/transmission* ebuilds!"
+# Bug catcher!
+if ! [[ ${PV} = *9999* ]] && [[ ${TRANSMISSION_ECLASS_VERSION_OK} != ${ECLASS#*-} ]]; then
+ eerror "used eclass ${ECLASS}"
+ eerror "TRANSMISSION_ECLASS_VERSION_OK=${TRANSMISSION_ECLASS_VERSION_OK}"
+ die "ebuild version ${PV} doesn't match with the eclass"
+fi
+
+MY_PN="transmission"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A Fast, Easy and Free BitTorrent client"
+HOMEPAGE="http://www.transmissionbt.com/"
+SRC_URI="http://download.transmissionbt.com/${MY_PN}/files/${MY_P}.tar.xz"
+
+LICENSE="GPL-2 MIT"
+SLOT="0"
+IUSE=""
+
+# only common dependencies plus blockers
+RDEPEND=""
+_transmission_is base || RDEPEND+="~net-p2p/transmission-base-${PV}"
+if ! _transmission_is ""; then
+ RDEPEND+="
+ >=dev-libs/libevent-2.0.10:=
+ dev-libs/openssl:0=
+ net-libs/libnatpmp:=
+ >=net-libs/miniupnpc-1.7:=
+ >=net-misc/curl-7.16.3:=[ssl]
+ sys-libs/zlib:="
+fi
+
+DEPEND="${RDEPEND}"
+if _transmission_is base; then
+ RDEPEND+=" !<net-p2p/transmission-gtk-${PV}
+ !<net-p2p/transmission-qt4-${PV}
+ !<net-p2p/transmission-daemon-${PV}
+ !<net-p2p/transmission-cli-${PV}"
+fi
+if ! _transmission_is ""; then
+ DEPEND+=" >=dev-libs/glib-2.32
+ dev-util/intltool
+ virtual/pkgconfig
+ sys-devel/gettext
+ virtual/os-headers"
+fi
+
+S="${WORKDIR}/${MY_P}"
+_transmission_is "" && S="${WORKDIR}"
+
+_transmission_pkg_setup() {
+ if _transmission_is base; then
+ enewgroup transmission
+ enewuser transmission -1 -1 -1 transmission
+ fi
+}
+
+_transmission_src_prepare() {
+ _transmission_is "" && return
+
+ sed -i -e '/CFLAGS/s:-ggdb3::' configure.ac || die
+
+ if ! use_if_iuse ayatana; then
+ # Trick to avoid automagic dependency
+ sed -i -e '/^LIBAPPINDICATOR_MINIMUM/s:=.*:=9999:' configure.ac || die
+ fi
+
+ # Pass our configuration dir to systemd unit file
+ sed -i '/ExecStart/ s|$| -g /var/lib/transmission/config|' daemon/${MY_PN}-daemon.service || die
+
+ # http://trac.transmissionbt.com/ticket/4324
+ sed -i -e 's|noinst\(_PROGRAMS = $(TESTS)\)|check\1|' lib${MY_PN}/Makefile.am || die
+
+ if [[ ${#TRANSMISSION_PATCHES[@]} -gt 0 ]]; then
+ epatch "${TRANSMISSION_PATCHES[@]}"
+ fi
+
+ # http://trac.transmissionbt.com/ticket/5700
+ sed -i -e '1iQMAKE_CXXFLAGS += -std=c++11' qt/qtr.pro || die
+
+ eautoreconf
+
+ if ! _transmission_is base; then
+ local sedcmd="s:\$(top_builddir)/libtransmission/libtransmission.a:"
+ sedcmd+="${EROOT}usr/$(get_libdir)/libtransmission.a:"
+ find . -name Makefile.in -exec sed -i -e "${sedcmd}" {} \; || die
+ sed -i -e '/libtransmission \\/d' Makefile.in || die
+ if _transmission_is qt4; then
+ sedcmd="s:\$\${TRANSMISSION_TOP}/libtransmission/libtransmission.a:"
+ sedcmd+="${EROOT}usr/$(get_libdir)/libtransmission.a:"
+ sed -i -e "${sedcmd}" qt/qtr.pro || die
+ fi
+ fi
+}
+
+_transmission_src_configure() {
+ _transmission_is "" && return
+
+ local econfargs=(
+ --enable-external-natpmp
+ )
+
+ if _transmission_is base; then
+ export ac_cv_header_xfs_xfs_h=$(usex xfs)
+ econfargs+=(
+ --disable-cli
+ --disable-daemon
+ --without-gtk
+ $(use_enable lightweight)
+ )
+ elif _transmission_is cli; then
+ econfargs+=(
+ --enable-cli
+ --disable-daemon
+ --without-gtk
+ )
+ elif _transmission_is daemon; then
+ econfargs+=(
+ --disable-cli
+ --enable-daemon
+ --without-gtk
+ $(use_with systemd systemd-daemon)
+ )
+ elif _transmission_is gtk; then
+ econfargs+=(
+ --disable-cli
+ --disable-daemon
+ --with-gtk
+ )
+ elif _transmission_is qt4; then
+ econfargs+=(
+ --disable-cli
+ --disable-daemon
+ --without-gtk
+ )
+ else
+ die "Something is wrong... (E_TRANSM_TAIL=$E_TRANSM_TAIL)"
+ fi
+
+ econf "${econfargs[@]}"
+ if _transmission_is qt4; then
+ pushd qt >/dev/null
+ eqmake4 qtr.pro
+ popd >/dev/null
+ fi
+}
+
+_transmission_src_compile() {
+ _transmission_is "" && return
+
+ emake
+ if _transmission_is qt4; then
+ pushd qt >/dev/null
+ emake
+ lrelease translations/*.ts
+ popd >/dev/null
+ fi
+}
+
+
+# Note: not providing src_install. Too many differences and too much code
+# which would only clutter this pretty eclass.
+
+_transmission_pkg_preinst() {
+ _transmission_is gtk && gnome2_icon_savelist
+}
+
+_transmission_pkg_postinst() {
+ if _transmission_is gtk || _transmission_is qt4; then
+ fdo-mime_desktop_database_update
+ fi
+
+ _transmission_is gtk && gnome2_icon_cache_update
+
+ if _transmission_is daemon; then
+ elog "If you use ${MY_PN}-daemon, please, set 'rpc-username' and"
+ elog "'rpc-password' (in plain text, ${MY_PN}-daemon will hash it on"
+ elog "start) in settings.json file located at /var/${MY_PN}/config or"
+ elog "any other appropriate config directory."
+ fi
+
+ if _transmission_is gtk; then
+ # in -gtk only?
+ elog
+ elog "To enable sound emerge media-libs/libcanberra and check that at least"
+ elog "some sound them is selected. For this go:"
+ elog "Gnome/system/preferences/sound themes tab and 'sound theme: default'"
+ elog
+ fi
+
+ if _transmission_is base; then
+ elog "Since µTP is enabled by default, ${MY_PN} needs large kernel buffers for"
+ elog "the UDP socket. You can append following lines into /etc/sysctl.conf:"
+ elog " net.core.rmem_max = 4194304"
+ elog " net.core.wmem_max = 1048576"
+ elog "and run sysctl -p"
+ fi
+}
+
+_transmission_pkg_postrm() {
+ if _transmission_is gtk || _transmission_is qt4; then
+ fdo-mime_desktop_database_update
+ fi
+
+ _transmission_is gtk && gnome2_icon_cache_update
+}
diff --git a/eclass/transmission-2.84.eclass b/eclass/transmission-2.84.eclass
new file mode 100644
index 00000000..94f21620
--- /dev/null
+++ b/eclass/transmission-2.84.eclass
@@ -0,0 +1,291 @@
+# Copyright 1999-2014 Sabayon
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+# @ECLASS: transmission-2.xx.eclass
+# @MAINTAINER:
+# slawomir.nizio@sabayon.org
+# @AUTHOR:
+# SÅ‚awomir Nizio <slawomir.nizio@sabayon.org>
+# @BLURB: eclass to ease managing of Sabayon split net-p2p/transmission
+# @DESCRIPTION:
+# This eclass is to ease managing of split net-p2p/transmission for Sabayon.
+# Its name contains a version that corresponds to net-p2p/transmission one,
+# because the eclass will change often when needed to follow changes
+# in Gentoo ebuild.
+# Always call phase functions using their public names, such like:
+# transmission-2.83_src_configure, and never _transmission_src_configure.
+
+# @ECLASS-VARIABLE: TRANSMISSION_PATCHES
+# @DEFAULT_UNSET
+# @DESCRIPTION:
+# Array that contains patches to apply just before eautoreconf.
+
+# @ECLASS-VARIABLE: TRANSMISSION_ECLASS_VERSION_OK
+# @DESCRIPTION:
+# Set this to x.y if you want to use transmission-x.y.eclass from ebuild
+# with ${PV} different than x.y. This is to catch bugs.
+: ${TRANSMISSION_ECLASS_VERSION_OK:=${PV}}
+
+# @ECLASS-VARIABLE: E_TRANSM_TAIL
+# @INTERNAL
+# @DESCRIPTION:
+# "Tail" of package name. Can take value gtk, qt4, etc. or can be empty.
+E_TRANSM_TAIL=${PN#transmission}
+E_TRANSM_TAIL=${E_TRANSM_TAIL#-}
+
+# @FUNCTION: _transmission_is
+# @INTERNAL
+# @DESCRIPTION:
+# Function used to check which variant of Transmission are we working on.
+# Argument should be one of these: (none), gtk, qt4, daemon, cli, base.
+# If argument is empty or omitted, true value means that it is
+# net-p2p/transmission (metapackage).
+_transmission_is() {
+ local what=$1
+ [[ ${what} = "${E_TRANSM_TAIL}" ]]
+}
+
+# @FUNCTION: _transmission_eclass_setup_functions
+# @INTERNAL
+# @DESCRIPTION:
+# Function to setup functions. The eval uses strictly controlled variables,
+# so it's OK.
+_transmission_eclass_setup_functions() {
+ local v=2.84
+ local func
+ for func in pkg_setup src_prepare src_configure src_compile \
+ pkg_preinst pkg_postinst pkg_postrm; do
+ eval "transmission-${v}_${func}() { _transmission_${func}; }"
+ done
+}
+
+_transmission_eclass_setup_functions
+
+MY_ECLASSES=""
+_transmission_is gtk && MY_ECLASSES+="fdo-mime gnome2-utils"
+_transmission_is qt4 && MY_ECLASSES+="fdo-mime qt4-r2"
+_transmission_is "" || MY_ECLASSES+=" autotools"
+_transmission_is base && MY_ECLASSES+=" user"
+
+inherit eutils multilib ${MY_ECLASSES}
+
+unset MY_ECLASSES
+
+case ${EAPI:-0} in
+ 4|5) EXPORT_FUNCTIONS pkg_setup src_prepare src_configure src_compile \
+ pkg_preinst pkg_postinst pkg_postrm ;;
+ *) die "EAPI=${EAPI} is not supported" ;;
+esac
+
+[[ ${PN} = transmission* ]] || \
+ die "This eclass can only be used with net-p2p/transmission* ebuilds!"
+# Bug catcher!
+if ! [[ ${PV} = *9999* ]] && [[ ${TRANSMISSION_ECLASS_VERSION_OK} != ${ECLASS#*-} ]]; then
+ eerror "used eclass ${ECLASS}"
+ eerror "TRANSMISSION_ECLASS_VERSION_OK=${TRANSMISSION_ECLASS_VERSION_OK}"
+ die "ebuild version ${PV} doesn't match with the eclass"
+fi
+
+MY_PN="transmission"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A Fast, Easy and Free BitTorrent client"
+HOMEPAGE="http://www.transmissionbt.com/"
+SRC_URI="http://download.transmissionbt.com/${MY_PN}/files/${MY_P}.tar.xz"
+
+# web/LICENSE is always GPL-2 whereas COPYING allows either GPL-2 or GPL-3 for the rest
+# transmission in licenses/ is for mentioning OpenSSL linking exception
+# MIT is in several libtransmission/ headers
+LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
+SLOT="0"
+IUSE=""
+
+# only common dependencies plus blockers
+RDEPEND=""
+_transmission_is base || RDEPEND+="~net-p2p/transmission-base-${PV}"
+if ! _transmission_is ""; then
+ RDEPEND+="
+ >=dev-libs/libevent-2.0.10:=
+ dev-libs/openssl:0=
+ net-libs/libnatpmp:=
+ >=net-libs/miniupnpc-1.7:=
+ >=net-misc/curl-7.16.3:=[ssl]
+ sys-libs/zlib:="
+fi
+
+DEPEND="${RDEPEND}"
+if _transmission_is base; then
+ RDEPEND+=" !<net-p2p/transmission-gtk-${PV}
+ !<net-p2p/transmission-qt4-${PV}
+ !<net-p2p/transmission-daemon-${PV}
+ !<net-p2p/transmission-cli-${PV}"
+fi
+if ! _transmission_is ""; then
+ DEPEND+=" >=dev-libs/glib-2.32
+ dev-util/intltool
+ virtual/pkgconfig
+ sys-devel/gettext
+ virtual/os-headers"
+fi
+
+S="${WORKDIR}/${MY_P}"
+_transmission_is "" && S="${WORKDIR}"
+
+_transmission_pkg_setup() {
+ if _transmission_is base; then
+ enewgroup transmission
+ enewuser transmission -1 -1 -1 transmission
+ fi
+}
+
+_transmission_src_prepare() {
+ _transmission_is "" && return
+
+ sed -i -e '/CFLAGS/s:-ggdb3::' configure.ac || die
+
+ if ! use_if_iuse ayatana; then
+ # Trick to avoid automagic dependency
+ sed -i -e '/^LIBAPPINDICATOR_MINIMUM/s:=.*:=9999:' configure.ac || die
+ fi
+
+ # Pass our configuration dir to systemd unit file
+ sed -i '/ExecStart/ s|$| -g /var/lib/transmission/config|' daemon/${MY_PN}-daemon.service || die
+
+ # http://trac.transmissionbt.com/ticket/4324
+ sed -i -e 's|noinst\(_PROGRAMS = $(TESTS)\)|check\1|' lib${MY_PN}/Makefile.am || die
+
+ if [[ ${#TRANSMISSION_PATCHES[@]} -gt 0 ]]; then
+ epatch "${TRANSMISSION_PATCHES[@]}"
+ fi
+
+ # http://trac.transmissionbt.com/ticket/5700
+ sed -i -e '1iQMAKE_CXXFLAGS += -std=c++11' qt/qtr.pro || die
+
+ epatch_user
+ eautoreconf
+
+ if ! _transmission_is base; then
+ local sedcmd="s:\$(top_builddir)/libtransmission/libtransmission.a:"
+ sedcmd+="${EROOT}usr/$(get_libdir)/libtransmission.a:"
+ find . -name Makefile.in -exec sed -i -e "${sedcmd}" {} \; || die
+ sed -i -e '/libtransmission \\/d' Makefile.in || die
+ if _transmission_is qt4; then
+ sedcmd="s:\$\${TRANSMISSION_TOP}/libtransmission/libtransmission.a:"
+ sedcmd+="${EROOT}usr/$(get_libdir)/libtransmission.a:"
+ sed -i -e "${sedcmd}" qt/qtr.pro || die
+ fi
+ fi
+}
+
+_transmission_src_configure() {
+ _transmission_is "" && return
+
+ local econfargs=(
+ --enable-external-natpmp
+ )
+
+ if _transmission_is base; then
+ export ac_cv_header_xfs_xfs_h=$(usex xfs)
+ econfargs+=(
+ --disable-cli
+ --disable-daemon
+ --without-gtk
+ $(use_enable lightweight)
+ )
+ elif _transmission_is cli; then
+ econfargs+=(
+ --enable-cli
+ --disable-daemon
+ --without-gtk
+ )
+ elif _transmission_is daemon; then
+ econfargs+=(
+ --disable-cli
+ --enable-daemon
+ --without-gtk
+ $(use_with systemd systemd-daemon)
+ )
+ elif _transmission_is gtk; then
+ econfargs+=(
+ --disable-cli
+ --disable-daemon
+ --with-gtk
+ )
+ elif _transmission_is qt4; then
+ econfargs+=(
+ --disable-cli
+ --disable-daemon
+ --without-gtk
+ )
+ else
+ die "Something is wrong... (E_TRANSM_TAIL=$E_TRANSM_TAIL)"
+ fi
+
+ econf "${econfargs[@]}"
+ if _transmission_is qt4; then
+ pushd qt >/dev/null
+ eqmake4 qtr.pro
+ popd >/dev/null
+ fi
+}
+
+_transmission_src_compile() {
+ _transmission_is "" && return
+
+ emake
+ if _transmission_is qt4; then
+ pushd qt >/dev/null
+ emake
+ lrelease translations/*.ts
+ popd >/dev/null
+ fi
+}
+
+
+# Note: not providing src_install. Too many differences and too much code
+# which would only clutter this pretty eclass.
+
+_transmission_pkg_preinst() {
+ _transmission_is gtk && gnome2_icon_savelist
+}
+
+_transmission_pkg_postinst() {
+ if _transmission_is gtk || _transmission_is qt4; then
+ fdo-mime_desktop_database_update
+ fi
+
+ _transmission_is gtk && gnome2_icon_cache_update
+
+ if _transmission_is daemon; then
+ elog "If you use ${MY_PN}-daemon, please, set 'rpc-username' and"
+ elog "'rpc-password' (in plain text, ${MY_PN}-daemon will hash it on"
+ elog "start) in settings.json file located at /var/${MY_PN}/config or"
+ elog "any other appropriate config directory."
+ fi
+
+ if _transmission_is gtk; then
+ # in -gtk only?
+ elog
+ elog "To enable sound emerge media-libs/libcanberra and check that at least"
+ elog "some sound them is selected. For this go:"
+ elog "Gnome/system/preferences/sound themes tab and 'sound theme: default'"
+ elog
+ fi
+
+ if _transmission_is base; then
+ elog "Since µTP is enabled by default, ${MY_PN} needs large kernel buffers for"
+ elog "the UDP socket. You can append following lines into /etc/sysctl.conf:"
+ elog " net.core.rmem_max = 4194304"
+ elog " net.core.wmem_max = 1048576"
+ elog "and run sysctl -p"
+ fi
+}
+
+_transmission_pkg_postrm() {
+ if _transmission_is gtk || _transmission_is qt4; then
+ fdo-mime_desktop_database_update
+ fi
+
+ _transmission_is gtk && gnome2_icon_cache_update
+}
diff --git a/kde-misc/ksuperkey/files/bind_krunner_to_super_key.patch b/kde-misc/ksuperkey/files/bind_krunner_to_super_key.patch
new file mode 100644
index 00000000..8237c681
--- /dev/null
+++ b/kde-misc/ksuperkey/files/bind_krunner_to_super_key.patch
@@ -0,0 +1,9 @@
+--- ksuperkey.desktop.orig 2014-09-20 02:47:18.006202520 +0300
++++ ksuperkey.desktop 2014-09-20 02:49:39.237793168 +0300
+@@ -1,5 +1,5 @@
+ [Desktop Entry]
+-Exec=ksuperkey
++Exec=ksuperkey -e 'Super_L=Alt_L|F2'
+ X-DBUS-StartupType=none
+ Name=ksuperkey
+ Type=Service
diff --git a/kde-misc/ksuperkey/ksuperkey-99999.ebuild b/kde-misc/ksuperkey/ksuperkey-99999.ebuild
new file mode 100644
index 00000000..f7e7ad42
--- /dev/null
+++ b/kde-misc/ksuperkey/ksuperkey-99999.ebuild
@@ -0,0 +1,37 @@
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils git-2
+
+DESCRIPTION="Open the KDE Plasma application launcher using the Super key (patched to bind Krunner to Super key)"
+HOMEPAGE="https://github.com/hanschen/ksuperkey"
+
+EGIT_BRANCH=master
+EGIT_REPO_URI="https://github.com/hanschen/ksuperkey.git"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="amd64 x86"
+
+IUSE=""
+DEPEND="x11-libs/libXtst
+ x11-libs/libX11"
+
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${PN}
+
+
+src_prepare() {
+ epatch -p0 ${FILESDIR}/bind_krunner_to_super_key.patch
+}
+
+src_compile() {
+ cd "${S}"
+ make || die "Make failed"
+}
+
+src_install() {
+ default
+}
diff --git a/mate-base/mate-applets/mate-applets-1.8.1.ebuild b/mate-base/mate-applets/mate-applets-1.8.1.ebuild
deleted file mode 100644
index ff216ec5..00000000
--- a/mate-base/mate-applets/mate-applets-1.8.1.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mate-base/mate-applets/mate-applets-1.8.1.ebuild,v 1.2 2014/12/09 00:22:42 tamiko Exp $
-
-EAPI="5"
-
-GCONF_DEBUG="no"
-PYTHON_COMPAT=( python2_{6,7} )
-
-inherit autotools eutils gnome2 python-single-r1 versionator
-
-MATE_BRANCH="$(get_version_component_range 1-2)"
-
-SRC_URI="http://pub.mate-desktop.org/releases/${MATE_BRANCH}/${P}.tar.xz"
-DESCRIPTION="Applets for the MATE Desktop and Panel"
-HOMEPAGE="http://mate-desktop.org"
-
-LICENSE="GPL-2 FDL-1.1 LGPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE="X ipv6 networkmanager policykit +upower"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="${PYTHON_DEPS}
- app-text/rarian:0
- dev-libs/atk:0
- >=dev-libs/dbus-glib-0.74:0
- >=dev-libs/glib-2.22:2
- >=dev-libs/libmateweather-1.6.1:0
- >=dev-libs/libxml2-2.5:2
- dev-python/pygobject:3
- >=gnome-base/libgtop-2.11.92:2=
- >=mate-base/mate-desktop-1.6:0
- >=mate-base/mate-panel-1.8:0
- >=mate-base/mate-settings-daemon-1.6:0
- >=sys-apps/dbus-1.1.2:0
- sys-power/cpufrequtils
- upower? ( || ( >=sys-power/upower-0.9.23 >=sys-power/upower-pm-utils-0.9.23 ) )
- x11-libs/gdk-pixbuf:2
- >=x11-libs/gtk+-2.24:2
- >=x11-libs/libnotify-0.7:0
- x11-libs/libX11:0
- >=x11-libs/libxklavier-4:0
- >=x11-libs/libwnck-2.30:1
- x11-libs/pango:0
- >=x11-themes/mate-icon-theme-1.6:0
- virtual/libintl:0
- networkmanager? ( >=net-misc/networkmanager-0.7:0 )
- policykit? ( >=sys-auth/polkit-0.92:0 )"
-
-DEPEND="${RDEPEND}
- app-text/docbook-xml-dtd:4.3
- >=app-text/scrollkeeper-dtd-1:1.0
- app-text/yelp-tools:0
- >=dev-util/intltool-0.35:*
- dev-libs/libxslt:0
- >=mate-base/mate-common-1.6:0
- sys-devel/gettext:*
- virtual/pkgconfig:*"
-
-src_prepare() {
- ## Kogaion: removal of this patch and sys-power/cpupower replaced by sys-power/cpufrequtils
- ## are the only dependencies
- #epatch "${FILESDIR}"/${PN}-1.6.2-r1-replace-cpufreq-by-cpupower.patch
-
- eautoreconf
-}
-
-src_configure() {
- gnome2_src_configure \
- --libexecdir=/usr/libexec/mate-applets \
- --without-hal \
- $(use_enable ipv6) \
- $(use_enable networkmanager) \
- $(use_enable policykit polkit) \
- $(use_with upower) \
- $(use_with X x)
-}
-
-src_test() {
- unset DBUS_SESSION_BUS_ADDRESS
- emake check
-}
-
-DOCS="AUTHORS ChangeLog NEWS README"
-
-src_install() {
- python_fix_shebang invest-applet timer-applet/src
- gnome2_src_install
-
- local APPLETS="accessx-status battstat charpick command cpufreq drivemount
- geyes invest-applet mateweather mini-commander mixer multiload
- null_applet stickynotes timerapplet trashapplet"
-
- for applet in ${APPLETS}; do
- docinto ${applet}
-
- for d in AUTHORS ChangeLog NEWS README README.themes TODO; do
- [ -s ${applet}/${d} ] && dodoc ${applet}/${d}
- done
- done
-}
diff --git a/mate-base/mate-session-manager/Manifest b/mate-base/mate-session-manager/Manifest
deleted file mode 100644
index 6cf562c9..00000000
--- a/mate-base/mate-session-manager/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST mate-session-manager-1.8.1.tar.xz 524204 SHA256 2f85a714704bc475d08809be6ecf24a5d94d2e2d0ea5ac704d67557c349d7b8c SHA512 1b09a471db710193a643ec90c9b153468d9a303957b9c4da4e30cf470aa5f582b6992f5e0ed69129943aa44f7c4e372e2a8554fc6020627817a3c49d656ca5b5 WHIRLPOOL 8c771ac713da92c2ae8bccc173a9cba4fc5bb16a943e588c679624e3e945555f2c37511426e666f38440947ec37139452ee230d07bc3a414a65629c04bfd31a6
diff --git a/mate-base/mate-session-manager/files/10-user-dirs-update-mate b/mate-base/mate-session-manager/files/10-user-dirs-update-mate
deleted file mode 100755
index 35973aae..00000000
--- a/mate-base/mate-session-manager/files/10-user-dirs-update-mate
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-# Create various XDG directories, and write ~/.config/user-dirs.dirs, etc.
-# That file is read by glib to get XDG_PICTURES_DIR, etc
-
-if [ "$DESKTOP_SESSION" = "mate" ]; then
- if type xdg-user-dirs-update >/dev/null 2>&1; then
- xdg-user-dirs-update
- fi
-fi
diff --git a/mate-base/mate-session-manager/files/15-xdg-data-mate b/mate-base/mate-session-manager/files/15-xdg-data-mate
deleted file mode 100644
index df360cf8..00000000
--- a/mate-base/mate-session-manager/files/15-xdg-data-mate
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-if [ "$DESKTOP_SESSION" = "mate" ]; then
- if [ -z "$XDG_DATA_DIRS" ]; then
- export XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/
- else
- export XDG_DATA_DIRS=/usr/share/mate:"$XDG_DATA_DIRS"
- fi
-fi
diff --git a/mate-base/mate-session-manager/files/MATE b/mate-base/mate-session-manager/files/MATE
deleted file mode 100644
index baa154bd..00000000
--- a/mate-base/mate-session-manager/files/MATE
+++ /dev/null
@@ -1,109 +0,0 @@
-#!/bin/sh
-#
-# This file has bitrotted badly. Someone needs to clean this up.
-#
-
-if [ -f /etc/xdg/menus/mate-applications.menu ] ; then
- export XDG_MENU_PREFIX=mate-
-fi
-
-for errfile in "$HOME/.materc-errors" "${TMPDIR-/tmp}/materc-$USER/tmp/materc-$USER"
-do
- if ( cp /dev/null "$errfile" 2> /dev/null )
- then
- chmod 600 "$errfile"
- exec > "$errfile" 2>&1
- break
- fi
-done
-#
-# Distributors:
-# You should modify the paths here to fit your distro
-# If you need to do so, send me (jirka@5z.com) a patch
-# and I'll try to make the script detect the distro stuff
-#
-
-userresources=$HOME/.Xresources
-usermodmap=$HOME/.Xmodmap
-userxkbmap=$HOME/.Xkbmap
-
-sysresources=/etc/X11/Xresources
-sysmodmap=/etc/X11/Xmodmap
-sysxkbmap=/etc/X11/Xkbmap
-
-rh6sysresources=/etc/X11/xinit/Xresources
-rh6sysmodmap=/etc/X11/xinit/Xmodmap
-
-if [ -x "$HOME/.materc" ]; then
- command="$HOME/.materc"
-elif [ -x /etc/X11/gdm/materc ]; then
- command="/etc/X11/gdm/materc"
-else
- # as fallback in case the config is screwed
- command=`which mate-session`
-fi
-
-# merge in defaults
-if [ -f "$rh6sysresources" ]; then
- xrdb -merge "$rh6sysresources"
-fi
-
-if [ -f "$sysresources" ]; then
- xrdb -merge "$sysresources"
-fi
-
-if [ -f "$userresources" ]; then
- xrdb -merge "$userresources"
-fi
-
-# merge in keymaps
-if [ -f "$sysxkbmap" ]; then
- setxkbmap `cat "$sysxkbmap"`
- XKB_IN_USE=yes
-fi
-
-if [ -f "$userxkbmap" ]; then
- setxkbmap `cat "$userxkbmap"`
- XKB_IN_USE=yes
-fi
-
-#
-# Eeek, this seems like too much magic here
-#
-if [ -z "$XKB_IN_USE" ] && [ ! -L /etc/X11/X ]; then
- if grep '^exec.*/Xsun' /etc/X11/X > /dev/null 2>&1 && [ -f /etc/X11/XF86Config ]; then
- xkbsymbols=`sed -n -e 's/^[ ]*XkbSymbols[ ]*"\(.*\)".*$/\1/p' /etc/X11/XF86Config`
- if [ -n "$xkbsymbols" ]; then
- setxkbmap -symbols "$xkbsymbols"
- XKB_IN_USE=yes
- fi
- fi
-fi
-
-# xkb and xmodmap don't play nice together
-if [ -z "$XKB_IN_USE" ]; then
- if [ -f "$rh6sysmodmap" ]; then
- xmodmap "$rh6sysmodmap"
- fi
-
- if [ -f "$sysmodmap" ]; then
- xmodmap "$sysmodmap"
- fi
-
- if [ -f "$usermodmap" ]; then
- xmodmap "$usermodmap"
- fi
-fi
-
-unset XKB_IN_USE
-
-# run all system xinitrc shell scripts.
-if [ -d /etc/X11/xinit/xinitrc.d ]; then
- for i in /etc/X11/xinit/xinitrc.d/* ; do
- if [ -x "$i" ]; then
- . "$i"
- fi
- done
-fi
-
-exec $command
diff --git a/mate-base/mate-session-manager/files/defaults.list b/mate-base/mate-session-manager/files/defaults.list
deleted file mode 100644
index 0d6d6bf9..00000000
--- a/mate-base/mate-session-manager/files/defaults.list
+++ /dev/null
@@ -1,336 +0,0 @@
-[Default Applications]
-application/rtf=abiword.desktop
-application/x-abiword=abiword.desktop
-text/abiword=abiword.desktop
-text/richtext=abiword.desktop
-text/rtf=abiword.desktop
-text/x-abiword=abiword.desktop
-text/x-xml-abiword=abiword.desktop
-x-content/blank-bd=brasero-caja.desktop
-x-content/blank-dvd=brasero-caja.desktop
-x-content/blank-cd=brasero-caja.desktop
-x-content/blank-hddvd=brasero-caja.desktop
-application/x-dia-diagram=dia.desktop
-image/bmp=eom.desktop
-image/gif=eom.desktop
-image/jpeg=eom.desktop
-image/jpg=eom.desktop
-image/pjpeg=eom.desktop
-image/png=eom.desktop
-image/svg+xml=eom.desktop
-image/svg+xml-compressed=eom.desktop
-image/x-bmp=eom.desktop
-image/x-gray=eom.desktop
-image/x-icb=eom.desktop
-image/x-ico=eom.desktop
-image/x-pcx=eom.desktop
-image/x-png=eom.desktop
-image/x-portable-anymap=eom.desktop
-image/x-portable-bitmap=eom.desktop
-image/x-portable-graymap=eom.desktop
-image/x-portable-pixmap=eom.desktop
-image/x-xbitmap=eom.desktop
-image/x-xpixmap=eom.desktop
-image/vnd.wap.wbmp=eom.desktop
-image/g3fax=gimp.desktop
-image/x-compressed-xcf=gimp.desktop
-image/x-fits=gimp.desktop
-image/x-icon=gimp.desktop
-image/x-psd=gimp.desktop
-image/x-sgi=gimp.desktop
-image/x-sun-raster=gimp.desktop
-image/x-tga=gimp.desktop
-image/x-xcf=gimp.desktop
-image/x-xwindowdump=gimp.desktop
-application/xhtml+xml=firefox.desktop;firefox-3.6.desktop;epiphany.desktop
-text/html=firefox.desktop;firefox-3.6.desktop;epiphany.desktop
-application/pdf=atril.desktop
-application/x-bzpdf=atril.desktop
-application/x-gzpdf=atril.desktop
-application/postscript=atril.desktop
-application/x-bzpostscript=atril.desktop
-application/x-gzpostscript=atril.desktop
-image/x-eps=atril.desktop
-image/x-bzeps=atril.desktop
-image/x-gzeps=atril.desktop
-application/x-dvi=atril.desktop
-application/x-bzdvi=atril.desktop
-application/x-gzdvi=atril.desktop
-image/vnd.djvu=atril.desktop
-image/tiff=atril.desktop
-application/x-cbr=atril.desktop
-application/x-cbz=atril.desktop
-application/x-cb7=atril.desktop
-application/x-7z-compressed=engrampa.desktop
-application/x-7z-compressed-tar=engrampa.desktop
-application/x-ace=engrampa.desktop
-application/x-alz=engrampa.desktop
-application/x-ar=engrampa.desktop
-application/x-arj=engrampa.desktop
-application/x-bzip=engrampa.desktop
-application/x-bzip-compressed-tar=engrampa.desktop
-application/x-bzip1=engrampa.desktop
-application/x-bzip1-compressed-tar=engrampa.desktop
-application/x-cabinet=engrampa.desktop
-application/x-cd-image=engrampa.desktop
-application/x-compress=engrampa.desktop
-application/x-compressed-tar=engrampa.desktop
-application/x-cpio=engrampa.desktop
-application/x-deb=engrampa.desktop
-application/x-ear=engrampa.desktop
-application/x-gtar=engrampa.desktop
-application/x-gzip=engrampa.desktop
-application/x-java-archive=engrampa.desktop
-application/x-lha=engrampa.desktop
-application/x-lhz=engrampa.desktop
-application/x-lzip=engrampa.desktop
-application/x-lzip-compressed-tar=engrampa.desktop
-application/x-lzma=engrampa.desktop
-application/x-lzma-compressed-tar=engrampa.desktop
-application/x-lzop=engrampa.desktop
-application/x-lzop-compressed-tar=engrampa.desktop
-application/x-rar=engrampa.desktop
-application/x-rar-compressed=engrampa.desktop
-application/x-rpm=engrampa.desktop
-application/x-rzip=engrampa.desktop
-application/x-tar=engrampa.desktop
-application/x-tarz=engrampa.desktop
-application/x-stuffit=engrampa.desktop
-application/x-war=engrampa.desktop
-application/x-xz=engrampa.desktop
-application/x-xz-compressed-tar=engrampa.desktop
-application/x-zip=engrampa.desktop
-application/x-zip-compressed=engrampa.desktop
-application/x-zoo=engrampa.desktop
-application/zip=engrampa.desktop
-multipart/x-zip=engrampa.desktop
-text/plain=pluma.desktop
-text/css=pluma.desktop
-text/javascript=pluma.desktop
-text/mathml=pluma.desktop
-text/x-csrc=pluma.desktop
-text/x-chdr=pluma.desktop
-text/x-dtd=pluma.desktop
-text/x-java=pluma.desktop
-text/x-javascript=pluma.desktop
-text/x-patch=pluma.desktop
-text/x-perl=pluma.destkop
-text/x-php=pluma.destkop
-text/x-python=pluma.destkop
-text/x-sql=pluma.desktop
-text/xml=pluma.desktop
-application/javascript=pluma.destkop
-application/x-cgi=pluma.desktop
-application/x-javascript=pluma.desktop
-application/x-perl=pluma.desktop
-application/x-php=pluma.desktop
-application/x-python=pluma.desktop
-application/xml=pluma.desktop
-application/xml-dtd=pluma.desktop
-application/x-font-ttf=mate-font-viewer.desktop
-application/x-font-pcf=mate-font-viewer.desktop
-application/x-font-type1=mate-font-viewer.desktop
-application/x-font-otf=mate-font-viewer.desktop
-application/csv=gnumeric.desktop
-application/excel=gnumeric.desktop
-application/msexcel=gnumeric.desktop
-application/tab-separated-values=gnumeric.desktop
-application/vnd.lotus-1-2-3=gnumeric.desktop
-application/vnd.ms-excel=gnumeric.desktop
-application/x-123=gnumeric.desktop
-application/x-applix-spreadsheet=gnumeric.desktop
-application/x-dbase=gnumeric.desktop
-application/x-dbf=gnumeric.desktop
-application/x-dos_ms_excel=gnumeric.desktop
-application/x-excel=gnumeric.desktop
-application/x-gnumeric=gnumeric.desktop
-application/x-mps=gnumeric.desktop
-application/x-ms-excel=gnumeric.desktop
-application/x-msexcel=gnumeric.desktop
-application/x-oleo=gnumeric.desktop
-application/x-planperfect=gnumeric.desktop
-application/x-quattropro=gnumeric.desktop
-application/x-sc=gnumeric.desktop
-application/x-sylk=gnumeric.desktop
-application/x-xbase=gnumeric.desktop
-application/x-xls=gnumeric.desktop
-application/xls=gnumeric.desktop
-text/comma-separated-values=gnumeric.desktop
-text/csv=gnumeric.desktop
-text/spreadsheet=gnumeric.desktop
-text/tab-separated-values=gnumeric.desktop
-text/x-comma-separated-values=gnumeric.desktop
-text/x-csv=gnumeric.desktop
-zz-application/zz-winassoc-xls=gnumeric.desktop
-x-content/software=caja-autorun-software.desktop
-x-directory/gnome-default-handler=caja-folder-handler.desktop
-x-directory/normal=caja-folder-handler.desktop
-inode/directory=caja-folder-handler.desktop
-application/x-gnome-saved-search=caja-folder-handler.desktop
-application/vnd.oasis.opendocument.spreadsheet=libreoffice-calc.desktop;openoffice.org-calc.desktop
-application/vnd.oasis.opendocument.spreadsheet-template=libreoffice-calc.desktop;openoffice.org-calc.desktop
-application/vnd.sun.xml.calc=libreoffice-calc.desktop;openoffice.org-calc.desktop
-application/vnd.sun.xml.calc.template=libreoffice-calc.desktop;openoffice.org-calc.desktop
-application/vnd.stardivision.calc=libreoffice-calc.desktop;openoffice.org-calc.desktop
-application/vnd.stardivision.chart=libreoffice-calc.desktop;openoffice.org-calc.desktop
-application/vnd.openxmlformats-officedocument.spreadsheetml.sheet=libreoffice-calc.desktop;openoffice.org-calc.desktop
-application/vnd.ms-excel.sheet.macroenabled.12=libreoffice-calc.desktop;openoffice.org-calc.desktop
-application/vnd.openxmlformats-officedocument.spreadsheetml.template=libreoffice-calc.desktop;openoffice.org-calc.desktop
-application/vnd.ms-excel.template.macroenabled.12=libreoffice-calc.desktop;openoffice.org-calc.desktop
-application/vnd.ms-excel.sheet.binary.macroenabled.12=libreoffice-calc.desktop;openoffice.org-calc.desktop
-application/vnd.oasis.opendocument.graphics=libreoffice-draw.desktop;openoffice.org-draw.desktop
-application/vnd.oasis.opendocument.graphics-template=libreoffice-draw.desktop;openoffice.org-draw.desktop
-application/vnd.sun.xml.draw=libreoffice-draw.desktop;openoffice.org-draw.desktop
-application/vnd.sun.xml.draw.template=libreoffice-draw.desktop;openoffice.org-draw.desktop
-application/vnd.stardivision.draw=libreoffice-draw.desktop;openoffice.org-draw.desktop
-application/vnd.oasis.opendocument.presentation=libreoffice-impress.desktop;openoffice.org-impress.desktop
-application/vnd.oasis.opendocument.presentation-template=libreoffice-impress.desktop;openoffice.org-impress.desktop
-application/vnd.sun.xml.impress=libreoffice-impress.desktop;openoffice.org-impress.desktop
-application/vnd.sun.xml.impress.template=libreoffice-impress.desktop;openoffice.org-impress.desktop
-application/vnd.stardivision.impress=libreoffice-impress.desktop;openoffice.org-impress.desktop
-application/mspowerpoint=libreoffice-impress.desktop;openoffice.org-impress.desktop
-application/vnd.ms-powerpoint=libreoffice-impress.desktop;openoffice.org-impress.desktop
-application/vnd.openxmlformats-officedocument.presentationml.presentation=libreoffice-impress.desktop;openoffice.org-impress.desktop
-application/vnd.ms-powerpoint.presentation.macroenabled.12=libreoffice-impress.desktop;openoffice.org-impress.desktop
-application/vnd.openxmlformats-officedocument.presentationml.template=libreoffice-impress.desktop;openoffice.org-impress.desktop
-application/vnd.ms-powerpoint.template.macroenabled.12=libreoffice-impress.desktop;openoffice.org-impress.desktop
-application/vnd.oasis.opendocument.formula=libreoffice-math.desktop;openoffice.org-math.desktop
-application/vnd.sun.xml.math=libreoffice-math.desktop;openoffice.org-math.desktop
-application/vnd.stardivision.math=libreoffice-math.desktop;openoffice.org-math.desktop
-application/vnd.oasis.opendocument.text=libreoffice-writer.desktop;openoffice.org-writer.desktop
-application/vnd.oasis.opendocument.text-template=libreoffice-writer.desktop;openoffice.org-writer.desktop
-application/vnd.oasis.opendocument.text-web=libreoffice-writer.desktop;openoffice.org-writer.desktop
-application/vnd.oasis.opendocument.text-master=libreoffice-writer.desktop;openoffice.org-writer.desktop
-application/vnd.sun.xml.writer=libreoffice-writer.desktop;openoffice.org-writer.desktop
-application/vnd.sun.xml.writer.template=libreoffice-writer.desktop;openoffice.org-writer.desktop
-application/vnd.sun.xml.writer.global=libreoffice-writer.desktop;openoffice.org-writer.desktop
-application/vnd.stardivision.writer=libreoffice-writer.desktop;openoffice.org-writer.desktop
-application/msword=libreoffice-writer.desktop;openoffice.org-writer.desktop
-application/vnd.ms-word=libreoffice-writer.desktop;openoffice.org-writer.desktop
-application/x-doc=libreoffice-writer.desktop;openoffice.org-writer.desktop
-application/vnd.wordperfect=libreoffice-writer.desktop;openoffice.org-writer.desktop
-application/wordperfect=libreoffice-writer.desktop;openoffice.org-writer.desktop
-application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop;openoffice.org-writer.desktop
-application/vnd.ms-word.document.macroenabled.12=libreoffice-writer.desktop;openoffice.org-writer.desktop
-application/vnd.openxmlformats-officedocument.wordprocessingml.template=libreoffice-writer.desktop;openoffice.org-writer.desktop
-application/vnd.ms-word.template.macroenabled.12=libreoffice-writer.desktop;openoffice.org-writer.desktop
-x-content/audio-player=rhythmbox.desktop
-x-content/audio-cdda=sound-juicer.desktop
-application/x-shockwave-flash=swfdec-player.desktop
-application/futuresplash=swfdec-player.desktop
-application/mxf=vlc.desktop
-application/ogg=vlc.desktop
-application/ram=vlc.desktop
-application/sdp=vlc.desktop
-application/smil=vlc.desktop
-application/smil+xml=vlc.desktop
-application/vnd.ms-wpl=vlc.desktop
-application/vnd.rn-realmedia=vlc.desktop
-application/x-extension-m4a=vlc.desktop
-application/x-extension-mp4=vlc.desktop
-application/x-flac=vlc.desktop
-application/x-flash-video=vlc.desktop
-application/x-lyx=lyx.desktop
-application/x-matroska=vlc.desktop
-application/x-netshow-channel=vlc.desktop
-application/x-ogg=vlc.desktop
-application/x-quicktime-media-link=vlc.desktop
-application/x-quicktimeplayer=vlc.desktop
-application/x-shorten=vlc.desktop
-application/x-smil=vlc.desktop
-application/xspf+xml=vlc.desktop
-audio/3gpp=vlc.desktop
-audio/ac3=vlc.desktop
-audio/AMR=vlc.desktop
-audio/AMR-WB=vlc.desktop
-audio/basic=vlc.desktop
-audio/midi=vlc.desktop
-audio/mp4=vlc.desktop
-audio/mpeg=vlc.desktop
-audio/mpegurl=vlc.desktop
-audio/ogg=vlc.desktop
-audio/prs.sid=vlc.desktop
-audio/vnd.rn-realaudio=vlc.desktop
-audio/x-ape=vlc.desktop
-audio/x-flac=vlc.desktop
-audio/x-gsm=vlc.desktop
-audio/x-it=vlc.desktop
-audio/x-m4a=vlc.desktop
-audio/x-matroska=vlc.desktop
-audio/x-mod=vlc.desktop
-audio/x-mp3=vlc.desktop
-audio/x-mpeg=vlc.desktop
-audio/x-mpegurl=vlc.desktop
-audio/x-ms-asf=vlc.desktop
-audio/x-ms-asx=vlc.desktop
-audio/x-ms-wax=vlc.desktop
-audio/x-ms-wma=vlc.desktop
-audio/x-musepack=vlc.desktop
-audio/x-pn-aiff=vlc.desktop
-audio/x-pn-au=vlc.desktop
-audio/x-pn-realaudio=vlc.desktop
-audio/x-pn-realaudio-plugin=vlc.desktop
-audio/x-pn-wav=vlc.desktop
-audio/x-pn-windows-acm=vlc.desktop
-audio/x-realaudio=vlc.desktop
-audio/x-real-audio=vlc.desktop
-audio/x-sbc=vlc.desktop
-audio/x-scpls=vlc.desktop
-audio/x-speex=vlc.desktop
-audio/x-tta=vlc.desktop
-audio/x-vorbis=audacious.desktop
-audio/x-vorbis+ogg=audacious.desktop
-audio/x-wav=audacious.desktop
-audio/x-wavpack=audacious.desktop
-audio/x-xm=audacious.desktop
-image/vnd.rn-realpix=vlc.desktop
-image/x-pict=vlc.desktop
-misc/ultravox=vlc.desktop
-text/google-video-pointer=vlc.desktop
-text/x-google-video-pointer=vlc.desktop
-video/3gpp=vlc.desktop
-video/dv=vlc.desktop
-video/fli=vlc.desktop
-video/flv=vlc.desktop
-video/mp2t=vlc.desktop
-video/mp4=vlc.desktop
-video/mp4v-es=vlc.desktop
-video/mpeg=vlc.desktop
-video/msvideo=vlc.desktop
-video/ogg=vlc.desktop
-video/quicktime=vlc.desktop
-video/vivo=vlc.desktop
-video/vnd.divx=vlc.desktop
-video/vnd.rn-realvideo=vlc.desktop
-video/vnd.vivo=vlc.desktop
-video/webm=vlc.desktop
-video/x-anim=vlc.desktop
-video/x-avi=vlc.desktop
-video/x-flc=vlc.desktop
-video/x-fli=vlc.desktop
-video/x-flic=vlc.desktop
-video/x-flv=vlc.desktop
-video/x-m4v=vlc.desktop
-video/x-matroska=vlc.desktop
-video/x-mpeg=vlc.desktop
-video/x-ms-asf=vlc.desktop
-video/x-ms-asx=vlc.desktop
-video/x-msvideo=vlc.desktop
-video/x-ms-wm=vlc.desktop
-video/x-ms-wmv=vlc.desktop
-video/x-ms-wmx=vlc.desktop
-video/x-ms-wvx=vlc.desktop
-video/x-nsv=vlc.desktop
-video/x-ogm+ogg=vlc.desktop
-video/x-theora+ogg=vlc.desktop
-video/x-totem-stream=vlc.desktop
-x-content/video-dvd=vlc.desktop
-x-content/video-vcd=vlc.desktop
-x-content/video-svcd=vlc.desktop
-x-scheme-handler/ghelp=yelp.desktop;
-x-scheme-handler/help=yelp.desktop;
-x-scheme-handler/http=firefox.desktop;epiphany.desktop
-x-scheme-handler/https=firefox.desktop;epiphany.desktop
-x-scheme-handler/mailto=evolution.desktop
-application/x-bittorrent=transmission-gtk.desktop;deluge.desktop
-x-scheme-handler/magnet=transmission-gtk.desktop;deluge.desktop
diff --git a/mate-base/mate-session-manager/files/mate-session-manager-1.2.0-idle-transition.patch b/mate-base/mate-session-manager/files/mate-session-manager-1.2.0-idle-transition.patch
deleted file mode 100644
index 62a229e5..00000000
--- a/mate-base/mate-session-manager/files/mate-session-manager-1.2.0-idle-transition.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/mate-session/gs-idle-monitor.c 2012-02-29 22:03:08.000000000 +0100
-+++ b/mate-session/gs-idle-monitor.c 2012-08-08 11:49:13.308281663 +0200
-@@ -448,6 +448,7 @@
- attr.delta = delta;
- attr.events = TRUE;
-
-+ attr.trigger.wait_value = _int64_to_xsyncvalue (_xsyncvalue_to_int64 (watch->interval) - 1);
- attr.trigger.test_type = XSyncPositiveTransition;
- if (watch->xalarm_positive != None) {
- g_debug ("GSIdleMonitor: updating alarm for positive transition wait=%lld",
diff --git a/mate-base/mate-session-manager/files/mate-session-manager-1.5.2-save-session-ui.patch b/mate-base/mate-session-manager/files/mate-session-manager-1.5.2-save-session-ui.patch
deleted file mode 100644
index 8a57d44a..00000000
--- a/mate-base/mate-session-manager/files/mate-session-manager-1.5.2-save-session-ui.patch
+++ /dev/null
@@ -1,535 +0,0 @@
-diff -burN a/capplet/gsm-properties-dialog.c b/capplet/gsm-properties-dialog.c
---- a/capplet/gsm-properties-dialog.c 2012-02-29 22:03:08.000000000 +0100
-+++ b/capplet/gsm-properties-dialog.c 2012-08-08 12:16:37.527332034 +0200
-@@ -26,6 +26,8 @@
- #include <glib.h>
- #include <glib/gi18n.h>
- #include <gtk/gtk.h>
-+#include <dbus/dbus-glib.h>
-+#include <dbus/dbus-glib-lowlevel.h>
-
- #include <mateconf/mateconf-client.h>
-
-@@ -36,6 +38,11 @@
- #include "gsp-app.h"
- #include "gsp-app-manager.h"
-
-+
-+#define GSM_SERVICE_DBUS "org.mate.SessionManager"
-+#define GSM_PATH_DBUS "/org/mate/SessionManager"
-+#define GSM_INTERFACE_DBUS "org.mate.SessionManager"
-+
- #define GSM_PROPERTIES_DIALOG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GSM_TYPE_PROPERTIES_DIALOG, GsmPropertiesDialogPrivate))
-
- #define IS_STRING_EMPTY(x) ((x)==NULL||(x)[0]=='\0')
-@@ -50,6 +57,7 @@
- #define CAPPLET_DELETE_WIDGET_NAME "session_properties_delete_button"
- #define CAPPLET_EDIT_WIDGET_NAME "session_properties_edit_button"
- #define CAPPLET_SAVE_WIDGET_NAME "session_properties_save_button"
-+#define CAPPLET_SESSION_SAVED_WIDGET_NAME "session_properties_session_saved_label"
- #define CAPPLET_REMEMBER_WIDGET_NAME "session_properties_remember_toggle"
-
- #define STARTUP_APP_ICON "system-run"
-@@ -493,10 +501,66 @@
- }
-
- static void
-+session_saved_message (GsmPropertiesDialog *dialog,
-+ const char *msg,
-+ gboolean is_error)
-+{
-+ GtkLabel *label;
-+ gchar *markup;
-+
-+ label = GTK_LABEL (gtk_builder_get_object (dialog->priv->xml, CAPPLET_SESSION_SAVED_WIDGET_NAME));
-+ if (is_error)
-+ markup = g_markup_printf_escaped ("<span foreground=\"red\">%s</span>", msg);
-+ else
-+ markup = g_markup_escape_text (msg, -1);
-+
-+ gtk_label_set_markup (label, markup);
-+ g_free (markup);
-+}
-+
-+static void
-+session_saved_cb (DBusGProxy *proxy,
-+ DBusGProxyCall *call_id,
-+ void *user_data)
-+{
-+ gboolean res;
-+ GsmPropertiesDialog *dialog = user_data;
-+
-+ res = dbus_g_proxy_end_call (proxy, call_id, NULL, G_TYPE_INVALID);
-+ if (res)
-+ session_saved_message (dialog, _("Your session has been saved."), FALSE);
-+ else
-+ session_saved_message (dialog, _("Failed to save session"), TRUE);
-+
-+ g_object_unref (proxy);
-+}
-+
-+static void
- on_save_session_clicked (GtkWidget *widget,
- GsmPropertiesDialog *dialog)
- {
-- g_debug ("Session saving is not implemented yet!");
-+ DBusGConnection *conn;
-+ DBusGProxy *proxy;
-+ DBusGProxyCall *call;
-+
-+ conn = dbus_g_bus_get (DBUS_BUS_SESSION, NULL);
-+ if (conn == NULL) {
-+ session_saved_message (dialog, _("Could not connect to the session bus"), TRUE);
-+ return;
-+ }
-+
-+ proxy = dbus_g_proxy_new_for_name (conn, GSM_SERVICE_DBUS, GSM_PATH_DBUS, GSM_INTERFACE_DBUS);
-+ if (proxy == NULL) {
-+ session_saved_message (dialog, _("Could not connect to the session manager"), TRUE);
-+ return;
-+ }
-+
-+ call = dbus_g_proxy_begin_call (proxy, "SaveSession", session_saved_cb, dialog, NULL, G_TYPE_INVALID);
-+ if (call == NULL) {
-+ session_saved_message (dialog, _("Failed to save session"), TRUE);
-+ g_object_unref (proxy);
-+ return;
-+ }
- }
-
- static void
-diff -burN a/configure.ac b/configure.ac
---- a/configure.ac 2012-02-29 22:03:09.000000000 +0100
-+++ b/configure.ac 2012-08-08 12:18:58.740336360 +0200
-@@ -75,6 +75,7 @@
- PKG_CHECK_MODULES(SESSION_PROPERTIES,
- glib-2.0 >= $GLIB_REQUIRED
- gtk+-$GTK_API_VERSION >= $GTK_REQUIRED
-+ dbus-glib-1 >= $DBUS_GLIB_REQUIRED
- )
-
- PKG_CHECK_MODULES(SM, sm)
-diff -burN a/data/session-properties.ui b/data/session-properties.ui
---- a/data/session-properties.ui 2012-02-29 22:03:08.000000000 +0100
-+++ b/data/session-properties.ui 2012-08-08 12:22:36.619343035 +0200
-@@ -148,6 +148,7 @@
- <property name="visible">True</property>
- <child>
- <object class="GtkButton" id="session_properties_save_button">
-+ <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <child>
-@@ -191,6 +192,17 @@
- <property name="position">1</property>
- </packing>
- </child>
-+ <child>
-+ <object class="GtkLabel" id="session_properties_session_saved_label">
-+ <property name="visible">True</property>
-+ <property name="wrap">True</property>
-+ </object>
-+ <packing>
-+ <property name="expand">False</property>
-+ <property name="fill">False</property>
-+ <property name="position">2</property>
-+ </packing>
-+ </child>
- </object>
- <packing>
- <property name="position">1</property>
-diff -burN a/mate-session/gsm-client.c b/mate-session/gsm-client.c
---- a/mate-session/gsm-client.c 2012-02-29 22:03:08.000000000 +0100
-+++ b/mate-session/gsm-client.c 2012-08-08 12:24:20.120346205 +0200
-@@ -510,6 +510,17 @@
- g_signal_emit (client, signals[DISCONNECTED], 0);
- }
-
-+gboolean
-+gsm_client_request_save (GsmClient *client,
-+ guint flags,
-+ GError **error)
-+{
-+ g_return_val_if_fail (GSM_IS_CLIENT (client), FALSE);
-+
-+ return GSM_CLIENT_GET_CLASS (client)->impl_request_save (client, flags, error);
-+}
-+
-+
- GKeyFile *
- gsm_client_save (GsmClient *client,
- GError **error)
-diff -burN a/mate-session/gsm-client.h b/mate-session/gsm-client.h
---- a/mate-session/gsm-client.h 2012-02-29 22:03:09.000000000 +0100
-+++ b/mate-session/gsm-client.h 2012-08-08 12:26:38.848350455 +0200
-@@ -94,6 +94,9 @@
- GError **error);
- gboolean (*impl_stop) (GsmClient *client,
- GError **error);
-+ gboolean (*impl_request_save) (GsmClient *client,
-+ guint flags,
-+ GError **error);
- GKeyFile * (*impl_save) (GsmClient *client,
- GError **error);
- };
-@@ -139,6 +142,10 @@
-
- void gsm_client_disconnected (GsmClient *client);
-
-+gboolean gsm_client_request_save (GsmClient *client,
-+ guint flags,
-+ GError **error);
-+
- GKeyFile *gsm_client_save (GsmClient *client,
- GError **error);
- /* exported to bus */
-diff -burN a/mate-session/gsm-dbus-client.c b/mate-session/gsm-dbus-client.c
---- a/mate-session/gsm-dbus-client.c 2012-02-29 22:03:08.000000000 +0100
-+++ b/mate-session/gsm-dbus-client.c 2012-08-08 12:38:15.393371794 +0200
-@@ -413,6 +413,19 @@
- G_OBJECT_CLASS (gsm_dbus_client_parent_class)->finalize (object);
- }
-
-+static gboolean
-+dbus_client_request_save (GsmClient *client,
-+ guint flags,
-+ GError **error)
-+{
-+ g_debug ("GsmDBusClient: sending save request to client with id %s",
-+ gsm_client_peek_id (client));
-+
-+ /* FIXME: The protocol does not support this */
-+
-+ return FALSE;
-+}
-+
- static GKeyFile *
- dbus_client_save (GsmClient *client,
- GError **error)
-@@ -665,6 +678,7 @@
- object_class->set_property = gsm_dbus_client_set_property;
- object_class->dispose = gsm_dbus_client_dispose;
-
-+ client_class->impl_request_save = dbus_client_request_save;
- client_class->impl_save = dbus_client_save;
- client_class->impl_stop = dbus_client_stop;
- client_class->impl_query_end_session = dbus_client_query_end_session;
-diff -burN a/mate-session/gsm-manager.c b/mate-session/gsm-manager.c
---- a/mate-session/gsm-manager.c 2012-02-29 22:03:09.000000000 +0100
-+++ b/mate-session/gsm-manager.c 2012-08-08 12:47:24.627388620 +0200
-@@ -68,6 +68,7 @@
- #define GSM_MANAGER_DBUS_NAME "org.mate.SessionManager"
-
- #define GSM_MANAGER_PHASE_TIMEOUT 30 /* seconds */
-+#define GSM_MANAGER_SAVE_SESSION_TIMEOUT 2
-
- #define MDM_FLEXISERVER_COMMAND "mdmflexiserver"
- #define MDM_FLEXISERVER_ARGS "--startnew Standard"
-@@ -1176,6 +1177,69 @@
-
- }
-
-+static gboolean
-+_client_request_save (GsmClient *client,
-+ ClientEndSessionData *data)
-+{
-+ gboolean ret;
-+ GError *error;
-+
-+ error = NULL;
-+ ret = gsm_client_request_save (client, data->flags, &error);
-+ if (ret) {
-+ g_debug ("GsmManager: adding client to query clients: %s", gsm_client_peek_id (client));
-+ data->manager->priv->query_clients = g_slist_prepend (data->manager->priv->query_clients,
-+ client);
-+ } else if (error) {
-+ g_debug ("GsmManager: unable to query client: %s", error->message);
-+ g_error_free (error);
-+ }
-+
-+ return FALSE;
-+}
-+
-+static gboolean
-+_client_request_save_helper (const char *id,
-+ GsmClient *client,
-+ ClientEndSessionData *data)
-+{
-+ return _client_request_save (client, data);
-+}
-+
-+static void
-+query_save_session_complete (GsmManager *manager)
-+{
-+ GError *error = NULL;
-+
-+ if (g_slist_length (manager->priv->next_query_clients) > 0) {
-+ ClientEndSessionData data;
-+
-+ data.manager = manager;
-+ data.flags = GSM_CLIENT_END_SESSION_FLAG_LAST;
-+
-+ g_slist_foreach (manager->priv->next_query_clients,
-+ (GFunc)_client_request_save,
-+ &data);
-+
-+ g_slist_free (manager->priv->next_query_clients);
-+ manager->priv->next_query_clients = NULL;
-+
-+ return;
-+ }
-+
-+ if (manager->priv->query_timeout_id > 0) {
-+ g_source_remove (manager->priv->query_timeout_id);
-+ manager->priv->query_timeout_id = 0;
-+ }
-+
-+ gsm_session_save (manager->priv->clients, &error);
-+
-+ if (error) {
-+ g_warning ("Error saving session: %s", error->message);
-+ g_error_free (error);
-+ }
-+}
-+
- static guint32
- generate_cookie (void)
- {
-@@ -1250,6 +1314,21 @@
- return FALSE;
- }
-
-+static gboolean
-+_on_query_save_session_timeout (GsmManager *manager)
-+{
-+ manager->priv->query_timeout_id = 0;
-+
-+ g_debug ("GsmManager: query to save session timed out");
-+
-+ g_slist_free (manager->priv->query_clients);
-+ manager->priv->query_clients = NULL;
-+
-+ query_save_session_complete (manager);
-+
-+ return FALSE;
-+}
-+
- static void
- do_phase_query_end_session (GsmManager *manager)
- {
-@@ -1886,13 +1965,32 @@
- const char *reason,
- GsmManager *manager)
- {
-- /* just ignore if received outside of shutdown */
-- if (manager->priv->phase < GSM_MANAGER_PHASE_QUERY_END_SESSION) {
-+ /* just ignore if we are not yet running */
-+ if (manager->priv->phase < GSM_MANAGER_PHASE_RUNNING) {
- return;
- }
-
- g_debug ("GsmManager: Response from end session request: is-ok=%d do-last=%d cancel=%d reason=%s", is_ok, do_last, cancel, reason ? reason :"");
-
-+ if (manager->priv->phase == GSM_MANAGER_PHASE_RUNNING) {
-+ /* Ignore responses when no requests were sent */
-+ if (manager->priv->query_clients == NULL) {
-+ return;
-+ }
-+
-+ manager->priv->query_clients = g_slist_remove (manager->priv->query_clients, client);
-+
-+ if (do_last) {
-+ manager->priv->next_query_clients = g_slist_prepend (manager->priv->next_query_clients,
-+ client);
-+ }
-+
-+ if (manager->priv->query_clients == NULL) {
-+ query_save_session_complete (manager);
-+ }
-+ return;
-+ }
-+
- if (cancel) {
- cancel_end_session (manager);
- return;
-@@ -1991,6 +2089,15 @@
- }
-
- static void
-+on_xsmp_client_save_request (GsmXSMPClient *client,
-+ gboolean show_dialog,
-+ GsmManager *manager)
-+{
-+ g_debug ("GsmManager: save_request");
-+ gsm_manager_save_session (manager, NULL);
-+}
-+
-+static void
- on_store_client_added (GsmStore *store,
- const char *id,
- GsmManager *manager)
-@@ -2011,6 +2118,10 @@
- "logout-request",
- G_CALLBACK (on_xsmp_client_logout_request),
- manager);
-+ g_signal_connect (client,
-+ "save-request",
-+ G_CALLBACK (on_xsmp_client_save_request),
-+ manager);
- }
-
- g_signal_connect (client,
-@@ -2968,6 +3079,41 @@
- }
-
- gboolean
-+gsm_manager_save_session (GsmManager *manager,
-+ GError **error)
-+{
-+ ClientEndSessionData data;
-+
-+ g_debug ("GsmManager: SaveSession called");
-+
-+ g_return_val_if_fail (GSM_IS_MANAGER (manager), FALSE);
-+
-+ if (manager->priv->phase != GSM_MANAGER_PHASE_RUNNING) {
-+ g_set_error (error,
-+ GSM_MANAGER_ERROR,
-+ GSM_MANAGER_ERROR_NOT_IN_RUNNING,
-+ "SaveSession interface is only available during the Running phase");
-+ return FALSE;
-+ }
-+
-+ data.manager = manager;
-+ data.flags = 0;
-+ gsm_store_foreach (manager->priv->clients,
-+ (GsmStoreFunc)_client_request_save_helper,
-+ &data);
-+
-+ if (manager->priv->query_clients) {
-+ manager->priv->query_timeout_id = g_timeout_add_seconds (GSM_MANAGER_SAVE_SESSION_TIMEOUT,
-+ (GSourceFunc)_on_query_save_session_timeout,
-+ manager);
-+ return TRUE;
-+ } else {
-+ g_debug ("GsmManager: Nothing to save");
-+ return FALSE;
-+ }
-+}
-+
-+gboolean
- gsm_manager_can_shutdown (GsmManager *manager,
- gboolean *shutdown_available,
- GError **error)
-diff -burN a/mate-session/gsm-manager.h b/mate-session/gsm-manager.h
---- a/mate-session/gsm-manager.h 2012-02-29 22:03:09.000000000 +0100
-+++ b/mate-session/gsm-manager.h 2012-08-08 12:49:14.262391979 +0200
-@@ -154,6 +154,9 @@
- gboolean gsm_manager_shutdown (GsmManager *manager,
- GError **error);
-
-+gboolean gsm_manager_save_session (GsmManager *manager,
-+ GError **error);
-+
- gboolean gsm_manager_can_shutdown (GsmManager *manager,
- gboolean *shutdown_available,
- GError **error);
-diff -burN a/mate-session/gsm-xsmp-client.c b/mate-session/gsm-xsmp-client.c
---- a/mate-session/gsm-xsmp-client.c 2012-02-29 22:03:08.000000000 +0100
-+++ b/mate-session/gsm-xsmp-client.c 2012-08-08 12:52:27.719397905 +0200
-@@ -69,6 +69,7 @@
- enum {
- REGISTER_REQUEST,
- LOGOUT_REQUEST,
-+ SAVE_REQUEST,
- LAST_SIGNAL
- };
-
-@@ -502,6 +503,31 @@
- return TRUE;
- }
-
-+static gboolean
-+xsmp_request_save (GsmClient *client,
-+ guint flags,
-+ GError **error)
-+{
-+ GsmXSMPClient *xsmp = (GsmXSMPClient *) client;
-+
-+ g_debug ("GsmXSMPClient: xsmp_request_save ('%s')", xsmp->priv->description);
-+
-+ if (xsmp->priv->conn == NULL) {
-+ g_set_error (error,
-+ GSM_CLIENT_ERROR,
-+ GSM_CLIENT_ERROR_NOT_REGISTERED,
-+ "Client is not registered");
-+ return FALSE;
-+ }
-+
-+ if (flags & GSM_CLIENT_END_SESSION_FLAG_LAST)
-+ xsmp_save_yourself_phase2 (client);
-+ else
-+ do_save_yourself (xsmp, SmSaveLocal, FALSE);
-+
-+ return TRUE;
-+}
-+
- static char *
- get_desktop_file_path (GsmXSMPClient *client)
- {
-@@ -976,6 +1002,8 @@
- object_class->get_property = gsm_xsmp_client_get_property;
- object_class->set_property = gsm_xsmp_client_set_property;
-
-+
-+ client_class->impl_request_save = xsmp_request_save;
- client_class->impl_save = xsmp_save;
- client_class->impl_stop = xsmp_stop;
- client_class->impl_query_end_session = xsmp_query_end_session;
-@@ -1003,6 +1031,16 @@
- NULL,
- NULL,
- g_cclosure_marshal_VOID__BOOLEAN,
-+ G_TYPE_NONE,
-+ 1, G_TYPE_BOOLEAN);
-+ signals[SAVE_REQUEST] =
-+ g_signal_new ("save-request",
-+ G_OBJECT_CLASS_TYPE (object_class),
-+ G_SIGNAL_RUN_LAST,
-+ G_STRUCT_OFFSET (GsmXSMPClientClass, save_request),
-+ NULL,
-+ NULL,
-+ g_cclosure_marshal_VOID__BOOLEAN,
- G_TYPE_NONE,
- 1, G_TYPE_BOOLEAN);
-
-diff -burN a/mate-session/gsm-xsmp-client.h b/mate-session/gsm-xsmp-client.h
---- a/mate-session/gsm-xsmp-client.h 2012-02-29 22:03:09.000000000 +0100
-+++ b/mate-session/gsm-xsmp-client.h 2012-08-08 12:53:39.629400108 +0200
-@@ -57,6 +57,8 @@
- gboolean (*logout_request) (GsmXSMPClient *client,
- gboolean prompt);
-
-+ gboolean (*save_request) (GsmXSMPClient *client,
-+ gboolean prompt);
-
- void (*saved_state) (GsmXSMPClient *client);
-
-diff -burN a/mate-session/org.mate.SessionManager.xml b/mate-session/org.mate.SessionManager.xml
---- a/mate-session/org.mate.SessionManager.xml 2012-02-29 22:03:09.000000000 +0100
-+++ b/mate-session/org.mate.SessionManager.xml 2012-08-08 12:57:41.216407509 +0200
-@@ -256,6 +256,14 @@
- </doc:doc>
- </method>
-
-+ <method name="SaveSession">
-+ <doc:doc>
-+ <doc:description>
-+ <doc:para>Request to save session</doc:para>
-+ </doc:description>
-+ </doc:doc>
-+ </method>
-+
- <method name="CanShutdown">
- <arg name="is_available" direction="out" type="b">
- <doc:doc>
diff --git a/mate-base/mate-session-manager/files/mate-session-manager-upower1.patch b/mate-base/mate-session-manager/files/mate-session-manager-upower1.patch
deleted file mode 100644
index 8c86a1c6..00000000
--- a/mate-base/mate-session-manager/files/mate-session-manager-upower1.patch
+++ /dev/null
@@ -1,86 +0,0 @@
-From 80be90bb422ef8cb5a28c7ff3fe2a337dce8c368 Mon Sep 17 00:00:00 2001
-From: Stefano Karapetsas <stefano@karapetsas.com>
-Date: Tue, 22 Apr 2014 16:44:37 +0000
-Subject: Allow to build with upower 0.99
-
----
-diff --git a/mate-session/gsm-logout-dialog.c b/mate-session/gsm-logout-dialog.c
-index da3d651..697b70d 100644
---- a/mate-session/gsm-logout-dialog.c
-+++ b/mate-session/gsm-logout-dialog.c
-@@ -211,10 +211,10 @@ gsm_logout_supports_system_suspend (GsmLogoutDialog *logout_dialog)
- if (LOGIND_RUNNING())
- ret = gsm_systemd_can_suspend (logout_dialog->priv->systemd);
- #endif
--#if defined(HAVE_SYSTEMD) && defined(HAVE_UPOWER)
-+#if defined(HAVE_SYSTEMD) && defined(HAVE_UPOWER) && !UP_CHECK_VERSION(0, 99, 0)
- else
- #endif
--#ifdef HAVE_UPOWER
-+#if defined(HAVE_UPOWER) && !UP_CHECK_VERSION(0, 99, 0)
- ret = up_client_get_can_suspend (logout_dialog->priv->up_client);
- #endif
- return ret;
-@@ -229,10 +229,10 @@ gsm_logout_supports_system_hibernate (GsmLogoutDialog *logout_dialog)
- if (LOGIND_RUNNING())
- ret = gsm_systemd_can_hibernate (logout_dialog->priv->systemd);
- #endif
--#if defined(HAVE_SYSTEMD) && defined(HAVE_UPOWER)
-+#if defined(HAVE_SYSTEMD) && defined(HAVE_UPOWER) && !UP_CHECK_VERSION(0, 99, 0)
- else
- #endif
--#ifdef HAVE_UPOWER
-+#if defined(HAVE_UPOWER) && !UP_CHECK_VERSION(0, 99, 0)
- ret = up_client_get_can_hibernate (logout_dialog->priv->up_client);
- #endif
- return ret;
-diff --git a/mate-session/gsm-manager.c b/mate-session/gsm-manager.c
-index eda565b..638ef10 100644
---- a/mate-session/gsm-manager.c
-+++ b/mate-session/gsm-manager.c
-@@ -1163,10 +1163,10 @@ manager_attempt_hibernate (GsmManager *manager)
- gsm_systemd_attempt_hibernate (systemd);
- }
- #endif
--#if defined(HAVE_SYSTEMD) && defined(HAVE_UPOWER)
-+#if defined(HAVE_SYSTEMD) && defined(HAVE_UPOWER) && !UP_CHECK_VERSION(0, 99, 0)
- else {
- #endif
--#ifdef HAVE_UPOWER
-+#if defined(HAVE_UPOWER) && !UP_CHECK_VERSION(0, 99, 0)
- can_hibernate = up_client_get_can_hibernate (manager->priv->up_client);
- if (can_hibernate) {
-
-@@ -1182,7 +1182,7 @@ manager_attempt_hibernate (GsmManager *manager)
- }
- }
- #endif
--#if defined(HAVE_SYSTEMD) && defined(HAVE_UPOWER)
-+#if defined(HAVE_SYSTEMD) && defined(HAVE_UPOWER) && !UP_CHECK_VERSION(0, 99, 0)
- }
- #endif
- }
-@@ -1208,10 +1208,10 @@ manager_attempt_suspend (GsmManager *manager)
- gsm_systemd_attempt_suspend (systemd);
- }
- #endif
--#if defined(HAVE_SYSTEMD) && defined(HAVE_UPOWER)
-+#if defined(HAVE_SYSTEMD) && defined(HAVE_UPOWER) && !UP_CHECK_VERSION(0, 99, 0)
- else {
- #endif
--#ifdef HAVE_UPOWER
-+#if defined(HAVE_UPOWER) && !UP_CHECK_VERSION(0, 99, 0)
- can_suspend = up_client_get_can_suspend (manager->priv->up_client);
- if (can_suspend) {
-
-@@ -1227,7 +1227,7 @@ manager_attempt_suspend (GsmManager *manager)
- }
- }
- #endif
--#if defined(HAVE_SYSTEMD) && defined(HAVE_UPOWER)
-+#if defined(HAVE_SYSTEMD) && defined(HAVE_UPOWER) && !UP_CHECK_VERSION(0, 99, 0)
- }
- #endif
- }
---
-cgit
diff --git a/mate-base/mate-session-manager/mate-session-manager-1.8.1-r1.ebuild b/mate-base/mate-session-manager/mate-session-manager-1.8.1-r1.ebuild
deleted file mode 100644
index 9d848576..00000000
--- a/mate-base/mate-session-manager/mate-session-manager-1.8.1-r1.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mate-base/mate-session-manager/mate-session-manager-1.8.1-r1.ebuild,v 1.6 2014/09/19 17:25:19 ssuominen Exp $
-
-EAPI="5"
-
-GCONF_DEBUG="yes"
-
-inherit autotools gnome2 versionator
-
-MATE_BRANCH="$(get_version_component_range 1-2)"
-
-SRC_URI="http://pub.mate-desktop.org/releases/${MATE_BRANCH}/${P}.tar.xz"
-DESCRIPTION="MATE session manager"
-HOMEPAGE="http://mate-desktop.org/"
-
-LICENSE="GPL-2 LGPL-2 FDL-1.1"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-IUSE="ipv6 elibc_FreeBSD gnome-keyring systemd upower"
-
-# x11-misc/xdg-user-dirs{,-gtk} are needed to create the various XDG_*_DIRs, and
-# create .config/user-dirs.dirs which is read by glib to get G_USER_DIRECTORY_*
-# xdg-user-dirs-update is run during login (see 10-user-dirs-update-gnome below).
-
-RDEPEND=">=dev-libs/dbus-glib-0.76
- >=dev-libs/glib-2.25:2
- dev-libs/libxslt
- sys-apps/dbus
- x11-apps/xdpyinfo
- x11-libs/gdk-pixbuf:2
- >=x11-libs/gtk+-2.14:2
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
- x11-libs/libXau
- x11-libs/libXext
- x11-libs/libXrender
- x11-libs/libXtst
- x11-libs/pango
- x11-libs/xtrans
- x11-misc/xdg-user-dirs
- x11-misc/xdg-user-dirs-gtk
- virtual/libintl
- elibc_FreeBSD? ( dev-libs/libexecinfo )
- gnome-keyring? ( gnome-base/gnome-keyring )
- systemd? ( sys-apps/systemd )
- upower? ( >=sys-power/upower-0.9.23 )"
-
-DEPEND="${RDEPEND}
- >=dev-util/intltool-0.40:*
- >=dev-lang/perl-5
- >=mate-base/mate-common-1.6
- >=sys-devel/gettext-0.10.40:*
- virtual/pkgconfig:*
- !<gnome-base/gdm-2.20.4"
-
-src_prepare() {
- # Add "session saving" button back,
- # see https://bugzilla.gnome.org/show_bug.cgi?id=575544
- epatch "${FILESDIR}"/${PN}-1.5.2-save-session-ui.patch
-
- # Fix race condition in idle monitor, GNOME bug applies to MATE too,
- # see https://bugzilla.gnome.org/show_bug.cgi?id=627903
- epatch "${FILESDIR}"/${PN}-1.2.0-idle-transition.patch
- # allow to build with upower1
- # cherry picked from http://git.mate-desktop.org/mate-session-manager/commit/?id=80be90bb422ef8cb5a28c7ff3fe2a337dce8c368
- epatch "${FILESDIR}"/${PN}-upower1.patch
-
- eautoreconf
- gnome2_src_prepare
-}
-
-src_configure() {
- gnome2_src_configure \
- --docdir="${EPREFIX}/usr/share/doc/${PF}" \
- --with-default-wm=mate-wm \
- --with-gtk=2.0 \
- $(use_enable ipv6) \
- $(use_with systemd) \
- $(use_enable upower)
-}
-
-DOCS="AUTHORS ChangeLog NEWS README"
-
-src_install() {
- gnome2_src_install
-
- dodir /etc/X11/Sessions/
- exeinto /etc/X11/Sessions/
- doexe "${FILESDIR}"/MATE
-
- dodir /usr/share/mate/applications/
- insinto /usr/share/mate/applications/
- doins "${FILESDIR}"/defaults.list
-
- dodir /etc/X11/xinit/xinitrc.d/
- exeinto /etc/X11/xinit/xinitrc.d/
- doexe "${FILESDIR}"/15-xdg-data-mate
-
- # This should be done in MATE too, see Gentoo bug #270852
- doexe "${FILESDIR}"/10-user-dirs-update-mate
-}
diff --git a/mate-extra/mate-tweak/Manifest b/mate-extra/mate-tweak/Manifest
deleted file mode 100644
index f4faa509..00000000
--- a/mate-extra/mate-tweak/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST mate-tweak-3.4.8.tar.gz 103013 SHA256 7c142484ec32e016a800a4fbbaa28199a3e5dc1c40ab2426596ff33339808827 SHA512 4db758c7300778af0a9586a8a481c68af67fa7c43c869d841ccf5f2a77f27423f07467598601b8dcc81878ff39786c056758bd07ba9b0e12223e36b13c73adcf WHIRLPOOL b9baddf9c017b2cb8074626ee93affcd1eb646cae55cabe31cf4d540e542c0111d6ab82a64205945b23ed57dc18140c769e1a86e1f0a9467730f1372dbede83a
-DIST mate-tweak-3.4.9.tar.gz 110129 SHA256 dc9e64a53ecda695b8406477534e81d717c9d70cedf259fae49cfa74634b8195 SHA512 900594e9639de59cbb0a2db30fec0f24df16133a192ce29ef78a3904fa385d3e8cc9c81fc18c2fcabacb67b95a330cf68711336ca57c2e6cdebd964974885e2b WHIRLPOOL 605dff94f517cdc49c6ac68081a0e09ad349f8a050b548f504fcd5e4cd7f29ad5e06fec6ab2c84d889ae53484e4bf119c6105b3e9853fbed3e229cf601ae9683
diff --git a/mate-extra/mate-tweak/mate-tweak-3.4.8.ebuild b/mate-extra/mate-tweak/mate-tweak-3.4.8.ebuild
deleted file mode 100644
index c9a40b47..00000000
--- a/mate-extra/mate-tweak/mate-tweak-3.4.8.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-PYTHON_SINGLE_TARGET="python2_7"
-DISTUTILS_SINGLE_IMPL=1
-
-inherit eutils distutils-r1
-
-DESCRIPTION="Tweak tool for the MATE Desktop. Fork of mintDesktop."
-HOMEPAGE="https://bitbucket.org/ubuntu-mate/${PN}"
-SRC_URI="${HOMEPAGE}/get/${PV}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~x86 ~amd64"
-COMMIT="9dcf744abc9e"
-S="${WORKDIR}/ubuntu-mate-${PN}-${COMMIT}"
-
-LICENSE="LGPL-3"
-SLOT="0"
-IUSE=""
-
-DEPEND="mate-base/mate-desktop
- dev-python/setuptools
- dev-python/python-distutils-extra
- x11-misc/wmctrl"
-RDEPEND="${DEPEND}"
-
-python_install(){
- distutils-r1_python_install
-}
diff --git a/mate-extra/mate-tweak/mate-tweak-3.4.9.ebuild b/mate-extra/mate-tweak/mate-tweak-3.4.9.ebuild
deleted file mode 100644
index 3e5a54f4..00000000
--- a/mate-extra/mate-tweak/mate-tweak-3.4.9.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-PYTHON_SINGLE_TARGET="python2_7"
-DISTUTILS_SINGLE_IMPL=1
-
-inherit eutils distutils-r1
-
-DESCRIPTION="Tweak tool for the MATE Desktop. Fork of mintDesktop."
-HOMEPAGE="https://bitbucket.org/ubuntu-mate/${PN}"
-SRC_URI="${HOMEPAGE}/get/${PV}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~x86 ~amd64"
-COMMIT="7de2c0b5ee5f"
-S="${WORKDIR}/ubuntu-mate-${PN}-${COMMIT}"
-
-LICENSE="LGPL-3"
-SLOT="0"
-IUSE=""
-
-DEPEND="mate-base/mate-desktop
- dev-python/setuptools
- dev-python/python-distutils-extra
- x11-misc/wmctrl"
-RDEPEND="${DEPEND}"
-
-python_install(){
- distutils-r1_python_install
-}
diff --git a/mate-extra/mate-tweak/mate-tweak-9999.ebuild b/mate-extra/mate-tweak/mate-tweak-9999.ebuild
deleted file mode 100644
index a28b6972..00000000
--- a/mate-extra/mate-tweak/mate-tweak-9999.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-PYTHON_SINGLE_TARGET="python2_7"
-DISTUTILS_SINGLE_IMPL=1
-
-inherit eutils distutils-r1 git-r3
-
-DESCRIPTION="Tweak tool for the MATE Desktop. Fork of mintDesktop."
-HOMEPAGE="https://bitbucket.org/ubuntu-mate/${PN}"
-EGIT_REPO_URI="${HOMEPAGE}.git"
-KEYWORDS=""
-S="${WORKDIR}"/"${P}"
-LICENSE="LGPL-3"
-SLOT="0"
-IUSE=""
-
-DEPEND="mate-base/mate-desktop
- dev-python/setuptools
- dev-python/python-distutils-extra
- x11-misc/wmctrl"
-RDEPEND="${DEPEND}"
-
-python_install(){
- distutils-r1_python_install
-}
diff --git a/media-sound/deadbeef/Manifest b/media-sound/deadbeef/Manifest
index d456a0fb..c8a99ba9 100644
--- a/media-sound/deadbeef/Manifest
+++ b/media-sound/deadbeef/Manifest
@@ -1 +1 @@
-DIST deadbeef-0.6.2.tar.bz2 3495920 SHA256 3433b966683286c03ffbcc79b2201cd517f8dbf6b41da8600778dfa93cd64e1a SHA512 7caee245d7fa68e98ce5edc6aa6acc829d62c963f523c81e0406182a1aa36759219a8c0a2bdf010ac810f22b15acc81d06e8cab4ab820956c96cbc0a94423b7b WHIRLPOOL a8fc10c0f44f9f4d4eafb99a52f26efef34c2a1164d19b1f60693347a4b7a5564c6f7fafd394914149240a2a2f30926ce853bf42bbf3a07699bd8ba422a59f63
+DIST deadbeef-0.6.1.tar.bz2 3429924 SHA256 362b7d496eca487a09fa919e1b03ffb3c01034f1e2b05f09ea5a47aaa2f0af45 SHA512 0812f2d6b2ebc2ef1e65af9912546fa769e0e6d090f15cf3f2c4170bfa5aab03545cd63f26dcdcde905416801c0b56bd190cd1792f29eabaa318db212db99f90 WHIRLPOOL 2ac6f4abd70625c4f0898cb07e7b5ef645755136aee4b424af5e9d11c00b290dc75a467288e45bf35f2d25fc51fd76c12c58a58c966ea6fdf9ae4e1cea512339
diff --git a/media-sound/deadbeef/deadbeef-0.6.1.ebuild b/media-sound/deadbeef/deadbeef-0.6.1.ebuild
new file mode 100644
index 00000000..c4cd4fe0
--- /dev/null
+++ b/media-sound/deadbeef/deadbeef-0.6.1.ebuild
@@ -0,0 +1,182 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+inherit fdo-mime gnome2-utils eutils versionator
+
+MY_PV="$(replace_version_separator 3 '-')"
+
+SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.tar.bz2
+ http://sourceforge.net/projects/${PN}/files/${PN}-${MY_PV}.tar.bz2/download -> ${PN}-${MY_PV}.tar.bz2"
+KEYWORDS="x86 amd64"
+
+DESCRIPTION="foobar2k-like music player"
+HOMEPAGE="http://deadbeef.sourceforge.net/"
+
+LICENSE="GPL-2
+ LGPL-2.1
+ ZLIB
+ psf? ( BSD XMAME )
+ dumb? ( DUMB-0.9.2 )
+ shn? ( shorten )"
+SLOT="0"
+IUSE="adplug aac alac alsa psf ape cdda cover cover-imlib2 dts dumb converter curl ffmpeg flac gme
+ hotkeys lastfm m3u midi mms mp3 musepack nls notify nullout oss pulseaudio rpath mono2stereo pltbrowser
+ shellexec shn sid sndfile src static supereq threads tta vorbis vtx wavpack zip gtk3 +gtk2 wma"
+
+REQUIRED_USE="
+ cover? ( curl )
+ lastfm? ( curl )
+ || ( alsa oss pulseaudio nullout )"
+
+LANGS="be bg bn ca cs da de el en_GB es et eu fa fi fr gl he hr hu id it ja kk km lg
+ lt nl pl pt pt_BR ro ru si_LK sk sl sr sr@latin sv te tr ug uk vi zh_CN zh_TW"
+
+for lang in ${LANGS}; do
+ IUSE+=" linguas_${lang}"
+done
+
+RDEPEND="aac? ( media-libs/faad2 )
+ adplug? ( media-libs/adplug )
+ alsa? ( media-libs/alsa-lib )
+ alac? ( media-libs/faad2 )
+ cdda? ( >=dev-libs/libcdio-0.90 media-libs/libcddb )
+ cover? ( media-libs/imlib2 )
+ ffmpeg? ( !media-plugins/deadbeef-ffmpeg >=virtual/ffmpeg-9 )
+ flac? ( media-libs/flac )
+ gtk2? ( x11-libs/gtk+:2 x11-libs/gtkglext )
+ gtk3? ( x11-libs/gtk+:3 )
+ notify? ( sys-apps/dbus )
+ midi? ( media-sound/timidity-freepats )
+ mms? ( media-libs/libmms )
+ mp3? ( media-libs/libmad )
+ musepack? ( media-sound/musepack-tools )
+ pulseaudio? ( media-sound/pulseaudio )
+ sndfile? ( media-libs/libsndfile )
+ src? ( media-libs/libsamplerate )
+ vorbis? ( media-libs/libvorbis )
+ wavpack? ( media-sound/wavpack )
+ zip? ( dev-libs/libzip
+ sys-libs/zlib )
+ curl? ( net-misc/curl )"
+
+DEPEND="
+ dev-util/intltool
+ ${RDEPEND}"
+
+QA_TEXTRELS="usr/lib/deadbeef/ffap.so.0.0.0"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+pkg_setup() {
+ if use psf || use dumb || use shn && use static ; then
+ die "ao/converter/dumb or shn plugins can't be builded statically"
+ fi
+}
+
+src_prepare() {
+ if [[ -f autogen.sh ]];then
+ touch config.rpath
+ sh autogen.sh
+ fi
+
+ if use midi ; then
+ # set default gentoo path
+ sed -e 's;/etc/timidity++/timidity-freepats.cfg;/usr/share/timidity/freepats/timidity.cfg;g' \
+ -i "${S}/plugins/wildmidi/wildmidiplug.c"
+ fi
+
+ # remove unity trash
+ epatch "${FILESDIR}/desktop-2.patch"
+
+ for lang in ${LANGS};do
+ for x in ${lang};do
+ if ! use linguas_${x}; then
+ sed -e "s|^${x}$||" -i "po/LINGUAS"
+ fi
+ done
+ done
+}
+
+src_configure() {
+ my_config="--disable-portable
+ --docdir=/usr/share/${PN}
+ --disable-coreaudio
+ $(use_enable aac)
+ $(use_enable adplug)
+ $(use_enable alac)
+ $(use_enable alsa)
+ $(use_enable ape ffap)
+ $(use_enable cdda)
+ $(use_enable converter)
+ $(use_enable cover artwork)
+ $(use_enable cover-imlib2 artwork-imlib2)
+ $(use_enable curl vfs-curl)
+ $(use_enable dts dca)
+ $(use_enable dumb)
+ $(use_enable ffmpeg)
+ $(use_enable flac)
+ $(use_enable gme)
+ $(use_enable gtk2)
+ $(use_enable gtk3)
+ $(use_enable hotkeys)
+ $(use_enable lastfm lfm)
+ $(use_enable m3u)
+ $(use_enable midi wildmidi)
+ $(use_enable mms)
+ $(use_enable mono2stereo)
+ $(use_enable mp3 mad)
+ $(use_enable musepack)
+ $(use_enable nls)
+ $(use_enable notify)
+ $(use_enable nullout)
+ $(use_enable oss)
+ $(use_enable psf)
+ $(use_enable pulseaudio pulse)
+ $(use_enable pltbrowser)
+ $(use_enable rpath)
+ $(use_enable shellexec)
+ $(use_enable shellexec shellexecui)
+ $(use_enable shn)
+ $(use_enable sid)
+ $(use_enable sndfile)
+ $(use_enable src)
+ $(use_enable static)
+ $(use_enable static staticlink)
+ $(use_enable supereq)
+ $(use_enable threads)
+ $(use_enable tta)
+ $(use_enable vorbis)
+ $(use_enable vtx)
+ $(use_enable wavpack)
+ $(use_enable zip vfs-zip)
+ $(use_enable wma)"
+
+ econf ${my_config}
+}
+pkg_preinst() {
+ use linguas_pt_BR || rm -f "${D}/usr/share/deadbeef/help.pt_BR.txt"
+ use linguas_ru || rm -f "${D}/usr/share/deadbeef/help.ru.txt"
+ gnome2_icon_savelist
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ if use midi ; then
+ einfo "enable manually freepats support for timidity via"
+ einfo "eselect timidity set --global freepats"
+ fi
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+ gnome2_schemas_update
+}
diff --git a/media-sound/deadbeef/deadbeef-0.6.2.ebuild b/media-sound/deadbeef/deadbeef-0.6.2.ebuild
deleted file mode 100644
index 85158513..00000000
--- a/media-sound/deadbeef/deadbeef-0.6.2.ebuild
+++ /dev/null
@@ -1,243 +0,0 @@
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-PLOCALES="be bg bn ca cs da de el en_GB es et eu fa fi fr gl he hr hu id it ja kk km lg
- lt nl pl pt pt_BR ro ru si_LK sk sl sr sr@latin sv te tr ug uk vi zh_CN zh_TW"
-
-PLOCALE_BACKUP="en_GB"
-
-inherit autotools eutils fdo-mime gnome2-utils l10n
-
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-KEYWORDS="*"
-
-DESCRIPTION="foobar2k-like music player"
-HOMEPAGE="http://deadbeef.sourceforge.net"
-
-RESTRICT="mirror"
-
-LICENSE="BSD
- UNICODE
- ZLIB
- aac? ( GPL GPL-2 )
- adplug? ( LGPL-2.1 ZLIB )
- alac? ( MIT GPL-2 )
- alsa? ( GPL-2 )
- cdda? ( GPL-2 LGPL-2 GPL-3 )
- cover? ( ZLIB )
- converter? ( GPL-2 )
- curl? ( curl ZLIB )
- dts? ( GPL-2 )
- dumb? ( DUMB-0.9.3 ZLIB )
- equalizer? ( GPL-2 )
- ffmpeg? ( GPL-2 )
- flac? ( BSD )
- gme? ( LGPL-2.1 )
- gtk2? ( GPL-2 )
- gtk3? ( GPL-2 )
- hotkeys? ( ZLIB )
- lastfm? ( GPL-2 )
- libav? ( GPL-2 )
- libnotify? ( GPL-2 )
- libsamplerate? ( GPL-2 )
- m3u? ( ZLIB )
- mac? ( GPL-2 )
- midi? ( LGPL-2.1 ZLIB )
- mms? ( GPL-2 ZLIB )
- mono2stereo? ( ZLIB )
- mp3? ( GPL-2 ZLIB )
- musepack? ( BSD ZLIB )
- nullout? ( ZLIB )
- oss? ( GPL-2 )
- playlist-browser? ( ZLIB )
- psf? ( BSD GPL MAME ZLIB )
- pulseaudio? ( GPL-2 )
- shell-exec? ( GPL-2 )
- shn? ( shorten ZLIB )
- sid? ( GPL-2 )
- sndfile? ( GPL-2 LGPL-2 )
- tta? ( BSD ZLIB )
- vorbis? ( BSD ZLIB )
- vtx? ( GPL-2 ZLIB )
- wavpack? ( BSD )
- wma? ( GPL-2 LGPL-2 ZLIB )
- zip? ( ZLIB )"
-
-SLOT="0"
-
-IUSE="+alsa +flac +gtk2 +hotkeys +m3u +mp3 +sndfile +vorbis
- aac adplug alac cdda converter cover cover-imlib2 cover-network curl dts dumb equalizer
- ffmpeg gme gtk3 lastfm libav libnotify libsamplerate mac midi mms mono2stereo musepack nls nullout
- oss playlist-browser psf pulseaudio shell-exec shn sid tta unity vtx wavpack wma zip"
-
-REQUIRED_USE="converter? ( || ( gtk2 gtk3 ) )
- cover-imlib2? ( cover )
- cover-network? ( cover curl )
- cover? ( || ( gtk2 gtk3 ) )
- ffmpeg? ( !libav )
- lastfm? ( curl )
- playlist-browser? ( || ( gtk2 gtk3 ) )
- || ( alsa oss pulseaudio nullout )"
-
-PDEPEND="media-plugins/deadbeef-plugins-meta:0"
-
-RDEPEND="dev-libs/glib:2
- aac? ( media-libs/faad2:0 )
- adplug? ( media-libs/adplug:0 )
- alsa? ( media-libs/alsa-lib:0 )
- alac? ( media-libs/faad2:0 )
- cdda? ( dev-libs/libcdio:0=
- media-libs/libcddb:0 )
- cover? ( cover-imlib2? ( media-libs/imlib2:0 )
- media-libs/libpng:0=
- virtual/jpeg:0
- x11-libs/gdk-pixbuf:2[jpeg] )
- curl? ( net-misc/curl:0 )
- ffmpeg? ( media-video/ffmpeg:0= )
- libav? ( media-video/libav:0= )
- flac? ( media-libs/libogg
- media-libs/flac:0 )
- gme? ( sys-libs/zlib:0 )
- gtk2? ( dev-libs/atk:0
- x11-libs/cairo:0
- x11-libs/gtk+:2
- x11-libs/pango:0 )
- gtk3? ( x11-libs/gtk+:3 )
- hotkeys? ( x11-libs/libX11:0 )
- libnotify? ( sys-apps/dbus:0 )
- libsamplerate? ( media-libs/libsamplerate:0 )
- mac? ( x86? ( dev-lang/yasm:0 )
- amd64? ( dev-lang/yasm:0 ) )
- midi? ( media-sound/timidity-freepats:0 )
- mp3? ( media-libs/libmad:0 )
- psf? ( sys-libs/zlib:0 )
- pulseaudio? ( media-sound/pulseaudio:0 )
- sndfile? ( media-libs/libsndfile:0 )
- vorbis? ( media-libs/libogg:0
- media-libs/libvorbis:0 )
- wavpack? ( media-sound/wavpack:0 )
- zip? ( dev-libs/libzip:0 )"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig:0
- nls? ( dev-util/intltool:0
- virtual/libintl:0 )"
-
-src_prepare() {
- if ! use_if_iuse linguas_pt_BR && use_if_iuse linguas_ru ; then
- epatch "${FILESDIR}/${PN}-remove-pt_br-help-translation.patch"
- rm "${S}/translation/help.pt_BR.txt" || die
- fi
-
- if ! use_if_iuse linguas_ru && use_if_iuse linguas_pt_BR ; then
- epatch "${FILESDIR}/${PN}-remove-ru-help-translation.patch"
- rm "${S}/translation/help.ru.txt" || die
- fi
-
- if ! use_if_iuse linguas_pt_BR && ! use_if_iuse linguas_ru ; then
- epatch "${FILESDIR}/${PN}-remove-pt_br-and-ru-help-translation.patch"
- rm "${S}/translation/help.pt_BR.txt" "${S}/translation/help.ru.txt" || die
- fi
-
- if use midi ; then
- # set default gentoo path
- sed -e 's;/etc/timidity++/timidity-freepats.cfg;/usr/share/timidity/freepats/timidity.cfg;g' \
- -i "${S}/plugins/wildmidi/wildmidiplug.c" || die
- fi
-
- if ! use unity ; then
- # remove unity trash
- epatch "${FILESDIR}/${P}-remove-unity-trash.patch"
- fi
-
- config_rpath_update "${S}/config.rpath" || die
- eautoreconf
-}
-
-src_configure() {
- if use shell-exec ; then
- if use gtk2 || use gtk3 ; then
- shell-exec-ui="--enable-shellexec-ui"
- else
- shell-exec-ui="--disable-shellexec-ui"
- fi
- fi
-
- econf --disable-coreaudio \
- --disable-portable \
- --disable-static \
- --docdir=/usr/share/${PN} \
- ${shell-exec-ui} \
- $(use_enable aac) \
- $(use_enable adplug) \
- $(use_enable alac) \
- $(use_enable alsa) \
- $(use_enable cdda) \
- $(use_enable converter) \
- $(use_enable cover artwork) \
- $(use_enable cover-imlib2 artwork-imlib2) \
- $(use_enable cover-network artwork-network) \
- $(use_enable curl vfs-curl) \
- $(use_enable dts dca) \
- $(use_enable dumb) \
- $(use_enable equalizer supereq) \
- $(use_enable ffmpeg) \
- $(use_enable flac) \
- $(use_enable gme) \
- $(use_enable gtk2) \
- $(use_enable gtk3) \
- $(use_enable hotkeys) \
- $(use_enable lastfm lfm) \
- $(use_enable libav ffmpeg) \
- $(use_enable libnotify notify) \
- $(use_enable libsamplerate src) \
- $(use_enable m3u) \
- $(use_enable mac ffap) \
- $(use_enable midi wildmidi) \
- $(use_enable mms) \
- $(use_enable mono2stereo) \
- $(use_enable mp3 mad) \
- $(use_enable musepack) \
- $(use_enable nls) \
- $(use_enable nullout) \
- $(use_enable oss) \
- $(use_enable playlist-browser pltbrowser) \
- $(use_enable psf) \
- $(use_enable pulseaudio pulse) \
- $(use_enable shell-exec shellexec) \
- $(use_enable shn) \
- $(use_enable sid) \
- $(use_enable sndfile) \
- $(use_enable tta) \
- $(use_enable vorbis) \
- $(use_enable vtx) \
- $(use_enable wavpack) \
- $(use_enable wma) \
- $(use_enable zip vfs-zip)
-}
-
-pkg_preinst() {
- if use gtk2 || use gtk3 ; then
- gnome2_icon_savelist
- fi
-}
-
-pkg_postinst() {
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
-
- if use gtk2 || use gtk3 ; then
- gnome2_icon_cache_update
- fi
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
-
- if use gtk2 || use gtk3 ; then
- gnome2_icon_cache_update
- fi
-}
diff --git a/media-sound/deadbeef/deadbeef-9999.ebuild b/media-sound/deadbeef/deadbeef-9999.ebuild
deleted file mode 100644
index 75e750df..00000000
--- a/media-sound/deadbeef/deadbeef-9999.ebuild
+++ /dev/null
@@ -1,248 +0,0 @@
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-PLOCALES="be bg bn ca cs da de el en_GB es et eu fa fi fr gl he hr hu id it ja kk km lg
- lt nl pl pt pt_BR ro ru si_LK sk sl sr sr@latin sv te tr ug uk vi zh_CN zh_TW"
-
-PLOCALE_BACKUP="en_GB"
-
-inherit autotools eutils fdo-mime git-r3 gnome2-utils l10n
-
-EGIT_REPO_URI="https://github.com/Alexey-Yakovenko/${PN}.git"
-EGIT_BRANCH="master"
-
-KEYWORDS=""
-
-DESCRIPTION="foobar2k-like music player"
-HOMEPAGE="http://deadbeef.sourceforge.net"
-
-LICENSE="BSD
- UNICODE
- ZLIB
- aac? ( GPL GPL-2 )
- adplug? ( LGPL-2.1 ZLIB )
- alac? ( MIT GPL-2 )
- alsa? ( GPL-2 )
- cdda? ( GPL-2 LGPL-2 GPL-3 )
- cover? ( ZLIB )
- converter? ( GPL-2 )
- curl? ( curl ZLIB )
- dts? ( GPL-2 )
- dumb? ( DUMB-0.9.3 ZLIB )
- equalizer? ( GPL-2 )
- ffmpeg? ( GPL-2 )
- flac? ( BSD )
- gme? ( LGPL-2.1 )
- gtk2? ( GPL-2 )
- gtk3? ( GPL-2 )
- hotkeys? ( ZLIB )
- lastfm? ( GPL-2 )
- libav? ( GPL-2 )
- libnotify? ( GPL-2 )
- libsamplerate? ( GPL-2 )
- m3u? ( ZLIB )
- mac? ( GPL-2 )
- mad? ( GPL-2 ZLIB )
- midi? ( LGPL-2.1 ZLIB )
- mms? ( GPL-2 ZLIB )
- mono2stereo? ( ZLIB )
- mpg123? ( LGPL-2.1 ZLIB )
- musepack? ( BSD ZLIB )
- nullout? ( ZLIB )
- oss? ( GPL-2 )
- playlist-browser? ( ZLIB )
- psf? ( BSD GPL MAME ZLIB )
- pulseaudio? ( GPL-2 )
- shell-exec? ( GPL-2 )
- shn? ( shorten ZLIB )
- sid? ( GPL-2 )
- sndfile? ( GPL-2 LGPL-2 )
- tta? ( BSD ZLIB )
- vorbis? ( BSD ZLIB )
- vtx? ( GPL-2 ZLIB )
- wavpack? ( BSD )
- wma? ( GPL-2 LGPL-2 ZLIB )
- zip? ( ZLIB )"
-
-SLOT="0"
-
-IUSE="+alsa +flac +gtk2 +hotkeys +m3u +mad +mp3 +sndfile +vorbis
- aac adplug alac cdda converter cover cover-imlib2 cover-network curl dts dumb equalizer
- ffmpeg gme gtk3 lastfm libav libnotify libsamplerate mac midi mms mono2stereo mpg123 musepack nls
- nullout oss playlist-browser psf pulseaudio sc68 shell-exec shn sid tta unity vtx wavpack wma zip"
-
-REQUIRED_USE="converter? ( || ( gtk2 gtk3 ) )
- cover-imlib2? ( cover )
- cover-network? ( cover curl )
- cover? ( || ( gtk2 gtk3 ) )
- ffmpeg? ( !libav )
- lastfm? ( curl )
- mp3? ( || ( mad mpg123 ) )
- playlist-browser? ( || ( gtk2 gtk3 ) )
- || ( alsa oss pulseaudio nullout )"
-
-PDEPEND="media-plugins/deadbeef-plugins-meta:0"
-
-RDEPEND="dev-libs/glib:2
- aac? ( media-libs/faad2:0 )
- adplug? ( media-libs/adplug:0 )
- alsa? ( media-libs/alsa-lib:0 )
- alac? ( media-libs/faad2:0 )
- cdda? ( dev-libs/libcdio:0=
- media-libs/libcddb:0 )
- cover? ( cover-imlib2? ( media-libs/imlib2:0 )
- media-libs/libpng:0=
- virtual/jpeg:0
- x11-libs/gdk-pixbuf:2[jpeg] )
- curl? ( net-misc/curl:0 )
- ffmpeg? ( media-video/ffmpeg:0= )
- libav? ( media-video/libav:0= )
- flac? ( media-libs/flac:0 )
- gme? ( sys-libs/zlib:0 )
- gtk2? ( dev-libs/atk:0
- dev-libs/jansson:0
- x11-libs/cairo:0
- x11-libs/gtk+:2
- x11-libs/pango:0 )
- gtk3? ( dev-libs/jansson:0
- x11-libs/gtk+:3 )
- hotkeys? ( x11-libs/libX11:0 )
- libnotify? ( sys-apps/dbus:0 )
- libsamplerate? ( media-libs/libsamplerate:0 )
- mac? ( x86? ( dev-lang/yasm:0 )
- amd64? ( dev-lang/yasm:0 ) )
- mad? ( media-libs/libmad:0 )
- midi? ( media-sound/timidity-freepats:0 )
- mpg123? ( media-sound/mpg123:0 )
- psf? ( sys-libs/zlib:0 )
- pulseaudio? ( media-sound/pulseaudio:0 )
- sndfile? ( media-libs/libsndfile:0 )
- vorbis? ( media-libs/libogg:0
- media-libs/libvorbis:0 )
- wavpack? ( media-sound/wavpack:0 )
- zip? ( dev-libs/libzip:0 )"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig:0
- nls? ( dev-util/intltool:0
- virtual/libintl:0 )"
-
-src_prepare() {
- if ! use_if_iuse linguas_pt_BR && use_if_iuse linguas_ru ; then
- epatch "${FILESDIR}/${PN}-remove-pt_br-help-translation.patch"
- rm "${S}/translation/help.pt_BR.txt" || die
- fi
-
- if ! use_if_iuse linguas_ru && use_if_iuse linguas_pt_BR ; then
- epatch "${FILESDIR}/${PN}-remove-ru-help-translation.patch"
- rm "${S}/translation/help.ru.txt" || die
- fi
-
- if ! use_if_iuse linguas_pt_BR && ! use_if_iuse linguas_ru ; then
- epatch "${FILESDIR}/${PN}-remove-pt_br-and-ru-help-translation.patch"
- rm "${S}/translation/help.pt_BR.txt" "${S}/translation/help.ru.txt" || die
- fi
-
- if use midi ; then
- # set default gentoo path
- sed -e 's;/etc/timidity++/timidity-freepats.cfg;/usr/share/timidity/freepats/timidity.cfg;g' \
- -i "${S}/plugins/wildmidi/wildmidiplug.c" || die
- fi
-
- if ! use unity ; then
- # remove unity trash
- epatch "${FILESDIR}/${PN}-0.6.3-remove-unity-trash.patch"
- fi
-
- config_rpath_update "${S}/config.rpath"
- eautoreconf
-}
-
-src_configure() {
- if use shell-exec ; then
- if use gtk2 || use gtk3 ; then
- shell-exec-ui="--enable-shellexec-ui"
- else
- shell-exec-ui="--disable-shellexec-ui"
- fi
- fi
-
- econf --disable-coreaudio \
- --disable-portable \
- --disable-static \
- --docdir=/usr/share/${PN} \
- ${shell-exec-ui} \
- $(use_enable aac) \
- $(use_enable adplug) \
- $(use_enable alac) \
- $(use_enable alsa) \
- $(use_enable cdda) \
- $(use_enable converter) \
- $(use_enable cover artwork) \
- $(use_enable cover-imlib2 artwork-imlib2) \
- $(use_enable cover-network artwork-network) \
- $(use_enable curl vfs-curl) \
- $(use_enable dts dca) \
- $(use_enable dumb) \
- $(use_enable equalizer supereq) \
- $(use_enable ffmpeg) \
- $(use_enable flac) \
- $(use_enable gme) \
- $(use_enable gtk2) \
- $(use_enable gtk3) \
- $(use_enable hotkeys) \
- $(use_enable lastfm lfm) \
- $(use_enable libav ffmpeg) \
- $(use_enable libnotify notify) \
- $(use_enable libsamplerate src) \
- $(use_enable m3u) \
- $(use_enable mac ffap) \
- $(use_enable mad libmad) \
- $(use_enable midi wildmidi) \
- $(use_enable mms) \
- $(use_enable mono2stereo) \
- $(use_enable mpg123 libmpg123) \
- $(use_enable musepack) \
- $(use_enable nls) \
- $(use_enable nullout) \
- $(use_enable oss) \
- $(use_enable playlist-browser pltbrowser) \
- $(use_enable psf) \
- $(use_enable pulseaudio pulse) \
- $(use_enable sc68) \
- $(use_enable shell-exec shellexec) \
- $(use_enable shn) \
- $(use_enable sid) \
- $(use_enable sndfile) \
- $(use_enable tta) \
- $(use_enable vorbis) \
- $(use_enable vtx) \
- $(use_enable wavpack) \
- $(use_enable wma) \
- $(use_enable zip vfs-zip)
-}
-
-pkg_preinst() {
- if use gtk2 || use gtk3 ; then
- gnome2_icon_savelist
- fi
-}
-
-pkg_postinst() {
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
-
- if use gtk2 || use gtk3 ; then
- gnome2_icon_cache_update
- fi
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
-
- if use gtk2 || use gtk3 ; then
- gnome2_icon_cache_update
- fi
-}
diff --git a/media-sound/deadbeef/files/deadbeef-0.6.3-remove-unity-trash.patch b/media-sound/deadbeef/files/deadbeef-0.6.3-remove-unity-trash.patch
deleted file mode 100644
index 2671e652..00000000
--- a/media-sound/deadbeef/files/deadbeef-0.6.3-remove-unity-trash.patch
+++ /dev/null
@@ -1,55 +0,0 @@
---- deadbeef.desktop.in.org 2015-02-03 23:23:03.421428844 +0300
-+++ deadbeef.desktop.in 2015-02-03 23:23:22.451428905 +0300
-@@ -13,52 +13,3 @@
- Type=Application
- Icon=deadbeef
- X-PulseAudio-Properties=media.role=music
--
--X-Ayatana-Desktop-Shortcuts=Play;Pause;Stop;Next;Prev
--
--Keywords=Sound;Music;Audio;Player;Musicplayer;MP3
--
--[Play Shortcut Group]
--Name=Play
--Exec=deadbeef --play
--TargetEnvironment=Unity
--
--[Pause Shortcut Group]
--Name=Pause
--Exec=deadbeef --pause
--TargetEnvironment=Unity
--
--[Stop Shortcut Group]
--Name=Stop
--Exec=deadbeef --stop
--TargetEnvironment=Unity
--
--[Next Shortcut Group]
--Name=Next
--Exec=deadbeef --next
--TargetEnvironment=Unity
--
--[Prev Shortcut Group]
--Name=Prev
--Exec=deadbeef --prev
--TargetEnvironment=Unity
--
--[Desktop Action Play]
--Name=Play
--Exec=deadbeef --play
--
--[Desktop Action Pause]
--Name=Pause
--Exec=deadbeef --pause
--
--[Desktop Action Stop]
--Name=Stop
--Exec=deadbeef --stop
--
--[Desktop Action Next]
--Name=Next
--Exec=deadbeef --next
--
--[Desktop Action Previous]
--Name=Prev
--Exec=deadbeef --prev
diff --git a/media-sound/deadbeef/files/deadbeef-remove-pt_br-and-ru-help-translation.patch b/media-sound/deadbeef/files/deadbeef-remove-pt_br-and-ru-help-translation.patch
deleted file mode 100644
index ddcb0432..00000000
--- a/media-sound/deadbeef/files/deadbeef-remove-pt_br-and-ru-help-translation.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- Makefile.am 2014-09-13 13:00:26.945181716 +0400
-+++ Makefile.am 2014-09-13 13:00:36.425215841 +0400
-@@ -55,9 +55,7 @@
- docsdir = $(docdir)
-
- docs_DATA = README help.txt about.txt translators.txt ChangeLog\
-- COPYING.GPLv2 COPYING.LGPLv2.1\
-- translation/help.ru.txt\
-- translation/help.pt_BR.txt
-+ COPYING.GPLv2 COPYING.LGPLv2.1
-
- desktopdir = $(datadir)/applications
- desktop_DATA = deadbeef.desktop
diff --git a/media-sound/deadbeef/files/deadbeef-remove-pt_br-help-translation.patch b/media-sound/deadbeef/files/deadbeef-remove-pt_br-help-translation.patch
deleted file mode 100644
index ceb59c95..00000000
--- a/media-sound/deadbeef/files/deadbeef-remove-pt_br-help-translation.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- Makefile.am 2014-09-13 12:56:05.997575732 +0400
-+++ Makefile.am 2014-09-13 12:56:29.964328671 +0400
-@@ -56,8 +56,7 @@
-
- docs_DATA = README help.txt about.txt translators.txt ChangeLog\
- COPYING.GPLv2 COPYING.LGPLv2.1\
-- translation/help.ru.txt\
-- translation/help.pt_BR.txt
-+ translation/help.ru.txt
-
- desktopdir = $(datadir)/applications
- desktop_DATA = deadbeef.desktop
diff --git a/media-sound/deadbeef/files/deadbeef-remove-ru-help-translation.patch b/media-sound/deadbeef/files/deadbeef-remove-ru-help-translation.patch
deleted file mode 100644
index eac0337a..00000000
--- a/media-sound/deadbeef/files/deadbeef-remove-ru-help-translation.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- Makefile.am 2014-09-13 12:56:05.997575732 +0400
-+++ Makefile.am 2014-09-13 12:58:07.248012190 +0400
-@@ -56,7 +56,6 @@
-
- docs_DATA = README help.txt about.txt translators.txt ChangeLog\
- COPYING.GPLv2 COPYING.LGPLv2.1\
-- translation/help.ru.txt\
- translation/help.pt_BR.txt
-
- desktopdir = $(datadir)/applications
diff --git a/media-sound/deadbeef/files/deadbeef-0.6.2-remove-unity-trash.patch b/media-sound/deadbeef/files/desktop-2.patch
index 00e4303a..23899675 100644
--- a/media-sound/deadbeef/files/deadbeef-0.6.2-remove-unity-trash.patch
+++ b/media-sound/deadbeef/files/desktop-2.patch
@@ -1,12 +1,11 @@
---- deadbeef.desktop.in 2014-07-23 11:56:46.070555239 +0400
-+++ deadbeef.desktop.in 2014-07-23 11:57:11.720554547 +0400
-@@ -13,50 +13,3 @@
+--- deadbeef.desktop.in 2013-11-02 15:03:15.000000000 +0400
++++ /home/megabaks/deadbeef.desktop.in 2013-11-25 21:40:07.000000000 +0400
+@@ -13,29 +13,3 @@
Type=Application
Icon=deadbeef
X-PulseAudio-Properties=media.role=music
-
-X-Ayatana-Desktop-Shortcuts=Play;Pause;Stop;Next;Prev
--
-[Play Shortcut Group]
-Name=Play
-Exec=deadbeef --play
@@ -31,23 +30,3 @@
-Name=Prev
-Exec=deadbeef --prev
-TargetEnvironment=Unity
--
--[Desktop Action Play]
--Name=Play
--Exec=deadbeef --play
--
--[Desktop Action Pause]
--Name=Pause
--Exec=deadbeef --pause
--
--[Desktop Action Stop]
--Name=Stop
--Exec=deadbeef --stop
--
--[Desktop Action Next]
--Name=Next
--Exec=deadbeef --next
--
--[Desktop Action Previous]
--Name=Prev
--Exec=deadbeef --prev
diff --git a/media-sound/deadbeef/metadata.xml b/media-sound/deadbeef/metadata.xml
deleted file mode 100644
index 425ce4ac..00000000
--- a/media-sound/deadbeef/metadata.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer>
- <email>damex.pp@gmail.com</email>
- <name>Roman Kuzmitsky</name>
- </maintainer>
- <use>
- <flag name='aac'>Advanced Audio Coding (AAC) plugin</flag>
- <flag name='adplug'>Adplug plugin</flag>
- <flag name='alac'>Apple Lossless Audio Codec (ALAC) plugin</flag>
- <flag name='cdda'>Compact Disc Digital Audio (CDDA) plugin</flag>
- <flag name='converter'>Support for converting media files</flag>
- <flag name='cover'>Album artwork plugin</flag>
- <flag name='cover-imlib2'>Album artwork (with support for imlib2) plugin</flag>
- <flag name='cover-network'>Plugin for downloading album artwork from internet</flag>
- <flag name='curl'>cURL plugin</flag>
- <flag name='dts'>Digital Theater System (DTS) plugin</flag>
- <flag name='dumb'>Tracker music (MOD, S3M, XM, IT, STM, 669, PTM, PSM, MTM, DSM, ASYLUM AMF, UMX, J2B) plugin</flag>
- <flag name='equalizer'>Equalizer plugin</flag>
- <flag name='ffmpeg'>FFmpeg plugin</flag>
- <flag name='flac'>Free Lossless Audio Codec (FLAC) plugin</flag>
- <flag name='gme'>Game Music Emu (NSF, AY and other formats) plugin</flag>
- <flag name='gtk2'>GTK2 based user interface</flag>
- <flag name='gtk3'>GTK3 based user interface</flag>
- <flag name='hotkeys'>Hotkeys support plugin</flag>
- <flag name='lastfm'>Last.fm scrobbling plugin</flag>
- <flag name='libav'>Libav plugin</flag>
- <flag name='libnotify'>Notification daemon support plugin</flag>
- <flag name='libsamplerate'>Sample rate conversion plugin</flag>
- <flag name='m3u'>m3u playlist plugin</flag>
- <flag name='mac'>Monkey's Audio plugin</flag>
- <flag name='mad'>MPEG-1/2/2.5 Layer 3 (MP3) support through mad/libmad</flag>
- <flag name='midi'>midi support (via timidity) plugin</flag>
- <flag name='mms'>Microsoft Media Server (MMS) plugin</flag>
- <flag name='mono2stereo'>mono2stereo plugin</flag>
- <flag name='mp3'>MPEG-1/2/2.5 Layer 3 (MP3) support plugin. It is a virtual use for mad/libmad or mpg123/libmpg123 since deadbeef 0.6.3</flag>
- <flag name='mpg123'>MPEG-1/2/2.5 Layer 3 (MP3) support through mpg123/libmpg123</flag>
- <flag name='nls'>Native Language Support (NLS)</flag>
- <flag name='nullout'>NULL output plugin</flag>
- <flag name='oss'>Open Sound System (OSS) output plugin</flag>
- <flag name='playlist-browser'>Playlist browser user interface plugin</flag>
- <flag name='psf'>AOSDK-based PSF(QSF,SSF,DSF) plugin</flag>
- <flag name='pulseaudio'>PulseAudio output plugin</flag>
- <flag name='sc68'>Atari ST and Amiga music plugin</flag>
- <flag name='shell-exec'>Support for running shell commands</flag>
- <flag name='shn'>Shorten (SHN) plugin</flag>
- <flag name='sid'>Commodore64 SID music player plugin</flag>
- <flag name='sndfile'>PCM wave support (via libsndfile) plugin</flag>
- <flag name='tta'>True Audio TTA plugin</flag>
- <flag name='vorbis'>Ogg Vorbis plugin</flag>
- <flag name='unity'>Gnome Unity support</flag>
- <flag name='vtx'>Libayemy VTX ZX-Spectrum music player plugin</flag>
- <flag name='wavpack'>WavPack plugin</flag>
- <flag name='wma'>Windows media audio plugin</flag>
- <flag name='zip'>vfs_zip plugin</flag>
- </use>
-</pkgmetadata>
diff --git a/net-dns/avahi-base/Manifest b/net-dns/avahi-base/Manifest
new file mode 100644
index 00000000..0206eaaa
--- /dev/null
+++ b/net-dns/avahi-base/Manifest
@@ -0,0 +1 @@
+DIST avahi-0.6.31.tar.gz 1268686 SHA256 8372719b24e2dd75de6f59bb1315e600db4fd092805bd1201ed0cb651a2dab48 SHA512 53eb00d570a274d841e1e6ad07da077950089ae39b4f7aa21fcd21cc5320b30b506b43e7e57e56198e155cc7bd289b779a48b2b2fc002dc6194a946110451858 WHIRLPOOL a6d97b87dfbb81be359ee03d8f32ebafdbb311bd596d686aeb55a2952ecb6c7c84466b1230e70392ffe23a20a56da7e0a5bd00c8dc1812b2156c0b4a8022144f
diff --git a/net-dns/avahi-base/avahi-base-0.6.31-r1.ebuild b/net-dns/avahi-base/avahi-base-0.6.31-r1.ebuild
new file mode 100644
index 00000000..e7b1c070
--- /dev/null
+++ b/net-dns/avahi-base/avahi-base-0.6.31-r1.ebuild
@@ -0,0 +1,168 @@
+# Copyright 1999-2013 Sabayon
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+
+WANT_AUTOMAKE=1.11
+PYTHON_DEPEND="python? 2"
+PYTHON_USE_WITH="gdbm"
+PYTHON_USE_WITH_OPT="python"
+
+DBUS_DEPEND=">=sys-apps/dbus-0.30"
+IUSE="autoipd bookmarks dbus doc gdbm howl-compat +introspection ipv6
+ mdnsresponder-compat python test"
+COMMON_DEPEND=">=dev-libs/libdaemon-0.14
+ dev-libs/expat
+ dev-libs/glib:2
+ gdbm? ( sys-libs/gdbm )
+ dbus? (
+ ${DBUS_DEPEND}
+ python? ( dev-python/dbus-python )
+ )
+ howl-compat? ( ${DBUS_DEPEND} )
+ introspection? ( >=dev-libs/gobject-introspection-0.9.5 )
+ mdnsresponder-compat? ( ${DBUS_DEPEND} )
+ bookmarks? (
+ dev-python/twisted
+ dev-python/twisted-web
+ )
+ kernel_linux? ( sys-libs/libcap )
+ "
+AVAHI_MODULE_DEPEND="${COMMON_DEPEND}
+ doc? ( app-doc/doxygen )"
+AVAHI_MODULE_RDEPEND="${COMMON_DEPEND}
+ howl-compat? ( !net-misc/howl )
+ mdnsresponder-compat? ( !net-misc/mDNSResponder )"
+
+AVAHI_PATCHES=(
+ # Fix init scripts for >=openrc-0.9.0 (bug #383641)
+ "${FILESDIR}/avahi-0.6.x-openrc-0.9.x-init-scripts-fixes.patch"
+ # install-exec-local -> install-exec-hook
+ "${FILESDIR}"/${P/-base}-install-exec-hook.patch
+ # Backport host-name-from-machine-id patch, bug #466134
+ "${FILESDIR}"/${P/-base}-host-name-from-machine-id.patch
+ # Sabayon, workaround timeout on shutdown
+ "${FILESDIR}"/${PN/-base}-0.6.31-workaround-systemd-stop-timeout.patch
+)
+inherit eutils multilib python avahi
+
+pkg_setup() {
+ if use python; then
+ python_set_active_version 2
+ python_pkg_setup
+ fi
+}
+
+pkg_preinst() {
+ enewgroup netdev
+ enewgroup avahi
+ enewuser avahi -1 -1 -1 avahi
+
+ if use autoipd; then
+ enewgroup avahi-autoipd
+ enewuser avahi-autoipd -1 -1 -1 avahi-autoipd
+ fi
+}
+
+src_prepare() {
+ if use ipv6; then
+ sed -i \
+ -e s/use-ipv6=no/use-ipv6=yes/ \
+ avahi-daemon/avahi-daemon.conf || die
+ fi
+ avahi_src_prepare
+}
+
+src_configure() {
+ local myconf=""
+ if use python; then
+ myconf+=" $(use_enable dbus python-dbus)"
+ fi
+
+ # these require dbus enabled
+ if use mdnsresponder-compat || use howl-compat; then
+ myconf+=" --enable-dbus"
+ fi
+
+ myconf+="
+ $(use_enable test tests)
+ $(use_enable autoipd)
+ $(use_enable mdnsresponder-compat compat-libdns_sd)
+ $(use_enable howl-compat compat-howl)
+ $(use_enable doc doxygen-doc)
+ $(use_enable dbus)
+ $(use_enable python)
+ $(use_enable introspection)
+ $(use_enable gdbm)
+ --disable-qt4
+ --disable-gtk
+ --disable-gtk3
+ --disable-pygtk
+ --disable-mono"
+ if use python; then
+ myconf+=" $(use_enable dbus python-dbus)"
+ else
+ myconf+=" --disable-python-dbus"
+ fi
+ avahi_src_configure "${myconf}"
+}
+
+src_compile() {
+ emake || die "emake failed"
+ use doc && { emake avahi.devhelp || die ; }
+}
+
+src_install() {
+ emake install DESTDIR="${ED}" || die "make install failed"
+ use bookmarks || rm -f "${ED}"/usr/bin/avahi-bookmarks
+
+ use howl-compat && ln -s avahi-compat-howl.pc "${ED}"/usr/$(get_libdir)/pkgconfig/howl.pc
+ use mdnsresponder-compat && ln -s avahi-compat-libdns_sd/dns_sd.h "${ED}"/usr/include/dns_sd.h
+
+ if use autoipd; then
+ insinto /$(get_libdir)/rcscripts/net
+ doins "${FILESDIR}"/autoipd.sh || die
+
+ insinto /$(get_libdir)/rc/net
+ newins "${FILESDIR}"/autoipd-openrc.sh autoipd.sh || die
+ fi
+
+ dodoc docs/{AUTHORS,NEWS,README,TODO} || die
+
+ if use doc; then
+ dohtml -r doxygen/html/. || die
+ insinto /usr/share/devhelp/books/avahi
+ doins avahi.devhelp || die
+ fi
+
+ echo
+ elog "If you changed USE flags or did a version/revision bump, make sure"
+ elog "to rebuild all the modules:"
+ for mod in ${SUPPORTED_AVAHI_MODULES}; do
+ elog " net-dns/avahi-${mod}"
+ done
+ echo
+
+ avahi_src_install-cleanup
+}
+
+pkg_postrm() {
+ use python && python_mod_cleanup avahi
+}
+
+pkg_postinst() {
+ use python && python_mod_optimize avahi
+
+ if use autoipd; then
+ echo
+ elog "To use avahi-autoipd to configure your interfaces with IPv4LL (RFC3927)"
+ elog "addresses, just set config_<interface>=( autoipd ) in /etc/conf.d/net!"
+ fi
+
+ if use dbus; then
+ echo
+ elog "If this is your first install of avahi please reload your dbus config"
+ elog "with /etc/init.d/dbus reload before starting avahi-daemon!"
+ fi
+}
diff --git a/net-dns/avahi-base/avahi-base-0.6.31-r5.ebuild b/net-dns/avahi-base/avahi-base-0.6.31-r5.ebuild
new file mode 100644
index 00000000..894551df
--- /dev/null
+++ b/net-dns/avahi-base/avahi-base-0.6.31-r5.ebuild
@@ -0,0 +1,224 @@
+# Copyright 1999-2014 Sabayon
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+AVAHI_MODULE="${AVAHI_MODULE:-${PN/avahi-}}"
+MY_P=${P/-${AVAHI_MODULE}}
+MY_PN=${PN/-${AVAHI_MODULE}}
+
+PYTHON_COMPAT=( python{2_6,2_7} )
+PYTHON_REQ_USE="gdbm"
+
+WANT_AUTOMAKE=1.11
+
+inherit autotools eutils flag-o-matic multilib multilib-minimal \
+ python-r1 systemd user
+
+DESCRIPTION="System which facilitates service discovery on a local network (base pkg)"
+HOMEPAGE="http://avahi.org/"
+SRC_URI="http://avahi.org/download/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-linux"
+IUSE="autoipd bookmarks dbus doc gdbm howl-compat +introspection ipv6 kernel_linux mdnsresponder-compat nls python selinux test"
+
+S="${WORKDIR}/${MY_P}"
+
+REQUIRED_USE="
+ python? ( dbus gdbm )
+ howl-compat? ( dbus )
+ mdnsresponder-compat? ( dbus )
+"
+
+COMMON_DEPEND="
+ dev-libs/libdaemon
+ dev-libs/expat
+ dev-libs/glib:2[${MULTILIB_USEDEP}]
+ gdbm? ( sys-libs/gdbm[${MULTILIB_USEDEP}] )
+ dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
+ kernel_linux? ( sys-libs/libcap )
+ introspection? ( dev-libs/gobject-introspection )
+ python? (
+ ${PYTHON_DEPS}
+ dbus? ( dev-python/dbus-python )
+ )
+ selinux? ( sec-policy/selinux-avahi )
+ bookmarks? (
+ dev-python/twisted-core
+ dev-python/twisted-web
+ )
+"
+
+DEPEND="
+ ${COMMON_DEPEND}
+ dev-util/intltool
+ virtual/pkgconfig[${MULTILIB_USEDEP}]
+ doc? (
+ app-doc/doxygen
+ )
+"
+
+RDEPEND="
+ ${COMMON_DEPEND}
+ howl-compat? ( !net-misc/howl )
+ mdnsresponder-compat? ( !net-misc/mDNSResponder )
+"
+
+pkg_preinst() {
+ enewgroup netdev
+ enewgroup avahi
+ enewuser avahi -1 -1 -1 avahi
+
+ if use autoipd; then
+ enewgroup avahi-autoipd
+ enewuser avahi-autoipd -1 -1 -1 avahi-autoipd
+ fi
+}
+
+src_prepare() {
+ if use ipv6; then
+ sed -i \
+ -e s/use-ipv6=no/use-ipv6=yes/ \
+ avahi-daemon/avahi-daemon.conf || die
+ fi
+
+ sed -i\
+ -e "s:\\.\\./\\.\\./\\.\\./doc/avahi-docs/html/:../../../doc/${PF}/html/:" \
+ doxygen_to_devhelp.xsl || die
+
+ # Make gtk utils optional
+ epatch "${FILESDIR}"/${MY_PN}-0.6.30-optional-gtk-utils.patch
+
+ # Fix init scripts for >=openrc-0.9.0, bug #383641
+ epatch "${FILESDIR}"/${MY_PN}-0.6.x-openrc-0.9.x-init-scripts-fixes.patch
+
+ # install-exec-local -> install-exec-hook
+ epatch "${FILESDIR}"/${MY_P}-install-exec-hook.patch
+
+ # Backport host-name-from-machine-id patch, bug #466134
+ epatch "${FILESDIR}"/${MY_P}-host-name-from-machine-id.patch
+
+ # Don't install avahi-discover unless ENABLE_GTK_UTILS, bug #359575
+ epatch "${FILESDIR}"/${MY_P}-fix-install-avahi-discover.patch
+
+ epatch "${FILESDIR}"/${MY_P}-so_reuseport-may-not-exist-in-running-kernel.patch
+
+ # allow building client without the daemon
+ epatch "${FILESDIR}"/${MY_P}-build-client-without-daemon.patch
+
+ # Drop DEPRECATED flags, bug #384743
+ sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED=1::g' avahi-ui/Makefile.am || die
+
+ # Fix references to Lennart's home directory, bug #466210
+ sed -i -e 's/\/home\/lennart\/tmp\/avahi//g' man/* || die
+
+ # Prevent .pyc files in DESTDIR
+ >py-compile
+
+ eautoreconf
+
+ # bundled manpages
+ multilib_copy_sources
+}
+
+src_configure() {
+ # those steps should be done once-per-ebuild rather than per-ABI
+ use sh && replace-flags -O? -O0
+ use python && python_export_best
+
+ # We need to unset DISPLAY, else the configure script might have problems detecting the pygtk module
+ unset DISPLAY
+
+ multilib-minimal_src_configure
+}
+
+multilib_src_configure() {
+ local myconf=( --disable-static )
+
+ if use python; then
+ myconf+=(
+ $(multilib_native_use_enable dbus python-dbus)
+ )
+ fi
+
+ if ! multilib_is_native_abi; then
+ myconf+=(
+ # used by daemons only
+ --disable-libdaemon
+ --with-xml=none
+ )
+ fi
+
+ econf \
+ --localstatedir="${EPREFIX}/var" \
+ --with-distro=gentoo \
+ --disable-python-dbus \
+ --disable-pygtk \
+ --disable-xmltoman \
+ --disable-monodoc \
+ --disable-mono \
+ --enable-glib \
+ --enable-gobject \
+ $(multilib_native_use_enable test tests) \
+ $(multilib_native_use_enable autoipd) \
+ $(use_enable mdnsresponder-compat compat-libdns_sd) \
+ $(use_enable howl-compat compat-howl) \
+ $(multilib_native_use_enable doc doxygen-doc) \
+ $(use_enable dbus) \
+ $(multilib_native_use_enable python) \
+ $(use_enable nls) \
+ $(multilib_native_use_enable introspection) \
+ --disable-qt3 \
+ --disable-qt4 \
+ --disable-gtk \
+ --disable-gtk3 \
+ $(use_enable gdbm) \
+ $(systemd_with_unitdir) \
+ "${myconf[@]}"
+}
+
+multilib_src_compile() {
+ emake
+
+ multilib_is_native_abi && use doc && emake avahi.devhelp
+}
+
+multilib_src_install() {
+ emake install DESTDIR="${D}"
+ rm -f "${ED}"/usr/bin/avahi-bookmarks
+
+ use howl-compat && dosym avahi-compat-howl.pc /usr/$(get_libdir)/pkgconfig/howl.pc
+ use mdnsresponder-compat && dosym avahi-compat-libdns_sd/dns_sd.h /usr/include/dns_sd.h
+
+ if multilib_is_native_abi && use doc; then
+ dohtml -r doxygen/html/. || die
+ insinto /usr/share/devhelp/books/avahi
+ doins avahi.devhelp || die
+ fi
+}
+
+multilib_src_install_all() {
+ if use autoipd; then
+ insinto /$(get_libdir)/rcscripts/net
+ doins "${FILESDIR}"/autoipd.sh
+
+ insinto /$(get_libdir)/rc/net
+ newins "${FILESDIR}"/autoipd-openrc.sh autoipd.sh
+ fi
+
+ dodoc docs/{AUTHORS,NEWS,README,TODO}
+
+ prune_libtool_files --all
+}
+
+pkg_postinst() {
+ if use autoipd; then
+ elog
+ elog "To use avahi-autoipd to configure your interfaces with IPv4LL (RFC3927)"
+ elog "addresses, just set config_<interface>=( autoipd ) in /etc/conf.d/net!"
+ elog
+ fi
+}
diff --git a/net-dns/avahi-base/avahi-base-0.6.31-r6.ebuild b/net-dns/avahi-base/avahi-base-0.6.31-r6.ebuild
new file mode 100644
index 00000000..afb9721d
--- /dev/null
+++ b/net-dns/avahi-base/avahi-base-0.6.31-r6.ebuild
@@ -0,0 +1,224 @@
+# Copyright 1999-2014 Sabayon
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+AVAHI_MODULE="${AVAHI_MODULE:-${PN/avahi-}}"
+MY_P=${P/-${AVAHI_MODULE}}
+MY_PN=${PN/-${AVAHI_MODULE}}
+
+PYTHON_COMPAT=( python{2_6,2_7} )
+PYTHON_REQ_USE="gdbm"
+
+WANT_AUTOMAKE=1.11
+
+inherit autotools eutils flag-o-matic multilib multilib-minimal \
+ python-r1 systemd user
+
+DESCRIPTION="System which facilitates service discovery on a local network (base pkg)"
+HOMEPAGE="http://avahi.org/"
+SRC_URI="http://avahi.org/download/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-linux"
+IUSE="autoipd bookmarks dbus doc gdbm howl-compat +introspection ipv6 kernel_linux mdnsresponder-compat nls python selinux test"
+
+S="${WORKDIR}/${MY_P}"
+
+REQUIRED_USE="
+ python? ( dbus gdbm )
+ howl-compat? ( dbus )
+ mdnsresponder-compat? ( dbus )
+"
+
+COMMON_DEPEND="
+ dev-libs/libdaemon
+ dev-libs/expat
+ dev-libs/glib:2[${MULTILIB_USEDEP}]
+ gdbm? ( sys-libs/gdbm[${MULTILIB_USEDEP}] )
+ dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
+ kernel_linux? ( sys-libs/libcap )
+ introspection? ( dev-libs/gobject-introspection )
+ python? (
+ ${PYTHON_DEPS}
+ dbus? ( dev-python/dbus-python )
+ )
+ selinux? ( sec-policy/selinux-avahi )
+ bookmarks? (
+ dev-python/twisted-core
+ dev-python/twisted-web
+ )
+"
+
+DEPEND="
+ ${COMMON_DEPEND}
+ dev-util/intltool
+ virtual/pkgconfig[${MULTILIB_USEDEP}]
+ doc? (
+ app-doc/doxygen
+ )
+"
+
+RDEPEND="
+ ${COMMON_DEPEND}
+ howl-compat? ( !net-misc/howl )
+ mdnsresponder-compat? ( !net-misc/mDNSResponder )
+"
+
+pkg_preinst() {
+ enewgroup netdev
+ enewgroup avahi
+ enewuser avahi -1 -1 -1 avahi
+
+ if use autoipd; then
+ enewgroup avahi-autoipd
+ enewuser avahi-autoipd -1 -1 -1 avahi-autoipd
+ fi
+}
+
+src_prepare() {
+ if use ipv6; then
+ sed -i \
+ -e s/use-ipv6=no/use-ipv6=yes/ \
+ avahi-daemon/avahi-daemon.conf || die
+ fi
+
+ sed -i\
+ -e "s:\\.\\./\\.\\./\\.\\./doc/avahi-docs/html/:../../../doc/${PF}/html/:" \
+ doxygen_to_devhelp.xsl || die
+
+ # Make gtk utils optional
+ epatch "${FILESDIR}"/${MY_PN}-0.6.30-optional-gtk-utils.patch
+
+ # Fix init scripts for >=openrc-0.9.0, bug #383641
+ epatch "${FILESDIR}"/${MY_PN}-0.6.x-openrc-0.9.x-init-scripts-fixes.patch
+
+ # install-exec-local -> install-exec-hook
+ epatch "${FILESDIR}"/${MY_P}-install-exec-hook.patch
+
+ # Backport host-name-from-machine-id patch, bug #466134
+ epatch "${FILESDIR}"/${MY_P}-host-name-from-machine-id.patch
+
+ # Don't install avahi-discover unless ENABLE_GTK_UTILS, bug #359575
+ epatch "${FILESDIR}"/${MY_P}-fix-install-avahi-discover.patch
+
+ epatch "${FILESDIR}"/${MY_P}-so_reuseport-may-not-exist-in-running-kernel.patch
+
+ # allow building client without the daemon
+ epatch "${FILESDIR}"/${MY_P}-build-client-without-daemon.patch
+
+ # Drop DEPRECATED flags, bug #384743
+ sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED=1::g' avahi-ui/Makefile.am || die
+
+ # Fix references to Lennart's home directory, bug #466210
+ sed -i -e 's/\/home\/lennart\/tmp\/avahi//g' man/* || die
+
+ # Prevent .pyc files in DESTDIR
+ >py-compile
+
+ eautoreconf
+
+ # bundled manpages
+ multilib_copy_sources
+}
+
+src_configure() {
+ # those steps should be done once-per-ebuild rather than per-ABI
+ use sh && replace-flags -O? -O0
+ use python && python_export_best
+
+ # We need to unset DISPLAY, else the configure script might have problems detecting the pygtk module
+ unset DISPLAY
+
+ multilib-minimal_src_configure
+}
+
+multilib_src_configure() {
+ local myconf=( --disable-static )
+
+ if use python; then
+ myconf+=(
+ $(multilib_native_use_enable dbus python-dbus)
+ )
+ fi
+
+ if ! multilib_is_native_abi; then
+ myconf+=(
+ # used by daemons only
+ --disable-libdaemon
+ --with-xml=none
+ )
+ fi
+
+ econf \
+ --localstatedir="${EPREFIX}/var" \
+ --with-distro=gentoo \
+ --disable-python-dbus \
+ --disable-pygtk \
+ --disable-xmltoman \
+ --disable-monodoc \
+ --disable-mono \
+ --enable-glib \
+ --enable-gobject \
+ $(multilib_native_use_enable test tests) \
+ $(multilib_native_use_enable autoipd) \
+ $(use_enable mdnsresponder-compat compat-libdns_sd) \
+ $(use_enable howl-compat compat-howl) \
+ $(multilib_native_use_enable doc doxygen-doc) \
+ $(use_enable dbus) \
+ $(multilib_native_use_enable python) \
+ $(use_enable nls) \
+ $(multilib_native_use_enable introspection) \
+ --disable-qt3 \
+ --disable-qt4 \
+ --disable-gtk \
+ --disable-gtk3 \
+ $(use_enable gdbm) \
+ $(systemd_with_unitdir) \
+ "${myconf[@]}"
+}
+
+multilib_src_compile() {
+ emake
+
+ multilib_is_native_abi && use doc && emake avahi.devhelp
+}
+
+multilib_src_install() {
+ emake install DESTDIR="${D}"
+ rm -f "${ED}"/usr/bin/avahi-bookmarks
+
+ use howl-compat && dosym avahi-compat-howl.pc /usr/$(get_libdir)/pkgconfig/howl.pc
+ use mdnsresponder-compat && dosym avahi-compat-libdns_sd/dns_sd.h /usr/include/dns_sd.h
+
+ if multilib_is_native_abi && use doc; then
+ dohtml -r doxygen/html/. || die
+ insinto /usr/share/devhelp/books/avahi
+ doins avahi.devhelp || die
+ fi
+}
+
+multilib_src_install_all() {
+ if use autoipd; then
+ insinto /$(get_libdir)/rcscripts/net
+ doins "${FILESDIR}"/autoipd.sh
+
+ insinto /$(get_libdir)/rc/net
+ newins "${FILESDIR}"/autoipd-openrc.sh autoipd.sh
+ fi
+
+ dodoc docs/{AUTHORS,NEWS,README,TODO}
+
+ prune_libtool_files --all
+}
+
+pkg_postinst() {
+ if use autoipd; then
+ elog
+ elog "To use avahi-autoipd to configure your interfaces with IPv4LL (RFC3927)"
+ elog "addresses, just set config_<interface>=( autoipd ) in /etc/conf.d/net!"
+ elog
+ fi
+}
diff --git a/net-dns/avahi-base/files/autoipd-openrc.sh b/net-dns/avahi-base/files/autoipd-openrc.sh
new file mode 100644
index 00000000..dec3aa05
--- /dev/null
+++ b/net-dns/avahi-base/files/autoipd-openrc.sh
@@ -0,0 +1,32 @@
+# Copyright (C) 2004-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# Contributed by Sven Wegener (swegener@gentoo.org)
+
+_config_vars="$_config_vars autoipd"
+
+autoipd_depend() {
+ program /usr/sbin/avahi-autoipd
+ after interface
+}
+
+autoipd_start() {
+ _exists true || return 1
+
+ eval args=\$autoipd_${IFVAR}
+
+ ebegin "Starting avahi-autoipd"
+ /usr/sbin/avahi-autoipd --daemonize --syslog --wait ${args} "${IFACE}"
+ eend "${?}" || return 1
+
+ _show_address
+
+ return 0
+}
+
+autoipd_stop() {
+ /usr/sbin/avahi-autoipd --check --syslog "${IFACE}" || return 0
+
+ ebegin "Stopping avahi-autoipd"
+ /usr/sbin/avahi-autoipd --kill --syslog "${IFACE}"
+ eend "${?}"
+}
diff --git a/net-dns/avahi-base/files/autoipd.sh b/net-dns/avahi-base/files/autoipd.sh
new file mode 100644
index 00000000..89d02e33
--- /dev/null
+++ b/net-dns/avahi-base/files/autoipd.sh
@@ -0,0 +1,52 @@
+# Copyright (c) 2004-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# Contributed by Sven Wegener (swegener@gentoo.org)
+
+# void autoipd_depend(void)
+#
+# Sets up the dependencies for the module
+autoipd_depend() {
+ after interface
+}
+
+# void autoipd_expose(void)
+#
+# Expose variables that can be configured
+autoipd_expose() {
+ variables autoipd
+}
+
+# bool autoipd_start(char *iface)
+#
+# Tries to configure the interface via avahi-autoipd
+autoipd_start() {
+ local iface="${1}" ifvar="$(bash_variable "${iface}")" opts="autoipd_${ifvar}" addr=""
+
+ interface_exists "${iface}" true || return 1
+
+ ebegin "Starting avahi-autoipd"
+ if /usr/sbin/avahi-autoipd --daemonize --syslog --wait ${!opts} "${iface}"
+ then
+ eend 0
+ addr="$(interface_get_address "${iface}")"
+ einfo "${iface} received address ${addr}"
+ return 0
+ fi
+
+ eend "${?}" "Failed to get address via avahi-autoipd!"
+}
+
+# bool autoipd_stop(char *iface)
+#
+# Stops a running avahi-autoipd instance
+autoipd_stop() {
+ local iface="${1}"
+
+ /usr/sbin/avahi-autoipd --check --syslog "${iface}" || return 0
+
+ ebegin "Stopping avahi-autoipd"
+ /usr/sbin/avahi-autoipd --kill --syslog "${iface}"
+ eend "${?}" "Failed to stop running avahi-autoipd instance!"
+}
+
+# vim: set ts=4 :
diff --git a/net-dns/avahi-base/files/avahi-0.6.30-automake-1.11.2.patch b/net-dns/avahi-base/files/avahi-0.6.30-automake-1.11.2.patch
new file mode 100644
index 00000000..be385f6c
--- /dev/null
+++ b/net-dns/avahi-base/files/avahi-0.6.30-automake-1.11.2.patch
@@ -0,0 +1,102 @@
+http://bugs.gentoo.org/397477
+
+--- avahi-python/avahi/Makefile.am
++++ avahi-python/avahi/Makefile.am
+@@ -31,7 +31,7 @@
+ -e 's,@FIRST_KEY\@,key = self.db.firstkey(),g' \
+ -e 's,@CHECK_KEY\@,while key is not None:,g' \
+ -e 's,@NEXT_KEY\@,key = self.db.nextkey(key),g' \
+- -e 's,@pkglibdir\@,$(pkglibdir),g' $< > $@ && \
++ -e 's,@pkgdatadir\@,$(pkgdatadir),g' $< > $@ && \
+ chmod +x $@
+ endif
+
+@@ -44,7 +44,7 @@
+ -e 's,@FIRST_KEY\@,keys = self.db.keys(),g' \
+ -e 's,@CHECK_KEY\@,for key in keys:,g' \
+ -e 's,@NEXT_KEY\@,,g' \
+- -e 's,@pkglibdir\@,$(pkglibdir),g' $< > $@ && \
++ -e 's,@pkgdatadir\@,$(pkgdatadir),g' $< > $@ && \
+ chmod +x $@
+ endif
+
+--- avahi-python/avahi/ServiceTypeDatabase.py.in
++++ avahi-python/avahi/ServiceTypeDatabase.py.in
+@@ -26,7 +26,7 @@
+ class ServiceTypeDatabase:
+ """ServiceTypeDatabase maps service types to descriptions"""
+
+- def __init__(self, filename = "@pkglibdir@/service-types.db"):
++ def __init__(self, filename = "@pkgdatadir@/service-types.db"):
+
+ self.db = @DBM@.open(filename, "r")
+
+--- avahi-ui/Makefile.am
++++ avahi-ui/Makefile.am
+@@ -62,18 +62,18 @@
+
+ if HAVE_GDBM
+ libavahi_ui_la_SOURCES += ../avahi-utils/stdb.h ../avahi-utils/stdb.c
+-libavahi_ui_la_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
++libavahi_ui_la_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+ libavahi_ui_la_LIBADD += -lgdbm
+
+-libavahi_ui_gtk3_la_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
++libavahi_ui_gtk3_la_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+ libavahi_ui_gtk3_la_LIBADD += -lgdbm
+ endif
+
+ if HAVE_DBM
+ libavahi_ui_la_SOURCES += ../avahi-utils/stdb.h ../avahi-utils/stdb.c
+-libavahi_ui_la_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
++libavahi_ui_la_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+
+-libavahi_ui_gtk3_la_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
++libavahi_ui_gtk3_la_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+ endif
+
+ bin_PROGRAMS = bssh
+--- avahi-utils/Makefile.am
++++ avahi-utils/Makefile.am
+@@ -30,13 +30,13 @@
+
+ if HAVE_GDBM
+ avahi_browse_SOURCES += stdb.h stdb.c
+-avahi_browse_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
++avahi_browse_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+ avahi_browse_LDADD += -lgdbm
+ endif
+
+ if HAVE_DBM
+ avahi_browse_SOURCES += stdb.h stdb.c
+-avahi_browse_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
++avahi_browse_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+ endif
+
+ avahi_resolve_SOURCES = avahi-resolve.c sigint.c sigint.h
+--- service-type-database/Makefile.am
++++ service-type-database/Makefile.am
+@@ -18,13 +18,12 @@
+ EXTRA_DIST=build-db.in service-types
+
+ pkgdata_DATA=service-types
+-pkglib_DATA=
+
+ if HAVE_PYTHON
+ if HAVE_GDBM
+
+ noinst_SCRIPTS=build-db
+-pkglib_DATA+=service-types.db
++pkgdata_DATA+=service-types.db
+
+ build-db: build-db.in
+ $(AM_V_GEN)sed -e 's,@PYTHON\@,$(PYTHON),g' \
+@@ -41,7 +40,7 @@
+ if HAVE_DBM
+
+ noinst_SCRIPTS=build-db
+-pkglib_DATA+=service-types.db.pag service-types.db.dir
++pkgdata_DATA+=service-types.db.pag service-types.db.dir
+
+ build-db: build-db.in
+ $(AM_V_GEN)sed -e 's,@PYTHON\@,$(PYTHON),g' \
diff --git a/net-dns/avahi-base/files/avahi-0.6.30-optional-gtk-utils.patch b/net-dns/avahi-base/files/avahi-0.6.30-optional-gtk-utils.patch
new file mode 100644
index 00000000..2c615a2b
--- /dev/null
+++ b/net-dns/avahi-base/files/avahi-0.6.30-optional-gtk-utils.patch
@@ -0,0 +1,83 @@
+--- avahi-discover-standalone/Makefile.am
++++ avahi-discover-standalone/Makefile.am
+@@ -23,7 +23,7 @@
+ # This cool debug trap works on i386/gcc only
+ AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")'
+
+-if HAVE_GTK2OR3
++if ENABLE_GTK_UTILS
+ if HAVE_GLIB
+ bin_PROGRAMS = \
+ avahi-discover-standalone
+--- avahi-ui/Makefile.am
++++ avahi-ui/Makefile.am
+@@ -76,6 +76,7 @@
+ libavahi_ui_gtk3_la_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
+ endif
+
++if ENABLE_GTK_UTILS
+ bin_PROGRAMS = bssh
+ desktop_DATA += bssh.desktop bvnc.desktop
+ @INTLTOOL_DESKTOP_RULE@
+@@ -102,6 +103,7 @@
+ bvnc.desktop.in: bvnc.desktop.in.in
+ $(AM_V_GEN)sed -e 's,@bindir\@,$(bindir),g' $< > $@
+
++endif # ENABLE_GTK_UTILS
+ endif # HAVE_GLIB
+ endif
+ endif
+--- configure.ac
++++ configure.ac
+@@ -564,7 +564,29 @@
+ fi
+ AM_CONDITIONAL(HAVE_GTK3, test "x$HAVE_GTK3" = "xyes")
+
+-AM_CONDITIONAL(HAVE_GTK2OR3, test "x$HAVE_GTK3" = "xyes" -o "x$HAVE_GTK" = "xyes" )
++#
++# Check for GTK+ Utils
++#
++AC_ARG_ENABLE(gtk-utils,
++ AS_HELP_STRING([--disable-gtk-utils],[Disable GTK+ utilities]),
++ [case "${enableval}" in
++ yes) WANT_GTK_UTILS=yes ;;
++ no) WANT_GTK_UTILS=no ;;
++ *) AC_MSG_ERROR(bad value ${enableval} for --enable-gtk-utils) ;;
++ esac],
++ [WANT_GTK_UTILS=yes])
++
++ENABLE_GTK_UTILS=no
++HAVE_GTK2OR3=no
++if test "x$HAVE_GTK3" = "xyes" -o "x$HAVE_GTK" = "xyes"; then
++ HAVE_GTK2OR3=yes
++ if test "x$WANT_GTK_UTILS" = "xyes"; then
++ ENABLE_GTK_UTILS=yes
++ fi
++fi
++
++AM_CONDITIONAL(HAVE_GTK2OR3, test "x$HAVE_GTK2OR3" = "xyes")
++AM_CONDITIONAL(ENABLE_GTK_UTILS, test "x$ENABLE_GTK_UTILS" = "xyes")
+
+ #
+ # D-Bus
+@@ -1199,11 +1221,6 @@
+ ENABLE_AUTOIPD="no (You need libdaemon!)"
+ fi
+
+-HAVE_GTK2OR3=no
+-if test "x$HAVE_GTK" = "xyes" -o "x$HAVE_GTK3" = "xyes" ; then
+- HAVE_GTK2OR3=yes
+-fi
+-
+ BUILD_UI="no"
+ if test "x$HAVE_GTK2OR3" = "xyes" -a "x$BUILD_CLIENT" = "xyes" ; then
+ BUILD_UI="yes"
+@@ -1223,7 +1240,7 @@
+ Building avahi-python: ${BUILD_PYTHON}
+ Building libavahi-glib: ${HAVE_GLIB}
+ Building libavahi-gobject: ${BUILD_GOBJECT}
+- Building avahi-discover-standalone: ${HAVE_GTK2OR3}
++ Building avahi-discover-standalone: ${ENABLE_GTK_UTILS}
+ Building libavahi-qt3: ${HAVE_QT3}
+ Building libavahi-qt4: ${HAVE_QT4}
+ Building avahi-sharp: ${HAVE_MONO}
diff --git a/net-dns/avahi-base/files/avahi-0.6.30-parallel.patch b/net-dns/avahi-base/files/avahi-0.6.30-parallel.patch
new file mode 100644
index 00000000..a75f9910
--- /dev/null
+++ b/net-dns/avahi-base/files/avahi-0.6.30-parallel.patch
@@ -0,0 +1,34 @@
+From cb10a844f9e91322aca91340b7adc0db19c96b36 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@flameeyes.eu>
+Date: Mon, 30 Apr 2012 17:07:41 -0700
+Subject: [PATCH] build-sys: fix parallel install in avahi-utils
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+The moment install-exec-local is called, we might still not have
+created ${DESTDIR}/${bindir} so we should make sure to create it
+first, and then try to chdir into it.
+
+Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
+---
+ avahi-utils/Makefile.am | 3 ++-
+ 1 files changed, 2 insertions(+), 1 deletions(-)
+
+diff --git a/avahi-utils/Makefile.am b/avahi-utils/Makefile.am
+index a644b4a..1abc79a 100644
+--- a/avahi-utils/Makefile.am
++++ b/avahi-utils/Makefile.am
+@@ -54,7 +54,8 @@ avahi_set_host_name_CFLAGS = $(AM_CFLAGS)
+ avahi_set_host_name_LDADD = $(AM_LDADD) ../avahi-client/libavahi-client.la ../avahi-common/libavahi-common.la
+
+ install-exec-local:
+- cd $(DESTDIR)/$(bindir) && \
++ $(mkdir_p) $(DESTDIR)/$(bindir) && \
++ cd $(DESTDIR)/$(bindir) && \
+ rm -f avahi-resolve-host-name avahi-resolve-address avahi-browse-domains avahi-publish-address avahi-publish-service && \
+ $(LN_S) avahi-resolve avahi-resolve-host-name && \
+ $(LN_S) avahi-resolve avahi-resolve-address && \
+--
+1.7.8.6
+
diff --git a/net-dns/avahi-base/files/avahi-0.6.31-build-client-without-daemon.patch b/net-dns/avahi-base/files/avahi-0.6.31-build-client-without-daemon.patch
new file mode 100644
index 00000000..df0c420f
--- /dev/null
+++ b/net-dns/avahi-base/files/avahi-0.6.31-build-client-without-daemon.patch
@@ -0,0 +1,27 @@
+From ce3b83de6aa689c0cefe0b1e85c03a627b537099 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
+Date: Mon, 12 May 2014 19:46:22 +0200
+Subject: [PATCH] Allow building client without the daemon.
+
+There's no good reason to disallow that, and that's what we specifically
+want to do for multilib.
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 0e190ba..c56cf01 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -1185,7 +1185,7 @@ fi
+
+ BUILD_CLIENT="no (You need avahi-daemon and D-Bus!)"
+
+-if test "x$BUILD_DAEMON" = "xyes" -a "x$HAVE_DBUS" = "xyes" ; then
++if "x$HAVE_DBUS" = "xyes" ; then
+ BUILD_CLIENT=yes
+ fi
+
+--
+1.9.3
+
diff --git a/net-dns/avahi-base/files/avahi-0.6.31-fix-install-avahi-discover.patch b/net-dns/avahi-base/files/avahi-0.6.31-fix-install-avahi-discover.patch
new file mode 100644
index 00000000..62ba967c
--- /dev/null
+++ b/net-dns/avahi-base/files/avahi-0.6.31-fix-install-avahi-discover.patch
@@ -0,0 +1,31 @@
+--- avahi-0.6.30.old/avahi-python/avahi-discover/Makefile.am 2010-06-28 23:30:34.000000000 -0400
++++ avahi-0.6.30/avahi-python/avahi-discover/Makefile.am 2012-04-21 18:02:01.642934527 -0400
+@@ -22,6 +22,7 @@
+ avahi-discover.py \
+ avahi-discover.desktop.in.in
+
++if ENABLE_GTK_UTILS
+ if HAVE_PYTHON
+ if HAVE_PYTHON_DBUS
+ if HAVE_PYGTK
+@@ -67,3 +68,4 @@
+ endif
+ endif
+ endif
++endif
+--- avahi-0.6.30.old/man/Makefile.am 2012-04-21 18:10:45.690900742 -0400
++++ avahi-0.6.30/man/Makefile.am 2012-04-21 18:09:15.146906578 -0400
+@@ -65,11 +65,13 @@
+ man_MANS += \
+ avahi-bookmarks.1
+ if HAVE_GTK
++if ENABLE_GTK_UTILS
+ man_MANS += \
+ avahi-discover.1
+ endif
+ endif
+ endif
++endif
+
+ if ENABLE_AUTOIPD
+ if HAVE_LIBDAEMON
diff --git a/net-dns/avahi-base/files/avahi-0.6.31-host-name-from-machine-id.patch b/net-dns/avahi-base/files/avahi-0.6.31-host-name-from-machine-id.patch
new file mode 100644
index 00000000..17ecba52
--- /dev/null
+++ b/net-dns/avahi-base/files/avahi-0.6.31-host-name-from-machine-id.patch
@@ -0,0 +1,85 @@
+From: David Zeuthen <zeuthen@chromium.org>
+Date: Tue, 5 Mar 2013 19:52:38 +0000 (-0800)
+Subject: avahi-daemon: add option "host-name-from-machine-id="
+X-Git-Url: http://git.0pointer.de/?p=avahi.git;a=commitdiff_plain;h=147cdce70b22ae7cee9fb4fe123db40952f31c9e
+
+avahi-daemon: add option "host-name-from-machine-id="
+
+Signed-off-by: David Zeuthen <zeuthen@chromium.org>
+---
+
+diff --git a/avahi-daemon/main.c b/avahi-daemon/main.c
+index d46f40a..8c28fd6 100644
+--- a/avahi-daemon/main.c
++++ b/avahi-daemon/main.c
+@@ -65,6 +65,7 @@
+ #include <avahi-core/publish.h>
+ #include <avahi-core/dns-srv-rr.h>
+ #include <avahi-core/log.h>
++#include <avahi-core/util.h>
+
+ #ifdef ENABLE_CHROOT
+ #include "chroot.h"
+@@ -576,6 +577,29 @@ static int parse_usec(const char *s, AvahiUsec *u) {
+ return 0;
+ }
+
++static char *get_machine_id(void) {
++ int fd;
++ char buf[32];
++
++ fd = open("/etc/machine-id", O_RDONLY|O_CLOEXEC|O_NOCTTY);
++ if (fd == -1 && errno == ENOENT)
++ fd = open("/var/lib/dbus/machine-id", O_RDONLY|O_CLOEXEC|O_NOCTTY);
++ if (fd == -1)
++ return NULL;
++
++ /* File is on a filesystem so we never get EINTR or partial reads */
++ if (read(fd, buf, sizeof buf) != sizeof buf) {
++ close(fd);
++ return NULL;
++ }
++ close(fd);
++
++ /* Contents can be lower, upper and even mixed case so normalize */
++ avahi_strdown(buf);
++
++ return avahi_strndup(buf, sizeof buf);
++}
++
+ static int load_config_file(DaemonConfig *c) {
+ int r = -1;
+ AvahiIniFile *f;
+@@ -631,6 +655,15 @@ static int load_config_file(DaemonConfig *c) {
+ c->server_config.use_iff_running = is_yes(p->value);
+ else if (strcasecmp(p->key, "disallow-other-stacks") == 0)
+ c->server_config.disallow_other_stacks = is_yes(p->value);
++ else if (strcasecmp(p->key, "host-name-from-machine-id") == 0) {
++ if (*(p->value) == 'y' || *(p->value) == 'Y') {
++ char *machine_id = get_machine_id();
++ if (machine_id != NULL) {
++ avahi_free(c->server_config.host_name);
++ c->server_config.host_name = machine_id;
++ }
++ }
++ }
+ #ifdef HAVE_DBUS
+ else if (strcasecmp(p->key, "enable-dbus") == 0) {
+
+diff --git a/man/avahi-daemon.conf.5.xml.in b/man/avahi-daemon.conf.5.xml.in
+index bea7ed5..2d15017 100644
+--- a/man/avahi-daemon.conf.5.xml.in
++++ b/man/avahi-daemon.conf.5.xml.in
+@@ -40,6 +40,12 @@
+ </option>
+
+ <option>
++ <p><opt>host-name-from-machine-id=</opt> Takes a boolean
++ value ("yes" or "no"). If set to "yes" avahi-daemon
++ will use the machine-id as name on the LAN.</p>
++ </option>
++
++ <option>
+ <p><opt>domain-name=</opt> Set the default domain name avahi-daemon
+ tries to register its host name and services on the LAN in. If
+ omitted defaults to ".local".</p>
diff --git a/net-dns/avahi-base/files/avahi-0.6.31-install-exec-hook.patch b/net-dns/avahi-base/files/avahi-0.6.31-install-exec-hook.patch
new file mode 100644
index 00000000..d9a7bc34
--- /dev/null
+++ b/net-dns/avahi-base/files/avahi-0.6.31-install-exec-hook.patch
@@ -0,0 +1,11 @@
+--- avahi-0.6.31/avahi-utils/Makefile.am
++++ avahi-0.6.31/avahi-utils/Makefile.am
+@@ -53,7 +53,7 @@
+ avahi_set_host_name_CFLAGS = $(AM_CFLAGS)
+ avahi_set_host_name_LDADD = $(AM_LDADD) ../avahi-client/libavahi-client.la ../avahi-common/libavahi-common.la
+
+-install-exec-local:
++install-exec-hook:
+ cd $(DESTDIR)/$(bindir) && \
+ rm -f avahi-resolve-host-name avahi-resolve-address avahi-browse-domains avahi-publish-address avahi-publish-service && \
+ $(LN_S) avahi-resolve avahi-resolve-host-name && \
diff --git a/net-dns/avahi-base/files/avahi-0.6.31-so_reuseport-may-not-exist-in-running-kernel.patch b/net-dns/avahi-base/files/avahi-0.6.31-so_reuseport-may-not-exist-in-running-kernel.patch
new file mode 100644
index 00000000..9c23ca5e
--- /dev/null
+++ b/net-dns/avahi-base/files/avahi-0.6.31-so_reuseport-may-not-exist-in-running-kernel.patch
@@ -0,0 +1,30 @@
+https://bugs.gentoo.org/484212
+
+Description: SO_REUSEPORT may not exist in running kernel
+ When userspace defines SO_REUSEPORT we will attempt to enable socket
+ port number reuse. However if the running kernel does not support
+ this call it will fail preventing daemon startup. If this call is
+ present but fails ENOPROTOOPT then we know that actually the kernel
+ does not support it and we should continue as if we did not have the
+ call at all. (LP: #1228204)
+ .
+ This patch could be removed from the debian package after jessie release.
+Author: Andy Whitcroft <apw@canonical.com>
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/1228204
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732009
+Last-Update: 2013-09-20
+
+Index: avahi-0.6.31/avahi-core/socket.c
+===================================================================
+--- avahi-0.6.31.orig/avahi-core/socket.c 2013-09-20 16:36:50.000000000 +0100
++++ avahi-0.6.31/avahi-core/socket.c 2013-09-20 16:38:23.781863644 +0100
+@@ -177,7 +177,8 @@
+ yes = 1;
+ if (setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &yes, sizeof(yes)) < 0) {
+ avahi_log_warn("SO_REUSEPORT failed: %s", strerror(errno));
+- return -1;
++ if (errno != ENOPROTOOPT)
++ return -1;
+ }
+ #endif
+
diff --git a/net-dns/avahi-base/files/avahi-0.6.31-workaround-systemd-stop-timeout.patch b/net-dns/avahi-base/files/avahi-0.6.31-workaround-systemd-stop-timeout.patch
new file mode 100644
index 00000000..947ba9ec
--- /dev/null
+++ b/net-dns/avahi-base/files/avahi-0.6.31-workaround-systemd-stop-timeout.patch
@@ -0,0 +1,10 @@
+--- a/avahi-daemon/avahi-daemon.service.in
++++ b/avahi-daemon/avahi-daemon.service.in
+@@ -24,6 +24,7 @@ Type=dbus
+ BusName=org.freedesktop.Avahi
+ ExecStart=@sbindir@/avahi-daemon -s
+ ExecReload=@sbindir@/avahi-daemon -r
++TimeoutStopSec=5
+ NotifyAccess=main
+
+ [Install]
diff --git a/net-dns/avahi-base/files/avahi-0.6.x-openrc-0.9.x-init-scripts-fixes.patch b/net-dns/avahi-base/files/avahi-0.6.x-openrc-0.9.x-init-scripts-fixes.patch
new file mode 100644
index 00000000..394f6d34
--- /dev/null
+++ b/net-dns/avahi-base/files/avahi-0.6.x-openrc-0.9.x-init-scripts-fixes.patch
@@ -0,0 +1,22 @@
+--- avahi-0.6.30/initscript/gentoo/avahi-daemon.in
++++ avahi-0.6.30/initscript/gentoo/avahi-daemon.in
+@@ -2,7 +2,7 @@
+ # Copyright 1999-2007 Gentoo Foundation
+ # Distributed under the terms of the GNU General Public License v2
+
+-opts="reload"
++extra_started_commands="reload"
+
+ depend() {
+ before netmount nfsmount
+--- avahi-0.6.30/initscript/gentoo/avahi-dnsconfd.in
++++ avahi-0.6.30/initscript/gentoo/avahi-dnsconfd.in
+@@ -2,7 +2,7 @@
+ # Copyright 1999-2007 Gentoo Foundation
+ # Distributed under the terms of the GNU General Public License v2
+
+-opts="reload"
++extra_started_commands="reload"
+
+ depend() {
+ need avahi-daemon
diff --git a/net-dns/avahi-base/metadata.xml b/net-dns/avahi-base/metadata.xml
new file mode 100644
index 00000000..9e286f8b
--- /dev/null
+++ b/net-dns/avahi-base/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>lxnay@gentoo.org</email>
+</maintainer>
+<use>
+ <flag name='autoipd'>Build and install the IPv4LL (RFC3927) network address
+ configuration daemon</flag>
+ <flag name='bookmarks'>Install the avahi-bookmarks application (requires
+ <pkg>dev-python/twisted</pkg>)</flag>
+ <flag name='howl-compat'>Enable compat libraries for howl</flag>
+ <flag name='mdnsresponder-compat'>Enable compat libraries for
+ mDNSResponder</flag>
+</use>
+</pkgmetadata>
diff --git a/net-dns/avahi-gtk/Manifest b/net-dns/avahi-gtk/Manifest
new file mode 100644
index 00000000..0206eaaa
--- /dev/null
+++ b/net-dns/avahi-gtk/Manifest
@@ -0,0 +1 @@
+DIST avahi-0.6.31.tar.gz 1268686 SHA256 8372719b24e2dd75de6f59bb1315e600db4fd092805bd1201ed0cb651a2dab48 SHA512 53eb00d570a274d841e1e6ad07da077950089ae39b4f7aa21fcd21cc5320b30b506b43e7e57e56198e155cc7bd289b779a48b2b2fc002dc6194a946110451858 WHIRLPOOL a6d97b87dfbb81be359ee03d8f32ebafdbb311bd596d686aeb55a2952ecb6c7c84466b1230e70392ffe23a20a56da7e0a5bd00c8dc1812b2156c0b4a8022144f
diff --git a/net-dns/avahi-gtk/avahi-gtk-0.6.31-r1.ebuild b/net-dns/avahi-gtk/avahi-gtk-0.6.31-r1.ebuild
new file mode 100644
index 00000000..7200ad7f
--- /dev/null
+++ b/net-dns/avahi-gtk/avahi-gtk-0.6.31-r1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2013 Sabayon
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+
+IUSE="python utils dbus"
+COMMON_DEPEND="=net-dns/avahi-base-${PVR}[dbus=,python=]
+ >=x11-libs/gtk+-2.14.0:2
+ python? ( >=dev-python/pygtk-2 )"
+AVAHI_MODULE_DEPEND="${COMMON_DEPEND}"
+AVAHI_MODULE_RDEPEND="${COMMON_DEPEND}"
+
+WANT_AUTOMAKE=1.11
+AVAHI_PATCHES=(
+ # install-exec-local -> install-exec-hook
+ "${FILESDIR}"/${P/-gtk}-install-exec-hook.patch
+ # Backport host-name-from-machine-id patch, bug #466134
+ "${FILESDIR}"/${P/-gtk}-host-name-from-machine-id.patch
+ # Make gtk utils optional
+ "${FILESDIR}"/${PN/-gtk}-0.6.30-optional-gtk-utils.patch
+)
+inherit eutils python avahi
+
+src_configure() {
+ local myconf=" --enable-gtk
+ --disable-gtk3
+ --disable-mono
+ $(use_enable dbus)
+ $(use_enable utils gtk-utils)
+ --enable-pygtk"
+ if use python; then
+ myconf+=" $(use_enable dbus python-dbus)"
+ fi
+ avahi_src_configure "${myconf}"
+}
+
+src_compile() {
+ for target in avahi-common avahi-client avahi-glib avahi-ui; do
+ cd "${S}"/${target} || die
+ emake || die
+ done
+ cd "${S}" || die
+ emake avahi-ui.pc || die
+}
+
+src_install() {
+ cd "${S}"/avahi-ui || die
+ emake install DESTDIR="${ED}" || die
+ if use python; then
+ cd "${S}"/avahi-python/avahi-discover || die
+ emake install DESTDIR="${ED}" || die
+ fi
+ cd "${S}" || die
+ dodir /usr/$(get_libdir)/pkgconfig
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins avahi-ui.pc
+
+ avahi_src_install-cleanup
+}
+
+pkg_postrm() {
+ use python && python_mod_cleanup $(use dbus && echo avahi_discover)
+}
+
+pkg_postinst() {
+ use python && python_mod_optimize avahi $(use dbus && echo avahi_discover)
+}
+
+
diff --git a/net-dns/avahi-gtk/avahi-gtk-0.6.31-r5.ebuild b/net-dns/avahi-gtk/avahi-gtk-0.6.31-r5.ebuild
new file mode 100644
index 00000000..b7061539
--- /dev/null
+++ b/net-dns/avahi-gtk/avahi-gtk-0.6.31-r5.ebuild
@@ -0,0 +1,170 @@
+# Copyright 1999-2014 Sabayon
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+AVAHI_MODULE="${AVAHI_MODULE:-${PN/avahi-}}"
+MY_P=${P/-${AVAHI_MODULE}}
+MY_PN=${PN/-${AVAHI_MODULE}}
+
+PYTHON_COMPAT=( python{2_6,2_7} )
+PYTHON_REQ_USE="gdbm"
+
+WANT_AUTOMAKE=1.11
+
+inherit autotools eutils flag-o-matic multilib multilib-minimal \
+ python-r1 systemd user
+
+DESCRIPTION="System which facilitates service discovery on a local network (gtk pkg)"
+HOMEPAGE="http://avahi.org/"
+SRC_URI="http://avahi.org/download/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-linux"
+IUSE="dbus gdbm introspection nls python utils"
+
+S="${WORKDIR}/${MY_P}"
+
+COMMON_DEPEND="
+ ~net-dns/avahi-base-${PV}[dbus=,gdbm=,introspection=,nls=,python=,${MULTILIB_USEDEP}]
+ x11-libs/gtk+:2
+ python? ( dev-python/pygtk )
+"
+
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+
+src_prepare() {
+ # Make gtk utils optional
+ epatch "${FILESDIR}"/${MY_PN}-0.6.30-optional-gtk-utils.patch
+
+ # Fix init scripts for >=openrc-0.9.0, bug #383641
+ epatch "${FILESDIR}"/${MY_PN}-0.6.x-openrc-0.9.x-init-scripts-fixes.patch
+
+ # install-exec-local -> install-exec-hook
+ epatch "${FILESDIR}"/${MY_P}-install-exec-hook.patch
+
+ # Backport host-name-from-machine-id patch, bug #466134
+ epatch "${FILESDIR}"/${MY_P}-host-name-from-machine-id.patch
+
+ # Don't install avahi-discover unless ENABLE_GTK_UTILS, bug #359575
+ epatch "${FILESDIR}"/${MY_P}-fix-install-avahi-discover.patch
+
+ epatch "${FILESDIR}"/${MY_P}-so_reuseport-may-not-exist-in-running-kernel.patch
+
+ # allow building client without the daemon
+ epatch "${FILESDIR}"/${MY_P}-build-client-without-daemon.patch
+
+ # Drop DEPRECATED flags, bug #384743
+ sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED=1::g' avahi-ui/Makefile.am || die
+
+ # Fix references to Lennart's home directory, bug #466210
+ sed -i -e 's/\/home\/lennart\/tmp\/avahi//g' man/* || die
+
+ # Prevent .pyc files in DESTDIR
+ >py-compile
+
+ eautoreconf
+
+ # bundled manpages
+ multilib_copy_sources
+}
+
+src_configure() {
+ # those steps should be done once-per-ebuild rather than per-ABI
+ use sh && replace-flags -O? -O0
+ use python && python_export_best
+
+ # We need to unset DISPLAY, else the configure script might have problems detecting the pygtk module
+ unset DISPLAY
+
+ multilib-minimal_src_configure
+}
+
+multilib_src_configure() {
+ local myconf=( --disable-static )
+
+ if use python; then
+ myconf+=(
+ $(multilib_native_use_enable dbus python-dbus)
+ --enable-pygtk
+ )
+ fi
+
+ if ! multilib_is_native_abi; then
+ myconf+=(
+ # used by daemons only
+ --disable-libdaemon
+ --with-xml=none
+ )
+ fi
+
+ econf \
+ --localstatedir="${EPREFIX}/var" \
+ --with-distro=gentoo \
+ --disable-python-dbus \
+ --disable-xmltoman \
+ --disable-monodoc \
+ --disable-pygtk \
+ --enable-glib \
+ --enable-gobject \
+ $(use_enable dbus) \
+ $(multilib_native_use_enable python) \
+ $(use_enable nls) \
+ $(multilib_native_use_enable introspection) \
+ --disable-qt3 \
+ --disable-qt4 \
+ $(multilib_is_native_abi && echo -n --enable-gtk || echo -n --disable-gtk) \
+ $(multilib_is_native_abi && echo -n --enable-gtk-utils || echo -n --disable-gtk-utils) \
+ --disable-gtk3 \
+ $(use_enable gdbm) \
+ $(systemd_with_unitdir) \
+ "${myconf[@]}"
+}
+
+multilib_src_compile() {
+ if multilib_is_native_abi; then
+ for target in avahi-common avahi-client avahi-glib avahi-ui; do
+ cd "${BUILD_DIR}"/${target} || die
+ emake || die
+ done
+ cd "${BUILD_DIR}" || die
+ emake avahi-ui.pc || die
+ fi
+}
+
+multilib_src_install() {
+ mkdir -p "${D}/usr/bin" || die
+
+ if multilib_is_native_abi; then
+ cd "${BUILD_DIR}"/avahi-ui || die
+ emake DESTDIR="${D}" install || die
+ if use python; then
+ cd "${BUILD_DIR}"/avahi-python/avahi-discover || die
+ emake install DESTDIR="${D}" || die
+ fi
+ cd "${BUILD_DIR}" || die
+ dodir /usr/$(get_libdir)/pkgconfig
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins avahi-ui.pc
+
+ # Workaround for avahi-ui.h collision between avahi-gtk and avahi-gtk3
+ root_avahi_ui="${ROOT}usr/include/avahi-ui/avahi-ui.h"
+ if [ -e "${root_avahi_ui}" ]; then
+ rm -f "${D}usr/include/avahi-ui/avahi-ui.h"
+ fi
+
+ # provided by avahi-gtk3
+ rm "${D}"usr/bin/bshell || die
+ rm "${D}"usr/bin/bssh || die
+ rm "${D}"usr/bin/bvnc || die
+ rm "${D}"usr/share/applications/bssh.desktop || die
+ rm "${D}"usr/share/applications/bvnc.desktop || die
+ fi
+}
+
+multilib_src_install_all() {
+ prune_libtool_files --all
+}
diff --git a/net-dns/avahi-gtk/avahi-gtk-0.6.31-r6.ebuild b/net-dns/avahi-gtk/avahi-gtk-0.6.31-r6.ebuild
new file mode 100644
index 00000000..4583e15e
--- /dev/null
+++ b/net-dns/avahi-gtk/avahi-gtk-0.6.31-r6.ebuild
@@ -0,0 +1,170 @@
+# Copyright 1999-2014 Sabayon
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+AVAHI_MODULE="${AVAHI_MODULE:-${PN/avahi-}}"
+MY_P=${P/-${AVAHI_MODULE}}
+MY_PN=${PN/-${AVAHI_MODULE}}
+
+PYTHON_COMPAT=( python{2_6,2_7} )
+PYTHON_REQ_USE="gdbm"
+
+WANT_AUTOMAKE=1.11
+
+inherit autotools eutils flag-o-matic multilib multilib-minimal \
+ python-r1 systemd user
+
+DESCRIPTION="System which facilitates service discovery on a local network (gtk pkg)"
+HOMEPAGE="http://avahi.org/"
+SRC_URI="http://avahi.org/download/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-linux"
+IUSE="dbus gdbm introspection nls python utils"
+
+S="${WORKDIR}/${MY_P}"
+
+COMMON_DEPEND="
+ ~net-dns/avahi-base-${PV}[dbus=,gdbm=,introspection=,nls=,python=,${MULTILIB_USEDEP}]
+ x11-libs/gtk+:2
+ python? ( dev-python/pygtk )
+"
+
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+
+src_prepare() {
+ # Make gtk utils optional
+ epatch "${FILESDIR}"/${MY_PN}-0.6.30-optional-gtk-utils.patch
+
+ # Fix init scripts for >=openrc-0.9.0, bug #383641
+ epatch "${FILESDIR}"/${MY_PN}-0.6.x-openrc-0.9.x-init-scripts-fixes.patch
+
+ # install-exec-local -> install-exec-hook
+ epatch "${FILESDIR}"/${MY_P}-install-exec-hook.patch
+
+ # Backport host-name-from-machine-id patch, bug #466134
+ epatch "${FILESDIR}"/${MY_P}-host-name-from-machine-id.patch
+
+ # Don't install avahi-discover unless ENABLE_GTK_UTILS, bug #359575
+ epatch "${FILESDIR}"/${MY_P}-fix-install-avahi-discover.patch
+
+ epatch "${FILESDIR}"/${MY_P}-so_reuseport-may-not-exist-in-running-kernel.patch
+
+ # allow building client without the daemon
+ epatch "${FILESDIR}"/${MY_P}-build-client-without-daemon.patch
+
+ # Drop DEPRECATED flags, bug #384743
+ sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED=1::g' avahi-ui/Makefile.am || die
+
+ # Fix references to Lennart's home directory, bug #466210
+ sed -i -e 's/\/home\/lennart\/tmp\/avahi//g' man/* || die
+
+ # Prevent .pyc files in DESTDIR
+ >py-compile
+
+ eautoreconf
+
+ # bundled manpages
+ multilib_copy_sources
+}
+
+src_configure() {
+ # those steps should be done once-per-ebuild rather than per-ABI
+ use sh && replace-flags -O? -O0
+ use python && python_export_best
+
+ # We need to unset DISPLAY, else the configure script might have problems detecting the pygtk module
+ unset DISPLAY
+
+ multilib-minimal_src_configure
+}
+
+multilib_src_configure() {
+ local myconf=( --disable-static )
+
+ if use python; then
+ myconf+=(
+ $(multilib_native_use_enable dbus python-dbus)
+ --enable-pygtk
+ )
+ fi
+
+ if ! multilib_is_native_abi; then
+ myconf+=(
+ # used by daemons only
+ --disable-libdaemon
+ --with-xml=none
+ )
+ fi
+
+ econf \
+ --localstatedir="${EPREFIX}/var" \
+ --with-distro=gentoo \
+ --disable-python-dbus \
+ --disable-xmltoman \
+ --disable-monodoc \
+ --disable-pygtk \
+ --enable-glib \
+ --enable-gobject \
+ $(use_enable dbus) \
+ $(multilib_native_use_enable python) \
+ $(use_enable nls) \
+ $(multilib_native_use_enable introspection) \
+ --disable-qt3 \
+ --disable-qt4 \
+ $(multilib_is_native_abi && echo -n --enable-gtk || echo -n --disable-gtk) \
+ $(multilib_is_native_abi && echo -n --enable-gtk-utils || echo -n --disable-gtk-utils) \
+ --disable-gtk3 \
+ $(use_enable gdbm) \
+ $(systemd_with_unitdir) \
+ "${myconf[@]}"
+}
+
+multilib_src_compile() {
+ if multilib_is_native_abi; then
+ for target in avahi-common avahi-client avahi-glib avahi-ui; do
+ cd "${BUILD_DIR}"/${target} || die
+ emake || die
+ done
+ cd "${BUILD_DIR}" || die
+ emake avahi-ui.pc || die
+ fi
+}
+
+multilib_src_install() {
+ mkdir -p "${D}/usr/bin" || die
+
+ if multilib_is_native_abi; then
+ cd "${BUILD_DIR}"/avahi-ui || die
+ emake DESTDIR="${D}" install || die
+ if use python; then
+ cd "${BUILD_DIR}"/avahi-python/avahi-discover || die
+ emake install DESTDIR="${D}" || die
+ fi
+ cd "${BUILD_DIR}" || die
+ dodir /usr/$(get_libdir)/pkgconfig
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins avahi-ui.pc
+
+ # Workaround for avahi-ui.h collision between avahi-gtk and avahi-gtk3
+ root_avahi_ui="${ROOT}usr/include/avahi-ui/avahi-ui.h"
+ if [ -e "${root_avahi_ui}" ]; then
+ rm -f "${D}usr/include/avahi-ui/avahi-ui.h"
+ fi
+
+ # provided by avahi-gtk3
+ rm "${D}"usr/bin/bshell || die
+ rm "${D}"usr/bin/bssh || die
+ rm "${D}"usr/bin/bvnc || die
+ rm "${D}"usr/share/applications/bssh.desktop || die
+ rm "${D}"usr/share/applications/bvnc.desktop || die
+ fi
+}
+
+multilib_src_install_all() {
+ prune_libtool_files --all
+}
diff --git a/net-dns/avahi-gtk/files/avahi-0.6.30-automake-1.11.2.patch b/net-dns/avahi-gtk/files/avahi-0.6.30-automake-1.11.2.patch
new file mode 100644
index 00000000..be385f6c
--- /dev/null
+++ b/net-dns/avahi-gtk/files/avahi-0.6.30-automake-1.11.2.patch
@@ -0,0 +1,102 @@
+http://bugs.gentoo.org/397477
+
+--- avahi-python/avahi/Makefile.am
++++ avahi-python/avahi/Makefile.am
+@@ -31,7 +31,7 @@
+ -e 's,@FIRST_KEY\@,key = self.db.firstkey(),g' \
+ -e 's,@CHECK_KEY\@,while key is not None:,g' \
+ -e 's,@NEXT_KEY\@,key = self.db.nextkey(key),g' \
+- -e 's,@pkglibdir\@,$(pkglibdir),g' $< > $@ && \
++ -e 's,@pkgdatadir\@,$(pkgdatadir),g' $< > $@ && \
+ chmod +x $@
+ endif
+
+@@ -44,7 +44,7 @@
+ -e 's,@FIRST_KEY\@,keys = self.db.keys(),g' \
+ -e 's,@CHECK_KEY\@,for key in keys:,g' \
+ -e 's,@NEXT_KEY\@,,g' \
+- -e 's,@pkglibdir\@,$(pkglibdir),g' $< > $@ && \
++ -e 's,@pkgdatadir\@,$(pkgdatadir),g' $< > $@ && \
+ chmod +x $@
+ endif
+
+--- avahi-python/avahi/ServiceTypeDatabase.py.in
++++ avahi-python/avahi/ServiceTypeDatabase.py.in
+@@ -26,7 +26,7 @@
+ class ServiceTypeDatabase:
+ """ServiceTypeDatabase maps service types to descriptions"""
+
+- def __init__(self, filename = "@pkglibdir@/service-types.db"):
++ def __init__(self, filename = "@pkgdatadir@/service-types.db"):
+
+ self.db = @DBM@.open(filename, "r")
+
+--- avahi-ui/Makefile.am
++++ avahi-ui/Makefile.am
+@@ -62,18 +62,18 @@
+
+ if HAVE_GDBM
+ libavahi_ui_la_SOURCES += ../avahi-utils/stdb.h ../avahi-utils/stdb.c
+-libavahi_ui_la_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
++libavahi_ui_la_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+ libavahi_ui_la_LIBADD += -lgdbm
+
+-libavahi_ui_gtk3_la_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
++libavahi_ui_gtk3_la_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+ libavahi_ui_gtk3_la_LIBADD += -lgdbm
+ endif
+
+ if HAVE_DBM
+ libavahi_ui_la_SOURCES += ../avahi-utils/stdb.h ../avahi-utils/stdb.c
+-libavahi_ui_la_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
++libavahi_ui_la_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+
+-libavahi_ui_gtk3_la_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
++libavahi_ui_gtk3_la_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+ endif
+
+ bin_PROGRAMS = bssh
+--- avahi-utils/Makefile.am
++++ avahi-utils/Makefile.am
+@@ -30,13 +30,13 @@
+
+ if HAVE_GDBM
+ avahi_browse_SOURCES += stdb.h stdb.c
+-avahi_browse_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
++avahi_browse_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+ avahi_browse_LDADD += -lgdbm
+ endif
+
+ if HAVE_DBM
+ avahi_browse_SOURCES += stdb.h stdb.c
+-avahi_browse_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
++avahi_browse_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+ endif
+
+ avahi_resolve_SOURCES = avahi-resolve.c sigint.c sigint.h
+--- service-type-database/Makefile.am
++++ service-type-database/Makefile.am
+@@ -18,13 +18,12 @@
+ EXTRA_DIST=build-db.in service-types
+
+ pkgdata_DATA=service-types
+-pkglib_DATA=
+
+ if HAVE_PYTHON
+ if HAVE_GDBM
+
+ noinst_SCRIPTS=build-db
+-pkglib_DATA+=service-types.db
++pkgdata_DATA+=service-types.db
+
+ build-db: build-db.in
+ $(AM_V_GEN)sed -e 's,@PYTHON\@,$(PYTHON),g' \
+@@ -41,7 +40,7 @@
+ if HAVE_DBM
+
+ noinst_SCRIPTS=build-db
+-pkglib_DATA+=service-types.db.pag service-types.db.dir
++pkgdata_DATA+=service-types.db.pag service-types.db.dir
+
+ build-db: build-db.in
+ $(AM_V_GEN)sed -e 's,@PYTHON\@,$(PYTHON),g' \
diff --git a/net-dns/avahi-gtk/files/avahi-0.6.30-optional-gtk-utils.patch b/net-dns/avahi-gtk/files/avahi-0.6.30-optional-gtk-utils.patch
new file mode 100644
index 00000000..2c615a2b
--- /dev/null
+++ b/net-dns/avahi-gtk/files/avahi-0.6.30-optional-gtk-utils.patch
@@ -0,0 +1,83 @@
+--- avahi-discover-standalone/Makefile.am
++++ avahi-discover-standalone/Makefile.am
+@@ -23,7 +23,7 @@
+ # This cool debug trap works on i386/gcc only
+ AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")'
+
+-if HAVE_GTK2OR3
++if ENABLE_GTK_UTILS
+ if HAVE_GLIB
+ bin_PROGRAMS = \
+ avahi-discover-standalone
+--- avahi-ui/Makefile.am
++++ avahi-ui/Makefile.am
+@@ -76,6 +76,7 @@
+ libavahi_ui_gtk3_la_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
+ endif
+
++if ENABLE_GTK_UTILS
+ bin_PROGRAMS = bssh
+ desktop_DATA += bssh.desktop bvnc.desktop
+ @INTLTOOL_DESKTOP_RULE@
+@@ -102,6 +103,7 @@
+ bvnc.desktop.in: bvnc.desktop.in.in
+ $(AM_V_GEN)sed -e 's,@bindir\@,$(bindir),g' $< > $@
+
++endif # ENABLE_GTK_UTILS
+ endif # HAVE_GLIB
+ endif
+ endif
+--- configure.ac
++++ configure.ac
+@@ -564,7 +564,29 @@
+ fi
+ AM_CONDITIONAL(HAVE_GTK3, test "x$HAVE_GTK3" = "xyes")
+
+-AM_CONDITIONAL(HAVE_GTK2OR3, test "x$HAVE_GTK3" = "xyes" -o "x$HAVE_GTK" = "xyes" )
++#
++# Check for GTK+ Utils
++#
++AC_ARG_ENABLE(gtk-utils,
++ AS_HELP_STRING([--disable-gtk-utils],[Disable GTK+ utilities]),
++ [case "${enableval}" in
++ yes) WANT_GTK_UTILS=yes ;;
++ no) WANT_GTK_UTILS=no ;;
++ *) AC_MSG_ERROR(bad value ${enableval} for --enable-gtk-utils) ;;
++ esac],
++ [WANT_GTK_UTILS=yes])
++
++ENABLE_GTK_UTILS=no
++HAVE_GTK2OR3=no
++if test "x$HAVE_GTK3" = "xyes" -o "x$HAVE_GTK" = "xyes"; then
++ HAVE_GTK2OR3=yes
++ if test "x$WANT_GTK_UTILS" = "xyes"; then
++ ENABLE_GTK_UTILS=yes
++ fi
++fi
++
++AM_CONDITIONAL(HAVE_GTK2OR3, test "x$HAVE_GTK2OR3" = "xyes")
++AM_CONDITIONAL(ENABLE_GTK_UTILS, test "x$ENABLE_GTK_UTILS" = "xyes")
+
+ #
+ # D-Bus
+@@ -1199,11 +1221,6 @@
+ ENABLE_AUTOIPD="no (You need libdaemon!)"
+ fi
+
+-HAVE_GTK2OR3=no
+-if test "x$HAVE_GTK" = "xyes" -o "x$HAVE_GTK3" = "xyes" ; then
+- HAVE_GTK2OR3=yes
+-fi
+-
+ BUILD_UI="no"
+ if test "x$HAVE_GTK2OR3" = "xyes" -a "x$BUILD_CLIENT" = "xyes" ; then
+ BUILD_UI="yes"
+@@ -1223,7 +1240,7 @@
+ Building avahi-python: ${BUILD_PYTHON}
+ Building libavahi-glib: ${HAVE_GLIB}
+ Building libavahi-gobject: ${BUILD_GOBJECT}
+- Building avahi-discover-standalone: ${HAVE_GTK2OR3}
++ Building avahi-discover-standalone: ${ENABLE_GTK_UTILS}
+ Building libavahi-qt3: ${HAVE_QT3}
+ Building libavahi-qt4: ${HAVE_QT4}
+ Building avahi-sharp: ${HAVE_MONO}
diff --git a/net-dns/avahi-gtk/files/avahi-0.6.30-parallel.patch b/net-dns/avahi-gtk/files/avahi-0.6.30-parallel.patch
new file mode 100644
index 00000000..a75f9910
--- /dev/null
+++ b/net-dns/avahi-gtk/files/avahi-0.6.30-parallel.patch
@@ -0,0 +1,34 @@
+From cb10a844f9e91322aca91340b7adc0db19c96b36 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@flameeyes.eu>
+Date: Mon, 30 Apr 2012 17:07:41 -0700
+Subject: [PATCH] build-sys: fix parallel install in avahi-utils
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+The moment install-exec-local is called, we might still not have
+created ${DESTDIR}/${bindir} so we should make sure to create it
+first, and then try to chdir into it.
+
+Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
+---
+ avahi-utils/Makefile.am | 3 ++-
+ 1 files changed, 2 insertions(+), 1 deletions(-)
+
+diff --git a/avahi-utils/Makefile.am b/avahi-utils/Makefile.am
+index a644b4a..1abc79a 100644
+--- a/avahi-utils/Makefile.am
++++ b/avahi-utils/Makefile.am
+@@ -54,7 +54,8 @@ avahi_set_host_name_CFLAGS = $(AM_CFLAGS)
+ avahi_set_host_name_LDADD = $(AM_LDADD) ../avahi-client/libavahi-client.la ../avahi-common/libavahi-common.la
+
+ install-exec-local:
+- cd $(DESTDIR)/$(bindir) && \
++ $(mkdir_p) $(DESTDIR)/$(bindir) && \
++ cd $(DESTDIR)/$(bindir) && \
+ rm -f avahi-resolve-host-name avahi-resolve-address avahi-browse-domains avahi-publish-address avahi-publish-service && \
+ $(LN_S) avahi-resolve avahi-resolve-host-name && \
+ $(LN_S) avahi-resolve avahi-resolve-address && \
+--
+1.7.8.6
+
diff --git a/net-dns/avahi-gtk/files/avahi-0.6.31-build-client-without-daemon.patch b/net-dns/avahi-gtk/files/avahi-0.6.31-build-client-without-daemon.patch
new file mode 100644
index 00000000..df0c420f
--- /dev/null
+++ b/net-dns/avahi-gtk/files/avahi-0.6.31-build-client-without-daemon.patch
@@ -0,0 +1,27 @@
+From ce3b83de6aa689c0cefe0b1e85c03a627b537099 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
+Date: Mon, 12 May 2014 19:46:22 +0200
+Subject: [PATCH] Allow building client without the daemon.
+
+There's no good reason to disallow that, and that's what we specifically
+want to do for multilib.
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 0e190ba..c56cf01 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -1185,7 +1185,7 @@ fi
+
+ BUILD_CLIENT="no (You need avahi-daemon and D-Bus!)"
+
+-if test "x$BUILD_DAEMON" = "xyes" -a "x$HAVE_DBUS" = "xyes" ; then
++if "x$HAVE_DBUS" = "xyes" ; then
+ BUILD_CLIENT=yes
+ fi
+
+--
+1.9.3
+
diff --git a/net-dns/avahi-gtk/files/avahi-0.6.31-fix-install-avahi-discover.patch b/net-dns/avahi-gtk/files/avahi-0.6.31-fix-install-avahi-discover.patch
new file mode 100644
index 00000000..62ba967c
--- /dev/null
+++ b/net-dns/avahi-gtk/files/avahi-0.6.31-fix-install-avahi-discover.patch
@@ -0,0 +1,31 @@
+--- avahi-0.6.30.old/avahi-python/avahi-discover/Makefile.am 2010-06-28 23:30:34.000000000 -0400
++++ avahi-0.6.30/avahi-python/avahi-discover/Makefile.am 2012-04-21 18:02:01.642934527 -0400
+@@ -22,6 +22,7 @@
+ avahi-discover.py \
+ avahi-discover.desktop.in.in
+
++if ENABLE_GTK_UTILS
+ if HAVE_PYTHON
+ if HAVE_PYTHON_DBUS
+ if HAVE_PYGTK
+@@ -67,3 +68,4 @@
+ endif
+ endif
+ endif
++endif
+--- avahi-0.6.30.old/man/Makefile.am 2012-04-21 18:10:45.690900742 -0400
++++ avahi-0.6.30/man/Makefile.am 2012-04-21 18:09:15.146906578 -0400
+@@ -65,11 +65,13 @@
+ man_MANS += \
+ avahi-bookmarks.1
+ if HAVE_GTK
++if ENABLE_GTK_UTILS
+ man_MANS += \
+ avahi-discover.1
+ endif
+ endif
+ endif
++endif
+
+ if ENABLE_AUTOIPD
+ if HAVE_LIBDAEMON
diff --git a/net-dns/avahi-gtk/files/avahi-0.6.31-host-name-from-machine-id.patch b/net-dns/avahi-gtk/files/avahi-0.6.31-host-name-from-machine-id.patch
new file mode 100644
index 00000000..17ecba52
--- /dev/null
+++ b/net-dns/avahi-gtk/files/avahi-0.6.31-host-name-from-machine-id.patch
@@ -0,0 +1,85 @@
+From: David Zeuthen <zeuthen@chromium.org>
+Date: Tue, 5 Mar 2013 19:52:38 +0000 (-0800)
+Subject: avahi-daemon: add option "host-name-from-machine-id="
+X-Git-Url: http://git.0pointer.de/?p=avahi.git;a=commitdiff_plain;h=147cdce70b22ae7cee9fb4fe123db40952f31c9e
+
+avahi-daemon: add option "host-name-from-machine-id="
+
+Signed-off-by: David Zeuthen <zeuthen@chromium.org>
+---
+
+diff --git a/avahi-daemon/main.c b/avahi-daemon/main.c
+index d46f40a..8c28fd6 100644
+--- a/avahi-daemon/main.c
++++ b/avahi-daemon/main.c
+@@ -65,6 +65,7 @@
+ #include <avahi-core/publish.h>
+ #include <avahi-core/dns-srv-rr.h>
+ #include <avahi-core/log.h>
++#include <avahi-core/util.h>
+
+ #ifdef ENABLE_CHROOT
+ #include "chroot.h"
+@@ -576,6 +577,29 @@ static int parse_usec(const char *s, AvahiUsec *u) {
+ return 0;
+ }
+
++static char *get_machine_id(void) {
++ int fd;
++ char buf[32];
++
++ fd = open("/etc/machine-id", O_RDONLY|O_CLOEXEC|O_NOCTTY);
++ if (fd == -1 && errno == ENOENT)
++ fd = open("/var/lib/dbus/machine-id", O_RDONLY|O_CLOEXEC|O_NOCTTY);
++ if (fd == -1)
++ return NULL;
++
++ /* File is on a filesystem so we never get EINTR or partial reads */
++ if (read(fd, buf, sizeof buf) != sizeof buf) {
++ close(fd);
++ return NULL;
++ }
++ close(fd);
++
++ /* Contents can be lower, upper and even mixed case so normalize */
++ avahi_strdown(buf);
++
++ return avahi_strndup(buf, sizeof buf);
++}
++
+ static int load_config_file(DaemonConfig *c) {
+ int r = -1;
+ AvahiIniFile *f;
+@@ -631,6 +655,15 @@ static int load_config_file(DaemonConfig *c) {
+ c->server_config.use_iff_running = is_yes(p->value);
+ else if (strcasecmp(p->key, "disallow-other-stacks") == 0)
+ c->server_config.disallow_other_stacks = is_yes(p->value);
++ else if (strcasecmp(p->key, "host-name-from-machine-id") == 0) {
++ if (*(p->value) == 'y' || *(p->value) == 'Y') {
++ char *machine_id = get_machine_id();
++ if (machine_id != NULL) {
++ avahi_free(c->server_config.host_name);
++ c->server_config.host_name = machine_id;
++ }
++ }
++ }
+ #ifdef HAVE_DBUS
+ else if (strcasecmp(p->key, "enable-dbus") == 0) {
+
+diff --git a/man/avahi-daemon.conf.5.xml.in b/man/avahi-daemon.conf.5.xml.in
+index bea7ed5..2d15017 100644
+--- a/man/avahi-daemon.conf.5.xml.in
++++ b/man/avahi-daemon.conf.5.xml.in
+@@ -40,6 +40,12 @@
+ </option>
+
+ <option>
++ <p><opt>host-name-from-machine-id=</opt> Takes a boolean
++ value ("yes" or "no"). If set to "yes" avahi-daemon
++ will use the machine-id as name on the LAN.</p>
++ </option>
++
++ <option>
+ <p><opt>domain-name=</opt> Set the default domain name avahi-daemon
+ tries to register its host name and services on the LAN in. If
+ omitted defaults to ".local".</p>
diff --git a/net-dns/avahi-gtk/files/avahi-0.6.31-install-exec-hook.patch b/net-dns/avahi-gtk/files/avahi-0.6.31-install-exec-hook.patch
new file mode 100644
index 00000000..d9a7bc34
--- /dev/null
+++ b/net-dns/avahi-gtk/files/avahi-0.6.31-install-exec-hook.patch
@@ -0,0 +1,11 @@
+--- avahi-0.6.31/avahi-utils/Makefile.am
++++ avahi-0.6.31/avahi-utils/Makefile.am
+@@ -53,7 +53,7 @@
+ avahi_set_host_name_CFLAGS = $(AM_CFLAGS)
+ avahi_set_host_name_LDADD = $(AM_LDADD) ../avahi-client/libavahi-client.la ../avahi-common/libavahi-common.la
+
+-install-exec-local:
++install-exec-hook:
+ cd $(DESTDIR)/$(bindir) && \
+ rm -f avahi-resolve-host-name avahi-resolve-address avahi-browse-domains avahi-publish-address avahi-publish-service && \
+ $(LN_S) avahi-resolve avahi-resolve-host-name && \
diff --git a/net-dns/avahi-gtk/files/avahi-0.6.31-so_reuseport-may-not-exist-in-running-kernel.patch b/net-dns/avahi-gtk/files/avahi-0.6.31-so_reuseport-may-not-exist-in-running-kernel.patch
new file mode 100644
index 00000000..9c23ca5e
--- /dev/null
+++ b/net-dns/avahi-gtk/files/avahi-0.6.31-so_reuseport-may-not-exist-in-running-kernel.patch
@@ -0,0 +1,30 @@
+https://bugs.gentoo.org/484212
+
+Description: SO_REUSEPORT may not exist in running kernel
+ When userspace defines SO_REUSEPORT we will attempt to enable socket
+ port number reuse. However if the running kernel does not support
+ this call it will fail preventing daemon startup. If this call is
+ present but fails ENOPROTOOPT then we know that actually the kernel
+ does not support it and we should continue as if we did not have the
+ call at all. (LP: #1228204)
+ .
+ This patch could be removed from the debian package after jessie release.
+Author: Andy Whitcroft <apw@canonical.com>
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/1228204
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732009
+Last-Update: 2013-09-20
+
+Index: avahi-0.6.31/avahi-core/socket.c
+===================================================================
+--- avahi-0.6.31.orig/avahi-core/socket.c 2013-09-20 16:36:50.000000000 +0100
++++ avahi-0.6.31/avahi-core/socket.c 2013-09-20 16:38:23.781863644 +0100
+@@ -177,7 +177,8 @@
+ yes = 1;
+ if (setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &yes, sizeof(yes)) < 0) {
+ avahi_log_warn("SO_REUSEPORT failed: %s", strerror(errno));
+- return -1;
++ if (errno != ENOPROTOOPT)
++ return -1;
+ }
+ #endif
+
diff --git a/net-dns/avahi-gtk/files/avahi-0.6.x-openrc-0.9.x-init-scripts-fixes.patch b/net-dns/avahi-gtk/files/avahi-0.6.x-openrc-0.9.x-init-scripts-fixes.patch
new file mode 100644
index 00000000..394f6d34
--- /dev/null
+++ b/net-dns/avahi-gtk/files/avahi-0.6.x-openrc-0.9.x-init-scripts-fixes.patch
@@ -0,0 +1,22 @@
+--- avahi-0.6.30/initscript/gentoo/avahi-daemon.in
++++ avahi-0.6.30/initscript/gentoo/avahi-daemon.in
+@@ -2,7 +2,7 @@
+ # Copyright 1999-2007 Gentoo Foundation
+ # Distributed under the terms of the GNU General Public License v2
+
+-opts="reload"
++extra_started_commands="reload"
+
+ depend() {
+ before netmount nfsmount
+--- avahi-0.6.30/initscript/gentoo/avahi-dnsconfd.in
++++ avahi-0.6.30/initscript/gentoo/avahi-dnsconfd.in
+@@ -2,7 +2,7 @@
+ # Copyright 1999-2007 Gentoo Foundation
+ # Distributed under the terms of the GNU General Public License v2
+
+-opts="reload"
++extra_started_commands="reload"
+
+ depend() {
+ need avahi-daemon
diff --git a/net-dns/avahi-gtk/metadata.xml b/net-dns/avahi-gtk/metadata.xml
new file mode 100644
index 00000000..2c673780
--- /dev/null
+++ b/net-dns/avahi-gtk/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>lxnay@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/net-dns/avahi-gtk3/Manifest b/net-dns/avahi-gtk3/Manifest
new file mode 100644
index 00000000..0206eaaa
--- /dev/null
+++ b/net-dns/avahi-gtk3/Manifest
@@ -0,0 +1 @@
+DIST avahi-0.6.31.tar.gz 1268686 SHA256 8372719b24e2dd75de6f59bb1315e600db4fd092805bd1201ed0cb651a2dab48 SHA512 53eb00d570a274d841e1e6ad07da077950089ae39b4f7aa21fcd21cc5320b30b506b43e7e57e56198e155cc7bd289b779a48b2b2fc002dc6194a946110451858 WHIRLPOOL a6d97b87dfbb81be359ee03d8f32ebafdbb311bd596d686aeb55a2952ecb6c7c84466b1230e70392ffe23a20a56da7e0a5bd00c8dc1812b2156c0b4a8022144f
diff --git a/net-dns/avahi-gtk3/avahi-gtk3-0.6.31-r1.ebuild b/net-dns/avahi-gtk3/avahi-gtk3-0.6.31-r1.ebuild
new file mode 100644
index 00000000..d2c14917
--- /dev/null
+++ b/net-dns/avahi-gtk3/avahi-gtk3-0.6.31-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2013 Sabayon
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+
+IUSE=""
+COMMON_DEPEND="=net-dns/avahi-base-${PVR}
+ x11-libs/gtk+:3"
+AVAHI_MODULE_DEPEND="${COMMON_DEPEND}"
+AVAHI_MODULE_RDEPEND="${COMMON_DEPEND}"
+
+WANT_AUTOMAKE=1.11
+AVAHI_PATCHES=(
+ # Fix init scripts for >=openrc-0.9.0 (bug #383641)
+ "${FILESDIR}/avahi-0.6.x-openrc-0.9.x-init-scripts-fixes.patch"
+ # install-exec-local -> install-exec-hook
+ "${FILESDIR}"/${P/-gtk3}-install-exec-hook.patch
+ # Backport host-name-from-machine-id patch, bug #466134
+ "${FILESDIR}"/${P/-gtk3}-host-name-from-machine-id.patch
+)
+inherit eutils avahi
+
+src_configure() {
+ local myconf=" --disable-gtk --enable-gtk3"
+ avahi_src_configure "${myconf}"
+}
+
+src_compile() {
+ for target in avahi-common avahi-client avahi-glib avahi-ui; do
+ cd "${S}"/${target} || die
+ emake || die
+ done
+ cd "${S}" || die
+ emake avahi-ui-gtk3.pc || die
+}
+
+src_install() {
+ cd "${S}"/avahi-ui || die
+ emake -j1 install DESTDIR="${ED}" || die
+ cd "${S}" || die
+ dodir /usr/$(get_libdir)/pkgconfig
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins avahi-ui-gtk3.pc
+
+ avahi_src_install-cleanup
+
+ # Workaround for avahi-ui.h collision between avahi-gtk and avahi-gtk3
+ root_avahi_ui="${ROOT}usr/include/avahi-ui/avahi-ui.h"
+ if [ -e "${root_avahi_ui}" ]; then
+ rm -f "${ED}usr/include/avahi-ui/avahi-ui.h"
+ fi
+}
diff --git a/net-dns/avahi-gtk3/avahi-gtk3-0.6.31-r5.ebuild b/net-dns/avahi-gtk3/avahi-gtk3-0.6.31-r5.ebuild
new file mode 100644
index 00000000..4cef03a1
--- /dev/null
+++ b/net-dns/avahi-gtk3/avahi-gtk3-0.6.31-r5.ebuild
@@ -0,0 +1,155 @@
+# Copyright 1999-2014 Sabayon
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+AVAHI_MODULE="${AVAHI_MODULE:-${PN/avahi-}}"
+MY_P=${P/-${AVAHI_MODULE}}
+MY_PN=${PN/-${AVAHI_MODULE}}
+
+WANT_AUTOMAKE=1.11
+
+PYTHON_COMPAT=( python{2_6,2_7} )
+PYTHON_REQ_USE="gdbm"
+
+inherit autotools eutils flag-o-matic multilib multilib-minimal \
+ python-r1 systemd user
+
+DESCRIPTION="System which facilitates service discovery on a local network (gtk3 pkg)"
+HOMEPAGE="http://avahi.org/"
+SRC_URI="http://avahi.org/download/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-linux"
+IUSE="bookmarks dbus gdbm introspection nls python utils"
+
+S="${WORKDIR}/${MY_P}"
+
+COMMON_DEPEND="
+ ~net-dns/avahi-base-${PV}[bookmarks=,dbus=,gdbm=,introspection=,nls=,python=,${MULTILIB_USEDEP}]
+ x11-libs/gtk+:3
+"
+
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+
+MULTILIB_WRAPPED_HEADERS=(
+ # necessary until the UI libraries are ported
+ /usr/include/avahi-ui/avahi-ui.h
+)
+
+src_prepare() {
+ # Make gtk utils optional
+ epatch "${FILESDIR}"/${MY_PN}-0.6.30-optional-gtk-utils.patch
+
+ # Fix init scripts for >=openrc-0.9.0, bug #383641
+ epatch "${FILESDIR}"/${MY_PN}-0.6.x-openrc-0.9.x-init-scripts-fixes.patch
+
+ # install-exec-local -> install-exec-hook
+ epatch "${FILESDIR}"/${MY_P}-install-exec-hook.patch
+
+ # Backport host-name-from-machine-id patch, bug #466134
+ epatch "${FILESDIR}"/${MY_P}-host-name-from-machine-id.patch
+
+ # Don't install avahi-discover unless ENABLE_GTK_UTILS, bug #359575
+ epatch "${FILESDIR}"/${MY_P}-fix-install-avahi-discover.patch
+
+ epatch "${FILESDIR}"/${MY_P}-so_reuseport-may-not-exist-in-running-kernel.patch
+
+ # allow building client without the daemon
+ epatch "${FILESDIR}"/${MY_P}-build-client-without-daemon.patch
+
+ # Drop DEPRECATED flags, bug #384743
+ sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED=1::g' avahi-ui/Makefile.am || die
+
+ # Fix references to Lennart's home directory, bug #466210
+ sed -i -e 's/\/home\/lennart\/tmp\/avahi//g' man/* || die
+
+ # Prevent .pyc files in DESTDIR
+ >py-compile
+
+ eautoreconf
+
+ # bundled manpages
+ multilib_copy_sources
+}
+
+src_configure() {
+ # those steps should be done once-per-ebuild rather than per-ABI
+ use sh && replace-flags -O? -O0
+
+ # We need to unset DISPLAY, else the configure script might have problems detecting the pygtk module
+ unset DISPLAY
+
+ multilib-minimal_src_configure
+}
+
+multilib_src_configure() {
+ local myconf=( --disable-static )
+
+ if ! multilib_is_native_abi; then
+ myconf+=(
+ # used by daemons only
+ --disable-libdaemon
+ --with-xml=none
+ )
+ fi
+
+ if use python; then
+ myconf+=(
+ $(multilib_native_use_enable dbus python-dbus)
+ )
+ fi
+
+ econf \
+ --localstatedir="${EPREFIX}/var" \
+ --with-distro=gentoo \
+ --disable-python-dbus \
+ --disable-xmltoman \
+ --disable-monodoc \
+ --disable-pygtk \
+ --enable-glib \
+ --enable-gobject \
+ $(use_enable dbus) \
+ $(multilib_native_use_enable python) \
+ $(use_enable nls) \
+ $(multilib_native_use_enable introspection) \
+ --disable-qt3 \
+ --disable-qt4 \
+ --disable-gtk \
+ $(multilib_is_native_abi && echo -n --enable-gtk3 --enable-utils || echo -n --disable-gtk3 --disable-utils) \
+ $(use_enable gdbm) \
+ $(systemd_with_unitdir) \
+ "${myconf[@]}"
+}
+
+multilib_src_compile() {
+ if multilib_is_native_abi; then
+ for target in avahi-common avahi-client avahi-glib avahi-ui; do
+ cd "${BUILD_DIR}"/${target} || die
+ emake || die
+ done
+ cd "${BUILD_DIR}" || die
+ emake avahi-ui-gtk3.pc || die
+ fi
+}
+
+multilib_src_install() {
+ if multilib_is_native_abi; then
+ mkdir -p "${D}/usr/bin" || die
+ cd "${BUILD_DIR}"/avahi-ui || die
+ emake DESTDIR="${D}" install || die
+ cd "${BUILD_DIR}" || die
+ dodir /usr/$(get_libdir)/pkgconfig
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins avahi-ui-gtk3.pc
+ fi
+}
+
+multilib_src_install_all() {
+ prune_libtool_files --all
+ use bookmarks && use python && use dbus || \
+ rm -f "${D}"/usr/bin/avahi-bookmarks
+}
diff --git a/net-dns/avahi-gtk3/avahi-gtk3-0.6.31-r6.ebuild b/net-dns/avahi-gtk3/avahi-gtk3-0.6.31-r6.ebuild
new file mode 100644
index 00000000..1f1b21f2
--- /dev/null
+++ b/net-dns/avahi-gtk3/avahi-gtk3-0.6.31-r6.ebuild
@@ -0,0 +1,155 @@
+# Copyright 1999-2014 Sabayon
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+AVAHI_MODULE="${AVAHI_MODULE:-${PN/avahi-}}"
+MY_P=${P/-${AVAHI_MODULE}}
+MY_PN=${PN/-${AVAHI_MODULE}}
+
+WANT_AUTOMAKE=1.11
+
+PYTHON_COMPAT=( python{2_6,2_7} )
+PYTHON_REQ_USE="gdbm"
+
+inherit autotools eutils flag-o-matic multilib multilib-minimal \
+ python-r1 systemd user
+
+DESCRIPTION="System which facilitates service discovery on a local network (gtk3 pkg)"
+HOMEPAGE="http://avahi.org/"
+SRC_URI="http://avahi.org/download/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-linux"
+IUSE="bookmarks dbus gdbm introspection nls python utils"
+
+S="${WORKDIR}/${MY_P}"
+
+COMMON_DEPEND="
+ ~net-dns/avahi-base-${PV}[bookmarks=,dbus=,gdbm=,introspection=,nls=,python=,${MULTILIB_USEDEP}]
+ x11-libs/gtk+:3
+"
+
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+
+MULTILIB_WRAPPED_HEADERS=(
+ # necessary until the UI libraries are ported
+ /usr/include/avahi-ui/avahi-ui.h
+)
+
+src_prepare() {
+ # Make gtk utils optional
+ epatch "${FILESDIR}"/${MY_PN}-0.6.30-optional-gtk-utils.patch
+
+ # Fix init scripts for >=openrc-0.9.0, bug #383641
+ epatch "${FILESDIR}"/${MY_PN}-0.6.x-openrc-0.9.x-init-scripts-fixes.patch
+
+ # install-exec-local -> install-exec-hook
+ epatch "${FILESDIR}"/${MY_P}-install-exec-hook.patch
+
+ # Backport host-name-from-machine-id patch, bug #466134
+ epatch "${FILESDIR}"/${MY_P}-host-name-from-machine-id.patch
+
+ # Don't install avahi-discover unless ENABLE_GTK_UTILS, bug #359575
+ epatch "${FILESDIR}"/${MY_P}-fix-install-avahi-discover.patch
+
+ epatch "${FILESDIR}"/${MY_P}-so_reuseport-may-not-exist-in-running-kernel.patch
+
+ # allow building client without the daemon
+ epatch "${FILESDIR}"/${MY_P}-build-client-without-daemon.patch
+
+ # Drop DEPRECATED flags, bug #384743
+ sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED=1::g' avahi-ui/Makefile.am || die
+
+ # Fix references to Lennart's home directory, bug #466210
+ sed -i -e 's/\/home\/lennart\/tmp\/avahi//g' man/* || die
+
+ # Prevent .pyc files in DESTDIR
+ >py-compile
+
+ eautoreconf
+
+ # bundled manpages
+ multilib_copy_sources
+}
+
+src_configure() {
+ # those steps should be done once-per-ebuild rather than per-ABI
+ use sh && replace-flags -O? -O0
+
+ # We need to unset DISPLAY, else the configure script might have problems detecting the pygtk module
+ unset DISPLAY
+
+ multilib-minimal_src_configure
+}
+
+multilib_src_configure() {
+ local myconf=( --disable-static )
+
+ if ! multilib_is_native_abi; then
+ myconf+=(
+ # used by daemons only
+ --disable-libdaemon
+ --with-xml=none
+ )
+ fi
+
+ if use python; then
+ myconf+=(
+ $(multilib_native_use_enable dbus python-dbus)
+ )
+ fi
+
+ econf \
+ --localstatedir="${EPREFIX}/var" \
+ --with-distro=gentoo \
+ --disable-python-dbus \
+ --disable-xmltoman \
+ --disable-monodoc \
+ --disable-pygtk \
+ --enable-glib \
+ --enable-gobject \
+ $(use_enable dbus) \
+ $(multilib_native_use_enable python) \
+ $(use_enable nls) \
+ $(multilib_native_use_enable introspection) \
+ --disable-qt3 \
+ --disable-qt4 \
+ --disable-gtk \
+ $(multilib_is_native_abi && echo -n --enable-gtk3 --enable-utils || echo -n --disable-gtk3 --disable-utils) \
+ $(use_enable gdbm) \
+ $(systemd_with_unitdir) \
+ "${myconf[@]}"
+}
+
+multilib_src_compile() {
+ if multilib_is_native_abi; then
+ for target in avahi-common avahi-client avahi-glib avahi-ui; do
+ cd "${BUILD_DIR}"/${target} || die
+ emake || die
+ done
+ cd "${BUILD_DIR}" || die
+ emake avahi-ui-gtk3.pc || die
+ fi
+}
+
+multilib_src_install() {
+ if multilib_is_native_abi; then
+ mkdir -p "${D}/usr/bin" || die
+ cd "${BUILD_DIR}"/avahi-ui || die
+ emake DESTDIR="${D}" install || die
+ cd "${BUILD_DIR}" || die
+ dodir /usr/$(get_libdir)/pkgconfig
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins avahi-ui-gtk3.pc
+ fi
+}
+
+multilib_src_install_all() {
+ prune_libtool_files --all
+ use bookmarks && use python && use dbus || \
+ rm -f "${D}"/usr/bin/avahi-bookmarks
+}
diff --git a/net-dns/avahi-gtk3/files/avahi-0.6.30-automake-1.11.2.patch b/net-dns/avahi-gtk3/files/avahi-0.6.30-automake-1.11.2.patch
new file mode 100644
index 00000000..be385f6c
--- /dev/null
+++ b/net-dns/avahi-gtk3/files/avahi-0.6.30-automake-1.11.2.patch
@@ -0,0 +1,102 @@
+http://bugs.gentoo.org/397477
+
+--- avahi-python/avahi/Makefile.am
++++ avahi-python/avahi/Makefile.am
+@@ -31,7 +31,7 @@
+ -e 's,@FIRST_KEY\@,key = self.db.firstkey(),g' \
+ -e 's,@CHECK_KEY\@,while key is not None:,g' \
+ -e 's,@NEXT_KEY\@,key = self.db.nextkey(key),g' \
+- -e 's,@pkglibdir\@,$(pkglibdir),g' $< > $@ && \
++ -e 's,@pkgdatadir\@,$(pkgdatadir),g' $< > $@ && \
+ chmod +x $@
+ endif
+
+@@ -44,7 +44,7 @@
+ -e 's,@FIRST_KEY\@,keys = self.db.keys(),g' \
+ -e 's,@CHECK_KEY\@,for key in keys:,g' \
+ -e 's,@NEXT_KEY\@,,g' \
+- -e 's,@pkglibdir\@,$(pkglibdir),g' $< > $@ && \
++ -e 's,@pkgdatadir\@,$(pkgdatadir),g' $< > $@ && \
+ chmod +x $@
+ endif
+
+--- avahi-python/avahi/ServiceTypeDatabase.py.in
++++ avahi-python/avahi/ServiceTypeDatabase.py.in
+@@ -26,7 +26,7 @@
+ class ServiceTypeDatabase:
+ """ServiceTypeDatabase maps service types to descriptions"""
+
+- def __init__(self, filename = "@pkglibdir@/service-types.db"):
++ def __init__(self, filename = "@pkgdatadir@/service-types.db"):
+
+ self.db = @DBM@.open(filename, "r")
+
+--- avahi-ui/Makefile.am
++++ avahi-ui/Makefile.am
+@@ -62,18 +62,18 @@
+
+ if HAVE_GDBM
+ libavahi_ui_la_SOURCES += ../avahi-utils/stdb.h ../avahi-utils/stdb.c
+-libavahi_ui_la_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
++libavahi_ui_la_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+ libavahi_ui_la_LIBADD += -lgdbm
+
+-libavahi_ui_gtk3_la_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
++libavahi_ui_gtk3_la_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+ libavahi_ui_gtk3_la_LIBADD += -lgdbm
+ endif
+
+ if HAVE_DBM
+ libavahi_ui_la_SOURCES += ../avahi-utils/stdb.h ../avahi-utils/stdb.c
+-libavahi_ui_la_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
++libavahi_ui_la_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+
+-libavahi_ui_gtk3_la_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
++libavahi_ui_gtk3_la_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+ endif
+
+ bin_PROGRAMS = bssh
+--- avahi-utils/Makefile.am
++++ avahi-utils/Makefile.am
+@@ -30,13 +30,13 @@
+
+ if HAVE_GDBM
+ avahi_browse_SOURCES += stdb.h stdb.c
+-avahi_browse_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
++avahi_browse_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+ avahi_browse_LDADD += -lgdbm
+ endif
+
+ if HAVE_DBM
+ avahi_browse_SOURCES += stdb.h stdb.c
+-avahi_browse_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
++avahi_browse_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+ endif
+
+ avahi_resolve_SOURCES = avahi-resolve.c sigint.c sigint.h
+--- service-type-database/Makefile.am
++++ service-type-database/Makefile.am
+@@ -18,13 +18,12 @@
+ EXTRA_DIST=build-db.in service-types
+
+ pkgdata_DATA=service-types
+-pkglib_DATA=
+
+ if HAVE_PYTHON
+ if HAVE_GDBM
+
+ noinst_SCRIPTS=build-db
+-pkglib_DATA+=service-types.db
++pkgdata_DATA+=service-types.db
+
+ build-db: build-db.in
+ $(AM_V_GEN)sed -e 's,@PYTHON\@,$(PYTHON),g' \
+@@ -41,7 +40,7 @@
+ if HAVE_DBM
+
+ noinst_SCRIPTS=build-db
+-pkglib_DATA+=service-types.db.pag service-types.db.dir
++pkgdata_DATA+=service-types.db.pag service-types.db.dir
+
+ build-db: build-db.in
+ $(AM_V_GEN)sed -e 's,@PYTHON\@,$(PYTHON),g' \
diff --git a/net-dns/avahi-gtk3/files/avahi-0.6.30-optional-gtk-utils.patch b/net-dns/avahi-gtk3/files/avahi-0.6.30-optional-gtk-utils.patch
new file mode 100644
index 00000000..2c615a2b
--- /dev/null
+++ b/net-dns/avahi-gtk3/files/avahi-0.6.30-optional-gtk-utils.patch
@@ -0,0 +1,83 @@
+--- avahi-discover-standalone/Makefile.am
++++ avahi-discover-standalone/Makefile.am
+@@ -23,7 +23,7 @@
+ # This cool debug trap works on i386/gcc only
+ AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")'
+
+-if HAVE_GTK2OR3
++if ENABLE_GTK_UTILS
+ if HAVE_GLIB
+ bin_PROGRAMS = \
+ avahi-discover-standalone
+--- avahi-ui/Makefile.am
++++ avahi-ui/Makefile.am
+@@ -76,6 +76,7 @@
+ libavahi_ui_gtk3_la_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
+ endif
+
++if ENABLE_GTK_UTILS
+ bin_PROGRAMS = bssh
+ desktop_DATA += bssh.desktop bvnc.desktop
+ @INTLTOOL_DESKTOP_RULE@
+@@ -102,6 +103,7 @@
+ bvnc.desktop.in: bvnc.desktop.in.in
+ $(AM_V_GEN)sed -e 's,@bindir\@,$(bindir),g' $< > $@
+
++endif # ENABLE_GTK_UTILS
+ endif # HAVE_GLIB
+ endif
+ endif
+--- configure.ac
++++ configure.ac
+@@ -564,7 +564,29 @@
+ fi
+ AM_CONDITIONAL(HAVE_GTK3, test "x$HAVE_GTK3" = "xyes")
+
+-AM_CONDITIONAL(HAVE_GTK2OR3, test "x$HAVE_GTK3" = "xyes" -o "x$HAVE_GTK" = "xyes" )
++#
++# Check for GTK+ Utils
++#
++AC_ARG_ENABLE(gtk-utils,
++ AS_HELP_STRING([--disable-gtk-utils],[Disable GTK+ utilities]),
++ [case "${enableval}" in
++ yes) WANT_GTK_UTILS=yes ;;
++ no) WANT_GTK_UTILS=no ;;
++ *) AC_MSG_ERROR(bad value ${enableval} for --enable-gtk-utils) ;;
++ esac],
++ [WANT_GTK_UTILS=yes])
++
++ENABLE_GTK_UTILS=no
++HAVE_GTK2OR3=no
++if test "x$HAVE_GTK3" = "xyes" -o "x$HAVE_GTK" = "xyes"; then
++ HAVE_GTK2OR3=yes
++ if test "x$WANT_GTK_UTILS" = "xyes"; then
++ ENABLE_GTK_UTILS=yes
++ fi
++fi
++
++AM_CONDITIONAL(HAVE_GTK2OR3, test "x$HAVE_GTK2OR3" = "xyes")
++AM_CONDITIONAL(ENABLE_GTK_UTILS, test "x$ENABLE_GTK_UTILS" = "xyes")
+
+ #
+ # D-Bus
+@@ -1199,11 +1221,6 @@
+ ENABLE_AUTOIPD="no (You need libdaemon!)"
+ fi
+
+-HAVE_GTK2OR3=no
+-if test "x$HAVE_GTK" = "xyes" -o "x$HAVE_GTK3" = "xyes" ; then
+- HAVE_GTK2OR3=yes
+-fi
+-
+ BUILD_UI="no"
+ if test "x$HAVE_GTK2OR3" = "xyes" -a "x$BUILD_CLIENT" = "xyes" ; then
+ BUILD_UI="yes"
+@@ -1223,7 +1240,7 @@
+ Building avahi-python: ${BUILD_PYTHON}
+ Building libavahi-glib: ${HAVE_GLIB}
+ Building libavahi-gobject: ${BUILD_GOBJECT}
+- Building avahi-discover-standalone: ${HAVE_GTK2OR3}
++ Building avahi-discover-standalone: ${ENABLE_GTK_UTILS}
+ Building libavahi-qt3: ${HAVE_QT3}
+ Building libavahi-qt4: ${HAVE_QT4}
+ Building avahi-sharp: ${HAVE_MONO}
diff --git a/net-dns/avahi-gtk3/files/avahi-0.6.30-parallel.patch b/net-dns/avahi-gtk3/files/avahi-0.6.30-parallel.patch
new file mode 100644
index 00000000..a75f9910
--- /dev/null
+++ b/net-dns/avahi-gtk3/files/avahi-0.6.30-parallel.patch
@@ -0,0 +1,34 @@
+From cb10a844f9e91322aca91340b7adc0db19c96b36 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@flameeyes.eu>
+Date: Mon, 30 Apr 2012 17:07:41 -0700
+Subject: [PATCH] build-sys: fix parallel install in avahi-utils
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+The moment install-exec-local is called, we might still not have
+created ${DESTDIR}/${bindir} so we should make sure to create it
+first, and then try to chdir into it.
+
+Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
+---
+ avahi-utils/Makefile.am | 3 ++-
+ 1 files changed, 2 insertions(+), 1 deletions(-)
+
+diff --git a/avahi-utils/Makefile.am b/avahi-utils/Makefile.am
+index a644b4a..1abc79a 100644
+--- a/avahi-utils/Makefile.am
++++ b/avahi-utils/Makefile.am
+@@ -54,7 +54,8 @@ avahi_set_host_name_CFLAGS = $(AM_CFLAGS)
+ avahi_set_host_name_LDADD = $(AM_LDADD) ../avahi-client/libavahi-client.la ../avahi-common/libavahi-common.la
+
+ install-exec-local:
+- cd $(DESTDIR)/$(bindir) && \
++ $(mkdir_p) $(DESTDIR)/$(bindir) && \
++ cd $(DESTDIR)/$(bindir) && \
+ rm -f avahi-resolve-host-name avahi-resolve-address avahi-browse-domains avahi-publish-address avahi-publish-service && \
+ $(LN_S) avahi-resolve avahi-resolve-host-name && \
+ $(LN_S) avahi-resolve avahi-resolve-address && \
+--
+1.7.8.6
+
diff --git a/net-dns/avahi-gtk3/files/avahi-0.6.31-build-client-without-daemon.patch b/net-dns/avahi-gtk3/files/avahi-0.6.31-build-client-without-daemon.patch
new file mode 100644
index 00000000..df0c420f
--- /dev/null
+++ b/net-dns/avahi-gtk3/files/avahi-0.6.31-build-client-without-daemon.patch
@@ -0,0 +1,27 @@
+From ce3b83de6aa689c0cefe0b1e85c03a627b537099 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
+Date: Mon, 12 May 2014 19:46:22 +0200
+Subject: [PATCH] Allow building client without the daemon.
+
+There's no good reason to disallow that, and that's what we specifically
+want to do for multilib.
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 0e190ba..c56cf01 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -1185,7 +1185,7 @@ fi
+
+ BUILD_CLIENT="no (You need avahi-daemon and D-Bus!)"
+
+-if test "x$BUILD_DAEMON" = "xyes" -a "x$HAVE_DBUS" = "xyes" ; then
++if "x$HAVE_DBUS" = "xyes" ; then
+ BUILD_CLIENT=yes
+ fi
+
+--
+1.9.3
+
diff --git a/net-dns/avahi-gtk3/files/avahi-0.6.31-fix-install-avahi-discover.patch b/net-dns/avahi-gtk3/files/avahi-0.6.31-fix-install-avahi-discover.patch
new file mode 100644
index 00000000..62ba967c
--- /dev/null
+++ b/net-dns/avahi-gtk3/files/avahi-0.6.31-fix-install-avahi-discover.patch
@@ -0,0 +1,31 @@
+--- avahi-0.6.30.old/avahi-python/avahi-discover/Makefile.am 2010-06-28 23:30:34.000000000 -0400
++++ avahi-0.6.30/avahi-python/avahi-discover/Makefile.am 2012-04-21 18:02:01.642934527 -0400
+@@ -22,6 +22,7 @@
+ avahi-discover.py \
+ avahi-discover.desktop.in.in
+
++if ENABLE_GTK_UTILS
+ if HAVE_PYTHON
+ if HAVE_PYTHON_DBUS
+ if HAVE_PYGTK
+@@ -67,3 +68,4 @@
+ endif
+ endif
+ endif
++endif
+--- avahi-0.6.30.old/man/Makefile.am 2012-04-21 18:10:45.690900742 -0400
++++ avahi-0.6.30/man/Makefile.am 2012-04-21 18:09:15.146906578 -0400
+@@ -65,11 +65,13 @@
+ man_MANS += \
+ avahi-bookmarks.1
+ if HAVE_GTK
++if ENABLE_GTK_UTILS
+ man_MANS += \
+ avahi-discover.1
+ endif
+ endif
+ endif
++endif
+
+ if ENABLE_AUTOIPD
+ if HAVE_LIBDAEMON
diff --git a/net-dns/avahi-gtk3/files/avahi-0.6.31-host-name-from-machine-id.patch b/net-dns/avahi-gtk3/files/avahi-0.6.31-host-name-from-machine-id.patch
new file mode 100644
index 00000000..17ecba52
--- /dev/null
+++ b/net-dns/avahi-gtk3/files/avahi-0.6.31-host-name-from-machine-id.patch
@@ -0,0 +1,85 @@
+From: David Zeuthen <zeuthen@chromium.org>
+Date: Tue, 5 Mar 2013 19:52:38 +0000 (-0800)
+Subject: avahi-daemon: add option "host-name-from-machine-id="
+X-Git-Url: http://git.0pointer.de/?p=avahi.git;a=commitdiff_plain;h=147cdce70b22ae7cee9fb4fe123db40952f31c9e
+
+avahi-daemon: add option "host-name-from-machine-id="
+
+Signed-off-by: David Zeuthen <zeuthen@chromium.org>
+---
+
+diff --git a/avahi-daemon/main.c b/avahi-daemon/main.c
+index d46f40a..8c28fd6 100644
+--- a/avahi-daemon/main.c
++++ b/avahi-daemon/main.c
+@@ -65,6 +65,7 @@
+ #include <avahi-core/publish.h>
+ #include <avahi-core/dns-srv-rr.h>
+ #include <avahi-core/log.h>
++#include <avahi-core/util.h>
+
+ #ifdef ENABLE_CHROOT
+ #include "chroot.h"
+@@ -576,6 +577,29 @@ static int parse_usec(const char *s, AvahiUsec *u) {
+ return 0;
+ }
+
++static char *get_machine_id(void) {
++ int fd;
++ char buf[32];
++
++ fd = open("/etc/machine-id", O_RDONLY|O_CLOEXEC|O_NOCTTY);
++ if (fd == -1 && errno == ENOENT)
++ fd = open("/var/lib/dbus/machine-id", O_RDONLY|O_CLOEXEC|O_NOCTTY);
++ if (fd == -1)
++ return NULL;
++
++ /* File is on a filesystem so we never get EINTR or partial reads */
++ if (read(fd, buf, sizeof buf) != sizeof buf) {
++ close(fd);
++ return NULL;
++ }
++ close(fd);
++
++ /* Contents can be lower, upper and even mixed case so normalize */
++ avahi_strdown(buf);
++
++ return avahi_strndup(buf, sizeof buf);
++}
++
+ static int load_config_file(DaemonConfig *c) {
+ int r = -1;
+ AvahiIniFile *f;
+@@ -631,6 +655,15 @@ static int load_config_file(DaemonConfig *c) {
+ c->server_config.use_iff_running = is_yes(p->value);
+ else if (strcasecmp(p->key, "disallow-other-stacks") == 0)
+ c->server_config.disallow_other_stacks = is_yes(p->value);
++ else if (strcasecmp(p->key, "host-name-from-machine-id") == 0) {
++ if (*(p->value) == 'y' || *(p->value) == 'Y') {
++ char *machine_id = get_machine_id();
++ if (machine_id != NULL) {
++ avahi_free(c->server_config.host_name);
++ c->server_config.host_name = machine_id;
++ }
++ }
++ }
+ #ifdef HAVE_DBUS
+ else if (strcasecmp(p->key, "enable-dbus") == 0) {
+
+diff --git a/man/avahi-daemon.conf.5.xml.in b/man/avahi-daemon.conf.5.xml.in
+index bea7ed5..2d15017 100644
+--- a/man/avahi-daemon.conf.5.xml.in
++++ b/man/avahi-daemon.conf.5.xml.in
+@@ -40,6 +40,12 @@
+ </option>
+
+ <option>
++ <p><opt>host-name-from-machine-id=</opt> Takes a boolean
++ value ("yes" or "no"). If set to "yes" avahi-daemon
++ will use the machine-id as name on the LAN.</p>
++ </option>
++
++ <option>
+ <p><opt>domain-name=</opt> Set the default domain name avahi-daemon
+ tries to register its host name and services on the LAN in. If
+ omitted defaults to ".local".</p>
diff --git a/net-dns/avahi-gtk3/files/avahi-0.6.31-install-exec-hook.patch b/net-dns/avahi-gtk3/files/avahi-0.6.31-install-exec-hook.patch
new file mode 100644
index 00000000..d9a7bc34
--- /dev/null
+++ b/net-dns/avahi-gtk3/files/avahi-0.6.31-install-exec-hook.patch
@@ -0,0 +1,11 @@
+--- avahi-0.6.31/avahi-utils/Makefile.am
++++ avahi-0.6.31/avahi-utils/Makefile.am
+@@ -53,7 +53,7 @@
+ avahi_set_host_name_CFLAGS = $(AM_CFLAGS)
+ avahi_set_host_name_LDADD = $(AM_LDADD) ../avahi-client/libavahi-client.la ../avahi-common/libavahi-common.la
+
+-install-exec-local:
++install-exec-hook:
+ cd $(DESTDIR)/$(bindir) && \
+ rm -f avahi-resolve-host-name avahi-resolve-address avahi-browse-domains avahi-publish-address avahi-publish-service && \
+ $(LN_S) avahi-resolve avahi-resolve-host-name && \
diff --git a/net-dns/avahi-gtk3/files/avahi-0.6.31-so_reuseport-may-not-exist-in-running-kernel.patch b/net-dns/avahi-gtk3/files/avahi-0.6.31-so_reuseport-may-not-exist-in-running-kernel.patch
new file mode 100644
index 00000000..9c23ca5e
--- /dev/null
+++ b/net-dns/avahi-gtk3/files/avahi-0.6.31-so_reuseport-may-not-exist-in-running-kernel.patch
@@ -0,0 +1,30 @@
+https://bugs.gentoo.org/484212
+
+Description: SO_REUSEPORT may not exist in running kernel
+ When userspace defines SO_REUSEPORT we will attempt to enable socket
+ port number reuse. However if the running kernel does not support
+ this call it will fail preventing daemon startup. If this call is
+ present but fails ENOPROTOOPT then we know that actually the kernel
+ does not support it and we should continue as if we did not have the
+ call at all. (LP: #1228204)
+ .
+ This patch could be removed from the debian package after jessie release.
+Author: Andy Whitcroft <apw@canonical.com>
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/1228204
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732009
+Last-Update: 2013-09-20
+
+Index: avahi-0.6.31/avahi-core/socket.c
+===================================================================
+--- avahi-0.6.31.orig/avahi-core/socket.c 2013-09-20 16:36:50.000000000 +0100
++++ avahi-0.6.31/avahi-core/socket.c 2013-09-20 16:38:23.781863644 +0100
+@@ -177,7 +177,8 @@
+ yes = 1;
+ if (setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &yes, sizeof(yes)) < 0) {
+ avahi_log_warn("SO_REUSEPORT failed: %s", strerror(errno));
+- return -1;
++ if (errno != ENOPROTOOPT)
++ return -1;
+ }
+ #endif
+
diff --git a/net-dns/avahi-gtk3/files/avahi-0.6.x-openrc-0.9.x-init-scripts-fixes.patch b/net-dns/avahi-gtk3/files/avahi-0.6.x-openrc-0.9.x-init-scripts-fixes.patch
new file mode 100644
index 00000000..394f6d34
--- /dev/null
+++ b/net-dns/avahi-gtk3/files/avahi-0.6.x-openrc-0.9.x-init-scripts-fixes.patch
@@ -0,0 +1,22 @@
+--- avahi-0.6.30/initscript/gentoo/avahi-daemon.in
++++ avahi-0.6.30/initscript/gentoo/avahi-daemon.in
+@@ -2,7 +2,7 @@
+ # Copyright 1999-2007 Gentoo Foundation
+ # Distributed under the terms of the GNU General Public License v2
+
+-opts="reload"
++extra_started_commands="reload"
+
+ depend() {
+ before netmount nfsmount
+--- avahi-0.6.30/initscript/gentoo/avahi-dnsconfd.in
++++ avahi-0.6.30/initscript/gentoo/avahi-dnsconfd.in
+@@ -2,7 +2,7 @@
+ # Copyright 1999-2007 Gentoo Foundation
+ # Distributed under the terms of the GNU General Public License v2
+
+-opts="reload"
++extra_started_commands="reload"
+
+ depend() {
+ need avahi-daemon
diff --git a/net-dns/avahi-gtk3/metadata.xml b/net-dns/avahi-gtk3/metadata.xml
new file mode 100644
index 00000000..2c673780
--- /dev/null
+++ b/net-dns/avahi-gtk3/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>lxnay@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/net-dns/avahi-mono/Manifest b/net-dns/avahi-mono/Manifest
new file mode 100644
index 00000000..0206eaaa
--- /dev/null
+++ b/net-dns/avahi-mono/Manifest
@@ -0,0 +1 @@
+DIST avahi-0.6.31.tar.gz 1268686 SHA256 8372719b24e2dd75de6f59bb1315e600db4fd092805bd1201ed0cb651a2dab48 SHA512 53eb00d570a274d841e1e6ad07da077950089ae39b4f7aa21fcd21cc5320b30b506b43e7e57e56198e155cc7bd289b779a48b2b2fc002dc6194a946110451858 WHIRLPOOL a6d97b87dfbb81be359ee03d8f32ebafdbb311bd596d686aeb55a2952ecb6c7c84466b1230e70392ffe23a20a56da7e0a5bd00c8dc1812b2156c0b4a8022144f
diff --git a/net-dns/avahi-mono/avahi-mono-0.6.31-r1.ebuild b/net-dns/avahi-mono/avahi-mono-0.6.31-r1.ebuild
new file mode 100644
index 00000000..c9d02bab
--- /dev/null
+++ b/net-dns/avahi-mono/avahi-mono-0.6.31-r1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2013 Sabayon
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+
+IUSE="doc gtk"
+COMMON_DEPEND="=net-dns/avahi-base-${PVR}[dbus]
+ >=dev-lang/mono-1.1.10
+ gtk? (
+ =net-dns/avahi-gtk-${PVR}
+ >=dev-dotnet/gtk-sharp-2
+ )"
+AVAHI_MODULE_DEPEND="${COMMON_DEPEND}
+ doc? ( >=virtual/monodoc-1.1.8 )"
+AVAHI_MODULE_RDEPEND="${COMMON_DEPEND}"
+
+WANT_AUTOMAKE=1.11
+AVAHI_PATCHES=(
+ # Fix init scripts for >=openrc-0.9.0 (bug #383641)
+ "${FILESDIR}/avahi-0.6.x-openrc-0.9.x-init-scripts-fixes.patch"
+ # install-exec-local -> install-exec-hook
+ "${FILESDIR}"/${P/-mono}-install-exec-hook.patch
+ # Backport host-name-from-machine-id patch, bug #466134
+ "${FILESDIR}"/${P/-mono}-host-name-from-machine-id.patch
+)
+inherit eutils avahi
+
+src_configure() {
+ local myconf="--enable-mono --enable-dbus"
+ myconf+=" $(use_enable doc monodoc)"
+ avahi_src_configure "${myconf}"
+}
+
+src_compile() {
+ for target in avahi-common avahi-client avahi-glib avahi-sharp; do
+ cd "${S}"/${target} || die
+ emake || die
+ done
+ cd "${S}" || die
+ emake avahi-sharp.pc || die
+ if use gtk; then
+ cd "${S}"/avahi-ui-sharp || die
+ emake || die
+ cd "${S}" || die
+ emake avahi-ui-sharp.pc || die
+ fi
+}
+
+src_install() {
+ cd "${S}"/avahi-sharp || die
+ emake install DESTDIR="${ED}" || die
+ if use gtk; then
+ cd "${S}"/avahi-ui-sharp || die
+ emake install DESTDIR="${ED}" || die
+ fi
+ cd "${S}" || die
+ dodir /usr/$(get_libdir)/pkgconfig
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins *.pc
+
+ avahi_src_install-cleanup
+}
diff --git a/net-dns/avahi-mono/avahi-mono-0.6.31-r5.ebuild b/net-dns/avahi-mono/avahi-mono-0.6.31-r5.ebuild
new file mode 100644
index 00000000..17d9c1f7
--- /dev/null
+++ b/net-dns/avahi-mono/avahi-mono-0.6.31-r5.ebuild
@@ -0,0 +1,170 @@
+# Copyright 1999-2014 Sabayon
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+AVAHI_MODULE="${AVAHI_MODULE:-${PN/avahi-}}"
+MY_P=${P/-${AVAHI_MODULE}}
+MY_PN=${PN/-${AVAHI_MODULE}}
+
+WANT_AUTOMAKE=1.11
+
+PYTHON_COMPAT=( python{2_6,2_7} )
+PYTHON_REQ_USE="gdbm"
+
+inherit autotools eutils flag-o-matic multilib multilib-minimal \
+ python-r1 systemd user
+
+DESCRIPTION="System which facilitates service discovery on a local network (mono pkg)"
+HOMEPAGE="http://avahi.org/"
+SRC_URI="http://avahi.org/download/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-linux"
+IUSE="dbus doc gdbm gtk introspection nls python utils"
+
+S="${WORKDIR}/${MY_P}"
+
+COMMON_DEPEND="
+ ~net-dns/avahi-base-${PV}[dbus=,gdbm=,introspection=,nls=,python=,${MULTILIB_USEDEP}]
+ gtk? (
+ ~net-dns/avahi-gtk-${PV}[dbus=,gdbm=,introspection=,nls=,python=,${MULTILIB_USEDEP}]
+ >=dev-dotnet/gtk-sharp-2
+ )
+"
+
+DEPEND="${COMMON_DEPEND}
+ doc? ( >=virtual/monodoc-1.1.8 )"
+RDEPEND="${COMMON_DEPEND}"
+
+pkg_setup() {
+ mono-env_pkg_setup
+}
+
+src_prepare() {
+ # Make gtk utils optional
+ epatch "${FILESDIR}"/${MY_PN}-0.6.30-optional-gtk-utils.patch
+
+ # Fix init scripts for >=openrc-0.9.0, bug #383641
+ epatch "${FILESDIR}"/${MY_PN}-0.6.x-openrc-0.9.x-init-scripts-fixes.patch
+
+ # install-exec-local -> install-exec-hook
+ epatch "${FILESDIR}"/${MY_P}-install-exec-hook.patch
+
+ # Backport host-name-from-machine-id patch, bug #466134
+ epatch "${FILESDIR}"/${MY_P}-host-name-from-machine-id.patch
+
+ # Don't install avahi-discover unless ENABLE_GTK_UTILS, bug #359575
+ epatch "${FILESDIR}"/${MY_P}-fix-install-avahi-discover.patch
+
+ epatch "${FILESDIR}"/${MY_P}-so_reuseport-may-not-exist-in-running-kernel.patch
+
+ # allow building client without the daemon
+ epatch "${FILESDIR}"/${MY_P}-build-client-without-daemon.patch
+
+ # Drop DEPRECATED flags, bug #384743
+ sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED=1::g' avahi-ui/Makefile.am || die
+
+ # Fix references to Lennart's home directory, bug #466210
+ sed -i -e 's/\/home\/lennart\/tmp\/avahi//g' man/* || die
+
+ # Prevent .pyc files in DESTDIR
+ >py-compile
+
+ eautoreconf
+
+ # bundled manpages
+ multilib_copy_sources
+}
+
+src_configure() {
+ # those steps should be done once-per-ebuild rather than per-ABI
+ use sh && replace-flags -O? -O0
+
+ # We need to unset DISPLAY, else the configure script might have problems detecting the pygtk module
+ unset DISPLAY
+
+ multilib-minimal_src_configure
+}
+
+multilib_src_configure() {
+ local myconf=( --disable-static )
+
+ if ! multilib_is_native_abi; then
+ myconf+=(
+ # used by daemons only
+ --disable-libdaemon
+ --with-xml=none
+ )
+ fi
+
+ if use python; then
+ myconf+=(
+ $(multilib_native_use_enable dbus python-dbus)
+ )
+ fi
+
+ econf \
+ --localstatedir="${EPREFIX}/var" \
+ --with-distro=gentoo \
+ --disable-python-dbus \
+ --disable-xmltoman \
+ --disable-monodoc \
+ --disable-pygtk \
+ --enable-glib \
+ --enable-gobject \
+ $(use_enable dbus) \
+ $(multilib_native_use_enable python) \
+ $(use_enable nls) \
+ $(multilib_native_use_enable introspection) \
+ --disable-qt3 \
+ --disable-qt4 \
+ --disable-gtk --disable-gtk-utils \
+ --disable-gtk3 \
+ $(multilib_is_native_abi && echo -n --enable-mono || echo -n --disable-mono) \
+ $(multilib_is_native_abi && echo -n --enable-monodoc || echo -n --disable-monodoc) \
+ $(use_enable gdbm) \
+ $(systemd_with_unitdir) \
+ "${myconf[@]}"
+}
+
+multilib_src_compile() {
+ if multilib_is_native_abi; then
+ for target in avahi-common avahi-client avahi-glib avahi-sharp; do
+ cd "${BUILD_DIR}"/${target} || die
+ emake || die
+ done
+ cd "${BUILD_DIR}" || die
+ emake avahi-sharp.pc || die
+
+ if use gtk; then
+ cd "${BUILD_DIR}"/avahi-ui-sharp || die
+ emake || die
+ cd "${BUILD_DIR}" || die
+ emake avahi-ui-sharp.pc || die
+ fi
+ fi
+}
+
+multilib_src_install() {
+ mkdir -p "${D}/usr/bin" || die
+
+ if multilib_is_native_abi; then
+ cd "${BUILD_DIR}"/avahi-sharp || die
+ emake install DESTDIR="${D}" || die
+ if use gtk; then
+ cd "${BUILD_DIR}"/avahi-ui-sharp || die
+ emake install DESTDIR="${D}" || die
+ fi
+ cd "${BUILD_DIR}" || die
+ dodir /usr/$(get_libdir)/pkgconfig
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins *.pc
+ fi
+}
+
+multilib_src_install_all() {
+ prune_libtool_files --all
+}
diff --git a/net-dns/avahi-mono/avahi-mono-0.6.31-r6.ebuild b/net-dns/avahi-mono/avahi-mono-0.6.31-r6.ebuild
new file mode 100644
index 00000000..ce71e88e
--- /dev/null
+++ b/net-dns/avahi-mono/avahi-mono-0.6.31-r6.ebuild
@@ -0,0 +1,170 @@
+# Copyright 1999-2014 Sabayon
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+AVAHI_MODULE="${AVAHI_MODULE:-${PN/avahi-}}"
+MY_P=${P/-${AVAHI_MODULE}}
+MY_PN=${PN/-${AVAHI_MODULE}}
+
+WANT_AUTOMAKE=1.11
+
+PYTHON_COMPAT=( python{2_6,2_7} )
+PYTHON_REQ_USE="gdbm"
+
+inherit autotools eutils flag-o-matic multilib multilib-minimal \
+ python-r1 systemd user mono-env
+
+DESCRIPTION="System which facilitates service discovery on a local network (mono pkg)"
+HOMEPAGE="http://avahi.org/"
+SRC_URI="http://avahi.org/download/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-linux"
+IUSE="dbus doc gdbm gtk introspection nls python utils"
+
+S="${WORKDIR}/${MY_P}"
+
+COMMON_DEPEND="
+ ~net-dns/avahi-base-${PV}[dbus=,gdbm=,introspection=,nls=,python=,${MULTILIB_USEDEP}]
+ gtk? (
+ ~net-dns/avahi-gtk-${PV}[dbus=,gdbm=,introspection=,nls=,python=,${MULTILIB_USEDEP}]
+ >=dev-dotnet/gtk-sharp-2
+ )
+"
+
+DEPEND="${COMMON_DEPEND}
+ doc? ( >=virtual/monodoc-1.1.8 )"
+RDEPEND="${COMMON_DEPEND}"
+
+pkg_setup() {
+ mono-env_pkg_setup
+}
+
+src_prepare() {
+ # Make gtk utils optional
+ epatch "${FILESDIR}"/${MY_PN}-0.6.30-optional-gtk-utils.patch
+
+ # Fix init scripts for >=openrc-0.9.0, bug #383641
+ epatch "${FILESDIR}"/${MY_PN}-0.6.x-openrc-0.9.x-init-scripts-fixes.patch
+
+ # install-exec-local -> install-exec-hook
+ epatch "${FILESDIR}"/${MY_P}-install-exec-hook.patch
+
+ # Backport host-name-from-machine-id patch, bug #466134
+ epatch "${FILESDIR}"/${MY_P}-host-name-from-machine-id.patch
+
+ # Don't install avahi-discover unless ENABLE_GTK_UTILS, bug #359575
+ epatch "${FILESDIR}"/${MY_P}-fix-install-avahi-discover.patch
+
+ epatch "${FILESDIR}"/${MY_P}-so_reuseport-may-not-exist-in-running-kernel.patch
+
+ # allow building client without the daemon
+ epatch "${FILESDIR}"/${MY_P}-build-client-without-daemon.patch
+
+ # Drop DEPRECATED flags, bug #384743
+ sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED=1::g' avahi-ui/Makefile.am || die
+
+ # Fix references to Lennart's home directory, bug #466210
+ sed -i -e 's/\/home\/lennart\/tmp\/avahi//g' man/* || die
+
+ # Prevent .pyc files in DESTDIR
+ >py-compile
+
+ eautoreconf
+
+ # bundled manpages
+ multilib_copy_sources
+}
+
+src_configure() {
+ # those steps should be done once-per-ebuild rather than per-ABI
+ use sh && replace-flags -O? -O0
+
+ # We need to unset DISPLAY, else the configure script might have problems detecting the pygtk module
+ unset DISPLAY
+
+ multilib-minimal_src_configure
+}
+
+multilib_src_configure() {
+ local myconf=( --disable-static )
+
+ if ! multilib_is_native_abi; then
+ myconf+=(
+ # used by daemons only
+ --disable-libdaemon
+ --with-xml=none
+ )
+ fi
+
+ if use python; then
+ myconf+=(
+ $(multilib_native_use_enable dbus python-dbus)
+ )
+ fi
+
+ econf \
+ --localstatedir="${EPREFIX}/var" \
+ --with-distro=gentoo \
+ --disable-python-dbus \
+ --disable-xmltoman \
+ --disable-monodoc \
+ --disable-pygtk \
+ --enable-glib \
+ --enable-gobject \
+ $(use_enable dbus) \
+ $(multilib_native_use_enable python) \
+ $(use_enable nls) \
+ $(multilib_native_use_enable introspection) \
+ --disable-qt3 \
+ --disable-qt4 \
+ --disable-gtk --disable-gtk-utils \
+ --disable-gtk3 \
+ $(multilib_is_native_abi && echo -n --enable-mono || echo -n --disable-mono) \
+ $(multilib_is_native_abi && echo -n --enable-monodoc || echo -n --disable-monodoc) \
+ $(use_enable gdbm) \
+ $(systemd_with_unitdir) \
+ "${myconf[@]}"
+}
+
+multilib_src_compile() {
+ if multilib_is_native_abi; then
+ for target in avahi-common avahi-client avahi-glib avahi-sharp; do
+ cd "${BUILD_DIR}"/${target} || die
+ emake || die
+ done
+ cd "${BUILD_DIR}" || die
+ emake avahi-sharp.pc || die
+
+ if use gtk; then
+ cd "${BUILD_DIR}"/avahi-ui-sharp || die
+ emake || die
+ cd "${BUILD_DIR}" || die
+ emake avahi-ui-sharp.pc || die
+ fi
+ fi
+}
+
+multilib_src_install() {
+ mkdir -p "${D}/usr/bin" || die
+
+ if multilib_is_native_abi; then
+ cd "${BUILD_DIR}"/avahi-sharp || die
+ emake install DESTDIR="${D}" || die
+ if use gtk; then
+ cd "${BUILD_DIR}"/avahi-ui-sharp || die
+ emake install DESTDIR="${D}" || die
+ fi
+ cd "${BUILD_DIR}" || die
+ dodir /usr/$(get_libdir)/pkgconfig
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins *.pc
+ fi
+}
+
+multilib_src_install_all() {
+ prune_libtool_files --all
+}
diff --git a/net-dns/avahi-mono/files/avahi-0.6.30-automake-1.11.2.patch b/net-dns/avahi-mono/files/avahi-0.6.30-automake-1.11.2.patch
new file mode 100644
index 00000000..be385f6c
--- /dev/null
+++ b/net-dns/avahi-mono/files/avahi-0.6.30-automake-1.11.2.patch
@@ -0,0 +1,102 @@
+http://bugs.gentoo.org/397477
+
+--- avahi-python/avahi/Makefile.am
++++ avahi-python/avahi/Makefile.am
+@@ -31,7 +31,7 @@
+ -e 's,@FIRST_KEY\@,key = self.db.firstkey(),g' \
+ -e 's,@CHECK_KEY\@,while key is not None:,g' \
+ -e 's,@NEXT_KEY\@,key = self.db.nextkey(key),g' \
+- -e 's,@pkglibdir\@,$(pkglibdir),g' $< > $@ && \
++ -e 's,@pkgdatadir\@,$(pkgdatadir),g' $< > $@ && \
+ chmod +x $@
+ endif
+
+@@ -44,7 +44,7 @@
+ -e 's,@FIRST_KEY\@,keys = self.db.keys(),g' \
+ -e 's,@CHECK_KEY\@,for key in keys:,g' \
+ -e 's,@NEXT_KEY\@,,g' \
+- -e 's,@pkglibdir\@,$(pkglibdir),g' $< > $@ && \
++ -e 's,@pkgdatadir\@,$(pkgdatadir),g' $< > $@ && \
+ chmod +x $@
+ endif
+
+--- avahi-python/avahi/ServiceTypeDatabase.py.in
++++ avahi-python/avahi/ServiceTypeDatabase.py.in
+@@ -26,7 +26,7 @@
+ class ServiceTypeDatabase:
+ """ServiceTypeDatabase maps service types to descriptions"""
+
+- def __init__(self, filename = "@pkglibdir@/service-types.db"):
++ def __init__(self, filename = "@pkgdatadir@/service-types.db"):
+
+ self.db = @DBM@.open(filename, "r")
+
+--- avahi-ui/Makefile.am
++++ avahi-ui/Makefile.am
+@@ -62,18 +62,18 @@
+
+ if HAVE_GDBM
+ libavahi_ui_la_SOURCES += ../avahi-utils/stdb.h ../avahi-utils/stdb.c
+-libavahi_ui_la_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
++libavahi_ui_la_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+ libavahi_ui_la_LIBADD += -lgdbm
+
+-libavahi_ui_gtk3_la_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
++libavahi_ui_gtk3_la_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+ libavahi_ui_gtk3_la_LIBADD += -lgdbm
+ endif
+
+ if HAVE_DBM
+ libavahi_ui_la_SOURCES += ../avahi-utils/stdb.h ../avahi-utils/stdb.c
+-libavahi_ui_la_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
++libavahi_ui_la_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+
+-libavahi_ui_gtk3_la_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
++libavahi_ui_gtk3_la_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+ endif
+
+ bin_PROGRAMS = bssh
+--- avahi-utils/Makefile.am
++++ avahi-utils/Makefile.am
+@@ -30,13 +30,13 @@
+
+ if HAVE_GDBM
+ avahi_browse_SOURCES += stdb.h stdb.c
+-avahi_browse_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
++avahi_browse_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+ avahi_browse_LDADD += -lgdbm
+ endif
+
+ if HAVE_DBM
+ avahi_browse_SOURCES += stdb.h stdb.c
+-avahi_browse_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
++avahi_browse_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+ endif
+
+ avahi_resolve_SOURCES = avahi-resolve.c sigint.c sigint.h
+--- service-type-database/Makefile.am
++++ service-type-database/Makefile.am
+@@ -18,13 +18,12 @@
+ EXTRA_DIST=build-db.in service-types
+
+ pkgdata_DATA=service-types
+-pkglib_DATA=
+
+ if HAVE_PYTHON
+ if HAVE_GDBM
+
+ noinst_SCRIPTS=build-db
+-pkglib_DATA+=service-types.db
++pkgdata_DATA+=service-types.db
+
+ build-db: build-db.in
+ $(AM_V_GEN)sed -e 's,@PYTHON\@,$(PYTHON),g' \
+@@ -41,7 +40,7 @@
+ if HAVE_DBM
+
+ noinst_SCRIPTS=build-db
+-pkglib_DATA+=service-types.db.pag service-types.db.dir
++pkgdata_DATA+=service-types.db.pag service-types.db.dir
+
+ build-db: build-db.in
+ $(AM_V_GEN)sed -e 's,@PYTHON\@,$(PYTHON),g' \
diff --git a/net-dns/avahi-mono/files/avahi-0.6.30-optional-gtk-utils.patch b/net-dns/avahi-mono/files/avahi-0.6.30-optional-gtk-utils.patch
new file mode 100644
index 00000000..2c615a2b
--- /dev/null
+++ b/net-dns/avahi-mono/files/avahi-0.6.30-optional-gtk-utils.patch
@@ -0,0 +1,83 @@
+--- avahi-discover-standalone/Makefile.am
++++ avahi-discover-standalone/Makefile.am
+@@ -23,7 +23,7 @@
+ # This cool debug trap works on i386/gcc only
+ AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")'
+
+-if HAVE_GTK2OR3
++if ENABLE_GTK_UTILS
+ if HAVE_GLIB
+ bin_PROGRAMS = \
+ avahi-discover-standalone
+--- avahi-ui/Makefile.am
++++ avahi-ui/Makefile.am
+@@ -76,6 +76,7 @@
+ libavahi_ui_gtk3_la_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
+ endif
+
++if ENABLE_GTK_UTILS
+ bin_PROGRAMS = bssh
+ desktop_DATA += bssh.desktop bvnc.desktop
+ @INTLTOOL_DESKTOP_RULE@
+@@ -102,6 +103,7 @@
+ bvnc.desktop.in: bvnc.desktop.in.in
+ $(AM_V_GEN)sed -e 's,@bindir\@,$(bindir),g' $< > $@
+
++endif # ENABLE_GTK_UTILS
+ endif # HAVE_GLIB
+ endif
+ endif
+--- configure.ac
++++ configure.ac
+@@ -564,7 +564,29 @@
+ fi
+ AM_CONDITIONAL(HAVE_GTK3, test "x$HAVE_GTK3" = "xyes")
+
+-AM_CONDITIONAL(HAVE_GTK2OR3, test "x$HAVE_GTK3" = "xyes" -o "x$HAVE_GTK" = "xyes" )
++#
++# Check for GTK+ Utils
++#
++AC_ARG_ENABLE(gtk-utils,
++ AS_HELP_STRING([--disable-gtk-utils],[Disable GTK+ utilities]),
++ [case "${enableval}" in
++ yes) WANT_GTK_UTILS=yes ;;
++ no) WANT_GTK_UTILS=no ;;
++ *) AC_MSG_ERROR(bad value ${enableval} for --enable-gtk-utils) ;;
++ esac],
++ [WANT_GTK_UTILS=yes])
++
++ENABLE_GTK_UTILS=no
++HAVE_GTK2OR3=no
++if test "x$HAVE_GTK3" = "xyes" -o "x$HAVE_GTK" = "xyes"; then
++ HAVE_GTK2OR3=yes
++ if test "x$WANT_GTK_UTILS" = "xyes"; then
++ ENABLE_GTK_UTILS=yes
++ fi
++fi
++
++AM_CONDITIONAL(HAVE_GTK2OR3, test "x$HAVE_GTK2OR3" = "xyes")
++AM_CONDITIONAL(ENABLE_GTK_UTILS, test "x$ENABLE_GTK_UTILS" = "xyes")
+
+ #
+ # D-Bus
+@@ -1199,11 +1221,6 @@
+ ENABLE_AUTOIPD="no (You need libdaemon!)"
+ fi
+
+-HAVE_GTK2OR3=no
+-if test "x$HAVE_GTK" = "xyes" -o "x$HAVE_GTK3" = "xyes" ; then
+- HAVE_GTK2OR3=yes
+-fi
+-
+ BUILD_UI="no"
+ if test "x$HAVE_GTK2OR3" = "xyes" -a "x$BUILD_CLIENT" = "xyes" ; then
+ BUILD_UI="yes"
+@@ -1223,7 +1240,7 @@
+ Building avahi-python: ${BUILD_PYTHON}
+ Building libavahi-glib: ${HAVE_GLIB}
+ Building libavahi-gobject: ${BUILD_GOBJECT}
+- Building avahi-discover-standalone: ${HAVE_GTK2OR3}
++ Building avahi-discover-standalone: ${ENABLE_GTK_UTILS}
+ Building libavahi-qt3: ${HAVE_QT3}
+ Building libavahi-qt4: ${HAVE_QT4}
+ Building avahi-sharp: ${HAVE_MONO}
diff --git a/net-dns/avahi-mono/files/avahi-0.6.30-parallel.patch b/net-dns/avahi-mono/files/avahi-0.6.30-parallel.patch
new file mode 100644
index 00000000..a75f9910
--- /dev/null
+++ b/net-dns/avahi-mono/files/avahi-0.6.30-parallel.patch
@@ -0,0 +1,34 @@
+From cb10a844f9e91322aca91340b7adc0db19c96b36 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@flameeyes.eu>
+Date: Mon, 30 Apr 2012 17:07:41 -0700
+Subject: [PATCH] build-sys: fix parallel install in avahi-utils
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+The moment install-exec-local is called, we might still not have
+created ${DESTDIR}/${bindir} so we should make sure to create it
+first, and then try to chdir into it.
+
+Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
+---
+ avahi-utils/Makefile.am | 3 ++-
+ 1 files changed, 2 insertions(+), 1 deletions(-)
+
+diff --git a/avahi-utils/Makefile.am b/avahi-utils/Makefile.am
+index a644b4a..1abc79a 100644
+--- a/avahi-utils/Makefile.am
++++ b/avahi-utils/Makefile.am
+@@ -54,7 +54,8 @@ avahi_set_host_name_CFLAGS = $(AM_CFLAGS)
+ avahi_set_host_name_LDADD = $(AM_LDADD) ../avahi-client/libavahi-client.la ../avahi-common/libavahi-common.la
+
+ install-exec-local:
+- cd $(DESTDIR)/$(bindir) && \
++ $(mkdir_p) $(DESTDIR)/$(bindir) && \
++ cd $(DESTDIR)/$(bindir) && \
+ rm -f avahi-resolve-host-name avahi-resolve-address avahi-browse-domains avahi-publish-address avahi-publish-service && \
+ $(LN_S) avahi-resolve avahi-resolve-host-name && \
+ $(LN_S) avahi-resolve avahi-resolve-address && \
+--
+1.7.8.6
+
diff --git a/net-dns/avahi-mono/files/avahi-0.6.31-build-client-without-daemon.patch b/net-dns/avahi-mono/files/avahi-0.6.31-build-client-without-daemon.patch
new file mode 100644
index 00000000..df0c420f
--- /dev/null
+++ b/net-dns/avahi-mono/files/avahi-0.6.31-build-client-without-daemon.patch
@@ -0,0 +1,27 @@
+From ce3b83de6aa689c0cefe0b1e85c03a627b537099 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
+Date: Mon, 12 May 2014 19:46:22 +0200
+Subject: [PATCH] Allow building client without the daemon.
+
+There's no good reason to disallow that, and that's what we specifically
+want to do for multilib.
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 0e190ba..c56cf01 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -1185,7 +1185,7 @@ fi
+
+ BUILD_CLIENT="no (You need avahi-daemon and D-Bus!)"
+
+-if test "x$BUILD_DAEMON" = "xyes" -a "x$HAVE_DBUS" = "xyes" ; then
++if "x$HAVE_DBUS" = "xyes" ; then
+ BUILD_CLIENT=yes
+ fi
+
+--
+1.9.3
+
diff --git a/net-dns/avahi-mono/files/avahi-0.6.31-fix-install-avahi-discover.patch b/net-dns/avahi-mono/files/avahi-0.6.31-fix-install-avahi-discover.patch
new file mode 100644
index 00000000..62ba967c
--- /dev/null
+++ b/net-dns/avahi-mono/files/avahi-0.6.31-fix-install-avahi-discover.patch
@@ -0,0 +1,31 @@
+--- avahi-0.6.30.old/avahi-python/avahi-discover/Makefile.am 2010-06-28 23:30:34.000000000 -0400
++++ avahi-0.6.30/avahi-python/avahi-discover/Makefile.am 2012-04-21 18:02:01.642934527 -0400
+@@ -22,6 +22,7 @@
+ avahi-discover.py \
+ avahi-discover.desktop.in.in
+
++if ENABLE_GTK_UTILS
+ if HAVE_PYTHON
+ if HAVE_PYTHON_DBUS
+ if HAVE_PYGTK
+@@ -67,3 +68,4 @@
+ endif
+ endif
+ endif
++endif
+--- avahi-0.6.30.old/man/Makefile.am 2012-04-21 18:10:45.690900742 -0400
++++ avahi-0.6.30/man/Makefile.am 2012-04-21 18:09:15.146906578 -0400
+@@ -65,11 +65,13 @@
+ man_MANS += \
+ avahi-bookmarks.1
+ if HAVE_GTK
++if ENABLE_GTK_UTILS
+ man_MANS += \
+ avahi-discover.1
+ endif
+ endif
+ endif
++endif
+
+ if ENABLE_AUTOIPD
+ if HAVE_LIBDAEMON
diff --git a/net-dns/avahi-mono/files/avahi-0.6.31-host-name-from-machine-id.patch b/net-dns/avahi-mono/files/avahi-0.6.31-host-name-from-machine-id.patch
new file mode 100644
index 00000000..17ecba52
--- /dev/null
+++ b/net-dns/avahi-mono/files/avahi-0.6.31-host-name-from-machine-id.patch
@@ -0,0 +1,85 @@
+From: David Zeuthen <zeuthen@chromium.org>
+Date: Tue, 5 Mar 2013 19:52:38 +0000 (-0800)
+Subject: avahi-daemon: add option "host-name-from-machine-id="
+X-Git-Url: http://git.0pointer.de/?p=avahi.git;a=commitdiff_plain;h=147cdce70b22ae7cee9fb4fe123db40952f31c9e
+
+avahi-daemon: add option "host-name-from-machine-id="
+
+Signed-off-by: David Zeuthen <zeuthen@chromium.org>
+---
+
+diff --git a/avahi-daemon/main.c b/avahi-daemon/main.c
+index d46f40a..8c28fd6 100644
+--- a/avahi-daemon/main.c
++++ b/avahi-daemon/main.c
+@@ -65,6 +65,7 @@
+ #include <avahi-core/publish.h>
+ #include <avahi-core/dns-srv-rr.h>
+ #include <avahi-core/log.h>
++#include <avahi-core/util.h>
+
+ #ifdef ENABLE_CHROOT
+ #include "chroot.h"
+@@ -576,6 +577,29 @@ static int parse_usec(const char *s, AvahiUsec *u) {
+ return 0;
+ }
+
++static char *get_machine_id(void) {
++ int fd;
++ char buf[32];
++
++ fd = open("/etc/machine-id", O_RDONLY|O_CLOEXEC|O_NOCTTY);
++ if (fd == -1 && errno == ENOENT)
++ fd = open("/var/lib/dbus/machine-id", O_RDONLY|O_CLOEXEC|O_NOCTTY);
++ if (fd == -1)
++ return NULL;
++
++ /* File is on a filesystem so we never get EINTR or partial reads */
++ if (read(fd, buf, sizeof buf) != sizeof buf) {
++ close(fd);
++ return NULL;
++ }
++ close(fd);
++
++ /* Contents can be lower, upper and even mixed case so normalize */
++ avahi_strdown(buf);
++
++ return avahi_strndup(buf, sizeof buf);
++}
++
+ static int load_config_file(DaemonConfig *c) {
+ int r = -1;
+ AvahiIniFile *f;
+@@ -631,6 +655,15 @@ static int load_config_file(DaemonConfig *c) {
+ c->server_config.use_iff_running = is_yes(p->value);
+ else if (strcasecmp(p->key, "disallow-other-stacks") == 0)
+ c->server_config.disallow_other_stacks = is_yes(p->value);
++ else if (strcasecmp(p->key, "host-name-from-machine-id") == 0) {
++ if (*(p->value) == 'y' || *(p->value) == 'Y') {
++ char *machine_id = get_machine_id();
++ if (machine_id != NULL) {
++ avahi_free(c->server_config.host_name);
++ c->server_config.host_name = machine_id;
++ }
++ }
++ }
+ #ifdef HAVE_DBUS
+ else if (strcasecmp(p->key, "enable-dbus") == 0) {
+
+diff --git a/man/avahi-daemon.conf.5.xml.in b/man/avahi-daemon.conf.5.xml.in
+index bea7ed5..2d15017 100644
+--- a/man/avahi-daemon.conf.5.xml.in
++++ b/man/avahi-daemon.conf.5.xml.in
+@@ -40,6 +40,12 @@
+ </option>
+
+ <option>
++ <p><opt>host-name-from-machine-id=</opt> Takes a boolean
++ value ("yes" or "no"). If set to "yes" avahi-daemon
++ will use the machine-id as name on the LAN.</p>
++ </option>
++
++ <option>
+ <p><opt>domain-name=</opt> Set the default domain name avahi-daemon
+ tries to register its host name and services on the LAN in. If
+ omitted defaults to ".local".</p>
diff --git a/net-dns/avahi-mono/files/avahi-0.6.31-install-exec-hook.patch b/net-dns/avahi-mono/files/avahi-0.6.31-install-exec-hook.patch
new file mode 100644
index 00000000..d9a7bc34
--- /dev/null
+++ b/net-dns/avahi-mono/files/avahi-0.6.31-install-exec-hook.patch
@@ -0,0 +1,11 @@
+--- avahi-0.6.31/avahi-utils/Makefile.am
++++ avahi-0.6.31/avahi-utils/Makefile.am
+@@ -53,7 +53,7 @@
+ avahi_set_host_name_CFLAGS = $(AM_CFLAGS)
+ avahi_set_host_name_LDADD = $(AM_LDADD) ../avahi-client/libavahi-client.la ../avahi-common/libavahi-common.la
+
+-install-exec-local:
++install-exec-hook:
+ cd $(DESTDIR)/$(bindir) && \
+ rm -f avahi-resolve-host-name avahi-resolve-address avahi-browse-domains avahi-publish-address avahi-publish-service && \
+ $(LN_S) avahi-resolve avahi-resolve-host-name && \
diff --git a/net-dns/avahi-mono/files/avahi-0.6.31-so_reuseport-may-not-exist-in-running-kernel.patch b/net-dns/avahi-mono/files/avahi-0.6.31-so_reuseport-may-not-exist-in-running-kernel.patch
new file mode 100644
index 00000000..9c23ca5e
--- /dev/null
+++ b/net-dns/avahi-mono/files/avahi-0.6.31-so_reuseport-may-not-exist-in-running-kernel.patch
@@ -0,0 +1,30 @@
+https://bugs.gentoo.org/484212
+
+Description: SO_REUSEPORT may not exist in running kernel
+ When userspace defines SO_REUSEPORT we will attempt to enable socket
+ port number reuse. However if the running kernel does not support
+ this call it will fail preventing daemon startup. If this call is
+ present but fails ENOPROTOOPT then we know that actually the kernel
+ does not support it and we should continue as if we did not have the
+ call at all. (LP: #1228204)
+ .
+ This patch could be removed from the debian package after jessie release.
+Author: Andy Whitcroft <apw@canonical.com>
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/1228204
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732009
+Last-Update: 2013-09-20
+
+Index: avahi-0.6.31/avahi-core/socket.c
+===================================================================
+--- avahi-0.6.31.orig/avahi-core/socket.c 2013-09-20 16:36:50.000000000 +0100
++++ avahi-0.6.31/avahi-core/socket.c 2013-09-20 16:38:23.781863644 +0100
+@@ -177,7 +177,8 @@
+ yes = 1;
+ if (setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &yes, sizeof(yes)) < 0) {
+ avahi_log_warn("SO_REUSEPORT failed: %s", strerror(errno));
+- return -1;
++ if (errno != ENOPROTOOPT)
++ return -1;
+ }
+ #endif
+
diff --git a/net-dns/avahi-mono/files/avahi-0.6.x-openrc-0.9.x-init-scripts-fixes.patch b/net-dns/avahi-mono/files/avahi-0.6.x-openrc-0.9.x-init-scripts-fixes.patch
new file mode 100644
index 00000000..394f6d34
--- /dev/null
+++ b/net-dns/avahi-mono/files/avahi-0.6.x-openrc-0.9.x-init-scripts-fixes.patch
@@ -0,0 +1,22 @@
+--- avahi-0.6.30/initscript/gentoo/avahi-daemon.in
++++ avahi-0.6.30/initscript/gentoo/avahi-daemon.in
+@@ -2,7 +2,7 @@
+ # Copyright 1999-2007 Gentoo Foundation
+ # Distributed under the terms of the GNU General Public License v2
+
+-opts="reload"
++extra_started_commands="reload"
+
+ depend() {
+ before netmount nfsmount
+--- avahi-0.6.30/initscript/gentoo/avahi-dnsconfd.in
++++ avahi-0.6.30/initscript/gentoo/avahi-dnsconfd.in
+@@ -2,7 +2,7 @@
+ # Copyright 1999-2007 Gentoo Foundation
+ # Distributed under the terms of the GNU General Public License v2
+
+-opts="reload"
++extra_started_commands="reload"
+
+ depend() {
+ need avahi-daemon
diff --git a/net-dns/avahi-mono/metadata.xml b/net-dns/avahi-mono/metadata.xml
new file mode 100644
index 00000000..2c673780
--- /dev/null
+++ b/net-dns/avahi-mono/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>lxnay@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/net-dns/avahi-qt/Manifest b/net-dns/avahi-qt/Manifest
new file mode 100644
index 00000000..0206eaaa
--- /dev/null
+++ b/net-dns/avahi-qt/Manifest
@@ -0,0 +1 @@
+DIST avahi-0.6.31.tar.gz 1268686 SHA256 8372719b24e2dd75de6f59bb1315e600db4fd092805bd1201ed0cb651a2dab48 SHA512 53eb00d570a274d841e1e6ad07da077950089ae39b4f7aa21fcd21cc5320b30b506b43e7e57e56198e155cc7bd289b779a48b2b2fc002dc6194a946110451858 WHIRLPOOL a6d97b87dfbb81be359ee03d8f32ebafdbb311bd596d686aeb55a2952ecb6c7c84466b1230e70392ffe23a20a56da7e0a5bd00c8dc1812b2156c0b4a8022144f
diff --git a/net-dns/avahi-qt/avahi-qt-0.6.31-r1.ebuild b/net-dns/avahi-qt/avahi-qt-0.6.31-r1.ebuild
new file mode 100644
index 00000000..357345d6
--- /dev/null
+++ b/net-dns/avahi-qt/avahi-qt-0.6.31-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2013 Sabayon
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+
+inherit multilib
+
+IUSE=""
+COMMON_DEPEND="=net-dns/avahi-base-${PVR}
+ dev-qt/qtcore:4"
+AVAHI_MODULE_DEPEND="${COMMON_DEPEND}"
+AVAHI_MODULE_RDEPEND="${COMMON_DEPEND}"
+
+WANT_AUTOMAKE=1.11
+AVAHI_PATCHES=(
+ # Fix init scripts for >=openrc-0.9.0 (bug #383641)
+ "${FILESDIR}/avahi-0.6.x-openrc-0.9.x-init-scripts-fixes.patch"
+ # install-exec-local -> install-exec-hook
+ "${FILESDIR}"/${P/-qt}-install-exec-hook.patch
+ # Backport host-name-from-machine-id patch, bug #466134
+ "${FILESDIR}"/${P/-qt}-host-name-from-machine-id.patch
+)
+inherit eutils avahi
+
+src_configure() {
+ local myconf=" --enable-qt4
+ --disable-mono"
+ avahi_src_configure "${myconf}"
+}
+
+src_compile() {
+ cd "${S}"/avahi-common || die
+ emake || die
+ cd "${S}"/avahi-qt || die
+ emake || die
+ cd "${S}" || die
+ emake avahi-qt4.pc || die
+}
+
+src_install() {
+ cd "${S}"/avahi-qt || die
+ emake install DESTDIR="${ED}" || die
+
+ cd "${S}" || die
+ dodir /usr/$(get_libdir)/pkgconfig
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins avahi-qt4.pc
+
+ avahi_src_install-cleanup
+}
diff --git a/net-dns/avahi-qt/avahi-qt-0.6.31-r5.ebuild b/net-dns/avahi-qt/avahi-qt-0.6.31-r5.ebuild
new file mode 100644
index 00000000..7eaa29d2
--- /dev/null
+++ b/net-dns/avahi-qt/avahi-qt-0.6.31-r5.ebuild
@@ -0,0 +1,155 @@
+# Copyright 1999-2014 Sabayon
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+AVAHI_MODULE="${AVAHI_MODULE:-${PN/avahi-}}"
+MY_P=${P/-${AVAHI_MODULE}}
+MY_PN=${PN/-${AVAHI_MODULE}}
+
+WANT_AUTOMAKE=1.11
+
+PYTHON_COMPAT=( python{2_6,2_7} )
+PYTHON_REQ_USE="gdbm"
+
+inherit autotools eutils flag-o-matic multilib multilib-minimal \
+ python-r1 systemd user
+
+DESCRIPTION="System which facilitates service discovery on a local network (qt4 pkg)"
+HOMEPAGE="http://avahi.org/"
+SRC_URI="http://avahi.org/download/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-linux"
+IUSE="dbus gdbm introspection nls python utils"
+
+S="${WORKDIR}/${MY_P}"
+
+COMMON_DEPEND="
+ ~net-dns/avahi-base-${PV}[dbus=,gdbm=,introspection=,nls=,python=,${MULTILIB_USEDEP}]
+ dev-qt/qtcore:4
+"
+
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+
+MULTILIB_WRAPPED_HEADERS=(
+ # necessary until the UI libraries are ported
+ /usr/include/avahi-qt4/qt-watch.h
+)
+
+src_prepare() {
+ # Make gtk utils optional
+ epatch "${FILESDIR}"/${MY_PN}-0.6.30-optional-gtk-utils.patch
+
+ # Fix init scripts for >=openrc-0.9.0, bug #383641
+ epatch "${FILESDIR}"/${MY_PN}-0.6.x-openrc-0.9.x-init-scripts-fixes.patch
+
+ # install-exec-local -> install-exec-hook
+ epatch "${FILESDIR}"/${MY_P}-install-exec-hook.patch
+
+ # Backport host-name-from-machine-id patch, bug #466134
+ epatch "${FILESDIR}"/${MY_P}-host-name-from-machine-id.patch
+
+ # Don't install avahi-discover unless ENABLE_GTK_UTILS, bug #359575
+ epatch "${FILESDIR}"/${MY_P}-fix-install-avahi-discover.patch
+
+ epatch "${FILESDIR}"/${MY_P}-so_reuseport-may-not-exist-in-running-kernel.patch
+
+ # allow building client without the daemon
+ epatch "${FILESDIR}"/${MY_P}-build-client-without-daemon.patch
+
+ # Drop DEPRECATED flags, bug #384743
+ sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED=1::g' avahi-ui/Makefile.am || die
+
+ # Fix references to Lennart's home directory, bug #466210
+ sed -i -e 's/\/home\/lennart\/tmp\/avahi//g' man/* || die
+
+ # Prevent .pyc files in DESTDIR
+ >py-compile
+
+ eautoreconf
+
+ # bundled manpages
+ multilib_copy_sources
+}
+
+src_configure() {
+ # those steps should be done once-per-ebuild rather than per-ABI
+ use sh && replace-flags -O? -O0
+
+ # We need to unset DISPLAY, else the configure script might have problems detecting the pygtk module
+ unset DISPLAY
+
+ multilib-minimal_src_configure
+}
+
+multilib_src_configure() {
+ local myconf=( --disable-static )
+
+ if ! multilib_is_native_abi; then
+ myconf+=(
+ # used by daemons only
+ --disable-libdaemon
+ --with-xml=none
+ )
+ fi
+
+ if use python; then
+ myconf+=(
+ $(multilib_native_use_enable dbus python-dbus)
+ )
+ fi
+
+ econf \
+ --localstatedir="${EPREFIX}/var" \
+ --with-distro=gentoo \
+ --disable-python-dbus \
+ --disable-xmltoman \
+ --disable-monodoc \
+ --disable-pygtk \
+ --enable-glib \
+ --enable-gobject \
+ $(use_enable dbus) \
+ $(multilib_native_use_enable python) \
+ $(use_enable nls) \
+ $(multilib_native_use_enable introspection) \
+ --disable-qt3 \
+ --disable-gtk3 \
+ --disable-gtk --disable-gtk-utils \
+ $(multilib_is_native_abi && echo -n --enable-qt4 || echo -n --disable-qt4) \
+ $(use_enable gdbm) \
+ $(systemd_with_unitdir) \
+ "${myconf[@]}"
+}
+
+multilib_src_compile() {
+ if multilib_is_native_abi; then
+ cd "${BUILD_DIR}"/avahi-common || die
+ emake || die
+ cd "${BUILD_DIR}"/avahi-qt || die
+ emake || die
+ cd "${BUILD_DIR}" || die
+ emake avahi-qt4.pc || die
+ fi
+}
+
+multilib_src_install() {
+ if multilib_is_native_abi; then
+ mkdir -p "${D}/usr/bin" || die
+
+ cd "${BUILD_DIR}"/avahi-qt || die
+ emake install DESTDIR="${D}" || die
+
+ cd "${BUILD_DIR}" || die
+ dodir /usr/$(get_libdir)/pkgconfig
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins avahi-qt4.pc
+ fi
+}
+
+multilib_src_install_all() {
+ prune_libtool_files --all
+}
diff --git a/net-dns/avahi-qt/avahi-qt-0.6.31-r6.ebuild b/net-dns/avahi-qt/avahi-qt-0.6.31-r6.ebuild
new file mode 100644
index 00000000..0d9e68df
--- /dev/null
+++ b/net-dns/avahi-qt/avahi-qt-0.6.31-r6.ebuild
@@ -0,0 +1,155 @@
+# Copyright 1999-2014 Sabayon
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+AVAHI_MODULE="${AVAHI_MODULE:-${PN/avahi-}}"
+MY_P=${P/-${AVAHI_MODULE}}
+MY_PN=${PN/-${AVAHI_MODULE}}
+
+WANT_AUTOMAKE=1.11
+
+PYTHON_COMPAT=( python{2_6,2_7} )
+PYTHON_REQ_USE="gdbm"
+
+inherit autotools eutils flag-o-matic multilib multilib-minimal \
+ python-r1 systemd user
+
+DESCRIPTION="System which facilitates service discovery on a local network (qt4 pkg)"
+HOMEPAGE="http://avahi.org/"
+SRC_URI="http://avahi.org/download/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-linux"
+IUSE="dbus gdbm introspection nls python utils"
+
+S="${WORKDIR}/${MY_P}"
+
+COMMON_DEPEND="
+ ~net-dns/avahi-base-${PV}[dbus=,gdbm=,introspection=,nls=,python=,${MULTILIB_USEDEP}]
+ dev-qt/qtcore:4
+"
+
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+
+MULTILIB_WRAPPED_HEADERS=(
+ # necessary until the UI libraries are ported
+ /usr/include/avahi-qt4/qt-watch.h
+)
+
+src_prepare() {
+ # Make gtk utils optional
+ epatch "${FILESDIR}"/${MY_PN}-0.6.30-optional-gtk-utils.patch
+
+ # Fix init scripts for >=openrc-0.9.0, bug #383641
+ epatch "${FILESDIR}"/${MY_PN}-0.6.x-openrc-0.9.x-init-scripts-fixes.patch
+
+ # install-exec-local -> install-exec-hook
+ epatch "${FILESDIR}"/${MY_P}-install-exec-hook.patch
+
+ # Backport host-name-from-machine-id patch, bug #466134
+ epatch "${FILESDIR}"/${MY_P}-host-name-from-machine-id.patch
+
+ # Don't install avahi-discover unless ENABLE_GTK_UTILS, bug #359575
+ epatch "${FILESDIR}"/${MY_P}-fix-install-avahi-discover.patch
+
+ epatch "${FILESDIR}"/${MY_P}-so_reuseport-may-not-exist-in-running-kernel.patch
+
+ # allow building client without the daemon
+ epatch "${FILESDIR}"/${MY_P}-build-client-without-daemon.patch
+
+ # Drop DEPRECATED flags, bug #384743
+ sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED=1::g' avahi-ui/Makefile.am || die
+
+ # Fix references to Lennart's home directory, bug #466210
+ sed -i -e 's/\/home\/lennart\/tmp\/avahi//g' man/* || die
+
+ # Prevent .pyc files in DESTDIR
+ >py-compile
+
+ eautoreconf
+
+ # bundled manpages
+ multilib_copy_sources
+}
+
+src_configure() {
+ # those steps should be done once-per-ebuild rather than per-ABI
+ use sh && replace-flags -O? -O0
+
+ # We need to unset DISPLAY, else the configure script might have problems detecting the pygtk module
+ unset DISPLAY
+
+ multilib-minimal_src_configure
+}
+
+multilib_src_configure() {
+ local myconf=( --disable-static )
+
+ if ! multilib_is_native_abi; then
+ myconf+=(
+ # used by daemons only
+ --disable-libdaemon
+ --with-xml=none
+ )
+ fi
+
+ if use python; then
+ myconf+=(
+ $(multilib_native_use_enable dbus python-dbus)
+ )
+ fi
+
+ econf \
+ --localstatedir="${EPREFIX}/var" \
+ --with-distro=gentoo \
+ --disable-python-dbus \
+ --disable-xmltoman \
+ --disable-monodoc \
+ --disable-pygtk \
+ --enable-glib \
+ --enable-gobject \
+ $(use_enable dbus) \
+ $(multilib_native_use_enable python) \
+ $(use_enable nls) \
+ $(multilib_native_use_enable introspection) \
+ --disable-qt3 \
+ --disable-gtk3 \
+ --disable-gtk --disable-gtk-utils \
+ $(multilib_is_native_abi && echo -n --enable-qt4 || echo -n --disable-qt4) \
+ $(use_enable gdbm) \
+ $(systemd_with_unitdir) \
+ "${myconf[@]}"
+}
+
+multilib_src_compile() {
+ if multilib_is_native_abi; then
+ cd "${BUILD_DIR}"/avahi-common || die
+ emake || die
+ cd "${BUILD_DIR}"/avahi-qt || die
+ emake || die
+ cd "${BUILD_DIR}" || die
+ emake avahi-qt4.pc || die
+ fi
+}
+
+multilib_src_install() {
+ if multilib_is_native_abi; then
+ mkdir -p "${D}/usr/bin" || die
+
+ cd "${BUILD_DIR}"/avahi-qt || die
+ emake install DESTDIR="${D}" || die
+
+ cd "${BUILD_DIR}" || die
+ dodir /usr/$(get_libdir)/pkgconfig
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins avahi-qt4.pc
+ fi
+}
+
+multilib_src_install_all() {
+ prune_libtool_files --all
+}
diff --git a/net-dns/avahi-qt/files/avahi-0.6.30-automake-1.11.2.patch b/net-dns/avahi-qt/files/avahi-0.6.30-automake-1.11.2.patch
new file mode 100644
index 00000000..be385f6c
--- /dev/null
+++ b/net-dns/avahi-qt/files/avahi-0.6.30-automake-1.11.2.patch
@@ -0,0 +1,102 @@
+http://bugs.gentoo.org/397477
+
+--- avahi-python/avahi/Makefile.am
++++ avahi-python/avahi/Makefile.am
+@@ -31,7 +31,7 @@
+ -e 's,@FIRST_KEY\@,key = self.db.firstkey(),g' \
+ -e 's,@CHECK_KEY\@,while key is not None:,g' \
+ -e 's,@NEXT_KEY\@,key = self.db.nextkey(key),g' \
+- -e 's,@pkglibdir\@,$(pkglibdir),g' $< > $@ && \
++ -e 's,@pkgdatadir\@,$(pkgdatadir),g' $< > $@ && \
+ chmod +x $@
+ endif
+
+@@ -44,7 +44,7 @@
+ -e 's,@FIRST_KEY\@,keys = self.db.keys(),g' \
+ -e 's,@CHECK_KEY\@,for key in keys:,g' \
+ -e 's,@NEXT_KEY\@,,g' \
+- -e 's,@pkglibdir\@,$(pkglibdir),g' $< > $@ && \
++ -e 's,@pkgdatadir\@,$(pkgdatadir),g' $< > $@ && \
+ chmod +x $@
+ endif
+
+--- avahi-python/avahi/ServiceTypeDatabase.py.in
++++ avahi-python/avahi/ServiceTypeDatabase.py.in
+@@ -26,7 +26,7 @@
+ class ServiceTypeDatabase:
+ """ServiceTypeDatabase maps service types to descriptions"""
+
+- def __init__(self, filename = "@pkglibdir@/service-types.db"):
++ def __init__(self, filename = "@pkgdatadir@/service-types.db"):
+
+ self.db = @DBM@.open(filename, "r")
+
+--- avahi-ui/Makefile.am
++++ avahi-ui/Makefile.am
+@@ -62,18 +62,18 @@
+
+ if HAVE_GDBM
+ libavahi_ui_la_SOURCES += ../avahi-utils/stdb.h ../avahi-utils/stdb.c
+-libavahi_ui_la_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
++libavahi_ui_la_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+ libavahi_ui_la_LIBADD += -lgdbm
+
+-libavahi_ui_gtk3_la_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
++libavahi_ui_gtk3_la_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+ libavahi_ui_gtk3_la_LIBADD += -lgdbm
+ endif
+
+ if HAVE_DBM
+ libavahi_ui_la_SOURCES += ../avahi-utils/stdb.h ../avahi-utils/stdb.c
+-libavahi_ui_la_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
++libavahi_ui_la_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+
+-libavahi_ui_gtk3_la_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
++libavahi_ui_gtk3_la_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+ endif
+
+ bin_PROGRAMS = bssh
+--- avahi-utils/Makefile.am
++++ avahi-utils/Makefile.am
+@@ -30,13 +30,13 @@
+
+ if HAVE_GDBM
+ avahi_browse_SOURCES += stdb.h stdb.c
+-avahi_browse_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
++avahi_browse_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+ avahi_browse_LDADD += -lgdbm
+ endif
+
+ if HAVE_DBM
+ avahi_browse_SOURCES += stdb.h stdb.c
+-avahi_browse_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
++avahi_browse_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+ endif
+
+ avahi_resolve_SOURCES = avahi-resolve.c sigint.c sigint.h
+--- service-type-database/Makefile.am
++++ service-type-database/Makefile.am
+@@ -18,13 +18,12 @@
+ EXTRA_DIST=build-db.in service-types
+
+ pkgdata_DATA=service-types
+-pkglib_DATA=
+
+ if HAVE_PYTHON
+ if HAVE_GDBM
+
+ noinst_SCRIPTS=build-db
+-pkglib_DATA+=service-types.db
++pkgdata_DATA+=service-types.db
+
+ build-db: build-db.in
+ $(AM_V_GEN)sed -e 's,@PYTHON\@,$(PYTHON),g' \
+@@ -41,7 +40,7 @@
+ if HAVE_DBM
+
+ noinst_SCRIPTS=build-db
+-pkglib_DATA+=service-types.db.pag service-types.db.dir
++pkgdata_DATA+=service-types.db.pag service-types.db.dir
+
+ build-db: build-db.in
+ $(AM_V_GEN)sed -e 's,@PYTHON\@,$(PYTHON),g' \
diff --git a/net-dns/avahi-qt/files/avahi-0.6.30-optional-gtk-utils.patch b/net-dns/avahi-qt/files/avahi-0.6.30-optional-gtk-utils.patch
new file mode 100644
index 00000000..2c615a2b
--- /dev/null
+++ b/net-dns/avahi-qt/files/avahi-0.6.30-optional-gtk-utils.patch
@@ -0,0 +1,83 @@
+--- avahi-discover-standalone/Makefile.am
++++ avahi-discover-standalone/Makefile.am
+@@ -23,7 +23,7 @@
+ # This cool debug trap works on i386/gcc only
+ AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")'
+
+-if HAVE_GTK2OR3
++if ENABLE_GTK_UTILS
+ if HAVE_GLIB
+ bin_PROGRAMS = \
+ avahi-discover-standalone
+--- avahi-ui/Makefile.am
++++ avahi-ui/Makefile.am
+@@ -76,6 +76,7 @@
+ libavahi_ui_gtk3_la_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
+ endif
+
++if ENABLE_GTK_UTILS
+ bin_PROGRAMS = bssh
+ desktop_DATA += bssh.desktop bvnc.desktop
+ @INTLTOOL_DESKTOP_RULE@
+@@ -102,6 +103,7 @@
+ bvnc.desktop.in: bvnc.desktop.in.in
+ $(AM_V_GEN)sed -e 's,@bindir\@,$(bindir),g' $< > $@
+
++endif # ENABLE_GTK_UTILS
+ endif # HAVE_GLIB
+ endif
+ endif
+--- configure.ac
++++ configure.ac
+@@ -564,7 +564,29 @@
+ fi
+ AM_CONDITIONAL(HAVE_GTK3, test "x$HAVE_GTK3" = "xyes")
+
+-AM_CONDITIONAL(HAVE_GTK2OR3, test "x$HAVE_GTK3" = "xyes" -o "x$HAVE_GTK" = "xyes" )
++#
++# Check for GTK+ Utils
++#
++AC_ARG_ENABLE(gtk-utils,
++ AS_HELP_STRING([--disable-gtk-utils],[Disable GTK+ utilities]),
++ [case "${enableval}" in
++ yes) WANT_GTK_UTILS=yes ;;
++ no) WANT_GTK_UTILS=no ;;
++ *) AC_MSG_ERROR(bad value ${enableval} for --enable-gtk-utils) ;;
++ esac],
++ [WANT_GTK_UTILS=yes])
++
++ENABLE_GTK_UTILS=no
++HAVE_GTK2OR3=no
++if test "x$HAVE_GTK3" = "xyes" -o "x$HAVE_GTK" = "xyes"; then
++ HAVE_GTK2OR3=yes
++ if test "x$WANT_GTK_UTILS" = "xyes"; then
++ ENABLE_GTK_UTILS=yes
++ fi
++fi
++
++AM_CONDITIONAL(HAVE_GTK2OR3, test "x$HAVE_GTK2OR3" = "xyes")
++AM_CONDITIONAL(ENABLE_GTK_UTILS, test "x$ENABLE_GTK_UTILS" = "xyes")
+
+ #
+ # D-Bus
+@@ -1199,11 +1221,6 @@
+ ENABLE_AUTOIPD="no (You need libdaemon!)"
+ fi
+
+-HAVE_GTK2OR3=no
+-if test "x$HAVE_GTK" = "xyes" -o "x$HAVE_GTK3" = "xyes" ; then
+- HAVE_GTK2OR3=yes
+-fi
+-
+ BUILD_UI="no"
+ if test "x$HAVE_GTK2OR3" = "xyes" -a "x$BUILD_CLIENT" = "xyes" ; then
+ BUILD_UI="yes"
+@@ -1223,7 +1240,7 @@
+ Building avahi-python: ${BUILD_PYTHON}
+ Building libavahi-glib: ${HAVE_GLIB}
+ Building libavahi-gobject: ${BUILD_GOBJECT}
+- Building avahi-discover-standalone: ${HAVE_GTK2OR3}
++ Building avahi-discover-standalone: ${ENABLE_GTK_UTILS}
+ Building libavahi-qt3: ${HAVE_QT3}
+ Building libavahi-qt4: ${HAVE_QT4}
+ Building avahi-sharp: ${HAVE_MONO}
diff --git a/net-dns/avahi-qt/files/avahi-0.6.30-parallel.patch b/net-dns/avahi-qt/files/avahi-0.6.30-parallel.patch
new file mode 100644
index 00000000..a75f9910
--- /dev/null
+++ b/net-dns/avahi-qt/files/avahi-0.6.30-parallel.patch
@@ -0,0 +1,34 @@
+From cb10a844f9e91322aca91340b7adc0db19c96b36 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@flameeyes.eu>
+Date: Mon, 30 Apr 2012 17:07:41 -0700
+Subject: [PATCH] build-sys: fix parallel install in avahi-utils
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+The moment install-exec-local is called, we might still not have
+created ${DESTDIR}/${bindir} so we should make sure to create it
+first, and then try to chdir into it.
+
+Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
+---
+ avahi-utils/Makefile.am | 3 ++-
+ 1 files changed, 2 insertions(+), 1 deletions(-)
+
+diff --git a/avahi-utils/Makefile.am b/avahi-utils/Makefile.am
+index a644b4a..1abc79a 100644
+--- a/avahi-utils/Makefile.am
++++ b/avahi-utils/Makefile.am
+@@ -54,7 +54,8 @@ avahi_set_host_name_CFLAGS = $(AM_CFLAGS)
+ avahi_set_host_name_LDADD = $(AM_LDADD) ../avahi-client/libavahi-client.la ../avahi-common/libavahi-common.la
+
+ install-exec-local:
+- cd $(DESTDIR)/$(bindir) && \
++ $(mkdir_p) $(DESTDIR)/$(bindir) && \
++ cd $(DESTDIR)/$(bindir) && \
+ rm -f avahi-resolve-host-name avahi-resolve-address avahi-browse-domains avahi-publish-address avahi-publish-service && \
+ $(LN_S) avahi-resolve avahi-resolve-host-name && \
+ $(LN_S) avahi-resolve avahi-resolve-address && \
+--
+1.7.8.6
+
diff --git a/net-dns/avahi-qt/files/avahi-0.6.31-build-client-without-daemon.patch b/net-dns/avahi-qt/files/avahi-0.6.31-build-client-without-daemon.patch
new file mode 100644
index 00000000..df0c420f
--- /dev/null
+++ b/net-dns/avahi-qt/files/avahi-0.6.31-build-client-without-daemon.patch
@@ -0,0 +1,27 @@
+From ce3b83de6aa689c0cefe0b1e85c03a627b537099 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
+Date: Mon, 12 May 2014 19:46:22 +0200
+Subject: [PATCH] Allow building client without the daemon.
+
+There's no good reason to disallow that, and that's what we specifically
+want to do for multilib.
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 0e190ba..c56cf01 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -1185,7 +1185,7 @@ fi
+
+ BUILD_CLIENT="no (You need avahi-daemon and D-Bus!)"
+
+-if test "x$BUILD_DAEMON" = "xyes" -a "x$HAVE_DBUS" = "xyes" ; then
++if "x$HAVE_DBUS" = "xyes" ; then
+ BUILD_CLIENT=yes
+ fi
+
+--
+1.9.3
+
diff --git a/net-dns/avahi-qt/files/avahi-0.6.31-fix-install-avahi-discover.patch b/net-dns/avahi-qt/files/avahi-0.6.31-fix-install-avahi-discover.patch
new file mode 100644
index 00000000..62ba967c
--- /dev/null
+++ b/net-dns/avahi-qt/files/avahi-0.6.31-fix-install-avahi-discover.patch
@@ -0,0 +1,31 @@
+--- avahi-0.6.30.old/avahi-python/avahi-discover/Makefile.am 2010-06-28 23:30:34.000000000 -0400
++++ avahi-0.6.30/avahi-python/avahi-discover/Makefile.am 2012-04-21 18:02:01.642934527 -0400
+@@ -22,6 +22,7 @@
+ avahi-discover.py \
+ avahi-discover.desktop.in.in
+
++if ENABLE_GTK_UTILS
+ if HAVE_PYTHON
+ if HAVE_PYTHON_DBUS
+ if HAVE_PYGTK
+@@ -67,3 +68,4 @@
+ endif
+ endif
+ endif
++endif
+--- avahi-0.6.30.old/man/Makefile.am 2012-04-21 18:10:45.690900742 -0400
++++ avahi-0.6.30/man/Makefile.am 2012-04-21 18:09:15.146906578 -0400
+@@ -65,11 +65,13 @@
+ man_MANS += \
+ avahi-bookmarks.1
+ if HAVE_GTK
++if ENABLE_GTK_UTILS
+ man_MANS += \
+ avahi-discover.1
+ endif
+ endif
+ endif
++endif
+
+ if ENABLE_AUTOIPD
+ if HAVE_LIBDAEMON
diff --git a/net-dns/avahi-qt/files/avahi-0.6.31-host-name-from-machine-id.patch b/net-dns/avahi-qt/files/avahi-0.6.31-host-name-from-machine-id.patch
new file mode 100644
index 00000000..17ecba52
--- /dev/null
+++ b/net-dns/avahi-qt/files/avahi-0.6.31-host-name-from-machine-id.patch
@@ -0,0 +1,85 @@
+From: David Zeuthen <zeuthen@chromium.org>
+Date: Tue, 5 Mar 2013 19:52:38 +0000 (-0800)
+Subject: avahi-daemon: add option "host-name-from-machine-id="
+X-Git-Url: http://git.0pointer.de/?p=avahi.git;a=commitdiff_plain;h=147cdce70b22ae7cee9fb4fe123db40952f31c9e
+
+avahi-daemon: add option "host-name-from-machine-id="
+
+Signed-off-by: David Zeuthen <zeuthen@chromium.org>
+---
+
+diff --git a/avahi-daemon/main.c b/avahi-daemon/main.c
+index d46f40a..8c28fd6 100644
+--- a/avahi-daemon/main.c
++++ b/avahi-daemon/main.c
+@@ -65,6 +65,7 @@
+ #include <avahi-core/publish.h>
+ #include <avahi-core/dns-srv-rr.h>
+ #include <avahi-core/log.h>
++#include <avahi-core/util.h>
+
+ #ifdef ENABLE_CHROOT
+ #include "chroot.h"
+@@ -576,6 +577,29 @@ static int parse_usec(const char *s, AvahiUsec *u) {
+ return 0;
+ }
+
++static char *get_machine_id(void) {
++ int fd;
++ char buf[32];
++
++ fd = open("/etc/machine-id", O_RDONLY|O_CLOEXEC|O_NOCTTY);
++ if (fd == -1 && errno == ENOENT)
++ fd = open("/var/lib/dbus/machine-id", O_RDONLY|O_CLOEXEC|O_NOCTTY);
++ if (fd == -1)
++ return NULL;
++
++ /* File is on a filesystem so we never get EINTR or partial reads */
++ if (read(fd, buf, sizeof buf) != sizeof buf) {
++ close(fd);
++ return NULL;
++ }
++ close(fd);
++
++ /* Contents can be lower, upper and even mixed case so normalize */
++ avahi_strdown(buf);
++
++ return avahi_strndup(buf, sizeof buf);
++}
++
+ static int load_config_file(DaemonConfig *c) {
+ int r = -1;
+ AvahiIniFile *f;
+@@ -631,6 +655,15 @@ static int load_config_file(DaemonConfig *c) {
+ c->server_config.use_iff_running = is_yes(p->value);
+ else if (strcasecmp(p->key, "disallow-other-stacks") == 0)
+ c->server_config.disallow_other_stacks = is_yes(p->value);
++ else if (strcasecmp(p->key, "host-name-from-machine-id") == 0) {
++ if (*(p->value) == 'y' || *(p->value) == 'Y') {
++ char *machine_id = get_machine_id();
++ if (machine_id != NULL) {
++ avahi_free(c->server_config.host_name);
++ c->server_config.host_name = machine_id;
++ }
++ }
++ }
+ #ifdef HAVE_DBUS
+ else if (strcasecmp(p->key, "enable-dbus") == 0) {
+
+diff --git a/man/avahi-daemon.conf.5.xml.in b/man/avahi-daemon.conf.5.xml.in
+index bea7ed5..2d15017 100644
+--- a/man/avahi-daemon.conf.5.xml.in
++++ b/man/avahi-daemon.conf.5.xml.in
+@@ -40,6 +40,12 @@
+ </option>
+
+ <option>
++ <p><opt>host-name-from-machine-id=</opt> Takes a boolean
++ value ("yes" or "no"). If set to "yes" avahi-daemon
++ will use the machine-id as name on the LAN.</p>
++ </option>
++
++ <option>
+ <p><opt>domain-name=</opt> Set the default domain name avahi-daemon
+ tries to register its host name and services on the LAN in. If
+ omitted defaults to ".local".</p>
diff --git a/net-dns/avahi-qt/files/avahi-0.6.31-install-exec-hook.patch b/net-dns/avahi-qt/files/avahi-0.6.31-install-exec-hook.patch
new file mode 100644
index 00000000..d9a7bc34
--- /dev/null
+++ b/net-dns/avahi-qt/files/avahi-0.6.31-install-exec-hook.patch
@@ -0,0 +1,11 @@
+--- avahi-0.6.31/avahi-utils/Makefile.am
++++ avahi-0.6.31/avahi-utils/Makefile.am
+@@ -53,7 +53,7 @@
+ avahi_set_host_name_CFLAGS = $(AM_CFLAGS)
+ avahi_set_host_name_LDADD = $(AM_LDADD) ../avahi-client/libavahi-client.la ../avahi-common/libavahi-common.la
+
+-install-exec-local:
++install-exec-hook:
+ cd $(DESTDIR)/$(bindir) && \
+ rm -f avahi-resolve-host-name avahi-resolve-address avahi-browse-domains avahi-publish-address avahi-publish-service && \
+ $(LN_S) avahi-resolve avahi-resolve-host-name && \
diff --git a/net-dns/avahi-qt/files/avahi-0.6.31-so_reuseport-may-not-exist-in-running-kernel.patch b/net-dns/avahi-qt/files/avahi-0.6.31-so_reuseport-may-not-exist-in-running-kernel.patch
new file mode 100644
index 00000000..9c23ca5e
--- /dev/null
+++ b/net-dns/avahi-qt/files/avahi-0.6.31-so_reuseport-may-not-exist-in-running-kernel.patch
@@ -0,0 +1,30 @@
+https://bugs.gentoo.org/484212
+
+Description: SO_REUSEPORT may not exist in running kernel
+ When userspace defines SO_REUSEPORT we will attempt to enable socket
+ port number reuse. However if the running kernel does not support
+ this call it will fail preventing daemon startup. If this call is
+ present but fails ENOPROTOOPT then we know that actually the kernel
+ does not support it and we should continue as if we did not have the
+ call at all. (LP: #1228204)
+ .
+ This patch could be removed from the debian package after jessie release.
+Author: Andy Whitcroft <apw@canonical.com>
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/1228204
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732009
+Last-Update: 2013-09-20
+
+Index: avahi-0.6.31/avahi-core/socket.c
+===================================================================
+--- avahi-0.6.31.orig/avahi-core/socket.c 2013-09-20 16:36:50.000000000 +0100
++++ avahi-0.6.31/avahi-core/socket.c 2013-09-20 16:38:23.781863644 +0100
+@@ -177,7 +177,8 @@
+ yes = 1;
+ if (setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &yes, sizeof(yes)) < 0) {
+ avahi_log_warn("SO_REUSEPORT failed: %s", strerror(errno));
+- return -1;
++ if (errno != ENOPROTOOPT)
++ return -1;
+ }
+ #endif
+
diff --git a/net-dns/avahi-qt/files/avahi-0.6.x-openrc-0.9.x-init-scripts-fixes.patch b/net-dns/avahi-qt/files/avahi-0.6.x-openrc-0.9.x-init-scripts-fixes.patch
new file mode 100644
index 00000000..394f6d34
--- /dev/null
+++ b/net-dns/avahi-qt/files/avahi-0.6.x-openrc-0.9.x-init-scripts-fixes.patch
@@ -0,0 +1,22 @@
+--- avahi-0.6.30/initscript/gentoo/avahi-daemon.in
++++ avahi-0.6.30/initscript/gentoo/avahi-daemon.in
+@@ -2,7 +2,7 @@
+ # Copyright 1999-2007 Gentoo Foundation
+ # Distributed under the terms of the GNU General Public License v2
+
+-opts="reload"
++extra_started_commands="reload"
+
+ depend() {
+ before netmount nfsmount
+--- avahi-0.6.30/initscript/gentoo/avahi-dnsconfd.in
++++ avahi-0.6.30/initscript/gentoo/avahi-dnsconfd.in
+@@ -2,7 +2,7 @@
+ # Copyright 1999-2007 Gentoo Foundation
+ # Distributed under the terms of the GNU General Public License v2
+
+-opts="reload"
++extra_started_commands="reload"
+
+ depend() {
+ need avahi-daemon
diff --git a/net-dns/avahi-qt/metadata.xml b/net-dns/avahi-qt/metadata.xml
new file mode 100644
index 00000000..2c673780
--- /dev/null
+++ b/net-dns/avahi-qt/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>lxnay@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/net-dns/avahi/avahi-0.6.31-r5.ebuild b/net-dns/avahi/avahi-0.6.31-r5.ebuild
new file mode 100644
index 00000000..18ca5eb4
--- /dev/null
+++ b/net-dns/avahi/avahi-0.6.31-r5.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2014 Sabayon
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit multilib-build
+
+DESCRIPTION="System which facilitates service discovery on a local network (meta package)"
+HOMEPAGE="http://avahi.org/"
+SRC_URI=""
+
+KEYWORDS="amd64 ~arm x86"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE="autoipd bookmarks dbus doc gdbm gtk gtk3 howl-compat +introspection ipv6 kernel_linux mdnsresponder-compat mono nls python qt4 selinux test utils"
+
+COMMON_DEPEND="=net-dns/avahi-base-${PVR}[autoipd=,bookmarks=,dbus=,doc=,gdbm=,howl-compat=,introspection=,ipv6=,mdnsresponder-compat=,python=,test=,nls=,selinux=,${MULTILIB_USEDEP}]
+ gtk? ( =net-dns/avahi-gtk-${PVR}[bookmarks=,gdbm=,nls=,python=,dbus=,${MULTILIB_USEDEP}] )
+ utils? ( =net-dns/avahi-gtk3-${PVR}[utils,${MULTILIB_USEDEP}] )
+ gtk3? ( =net-dns/avahi-gtk3-${PVR}[${MULTILIB_USEDEP}] )
+ mono? ( =net-dns/avahi-mono-${PVR}[${MULTILIB_USEDEP}] )
+ qt4? ( =net-dns/avahi-qt-${PVR}[${MULTILIB_USEDEP}] )"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${DEPEND}"
diff --git a/net-dns/avahi/avahi-0.6.31-r6.ebuild b/net-dns/avahi/avahi-0.6.31-r6.ebuild
new file mode 100644
index 00000000..18ca5eb4
--- /dev/null
+++ b/net-dns/avahi/avahi-0.6.31-r6.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2014 Sabayon
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit multilib-build
+
+DESCRIPTION="System which facilitates service discovery on a local network (meta package)"
+HOMEPAGE="http://avahi.org/"
+SRC_URI=""
+
+KEYWORDS="amd64 ~arm x86"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE="autoipd bookmarks dbus doc gdbm gtk gtk3 howl-compat +introspection ipv6 kernel_linux mdnsresponder-compat mono nls python qt4 selinux test utils"
+
+COMMON_DEPEND="=net-dns/avahi-base-${PVR}[autoipd=,bookmarks=,dbus=,doc=,gdbm=,howl-compat=,introspection=,ipv6=,mdnsresponder-compat=,python=,test=,nls=,selinux=,${MULTILIB_USEDEP}]
+ gtk? ( =net-dns/avahi-gtk-${PVR}[bookmarks=,gdbm=,nls=,python=,dbus=,${MULTILIB_USEDEP}] )
+ utils? ( =net-dns/avahi-gtk3-${PVR}[utils,${MULTILIB_USEDEP}] )
+ gtk3? ( =net-dns/avahi-gtk3-${PVR}[${MULTILIB_USEDEP}] )
+ mono? ( =net-dns/avahi-mono-${PVR}[${MULTILIB_USEDEP}] )
+ qt4? ( =net-dns/avahi-qt-${PVR}[${MULTILIB_USEDEP}] )"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${DEPEND}"
diff --git a/net-dns/avahi/metadata.xml b/net-dns/avahi/metadata.xml
new file mode 100644
index 00000000..d8e743d4
--- /dev/null
+++ b/net-dns/avahi/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>swegener@gentoo.org</email>
+</maintainer>
+<use>
+ <flag name='autoipd'>Build and install the IPv4LL (RFC3927) network address
+ configuration daemon</flag>
+ <flag name='bookmarks'>Install the avahi-bookmarks application (requires
+ <pkg>dev-python/twisted</pkg>)</flag>
+ <flag name='howl-compat'>Enable compat libraries for howl</flag>
+ <flag name='mdnsresponder-compat'>Enable compat libraries for
+ mDNSResponder</flag>
+</use>
+</pkgmetadata>
diff --git a/net-p2p/gnunet-gtk/Manifest b/net-p2p/gnunet-gtk/Manifest
index ee21bace..46d7bac5 100644
--- a/net-p2p/gnunet-gtk/Manifest
+++ b/net-p2p/gnunet-gtk/Manifest
@@ -7,14 +7,3 @@ DIST gnunet-gtk-0.8.0pre1.tar.bz2 792185 SHA256 dc629d7cedb0910aeb031d0619210fc8
DIST gnunet-gtk-0.8.1.tar.gz 1090644 SHA256 b4eec2c2f06a5893172d7d344466c56325ec17040552289d8853abdf5650be43
DIST gnunet-gtk-0.8.1a.tar.gz 1091669 SHA256 0e9d317352ad991c6e66ad7619a3df3f1b24637f50ccaf3df2acb54c9d13736f
DIST gnunet-gtk-0.9.0pre1.tar.gz 703337 SHA256 1a9e20d7ddb5aeed253924988f5f4172b6cb86f6f3573a600168b15cd534bdc3
-EBUILD gnunet-gtk-0.7.3.ebuild 703 SHA256 ef112666e8760d277d9125e0694dd46fd51988fefa53e109ec437ad3d8b0e9d8 SHA512 10585daf73ec418d1d46b1747d516c4787c3e26a19fcd77612b8f660b96f56c6fb030e2fccecb06e858eb6dde5c5a4f796b8e8ab89ae5f0505242a08ac9d2bd0 WHIRLPOOL 215b781e6e7e8cf1ef86ac273a5d7b56e01a5f4160c877e1f19cdc49e128517b6e8c32a64c5b7604d0305d9cad8ac7d41ec1b8707010bdb7483bd682790fb543
-EBUILD gnunet-gtk-0.8.0.ebuild 910 SHA256 35d0bd4e192eaa1a481375f3cbebfafac99c9d2dd1fd9a3a148475426e01257e SHA512 fe6264d73de271f523b229e0b9fd1bce62363b925fd72da36c4e1c2d684415cc9b91af2741f6475e7f2647feb0f2e9a904c563b628e5ab26cbca1ba56fc4137a WHIRLPOOL d657163830f2efc90b01a3d5facb60449409e85a1ca027b001b7f942eb5131e048744d2f8bcd20989f4576a689f48665403e9afd20ab2e9f054d847fc8485e8b
-EBUILD gnunet-gtk-0.8.0_pre0.ebuild 909 SHA256 bb5da372e29626bcd701659fd0d8e13b72e8e498004b43a743369b96502cddf5 SHA512 0788cf74e0ea92f6597d6105495285cfa6a6ad925a0006a3f851c2e195368f6ba6913c5502777a422873b7bd218def8fd75f0f37c1ff630052c16e25c77e8c05 WHIRLPOOL 974a2634a790dc7b869ecd2ca7d1551e8dcf2bcd58135b7d601181dde3621870666720ba85f9aa269f57f3b037bd11ad5011259dbf65f17c504ff7e72f62efcb
-EBUILD gnunet-gtk-0.8.0_pre1.ebuild 910 SHA256 35d0bd4e192eaa1a481375f3cbebfafac99c9d2dd1fd9a3a148475426e01257e SHA512 fe6264d73de271f523b229e0b9fd1bce62363b925fd72da36c4e1c2d684415cc9b91af2741f6475e7f2647feb0f2e9a904c563b628e5ab26cbca1ba56fc4137a WHIRLPOOL d657163830f2efc90b01a3d5facb60449409e85a1ca027b001b7f942eb5131e048744d2f8bcd20989f4576a689f48665403e9afd20ab2e9f054d847fc8485e8b
-EBUILD gnunet-gtk-0.8.0a.ebuild 910 SHA256 35d0bd4e192eaa1a481375f3cbebfafac99c9d2dd1fd9a3a148475426e01257e SHA512 fe6264d73de271f523b229e0b9fd1bce62363b925fd72da36c4e1c2d684415cc9b91af2741f6475e7f2647feb0f2e9a904c563b628e5ab26cbca1ba56fc4137a WHIRLPOOL d657163830f2efc90b01a3d5facb60449409e85a1ca027b001b7f942eb5131e048744d2f8bcd20989f4576a689f48665403e9afd20ab2e9f054d847fc8485e8b
-EBUILD gnunet-gtk-0.8.0c.ebuild 910 SHA256 35d0bd4e192eaa1a481375f3cbebfafac99c9d2dd1fd9a3a148475426e01257e SHA512 fe6264d73de271f523b229e0b9fd1bce62363b925fd72da36c4e1c2d684415cc9b91af2741f6475e7f2647feb0f2e9a904c563b628e5ab26cbca1ba56fc4137a WHIRLPOOL d657163830f2efc90b01a3d5facb60449409e85a1ca027b001b7f942eb5131e048744d2f8bcd20989f4576a689f48665403e9afd20ab2e9f054d847fc8485e8b
-EBUILD gnunet-gtk-0.8.1.ebuild 909 SHA256 b9d88de0dc1af34fc0cd47847fab2e1df62e9a3fe31f6d2fa2fa32416a388586 SHA512 b4c7eb35f5ae1da5e566a490d0c9b84a7894748d3b116c344b930c37917e38483f3e74c21092ded12612ae2cca14aabcbe278a0188e26588fbdc4a967ea9f2ef WHIRLPOOL 31d8e8bd2620b152fafaf2ac10e0206dc60e10a7d71b2f3862d8aaeb3a9467b15ffcc9918889bc72ee1a2f59fca971b3d05f27bddb07090c8ec1ac8ca31c0b9d
-EBUILD gnunet-gtk-0.8.1a.ebuild 909 SHA256 b9d88de0dc1af34fc0cd47847fab2e1df62e9a3fe31f6d2fa2fa32416a388586 SHA512 b4c7eb35f5ae1da5e566a490d0c9b84a7894748d3b116c344b930c37917e38483f3e74c21092ded12612ae2cca14aabcbe278a0188e26588fbdc4a967ea9f2ef WHIRLPOOL 31d8e8bd2620b152fafaf2ac10e0206dc60e10a7d71b2f3862d8aaeb3a9467b15ffcc9918889bc72ee1a2f59fca971b3d05f27bddb07090c8ec1ac8ca31c0b9d
-EBUILD gnunet-gtk-0.9.0_pre1.ebuild 912 SHA256 b6f8cf03cf71cb449bebf831065273fb25178d1aec856bf04daf9ec9c8bbd591 SHA512 014af2573294b32c867fe03fc8043e43dc76495870169510d92d0e309b223d53fc0507add6836363ed4172f75c6ac996b9e1ede941388434059d0175f79919ab WHIRLPOOL f17aa88455b8c12d4f0ceb00c5088cd66f57a566f497f1942f879937d60808c4e0071fdb88354d576522699d3aa05d3610e55fe7709fd20835ce3fbdf8a351a3
-MISC ChangeLog 576 SHA256 a8838089da74c07a47df7c67194e5ccd870755212283d11b4cc1754323598c64 SHA512 ef34beb888d24805abba5f9a1674b74df356160f3d8075f34f61bae2003089e4274e82ed17c502b45f5575fab37948ce240109f8c2b326585215897b9909084e WHIRLPOOL 44142754327a8278e5ceadbf288de1e8b7eb69b1548b86fbc6a714ccc38772701128962e5791f777bb55461e413db2c676f6b487f358fe0f49fb35605aaa0b78
-MISC metadata.xml 464 SHA256 9c68dcb88251ff20fafcc013030550607c1dcf6448ab8966b5f331137127650b SHA512 5c0f3270f7b6f90e2ac81013957c23fb77c8a3634acc742041a961a3a0b88b80e3af0c6d317841489e2e045d5dd90f6a5f18d6d2bc7cba47ee082eb90558c0fc WHIRLPOOL c4b7adf608b8bce81d58bdab84349c8ae3fa956337f7abea3010bf9ba27ab4937874bc0ab133d78521a8ae36a887ef3eb7a61d8f51be3ffc29dc67011b389974
diff --git a/net-p2p/gnunet-qt/Manifest b/net-p2p/gnunet-qt/Manifest
index bb554cd9..95075318 100644
--- a/net-p2p/gnunet-qt/Manifest
+++ b/net-p2p/gnunet-qt/Manifest
@@ -1,5 +1,2 @@
DIST gnunet-qt-0.8.1.tar.gz 459492 SHA256 e646be6837efee4b701d86f15331e35cec20fe4ad4e0be9065b3043b9db579da
DIST gnunet-qt-0.8.1a.tar.gz 459571 SHA256 e7ff781e3b7d41b2db11dabcee0bc1f81fbccf87e220f12fa738ca78e091ba17
-EBUILD gnunet-qt-0.8.1.ebuild 1094 SHA256 51eea3cbfe4578cce71bec8a5bef6ef24d3735ae0c1119bba4fe8f761318acc6 SHA512 6da8ddf07595ed249a3c5c31ff16d427cd32a4155cd9518f6b09c4482c7747e793348fa298969e983a4ca0bb7bb2f71effee110fdd2c88e4f2405e8a3b84eeba WHIRLPOOL 0753f98a4799e7173091454a792d362c18de3e6528df3dc4d556bfc8670eaac868ff448284e020d7cf6a11f8a0f3bcb899b39b2cdbbe8bef8436090d548b9567
-EBUILD gnunet-qt-0.8.1a.ebuild 663 SHA256 af33626271fff0bc348d481d5cfc0d0a446a43c60ef175c9a1b5268b93f93f71 SHA512 112c0c040d9b99431b588094e992159bbc6beca28f641ed357ca22427751f41c1d783e45bdb53aff1d636d5febab1e296c4e72fd26b377204f117783b665bcea WHIRLPOOL 6400e6a77f7366e27a5d00f3ce7d91d02705fd043814bd30005e73034c9dc9efdb462d259ec039e99104bb7c1da36baebeeca83ff00cbdc2d521d5d69c28fb55
-MISC ChangeLog 361 SHA256 56a36820afe2c8c7140b2f0b26cfd902e8185c7048afc86784d238e4adbec4d4 SHA512 9b2ce2f34709391d3825c468b88597dbcb6d06851f46d75bc47c146e41d7fa96bd9c21603de87c2818cb54436007a2bd582b391c78425e1429bc789543804f81 WHIRLPOOL 127462471d54a95617b7b7e9a901a04d20c1c031d009cf2caf6f2c014ef2a69c7a9beac786fbd9e7845952939b6f0c0edb3d9c2a10724f379343d869ba4a7edc
diff --git a/net-p2p/gnunet/Manifest b/net-p2p/gnunet/Manifest
index 0556159f..4bd6118f 100644
--- a/net-p2p/gnunet/Manifest
+++ b/net-p2p/gnunet/Manifest
@@ -1,12 +1,3 @@
-AUX config-daemon.in.patch 243 SHA256 83a708781f79c2b7a64b1f6e27460082d251e9886a4f940ac6e229c430971cba SHA512 a8aa998e5a24321cadba412b29900f92204c698ab1d35b3fbb76af1c2e872048e7e15e5e0671f355353664a7104b38b21f92539a6d6bf6670f544fe6ff48e166 WHIRLPOOL b3e6bb901df1f146bc7d99d23eee92091e723d8371ad2b4c1d3c400940de7d0f074d15c45f10329214d28ce6a33a836a46f6a26695b4134b2701cce08d4a05cd
-AUX gnunet 805 SHA256 657e8add8f4118f6e6cb5dd32a3e43b7965ef9f465d834a971ce1d7a32282a5f SHA512 57175229d7334c3d8dd1bb850e4c9dcce0ed4af2f3fc6101e4cd39d414ad7eb0d64a98b3060b218060ca87b4e5c34a2dc6f2544ddb4877037fd8fc4b58847822 WHIRLPOOL cba332a1cedc639576f15cb47a70294eda84683015f516d19f9a6b96d156ed7bfafc531a56cdfe96e72a67141783843e9c60a88ecbe943cba2047da351cd9b73
-AUX gnunet-0.9.0_pre0-gentoo.patch 595 SHA256 39e90168adccab4e0e1aa47b53d54c0fb0144b0405f2e676e1548863c6ca27cf SHA512 e661b294cdc2d589859391d735741630dcb6c5843a7b6c51ca8b77cf19dfa5583f8b2c45d60e9814237fb3164458345bbe37f566a5e0bcbbfc430235ef2a8403 WHIRLPOOL 2a56b2c19200041d7afb9ca3073645518cd4f8826a6ec914c5fcc5a414f9b9546b04516e1c088e045742fd6decfbe68e64ee62e74f74ed6169f39fa144146087
-AUX gnunet-0.9.0_pre2-gentoo.patch 703 SHA256 a88bb3fd10f738cd0eccc88f6b8d25d5814ec3f8cef373a70c6967b3ebeeb58f SHA512 fcfffe868bee2de9d741898c6563e922046c81f7c8e2fbb3668365b03b459a9f4c9fbfd4483064e57e869a9be17da2f1ffc170b8d76f02f59650222d7e30b294 WHIRLPOOL fd01db7ff172281bd423bf162947210b838ac87d6a6183af4485000e1515e52c49576a48f77abfa98b8797297c6d067fe81a1fb64157f87809af47d25e93ecfa
-AUX gnunet-2 643 SHA256 a7f43c1a05240593cb828aef66a2ea5fb14aa1d93a4f6cd709054eae1cebe919 SHA512 32e7cef9a85d5a0c255d18b834b66283a5bc20628899af48f4eec5efbc477ba4e3f3b09d0287efcddcf3db077729596fb7f1516e4916bfba5514409a8dd7c999 WHIRLPOOL 75291e845e3330bd357d11e54733176d915bdd7b4a5aa76b5aede6fef2bc9b181abc595b600c2b7a951ebfa799fd2b73c2fba80e8d28c288f48351cdd0c5e6ef
-AUX gnunet-download-manager.scm 13338 SHA256 a49047daf991597c869e43d300808990e3edfdf4f814a3e18b08d763fa84d7aa SHA512 ad8b963035bd8004c4b31059773cbd147c30737542847b53a033ea08a69bfc55afa2c239fc5e27804fce63bbad72b8770eb95d8dc07ab51ab21daeec9f7174cf WHIRLPOOL 30daaa9db0d6bb45831e7075d87fd6ad501b524cf738710fe3c61360fbb0e30a6220059f92c2a2c1764929d31a1f80703f4398560278551393b5a2c9a274df14
-AUX gnunet.initd 643 SHA256 c6748f137d7c808685a741617e1449024bcb37dcfc11e883d859f5e0134744a6 SHA512 37d3e759bd294675c4f0c758700f27af6ac4b6a931e513364a44fa2ac09ba334134f64f83d7d5cd3143e031b5674e297ba9d8df3b419fad3bcc6a0ce34f8e0c8 WHIRLPOOL f156f0663759eed035699dd99e422fd9ea94bd8d0e8074d11e228f5b9ab6968009a1f082b96845c6d38ff247367f78df82d9a0b9fc9fb7f2aef3204ffba8ea9d
-AUX gnunet.initd-0.9.0 1008 SHA256 23c2143d88d57cb892bc9dedab28646c8e87d0ca31995deccec4aa2e1bb80256 SHA512 69ce1d54fd8358afcb4efcc1f79c67b046abe99b69983c8f8b702c3d2ab0525bd3ecfbb2bad61caad9e4a142f844c80fc5f4e4342a99614efdc55a737ff5c801 WHIRLPOOL d6dd498efe93f8978d7491c9b3b88bbdb98719ee1fd227cf611429514f3e3d01d666a4efd4608566d1b5035dabd9e006ddce61a4970243d794726e8abd838db7
-AUX gnunet.initd-0.9.0v2 821 SHA256 32d2027be0cb32459526e18dd1319aef4ec2cc361b4835278b7a97aedd64412a SHA512 44f32fba0f2875c05090381a530994b5704095c317ac5d22a44d798a63c5c3fd348785692e2e04ddcef78d933953e4973462d6b6af47382e9f8d71f6c918e34e WHIRLPOOL 6ff9fe2475c4e01838fe4c36573d948a29dae21bb90c47c9ae4395381d887c89f224fd3e1d2ae6bcdf9c24fb0d38c5e6bcf40f467f5873cad9946d1c429181e6
DIST GNUnet-0.7.0b.tar.bz2 1307550 SHA256 39c493c18dd86ce957bb29a949cb724c018c72b74507dc00d65e2fd8fe9f8eaa
DIST GNUnet-0.7.0e.tar.bz2 1405884 SHA256 eea28505a825ce7404300c9dae25a7ebefbc681fc32082db0f92191ab7e14f18
DIST GNUnet-0.7.1.tar.bz2 1375082 SHA256 e94158a942cfe557974964acb658c35cfeccc09bf9db7f572d1ff39faafdefd8
@@ -33,32 +24,3 @@ DIST gnunet-0.9.1.tar.gz 6084089 SHA256 f83a4a45e96832c01e4b720f0f694df5e70f2071
DIST gnunet-0.9.2.tar.gz 6239795 SHA256 24f5f1cb93782c22bd61ffdc9d99b7cfb2532dc4b6fb7d3468931e5a10eb47e9
DIST gnunet-0.9.3.tar.gz 6520875 SHA256 0f7aa283f53e083e4e38b0c05e41083ee07953e3f7c831ffaab56f4f1a99d6d4 SHA512 e63d78453c9a731c60b79c2cf478bf92776f998a28f3255799f87015e6f7cb736fa4cf65c68898bb197550a59e0fe388ec0b893f7e1855edfe827aadaac58c88 WHIRLPOOL 91200e262e03a9140c6af245c36b8944d00dc50ec6bb92a0467b54d74909af2a6266d6bcde909f7110d1b8f765c3cdd7c7f896caa6f31a28fa5666d69fbaf3fb
DIST gnunet-0.9.5a.tar.gz 7997840 SHA256 1d600717eee1f952e23d192288850a67948e92e0b1dee5d950d111b2670cbed7 SHA512 a47d76455687269a8ae91bc91f12946740dc5f678466268f1d16f5aea90a2b86e71f9085dc713f0d7aaf0633d72837c322f0410d51723b5067dae5fe7205cfbd WHIRLPOOL 976c02da3cf7754ae88ef148c6b265b87357507f6a08f4876e13700547072529d66cb3450503438d0a5ac6d116bb345bd4fcf1bdc0a63f6e95c99938ad2ffdb7
-EBUILD gnunet-0.7.0b.ebuild 3149 SHA256 a18912fda522d67168f28e4cf07dafd0160f3f910e2394fc75a031e94d634cf1 SHA512 6d2b66b8257ea78d80c0c2865aa888992b4a294fd3183ecab8be079c6f263182d9e08864056f38e2a178ae6eba332f3f31542520fcd96a55d2ac5e5ea4cdfc70 WHIRLPOOL 15b75b04ade2c1bdb4d322197ca637f056f7a99c789d342de741d09bd69e69295d4ef4127032cedf18da702dea0f5dc9c550f9eb9014d0c1166d364834aadd2d
-EBUILD gnunet-0.7.0e.ebuild 3210 SHA256 39027b6064e7d4fe8ca36875010ac31026265e528a62cd92af2158e5deb840d7 SHA512 7a93b40f3613f8acc79914268db92259aa286baf4a496580298ce87db731b8ba1dfc6f89808b2cf78b9066269bd8b7a582f931fbfca2998647f8e6107c6c7432 WHIRLPOOL 1e5f5cb5eeae9d122b1fd7ea02806644f77d00b5f6529742beba52dcbab53058ff46dcccc53a6aa14cb724e23d3309eb1922ba901559eb5ac9e88d3e636a252f
-EBUILD gnunet-0.7.1.ebuild 3227 SHA256 290bc9a04483e677a3a8210660791d7686c5e7978594c9f4dcfd79e30229a9f7 SHA512 f4cfffc6f12cfc408fdeb30b0e52c4e2914fe96757c6729f55b3f1be35754ab6dd9a984edb7d41283bece05c3780ad933914c093f610d0e95ae3f0a1e5cc20f6 WHIRLPOOL b407b0eb7534bf1e962ff9b384e60fa33729dac7f396a49d61488ccefa263b77b7d1af9f076451972ca9531ec9fc4adcab6f44689cdf4ad2cb0f44739de989f9
-EBUILD gnunet-0.7.1_pre0.ebuild 3227 SHA256 290bc9a04483e677a3a8210660791d7686c5e7978594c9f4dcfd79e30229a9f7 SHA512 f4cfffc6f12cfc408fdeb30b0e52c4e2914fe96757c6729f55b3f1be35754ab6dd9a984edb7d41283bece05c3780ad933914c093f610d0e95ae3f0a1e5cc20f6 WHIRLPOOL b407b0eb7534bf1e962ff9b384e60fa33729dac7f396a49d61488ccefa263b77b7d1af9f076451972ca9531ec9fc4adcab6f44689cdf4ad2cb0f44739de989f9
-EBUILD gnunet-0.7.1a.ebuild 3227 SHA256 290bc9a04483e677a3a8210660791d7686c5e7978594c9f4dcfd79e30229a9f7 SHA512 f4cfffc6f12cfc408fdeb30b0e52c4e2914fe96757c6729f55b3f1be35754ab6dd9a984edb7d41283bece05c3780ad933914c093f610d0e95ae3f0a1e5cc20f6 WHIRLPOOL b407b0eb7534bf1e962ff9b384e60fa33729dac7f396a49d61488ccefa263b77b7d1af9f076451972ca9531ec9fc4adcab6f44689cdf4ad2cb0f44739de989f9
-EBUILD gnunet-0.7.1b.ebuild 3227 SHA256 290bc9a04483e677a3a8210660791d7686c5e7978594c9f4dcfd79e30229a9f7 SHA512 f4cfffc6f12cfc408fdeb30b0e52c4e2914fe96757c6729f55b3f1be35754ab6dd9a984edb7d41283bece05c3780ad933914c093f610d0e95ae3f0a1e5cc20f6 WHIRLPOOL b407b0eb7534bf1e962ff9b384e60fa33729dac7f396a49d61488ccefa263b77b7d1af9f076451972ca9531ec9fc4adcab6f44689cdf4ad2cb0f44739de989f9
-EBUILD gnunet-0.7.2b.ebuild 3149 SHA256 bce0d68517d429fba04dcc60768462c18cfa18dec3229851ab7d84e4349ac53b SHA512 830cf664b9625e448caf9ccb991f77b122a89d8d9fb3bec81b6a3167c6f0da0b1278df21d40fcf950b8591f04584e9797a618b0ab673d54cc8398b4260e64b96 WHIRLPOOL e0d2c97c26f542f8eefeedfb33c44fd1c8a062e6878727f9647ebc02baffc6d1c8958a52b77f24a754e5222752613efba8fbfefc4f515b15b9d023c53ecc6c11
-EBUILD gnunet-0.7.2c.ebuild 3173 SHA256 80bc8bf5a8fddc759c19f8fe71a061f7fe7bdf7d3519ca1bd9737a0eed6e2939 SHA512 5d647cd21c0f0025abd7093880d79c9e8333e9e035e2dc476db0e3f65caee8269326431bcb56b9dda3e55d5532a3d8bf282b27e700c6656f5aa5de8c34cdd1a9 WHIRLPOOL aba52d190287f74c20c958c8127c4622b20f003f13d15abde8e5916e79a0cbcd6b9aca1ba4ac21bc22e2aa070d7cc79056d4751856ee1225bbde7b8f1f76bf65
-EBUILD gnunet-0.7.3.ebuild 2982 SHA256 85af5e248999ff4ab3585b5cc01c7bab9daf365dc30e094f59244f963612f2d6 SHA512 096fa4d54a7c33fbbb4aa21f01fad7ef0f96258f1bb1f9a83a3ce0dda31f626f96426aac5086b66d57ae56c5475784e7f121403320692a53a7cf94700bbd465a WHIRLPOOL e8a2171da90d19c7aaa80ee7025d7dc6a29803361dd7971eeba1692d2d3efc2c5ea0a6810144e5e270795db400c4bf07aee96a7699b88836266255a1f8142214
-EBUILD gnunet-0.8.0.ebuild 2821 SHA256 ae2c15fee5b7cc8a114e9f3879f82ed3e643f312d99e7eb7f017818fa6ae0f2b SHA512 401687d518b4b2846c5ad2492e9b21a55f61b5023c4494e79a0f8bbff57dfc4f2330d9008e570bf8b37aefb2dbd1798759f2f3aa102fb4d6a8fc8df624854e63 WHIRLPOOL cae2663ac31c174de6082a86a5a3ae91ed1b558332fe355309695cf71ec00ebd7e4939581433617425d5a5785b0f3537b7c86c9e967e05529dfe77be9f37d114
-EBUILD gnunet-0.8.0_pre0.ebuild 2821 SHA256 ae2c15fee5b7cc8a114e9f3879f82ed3e643f312d99e7eb7f017818fa6ae0f2b SHA512 401687d518b4b2846c5ad2492e9b21a55f61b5023c4494e79a0f8bbff57dfc4f2330d9008e570bf8b37aefb2dbd1798759f2f3aa102fb4d6a8fc8df624854e63 WHIRLPOOL cae2663ac31c174de6082a86a5a3ae91ed1b558332fe355309695cf71ec00ebd7e4939581433617425d5a5785b0f3537b7c86c9e967e05529dfe77be9f37d114
-EBUILD gnunet-0.8.0_pre1.ebuild 2821 SHA256 ae2c15fee5b7cc8a114e9f3879f82ed3e643f312d99e7eb7f017818fa6ae0f2b SHA512 401687d518b4b2846c5ad2492e9b21a55f61b5023c4494e79a0f8bbff57dfc4f2330d9008e570bf8b37aefb2dbd1798759f2f3aa102fb4d6a8fc8df624854e63 WHIRLPOOL cae2663ac31c174de6082a86a5a3ae91ed1b558332fe355309695cf71ec00ebd7e4939581433617425d5a5785b0f3537b7c86c9e967e05529dfe77be9f37d114
-EBUILD gnunet-0.8.0a.ebuild 2794 SHA256 dda5221a2d6adf9425812c0fd567f7fb133e22e7341bf52d173034307b2e895f SHA512 27bedcb276072115dbbb72f33dddbbb918eb8eef3aee9fa1130388e8b78449494fb77f55699a283b19bc2efa443b30049694d3f88e3dca4d2ed1b55868227380 WHIRLPOOL e1ddaaabed809770856475a2d2b135fa00cf814ac12a19191488be4818f3e0461c4db0375adb631e57cd3459fd1c0990d62d603d1e9a2bdf4f9c1c57e4ed8254
-EBUILD gnunet-0.8.0b.ebuild 2821 SHA256 76f18bedacf1a5fe1335ec1a91bac203d07a4be8be5a94586372e9ab5473b978 SHA512 b0e3348e2c7a5883391f54a1fc47478f82de3d69b14c70d87db61d8e69c34ba5b0d98e60d482046f80280986f5649912afe844c39c66cf62905ec3797529aa56 WHIRLPOOL 8f0c5498eea8c854467871793f1cc486c9ca162cb5d4fb79e8e0425226394c471ff1b7afa7382bc452195a2cc57ab480dc543d16f3f461d60bc97fb943717993
-EBUILD gnunet-0.8.0c.ebuild 2840 SHA256 e359044dc7c710a10f51d50dd014cccb12811c4a270d981724b73ad93522c7da SHA512 efaac8d168b6d143be41fd5f211173870e541b002111aa1e7e5816095d3b68417abd4b172413a7dcbad5f3a76e58a3d511c3f671b8b5c43d14129dd4bbf05d2a WHIRLPOOL c8014b2e14e1feb174e7f5ef4105dbacb4013b2e71e97fa31cee7e7a475aff1a71a1586cb5549259a85022d695e231c2296408d835020d6fc371b90ece58fdb3
-EBUILD gnunet-0.8.1-r1.ebuild 2721 SHA256 e287618fb46f5b8504c3968ae53c7adad0bbb85353b5a55b739098e7e7f89b37 SHA512 19acb2729a51f15071d9085b4d48d34c9f17a60343937ddac0e77ad08319e8c53e078f36e961056d49ae348e169a41194b3b197dc404d934573813e73bb1179d WHIRLPOOL 9b49b3f8d1d426c8ecb427c09d06dd9af1fbc6a376893425fd4195ce496edd7f684c8e52f3f23d8f1739a15513edddb43b84929d04a8757956b4afda6f47ef8e
-EBUILD gnunet-0.8.1.ebuild 2839 SHA256 c96e68e4c4b2034903582b1c5a6e6942959b6c2bd4e81817c93cfc2431f5e73b SHA512 823e5ca1312bc16704bb8d9047db1e456566bc0f7d338096a5a188dd45e0d477c434d1427698b019c7f0896e8d3faae69668bafa702d064696bd9098c7a5a50b WHIRLPOOL a0edae149ece789f04d1eedfc27da47d2f8fde0138e236f3bcf3f090987552814879cafc9e49b5e816006dec60c50e07c88fa89d211a38dc76e50cf5bad1d1eb
-EBUILD gnunet-0.8.1a.ebuild 2653 SHA256 1c29b1adf4ef3fae461d2112a66d32d0b95eed966078104379b545fa44bb5f01 SHA512 77b4afc6166a705b891bd194ea028614a3d3f68ce366930d31c575b1fc914d0939e561fba9583aea1bcc4f0bb32b6b75564f1991939bfb29059de785c9a30bd6 WHIRLPOOL cab8f9d531e3648642b40965d51f58844cf5f8bf03fca6902024c505ba1003457d8fa78e4e2850fc3723e21f2e812ae82720cf733cb7ee6b5159e500a176ff3e
-EBUILD gnunet-0.8.1b.ebuild 2651 SHA256 891afa18b6da3be2a759f5d898effa2e8ef58470e2d08b2c51f641190bc2b209 SHA512 98a031ab19e14f14aa79cbcad7e7cf665c7aa2693482791acde9c24019ddd28ce9f57eed029cffef85aaab415fa21aefc84f5fd04e4a4af2c1d2e1e178bdc3c9 WHIRLPOOL 15e76e49b1bd60338399ed307fcf5a5803ca99a43422c8136c9b756746fc02d5ec111f93530dc82f833fe35ea6e31ce92960414ece6b8dd3e5524885cc13da29
-EBUILD gnunet-0.9.0.ebuild 1812 SHA256 7336ea4de3e802f980913ee374cb48c9757b8893435ab6fb832bb3a926ed8086 SHA512 c55526a4b03b95b04da924cd38a1123008f0241ebcd9f35233b6f11bd787c3c674450a1807131813dab793edd05ab323815821da5d8a987e8f3cacb2f18539c9 WHIRLPOOL 4ac19f81a6d550b40661369e2be858afb59e299cb4d6dc3baa50a55b86a9c21b62e14c08f35955e5e35c321beba333e5e8bfab2d6758a5b32142046991bcc335
-EBUILD gnunet-0.9.0_pre0.ebuild 2080 SHA256 4b01b22d23159984d8cfb6455e4e32f31f27d6e58445a5fac8278ba62fba02de SHA512 2c3fc86308abd6c33d518a239b13e537ba4f349165800d8ab97682fb0b87510a6f086df0b9ec85b8052440ef537f61b7ef8610e09fb1f573b5fc69bf9d7ad5eb WHIRLPOOL 360a2daae16c69019a8bab8f78673487f46e2b0376325b6715c02b370e4a5c033ace671afdda876a5694e3a60f05e4da9304cfb80b728f4141701ed755cfbce3
-EBUILD gnunet-0.9.0_pre1.ebuild 2094 SHA256 81e3b3af1d9ca4d03b608dded9783a9efc7db3d60d858dfcc1b616bb390aa25c SHA512 d6bc224b0046bf33c4de241272a5a1630be4b230dfa97d347069c07dc0fd9f16b49ccc375baf739ea81f9a4f296a96f8693d1254de49914972aea6edef7117fb WHIRLPOOL 815020334cef5ed9d35114b6d8990e1c0d340d29fbe8fe6f3aa524a9118966e603ced96e75f8c6b2cf98e41e9306e3fcf901a4c3eeede701fc4259bea98e7aec
-EBUILD gnunet-0.9.0_pre2.ebuild 2061 SHA256 c747bebcddc157f69527ddeb09465ee1528091ff354ed82389abb28312b465fb SHA512 d53c8003ec0b2b9f951047884eb674528217234555d342a9fb4906513217066a224a0248b6ce9e30ba50ba0c09339a3ed04f6cb5562af240dc9cbc80a20ede8f WHIRLPOOL 1e1292661b00593f6eb5c73a38a181758b5025e62342533eb4b79596a53cfb1b780aff58633ea633baa44e9d364fafcd91888b341bd2252c385d7af50c8ca8df
-EBUILD gnunet-0.9.1.ebuild 1812 SHA256 7336ea4de3e802f980913ee374cb48c9757b8893435ab6fb832bb3a926ed8086 SHA512 c55526a4b03b95b04da924cd38a1123008f0241ebcd9f35233b6f11bd787c3c674450a1807131813dab793edd05ab323815821da5d8a987e8f3cacb2f18539c9 WHIRLPOOL 4ac19f81a6d550b40661369e2be858afb59e299cb4d6dc3baa50a55b86a9c21b62e14c08f35955e5e35c321beba333e5e8bfab2d6758a5b32142046991bcc335
-EBUILD gnunet-0.9.2.ebuild 1835 SHA256 7d21591925afb359e8dc366b54f4c9cd2b1f16bfa2a8df81fc89d5f1999a9634 SHA512 9bbd726555f4ca24fe08bfd8f13cc104c4cc0a14e4cc2854b6a553f9598e7c5a2d6fffc8f5f52c090533a8afb373d06bf0c075b3c6e2734e0873a80807c6c8c4 WHIRLPOOL 3714d2c716d52607659f434845c99e3de35c6f300051c89bda9c9540b82617ef4033f26f6f53a7377283647c6813b31cad16690988317778023ed5de7b229ba0
-EBUILD gnunet-0.9.3.ebuild 1922 SHA256 a43177b3051e91096af18f0fee1812124c275193e6a6022c6fc43167a4ed0090 SHA512 946fcf64de3f727b874241200257a213b409518dd102d3c19329d423adad30cf2619530f8890e9c51c75ad7fa96dcbd2b303fef3dc50e991f50852d7aef4e2c5 WHIRLPOOL dfc3912f95c790aa1593f63b6880cc725acad868423c364af542dee6a39f6aac513809e3211e4b0870508d71a1bbc16b2fd76a3bbadfa45e86a8659932af94d5
-EBUILD gnunet-0.9.5a.ebuild 1975 SHA256 9873a1896981dca41915ee9398b0a0e5a3aa1fc5cf0203d376f3fcde2139b878 SHA512 cd16c2ff042a960cb89c3c32243a11666fcc56a572632ae9f1c3b402a05e19309f7ac56ced8329cb70ab51fe2b9157b221795b72bc8d73fac03103ef7e8d92d4 WHIRLPOOL b1ee475ce7fe1320dad1e89944402ef7665daebb1698c35caac05736c0ab3f94a2469acf32e2847f8794863e145718e5f3e6ef0c43cae800685cf6789150487e
-MISC ChangeLog 900 SHA256 a44bd2d2db1e0ff5062ee7b7db9b16b65f752274bc372ce1c0a61f2f3fe09a63 SHA512 bdbaafb6ee48b77e2c0cc9e442a1a9c84641ed06663525b6786098b6722a44bc6eb296323e00582dd8a8807a58269600075b9aa047303cb11f8704f2e7e26734 WHIRLPOOL 9e76921124ac796c9f4c4ae395c0cd9c9c3e2aec192a5dc18e4eae16664c74d94775010b299f1f125ff42e8c539f09a4831f8e2efac9509ab0de52d2112bc26e
-MISC metadata.xml 248 SHA256 4b2054d5a81c4bb0803bb3bb477d63e698ef1c8257d1611917a9ec2eae53079d SHA512 6e079d3fa210525ac15080bd95d8e099eea7c57887d7e1de6a895339212ad76a8e05d87562ae714a82395919538c09149c343065a8b81bb7081023cf3ea28a0b WHIRLPOOL e97467c959e15882b807e80eb97c62806c308302dcdd174f4ed3f6c3732e1a3b9ec79a381322f5c6a6f322f6faf7096d74fe435f600266fb51994e7e19f13bc1
diff --git a/net-p2p/kamailio/Manifest b/net-p2p/kamailio/Manifest
deleted file mode 100644
index e3add046..00000000
--- a/net-p2p/kamailio/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-EBUILD kamailio-9999.ebuild 584 SHA256 19871cbeb6403a5404166eb8b3760543a927f0238e521bc59f24f2e6bc4a0f8e SHA512 530b49431db877fbff5f4ba36624514d232d596667ee03999b5f9d071180efb3dccfc7ea4ad3ddbea0209d6fc2a6dda01a775b90a778cd5669bc577f9601971d WHIRLPOOL d2656c768546e7d300055c10c3d9c44bb20c2beafa8332da98ae6919b7e5d8fdae17ea32b4b5c766ab3e0e6becf3c1ebaf7665daa06cdc48c852a3ba3bf84376
diff --git a/net-p2p/transmission-base/Manifest b/net-p2p/transmission-base/Manifest
new file mode 100644
index 00000000..507ab281
--- /dev/null
+++ b/net-p2p/transmission-base/Manifest
@@ -0,0 +1,2 @@
+DIST transmission-2.83.tar.xz 3136752 SHA256 b0e1b050167e7f71b68e01a8d55b984a828fe880df9abfbc6281cb2a0d7d1433 SHA512 a3f56c434282d70d9d373d99410de738f15a350f394c0984150b7d9ea2eda1c0485bf26ab740f433d0271f882edabe5609266e704e55792a7015225da0186fda WHIRLPOOL 2dfeae51acf6a14dbd6374336cc0d4cc09a7387e72a63683785d1bdba36693f68770af7826af36e2be1e7e8e3d4920d77a5b582b801f4997721557161e31959c
+DIST transmission-2.84.tar.xz 3077836 SHA256 a9fc1936b4ee414acc732ada04e84339d6755cd0d097bcbd11ba2cfc540db9eb SHA512 d6c2b17e7f8180a41ac70f5b503dfdb0353c6419db25df1b393b18c987c56fda9e2fd4c3f4cda7f08c301877bd0b4711842c28121ceaaaae87f5792cc6c29a3d WHIRLPOOL 375f9c981d9d2ac308896e8b7d66d3643796c8e97d64a1e0d6fd2bffaafa55988b90ddb4eb98330edf062e835c0c5ce76749e7e66bf6806333673beb7569f342
diff --git a/net-p2p/transmission-base/metadata.xml b/net-p2p/transmission-base/metadata.xml
new file mode 100644
index 00000000..bd4c7ae8
--- /dev/null
+++ b/net-p2p/transmission-base/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>slawomir.nizio@sabayon.org</email>
+ <description>maintainer for split Transmission ebuilds based on Gentoo one</description>
+ </maintainer>
+ <use>
+ <flag name='lightweight'>Optimize transmission for low-resource systems (smaller cache size, prefer unencrypted peer connections, etc.)</flag>
+ <flag name='xfs'>Enable XFS filesystem capabilities by using <pkg>sys-fs/xfsprogs</pkg> headers (in building of fdlimit(.c))</flag>
+ </use>
+</pkgmetadata>
diff --git a/net-p2p/transmission-base/transmission-base-2.83.ebuild b/net-p2p/transmission-base/transmission-base-2.83.ebuild
new file mode 100644
index 00000000..0bea92bb
--- /dev/null
+++ b/net-p2p/transmission-base/transmission-base-2.83.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+inherit transmission-2.83
+
+DESCRIPTION="A Fast, Easy and Free BitTorrent client - base files"
+KEYWORDS="~amd64 ~x86"
+IUSE="lightweight xfs"
+
+DEPEND="xfs? ( sys-fs/xfsprogs )"
+
+DOCS="AUTHORS NEWS"
+
+src_install() {
+ default
+ rm "${ED}"/usr/share/${MY_PN}/web/LICENSE || die
+
+ keepdir /var/{lib/${MY_PN}/{config,downloads},log/${MY_PN}}
+ fowners -R ${MY_PN}:${MY_PN} /var/{lib/${MY_PN}/{,config,downloads},log/${MY_PN}}
+ dolib.a "${S}/libtransmission/libtransmission.a"
+}
diff --git a/net-p2p/transmission-base/transmission-base-2.84.ebuild b/net-p2p/transmission-base/transmission-base-2.84.ebuild
new file mode 100644
index 00000000..6adf5928
--- /dev/null
+++ b/net-p2p/transmission-base/transmission-base-2.84.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+inherit transmission-2.84
+
+DESCRIPTION="A Fast, Easy and Free BitTorrent client - base files"
+KEYWORDS="~amd64 ~x86"
+IUSE="lightweight xfs"
+
+DEPEND="xfs? ( sys-fs/xfsprogs )"
+
+DOCS="AUTHORS NEWS"
+
+src_install() {
+ default
+ rm "${ED}"/usr/share/${MY_PN}/web/LICENSE || die
+
+ keepdir /var/{lib/${MY_PN}/{config,downloads},log/${MY_PN}}
+ fowners -R ${MY_PN}:${MY_PN} /var/{lib/${MY_PN}/{,config,downloads},log/${MY_PN}}
+ dolib.a "${S}/libtransmission/libtransmission.a"
+}
diff --git a/net-p2p/transmission-cli/Manifest b/net-p2p/transmission-cli/Manifest
new file mode 100644
index 00000000..507ab281
--- /dev/null
+++ b/net-p2p/transmission-cli/Manifest
@@ -0,0 +1,2 @@
+DIST transmission-2.83.tar.xz 3136752 SHA256 b0e1b050167e7f71b68e01a8d55b984a828fe880df9abfbc6281cb2a0d7d1433 SHA512 a3f56c434282d70d9d373d99410de738f15a350f394c0984150b7d9ea2eda1c0485bf26ab740f433d0271f882edabe5609266e704e55792a7015225da0186fda WHIRLPOOL 2dfeae51acf6a14dbd6374336cc0d4cc09a7387e72a63683785d1bdba36693f68770af7826af36e2be1e7e8e3d4920d77a5b582b801f4997721557161e31959c
+DIST transmission-2.84.tar.xz 3077836 SHA256 a9fc1936b4ee414acc732ada04e84339d6755cd0d097bcbd11ba2cfc540db9eb SHA512 d6c2b17e7f8180a41ac70f5b503dfdb0353c6419db25df1b393b18c987c56fda9e2fd4c3f4cda7f08c301877bd0b4711842c28121ceaaaae87f5792cc6c29a3d WHIRLPOOL 375f9c981d9d2ac308896e8b7d66d3643796c8e97d64a1e0d6fd2bffaafa55988b90ddb4eb98330edf062e835c0c5ce76749e7e66bf6806333673beb7569f342
diff --git a/net-p2p/transmission-cli/metadata.xml b/net-p2p/transmission-cli/metadata.xml
new file mode 100644
index 00000000..d55995ce
--- /dev/null
+++ b/net-p2p/transmission-cli/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>slawomir.nizio@sabayon.org</email>
+ <description>maintainer for split Transmission ebuilds based on Gentoo one</description>
+ </maintainer>
+</pkgmetadata>
diff --git a/net-p2p/transmission-cli/transmission-cli-2.83.ebuild b/net-p2p/transmission-cli/transmission-cli-2.83.ebuild
new file mode 100644
index 00000000..3aedd0c0
--- /dev/null
+++ b/net-p2p/transmission-cli/transmission-cli-2.83.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+inherit eutils transmission-2.83
+
+DESCRIPTION="A Fast, Easy and Free BitTorrent client - command line (CLI) version"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+src_install() {
+ dobin cli/transmission-cli
+ doman cli/transmission-cli.1
+}
diff --git a/net-p2p/transmission-cli/transmission-cli-2.84.ebuild b/net-p2p/transmission-cli/transmission-cli-2.84.ebuild
new file mode 100644
index 00000000..f8aec4e7
--- /dev/null
+++ b/net-p2p/transmission-cli/transmission-cli-2.84.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+inherit eutils transmission-2.84
+
+DESCRIPTION="A Fast, Easy and Free BitTorrent client - command line (CLI) version"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+src_install() {
+ dobin cli/transmission-cli
+ doman cli/transmission-cli.1
+}
diff --git a/net-p2p/transmission-daemon/Manifest b/net-p2p/transmission-daemon/Manifest
new file mode 100644
index 00000000..507ab281
--- /dev/null
+++ b/net-p2p/transmission-daemon/Manifest
@@ -0,0 +1,2 @@
+DIST transmission-2.83.tar.xz 3136752 SHA256 b0e1b050167e7f71b68e01a8d55b984a828fe880df9abfbc6281cb2a0d7d1433 SHA512 a3f56c434282d70d9d373d99410de738f15a350f394c0984150b7d9ea2eda1c0485bf26ab740f433d0271f882edabe5609266e704e55792a7015225da0186fda WHIRLPOOL 2dfeae51acf6a14dbd6374336cc0d4cc09a7387e72a63683785d1bdba36693f68770af7826af36e2be1e7e8e3d4920d77a5b582b801f4997721557161e31959c
+DIST transmission-2.84.tar.xz 3077836 SHA256 a9fc1936b4ee414acc732ada04e84339d6755cd0d097bcbd11ba2cfc540db9eb SHA512 d6c2b17e7f8180a41ac70f5b503dfdb0353c6419db25df1b393b18c987c56fda9e2fd4c3f4cda7f08c301877bd0b4711842c28121ceaaaae87f5792cc6c29a3d WHIRLPOOL 375f9c981d9d2ac308896e8b7d66d3643796c8e97d64a1e0d6fd2bffaafa55988b90ddb4eb98330edf062e835c0c5ce76749e7e66bf6806333673beb7569f342
diff --git a/net-p2p/transmission-daemon/files/transmission-daemon.confd.4 b/net-p2p/transmission-daemon/files/transmission-daemon.confd.4
new file mode 100644
index 00000000..8f3b1317
--- /dev/null
+++ b/net-p2p/transmission-daemon/files/transmission-daemon.confd.4
@@ -0,0 +1,14 @@
+# This is the transmission-daemon configuration file. For other options and
+# better explanation, take a look at transmission-daemon manual page Note: it's
+# better to configure some settings (like username/password) in
+# /var/lib/transmission/config/settings.json to avoid other users see it with `ps`
+
+TRANSMISSION_OPTIONS="--encryption-preferred"
+
+# Run daemon as another user (username or username:groupname)
+# If you change this setting, chown -R /var/lib/transmission/config <and download directory, check web settings>
+#runas_user=transmission
+
+# Location of logfile (should be writeable for runas_user user)
+# Set logfile=syslog to use syslog for logging
+#logfile=/var/log/transmission/transmission.log
diff --git a/net-p2p/transmission-daemon/files/transmission-daemon.initd.9 b/net-p2p/transmission-daemon/files/transmission-daemon.initd.9
new file mode 100644
index 00000000..3c4914c5
--- /dev/null
+++ b/net-p2p/transmission-daemon/files/transmission-daemon.initd.9
@@ -0,0 +1,73 @@
+#!/sbin/runscript
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/files/transmission-daemon.initd.9,v 1.1 2013/09/07 12:10:01 ssuominen Exp $
+
+extra_started_commands="reload"
+description="Transmission is a fast, easy and free bittorrent client"
+description_start="Start transmission-daemon server and web interface"
+description_stop="Stop transmission-daemon server and web interface"
+description_reload="Reload transmission-daemon settings"
+
+rundir=${rundir:-/var/run/transmission}
+pidfile=${pidfile:-${rundir}/transmission.pid}
+config_dir=${config_dir:-/var/lib/transmission/config}
+download_dir=${download_dir:-/var/lib/transmission/downloads}
+logfile=${logfile:-/var/log/transmission/transmission.log}
+runas_user=${runas_user:-transmission:transmission}
+
+SSD_OPTIONS=""
+
+depend() {
+ need net
+}
+
+check_config() {
+ if [ ! -d "${rundir}" ]; then
+ mkdir "${rundir}"
+ if [ -n "${runas_user}" ]; then
+ chown -R ${runas_user} "${rundir}"
+ fi
+ fi
+
+ # In case no config directory option passed use default
+ if ! $(echo ${TRANSMISSION_OPTIONS} | grep -q -e '\B-g' -e '\B--config-dir'); then
+ TRANSMISSION_OPTIONS="${TRANSMISSION_OPTIONS} --config-dir ${config_dir}"
+ # put download dir location on first run (and take it from config later)
+ if [ ! -f ${config_dir}/settings.json ]; then
+ TRANSMISSION_OPTIONS="${TRANSMISSION_OPTIONS} --download-dir ${download_dir}"
+ fi
+ fi
+
+ if [ -n "${runas_user}" ]; then
+ if [ -f /etc/init.d/sysfs ]; then
+ SSD_OPTIONS="${SSD_OPTIONS} --user ${runas_user}"
+ else
+ SSD_OPTIONS="${SSD_OPTIONS} --chuid ${runas_user}"
+ fi
+ fi
+}
+
+start() {
+ check_config
+
+ ebegin "Starting transmission daemon"
+ start-stop-daemon --start --quiet --pidfile ${pidfile} ${SSD_OPTIONS} \
+ --exec /usr/bin/transmission-daemon -- --pid-file ${pidfile} \
+ $(test ${logfile} != "syslog" && echo --logfile ${logfile}) \
+ ${TRANSMISSION_OPTIONS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping transmission daemon"
+ start-stop-daemon --stop --quiet --retry TERM/45/QUIT/15 --pidfile ${pidfile}
+ eend $?
+}
+
+reload() {
+ ebegin "Reloading transmission configuration"
+ start-stop-daemon --signal HUP --pidfile ${pidfile}
+ eend $?
+}
+
diff --git a/net-p2p/transmission-daemon/metadata.xml b/net-p2p/transmission-daemon/metadata.xml
new file mode 100644
index 00000000..d55995ce
--- /dev/null
+++ b/net-p2p/transmission-daemon/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>slawomir.nizio@sabayon.org</email>
+ <description>maintainer for split Transmission ebuilds based on Gentoo one</description>
+ </maintainer>
+</pkgmetadata>
diff --git a/net-p2p/transmission-daemon/transmission-daemon-2.83.ebuild b/net-p2p/transmission-daemon/transmission-daemon-2.83.ebuild
new file mode 100644
index 00000000..fb41d025
--- /dev/null
+++ b/net-p2p/transmission-daemon/transmission-daemon-2.83.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+inherit systemd transmission-2.83
+
+DESCRIPTION="A Fast, Easy and Free BitTorrent client - daemon"
+KEYWORDS="~amd64 ~x86"
+IUSE="systemd"
+
+RDEPEND="systemd? ( sys-apps/systemd )"
+DEPEND="${RDEPEND}"
+
+src_install() {
+ dobin daemon/transmission-daemon
+ dobin daemon/transmission-remote
+
+ doman daemon/transmission-daemon.1
+ doman daemon/transmission-remote.1
+
+ newinitd "${FILESDIR}"/${MY_PN}-daemon.initd.9 ${MY_PN}-daemon
+ newconfd "${FILESDIR}"/${MY_PN}-daemon.confd.4 ${MY_PN}-daemon
+ systemd_dounit daemon/${MY_PN}-daemon.service
+}
diff --git a/net-p2p/transmission-daemon/transmission-daemon-2.84.ebuild b/net-p2p/transmission-daemon/transmission-daemon-2.84.ebuild
new file mode 100644
index 00000000..36d7dee4
--- /dev/null
+++ b/net-p2p/transmission-daemon/transmission-daemon-2.84.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+inherit systemd transmission-2.84
+
+DESCRIPTION="A Fast, Easy and Free BitTorrent client - daemon"
+KEYWORDS="~amd64 ~x86"
+IUSE="systemd"
+
+RDEPEND="systemd? ( sys-apps/systemd:= )"
+DEPEND="${RDEPEND}"
+
+src_install() {
+ dobin daemon/transmission-daemon
+ dobin daemon/transmission-remote
+
+ doman daemon/transmission-daemon.1
+ doman daemon/transmission-remote.1
+
+ newinitd "${FILESDIR}"/${MY_PN}-daemon.initd.9 ${MY_PN}-daemon
+ newconfd "${FILESDIR}"/${MY_PN}-daemon.confd.4 ${MY_PN}-daemon
+ systemd_dounit daemon/${MY_PN}-daemon.service
+}
diff --git a/net-p2p/transmission-gtk/Manifest b/net-p2p/transmission-gtk/Manifest
new file mode 100644
index 00000000..507ab281
--- /dev/null
+++ b/net-p2p/transmission-gtk/Manifest
@@ -0,0 +1,2 @@
+DIST transmission-2.83.tar.xz 3136752 SHA256 b0e1b050167e7f71b68e01a8d55b984a828fe880df9abfbc6281cb2a0d7d1433 SHA512 a3f56c434282d70d9d373d99410de738f15a350f394c0984150b7d9ea2eda1c0485bf26ab740f433d0271f882edabe5609266e704e55792a7015225da0186fda WHIRLPOOL 2dfeae51acf6a14dbd6374336cc0d4cc09a7387e72a63683785d1bdba36693f68770af7826af36e2be1e7e8e3d4920d77a5b582b801f4997721557161e31959c
+DIST transmission-2.84.tar.xz 3077836 SHA256 a9fc1936b4ee414acc732ada04e84339d6755cd0d097bcbd11ba2cfc540db9eb SHA512 d6c2b17e7f8180a41ac70f5b503dfdb0353c6419db25df1b393b18c987c56fda9e2fd4c3f4cda7f08c301877bd0b4711842c28121ceaaaae87f5792cc6c29a3d WHIRLPOOL 375f9c981d9d2ac308896e8b7d66d3643796c8e97d64a1e0d6fd2bffaafa55988b90ddb4eb98330edf062e835c0c5ce76749e7e66bf6806333673beb7569f342
diff --git a/net-p2p/transmission-gtk/metadata.xml b/net-p2p/transmission-gtk/metadata.xml
new file mode 100644
index 00000000..d55995ce
--- /dev/null
+++ b/net-p2p/transmission-gtk/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>slawomir.nizio@sabayon.org</email>
+ <description>maintainer for split Transmission ebuilds based on Gentoo one</description>
+ </maintainer>
+</pkgmetadata>
diff --git a/net-p2p/transmission-gtk/transmission-gtk-2.83.ebuild b/net-p2p/transmission-gtk/transmission-gtk-2.83.ebuild
new file mode 100644
index 00000000..4a6b9615
--- /dev/null
+++ b/net-p2p/transmission-gtk/transmission-gtk-2.83.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+inherit eutils transmission-2.83
+
+DESCRIPTION="A Fast, Easy and Free BitTorrent client - Gtk+ UI"
+KEYWORDS="~amd64 ~x86"
+IUSE="ayatana"
+
+RDEPEND="
+ >=dev-libs/dbus-glib-0.100:=
+ >=dev-libs/glib-2.32:2=
+ >=x11-libs/gtk+-3.4:3=
+ ayatana? ( >=dev-libs/libappindicator-0.4.90:3= )
+ !net-p2p/transmission-gtk+
+"
+
+src_install() {
+ # avoid file conflicts with transmission-base
+ # this way gives the corrent layout of /usr/share/icon/... icon files
+ emake DESTDIR="${T}" install
+
+ cd "${T}"
+ dobin usr/bin/transmission-gtk
+ doman usr/share/man/man1/transmission-gtk.1
+ doicon usr/share/pixmaps/transmission.png
+
+ insinto /usr/share/applications
+ doins usr/share/applications/transmission-gtk.desktop
+
+ local mypath
+ # locale
+ for mypath in usr/share/locale/*/LC_MESSAGES/transmission-gtk.mo; do
+ if [ -f "$mypath" ]; then
+ insinto "${mypath%/*}"
+ doins "$mypath"
+ fi
+ done
+
+ # and finally icons directory
+ for mypath in usr/share/icons/hicolor/*/apps/transmission.{png,svg}; do
+ if [ -f "$mypath" ]; then
+ insinto "${mypath%/*}"
+ doins "$mypath"
+ fi
+ done
+}
diff --git a/net-p2p/transmission-gtk/transmission-gtk-2.84.ebuild b/net-p2p/transmission-gtk/transmission-gtk-2.84.ebuild
new file mode 100644
index 00000000..394b9853
--- /dev/null
+++ b/net-p2p/transmission-gtk/transmission-gtk-2.84.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+inherit eutils transmission-2.84
+
+DESCRIPTION="A Fast, Easy and Free BitTorrent client - Gtk+ UI"
+KEYWORDS="~amd64 ~x86"
+IUSE="ayatana"
+
+RDEPEND="
+ >=dev-libs/dbus-glib-0.100:=
+ >=dev-libs/glib-2.32:2=
+ >=x11-libs/gtk+-3.4:3=
+ ayatana? ( >=dev-libs/libappindicator-0.4.90:3= )
+ !net-p2p/transmission-gtk+
+"
+
+src_install() {
+ # avoid file conflicts with transmission-base
+ # this way gives the corrent layout of /usr/share/icon/... icon files
+ emake DESTDIR="${T}" install
+
+ cd "${T}"
+ dobin usr/bin/transmission-gtk
+ doman usr/share/man/man1/transmission-gtk.1
+ doicon usr/share/pixmaps/transmission.png
+
+ insinto /usr/share/applications
+ doins usr/share/applications/transmission-gtk.desktop
+
+ local mypath
+ # locale
+ for mypath in usr/share/locale/*/LC_MESSAGES/transmission-gtk.mo; do
+ if [ -f "$mypath" ]; then
+ insinto "${mypath%/*}"
+ doins "$mypath"
+ fi
+ done
+
+ # and finally icons directory
+ for mypath in usr/share/icons/hicolor/*/apps/transmission.{png,svg}; do
+ if [ -f "$mypath" ]; then
+ insinto "${mypath%/*}"
+ doins "$mypath"
+ fi
+ done
+}
diff --git a/net-p2p/transmission-qt4/Manifest b/net-p2p/transmission-qt4/Manifest
new file mode 100644
index 00000000..507ab281
--- /dev/null
+++ b/net-p2p/transmission-qt4/Manifest
@@ -0,0 +1,2 @@
+DIST transmission-2.83.tar.xz 3136752 SHA256 b0e1b050167e7f71b68e01a8d55b984a828fe880df9abfbc6281cb2a0d7d1433 SHA512 a3f56c434282d70d9d373d99410de738f15a350f394c0984150b7d9ea2eda1c0485bf26ab740f433d0271f882edabe5609266e704e55792a7015225da0186fda WHIRLPOOL 2dfeae51acf6a14dbd6374336cc0d4cc09a7387e72a63683785d1bdba36693f68770af7826af36e2be1e7e8e3d4920d77a5b582b801f4997721557161e31959c
+DIST transmission-2.84.tar.xz 3077836 SHA256 a9fc1936b4ee414acc732ada04e84339d6755cd0d097bcbd11ba2cfc540db9eb SHA512 d6c2b17e7f8180a41ac70f5b503dfdb0353c6419db25df1b393b18c987c56fda9e2fd4c3f4cda7f08c301877bd0b4711842c28121ceaaaae87f5792cc6c29a3d WHIRLPOOL 375f9c981d9d2ac308896e8b7d66d3643796c8e97d64a1e0d6fd2bffaafa55988b90ddb4eb98330edf062e835c0c5ce76749e7e66bf6806333673beb7569f342
diff --git a/net-p2p/transmission-qt4/files/transmission-qt4-2.80-translations-path-fix.patch b/net-p2p/transmission-qt4/files/transmission-qt4-2.80-translations-path-fix.patch
new file mode 100644
index 00000000..48638010
--- /dev/null
+++ b/net-p2p/transmission-qt4/files/transmission-qt4-2.80-translations-path-fix.patch
@@ -0,0 +1,17 @@
+This patch was adapted from -2.77-transmations-path-fix.patch for 2.80
+
+Fix path for finding locale-specific files:
+QCoreApplication::applicationDirPath() transforms to '/usr/bin'
+and locale files are in '/usr/share/qt4/translations'
+
+--- qt/app.cc
++++ qt/app.cc
+@@ -98,7 +98,7 @@
+ installTranslator (&qtTranslator);
+
+ // install the transmission translator
+- appTranslator.load (QString (MY_CONFIG_NAME) + "_" + QLocale::system ().name (), QCoreApplication::applicationDirPath () + "/translations");
++ appTranslator.load (QString (MY_CONFIG_NAME) + "_" + QLocale::system ().name (), QLibraryInfo::location(QLibraryInfo::TranslationsPath) );
+ installTranslator (&appTranslator);
+
+ Formatter::initUnits ();
diff --git a/net-p2p/transmission-qt4/metadata.xml b/net-p2p/transmission-qt4/metadata.xml
new file mode 100644
index 00000000..d55995ce
--- /dev/null
+++ b/net-p2p/transmission-qt4/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>slawomir.nizio@sabayon.org</email>
+ <description>maintainer for split Transmission ebuilds based on Gentoo one</description>
+ </maintainer>
+</pkgmetadata>
diff --git a/net-p2p/transmission-qt4/transmission-qt4-2.83.ebuild b/net-p2p/transmission-qt4/transmission-qt4-2.83.ebuild
new file mode 100644
index 00000000..17154818
--- /dev/null
+++ b/net-p2p/transmission-qt4/transmission-qt4-2.83.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+TRANSMISSION_PATCHES=(
+ # Fix for broken translations path
+ "${FILESDIR}"/${PN}-2.80-translations-path-fix.patch
+)
+inherit eutils transmission-2.83
+
+DESCRIPTION="A Fast, Easy and Free BitTorrent client - Qt4 UI"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-qt/qtcore:4=
+ dev-qt/qtgui:4=
+ dev-qt/qtdbus:4=
+"
+DEPEND="${RDEPEND}"
+
+src_install() {
+ pushd qt >/dev/null
+ dodoc README.txt
+
+ dobin transmission-qt
+ doman transmission-qt.1
+
+ domenu ${MY_PN}-qt.desktop || die
+
+ local res
+ for res in 16 22 24 32 48 64 72 96 128 192 256; do
+ doicon -s ${res} icons/hicolor/${res}x${res}/${MY_PN}-qt.png
+ done
+ doicon -s scalable icons/hicolor/scalable/${MY_PN}-qt.svg
+
+ insinto /usr/share/qt4/translations
+ doins translations/*.qm
+ popd >/dev/null
+}
diff --git a/net-p2p/transmission-qt4/transmission-qt4-2.84.ebuild b/net-p2p/transmission-qt4/transmission-qt4-2.84.ebuild
new file mode 100644
index 00000000..008ba988
--- /dev/null
+++ b/net-p2p/transmission-qt4/transmission-qt4-2.84.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+TRANSMISSION_PATCHES=(
+ # Fix for broken translations path
+ "${FILESDIR}"/${PN}-2.80-translations-path-fix.patch
+)
+inherit eutils transmission-2.84
+
+DESCRIPTION="A Fast, Easy and Free BitTorrent client - Qt4 UI"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-qt/qtcore:4=
+ dev-qt/qtgui:4=
+ dev-qt/qtdbus:4=
+"
+DEPEND="${RDEPEND}"
+
+src_install() {
+ pushd qt >/dev/null
+ dodoc README.txt
+
+ dobin transmission-qt
+ doman transmission-qt.1
+
+ domenu ${MY_PN}-qt.desktop || die
+
+ local res
+ for res in 16 22 24 32 48 64 72 96 128 192 256; do
+ doicon -s ${res} icons/hicolor/${res}x${res}/${MY_PN}-qt.png
+ done
+ doicon -s scalable icons/hicolor/scalable/${MY_PN}-qt.svg
+
+ insinto /usr/share/qt4/translations
+ doins translations/*.qm
+ popd >/dev/null
+}
diff --git a/net-p2p/transmission/metadata.xml b/net-p2p/transmission/metadata.xml
new file mode 100644
index 00000000..bd4c7ae8
--- /dev/null
+++ b/net-p2p/transmission/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>slawomir.nizio@sabayon.org</email>
+ <description>maintainer for split Transmission ebuilds based on Gentoo one</description>
+ </maintainer>
+ <use>
+ <flag name='lightweight'>Optimize transmission for low-resource systems (smaller cache size, prefer unencrypted peer connections, etc.)</flag>
+ <flag name='xfs'>Enable XFS filesystem capabilities by using <pkg>sys-fs/xfsprogs</pkg> headers (in building of fdlimit(.c))</flag>
+ </use>
+</pkgmetadata>
diff --git a/net-p2p/transmission/transmission-2.83.ebuild b/net-p2p/transmission/transmission-2.83.ebuild
new file mode 100644
index 00000000..3363f4b2
--- /dev/null
+++ b/net-p2p/transmission/transmission-2.83.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+inherit transmission-2.83
+
+DESCRIPTION="A BitTorrent client (meta package)"
+#HOMEPAGE="http://www.transmissionbt.com/"
+SRC_URI=""
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ayatana gtk lightweight systemd qt4 xfs"
+
+RDEPEND="
+ ~net-p2p/transmission-base-${PV}[lightweight=,xfs=]
+ gtk? (
+ ~net-p2p/transmission-gtk-${PV}[ayatana=]
+ )
+ !gtk? (
+ ~net-p2p/transmission-cli-${PV}
+ )"
diff --git a/net-p2p/transmission/transmission-2.84.ebuild b/net-p2p/transmission/transmission-2.84.ebuild
new file mode 100644
index 00000000..2e83db75
--- /dev/null
+++ b/net-p2p/transmission/transmission-2.84.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+inherit transmission-2.84
+
+DESCRIPTION="A BitTorrent client (meta package)"
+#HOMEPAGE="http://www.transmissionbt.com/"
+SRC_URI=""
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ayatana gtk lightweight systemd qt4 xfs"
+
+RDEPEND="
+ ~net-p2p/transmission-base-${PV}[lightweight=,xfs=]
+ gtk? (
+ ~net-p2p/transmission-gtk-${PV}[ayatana=]
+ )
+ !gtk? (
+ ~net-p2p/transmission-cli-${PV}
+ )"
diff --git a/net-p2p/wuala/Manifest b/net-p2p/wuala/Manifest
index 1779c9ac..ad5d0457 100644
--- a/net-p2p/wuala/Manifest
+++ b/net-p2p/wuala/Manifest
@@ -1,2 +1 @@
DIST wuala.tar.gz 321761 SHA256 c4f8b763db67670505a54d2b227891fd2ed4a73717b473d0c3b201de51afdedc SHA512 130f77843fc835e2a2b3b70bccdbf74439e5008f03c92a3ccc934be0aabdace145f02165f27fc49809849eabc9cc66b18d05921669475350bf58f02d828dd91d WHIRLPOOL c3a7ac54885109df869434ecdafc782c8b25fc01aea85ea67148cb1bf9d7a6d0f3f900943450cad4220a4adb522d3dfb584eb9b8b68fce57372ed470b56e6f3d
-EBUILD wuala-0_pre20120716.ebuild 757 SHA256 d09d26b719e08077c491ebe249fec118f0a8ea6192e33c533770c28a899b2e42 SHA512 cb64141db9538a417d77325b6940084951385d79790c65748a718b24240fdafe2b4dd3f0111d8b8366981908ca2f9687e1c276e74acf48f52f8fde917e7d4e4a WHIRLPOOL 039ef7a6bd03dc7b10a9aad500856b45eac47db072f95593dba528643e08980ea07b8fceee2f300ba0566c2a25e60def8c1c9a5966524cd5af2dcc69e38654fe
diff --git a/profiles/updates/1Q-2011 b/profiles/updates/1Q-2011
deleted file mode 100644
index 2e76e57f..00000000
--- a/profiles/updates/1Q-2011
+++ /dev/null
@@ -1 +0,0 @@
-slotmove kde-misc/kgrubeditor 0 4
diff --git a/profiles/updates/1Q-2012 b/profiles/updates/1Q-2012
deleted file mode 100644
index f0267890..00000000
--- a/profiles/updates/1Q-2012
+++ /dev/null
@@ -1,3 +0,0 @@
-move sys-kernel/linux-beagleboard sys-kernel/linux-beaglebone
-move sys-kernel/beagleboard-sources sys-kernel/beaglebone-sources
-move net-p2p/transmission-gtk+ net-p2p/transmission-gtk
diff --git a/profiles/updates/1Q-2013 b/profiles/updates/1Q-2013
deleted file mode 100644
index f2b56997..00000000
--- a/profiles/updates/1Q-2013
+++ /dev/null
@@ -1,22 +0,0 @@
-move dev-util/qt-creator dev-qt/qt-creator
-move x11-libs/qt-assistant dev-qt/qthelp
-move x11-libs/qt-bearer dev-qt/qtbearer
-move x11-libs/qt-core dev-qt/qtcore
-move x11-libs/qt-dbus dev-qt/qtdbus
-move x11-libs/qt-declarative dev-qt/qtdeclarative
-move x11-libs/qt-demo dev-qt/qtdemo
-move x11-libs/qt-gui dev-qt/qtgui
-move x11-libs/qt-meta dev-qt/qt-meta
-move x11-libs/qt-mobility dev-qt/qt-mobility
-move x11-libs/qt-multimedia dev-qt/qtmultimedia
-move x11-libs/qt-opengl dev-qt/qtopengl
-move x11-libs/qt-openvg dev-qt/qtopenvg
-move x11-libs/qt-phonon dev-qt/qtphonon
-move x11-libs/qt-qt3support dev-qt/qt3support
-move x11-libs/qt-script dev-qt/qtscript
-move x11-libs/qt-sql dev-qt/qtsql
-move x11-libs/qt-svg dev-qt/qtsvg
-move x11-libs/qt-test dev-qt/qttest
-move x11-libs/qt-webkit dev-qt/qtwebkit
-move x11-libs/qt-xmlpatterns dev-qt/qtxmlpatterns
-move net-wireless/b43-firmware sys-firmware/b43-firmware
diff --git a/profiles/updates/2Q-2009 b/profiles/updates/2Q-2009
deleted file mode 100644
index 71849bcb..00000000
--- a/profiles/updates/2Q-2009
+++ /dev/null
@@ -1 +0,0 @@
-move media-video/xbmc media-tv/xbmc
diff --git a/profiles/updates/2Q-2011 b/profiles/updates/2Q-2011
deleted file mode 100644
index 3c0fa4ab..00000000
--- a/profiles/updates/2Q-2011
+++ /dev/null
@@ -1,255 +0,0 @@
-slotmove kde-misc/kcm-cgc 0 4
-move kde-base/kde-l10n-meta kde-base/kde-l10n
-move kde-misc/kcm-cgc kde-misc/kcm-gtk-config
-slotmove kde-base/kde-l10n 4.3 4
-slotmove kde-base/kde-l10n-ar 4.3 4
-slotmove kde-base/kde-l10n-bg 4.3 4
-slotmove kde-base/kde-l10n-bn_IN 4.3 4
-slotmove kde-base/kde-l10n-ca 4.3 4
-slotmove kde-base/kde-l10n-cs 4.3 4
-slotmove kde-base/kde-l10n-csb 4.3 4
-slotmove kde-base/kde-l10n-da 4.3 4
-slotmove kde-base/kde-l10n-de 4.3 4
-slotmove kde-base/kde-l10n-el 4.3 4
-slotmove kde-base/kde-l10n-en_GB 4.3 4
-slotmove kde-base/kde-l10n-es 4.3 4
-slotmove kde-base/kde-l10n-et 4.3 4
-slotmove kde-base/kde-l10n-eu 4.3 4
-slotmove kde-base/kde-l10n-fi 4.3 4
-slotmove kde-base/kde-l10n-fr 4.3 4
-slotmove kde-base/kde-l10n-ga 4.3 4
-slotmove kde-base/kde-l10n-gl 4.3 4
-slotmove kde-base/kde-l10n-gu 4.3 4
-slotmove kde-base/kde-l10n-he 4.3 4
-slotmove kde-base/kde-l10n-hi 4.3 4
-slotmove kde-base/kde-l10n-hne 4.3 4
-slotmove kde-base/kde-l10n-hr 4.3 4
-slotmove kde-base/kde-l10n-hu 4.3 4
-slotmove kde-base/kde-l10n-ia 4.3 4
-slotmove kde-base/kde-l10n-id 4.3 4
-slotmove kde-base/kde-l10n-is 4.3 4
-slotmove kde-base/kde-l10n-it 4.3 4
-slotmove kde-base/kde-l10n-ja 4.3 4
-slotmove kde-base/kde-l10n-kk 4.3 4
-slotmove kde-base/kde-l10n-km 4.3 4
-slotmove kde-base/kde-l10n-kn 4.3 4
-slotmove kde-base/kde-l10n-ko 4.3 4
-slotmove kde-base/kde-l10n-ku 4.3 4
-slotmove kde-base/kde-l10n-lt 4.3 4
-slotmove kde-base/kde-l10n-lv 4.3 4
-slotmove kde-base/kde-l10n-mk 4.3 4
-slotmove kde-base/kde-l10n-ml 4.3 4
-slotmove kde-base/kde-l10n-mr 4.3 4
-slotmove kde-base/kde-l10n-nb 4.3 4
-slotmove kde-base/kde-l10n-nds 4.3 4
-slotmove kde-base/kde-l10n-nl 4.3 4
-slotmove kde-base/kde-l10n-nn 4.3 4
-slotmove kde-base/kde-l10n-pa 4.3 4
-slotmove kde-base/kde-l10n-pl 4.3 4
-slotmove kde-base/kde-l10n-pt 4.3 4
-slotmove kde-base/kde-l10n-pt_BR 4.3 4
-slotmove kde-base/kde-l10n-ro 4.3 4
-slotmove kde-base/kde-l10n-ru 4.3 4
-slotmove kde-base/kde-l10n-sk 4.3 4
-slotmove kde-base/kde-l10n-sl 4.3 4
-slotmove kde-base/kde-l10n-sr 4.3 4
-slotmove kde-base/kde-l10n-sv 4.3 4
-slotmove kde-base/kde-l10n-tg 4.3 4
-slotmove kde-base/kde-l10n-th 4.3 4
-slotmove kde-base/kde-l10n-tr 4.3 4
-slotmove kde-base/kde-l10n-uk 4.3 4
-slotmove kde-base/kde-l10n-wa 4.3 4
-slotmove kde-base/kde-l10n-zh_CN 4.3 4
-slotmove kde-base/kde-l10n-zh_TW 4.3 4
-slotmove kde-base/kde-l10n 4.4 4
-slotmove kde-base/kde-l10n-ar 4.4 4
-slotmove kde-base/kde-l10n-bg 4.4 4
-slotmove kde-base/kde-l10n-bn_IN 4.4 4
-slotmove kde-base/kde-l10n-ca 4.4 4
-slotmove kde-base/kde-l10n-cs 4.4 4
-slotmove kde-base/kde-l10n-csb 4.4 4
-slotmove kde-base/kde-l10n-da 4.4 4
-slotmove kde-base/kde-l10n-de 4.4 4
-slotmove kde-base/kde-l10n-el 4.4 4
-slotmove kde-base/kde-l10n-en_GB 4.4 4
-slotmove kde-base/kde-l10n-es 4.4 4
-slotmove kde-base/kde-l10n-et 4.4 4
-slotmove kde-base/kde-l10n-eu 4.4 4
-slotmove kde-base/kde-l10n-fi 4.4 4
-slotmove kde-base/kde-l10n-fr 4.4 4
-slotmove kde-base/kde-l10n-ga 4.4 4
-slotmove kde-base/kde-l10n-gl 4.4 4
-slotmove kde-base/kde-l10n-gu 4.4 4
-slotmove kde-base/kde-l10n-he 4.4 4
-slotmove kde-base/kde-l10n-hi 4.4 4
-slotmove kde-base/kde-l10n-hne 4.4 4
-slotmove kde-base/kde-l10n-hr 4.4 4
-slotmove kde-base/kde-l10n-hu 4.4 4
-slotmove kde-base/kde-l10n-ia 4.4 4
-slotmove kde-base/kde-l10n-id 4.4 4
-slotmove kde-base/kde-l10n-is 4.4 4
-slotmove kde-base/kde-l10n-it 4.4 4
-slotmove kde-base/kde-l10n-ja 4.4 4
-slotmove kde-base/kde-l10n-kk 4.4 4
-slotmove kde-base/kde-l10n-km 4.4 4
-slotmove kde-base/kde-l10n-kn 4.4 4
-slotmove kde-base/kde-l10n-ko 4.4 4
-slotmove kde-base/kde-l10n-ku 4.4 4
-slotmove kde-base/kde-l10n-lt 4.4 4
-slotmove kde-base/kde-l10n-lv 4.4 4
-slotmove kde-base/kde-l10n-mk 4.4 4
-slotmove kde-base/kde-l10n-ml 4.4 4
-slotmove kde-base/kde-l10n-mr 4.4 4
-slotmove kde-base/kde-l10n-nb 4.4 4
-slotmove kde-base/kde-l10n-nds 4.4 4
-slotmove kde-base/kde-l10n-nl 4.4 4
-slotmove kde-base/kde-l10n-nn 4.4 4
-slotmove kde-base/kde-l10n-pa 4.4 4
-slotmove kde-base/kde-l10n-pl 4.4 4
-slotmove kde-base/kde-l10n-pt 4.4 4
-slotmove kde-base/kde-l10n-pt_BR 4.4 4
-slotmove kde-base/kde-l10n-ro 4.4 4
-slotmove kde-base/kde-l10n-ru 4.4 4
-slotmove kde-base/kde-l10n-sk 4.4 4
-slotmove kde-base/kde-l10n-sl 4.4 4
-slotmove kde-base/kde-l10n-sr 4.4 4
-slotmove kde-base/kde-l10n-sv 4.4 4
-slotmove kde-base/kde-l10n-tg 4.4 4
-slotmove kde-base/kde-l10n-th 4.4 4
-slotmove kde-base/kde-l10n-tr 4.4 4
-slotmove kde-base/kde-l10n-uk 4.4 4
-slotmove kde-base/kde-l10n-wa 4.4 4
-slotmove kde-base/kde-l10n-zh_CN 4.4 4
-slotmove kde-base/kde-l10n-zh_TW 4.4 4
-slotmove kde-base/kde-l10n 4.5 4
-slotmove kde-base/kde-l10n-ar 4.5 4
-slotmove kde-base/kde-l10n-bg 4.5 4
-slotmove kde-base/kde-l10n-bn_IN 4.5 4
-slotmove kde-base/kde-l10n-ca 4.5 4
-slotmove kde-base/kde-l10n-cs 4.5 4
-slotmove kde-base/kde-l10n-csb 4.5 4
-slotmove kde-base/kde-l10n-da 4.5 4
-slotmove kde-base/kde-l10n-de 4.5 4
-slotmove kde-base/kde-l10n-el 4.5 4
-slotmove kde-base/kde-l10n-en_GB 4.5 4
-slotmove kde-base/kde-l10n-es 4.5 4
-slotmove kde-base/kde-l10n-et 4.5 4
-slotmove kde-base/kde-l10n-eu 4.5 4
-slotmove kde-base/kde-l10n-fi 4.5 4
-slotmove kde-base/kde-l10n-fr 4.5 4
-slotmove kde-base/kde-l10n-ga 4.5 4
-slotmove kde-base/kde-l10n-gl 4.5 4
-slotmove kde-base/kde-l10n-gu 4.5 4
-slotmove kde-base/kde-l10n-he 4.5 4
-slotmove kde-base/kde-l10n-hi 4.5 4
-slotmove kde-base/kde-l10n-hne 4.5 4
-slotmove kde-base/kde-l10n-hr 4.5 4
-slotmove kde-base/kde-l10n-hu 4.5 4
-slotmove kde-base/kde-l10n-ia 4.5 4
-slotmove kde-base/kde-l10n-id 4.5 4
-slotmove kde-base/kde-l10n-is 4.5 4
-slotmove kde-base/kde-l10n-it 4.5 4
-slotmove kde-base/kde-l10n-ja 4.5 4
-slotmove kde-base/kde-l10n-kk 4.5 4
-slotmove kde-base/kde-l10n-km 4.5 4
-slotmove kde-base/kde-l10n-kn 4.5 4
-slotmove kde-base/kde-l10n-ko 4.5 4
-slotmove kde-base/kde-l10n-ku 4.5 4
-slotmove kde-base/kde-l10n-lt 4.5 4
-slotmove kde-base/kde-l10n-lv 4.5 4
-slotmove kde-base/kde-l10n-mk 4.5 4
-slotmove kde-base/kde-l10n-ml 4.5 4
-slotmove kde-base/kde-l10n-mr 4.5 4
-slotmove kde-base/kde-l10n-nb 4.5 4
-slotmove kde-base/kde-l10n-nds 4.5 4
-slotmove kde-base/kde-l10n-nl 4.5 4
-slotmove kde-base/kde-l10n-nn 4.5 4
-slotmove kde-base/kde-l10n-pa 4.5 4
-slotmove kde-base/kde-l10n-pl 4.5 4
-slotmove kde-base/kde-l10n-pt 4.5 4
-slotmove kde-base/kde-l10n-pt_BR 4.5 4
-slotmove kde-base/kde-l10n-ro 4.5 4
-slotmove kde-base/kde-l10n-ru 4.5 4
-slotmove kde-base/kde-l10n-sk 4.5 4
-slotmove kde-base/kde-l10n-sl 4.5 4
-slotmove kde-base/kde-l10n-sr 4.5 4
-slotmove kde-base/kde-l10n-sv 4.5 4
-slotmove kde-base/kde-l10n-tg 4.5 4
-slotmove kde-base/kde-l10n-th 4.5 4
-slotmove kde-base/kde-l10n-tr 4.5 4
-slotmove kde-base/kde-l10n-uk 4.5 4
-slotmove kde-base/kde-l10n-wa 4.5 4
-slotmove kde-base/kde-l10n-zh_CN 4.5 4
-slotmove kde-base/kde-l10n-zh_TW 4.5 4
-slotmove kde-base/kde-l10n 4.6 4
-slotmove kde-base/kde-l10n-ar 4.6 4
-slotmove kde-base/kde-l10n-bg 4.6 4
-slotmove kde-base/kde-l10n-bn_IN 4.6 4
-slotmove kde-base/kde-l10n-ca 4.6 4
-slotmove kde-base/kde-l10n-cs 4.6 4
-slotmove kde-base/kde-l10n-csb 4.6 4
-slotmove kde-base/kde-l10n-da 4.6 4
-slotmove kde-base/kde-l10n-de 4.6 4
-slotmove kde-base/kde-l10n-el 4.6 4
-slotmove kde-base/kde-l10n-en_GB 4.6 4
-slotmove kde-base/kde-l10n-es 4.6 4
-slotmove kde-base/kde-l10n-et 4.6 4
-slotmove kde-base/kde-l10n-eu 4.6 4
-slotmove kde-base/kde-l10n-fi 4.6 4
-slotmove kde-base/kde-l10n-fr 4.6 4
-slotmove kde-base/kde-l10n-ga 4.6 4
-slotmove kde-base/kde-l10n-gl 4.6 4
-slotmove kde-base/kde-l10n-gu 4.6 4
-slotmove kde-base/kde-l10n-he 4.6 4
-slotmove kde-base/kde-l10n-hi 4.6 4
-slotmove kde-base/kde-l10n-hne 4.6 4
-slotmove kde-base/kde-l10n-hr 4.6 4
-slotmove kde-base/kde-l10n-hu 4.6 4
-slotmove kde-base/kde-l10n-ia 4.6 4
-slotmove kde-base/kde-l10n-id 4.6 4
-slotmove kde-base/kde-l10n-is 4.6 4
-slotmove kde-base/kde-l10n-it 4.6 4
-slotmove kde-base/kde-l10n-ja 4.6 4
-slotmove kde-base/kde-l10n-kk 4.6 4
-slotmove kde-base/kde-l10n-km 4.6 4
-slotmove kde-base/kde-l10n-kn 4.6 4
-slotmove kde-base/kde-l10n-ko 4.6 4
-slotmove kde-base/kde-l10n-ku 4.6 4
-slotmove kde-base/kde-l10n-lt 4.6 4
-slotmove kde-base/kde-l10n-lv 4.6 4
-slotmove kde-base/kde-l10n-mk 4.6 4
-slotmove kde-base/kde-l10n-ml 4.6 4
-slotmove kde-base/kde-l10n-mr 4.6 4
-slotmove kde-base/kde-l10n-nb 4.6 4
-slotmove kde-base/kde-l10n-nds 4.6 4
-slotmove kde-base/kde-l10n-nl 4.6 4
-slotmove kde-base/kde-l10n-nn 4.6 4
-slotmove kde-base/kde-l10n-pa 4.6 4
-slotmove kde-base/kde-l10n-pl 4.6 4
-slotmove kde-base/kde-l10n-pt 4.6 4
-slotmove kde-base/kde-l10n-pt_BR 4.6 4
-slotmove kde-base/kde-l10n-ro 4.6 4
-slotmove kde-base/kde-l10n-ru 4.6 4
-slotmove kde-base/kde-l10n-sk 4.6 4
-slotmove kde-base/kde-l10n-sl 4.6 4
-slotmove kde-base/kde-l10n-sr 4.6 4
-slotmove kde-base/kde-l10n-sv 4.6 4
-slotmove kde-base/kde-l10n-tg 4.6 4
-slotmove kde-base/kde-l10n-th 4.6 4
-slotmove kde-base/kde-l10n-tr 4.6 4
-slotmove kde-base/kde-l10n-uk 4.6 4
-slotmove kde-base/kde-l10n-wa 4.6 4
-slotmove kde-base/kde-l10n-zh_CN 4.6 4
-slotmove kde-base/kde-l10n-zh_TW 4.6 4
-slotmove kde-base/kdm 4.3 4
-slotmove kde-base/kdm 4.4 4
-slotmove kde-base/kdm 4.5 4
-slotmove kde-base/kdm 4.6 4
-slotmove kde-base/oxygen-icons 4.3 4
-slotmove kde-base/oxygen-icons 4.4 4
-slotmove kde-base/oxygen-icons 4.5 4
-slotmove kde-base/oxygen-icons 4.6 4
-
-move sys-kernel/linux-firmwares sys-kernel/linux-firmware
-
-move app-text/cookbug sys-apps/cookbug
diff --git a/profiles/updates/2Q-2013 b/profiles/updates/2Q-2013
deleted file mode 100644
index 8b08267f..00000000
--- a/profiles/updates/2Q-2013
+++ /dev/null
@@ -1,7 +0,0 @@
-move sys-fs/zfs-userspace sys-fs/zfs
-move sys-kernel/genkernel sys-kernel/genkernel-next
-move sys-kernel/beagle-sources sys-kernel/kogaion-sources
-move sys-kernel/panda-sources sys-kernel/kogaion-sources
-move sys-kernel/linux-beagle sys-kernel/linux-kogaion
-move sys-kernel/linux-panda sys-kernel/linux-kogaion
-move app-misc/kogaionlive-tools app-misc/kogaion-live
diff --git a/profiles/updates/3Q-2011 b/profiles/updates/3Q-2011
deleted file mode 100644
index bfea8a6f..00000000
--- a/profiles/updates/3Q-2011
+++ /dev/null
@@ -1 +0,0 @@
-slotmove kde-misc/entropy-kioslaves 0 4
diff --git a/profiles/updates/4Q-2010 b/profiles/updates/4Q-2010
deleted file mode 100644
index 0922b0b9..00000000
--- a/profiles/updates/4Q-2010
+++ /dev/null
@@ -1,4 +0,0 @@
-move sys-kernel/linux-server-sources sys-kernel/server-sources
-move sys-kernel/linux-kogaion-sources sys-kernel/kogaion-sources
-move app-cdr/lacie-lightscribe-labeler app-cdr/lightscribe-lacie
-move app-cdr/lightscribe app-cdr/lightscribe-simplelabeler
diff --git a/sys-kernel/kogaion-sources/kogaion-sources-3.14.45.ebuild b/sys-kernel/kogaion-sources/kogaion-sources-3.14.45.ebuild
new file mode 100644
index 00000000..69db2638
--- /dev/null
+++ b/sys-kernel/kogaion-sources/kogaion-sources-3.14.45.ebuild
@@ -0,0 +1,23 @@
+# Copyright 2004-2013 Sabayon Linux
+# Copyright 2004-2014 Kogaion, Argent and ArgOS Linux
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+K_ROGKERNEL_NAME="kogaion"
+K_ROGKERNEL_URI_CONFIG="yes"
+K_ROGKERNEL_SELF_TARBALL_NAME="kogaion"
+K_ONLY_SOURCES="1"
+K_ROGKERNEL_FORCE_SUBLEVEL="0"
+K_KERNEL_NEW_VERSIONING="1"
+
+inherit kogaion-kernel
+
+KEYWORDS="~amd64 ~arm ~x86"
+DESCRIPTION="Official Kogaion Linux Standard kernel sources"
+RESTRICT="mirror"
+IUSE="sources_standalone"
+
+DEPEND="${DEPEND}
+ sources_standalone? ( !=sys-kernel/linux-kogaion-${PVR} )
+ !sources_standalone? ( =sys-kernel/linux-kogaion-${PVR} )"
diff --git a/sys-kernel/linux-kogaion/linux-kogaion-3.14.45.ebuild b/sys-kernel/linux-kogaion/linux-kogaion-3.14.45.ebuild
new file mode 100644
index 00000000..a8ff21b3
--- /dev/null
+++ b/sys-kernel/linux-kogaion/linux-kogaion-3.14.45.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2004-2013 Sabayon Linux
+# Copyright 2015 Kogaion
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit versionator
+
+K_ROGKERNEL_SELF_TARBALL_NAME="kogaion"
+K_REQUIRED_LINUX_FIRMWARE_VER="20150320"
+K_ROGKERNEL_FORCE_SUBLEVEL="0"
+K_ROGKERNEL_PATCH_UPSTREAM_TARBALL="0"
+
+_ver="$(get_version_component_range 1-2)"
+if use arm; then
+ K_KERNEL_IMAGE_NAME="uImage dtbs"
+elif [ "${_ver}" = "3.9" ]; then
+ K_ROGKERNEL_ZFS="1"
+fi
+K_KERNEL_NEW_VERSIONING="1"
+
+K_MKIMAGE_RAMDISK_ADDRESS="0x81000000"
+K_MKIMAGE_RAMDISK_ENTRYPOINT="0x00000000"
+K_MKIMAGE_KERNEL_ADDRESS="0x80008000"
+
+inherit kogaion-kernel
+
+KEYWORDS="~amd64 ~x86"
+DESCRIPTION="Official Kogaion Linux Standard kernel image"
+RESTRICT="mirror"
diff --git a/sys-kernel/linux-live-brrc/Manifest b/sys-kernel/linux-live-brrc/Manifest
new file mode 100644
index 00000000..adea3d1a
--- /dev/null
+++ b/sys-kernel/linux-live-brrc/Manifest
@@ -0,0 +1 @@
+DIST linux-3.14.tar.xz 78399152 SHA256 61558aa490855f42b6340d1a1596be47454909629327c49a5e4e10268065dffa SHA512 5730d83a7a81134c1e77c0bf89e42dee4f8251ad56c1ac2be20c59e26fdfaa7bea55f277e7af156b637f22e1584914a46089af85039177cb43485089c74ac26e WHIRLPOOL 5ad07b78c362ba0b21c50b4abb99407cae06bd08576f3fd8f36047b01409eba096263208020da3dcad4977eefc61d66502276754097bc127635df1d7a5817d41
diff --git a/sys-kernel/linux-live-brrc/linux-live-brrc-3.14.30.ebuild b/sys-kernel/linux-live-brrc/linux-live-brrc-3.14.30.ebuild
new file mode 100644
index 00000000..4ebdafa0
--- /dev/null
+++ b/sys-kernel/linux-live-brrc/linux-live-brrc-3.14.30.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2004-2013 Sabayon Linux
+# Copyright 2015 Kogaion
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit versionator
+
+K_ROGKERNEL_SELF_TARBALL_NAME="live-brrc"
+K_REQUIRED_LINUX_FIRMWARE_VER="20150320"
+K_ROGKERNEL_FORCE_SUBLEVEL="0"
+K_ROGKERNEL_PATCH_UPSTREAM_TARBALL="0"
+
+_ver="$(get_version_component_range 1-2)"
+if use arm; then
+ K_KERNEL_IMAGE_NAME="uImage dtbs"
+elif [ "${_ver}" = "3.9" ]; then
+ K_ROGKERNEL_ZFS="1"
+fi
+K_KERNEL_NEW_VERSIONING="1"
+
+K_MKIMAGE_RAMDISK_ADDRESS="0x81000000"
+K_MKIMAGE_RAMDISK_ENTRYPOINT="0x00000000"
+K_MKIMAGE_KERNEL_ADDRESS="0x80008000"
+
+inherit argent-kernel
+
+KEYWORDS="~amd64 ~x86"
+DESCRIPTION="Official Kogaion Live Linux Standard kernel image"
+RESTRICT="mirror"
diff --git a/sys-kernel/linux-live-brrc/linux-live-brrc.skel b/sys-kernel/linux-live-brrc/linux-live-brrc.skel
new file mode 100644
index 00000000..aeae1309
--- /dev/null
+++ b/sys-kernel/linux-live-brrc/linux-live-brrc.skel
@@ -0,0 +1,30 @@
+# Copyright 2004-2013 Sabayon Linux
+# Copyright 2015 Kogaion
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit versionator
+
+K_ROGKERNEL_SELF_TARBALL_NAME="live-brrc"
+K_REQUIRED_LINUX_FIRMWARE_VER="20150320"
+K_ROGKERNEL_FORCE_SUBLEVEL="0"
+K_ROGKERNEL_PATCH_UPSTREAM_TARBALL="0"
+
+_ver="$(get_version_component_range 1-2)"
+if use arm; then
+ K_KERNEL_IMAGE_NAME="uImage dtbs"
+elif [ "${_ver}" = "3.9" ]; then
+ K_ROGKERNEL_ZFS="1"
+fi
+K_KERNEL_NEW_VERSIONING="1"
+
+K_MKIMAGE_RAMDISK_ADDRESS="0x81000000"
+K_MKIMAGE_RAMDISK_ENTRYPOINT="0x00000000"
+K_MKIMAGE_KERNEL_ADDRESS="0x80008000"
+
+inherit kogaion-kernel
+
+KEYWORDS="~amd64 ~x86"
+DESCRIPTION="Official Kogaion Linux Standard kernel image"
+RESTRICT="mirror"
diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
new file mode 100644
index 00000000..21679669
--- /dev/null
+++ b/www-client/firefox/Manifest
@@ -0,0 +1,84 @@
+DIST firefox-31.0-patches-0.2.tar.xz 4636 SHA256 fdcd4e68093fb905af06cd89aad7042f8a4e695dea9c184351945fcb5872a062 SHA512 2fee84ac6027a1e1317470112df54fef411596a522bca756f82c525b13ba952015e71f2aa05a807fec04c3bd092e8cbebd0c2349e0dc4950b329a88811b00151 WHIRLPOOL 59dc5f3457dc2a0c0c83a0128063da00d127cee13487b112064368de7d98438b7ffeb1dfe362080eca6a82af4834f3e27c6bd887e51b5d59c728ae124b26114d
+DIST firefox-31.7.0esr-af.xpi 431089 SHA256 9b90171ca31d767403cf874b96895e49ba71114bcef4f0f48125ef8062bf1ad8 SHA512 cd37c8255bf688d9ad93e03978469eb0b2f529bcacbb737eda213f8dd11301a73bb0117904d781a938dc9b7213a60125b3de3d54e335273af7ca6263e01cbd5e WHIRLPOOL ea6f29c42ff508d03e0f518cab643f772fdfe1e4d363fa5389ed6bb69718ec97d4efc32a38f7ac7d15a8c4868c8df41ea045e935b9a0e5bd8f0e948945f595a3
+DIST firefox-31.7.0esr-ar.xpi 459824 SHA256 a2c08b2724a2582e432bc3442b650a30491efed3b434d790bfd03af66f1182fb SHA512 4824c3fdd17cb06fa8191f55be3b50890d0eac5f7d5196629c22778b5e4a21450a8a0490e192cf206f300d143a7621b7c3859c1edd45a3af435ae80e47434e58 WHIRLPOOL 799cafc8da9c67fb1029bf0744864164d310b3fd4f8a95e53aa8865ac00ac9fe2b0140b9247b4a963844f07e935f3bfb1cafa4d8b7ee5baa1ddeb4c852e8ab2d
+DIST firefox-31.7.0esr-as.xpi 448568 SHA256 837e0bbb261f288d765d64a5ba320cebb53d6b85fc64e4a5cb5866cec6d393dc SHA512 50d990dfc847e9cd8a1c3db159622fa42b7e2bedff039c0d9f43bec9cbad1a64867c61558b5067fd730501ed2485f767474d654f40f1426317b661c814b08478 WHIRLPOOL 1a94f348d77c2040f8299c63727564e1b50e00426e330f795c98467f9bf46b01665e8cecf28009208d208aeec2a7f66fc040bdf2d4bbe7a335ab96aef3888925
+DIST firefox-31.7.0esr-ast.xpi 352340 SHA256 53182a51b3b39f14af5742eb23a2d6392c8982e99baf2fd874ff5f592c536c72 SHA512 177bbd118f261cb53b3ec70d03c3d98d5dbcf2c4e1f674d38373021d99d9ab329a049d44d316fee8c14c347efe375047582935fade416068b6b27951ed78e7c1 WHIRLPOOL d182b04abfd7037e7329da942160593b3c1e5ece2310b74aa2218eedb1b400aef2cbea10213bd4e24c1768cfea779ccd0d3d5cb92ac33fb1b03870a71349c659
+DIST firefox-31.7.0esr-be.xpi 378668 SHA256 a9fbbbe0f55e3a66b23f39a607caa86cc3a2d75618bf421049ce8a0fc989b0f1 SHA512 c45b27f90c4b2e71347ad9c95242a4ff5b3f985ac1e4a76a355166a259f0973241223a48f3d3b94b2850aac9cffd7979ca975830ac9e702b23fd2fa57e0bbe19 WHIRLPOOL 0a11e3ba5a20625aa98dc5808edcc0cbcd8eabed94a3a5da4a2effc941b9ee2f91a3d3366b1601094dc93e712c352d0b6b642125eab0600ad92bd22d3d9f5a9c
+DIST firefox-31.7.0esr-bg.xpi 438061 SHA256 a5b3ca6b806c7fd3abc2012a54d7a711dc4b5dc0e74feee7db64d4d12a9f090b SHA512 99be638a1316b357f8e6ffb1732b458376a9c81d47c124ddc784816e346e7342f50b4af62bd87e3da06c2b3da1b0a69c03ca4eba1fab9184107521d33686fb52 WHIRLPOOL 9afd4b5079e5197de823300ecfb1599e4bdd1411ab0dd09512515c057004354cd647b1923d5e724034c6f1a80a4e23ca5fc4412df6bb68db7d80f640cf11d688
+DIST firefox-31.7.0esr-bn-BD.xpi 472626 SHA256 35ec629d0252a452689e2081013d47ef472e8d690c6d400489adca943a816028 SHA512 d1f672ef92e3fdeb290926486c27dfe45f71f88a3881228c6e2b4135698d660eb60f85d16b8d48cf13937600a391e0838115cd80d1a9d58ad624a7355eda73c9 WHIRLPOOL c565c162c3e90a3e3c51d2fddf4acf5c877368da2378a460c32e7389855236987bffdf852440ab47d5be39b8325f4fcdf6e22c403b99a1acfa834c7441ee1968
+DIST firefox-31.7.0esr-bn-IN.xpi 462593 SHA256 74e81096becea929294b831ca9ae5d27885873ce0c1fc55ac10bd3e7c898c67a SHA512 e2d44ccd706199d6c19003609cfc3a5a5c144e48d257e22d502dc6d79bdf7b423492f3e020a5234490b2a523386a8fca3cdeeacf658923107eca593668866556 WHIRLPOOL 1502f5ed57a2f2de716d63ef3c87cf710b13a778826f338fe729245f5a4d4b5e52ee83aeb5f339362547fb13811749bb254dc2bfc1f9a370aec2253c3af82e25
+DIST firefox-31.7.0esr-br.xpi 389704 SHA256 787d8460434e0404d3b41aec55874433a1b62393ceda146c12ca69e3e08de1e0 SHA512 88d61acbdb7cf6856f17b0daa801eb130ef652461f57607376b32481b0aa01a21e5dd0d97f5933695df88de4ae734c017c670ca8889908144d83f7ee3ca87764 WHIRLPOOL 9a3dc2463ef85100fc90184d65f946e9ef9ec383961165d4ba00032c9503f37527491ba9dc90b4e348f23e6dac0891b8e513b38159ffd3f5f8a12eeb52abc9d7
+DIST firefox-31.7.0esr-bs.xpi 429014 SHA256 55c147fb777304da501c93c5f9118eecf96a355b112bce2b7d1d481a7246718a SHA512 ce4ac4a8b4042c45867aa432c017f43fb05ae85c153930b53025d98895141570e5d2b26a05129c3157755281f68565820d37a70aa80defec1423588aae5dcc6f WHIRLPOOL 45307c6b4412aeed29c7b8bd89ef5c9d6834f91d148fe8c1fb173b101b3944cea9297703c22d404235f2d22ef2e44df28f839fdd5433fff1788c2338e5eb7b64
+DIST firefox-31.7.0esr-ca.xpi 403575 SHA256 98442d2eca73b4e49a2316b1229c245e95d9e44c1548a2dd59967da9a2ca1d12 SHA512 833e2c799b9b0e211ac31e65febcaa8d351c134a46890ae7b07d3f5932de908c578210a50e4f95512834c688477a47f7af3e9a0e9ae0778dae4f3716bc9f4a67 WHIRLPOOL 1c71b3bd5e8adc3e9567c5a8b79c220367d58b8bf690d7643aa4bee39b0e5e69b36fd5a47e5e1032d3c10e2b93b3c9b0d4dafeb9049850fbe433aa90458ae3e2
+DIST firefox-31.7.0esr-cs.xpi 390979 SHA256 d5a667efd1b3ae7f7f019c60d9783c2df7ccc31b26d192a0dd6135f1ddd53002 SHA512 68ff62d9b7c4535c5d4cbf75bc352cd5758f36417adf80518d3d94773321a08be0361077e9ade6d6a1b4cf102f257b15de49610857909a1b658157692c276d86 WHIRLPOOL 8adc7a26660b20a73e03113cf9a0e80a734010c610141e004476255ba36015e537095f6d4029fa10961d5fe210fdbc1b2eb2b179d3e8e344011a8ac1b755782e
+DIST firefox-31.7.0esr-csb.xpi 383695 SHA256 244cb21b264752c1c51d3b633822a409854e7805ebf3238d64505f9a9ea07de3 SHA512 fdd6dcbd7ee96bd5d14674b9aaef0090af3c71794d86dd37756edf02cd2367360d8bcc1d78c3a7ae06481dd547575addf6eef9df646a1cb7f7067c55ee2b29e0 WHIRLPOOL 46160df2cba06640693e2c658a8e7d221a300a9b7de382f02f2b4f7ff28a45224fe720f22a77d924b92cfc2899e0dd2e4646d4bb1145b19fa00bd6894c2e88ae
+DIST firefox-31.7.0esr-cy.xpi 390727 SHA256 894d27928c7c8be1889a400d950e6cfd750612256d48523a16ab78cc3a62705a SHA512 82df0ae531930b6c3a455f16ab4149037ca881637e98450fcd274035909e26bed592593597a9b5aec085b9f55bffd45b9c37ba9c8342bbc78f7d77ccc9b8e91e WHIRLPOOL c555d7948829c8a68b3b74d3153601af50c34995980d8c99495c6fcec86ff182f483a5f8cf7472f5a04d95796771aaead11f4005a19f27b126c7749740fb5e67
+DIST firefox-31.7.0esr-da.xpi 397747 SHA256 2c04601b1a1927d70cf08429d641f056b7cd9bc5a0b0b4af2cf41da39fbab056 SHA512 b3dc5b2ecbebbd4d2807549859ff76e805af2ed8893652dc02eabcf272ec9ca033c1c7426de76b6d123997d2b7403d8baf9df84fabd6a04a178a713b8261cb0c WHIRLPOOL 583850ec304afc3c3a669137175d3babdcac7c9772fae0f92c6c20282fce77a2be33417ec565399320f3fac258e39baa5e4011f86a9e8aef96b86138bd2ee1cb
+DIST firefox-31.7.0esr-de.xpi 395165 SHA256 0942a9e3108c73904248f5883031db8c9b1533ad7d1fb99b56278c10412252a5 SHA512 c133d90e08b9393105ad4180239ef170e6411b2424cd0b98046ddcae0c328ee1d8442063de0e731c8d64d58ec28153b056d87731589fb65dcac4b74ce833bafa WHIRLPOOL 2e9bbd07d9e47b5cef38b3af18b2f54102f820c64f5c37475e97d62bebaca39ac6143a8a754a29da9605415f56a0e3bfb3406df6907c92da1fa8df1985dc6e22
+DIST firefox-31.7.0esr-el.xpi 442982 SHA256 9338bd6441506040fbf43dde73751010a897117850da56a7f74eafb49ecae868 SHA512 e7836492918851c37c89f6211314cad8e9b79f61722622e23ef97441b780b4e87cd438543bf6e9ff93abc880113b19da289dccb25dc93381f519059d516d82f3 WHIRLPOOL b4b3e7c634ca99488936d6c8edd58e59ed57f4bbbcba5438ddae769ead3355932fbfa7fedc6cb4144e52d985c19c12c523936e159b498fa94bcaff70c46d9b57
+DIST firefox-31.7.0esr-en-GB.xpi 390119 SHA256 62a0eab5307fd1bf8edeb650f88e2b5583bc97d3ad09d055fcceded267f70e16 SHA512 b7806d6e1d8c3f7c49ec84ec9c13c236caf82ae308728b563ae98131205dc8adbe05b51deb4eb8ade00435f4ed485eda8f2813c93cea702f40674282e2c6a9d1 WHIRLPOOL 5381dcabf0b76693bd5812b14258986127232824efc2f2897174ba54a93e4b16a20c0d6f4a5b34667bd484d2f46dc948dcaf3379c1b76ae69557817f49f79ef7
+DIST firefox-31.7.0esr-en-ZA.xpi 388527 SHA256 5402bbc92fb8b7953acf7ff9a2a4bb92d7113e94d92c782687825c303325a0d3 SHA512 c0a5411380e643f4d84a2a2c02ca3f458f9ccece5abfee565d6f8b18d754aa0dc2ab39cbaf5c4064da9680840ee99569eaeb50cadafc2f37a231d1bbe4e6d757 WHIRLPOOL ded103a79fe1d8c84ba1c4d3b573613b572d0b4171500eddc3f7e363ef076fdefde0ae66949c04167dff88ed00d315be8bb904a779ef6bc8a661b95918138702
+DIST firefox-31.7.0esr-eo.xpi 431831 SHA256 37793b813547b052751b18cbd8413644d98753bef9cc9de9ce0c319b996300e3 SHA512 d49c72f241f4297821cc8890d91ce0d1f63f2d129f9f34d36846d91b73936d7df5f6e51e87df34d9d8d105fa0cb71a9f82d28d32a13c4c2ba7df5f7755367359 WHIRLPOOL cb84c3a665072cb484a99d31fc9c3cd0bec0762a7227ed86fdbde6e865c8a99e03e97e07df10d145b0c2b9f80022a8249b23ee8b39e083c13fb919ff51117739
+DIST firefox-31.7.0esr-es-AR.xpi 399937 SHA256 6c5865f4d479449a0a9b825231c859df0d6a275c81afb39a6d8ecbc12b24a462 SHA512 0bbb7f4bf6f217bee6481641eb6d19aeeb325766d44167c4cbc1f969ec861bbe6fa7c66f365ca7daf5688fe744730950a4fb38a0de509f0e79b9caab9d08d217 WHIRLPOOL 1a2e3d5ccf001b7a7d4d185ddc761ca6c33be83d1d75f10ac9be333042573d420d6c9daea99c76f16fc471a898cdba9b1a768575acd4367cc5549067113e14e5
+DIST firefox-31.7.0esr-es-CL.xpi 342808 SHA256 936f49302395973a8fccf344ab121e5d3caf6a9a4713ea28fa74b2e3475d2172 SHA512 31f74bd3878ce6770f42b5f8efef1e8630736a3e5fd627f2e708c7a2db0bbb65d8fda139a0554fdcd4dac6b982b54015b92ee73fbc606e71df3d82da899dd1c8 WHIRLPOOL fc8fafbac1522309c67e370e522c657205c79586d287ab6f7dbd36a37a7f845925c19874157f4a350e1eecbe7639e02264bcb29d9cedea949cf2f7df3b293a90
+DIST firefox-31.7.0esr-es-ES.xpi 335880 SHA256 16930441fccf01cb56f74e847820374203ee10e3621e0bc727b60faf647b1ea7 SHA512 3631562c97e557c7410a79d0d593ad49111972f1fc53bbda7b2bdef923361e9ad7358e5dd20d087eb1ad80c69323097e036bb9f7020d3c6cd63516f134d136f0 WHIRLPOOL e90b3d5d455c2756a0260e23b0e12de83c72bb1c58e723257349dbbd7bcb272f3f47d0bca75b16f5ab7297486063b340fe25a232d854a477cc2550beac427005
+DIST firefox-31.7.0esr-es-MX.xpi 402672 SHA256 19e1c14ea4b2964b2c482be44444864be37e7afbb25347b2c61b6a73aea46205 SHA512 5ec5f5f9cb4661a07d42ee0e54b505b7648098b14b5cd69cb8c6c64fc3c2fb67292b92ff7ec21456eccbea686f6153027a388324a17c08dfb5b4b71d4a85152a WHIRLPOOL c317f5cf3fbc37ab50c1f5c0f71098d376722bcbf890178231d5a3648460efa5924281d3a069b97f3a37224d32328782ae60edddd27981d329a791916da7b0a0
+DIST firefox-31.7.0esr-et.xpi 390360 SHA256 7b3aabcd02422a86e990cf3d122fa833493275d433cab826b062ad0c389ddbae SHA512 a6b6e6c15063f1f2930a85c5fb9c29a734e869a0d111012660022c79174b9e20e306e62c1aa4b9943c1e3c2544b1cb355bd651795b8685dd090928e03ca3f43e WHIRLPOOL 0c5dbda7c602880f5b787fae59833db6d2756acc0cad05ddb471bd52a8e20bb7ccfcf8daf17ce736e13fc501b868db9c82745b91472e085c610d261a573c5707
+DIST firefox-31.7.0esr-eu.xpi 412999 SHA256 08da23a46160d70f1f267176c367ab42e7d9309a3694aab127f02092846d4032 SHA512 e4117775b6095998a528cb9285acd2b971198884cfb2584f7d54390de0b14a25cc47b46e20086027c0c5b510c4249f07d7d44a9079478293f8f3b61464689098 WHIRLPOOL 5b47941258f87dad3c71adc5a09453c09e48077d513384093cff11e8b9c0c508b1e18b8a8eb85a60619b889563d52e933428acf591a957f7f341217afa80d1eb
+DIST firefox-31.7.0esr-fa.xpi 460857 SHA256 9f320fb90856afeda61ed6ef231c7f08a5f286cc1a3e1ccb648e00bc83b9ca0d SHA512 8978ba6245e6f8ab15062683c9febba5febc5a6af8404292ff360610e03aace5d0bd800e72f46930770af786190157718f6b2ef53dcfd409c0f2ac9261469466 WHIRLPOOL 247106f064da0f3f2928f5386cfa3fc2d357cb213dfa87876eaae71c18989f2c91b0df91de3f3f14b09788d721104651f16b6ee8cc2debc47c29a2c2b1cdc784
+DIST firefox-31.7.0esr-fi.xpi 392740 SHA256 a735827f8b51d44d2dbf06dc60694e5c495120d2cd30a06a141f265c6e2a5559 SHA512 ec5fe47f56fd6b0ef89cb24f1394afc7129aed37999b561cd6494e63553b214aa9e920e5ece92eace4201ed13a56b7b0541b7f3fa96161863c3855c418b8e864 WHIRLPOOL faea0c8134bcc9ae729d23b15859a274613d47ff64dcb6ca266f04c2e1e89cf22e157a7d054f88212adc97f7b02ba447cc235f03171e9084240f36ebd12a2908
+DIST firefox-31.7.0esr-fr.xpi 406462 SHA256 c87f0a11b32b0d9232aebed8c8db11653b7a1f6e4cff349cd55605c984b5e353 SHA512 9637b7e68b387d73b7332ee355316d1ab22ff9763b1bc66483e511a5a2ecbdb5776e455126e431ce48d38319d8c4d465ed794b57679cf8036679aee58d7fc1a2 WHIRLPOOL 578df20079f1eca82438cb17c18c0802e58444aabf169a86c1c306d53712ab1e0917b8d0e2193a623be2770e0dfad593a116da6038b0cbb6c8b44de09434364f
+DIST firefox-31.7.0esr-fy-NL.xpi 401930 SHA256 06f65abe1aad68faf55dffbe60b8cec4c6dbf9ed49a8e0b6e829bc35cdae668f SHA512 d506fd8363a2cf3c668223682537c8450343eceaee4b2bf5ec4b2e70900fb6e779956cc16d5abedd52734b6ac497bd0a0cf62b59cf50944e65f75c93ef2dc84f WHIRLPOOL fbaadf4b1352b9cd34714bc0dfb881249316861f157e8a8d4c86509eaac78894c5f62e1fecb4d4279c8d98349ebea5364a9890ebb23a8d0e8a9d69c3d61eb5a5
+DIST firefox-31.7.0esr-ga-IE.xpi 410077 SHA256 c2d7f32ffa5f7a4eb0f9fd793c5ce2bd4dae08f7fba57b0bfc9f9a5c276db1b9 SHA512 ef921d24284e64c108d6b0b47586655cf51a872d777b33b45b0aaf24881c3e2586e89b010d58fe5629056bfc3960d6f1c7d9fd2e8541a3c3c250fe48822c5f0f WHIRLPOOL e49e9bf77f9c288375e883fc93f8339949f414855f6c1e3f85e97d71eac82b6e5f45c3769002433be11d2fb2f46abe03e0c290dd7b78d8b89c7ee32d79c5232b
+DIST firefox-31.7.0esr-gd.xpi 403014 SHA256 d6507eaefcf693abdf44df8ab8ff31af1453064543e41324fd535f77792fa3b8 SHA512 393d536e8e8ae57bcb00e413560be8b92d42312da2b26149b981ba8e5f5cf5017bf556560fe4d32f104cd2a1f71a9df19546a4cbdc7b31117694f2cd87097476 WHIRLPOOL 19cc7e713b7e05fd227c8d4de95f5f71b120f2a5c152718d962ebd63561dd8e8bb8b1c3d963c02c577deda694f01d5fabdb64a37cce2e9ea3582bac3837bdace
+DIST firefox-31.7.0esr-gl.xpi 390599 SHA256 7492fa58143cb2e31377165e0f62a31ba5a6d6b93f44dbea7a196c1fe6c35117 SHA512 3c4bd8157975c3e127d506346bd29e52c82c5c0a3c9478fdd84631fdac382a5fedb76d958d798661d5b1e28dd878e8e4d4a347525f5eb16b95db5b72d59f11d7 WHIRLPOOL e1e35344885a715e2e29b42badf43c26fea2715a7870960b008b3e668e116dc278a9f5b27ee34ea77968e0c407170fd7476fcb04b6f4b60ac15e836bbf9237f5
+DIST firefox-31.7.0esr-gu-IN.xpi 423504 SHA256 09b503b94a67ee8b7f031375f6e3247544e6e58f47b1077931f6022117f12eca SHA512 addf70bc454197dd7647b41a693920257ae922b630dfca13843e0ebc8f83ed33146d66488a48037e4d7302606ef6564bc83190777513ff825494d8e0e914ba6e WHIRLPOOL 7061928341a0a23954df560702dab32b2b0280622de82e0cc739481e8c18a20275f7e3c31c85a9fdf92fe30083d2c0e180b253ab34ed669784f0451d6f6e667a
+DIST firefox-31.7.0esr-he.xpi 427629 SHA256 fc459d3c9b7c4989b78f9f9ef3f56b7a3130b04ddcf4af199e63f531ff3369ef SHA512 a8524888882cf5c0eba70ce8fdaf88e481dac46e2cbecbcd8d8acb153d3969d88005ef927d267b069e59f9e753927718991bb05db047fe7456ecf85b6e30b6b7 WHIRLPOOL 9d5a6110725b1ea9e903d4eb38cd699c16be18f02b09fad174569f6274fb35bc4771fb0fd78ea7e39e7b82ad0c5b8ec443f91060ed8594042622faf08e7ac4e2
+DIST firefox-31.7.0esr-hi-IN.xpi 441402 SHA256 1fe8ffc2781376657a2190ce67c3cb0f8d661a941ff14d2a11360feb898963da SHA512 9e82a004a6d80a6d39f9f0d5ab6a60deb741daad26c4c3a1eb01f1384903b4ed726382db4d69192c27e6b15fb4e0354e4b8c9d4effe8aa58b098fa4870c9602d WHIRLPOOL 95953753c1ef2096e2f7002e19d57e7ee82bddc834281ad50e5dad344611249fed66c329c1e2b3591b8c9bd450f43ec38c1b0d2c1b6de8c3c73db7a6702092eb
+DIST firefox-31.7.0esr-hr.xpi 424371 SHA256 7233b1981e2b4333c4d92fc1b354e29abd426b5c2cad8157ceae9836e874f0e7 SHA512 5ecd905bb2c6f184b2f698c35fc127d241d3a9261c07e1d95887596ea0520816e2a62dcbfde6c934eb3a04beaeeff363b8f45b91a944d22996092397e0dfff69 WHIRLPOOL 0cf30fc33110aa8d07eacce5d65d553ab54e585b8f970415cd2020e284e8d142c5031fe750c03d8586f1525063437f74ec52184c9eb6a0a9fa7856eef7c39a0f
+DIST firefox-31.7.0esr-hu.xpi 398644 SHA256 98d7f3c03c8c0e25ac904edc9b7744adaf1b7001b887c496cf731b66e4da30f4 SHA512 f237e697439253047e1107e6a79795cd66571018ea0e2195682a5bb765d048611e0d04b6b029b8f56d090535a506de22883a68bdf5bbd5baa4ba22730c8104ae WHIRLPOOL 6cf0184cb405e2992d8336e828930ead0410f716c621f7f7fe0480894b5fc89b7e33e732b7475cf0ff3a04c9b7e866ba28c822f19242b0297e10ff85a10c96a3
+DIST firefox-31.7.0esr-hy-AM.xpi 478743 SHA256 be183e444d88a9d84c7f7d9f8f39805036f90cbd33cdb1157cf0a620dc510d5f SHA512 03fb89a9c0010da97813395b37f3b2c1dc39724ae7cd0b38b3869248edc4132f52fcd8854aba356c71f5398ee4164a82d0bd194d50bfaf6799d6f34eca6a3c15 WHIRLPOOL 1300b3d87f9c67f98acbd419a2342024ae56b661b82ed74f26e233ebb2027ebd7c99b05dd70a083299a2d6f4dbe4209691791a7a2cc5ba467f1ebcb8159cd056
+DIST firefox-31.7.0esr-id.xpi 378301 SHA256 c059b5bca06f2073dc68f7068f99b6d3d52291f07bdb2a5527c62d64f787d40e SHA512 b5c49da2475255d27609dfae32e5b764cf2a03689664bb3a2bead6f1e290f6fc170c11ed97a739fbc94d6b1fe1e7d10fefbd9f31210647aaad3d441e811e965b WHIRLPOOL 97bb4334a5c2ffabf23ccc2f337b3bba562d752728afb8c536525563debf04f27d13913b13636f8cefb92649f7bd537c20eccedb892d300ffb953d17c621af56
+DIST firefox-31.7.0esr-is.xpi 427327 SHA256 ff432dd9cda5aa362806be2b93a44ae343860e56ad871c12b808eab3ce95e4b2 SHA512 a51a12d9f6b36f6cbe8c2e1bdf5ed2bb2c7c010a7c3dcf5f29260994099eacad062fa9b0f5c9156733f8611b478fc4c72119f698b84f8fd3807f127d5906c7c9 WHIRLPOOL 4f72999cf7c0a004c4b933649ebdbc435dac5cd80f4afb076b6d995c6bba1d145296aa5d5d5da20c3164870fbbda0434948496a1e6f30953482009ced028e62e
+DIST firefox-31.7.0esr-it.xpi 330905 SHA256 63b7031dc95cb7938f796f8273aca84959dc4c1b06457186d39d2314437135d9 SHA512 08da41ee83159932ac5fd203d440828c2b2e91ff21cd8f507717447428e92af4780d17ca1000bd9b10df61dd53c40fa91fd608142bb062b617a60258a34812b8 WHIRLPOOL 0233afd6adcd1cd05f25363f9e8d73ddc7c388b8f2914540115a9ed119ccd8447bdb7a60a4ecbf021a07010b53b65925fb95c3408ae5cce19abcb9ab9d06966c
+DIST firefox-31.7.0esr-ja.xpi 421664 SHA256 c6e5d30f36831608bbb001a30dd20d36357a8f812208caef3b3672f15d03869d SHA512 8de2576e4633d3513da691bf34ae42c27f376841606115cf6042ae8cc7378c12193db6c8cde223a270da844124b580c67c4d6ca4184dbb489a8387989be99100 WHIRLPOOL b5399f01be05b2af6d057f5da995247de758ff1cd262d94cbf366c3744386aa6990317ffcdb1d94198336016bda8249d18dc8c6cde5a1fa0efe9899ebd19b557
+DIST firefox-31.7.0esr-kk.xpi 439116 SHA256 4134807f0682c4e3b531050d6152c95a3cd207bbf6266ae668e40af5a404b44d SHA512 e039bd97b913c670b15a8e734f5977f899f8dedad3c728d5cc8ea347e5b8a2e697b541626e7dfd4fcffb5bac26e66bebc36284b5cd26475b464478488327e6de WHIRLPOOL 8f93f75fa67af043ae3d628291e7d0dcc9a8a61c78af51746e3e053c2035d57d4c33b892a76117d091860d877f1e335d624e89545f4e5b375b3d28b644bb5d0d
+DIST firefox-31.7.0esr-km.xpi 506476 SHA256 425742f17f805c4fb8bcffe2f634687a4430e9a0a97af14e3e66d81930349d86 SHA512 795847decf2193cb78dd023717bf618208669233218cd8c36a8ea29f6b8cf3b60f1758b42c15f552da327f4df2ad201ce97a2096a0b02f9a978a73486b93d511 WHIRLPOOL eec9682bde6a802b91e0130a426e30407bdb26adcb0adc1ee34dc0fc8d389ad9914a7068318f01569ede5f2904732ed96f3aae6a37c1bfcf0b91a751901f4878
+DIST firefox-31.7.0esr-kn.xpi 458891 SHA256 21dde9bc0907a3f3d6eccb62209512c4e923e9578f99d3cfa38b9fc0f5749166 SHA512 f5386868aedec29ceb8300efdaee99472eebe11d558e24738cc128c312696e319bc8d13e50ce743850a1486fd3654fb3e06e09c19b0115ba22ae723cceb07bcd WHIRLPOOL d3a6292f0e18c9beb42bc406e7b50580842d5e2a67050a25e19de14a09c04924b957de83ebb6fffcf619700725fde35499b557fcca151faecae5c252e21375f8
+DIST firefox-31.7.0esr-ko.xpi 402815 SHA256 d1815717ff979a4f4d752860d7584afddc8598c5870e9827866b0ab5ef8ec6c5 SHA512 1c50a02b03327896fe217f4cc5ee89b587de0bf2539a933cb515c664d35a71722a1aab1a8670edfcb66830dc0f662f43e88125c5c38f9c8b6eb9b51af157e334 WHIRLPOOL d359f2a99867734ee86d3eac229488fb6ceace8d2e7f98aba33a948628e90324c18c18d669b42f8da6b87f2ede4128da9f442465e35fd276ac564ca817ccc2e3
+DIST firefox-31.7.0esr-ku.xpi 420260 SHA256 fbae0d3034d27f604dadc2f1f9d47faa919429951ef0fddc3acb27cc54c761fb SHA512 302cc716915baaf46820da2ab94263937a2998a36ea57782d9465c5cc5800490d0be53510fee8327b264e70ab1cbb556f9746e012f632ed649c2a517ba5d70e8 WHIRLPOOL 8340f8dc45ded56d05bd6a155af6c725b5fa32001932b8e016ed3e3c5b2ef42160d9df9aed551c233ef457716b540c381ec666881751aff7774029fb9f2f654a
+DIST firefox-31.7.0esr-lt.xpi 435431 SHA256 e427e278896af7049be1a2ba0921fe040a0f28ea6db88b9776e61c9aa1f7c1f2 SHA512 08c97248b5e2bb9f82c08fa80a2fad7465861298d38fd9fa0a4ab8e98bbc2796cc46bda26e08a5c914e50b60728e07e526d574e894e09b38fd8f0e5507d1c2aa WHIRLPOOL c79102b8b025f80f1c10ad6910a3821352a9219d53f4b4a8b3c3ffc5ff7674dcd600627ee7da39108223632e25e56981136aa0ff9d28e7cdd84491380551a8be
+DIST firefox-31.7.0esr-lv.xpi 398576 SHA256 808561e54dcbcfc2c5d4340b8981c26c32ffaaff41981c24987985b3e5237836 SHA512 729f56a8929c30b779986f74b6ea6620ee268c12d7b543cec32b44e0d9beb07e06f7e8b041763c72faa8483b1a3dc170848d2f51329c4e7f40090a685219fb21 WHIRLPOOL 516a94393eb32fe59a684d75bdac4ae0ab64acdb8d63292bc18ae44b49c931468220dfb88dac103c104b058fd63c359181269d6102e4ae5adb38093e71eed808
+DIST firefox-31.7.0esr-mai.xpi 444885 SHA256 c0028b9cb674795770485754d827e33d326c7b088faa07ae0533eedb4c4b0a98 SHA512 c5163a3d142bb9d4415104bd07704509beb7e38eac1d9b3506b9b3c8c956fe11af752a420e3cbf2adcc6f9c66cab16aafb4c9176fbd1e2e2e5949d89ae66f9b0 WHIRLPOOL cfcce2aa6edfb0bb3c00c63081674cad3f3139bbb32e4f4747c43c1b62f00cee0ecfc9a5a1d28591f79559e79ba91e6e05739395de7d47da035d3b1e8a4be0fa
+DIST firefox-31.7.0esr-mk.xpi 475483 SHA256 9e2b8adbe49312fff3f4f4f466253c55ff475d77ee621ed1ec90d3f6db132f21 SHA512 a8112391d4fe4ced912b722d4a44a712c10ead0ce68e4d9221dd72d7b7b4f58768af47e8c589d9a330870e192ef96844fd4de4c3d4521ea4eae567ff83ce4f69 WHIRLPOOL 55398ebb7ca834220396c8c510d3e6ded1a86464dd266fdd441eb0a32a1c458f9bf8f116b31fe75d3ca93c2471624358abd1071e6302ccdd5bce06d3d2f332a4
+DIST firefox-31.7.0esr-ml.xpi 466254 SHA256 7c84d8089f4a191597ba04043f1ed06b495afa8493db7b9069b3b8e8431f1019 SHA512 5be08c7969b9c29a4b830c1c383683625ba77da817cff7e39411f9eb589a02dfade965bd0ec3eac06fd8f687df9c4ef03656961bcb05edea03b40b2a0a3a4164 WHIRLPOOL a38b6d8f7aaf3ea3ce58511d2ccfe2db0846ef27c95fce656a1bc9f4cecba4af390b82f7abf6ef1195da362b16f8cd98140f13a8d435a59963a8b73a69c49f57
+DIST firefox-31.7.0esr-mr.xpi 451292 SHA256 8fde662d065db623971f5ca3259edbda653b269a85089d7da61b59a2ac1028bf SHA512 d16b013967cfff22b0d75948dcf49acbd83667fa02d52ac062998a8054719b452a78e44eca58bc074a72bc840706265355753f98c698af00b07cc70a02e26f3e WHIRLPOOL 0968f200f69d7f5952935c0b324e3c030fc5a6e56eef4919a628d5c7698bf77d3ca332e9ac943e6100d113366ee7d0c08a9c8f366aea814315c0fbcfdcd8cc2d
+DIST firefox-31.7.0esr-nb-NO.xpi 392006 SHA256 614e4819e7542455d53f5fa1d477e7bbaca34f9a60f381f310f469f8eb7a6585 SHA512 5f0c2b1fdc59ceb88d6408f8de8f2cd9ef61bc9044b937c51984f60c6ceb73987f8521eb01a5a88da1799e753f6a32c814606ea09ea48eec430f1539a8a2564d WHIRLPOOL 578a6f3d6d90a411f5a8580c56f032284aa0c7b29511e1ae4fa8ed88eb1a722cca6462ff60d3c8ba4141d81b352838662450510f31f6c07645926b53fe14180f
+DIST firefox-31.7.0esr-nl.xpi 390885 SHA256 25fa21b6f5b9226bc98b564c6ea4597def332bf45287245b946406901176c85c SHA512 712fb20212749887c94586c1119c06fed711ccb5a362b879dc5b4cb76d65a026dddb5daccc429b70aa77a0f85573f6948a72931bf2a7e42227ea9adff1dbf8f0 WHIRLPOOL 56d8507dbd8b8f766ad842e5d23ff4185dbfc37daacb756eb5155254e17be969a45a2f4f94a6ab56e488c2bfcea627aad0d33c2dac736a7b1e4e8ac3cfedf1bf
+DIST firefox-31.7.0esr-nn-NO.xpi 386281 SHA256 1da9ed892eef144fc24f36d8d357e909bebf1add25f39bc18d9eb3b3752676e6 SHA512 a14711506f6363777b98fb7133001376dab1aff90cdcc2a1c2f74057ee9eb6ad65a4c6cab829a508be5516565386f613ff4a17375c0a68a99d9b1d225f31f1e2 WHIRLPOOL 55b16f1c07c7a9497b6decf219db5af6df978e4250a166690774b9c0209f3a2788542f488b4c5e21f241214dfcb792950bfa2c5bcdef1c1337fe425e5f2dfe9d
+DIST firefox-31.7.0esr-or.xpi 464749 SHA256 c6609d74a5ad5c26f47557431f284ec22218f6482a1da09e6a82a5be81ff6746 SHA512 1c60b04faeb077cf39c8222aa4a6c76e47aaa44a8fb34716228e6e46afab68666fa6d9376312475f0ee0a1610b7e4a6fe8e495394f9cdc13fcaaf3cb6d2174c8 WHIRLPOOL 6e126201eb1a8d8bb86c0ba6e464e9267163e706681a91b0f522b12307e0fcb22fb584af7d9e6bd84b05d8820db79eae0c20b031f5beca21cd3e4e5b87626f93
+DIST firefox-31.7.0esr-pa-IN.xpi 439326 SHA256 b190e43dc00acb59269a64ef34871d326296b526b3ebc4efbdf6a7d2d9cd35ae SHA512 f82c5c81cb0bb9170ca91b0f8ea26615d28f3050c2a234cb23a2f1fc50d3e60d1b1f942c26a36d5a7d25c28f2d25a4bba6ceb38b91f618ca0a5ce24933f82ce0 WHIRLPOOL 70350a5c0d3cc438595138d0d918bf2ae3d088855e769489735a3f858b3d3e8f70505dff7ef14d57ef6de2317083402fe95ee2bfd972497e7f17e4d1f8613f4a
+DIST firefox-31.7.0esr-pl.xpi 374747 SHA256 594ad2d1bc2ad972da2e1b6a04cff08d31664293c766bfaeac5339efc85b57e3 SHA512 f1cb92efb130f2aaaf501ae11600e00e8f7da22733f8a39a22dad65a67720f83c5bfb7a550c1bdae57391ce1930bd51bf018a2459ca7d93dd17fde1f0f87b58b WHIRLPOOL 2044157619f7937ea065091b158fde45fb8793eeb639b2c94ef7bd168f6b511ad9eba4c98c5f03c4b0e3a96e18bd94b0ef7a57a311f722be64b83471e8a43d7d
+DIST firefox-31.7.0esr-pt-BR.xpi 405565 SHA256 b5713f2dfe91eee8eaa6628592165eaa134bfa0f61b741bfe31fd9b321d309b9 SHA512 4ee2230a01d520d6c9203b54132ce95ba7be76e267271b2c662a70aa3b21353a8a27763a372989e009797398c0e3e471e13dc66da37a4325d8d3237e5a7ac499 WHIRLPOOL 325248b5513c79f586d1c728e4c386bbc4f0086a3a954d71ecc3902bdfac2a031deeea4d5025eb5e231093a22feca92123fa2121e0784c02422055c62442fa1b
+DIST firefox-31.7.0esr-pt-PT.xpi 386344 SHA256 abb6214eca83b79f83b042597d222e06474acc6252d389d5ba2c651a9e5ce03a SHA512 87553a5328989d4f5b6a6e8a7314e385aced7e16e50c6b940f7d22d15a9ddd09a1690f8ab75a319867e826d2815b2afa256c393124d6dd4f8cef29e33313a33b WHIRLPOOL 135325911af947b0f33652e87f271f6874d05b66f4fd27894f17e5d63dca6c027aa184fc916f35357e69f4358ac3ded8240955ac2e8d56c0d38609b2a2212fa4
+DIST firefox-31.7.0esr-rm.xpi 399285 SHA256 14812365a8427dacc135cbedd51aa9f05cdeae79ae534e733c90156871bdce44 SHA512 62b2a619cc756151a2878add5d186a21802c9293206de4f6d63b5833af7b9425ad3b661ac3c09917fb8c2f308d44f80f3332fa1fc710b0ee8fa5a1f26546376f WHIRLPOOL 4d771fe1b96f7c44e12ac95e9d40cb9ae9be748c1da2b8ff42c9706263372321deae756aaf2d6817df846891fead067b860abb22c06556b5401efb94dec56ca2
+DIST firefox-31.7.0esr-ro.xpi 439388 SHA256 37101737210648a141e39bdd45b6a09d6bd1c7c91921fce6e18e06c960786a75 SHA512 fee19980783d11f5f55ba75db9f847c4b548bed752a9341efda2fb42c58d8025839fb12f73e890c8641418dfb6cb05829f52a7d86e008cfa9b7266cb2f8ad45f WHIRLPOOL 9075b0d1a8d4b9ad2cc23ca4725db839a0a9ba347b394d0ff53e65e7d94c15eee1226cb3e7e182a744188f9dd5a9a66291b66945dcd03db902696fb03c1460ea
+DIST firefox-31.7.0esr-ru.xpi 367898 SHA256 f26cd9d88445e805ad9001e64c6fc090e4e2a9a38a6a1a3a4db16d4d2f86af85 SHA512 5f85d18a311ab6bda2e4d4cb6601fe7b567d5390e4f1693408a56fdb949cdde6c702aad91de382752b8cf9e6029316a323654cf71dcd93b8b88453b137f5ecdc WHIRLPOOL d2bc7da9fcab32c03e004248b04be531019098314eb1b73b24fcf02c5e935e9668937be33b4af6ce1f00f2300d471914b42afc44f49542bea8db3f4a4d8274c0
+DIST firefox-31.7.0esr-si.xpi 463224 SHA256 9b65abd0a84e28cd02fec01f57601dec37e62ee79364ee1e9afcf56c051e872f SHA512 02592f3ea645938d88da726dd16ac316bc94a13392f19e29b534d7b728c2fc9f44f78fb34980de6b4be94b75ff2dae2b9eb8a5593a5cefafe585df15a28091c9 WHIRLPOOL 0ec04b6ec94cad4dd2e05dc02c3bf3114e3d2ab55f2a51a8dfce5d82e7f7d367b941c29f24e156b1fc90e3375ea017f23c63df2f3ad68c9e650e8f63e2df3995
+DIST firefox-31.7.0esr-sk.xpi 413802 SHA256 79af6394fb242a2381c22d530661c8e4aa49f79072547270d1666623cd234376 SHA512 729f72f5df89e12887938e2d176e1b54e6aa4e6fc540440a645177ddfc1915806e47d590c21c2aa04db446289ecd284d89062fbc5d3862d70a0495db815cc64a WHIRLPOOL 236f3230c7b7856bcb1d0aef4bcae1c425ab276cf368edfe1339f4d4b26abc0cb4a3abc14bb7f2923c77a3fe26e31d6089efc61290bc9de3746372ccf18b5371
+DIST firefox-31.7.0esr-sl.xpi 387134 SHA256 5adbabcf3f9df45ece596da1866551abd308f93a14d4c2d2872cb93b3d00a365 SHA512 8cfb193ac215d98f438a65150f6ed5bb75058b2b4b5f469a888b307f80f60523135f613cff3a56183c78e89d5d7866ae1100ef90b4f0f965e5e48c998df5f389 WHIRLPOOL 410a6293fc9251ddcdb2504ba426ef85f5f2a53a35f884db626a8d53f9b5bc6d4b0e1a82e3a570f0c3bd0e78e1362a5ab250490b9bfd9bdc52f921975358c62e
+DIST firefox-31.7.0esr-son.xpi 395144 SHA256 f6fe46997da6c63a2622df2ae8fcd162df761cc13f02f12e19a5827bd5b3d5d9 SHA512 9b20889777fd43f75a625fd8e17eab0c9e6ab8c1b68262df9685f6e550e9c38d64d68224a9ef3eb28bc3e8519eac69f1af89bb51aea901381afb1212efb624a6 WHIRLPOOL 4aeb3d4f8bcffb5c131a59fc808b0efa1f544452a609890d21f1a7ff34d80e6db8f136346e1bb12b4cc372b2e2746fb43507dbba4a8217a589949924ec176154
+DIST firefox-31.7.0esr-sq.xpi 431136 SHA256 4b11e3c0f1b709193df7ac617f09502224fa90891c64456bf3b09f64081f7366 SHA512 1b10752dbd2936b32c1f975a92020e6b1c53c1d5aefc0eb726f0cf527da5444b536b6b90deb03535cb21e5f76a0ee8445c09af304cdfe4c8b6d61db3925f0162 WHIRLPOOL 38108ba8972934a00b8db0d081900f12fbf355b2fecc1ea57e72eaedd5ca07d3648d0ae2ade70c9cab811850237ad414fe549a6b56017fa9b593bc4159a6ea32
+DIST firefox-31.7.0esr-sr.xpi 425903 SHA256 7cec3903511642d0f18d681f9c8db88d7a515a0d4bc41c3b47b639f900888394 SHA512 946919c2d707abc3e2ebcac025eb68b5762e2336df2136b2adb0693bb26bb286faf3a53a0bfa645d5c73698150605485109dc94a12309e1c269e168e652856b6 WHIRLPOOL 7f7be25cff316a50a7f4e7f792162541d8b23376c297f662e2aa60928a30a6fd866d5a8b7a71a5033f08e9263a69828dc984db19d70c2c4d2d62d988ffc2d1e1
+DIST firefox-31.7.0esr-sv-SE.xpi 399026 SHA256 e90efaef588b44c2aa8ed7243930fe749c8804ac29f27505cdb4f16578c47ece SHA512 332804d760e66b3f0ea3501b5c134331dde01993ea37bab3e44fa70018af10607a3f460c78386c19a8160dfd3e4ad2fadebd277974838d71802bd025c26c3c75 WHIRLPOOL 9390e9be1e1634a0c6cde7108d498910e3cb5e5e962c977eb58eb93b199777b4ae56894cc6c2d64b2872f059ec44a7083952a1a0bec407fe58cf94ef72584825
+DIST firefox-31.7.0esr-ta.xpi 447685 SHA256 1eb3703416367ca99e10779fc9cdbfd2b521c33d841cdc5e37a780c8995ffeab SHA512 4cd30dc24f9966220fdabaa62e8f4505b806fc5e11d47475e4c65e63715c5050f916e94764fb03a8d0d5175a4982893eb2fc8d005decf6222ade401f5add924d WHIRLPOOL 33225e7f68b1209f876698049c3a14834662f3b0bb6c38d6cfad3cb013ddc190936e2f574d9141bf98e8f80a22d1dc2d17395ecf0875ef26dbe9632a5eb87948
+DIST firefox-31.7.0esr-te.xpi 462591 SHA256 6e8b188de46947a0021db9bea2f559d00c2fed6c6fdd359d3c6ed43ae9e672c8 SHA512 424820e5230725277a62cf0c658603d26e9a1ff2de572787364456637b687b2b113e81af0768d9d4295d54e72122e2f1f7527dc663b8178b5747fef97f01f9c9 WHIRLPOOL b335c8d6dbd6964551d6b9c504d8829b2dedb31da91979980c5f4c2748671468686532c74c29ad0c981f32a695eb8b9f10f3116d8d6c6245371a57f24c86a50d
+DIST firefox-31.7.0esr-th.xpi 478126 SHA256 c5f507998c17c120af9659fabdb0573e807784fb482c86d559cd3001cfb584c4 SHA512 549c037f1cd4c29caba4aabbf4b839b1a83ed3954eba442edc91d8c275cc71df4edd906b15510d710c228873ca13a9f08da65158ffa331420b80a5b2772eb31a WHIRLPOOL 466957c6acd8331ad00d7e9ec0f9a29bc6cd335645110e12721fe8638864724a26b8fd0eed6dc23cfe07e7cb88c46e7f9b77dcab78cffb183b940a0ff304c4a2
+DIST firefox-31.7.0esr-tr.xpi 417370 SHA256 846f9802aacfb0d6a873a9cfbc7854fce33b2f59311f1c85d91d7a929bab2255 SHA512 dc6dd068a57c000cf03f2a72f13aa163e8d1c80ddfd5721bab716882b00fec448b159259acc8c7041b35625ac9d3fbe9017f47ac50ca5e345129cd2429adeba5 WHIRLPOOL fdd83bafbf2140831801fa2380aeb249792e75da3ca35c9d36f42968ae415b927357a0c7a6f327886b2bce100ef828ed863a430311e154e75c932c37c266d23d
+DIST firefox-31.7.0esr-uk.xpi 428002 SHA256 5e988550f6722b30362f1e69675e18259e8bb20439747ce37a4fde9fd429a5d8 SHA512 03dc5c4bc2d53f6b3811084c16b695dde3961042ff94155f9a1b0228d76eb91c17ab9b74ecefd59c6bc3b9192a3d978c3595c109fa85dbc8a48bed0dd264e02b WHIRLPOOL ad83ecfa9c795081d2d39afb5102bae6eb248de91824a1b1fb1258ad55b1534c957bc1e8a08510571460f1d09f5efd96711b0faaf329e4bcbef1aee7637e009a
+DIST firefox-31.7.0esr-vi.xpi 413375 SHA256 3e6aa2a99aef4613d6dcc5b912ebe2a017d2f7cae3494429484441a0d501b319 SHA512 93c29c19d3b3cff7afad8e3e9229f2878007c834fa3ad44ea19342ca698d9121c1f592cb190c6f80e4f5301b7faa49654c06325916060f3b361caeec6b826905 WHIRLPOOL 32de86f5b8289a3691435615566a52a303cc1d23e33adcb9bd8c6ace77c6bddaea486eaa21a830126c22d6104e0a4c89ec65134526be931272625c8b88447ed1
+DIST firefox-31.7.0esr-xh.xpi 397875 SHA256 fe7fbc65ab6d572a7bb9c3133ddd6ea1772171ac3e1ce43528c07ebc78a2f8b5 SHA512 408ecf2b5779c2fc83b9a65855f83be3b1a8cec818c33c0aa267b6e65c4b63f72c20812e85e8feb9b8b668c5734180d85e1b61c3e43006ed316e064cf4444418 WHIRLPOOL 9ae89c48c8a8737f80e1c3ab13886b54ef6644d5f4d5be6c79bb9f06742c8e9b05165e20c061e2c118a302447bc80a2e1c4ba573fda61b7c7a50b82984427496
+DIST firefox-31.7.0esr-zh-CN.xpi 419630 SHA256 20aa5d265b0d275c63fceea28257e100ce788598b4e18e448083ce02d50f8dff SHA512 f5b400ca4f4199b4bb9ae946171ee897ae2051e4a0dfc6e9b624fc221a57539dad7ae9eabeacc04f0d9e08cda7a76cf4348be25ca99a59bfa2ed470b6beeabc7 WHIRLPOOL b4b06019000f5d6623116feb3afe18a29d57e7a26a83afff3dcdb0370cd5381205e6087fb494db9a436445e1b40c447546508cfd5ccbea072d02ea9596796ad6
+DIST firefox-31.7.0esr-zh-TW.xpi 412520 SHA256 5752bf1f8f6618bfd039cfd378d43a29d37270e4deb26474ee86b4cd4275e993 SHA512 2e8f5a85f4cff9b7b3271118926f567cd2cf8c9380edf46f035a702b7a4386fae1415b6d0a48a870dd09562b4f85196ddbe8ac3b14cea6514b3fe59a16fe0272 WHIRLPOOL 1480141168acabe207c9a7afe96b9f111b9ff18722670a87250d25c94f01c68ebdd028092cd19a6b29c4452718167404d2221848fe8ed049170e6da4cb69774b
+DIST firefox-31.7.0esr-zu.xpi 433216 SHA256 012bb28adb83356fc8367556f8cc397c2d0fbcd552ff56c5e146cb48653c822b SHA512 03d30af7898b6685cd50d736ff949f5eb5d30f3f3abe4be59f889759beb1c8438e6b9938a99356e21619762bb55d591fc0cb7b5135992e4015a9c80d99fe7a63 WHIRLPOOL 229382bd196ef9197416993aac8e9ee90bddc5bd0e3efa910c04bbe5f1eb333221179a93b2d958856a92f3633c07fb4d4e14bfb38faffacd071c64fc65eddb1a
+DIST firefox-31.7.0esr.source.tar.bz2 147772244 SHA256 8523c10ecb318f278a251d90e2161c07c7431796d4387fe9091dfa4e633474b6 SHA512 b77b2be6f1dc5db4f2104e59a415ee6a03cd690d5dbb7f6682d5ac755d5ad0ec23ec9e8a21364072cfb9f4a431bf6bc56d36eea2a0ec23ee1b176b6504d20ccc WHIRLPOOL 78756c04c53138bffdc09cd67ba9b41c2694827d1f4e38306a071e86259137335947662e56135862014beab2683d1c37025dbf356ef7638f2e41880bde74330a
diff --git a/www-client/firefox/files/firefox-32.0-hppa-js-configure.patch b/www-client/firefox/files/firefox-32.0-hppa-js-configure.patch
new file mode 100644
index 00000000..c37edda2
--- /dev/null
+++ b/www-client/firefox/files/firefox-32.0-hppa-js-configure.patch
@@ -0,0 +1,21 @@
+--- a/mozilla-release/js/src/configure.in
++++ b/mozilla-release/js/src/configure.in
+@@ -958,7 +958,7 @@
+ CPU_ARCH=s390x
+ ;;
+
+-hppa* | parisc)
++hppa* | parisc*)
+ CPU_ARCH=hppa
+ ;;
+
+@@ -2009,6 +2009,9 @@
+ AC_DEFINE(JS_CPU_MIPS)
+ AC_DEFINE(JS_NUNBOX32)
+ ;;
++hppa*)
++ AC_DEFINE(JS_NUNBOX32)
++ ;;
+ esac
+
+ MOZ_ARG_DISABLE_BOOL(ion,
diff --git a/www-client/firefox/files/gentoo-default-prefs.js-1 b/www-client/firefox/files/gentoo-default-prefs.js-1
new file mode 100644
index 00000000..22a51ff7
--- /dev/null
+++ b/www-client/firefox/files/gentoo-default-prefs.js-1
@@ -0,0 +1,17 @@
+pref("app.update.enabled", false);
+pref("app.update.autoInstallEnabled", false);
+pref("browser.display.use_system_colors", true);
+pref("browser.link.open_external", 3);
+pref("general.smoothScroll", true);
+pref("general.autoScroll", false);
+pref("browser.tabs.tabMinWidth", 15);
+pref("browser.backspace_action", 0);
+pref("browser.urlbar.hideGoButton", true);
+pref("accessibility.typeaheadfind", true);
+pref("browser.shell.checkDefaultBrowser", false);
+pref("browser.EULA.override", true);
+pref("general.useragent.vendor", "Gentoo");
+pref("intl.locale.matchOS", true);
+pref("general.useragent.locale", "chrome://global/locale/intl.properties");
+pref("extensions.autoDisableScopes", 0);
+pref("layout.css.dpi", 0);
diff --git a/www-client/firefox/files/icon/firefox.desktop b/www-client/firefox/files/icon/firefox.desktop
new file mode 100644
index 00000000..d772c2fe
--- /dev/null
+++ b/www-client/firefox/files/icon/firefox.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=@NAME@
+Comment=Web Browser
+Exec=firefox %u
+Icon=@ICON@
+Terminal=false
+Type=Application
+MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
+Categories=Network;WebBrowser;
diff --git a/www-client/firefox/files/pgo.patch b/www-client/firefox/files/pgo.patch
new file mode 100644
index 00000000..106bf598
--- /dev/null
+++ b/www-client/firefox/files/pgo.patch
@@ -0,0 +1,13 @@
+diff -Nur a/Makefile.in b/Makefile.in
+--- a/Makefile.in 2015-01-06 07:07:53.000000000 +0200
++++ b/Makefile.in 2015-02-22 02:54:01.523914597 +0200
+@@ -301,6 +301,9 @@
+ @relcount=`find $(DIST)/bin -name '*.so' | xargs objdump -R | grep R_386_PC32 | wc -l` && if test $$relcount -gt 0; then echo 'FAILED: R_386_PC32 relocations detected in a shared library. Did you use a system header without adding it to config/system-headers?'; exit 1; else echo 'PASSED'; fi
+ endif
+
++pgo-profile-run:
++ $(PYTHON) $(topsrcdir)/build/pgo/profileserver.py $(EXTRA_TEST_ARGS)
++
+ ifdef JS_STANDALONE
+ # Delegate js-specific rules to js
+ check-%:
diff --git a/www-client/firefox/firefox-31.7.0.ebuild b/www-client/firefox/firefox-31.7.0.ebuild
new file mode 100644
index 00000000..98ae5a2b
--- /dev/null
+++ b/www-client/firefox/firefox-31.7.0.ebuild
@@ -0,0 +1,378 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/firefox/firefox-31.5.0.ebuild,v 1.2 2015/02/27 13:25:27 ago Exp $
+
+EAPI="5"
+VIRTUALX_REQUIRED="pgo"
+WANT_AUTOCONF="2.1"
+MOZ_ESR="1"
+
+# This list can be updated with scripts/get_langs.sh from the mozilla overlay
+MOZ_LANGS=( af ar as ast be bg bn-BD bn-IN br bs ca cs csb cy da de el en
+en-GB en-US en-ZA eo es-AR es-CL es-ES es-MX et eu fa fi fr fy-NL ga-IE gd
+gl gu-IN he hi-IN hr hu hy-AM id is it ja kk km kn ko ku lt lv mai mk ml mr
+nb-NO nl nn-NO or pa-IN pl pt-BR pt-PT rm ro ru si sk sl son sq sr sv-SE ta te
+th tr uk vi xh zh-CN zh-TW zu )
+
+# Convert the ebuild version to the upstream mozilla version, used by mozlinguas
+MOZ_PV="${PV/_alpha/a}" # Handle alpha for SRC_URI
+MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI
+MOZ_PV="${MOZ_PV/_rc/rc}" # Handle rc for SRC_URI
+
+if [[ ${MOZ_ESR} == 1 ]]; then
+ # ESR releases have slightly version numbers
+ MOZ_PV="${MOZ_PV}esr"
+fi
+
+# Patch version
+PATCH="${PN}-31.0-patches-0.2"
+# Upstream ftp release URI that's used by mozlinguas.eclass
+# We don't use the http mirror because it deletes old tarballs.
+MOZ_FTP_URI="ftp://ftp.mozilla.org/pub/${PN}/releases"
+MOZ_HTTP_URI="http://ftp.mozilla.org/pub/${PN}/releases"
+
+MOZCONFIG_OPTIONAL_WIFI=1
+MOZCONFIG_OPTIONAL_JIT="enabled"
+
+inherit check-reqs flag-o-matic toolchain-funcs eutils gnome2-utils mozconfig-v5.31 multilib pax-utils fdo-mime autotools virtualx mozlinguas
+
+DESCRIPTION="Firefox Web Browser"
+HOMEPAGE="http://www.mozilla.com/firefox"
+
+KEYWORDS="amd64 x86"
+SLOT="0"
+LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
+IUSE="bindist hardened +minimal pgo selinux test"
+RESTRICT="!bindist? ( bindist )"
+
+# More URIs appended below...
+SRC_URI="${SRC_URI}
+ http://dev.gentoo.org/~anarchy/mozilla/patchsets/${PATCH}.tar.xz
+ http://dev.gentoo.org/~axs/distfiles/${PATCH}.tar.xz"
+
+ASM_DEPEND=">=dev-lang/yasm-1.1"
+
+CDEPEND="
+ >=dev-libs/nss-3.17.1
+ >=dev-libs/nspr-4.10.6
+"
+
+DEPEND="${CDEPEND}
+ pgo? (
+ >=sys-devel/gcc-4.5 )
+ amd64? ( ${ASM_DEPEND}
+ virtual/opengl )
+ x86? ( ${ASM_DEPEND}
+ virtual/opengl )"
+
+RDEPEND="${CDEPEND}
+ selinux? ( sec-policy/selinux-mozilla )
+"
+
+# No source releases for alpha|beta
+if [[ ${PV} =~ alpha ]]; then
+ CHANGESET="8a3042764de7"
+ SRC_URI="${SRC_URI}
+ http://dev.gentoo.org/~nirbheek/mozilla/firefox/firefox-${MOZ_PV}_${CHANGESET}.source.tar.bz2"
+ S="${WORKDIR}/mozilla-aurora-${CHANGESET}"
+elif [[ ${PV} =~ beta ]]; then
+ S="${WORKDIR}/mozilla-beta"
+ SRC_URI="${SRC_URI}
+ ${MOZ_FTP_URI}/${MOZ_PV}/source/firefox-${MOZ_PV}.source.tar.bz2
+ ${MOZ_HTTP_URI}/${MOZ_PV}/source/firefox-${MOZ_PV}.source.tar.bz2"
+else
+ SRC_URI="${SRC_URI}
+ ${MOZ_FTP_URI}/${MOZ_PV}/source/firefox-${MOZ_PV}.source.tar.bz2
+ ${MOZ_HTTP_URI}/${MOZ_PV}/source/firefox-${MOZ_PV}.source.tar.bz2"
+ if [[ ${MOZ_ESR} == 1 ]]; then
+ S="${WORKDIR}/mozilla-esr${PV%%.*}"
+ else
+ S="${WORKDIR}/mozilla-release"
+ fi
+fi
+
+QA_PRESTRIPPED="usr/$(get_libdir)/${PN}/firefox"
+
+pkg_setup() {
+ moz_pkgsetup
+
+ # Avoid PGO profiling problems due to enviroment leakage
+ # These should *always* be cleaned up anyway
+ unset DBUS_SESSION_BUS_ADDRESS \
+ DISPLAY \
+ ORBIT_SOCKETDIR \
+ SESSION_MANAGER \
+ XDG_SESSION_COOKIE \
+ XAUTHORITY
+
+ if ! use bindist; then
+ einfo
+ elog "You are enabling official branding. You may not redistribute this build"
+ elog "to any users on your network or the internet. Doing so puts yourself into"
+ elog "a legal problem with Mozilla Foundation"
+ elog "You can disable it by emerging ${PN} _with_ the bindist USE-flag"
+ fi
+
+ if use pgo; then
+ einfo
+ ewarn "You will do a double build for profile guided optimization."
+ ewarn "This will result in your build taking at least twice as long as before."
+ fi
+}
+
+pkg_pretend() {
+ # Ensure we have enough disk space to compile
+ if use pgo || use debug || use test ; then
+ CHECKREQS_DISK_BUILD="8G"
+ else
+ CHECKREQS_DISK_BUILD="4G"
+ fi
+ check-reqs_pkg_setup
+
+ if use jit && [[ -n ${PROFILE_IS_HARDENED} ]]; then
+ ewarn "You are emerging this package on a hardened profile with USE=jit enabled."
+ ewarn "This is horribly insecure as it disables all PAGEEXEC restrictions."
+ ewarn "Please ensure you know what you are doing. If you don't, please consider"
+ ewarn "emerging the package with USE=-jit"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+
+ # Unpack language packs
+ mozlinguas_src_unpack
+}
+
+src_prepare() {
+ # Apply our patches
+ EPATCH_SUFFIX="patch" \
+ EPATCH_FORCE="yes" \
+ epatch "${WORKDIR}/firefox"
+
+ epatch "${FILESDIR}"/${PN}-32.0-hppa-js-configure.patch # bug 524556
+ # enable PGO build
+ epatch "${FILESDIR}"/pgo.patch
+ # Allow user to apply any additional patches without modifing ebuild
+ epatch_user
+
+ # Enable gnomebreakpad
+ if use debug ; then
+ sed -i -e "s:GNOME_DISABLE_CRASH_DIALOG=1:GNOME_DISABLE_CRASH_DIALOG=0:g" \
+ "${S}"/build/unix/run-mozilla.sh || die "sed failed!"
+ fi
+
+ # Ensure that our plugins dir is enabled as default
+ sed -i -e "s:/usr/lib/mozilla/plugins:/usr/lib/nsbrowser/plugins:" \
+ "${S}"/xpcom/io/nsAppFileLocationProvider.cpp || die "sed failed to replace plugin path for 32bit!"
+ sed -i -e "s:/usr/lib64/mozilla/plugins:/usr/lib64/nsbrowser/plugins:" \
+ "${S}"/xpcom/io/nsAppFileLocationProvider.cpp || die "sed failed to replace plugin path for 64bit!"
+
+ # Fix sandbox violations during make clean, bug 372817
+ sed -e "s:\(/no-such-file\):${T}\1:g" \
+ -i "${S}"/config/rules.mk \
+ -i "${S}"/nsprpub/configure{.in,} \
+ || die
+
+ # Don't exit with error when some libs are missing which we have in
+ # system.
+ sed '/^MOZ_PKG_FATAL_WARNINGS/s@= 1@= 0@' \
+ -i "${S}"/browser/installer/Makefile.in || die
+
+ # Don't error out when there's no files to be removed:
+ sed 's@\(xargs rm\)$@\1 -f@' \
+ -i "${S}"/toolkit/mozapps/installer/packager.mk || die
+
+ eautoreconf
+
+ # Must run autoconf in js/src
+ cd "${S}"/js/src || die
+ eautoconf
+}
+
+src_configure() {
+ MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
+ MEXTENSIONS="default"
+ # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
+ # Note: These are for Gentoo Linux use ONLY. For your own distribution, please
+ # get your own set of keys.
+ _google_api_key=AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc
+
+ ####################################
+ #
+ # mozconfig, CFLAGS and CXXFLAGS setup
+ #
+ ####################################
+
+ mozconfig_init
+ mozconfig_config
+
+ # It doesn't compile on alpha without this LDFLAGS
+ use alpha && append-ldflags "-Wl,--no-relax"
+
+ # Add full relro support for hardened
+ use hardened && append-ldflags "-Wl,-z,relro,-z,now"
+
+ # Setup api key for location services
+ echo -n "${_google_api_key}" > "${S}"/google-api-key
+ mozconfig_annotate '' --with-google-api-keyfile="${S}/google-api-key"
+
+ mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}"
+ mozconfig_annotate '' --disable-mailnews
+
+ # Other ff-specific settings
+ mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME}
+
+ # Allow for a proper pgo build
+ if use pgo; then
+ echo "mk_add_options PROFILE_GEN_SCRIPT='\$(PYTHON) \$(OBJDIR)/_profile/pgo/profileserver.py'" >> "${S}"/.mozconfig
+ fi
+
+ # Finalize and report settings
+ mozconfig_final
+
+ if [[ $(gcc-major-version) -lt 4 ]]; then
+ append-cxxflags -fno-stack-protector
+ elif [[ $(gcc-major-version) -gt 4 || $(gcc-minor-version) -gt 3 ]]; then
+ if use amd64 || use x86; then
+ append-flags -mno-avx
+ fi
+ fi
+}
+
+src_compile() {
+ if use pgo; then
+ addpredict /root
+ addpredict /etc/gconf
+ # Reset and cleanup environment variables used by GNOME/XDG
+ gnome2_environment_reset
+
+ # Firefox tries to use dri stuff when it's run, see bug 380283
+ shopt -s nullglob
+ cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
+ if test -z "${cards}"; then
+ cards=$(echo -n /dev/ati/card* /dev/nvidiactl* | sed 's/ /:/g')
+ if test -n "${cards}"; then
+ # Binary drivers seem to cause access violations anyway, so
+ # let's use indirect rendering so that the device files aren't
+ # touched at all. See bug 394715.
+ export LIBGL_ALWAYS_INDIRECT=1
+ fi
+ fi
+ shopt -u nullglob
+ addpredict "${cards}"
+
+ CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
+ MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL}" \
+ Xemake -f client.mk profiledbuild || die "Xemake failed"
+ else
+ CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
+ MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL}" \
+ emake -f client.mk
+ fi
+
+}
+
+src_install() {
+ MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
+ DICTPATH="\"${EPREFIX}/usr/share/myspell\""
+
+ # MOZ_BUILD_ROOT, and hence OBJ_DIR change depending on arch, compiler, pgo, etc.
+ local obj_dir="$(echo */config.log)"
+ obj_dir="${obj_dir%/*}"
+ cd "${S}/${obj_dir}" || die
+
+ # Pax mark xpcshell for hardened support, only used for startupcache creation.
+ pax-mark m "${S}/${obj_dir}"/dist/bin/xpcshell
+
+ # Add our default prefs for firefox
+ cp "${FILESDIR}"/gentoo-default-prefs.js-1 \
+ "${S}/${obj_dir}/dist/bin/browser/defaults/preferences/all-gentoo.js" \
+ || die
+
+ # Set default path to search for dictionaries.
+ echo "pref(\"spellchecker.dictionary_path\", ${DICTPATH});" \
+ >> "${S}/${obj_dir}/dist/bin/browser/defaults/preferences/all-gentoo.js" \
+ || die
+
+ echo "pref(\"extensions.autoDisableScopes\", 3);" >> \
+ "${S}/${obj_dir}/dist/bin/browser/defaults/preferences/all-gentoo.js" \
+ || die
+
+ MOZ_MAKE_FLAGS="${MAKEOPTS}" \
+ emake DESTDIR="${D}" install
+
+ # Install language packs
+ mozlinguas_src_install
+
+ local size sizes icon_path icon name
+ if use bindist; then
+ sizes="16 32 48"
+ icon_path="${S}/browser/branding/aurora"
+ # Firefox's new rapid release cycle means no more codenames
+ # Let's just stick with this one...
+ icon="aurora"
+ name="Aurora"
+ else
+ sizes="16 22 24 32 256"
+ icon_path="${S}/browser/branding/official"
+ icon="${PN}"
+ name="Mozilla Firefox"
+ fi
+
+ # Install icons and .desktop for menu entry
+ for size in ${sizes}; do
+ insinto "/usr/share/icons/hicolor/${size}x${size}/apps"
+ newins "${icon_path}/default${size}.png" "${icon}.png"
+ done
+ # The 128x128 icon has a different name
+ insinto "/usr/share/icons/hicolor/128x128/apps"
+ newins "${icon_path}/mozicon128.png" "${icon}.png"
+ # Install a 48x48 icon into /usr/share/pixmaps for legacy DEs
+ newicon "${icon_path}/content/icon48.png" "${icon}.png"
+ newmenu "${FILESDIR}/icon/${PN}.desktop" "${PN}.desktop"
+ sed -i -e "s:@NAME@:${name}:" -e "s:@ICON@:${icon}:" \
+ "${ED}/usr/share/applications/${PN}.desktop" || die
+
+ # Add StartupNotify=true bug 237317
+ if use startup-notification ; then
+ echo "StartupNotify=true"\
+ >> "${ED}/usr/share/applications/${PN}.desktop" \
+ || die
+ fi
+
+ # Required in order to use plugins and even run firefox on hardened.
+ pax-mark m "${ED}"${MOZILLA_FIVE_HOME}/plugin-container
+ # Required in order for jit to work on hardened, as of firefox-31
+ use jit && pax-mark pm "${ED}"${MOZILLA_FIVE_HOME}/{firefox,firefox-bin}
+
+ if use minimal; then
+ rm -r "${ED}"/usr/include "${ED}${MOZILLA_FIVE_HOME}"/{idl,include,lib,sdk} \
+ || die "Failed to remove sdk and headers"
+ fi
+
+ # very ugly hack to make firefox not sigbus on sparc
+ # FIXME: is this still needed??
+ use sparc && { sed -e 's/Firefox/FirefoxGentoo/g' \
+ -i "${ED}/${MOZILLA_FIVE_HOME}/application.ini" \
+ || die "sparc sed failed"; }
+
+ # revdep-rebuild entry
+ insinto /etc/revdep-rebuild
+ echo "SEARCH_DIRS_MASK=${MOZILLA_FIVE_HOME}" >> ${T}/10firefox
+ doins "${T}"/10${PN} || die
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ # Update mimedb for the new .desktop file
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/www-plugins/freshplayerplugin/Manifest b/www-plugins/freshplayerplugin/Manifest
index b713beb1..cdde7ddf 100644
--- a/www-plugins/freshplayerplugin/Manifest
+++ b/www-plugins/freshplayerplugin/Manifest
@@ -1,2 +1,3 @@
DIST freshplayerplugin-0.2.1.tar.gz 296795 SHA256 eec2baba2c1cdc2d60b5352c59208bee3d6e7bddd2fe7b6c96478fd287d125b1 SHA512 9daf87e8aeb9ac7056bb8d75e665f7ec79631b943dd7c7481de6badf43d08f4ebc603bbf007da8f2ea8472befdb3d97ab88c741118c9649c7848ef692fb11f6e WHIRLPOOL 2598b5f63023b74e6a8a1514b7d56f88294a3d281bbf053c01a3cc9d60ba0828819a846093dc250a93ab4710c0a568d916c2939169de9c886c9fd3b3ee5279fd
DIST freshplayerplugin-0.2.2.tar.gz 393692 SHA256 c83a9d02a91f876be1a01882730a9dc54c57b3b2ea2383a2652ca3f705d3314e SHA512 ac70dd3e8ce9577d80c60fc60ee01e260c50da27956cad0096d76af51d2e58905a9738980d3aa08dbb5319f04abea1a4e2a75a4c74ed5e276b30cb470d376560 WHIRLPOOL 830e6a564bff90e2e4facc28fb89c9546958c2d93f044e6ae24fa641a2f4427cf1887aa17cdbb19f718bcf7c4782d6cae2ed5c0b263ba211891a7d45aa7eda9e
+DIST freshplayerplugin-0.3.0.tar.gz 2706001 SHA256 ca0281884874f010243496567e9f6717dfea5fdf0406ee39260d234fd57f247e SHA512 5e72131959a119805dcee9fd8d7e5eda0a2100de34eba75643adab7543ec5120babce2b824f8813763da83927c599c14db5ef93ab8ae83a7ea4b942ca4746445 WHIRLPOOL 7cc4867034a0374640e36378665ffa831ea164610b3bb57f607e3f9648e6dc609ee6196a11c781b8f4f138e22e7e9689b2f642258110e088d4eb17e9f820b47f
diff --git a/www-plugins/freshplayerplugin/freshplayerplugin-0.3.0.ebuild b/www-plugins/freshplayerplugin/freshplayerplugin-0.3.0.ebuild
new file mode 100644
index 00000000..1c650fe8
--- /dev/null
+++ b/www-plugins/freshplayerplugin/freshplayerplugin-0.3.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils cmake-multilib nsplugins
+
+DESCRIPTION="ppapi2npapi compatibility layer"
+HOMEPAGE="https://github.com/i-rinat/freshplayerplugin"
+SRC_URI="https://github.com/i-rinat/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT LGPL-2.1"
+SLOT="0"
+
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+ dev-util/ragel
+ dev-libs/libconfig
+ media-libs/freetype:2
+ >=dev-libs/glib-2.38.2-r1:2
+ >=dev-util/cmake-2.8.8
+ >=media-libs/alsa-lib-1.0.28
+ >=x11-libs/pango-1.36.5
+ >=x11-libs/gtk+-2.20:2
+ >=media-libs/mesa-10.0.4
+ >=dev-libs/libevent-2.0.21-r1
+ "
+RDEPEND="
+ www-plugins/chrome-binary-plugins"
+
+S="${WORKDIR}/${PN}-${PV}"
+
+multilib_src_configure() {
+ local mycmakeargs="-DFRESHPLAYERPLUGINPATH=${EPREFIX}/usr/$(get_libdir)/freshplayerplugin"
+
+ cmake-utils_src_configure
+}
+
+multilib_src_install() {
+ # install the wrapper
+ exeinto /usr/$(get_libdir)/${PLUGINS_DIR}
+ doexe libfreshwrapper-pepperflash.so
+ # install wrapper configuration file
+ cd "${S}"
+ dodir /usr/share/${PN} || die
+ insinto /usr/share/${PN} || die
+ doins -r "${S}"/data/freshwrapper.conf.example || die
+ dosym /usr/share/${PN}/freshwrapper.conf.example /etc/freshwrapper.conf || die
+}
diff --git a/x11-misc/lightdm-base/lightdm-base-1.12.2.ebuild b/x11-misc/lightdm-base/lightdm-base-1.12.2.ebuild
index ca1c16e7..1657b27c 100644
--- a/x11-misc/lightdm-base/lightdm-base-1.12.2.ebuild
+++ b/x11-misc/lightdm-base/lightdm-base-1.12.2.ebuild
@@ -15,7 +15,7 @@ SRC_URI="http://launchpad.net/${REAL_PN}/${TRUNK_VERSION}/${PV}/+download/${REAL
LICENSE="GPL-3 LGPL-3"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~x86"
+KEYWORDS="amd64 ~arm ~ppc x86"
IUSE="+introspection"
S="${WORKDIR}/${REAL_P}"
@@ -105,4 +105,9 @@ src_install() {
readme.gentoo_create_doc
systemd_dounit "${FILESDIR}/${REAL_PN}.service"
+ if [[ -d ${D}/etc/lightdm-base ]] ; then
+ ewarn "The directory exists."
+ else
+ dosym /etc/lightdm /etc/"${PN}"
+ fi
}
diff --git a/x11-misc/lightdm-base/lightdm-base-1.12.3.ebuild b/x11-misc/lightdm-base/lightdm-base-1.12.3.ebuild
index ca1c16e7..5055d565 100644
--- a/x11-misc/lightdm-base/lightdm-base-1.12.3.ebuild
+++ b/x11-misc/lightdm-base/lightdm-base-1.12.3.ebuild
@@ -105,4 +105,10 @@ src_install() {
readme.gentoo_create_doc
systemd_dounit "${FILESDIR}/${REAL_PN}.service"
+
+ if [[ -d ${D}/etc/lightdm-base ]] ; then
+ ewarn "The directory exists."
+ else
+ dosym /etc/lightdm /etc/"${PN}"
+ fi
}
diff --git a/x11-themes/kogaion-artwork-calamares/Manifest b/x11-themes/kogaion-artwork-calamares/Manifest
index fccfbd42..105cfae9 100644
--- a/x11-themes/kogaion-artwork-calamares/Manifest
+++ b/x11-themes/kogaion-artwork-calamares/Manifest
@@ -1 +1 @@
-DIST kogaion-artwork-calamares-2.0.tar.bz2 1431645 SHA256 80e63decbe16cb899c5d2ba0dcf7ac95124a5b3754e6421d4c7480bd9a78a681 SHA512 13f3468deb995a1378713e151dcb8a4c12c41743ba9858675c0d832b6364580c465fdccfa1269510b816c7d645ef18d40519ebdf119b2c56ab7e01da520780f7 WHIRLPOOL c411c143dd106ae2f197b25c5b2c8710c2e8e9ca607bf5cb174d6797abc3a7076b0671a3a59acea51b9c9407dc2fe8ad039db55693ca60fd8f4cdf5c3fd3d2d1
+DIST kogaion-artwork-calamares-2.0.tar.bz2 1518435 SHA256 0daabcaae3aee25e8487ecbfbbeb320a54f895944e78aa57c2c096dedc712565 SHA512 51a9a78905f16a8d1737de3cda4649cfc95ab3ae862feacdd1fab2a1c0d454c6afb2cad60049a6d30fb4b67d8bc1210266c362d2a0c38b7791b5e313cc7f52ba WHIRLPOOL 6b0cfa9aaa83f5bf2464997bbcf5261bb70122da73f6a2a1e303b4350e62ddf78b3f4cb4f91afa81bc0ee76d93518c69382094e66b0790205522ffd90a5075b0
diff --git a/x11-themes/kogaion-artwork-calamares/kogaion-artwork-calamares-2.0.ebuild b/x11-themes/kogaion-artwork-calamares/kogaion-artwork-calamares-2.0-r1.ebuild
index 8999a45e..61ecb720 100644
--- a/x11-themes/kogaion-artwork-calamares/kogaion-artwork-calamares-2.0.ebuild
+++ b/x11-themes/kogaion-artwork-calamares/kogaion-artwork-calamares-2.0-r1.ebuild
@@ -8,11 +8,12 @@ inherit eutils
DESCRIPTION="Kogaion Linux 2.0 branding component for Calamares"
HOMEPAGE="http://rogentos.ro"
-SRC_URI="http://venerix.rogentos.ro/kogaion/${PN}-${PV}.tar.bz2"
+SRC_URI="http://bpr.bluepink.ro/~rogentos/kogaion/${CATEGORY}/${PN}/${PN}-${PV}.tar.bz2
+ http://venerix.rogentos.ro/distfiles/${PN}-${PV}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
IUSE=""
RDEPEND="app-admin/calamares"
diff --git a/x11-themes/kogaion-artwork-core/kogaion-artwork-core-2.1.ebuild b/x11-themes/kogaion-artwork-core/kogaion-artwork-core-2.1.ebuild
index 62e194e2..4d8ffeab 100644
--- a/x11-themes/kogaion-artwork-core/kogaion-artwork-core-2.1.ebuild
+++ b/x11-themes/kogaion-artwork-core/kogaion-artwork-core-2.1.ebuild
@@ -52,6 +52,8 @@ src_install() {
insinto /usr/share/cursors/xorg-x11
dosym RezoBlue /usr/share/cursors/xorg-x11/default || "RezoBlue not found"
+ dosym /usr/share/backgrounds/Kogaion_flame.png /usr/share/backgrounds/kgdm.png || "Failed to copy"
+ dosym /usr/share/backgrounds/Circles_wide.png /usr/share/backgrounds/kogaionlinux.png || "Failed to copy"
}
pkg_postinst() {