From fdc97647f9837884d5b729a8000d52bf2ecf5858 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 13 Aug 2017 15:59:24 +0100 Subject: redcore 1708 gamma crucis : bump ebuilds --- app-admin/calamares/calamares-3.1.1-r1708.ebuild | 79 +++ app-admin/calamares/calamares-3.1.1.ebuild | 79 --- app-admin/keepassx/keepassx-9999.ebuild | 45 -- .../openrc-settingsd-1.0.1-r1706.ebuild | 55 -- .../openrc-settingsd-1.0.1-r1708.ebuild | 55 ++ app-admin/vasile/vasile-1706-r1.ebuild | 36 -- app-admin/vasile/vasile-1708.ebuild | 36 ++ app-crypt/libsecret/libsecret-0.18.5-r1706.ebuild | 61 --- app-crypt/libsecret/libsecret-0.18.5-r1708.ebuild | 61 +++ app-emulation/steam/steam-1.0.0.45-r1708.ebuild | 50 ++ app-emulation/steam/steam-1.0.0.45-r9.ebuild | 50 -- ...albox-extpack-oracle-5.1.24.117012-r1706.ebuild | 42 -- ...albox-extpack-oracle-5.1.24.117012-r1708.ebuild | 42 ++ .../virtualbox-guest-additions-5.1.24-r1706.ebuild | 191 ------- .../virtualbox-guest-additions-5.1.24-r1708.ebuild | 191 +++++++ .../virtualbox-modules-5.1.24-r1706.ebuild | 36 -- .../virtualbox-modules-5.1.24-r1708.ebuild | 36 ++ .../virtualbox/virtualbox-5.1.24-r1706.ebuild | 459 ---------------- .../virtualbox/virtualbox-5.1.24-r1708.ebuild | 459 ++++++++++++++++ .../calamares-config-redcore-1706-r4.ebuild | 24 - .../calamares-config-redcore-1708.ebuild | 24 + .../files/modules/bootloader.conf | 4 +- .../calamares-runtime-1706.ebuild | 59 --- .../calamares-runtime-1708.ebuild | 59 +++ app-misc/redcore-live/redcore-live-1706-r1.ebuild | 29 -- app-misc/redcore-live/redcore-live-1708.ebuild | 29 ++ app-misc/redcore-skel/redcore-skel-1706-r1.ebuild | 57 -- app-misc/redcore-skel/redcore-skel-1708.ebuild | 57 ++ app-portage/sisyphus/sisyphus-0.1706-r9.ebuild | 45 -- app-portage/sisyphus/sisyphus-0.1708.ebuild | 45 ++ lxqt-base/lxqt-meta/lxqt-meta-0.11.0-r1706.ebuild | 50 -- lxqt-base/lxqt-meta/lxqt-meta-0.11.0-r1708.ebuild | 50 ++ .../splashutils/splashutils-1.5.4.4-r1706.ebuild | 240 --------- .../splashutils/splashutils-1.5.4.4-r1708.ebuild | 240 +++++++++ media-sound/cantata/cantata-2.1.0-r1706.ebuild | 115 ----- media-sound/cantata/cantata-2.1.0-r1708.ebuild | 115 +++++ net-im/franz/franz-4.0.4-r1708.ebuild | 42 ++ net-im/franz/franz-4.0.4.ebuild | 42 -- .../messengerfordesktop-2.0.9-r1708.ebuild | 36 ++ .../messengerfordesktop-2.0.9.ebuild | 36 -- .../skypeforlinux-5.4.0.1-r1706.ebuild | 108 ---- .../skypeforlinux-5.4.0.1-r1708.ebuild | 108 ++++ net-im/telegram/telegram-0.10.1-r1708.ebuild | 33 ++ net-im/telegram/telegram-0.10.1.ebuild | 33 -- net-im/viber/viber-6.0.1.5-r1708.ebuild | 28 + net-im/viber/viber-6.0.1.5.ebuild | 28 - .../modem-manager-gui-0.0.17.1-r1708.ebuild | 43 ++ .../modem-manager-gui-0.0.17.1.ebuild | 43 -- .../nm-applet-gtk2-0.9.8.10-r1706.ebuild | 53 -- .../nm-applet-gtk2-0.9.8.10-r1708.ebuild | 53 ++ .../broadcom-sta-6.30.223.271-r1706.ebuild | 26 - .../broadcom-sta-6.30.223.271-r1708.ebuild | 26 + sys-apps/baselayout/baselayout-2.2-r1706.ebuild | 262 ---------- sys-apps/baselayout/baselayout-2.2-r1708.ebuild | 262 ++++++++++ sys-apps/lsb-release/lsb-release-1.4-r1706.ebuild | 41 -- sys-apps/lsb-release/lsb-release-1.4-r1708.ebuild | 41 ++ sys-apps/openrc/openrc-0.28-r1706.ebuild | 342 ------------ sys-apps/openrc/openrc-0.28-r1708.ebuild | 342 ++++++++++++ sys-boot/grub/files/grub.default-3 | 2 +- sys-boot/grub/grub-2.02-r1706.ebuild | 298 ----------- sys-boot/grub/grub-2.02-r1708.ebuild | 298 +++++++++++ sys-boot/os-prober/Manifest | 1 - sys-boot/os-prober/os-prober-1.65.ebuild | 80 --- sys-boot/os-prober/os-prober-1.71-r100.ebuild | 78 --- sys-boot/os-prober/os-prober-1.71-r1708.ebuild | 78 +++ .../unetbootin-static-625-r1708.ebuild | 33 ++ .../unetbootin-static-625-r2.ebuild | 33 -- sys-fs/cryptsetup/cryptsetup-1.7.5-r1706.ebuild | 126 ----- sys-fs/cryptsetup/cryptsetup-1.7.5-r1708.ebuild | 126 +++++ sys-fs/vhba/vhba-20170610-r1706.ebuild | 51 -- sys-fs/vhba/vhba-20170610-r1708.ebuild | 51 ++ .../bbswitch-dkms/bbswitch-dkms-0.8-r1706.ebuild | 45 -- .../bbswitch-dkms/bbswitch-dkms-0.8-r1708.ebuild | 45 ++ .../broadcom-sta-dkms-6.30.223.271-r1706.ebuild | 58 --- .../broadcom-sta-dkms-6.30.223.271-r1708.ebuild | 58 +++ sys-kernel/dracut/dracut-044-r1706.ebuild | 267 ---------- sys-kernel/dracut/dracut-044-r1708.ebuild | 267 ++++++++++ .../nvidia-drivers-dkms-381.22-r1706.ebuild | 46 -- .../nvidia-drivers-dkms-381.22-r1708.ebuild | 46 ++ sys-kernel/spl-dkms/spl-dkms-0.6.5.11-r1706.ebuild | 53 -- sys-kernel/spl-dkms/spl-dkms-0.6.5.11-r1708.ebuild | 53 ++ .../vhba-dkms/vhba-dkms-20170610-r1706.ebuild | 46 -- .../vhba-dkms/vhba-dkms-20170610-r1708.ebuild | 46 ++ .../virtualbox-guest-dkms-5.1.24-r1706.ebuild | 43 -- .../virtualbox-guest-dkms-5.1.24-r1708.ebuild | 43 ++ .../virtualbox-modules-dkms-5.1.24-r1706.ebuild | 45 -- .../virtualbox-modules-dkms-5.1.24-r1708.ebuild | 45 ++ sys-kernel/zfs-dkms/zfs-dkms-0.6.5.11-r1706.ebuild | 53 -- sys-kernel/zfs-dkms/zfs-dkms-0.6.5.11-r1708.ebuild | 53 ++ sys-power/bbswitch/bbswitch-0.8-r1706.ebuild | 24 - sys-power/bbswitch/bbswitch-0.8-r1708.ebuild | 24 + .../profile-sync-daemon-5.45.1-r1706.ebuild | 38 -- .../profile-sync-daemon-5.45.1-r1708.ebuild | 38 ++ .../xorg-server/xorg-server-1.19.3-r1706.ebuild | 250 --------- .../xorg-server/xorg-server-1.19.3-r1708.ebuild | 250 +++++++++ .../nvidia-drivers-381.22-r1706.ebuild | 574 --------------------- .../nvidia-drivers-381.22-r1708.ebuild | 574 +++++++++++++++++++++ .../xf86-video-virtualbox-5.1.24-r1706.ebuild | 195 ------- .../xf86-video-virtualbox-5.1.24-r1708.ebuild | 195 +++++++ x11-misc/sddm/sddm-0.14.0-r1706.ebuild | 95 ---- x11-misc/sddm/sddm-0.14.0-r1708.ebuild | 95 ++++ 101 files changed, 5063 insertions(+), 5189 deletions(-) create mode 100644 app-admin/calamares/calamares-3.1.1-r1708.ebuild delete mode 100644 app-admin/calamares/calamares-3.1.1.ebuild delete mode 100644 app-admin/keepassx/keepassx-9999.ebuild delete mode 100644 app-admin/openrc-settingsd/openrc-settingsd-1.0.1-r1706.ebuild create mode 100644 app-admin/openrc-settingsd/openrc-settingsd-1.0.1-r1708.ebuild delete mode 100644 app-admin/vasile/vasile-1706-r1.ebuild create mode 100644 app-admin/vasile/vasile-1708.ebuild delete mode 100644 app-crypt/libsecret/libsecret-0.18.5-r1706.ebuild create mode 100644 app-crypt/libsecret/libsecret-0.18.5-r1708.ebuild create mode 100644 app-emulation/steam/steam-1.0.0.45-r1708.ebuild delete mode 100644 app-emulation/steam/steam-1.0.0.45-r9.ebuild delete mode 100644 app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.1.24.117012-r1706.ebuild create mode 100644 app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.1.24.117012-r1708.ebuild delete mode 100644 app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.1.24-r1706.ebuild create mode 100644 app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.1.24-r1708.ebuild delete mode 100644 app-emulation/virtualbox-modules/virtualbox-modules-5.1.24-r1706.ebuild create mode 100644 app-emulation/virtualbox-modules/virtualbox-modules-5.1.24-r1708.ebuild delete mode 100644 app-emulation/virtualbox/virtualbox-5.1.24-r1706.ebuild create mode 100644 app-emulation/virtualbox/virtualbox-5.1.24-r1708.ebuild delete mode 100644 app-misc/calamares-config-redcore/calamares-config-redcore-1706-r4.ebuild create mode 100644 app-misc/calamares-config-redcore/calamares-config-redcore-1708.ebuild delete mode 100644 app-misc/calamares-runtime/calamares-runtime-1706.ebuild create mode 100644 app-misc/calamares-runtime/calamares-runtime-1708.ebuild delete mode 100644 app-misc/redcore-live/redcore-live-1706-r1.ebuild create mode 100644 app-misc/redcore-live/redcore-live-1708.ebuild delete mode 100644 app-misc/redcore-skel/redcore-skel-1706-r1.ebuild create mode 100644 app-misc/redcore-skel/redcore-skel-1708.ebuild delete mode 100644 app-portage/sisyphus/sisyphus-0.1706-r9.ebuild create mode 100644 app-portage/sisyphus/sisyphus-0.1708.ebuild delete mode 100644 lxqt-base/lxqt-meta/lxqt-meta-0.11.0-r1706.ebuild create mode 100644 lxqt-base/lxqt-meta/lxqt-meta-0.11.0-r1708.ebuild delete mode 100644 media-gfx/splashutils/splashutils-1.5.4.4-r1706.ebuild create mode 100644 media-gfx/splashutils/splashutils-1.5.4.4-r1708.ebuild delete mode 100644 media-sound/cantata/cantata-2.1.0-r1706.ebuild create mode 100644 media-sound/cantata/cantata-2.1.0-r1708.ebuild create mode 100644 net-im/franz/franz-4.0.4-r1708.ebuild delete mode 100644 net-im/franz/franz-4.0.4.ebuild create mode 100644 net-im/messengerfordesktop/messengerfordesktop-2.0.9-r1708.ebuild delete mode 100644 net-im/messengerfordesktop/messengerfordesktop-2.0.9.ebuild delete mode 100644 net-im/skypeforlinux/skypeforlinux-5.4.0.1-r1706.ebuild create mode 100644 net-im/skypeforlinux/skypeforlinux-5.4.0.1-r1708.ebuild create mode 100644 net-im/telegram/telegram-0.10.1-r1708.ebuild delete mode 100644 net-im/telegram/telegram-0.10.1.ebuild create mode 100644 net-im/viber/viber-6.0.1.5-r1708.ebuild delete mode 100644 net-im/viber/viber-6.0.1.5.ebuild create mode 100644 net-misc/modem-manager-gui/modem-manager-gui-0.0.17.1-r1708.ebuild delete mode 100644 net-misc/modem-manager-gui/modem-manager-gui-0.0.17.1.ebuild delete mode 100644 net-misc/nm-applet-gtk2/nm-applet-gtk2-0.9.8.10-r1706.ebuild create mode 100644 net-misc/nm-applet-gtk2/nm-applet-gtk2-0.9.8.10-r1708.ebuild delete mode 100644 net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r1706.ebuild create mode 100644 net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r1708.ebuild delete mode 100644 sys-apps/baselayout/baselayout-2.2-r1706.ebuild create mode 100644 sys-apps/baselayout/baselayout-2.2-r1708.ebuild delete mode 100644 sys-apps/lsb-release/lsb-release-1.4-r1706.ebuild create mode 100644 sys-apps/lsb-release/lsb-release-1.4-r1708.ebuild delete mode 100644 sys-apps/openrc/openrc-0.28-r1706.ebuild create mode 100644 sys-apps/openrc/openrc-0.28-r1708.ebuild delete mode 100644 sys-boot/grub/grub-2.02-r1706.ebuild create mode 100644 sys-boot/grub/grub-2.02-r1708.ebuild delete mode 100644 sys-boot/os-prober/os-prober-1.65.ebuild delete mode 100644 sys-boot/os-prober/os-prober-1.71-r100.ebuild create mode 100644 sys-boot/os-prober/os-prober-1.71-r1708.ebuild create mode 100644 sys-boot/unetbootin-static/unetbootin-static-625-r1708.ebuild delete mode 100644 sys-boot/unetbootin-static/unetbootin-static-625-r2.ebuild delete mode 100644 sys-fs/cryptsetup/cryptsetup-1.7.5-r1706.ebuild create mode 100644 sys-fs/cryptsetup/cryptsetup-1.7.5-r1708.ebuild delete mode 100644 sys-fs/vhba/vhba-20170610-r1706.ebuild create mode 100644 sys-fs/vhba/vhba-20170610-r1708.ebuild delete mode 100644 sys-kernel/bbswitch-dkms/bbswitch-dkms-0.8-r1706.ebuild create mode 100644 sys-kernel/bbswitch-dkms/bbswitch-dkms-0.8-r1708.ebuild delete mode 100644 sys-kernel/broadcom-sta-dkms/broadcom-sta-dkms-6.30.223.271-r1706.ebuild create mode 100644 sys-kernel/broadcom-sta-dkms/broadcom-sta-dkms-6.30.223.271-r1708.ebuild delete mode 100644 sys-kernel/dracut/dracut-044-r1706.ebuild create mode 100644 sys-kernel/dracut/dracut-044-r1708.ebuild delete mode 100644 sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-381.22-r1706.ebuild create mode 100644 sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-381.22-r1708.ebuild delete mode 100644 sys-kernel/spl-dkms/spl-dkms-0.6.5.11-r1706.ebuild create mode 100644 sys-kernel/spl-dkms/spl-dkms-0.6.5.11-r1708.ebuild delete mode 100644 sys-kernel/vhba-dkms/vhba-dkms-20170610-r1706.ebuild create mode 100644 sys-kernel/vhba-dkms/vhba-dkms-20170610-r1708.ebuild delete mode 100644 sys-kernel/virtualbox-guest-dkms/virtualbox-guest-dkms-5.1.24-r1706.ebuild create mode 100644 sys-kernel/virtualbox-guest-dkms/virtualbox-guest-dkms-5.1.24-r1708.ebuild delete mode 100644 sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-5.1.24-r1706.ebuild create mode 100644 sys-kernel/virtualbox-modules-dkms/virtualbox-modules-dkms-5.1.24-r1708.ebuild delete mode 100644 sys-kernel/zfs-dkms/zfs-dkms-0.6.5.11-r1706.ebuild create mode 100644 sys-kernel/zfs-dkms/zfs-dkms-0.6.5.11-r1708.ebuild delete mode 100644 sys-power/bbswitch/bbswitch-0.8-r1706.ebuild create mode 100644 sys-power/bbswitch/bbswitch-0.8-r1708.ebuild delete mode 100644 www-misc/profile-sync-daemon/profile-sync-daemon-5.45.1-r1706.ebuild create mode 100644 www-misc/profile-sync-daemon/profile-sync-daemon-5.45.1-r1708.ebuild delete mode 100644 x11-base/xorg-server/xorg-server-1.19.3-r1706.ebuild create mode 100644 x11-base/xorg-server/xorg-server-1.19.3-r1708.ebuild delete mode 100644 x11-drivers/nvidia-drivers/nvidia-drivers-381.22-r1706.ebuild create mode 100644 x11-drivers/nvidia-drivers/nvidia-drivers-381.22-r1708.ebuild delete mode 100644 x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.1.24-r1706.ebuild create mode 100644 x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.1.24-r1708.ebuild delete mode 100644 x11-misc/sddm/sddm-0.14.0-r1706.ebuild create mode 100644 x11-misc/sddm/sddm-0.14.0-r1708.ebuild diff --git a/app-admin/calamares/calamares-3.1.1-r1708.ebuild b/app-admin/calamares/calamares-3.1.1-r1708.ebuild new file mode 100644 index 00000000..ebf426f6 --- /dev/null +++ b/app-admin/calamares/calamares-3.1.1-r1708.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 +PYTHON_COMPAT=( python3_4 ) + +inherit eutils cmake-utils python-r1 + +SRC_URI="https://github.com/calamares/calamares/releases/download/v${PV}/${P}.tar.gz" + +DESCRIPTION="Distribution-independent installer framework" +HOMEPAGE="http://calamares.io" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64" +IUSE="+python" + +S="${WORKDIR}/${P}" + +DEPEND=" + python? ( + >=dev-libs/boost-1.55.0-r2[python_targets_python3_4] + ) + >=dev-qt/designer-5.6.0:5 + >=dev-qt/linguist-tools-5.6.0:5 + >=dev-qt/qtconcurrent-5.6.0:5 + >=dev-qt/qtcore-5.6.0:5 + >=dev-qt/qtdbus-5.6.0:5 + >=dev-qt/qtdeclarative-5.6.0:5 + >=dev-qt/qtgui-5.6.0:5 + >=dev-qt/qtnetwork-5.6.0:5 + >=dev-qt/qtopengl-5.6.0:5 + >=dev-qt/qtprintsupport-5.6.0:5 + >=dev-qt/qtscript-5.6.0:5 + >=dev-qt/qtsvg-5.6.0:5 + >=dev-qt/qttest-5.6.0:5 + >=dev-qt/qtwebengine-5.6.0:5 + >=dev-qt/qtwebchannel-5.6.0:5 + >=dev-qt/qtwidgets-5.6.0:5 + >=dev-qt/qtxml-5.6.0:5 + >=dev-qt/qtxmlpatterns-5.6.0:5 + >=dev-cpp/yaml-cpp-0.5.1 + >=kde-frameworks/extra-cmake-modules-5.18.0 + >=sys-libs/kpmcore-3.0.2" + +RDEPEND=">=app-misc/calamares-runtime-1.0[branding]" + +src_prepare() { + # by default, calamares writes UUID=partition-uuid in fstab, regardless + # is luks or not. This is utterly broken for many reasons. The patch + # below will make calamares to write proper /dev/mapper entries. + epatch "${FILESDIR}"/${P}-luks-fstab-write-devmapper.patch + # support auto-unlocking encrypted /home partition via OpenRC's dmcrypt service + epatch -p1 "${FILESDIR}"/${P}-openrc-dmcrypt-cfg.patch + # replace calamares installer desktop icon + sed -i "s/Icon=calamares/Icon=redcore-logo/g" "${S}/calamares.desktop" + # fix installer doesn't start from desktop launcher (IMPROVE THIS UGLY THINGY) + sed -i "s/pkexec //g" "${S}/calamares.desktop" + sed -i "s/calamares/calamares-pkexec/g" "${S}/calamares.desktop" + # 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 +} + +src_install() { + cmake-utils_src_install + insinto /usr/bin + insopts -m 755 + doins ${FILESDIR}/calamares-pkexec +} diff --git a/app-admin/calamares/calamares-3.1.1.ebuild b/app-admin/calamares/calamares-3.1.1.ebuild deleted file mode 100644 index ebf426f6..00000000 --- a/app-admin/calamares/calamares-3.1.1.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 -PYTHON_COMPAT=( python3_4 ) - -inherit eutils cmake-utils python-r1 - -SRC_URI="https://github.com/calamares/calamares/releases/download/v${PV}/${P}.tar.gz" - -DESCRIPTION="Distribution-independent installer framework" -HOMEPAGE="http://calamares.io" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64" -IUSE="+python" - -S="${WORKDIR}/${P}" - -DEPEND=" - python? ( - >=dev-libs/boost-1.55.0-r2[python_targets_python3_4] - ) - >=dev-qt/designer-5.6.0:5 - >=dev-qt/linguist-tools-5.6.0:5 - >=dev-qt/qtconcurrent-5.6.0:5 - >=dev-qt/qtcore-5.6.0:5 - >=dev-qt/qtdbus-5.6.0:5 - >=dev-qt/qtdeclarative-5.6.0:5 - >=dev-qt/qtgui-5.6.0:5 - >=dev-qt/qtnetwork-5.6.0:5 - >=dev-qt/qtopengl-5.6.0:5 - >=dev-qt/qtprintsupport-5.6.0:5 - >=dev-qt/qtscript-5.6.0:5 - >=dev-qt/qtsvg-5.6.0:5 - >=dev-qt/qttest-5.6.0:5 - >=dev-qt/qtwebengine-5.6.0:5 - >=dev-qt/qtwebchannel-5.6.0:5 - >=dev-qt/qtwidgets-5.6.0:5 - >=dev-qt/qtxml-5.6.0:5 - >=dev-qt/qtxmlpatterns-5.6.0:5 - >=dev-cpp/yaml-cpp-0.5.1 - >=kde-frameworks/extra-cmake-modules-5.18.0 - >=sys-libs/kpmcore-3.0.2" - -RDEPEND=">=app-misc/calamares-runtime-1.0[branding]" - -src_prepare() { - # by default, calamares writes UUID=partition-uuid in fstab, regardless - # is luks or not. This is utterly broken for many reasons. The patch - # below will make calamares to write proper /dev/mapper entries. - epatch "${FILESDIR}"/${P}-luks-fstab-write-devmapper.patch - # support auto-unlocking encrypted /home partition via OpenRC's dmcrypt service - epatch -p1 "${FILESDIR}"/${P}-openrc-dmcrypt-cfg.patch - # replace calamares installer desktop icon - sed -i "s/Icon=calamares/Icon=redcore-logo/g" "${S}/calamares.desktop" - # fix installer doesn't start from desktop launcher (IMPROVE THIS UGLY THINGY) - sed -i "s/pkexec //g" "${S}/calamares.desktop" - sed -i "s/calamares/calamares-pkexec/g" "${S}/calamares.desktop" - # 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 -} - -src_install() { - cmake-utils_src_install - insinto /usr/bin - insopts -m 755 - doins ${FILESDIR}/calamares-pkexec -} diff --git a/app-admin/keepassx/keepassx-9999.ebuild b/app-admin/keepassx/keepassx-9999.ebuild deleted file mode 100644 index 1367620d..00000000 --- a/app-admin/keepassx/keepassx-9999.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit cmake-utils git-r3 - -DESCRIPTION="Qt password manager compatible with its Win32 and Pocket PC versions" -HOMEPAGE="http://keepassx.sourceforge.net/" -EGIT_REPO_URI=( - "https://github.com/${PN}/${PN}" -) - -LICENSE="LGPL-2.1 GPL-2 GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug test" - -RDEPEND="dev-libs/libgcrypt:= - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 - sys-libs/zlib -" -DEPEND="${RDEPEND} - dev-qt/linguist-tools:5 - dev-qt/qtconcurrent:5 - test? ( dev-qt/qttest:5 ) -" - -src_prepare() { - use test || \ - sed -e "/^find_package(Qt5Test/d" -i CMakeLists.txt || die - - cmake-utils_src_prepare -} - -src_configure() { - local mycmakeargs=( - $(cmake-utils_use_with test TESTS) - -DWITH_GUI_TESTS=OFF - ) - cmake-utils_src_configure -} diff --git a/app-admin/openrc-settingsd/openrc-settingsd-1.0.1-r1706.ebuild b/app-admin/openrc-settingsd/openrc-settingsd-1.0.1-r1706.ebuild deleted file mode 100644 index a5934936..00000000 --- a/app-admin/openrc-settingsd/openrc-settingsd-1.0.1-r1706.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils - -DESCRIPTION="System settings D-Bus service for OpenRC" -HOMEPAGE="https://gnome.gentoo.org/openrc-settingsd.xml" -SRC_URI="https://dev.gentoo.org/~tetromino/distfiles/${PN}/${P}.tar.xz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86" -IUSE="systemd" - -COMMON_DEPEND=">=dev-libs/glib-2.30:2 - dev-libs/libdaemon - sys-apps/dbus - sys-apps/openrc:= - sys-auth/polkit" -RDEPEND="${COMMON_DEPEND} - systemd? ( >=sys-apps/systemd-197 ) - !systemd? ( sys-auth/nss-myhostname !sys-apps/systemd )" -DEPEND="${COMMON_DEPEND} - app-arch/xz-utils - dev-util/gdbus-codegen - virtual/pkgconfig" - -src_prepare() { - epatch "${FILESDIR}"/"${P}"-convert-to-openrc-run.patch -} - -src_configure() { - econf \ - --with-pidfile="${EPREFIX}"/var/run/openrc-settingsd.pid -} - -src_install() { - default - if use systemd; then - # Avoid file collision with systemd - rm -vr "${ED}"usr/share/{dbus-1,polkit-1} "${ED}"etc/dbus-1 || die "rm failed" - fi -} - -pkg_postinst() { - if use systemd; then - elog "You installed ${PN} with USE=systemd. In this mode," - elog "${PN} will not start via simple dbus activation, so you" - elog "will have to manually enable it as an rc service:" - elog " # /etc/init.d/openrc-settingsd start" - elog " # rc-update add openrc-settingsd default" - fi -} diff --git a/app-admin/openrc-settingsd/openrc-settingsd-1.0.1-r1708.ebuild b/app-admin/openrc-settingsd/openrc-settingsd-1.0.1-r1708.ebuild new file mode 100644 index 00000000..a5934936 --- /dev/null +++ b/app-admin/openrc-settingsd/openrc-settingsd-1.0.1-r1708.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +DESCRIPTION="System settings D-Bus service for OpenRC" +HOMEPAGE="https://gnome.gentoo.org/openrc-settingsd.xml" +SRC_URI="https://dev.gentoo.org/~tetromino/distfiles/${PN}/${P}.tar.xz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86" +IUSE="systemd" + +COMMON_DEPEND=">=dev-libs/glib-2.30:2 + dev-libs/libdaemon + sys-apps/dbus + sys-apps/openrc:= + sys-auth/polkit" +RDEPEND="${COMMON_DEPEND} + systemd? ( >=sys-apps/systemd-197 ) + !systemd? ( sys-auth/nss-myhostname !sys-apps/systemd )" +DEPEND="${COMMON_DEPEND} + app-arch/xz-utils + dev-util/gdbus-codegen + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/"${P}"-convert-to-openrc-run.patch +} + +src_configure() { + econf \ + --with-pidfile="${EPREFIX}"/var/run/openrc-settingsd.pid +} + +src_install() { + default + if use systemd; then + # Avoid file collision with systemd + rm -vr "${ED}"usr/share/{dbus-1,polkit-1} "${ED}"etc/dbus-1 || die "rm failed" + fi +} + +pkg_postinst() { + if use systemd; then + elog "You installed ${PN} with USE=systemd. In this mode," + elog "${PN} will not start via simple dbus activation, so you" + elog "will have to manually enable it as an rc service:" + elog " # /etc/init.d/openrc-settingsd start" + elog " # rc-update add openrc-settingsd default" + fi +} diff --git a/app-admin/vasile/vasile-1706-r1.ebuild b/app-admin/vasile/vasile-1706-r1.ebuild deleted file mode 100644 index 6aa967c3..00000000 --- a/app-admin/vasile/vasile-1706-r1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -inherit eutils git-r3 - -DESCRIPTION="Versatile Advanced Script for ISO and Latest Enchantments" -HOMEPAGE="http://redcorelinux.org" - -EGIT_BRANCH="master" -EGIT_REPO_URI="https://gitlab.com/redcore/vasile.git" -EGIT_COMMIT="2270e8267e0747b551df5c2514736a00f9376720" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64" -IUSE="" - -DEPEND="sys-apps/gentoo-functions" -RDEPEND="${DEPEND} - dev-libs/libisoburn - sys-boot/grub:2 - sys-kernel/dkms - sys-fs/mtools - sys-fs/squashfs-tools" - -src_install() { - dodir /usr/bin - exeinto /usr/bin - doexe ${S}/${PN} - dodir /usr/$(get_libdir)/${PN} - insinto /usr/$(get_libdir)/${PN} - doins ${S}/libvasile -} diff --git a/app-admin/vasile/vasile-1708.ebuild b/app-admin/vasile/vasile-1708.ebuild new file mode 100644 index 00000000..7f09678b --- /dev/null +++ b/app-admin/vasile/vasile-1708.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils git-r3 + +DESCRIPTION="Versatile Advanced Script for ISO and Latest Enchantments" +HOMEPAGE="http://redcorelinux.org" + +EGIT_BRANCH="master" +EGIT_REPO_URI="https://gitlab.com/redcore/vasile.git" +EGIT_COMMIT="8cf5486e23a109864f38d326bf1d82f674fb2a17" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64" +IUSE="" + +DEPEND="sys-apps/gentoo-functions" +RDEPEND="${DEPEND} + dev-libs/libisoburn + sys-boot/grub:2 + sys-kernel/dkms + sys-fs/mtools + sys-fs/squashfs-tools" + +src_install() { + dodir /usr/bin + exeinto /usr/bin + doexe ${S}/${PN} + dodir /usr/$(get_libdir)/${PN} + insinto /usr/$(get_libdir)/${PN} + doins ${S}/libvasile +} diff --git a/app-crypt/libsecret/libsecret-0.18.5-r1706.ebuild b/app-crypt/libsecret/libsecret-0.18.5-r1706.ebuild deleted file mode 100644 index 9466fb08..00000000 --- a/app-crypt/libsecret/libsecret-0.18.5-r1706.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -GCONF_DEBUG="yes" -PYTHON_COMPAT=( python2_7 ) -VALA_USE_DEPEND=vapigen - -inherit gnome2 python-any-r1 vala virtualx - -DESCRIPTION="GObject library for accessing the freedesktop.org Secret Service API" -HOMEPAGE="https://wiki.gnome.org/Projects/Libsecret" - -LICENSE="LGPL-2.1+ Apache-2.0" # Apache-2.0 license is used for tests only -SLOT="0" - -IUSE="+crypt +introspection test vala" -REQUIRED_USE="vala? ( introspection )" - -KEYWORDS="alpha amd64 arm ~arm64 ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd" - -RDEPEND=" - >=dev-libs/glib-2.38:2 - crypt? ( >=dev-libs/libgcrypt-1.2.2:0= ) - introspection? ( >=dev-libs/gobject-introspection-1.29:= )" -DEPEND="${RDEPEND} - dev-libs/libxslt - dev-util/gdbus-codegen - >=dev-util/gtk-doc-am-1.9 - >=dev-util/intltool-0.35.0 - sys-devel/gettext - virtual/pkgconfig - test? ( - dev-python/mock - introspection? ( - ${PYTHON_DEPS} - >=dev-libs/gjs-1.32 - dev-python/pygobject:3 ) - ) - vala? ( $(vala_depend) ) -" - -src_prepare() { - use vala && vala_src_prepare - gnome2_src_prepare -} - -src_configure() { - gnome2_src_configure \ - --enable-manpages \ - --disable-strict \ - --disable-coverage \ - --disable-static \ - $(use_enable crypt gcrypt) \ - $(use_enable introspection) \ - $(use_enable vala) -} - -src_test() { - Xemake check -} diff --git a/app-crypt/libsecret/libsecret-0.18.5-r1708.ebuild b/app-crypt/libsecret/libsecret-0.18.5-r1708.ebuild new file mode 100644 index 00000000..9466fb08 --- /dev/null +++ b/app-crypt/libsecret/libsecret-0.18.5-r1708.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +GCONF_DEBUG="yes" +PYTHON_COMPAT=( python2_7 ) +VALA_USE_DEPEND=vapigen + +inherit gnome2 python-any-r1 vala virtualx + +DESCRIPTION="GObject library for accessing the freedesktop.org Secret Service API" +HOMEPAGE="https://wiki.gnome.org/Projects/Libsecret" + +LICENSE="LGPL-2.1+ Apache-2.0" # Apache-2.0 license is used for tests only +SLOT="0" + +IUSE="+crypt +introspection test vala" +REQUIRED_USE="vala? ( introspection )" + +KEYWORDS="alpha amd64 arm ~arm64 ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd" + +RDEPEND=" + >=dev-libs/glib-2.38:2 + crypt? ( >=dev-libs/libgcrypt-1.2.2:0= ) + introspection? ( >=dev-libs/gobject-introspection-1.29:= )" +DEPEND="${RDEPEND} + dev-libs/libxslt + dev-util/gdbus-codegen + >=dev-util/gtk-doc-am-1.9 + >=dev-util/intltool-0.35.0 + sys-devel/gettext + virtual/pkgconfig + test? ( + dev-python/mock + introspection? ( + ${PYTHON_DEPS} + >=dev-libs/gjs-1.32 + dev-python/pygobject:3 ) + ) + vala? ( $(vala_depend) ) +" + +src_prepare() { + use vala && vala_src_prepare + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + --enable-manpages \ + --disable-strict \ + --disable-coverage \ + --disable-static \ + $(use_enable crypt gcrypt) \ + $(use_enable introspection) \ + $(use_enable vala) +} + +src_test() { + Xemake check +} diff --git a/app-emulation/steam/steam-1.0.0.45-r1708.ebuild b/app-emulation/steam/steam-1.0.0.45-r1708.ebuild new file mode 100644 index 00000000..993c0659 --- /dev/null +++ b/app-emulation/steam/steam-1.0.0.45-r1708.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 + +DESCRIPTION="Digital distribution client bootstrap package" +HOMEPAGE="http://steampowered.com/" +SRC_URI="http://repo.steampowered.com/${PN}/pool/${PN}/s/${PN}/${PN}_${PV}.tar.gz" + +LICENSE="custom" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + virtual/ttf-fonts + dev-util/desktop-file-utils + x11-themes/hicolor-icon-theme + net-misc/curl + sys-apps/dbus + media-libs/freetype + media-libs/libtxc_dxtn + x11-libs/gdk-pixbuf + gnome-extra/zenity + amd64? ( + >=media-libs/alsa-lib-1.0.28[abi_x86_32(-)] + >=media-libs/mesa-10.0.4[abi_x86_32(-)] + >=x11-libs/libX11-1.6.2[abi_x86_32(-)] + ) + x86? ( + media-libs/alsa-lib + media-libs/mesa + x11-libs/libX11 + )" + +S=${WORKDIR}/${PN} + +src_prepare() { + epatch "${FILESDIR}"/redcore-${PN}.patch +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + exeinto /usr/bin || die + doexe ${FILESDIR}/redcore-steam || die + rm -rf "${D}"/usr/bin/steamdeps || die + dosym /bin/true /usr/bin/steamdeps || die +} diff --git a/app-emulation/steam/steam-1.0.0.45-r9.ebuild b/app-emulation/steam/steam-1.0.0.45-r9.ebuild deleted file mode 100644 index 993c0659..00000000 --- a/app-emulation/steam/steam-1.0.0.45-r9.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - - -EAPI=5 - -inherit eutils - -DESCRIPTION="Digital distribution client bootstrap package" -HOMEPAGE="http://steampowered.com/" -SRC_URI="http://repo.steampowered.com/${PN}/pool/${PN}/s/${PN}/${PN}_${PV}.tar.gz" - -LICENSE="custom" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - virtual/ttf-fonts - dev-util/desktop-file-utils - x11-themes/hicolor-icon-theme - net-misc/curl - sys-apps/dbus - media-libs/freetype - media-libs/libtxc_dxtn - x11-libs/gdk-pixbuf - gnome-extra/zenity - amd64? ( - >=media-libs/alsa-lib-1.0.28[abi_x86_32(-)] - >=media-libs/mesa-10.0.4[abi_x86_32(-)] - >=x11-libs/libX11-1.6.2[abi_x86_32(-)] - ) - x86? ( - media-libs/alsa-lib - media-libs/mesa - x11-libs/libX11 - )" - -S=${WORKDIR}/${PN} - -src_prepare() { - epatch "${FILESDIR}"/redcore-${PN}.patch -} - -src_install() { - emake DESTDIR="${D}" install || die "make install failed" - exeinto /usr/bin || die - doexe ${FILESDIR}/redcore-steam || die - rm -rf "${D}"/usr/bin/steamdeps || die - dosym /bin/true /usr/bin/steamdeps || die -} diff --git a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.1.24.117012-r1706.ebuild b/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.1.24.117012-r1706.ebuild deleted file mode 100644 index 3c6c739d..00000000 --- a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.1.24.117012-r1706.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils multilib versionator - -MAIN_PV="$(get_version_component_range 1-3)" -if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then - MY_PV="${MAIN_PV}_$(get_version_component_range 5)" - DEP_PV="${MY_PV}" - MY_PV="${MY_PV/beta/BETA}" - MY_PV="${MY_PV/rc/RC}" -else - MY_PV="${MAIN_PV}" - DEP_PV="${MAIN_PV}" -fi -VBOX_BUILD_ID="$(get_version_component_range 4)" -MY_PN="Oracle_VM_VirtualBox_Extension_Pack" -MY_P="${MY_PN}-${MY_PV}-${VBOX_BUILD_ID}" - -DESCRIPTION="PUEL extensions for VirtualBox" -HOMEPAGE="http://www.virtualbox.org/" -SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.vbox-extpack -> ${MY_P}.tar.gz" - -LICENSE="PUEL" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" -RESTRICT="mirror strip" - -RDEPEND="~app-emulation/virtualbox-${DEP_PV}" - -S="${WORKDIR}" - -QA_PREBUILT="/usr/lib*/virtualbox/ExtensionPacks/${MY_PN}/.*" - -src_install() { - insinto /usr/$(get_libdir)/virtualbox/ExtensionPacks/${MY_PN} - doins -r linux.${ARCH} - doins ExtPack* PXE-Intel.rom -} diff --git a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.1.24.117012-r1708.ebuild b/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.1.24.117012-r1708.ebuild new file mode 100644 index 00000000..3c6c739d --- /dev/null +++ b/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.1.24.117012-r1708.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils multilib versionator + +MAIN_PV="$(get_version_component_range 1-3)" +if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then + MY_PV="${MAIN_PV}_$(get_version_component_range 5)" + DEP_PV="${MY_PV}" + MY_PV="${MY_PV/beta/BETA}" + MY_PV="${MY_PV/rc/RC}" +else + MY_PV="${MAIN_PV}" + DEP_PV="${MAIN_PV}" +fi +VBOX_BUILD_ID="$(get_version_component_range 4)" +MY_PN="Oracle_VM_VirtualBox_Extension_Pack" +MY_P="${MY_PN}-${MY_PV}-${VBOX_BUILD_ID}" + +DESCRIPTION="PUEL extensions for VirtualBox" +HOMEPAGE="http://www.virtualbox.org/" +SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.vbox-extpack -> ${MY_P}.tar.gz" + +LICENSE="PUEL" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" +RESTRICT="mirror strip" + +RDEPEND="~app-emulation/virtualbox-${DEP_PV}" + +S="${WORKDIR}" + +QA_PREBUILT="/usr/lib*/virtualbox/ExtensionPacks/${MY_PN}/.*" + +src_install() { + insinto /usr/$(get_libdir)/virtualbox/ExtensionPacks/${MY_PN} + doins -r linux.${ARCH} + doins ExtPack* PXE-Intel.rom +} diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.1.24-r1706.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.1.24-r1706.ebuild deleted file mode 100644 index 34fbf5cf..00000000 --- a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.1.24-r1706.ebuild +++ /dev/null @@ -1,191 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils systemd user toolchain-funcs - -MY_PV="${PV/beta/BETA}" -MY_PV="${MY_PV/rc/RC}" -MY_P=VirtualBox-${MY_PV} -DESCRIPTION="VirtualBox kernel modules and user-space tools for Gentoo guests" -HOMEPAGE="http://www.virtualbox.org/" -SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="X" - -RDEPEND="X? ( x11-apps/xrandr - x11-apps/xrefresh - x11-libs/libXmu - x11-libs/libX11 - x11-libs/libXt - x11-libs/libXext - x11-libs/libXau - x11-libs/libXdmcp - x11-libs/libSM - x11-libs/libICE - x11-proto/glproto ) - sys-apps/dbus - ~sys-kernel/virtualbox-guest-dkms-${PV} - !!x11-drivers/xf86-input-virtualbox" -DEPEND="${RDEPEND} - >=dev-util/kbuild-0.1.9998_pre20131130 - >=dev-lang/yasm-0.6.2 - sys-devel/bin86 - sys-libs/pam - sys-power/iasl - X? ( x11-proto/renderproto ) - !X? ( x11-proto/xproto )" -PDEPEND="X? ( ~x11-drivers/xf86-video-virtualbox-${PV} )" - -BUILD_TARGETS="all" -BUILD_TARGET_ARCH="${ARCH}" - -S="${WORKDIR}/${MY_P}" - -pkg_setup() { - enewgroup vboxguest - enewuser vboxguest -1 /bin/sh /dev/null vboxguest - enewgroup vboxsf -} - -src_unpack() { - unpack ${A} - - "${S}"/src/VBox/Additions/linux/export_modules "${WORKDIR}/vbox-kmod.tar.gz" - unpack ./vbox-kmod.tar.gz - - cd "${S}" - rm -rf kBuild/bin tools -} - -src_prepare() { - pushd "${WORKDIR}" &>/dev/null || die - eapply "${FILESDIR}"/vboxguest-4.1.0-log-use-c99.patch - popd &>/dev/null || die - - cp "${FILESDIR}/${PN}-5-localconfig" LocalConfig.kmk || die - use X || echo "VBOX_WITH_X11_ADDITIONS :=" >> LocalConfig.kmk - - for vboxheader in {product,revision,version}-generated.h ; do - for mdir in vbox{guest,sf} ; do - ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \ - "${WORKDIR}/${mdir}/${vboxheader}" - done - done - - sed -e '/^check_gcc$/d' -i configure || die - - eapply_user -} - -src_configure() { - local cmd=( - ./configure - --nofatal - --disable-xpcom - --disable-sdl-ttf - --disable-pulse - --disable-alsa - --with-gcc="$(tc-getCC)" - --with-g++="$(tc-getCXX)" - --target-arch=${ARCH} - --with-linux="${KV_OUT_DIR}" - --build-headless - ) - echo "${cmd[@]}" - "${cmd[@]}" || die "configure failed" - source ./env.sh - export VBOX_GCC_OPT="${CFLAGS} ${CPPFLAGS}" -} - -src_compile() { - MAKE="kmk" \ - emake TOOL_YASM_AS=yasm \ - VBOX_ONLY_ADDITIONS=1 -} - -src_install() { - cd "${S}"/out/linux.${ARCH}/release/bin/additions || die - - insinto /sbin - newins mount.vboxsf mount.vboxsf - fperms 4755 /sbin/mount.vboxsf - - newinitd "${FILESDIR}"/${PN}-8.initd ${PN} - - insinto /usr/sbin/ - newins VBoxService vboxguest-service - fperms 0755 /usr/sbin/vboxguest-service - - insinto /usr/bin - doins VBoxControl - fperms 0755 /usr/bin/VBoxControl - - if use X ; then - doins VBoxClient - fperms 0755 /usr/bin/VBoxClient - - pushd "${S}"/src/VBox/Additions/x11/Installer &>/dev/null \ - || die - newins 98vboxadd-xclient VBoxClient-all - fperms 0755 /usr/bin/VBoxClient-all - popd &>/dev/null || die - fi - - local udev_rules_dir="/lib/udev/rules.d" - dodir ${udev_rules_dir} - echo 'KERNEL=="vboxguest", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \ - >> "${D}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \ - || die - echo 'KERNEL=="vboxuser", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \ - >> "${D}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \ - || die - - insinto /etc/xdg/autostart - doins "${FILESDIR}"/vboxclient.desktop - - insinto /usr/share/doc/${PF} - doins "${FILESDIR}"/xorg.conf.vbox - - systemd_dounit "${FILESDIR}/${PN}.service" -} - -pkg_postinst() { - if ! use X ; then - elog "use flag X is off, enable it to install the" - elog "X Window System video driver." - fi - elog "" - elog "Please add users to the \"vboxguest\" group so they can" - elog "benefit from seamless mode, auto-resize and clipboard." - elog "" - elog "The vboxsf group has been added to make automount services work." - elog "These services are part of the shared folders support." - elog "" - elog "Please add:" - elog "/etc/init.d/${PN}" - elog "to the default runlevel in order to start" - elog "needed services." - elog "To use the VirtualBox X driver, use the following" - elog "file as your /etc/X11/xorg.conf:" - elog " /usr/share/doc/${PF}/xorg.conf.vbox" - elog "" - elog "Also make sure you use the Mesa library for OpenGL:" - elog " eselect opengl set xorg-x11" - elog "" - elog "An autostart .desktop file has been installed to start" - elog "VBoxClient in desktop sessions." - elog "" - elog "You can mount shared folders with:" - elog " mount -t vboxsf " - elog "" - elog "Warning:" - elog "this ebuild is only needed if you are running gentoo" - elog "inside a VirtualBox Virtual Machine, you don't need" - elog "it to run VirtualBox itself." - elog "" -} diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.1.24-r1708.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.1.24-r1708.ebuild new file mode 100644 index 00000000..34fbf5cf --- /dev/null +++ b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.1.24-r1708.ebuild @@ -0,0 +1,191 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils systemd user toolchain-funcs + +MY_PV="${PV/beta/BETA}" +MY_PV="${MY_PV/rc/RC}" +MY_P=VirtualBox-${MY_PV} +DESCRIPTION="VirtualBox kernel modules and user-space tools for Gentoo guests" +HOMEPAGE="http://www.virtualbox.org/" +SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="X" + +RDEPEND="X? ( x11-apps/xrandr + x11-apps/xrefresh + x11-libs/libXmu + x11-libs/libX11 + x11-libs/libXt + x11-libs/libXext + x11-libs/libXau + x11-libs/libXdmcp + x11-libs/libSM + x11-libs/libICE + x11-proto/glproto ) + sys-apps/dbus + ~sys-kernel/virtualbox-guest-dkms-${PV} + !!x11-drivers/xf86-input-virtualbox" +DEPEND="${RDEPEND} + >=dev-util/kbuild-0.1.9998_pre20131130 + >=dev-lang/yasm-0.6.2 + sys-devel/bin86 + sys-libs/pam + sys-power/iasl + X? ( x11-proto/renderproto ) + !X? ( x11-proto/xproto )" +PDEPEND="X? ( ~x11-drivers/xf86-video-virtualbox-${PV} )" + +BUILD_TARGETS="all" +BUILD_TARGET_ARCH="${ARCH}" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + enewgroup vboxguest + enewuser vboxguest -1 /bin/sh /dev/null vboxguest + enewgroup vboxsf +} + +src_unpack() { + unpack ${A} + + "${S}"/src/VBox/Additions/linux/export_modules "${WORKDIR}/vbox-kmod.tar.gz" + unpack ./vbox-kmod.tar.gz + + cd "${S}" + rm -rf kBuild/bin tools +} + +src_prepare() { + pushd "${WORKDIR}" &>/dev/null || die + eapply "${FILESDIR}"/vboxguest-4.1.0-log-use-c99.patch + popd &>/dev/null || die + + cp "${FILESDIR}/${PN}-5-localconfig" LocalConfig.kmk || die + use X || echo "VBOX_WITH_X11_ADDITIONS :=" >> LocalConfig.kmk + + for vboxheader in {product,revision,version}-generated.h ; do + for mdir in vbox{guest,sf} ; do + ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \ + "${WORKDIR}/${mdir}/${vboxheader}" + done + done + + sed -e '/^check_gcc$/d' -i configure || die + + eapply_user +} + +src_configure() { + local cmd=( + ./configure + --nofatal + --disable-xpcom + --disable-sdl-ttf + --disable-pulse + --disable-alsa + --with-gcc="$(tc-getCC)" + --with-g++="$(tc-getCXX)" + --target-arch=${ARCH} + --with-linux="${KV_OUT_DIR}" + --build-headless + ) + echo "${cmd[@]}" + "${cmd[@]}" || die "configure failed" + source ./env.sh + export VBOX_GCC_OPT="${CFLAGS} ${CPPFLAGS}" +} + +src_compile() { + MAKE="kmk" \ + emake TOOL_YASM_AS=yasm \ + VBOX_ONLY_ADDITIONS=1 +} + +src_install() { + cd "${S}"/out/linux.${ARCH}/release/bin/additions || die + + insinto /sbin + newins mount.vboxsf mount.vboxsf + fperms 4755 /sbin/mount.vboxsf + + newinitd "${FILESDIR}"/${PN}-8.initd ${PN} + + insinto /usr/sbin/ + newins VBoxService vboxguest-service + fperms 0755 /usr/sbin/vboxguest-service + + insinto /usr/bin + doins VBoxControl + fperms 0755 /usr/bin/VBoxControl + + if use X ; then + doins VBoxClient + fperms 0755 /usr/bin/VBoxClient + + pushd "${S}"/src/VBox/Additions/x11/Installer &>/dev/null \ + || die + newins 98vboxadd-xclient VBoxClient-all + fperms 0755 /usr/bin/VBoxClient-all + popd &>/dev/null || die + fi + + local udev_rules_dir="/lib/udev/rules.d" + dodir ${udev_rules_dir} + echo 'KERNEL=="vboxguest", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \ + >> "${D}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \ + || die + echo 'KERNEL=="vboxuser", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \ + >> "${D}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \ + || die + + insinto /etc/xdg/autostart + doins "${FILESDIR}"/vboxclient.desktop + + insinto /usr/share/doc/${PF} + doins "${FILESDIR}"/xorg.conf.vbox + + systemd_dounit "${FILESDIR}/${PN}.service" +} + +pkg_postinst() { + if ! use X ; then + elog "use flag X is off, enable it to install the" + elog "X Window System video driver." + fi + elog "" + elog "Please add users to the \"vboxguest\" group so they can" + elog "benefit from seamless mode, auto-resize and clipboard." + elog "" + elog "The vboxsf group has been added to make automount services work." + elog "These services are part of the shared folders support." + elog "" + elog "Please add:" + elog "/etc/init.d/${PN}" + elog "to the default runlevel in order to start" + elog "needed services." + elog "To use the VirtualBox X driver, use the following" + elog "file as your /etc/X11/xorg.conf:" + elog " /usr/share/doc/${PF}/xorg.conf.vbox" + elog "" + elog "Also make sure you use the Mesa library for OpenGL:" + elog " eselect opengl set xorg-x11" + elog "" + elog "An autostart .desktop file has been installed to start" + elog "VBoxClient in desktop sessions." + elog "" + elog "You can mount shared folders with:" + elog " mount -t vboxsf " + elog "" + elog "Warning:" + elog "this ebuild is only needed if you are running gentoo" + elog "inside a VirtualBox Virtual Machine, you don't need" + elog "it to run VirtualBox itself." + elog "" +} diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-5.1.24-r1706.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-5.1.24-r1706.ebuild deleted file mode 100644 index 41d58d9d..00000000 --- a/app-emulation/virtualbox-modules/virtualbox-modules-5.1.24-r1706.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -inherit eutils user - -MY_P=vbox-kernel-module-src-${PV} -DESCRIPTION="Kernel Modules for Virtualbox" -HOMEPAGE="http://www.virtualbox.org/" -SRC_URI="https://dev.gentoo.org/~polynomial-c/virtualbox/${MY_P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -DEPEND="~sys-kernel/${PN}-dkms-${PV}" -RDEPEND="${DEPEND} - !=app-emulation/virtualbox-9999" - -S=${WORKDIR} - -pkg_setup() { - enewgroup vboxusers -} - -src_compile() { - : -} - -src_install() { - insinto /usr/lib/modules-load.d/ - doins "${FILESDIR}"/virtualbox.conf -} diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-5.1.24-r1708.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-5.1.24-r1708.ebuild new file mode 100644 index 00000000..41d58d9d --- /dev/null +++ b/app-emulation/virtualbox-modules/virtualbox-modules-5.1.24-r1708.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils user + +MY_P=vbox-kernel-module-src-${PV} +DESCRIPTION="Kernel Modules for Virtualbox" +HOMEPAGE="http://www.virtualbox.org/" +SRC_URI="https://dev.gentoo.org/~polynomial-c/virtualbox/${MY_P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="~sys-kernel/${PN}-dkms-${PV}" +RDEPEND="${DEPEND} + !=app-emulation/virtualbox-9999" + +S=${WORKDIR} + +pkg_setup() { + enewgroup vboxusers +} + +src_compile() { + : +} + +src_install() { + insinto /usr/lib/modules-load.d/ + doins "${FILESDIR}"/virtualbox.conf +} diff --git a/app-emulation/virtualbox/virtualbox-5.1.24-r1706.ebuild b/app-emulation/virtualbox/virtualbox-5.1.24-r1706.ebuild deleted file mode 100644 index 35574cec..00000000 --- a/app-emulation/virtualbox/virtualbox-5.1.24-r1706.ebuild +++ /dev/null @@ -1,459 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) -inherit eutils fdo-mime flag-o-matic java-pkg-opt-2 linux-info multilib pax-utils python-single-r1 toolchain-funcs udev - -MY_PV="${PV/beta/BETA}" -MY_PV="${MY_PV/rc/RC}" -MY_P=VirtualBox-${MY_PV} -SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2 - https://dev.gentoo.org/~polynomial-c/${PN}/patchsets/${PN}-5.1.18-patches-01.tar.xz" -S="${WORKDIR}/${MY_P}" - -DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use" -HOMEPAGE="http://www.virtualbox.org/" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="alsa debug doc headless java libressl lvm pam pax_kernel pulseaudio +opengl python +qt5 +sdk +udev vboxwebsrv vnc" - -RDEPEND="!app-emulation/virtualbox-bin - ~app-emulation/virtualbox-modules-${PV} - dev-libs/libIDL - >=dev-libs/libxslt-1.1.19 - net-misc/curl - dev-libs/libxml2 - media-libs/libpng:0= - media-libs/libvpx:0= - sys-libs/zlib - !headless? ( - media-libs/libsdl:0[X,video] - x11-libs/libX11 - x11-libs/libXcursor - x11-libs/libXext - x11-libs/libXmu - x11-libs/libXt - opengl? ( virtual/opengl media-libs/freeglut ) - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtprintsupport:5 - dev-qt/qtwidgets:5 - dev-qt/qtx11extras:5 - opengl? ( dev-qt/qtopengl:5 ) - x11-libs/libXinerama - ) - ) - java? ( >=virtual/jre-1.6:= ) - libressl? ( dev-libs/libressl:= ) - !libressl? ( dev-libs/openssl:0= ) - lvm? ( sys-fs/lvm2 ) - udev? ( >=virtual/udev-171 ) - vnc? ( >=net-libs/libvncserver-0.9.9 )" -DEPEND="${RDEPEND} - >=dev-util/kbuild-0.1.9998_pre20131130-r1 - >=dev-lang/yasm-0.6.2 - sys-devel/bin86 - sys-libs/libcap - sys-power/iasl - virtual/pkgconfig - alsa? ( >=media-libs/alsa-lib-1.0.13 ) - doc? ( - app-text/docbook-sgml-dtd:4.4 - dev-texlive/texlive-basic - dev-texlive/texlive-latex - dev-texlive/texlive-latexrecommended - dev-texlive/texlive-latexextra - dev-texlive/texlive-fontsrecommended - dev-texlive/texlive-fontsextra - ) - !headless? ( x11-libs/libXinerama ) - java? ( >=virtual/jre-1.6:= ) - pam? ( sys-libs/pam ) - pax_kernel? ( sys-apps/elfix ) - pulseaudio? ( media-sound/pulseaudio ) - qt5? ( dev-qt/linguist-tools:5 ) - vboxwebsrv? ( net-libs/gsoap[-gnutls(-)] ) - ${PYTHON_DEPS}" - -QA_TEXTRELS_x86="usr/lib/virtualbox-ose/VBoxGuestPropSvc.so - usr/lib/virtualbox/VBoxSDL.so - usr/lib/virtualbox/VBoxSharedFolders.so - usr/lib/virtualbox/VBoxDD2.so - usr/lib/virtualbox/VBoxOGLrenderspu.so - usr/lib/virtualbox/VBoxPython.so - usr/lib/virtualbox/VBoxDD.so - usr/lib/virtualbox/VBoxDDU.so - usr/lib/virtualbox/VBoxREM64.so - usr/lib/virtualbox/VBoxSharedClipboard.so - usr/lib/virtualbox/VBoxHeadless.so - usr/lib/virtualbox/VBoxRT.so - usr/lib/virtualbox/VBoxREM.so - usr/lib/virtualbox/VBoxSettings.so - usr/lib/virtualbox/VBoxKeyboard.so - usr/lib/virtualbox/VBoxSharedCrOpenGL.so - usr/lib/virtualbox/VBoxVMM.so - usr/lib/virtualbox/VirtualBox.so - usr/lib/virtualbox/VBoxOGLhosterrorspu.so - usr/lib/virtualbox/components/VBoxC.so - usr/lib/virtualbox/components/VBoxSVCM.so - usr/lib/virtualbox/components/VBoxDDU.so - usr/lib/virtualbox/components/VBoxRT.so - usr/lib/virtualbox/components/VBoxREM.so - usr/lib/virtualbox/components/VBoxVMM.so - usr/lib/virtualbox/VBoxREM32.so - usr/lib/virtualbox/VBoxPython2_7.so - usr/lib/virtualbox/VBoxXPCOMC.so - usr/lib/virtualbox/VBoxOGLhostcrutil.so - usr/lib/virtualbox/VBoxNetDHCP.so - usr/lib/virtualbox/VBoxNetNAT.so" - -REQUIRED_USE=" - java? ( sdk ) - python? ( sdk ) - vboxwebsrv? ( java ) - ${PYTHON_REQUIRED_USE} -" - -pkg_setup() { - if ! use headless && ! use qt5 ; then - einfo "No USE=\"qt5\" selected, this build will not include any Qt frontend." - elif use headless && use qt5 ; then - einfo "You selected USE=\"headless qt5\", defaulting to" - einfo "USE=\"headless\", this build will not include any X11/Qt frontend." - fi - - if ! use opengl ; then - einfo "No USE=\"opengl\" selected, this build will lack" - einfo "the OpenGL feature." - fi - if ! use python ; then - einfo "You have disabled the \"python\" USE flag. This will only" - einfo "disable the python bindings being installed." - fi - java-pkg-opt-2_pkg_setup - python-single-r1_pkg_setup - - tc-ld-disable-gold #bug 488176 - tc-export CC CXX LD AR RANLIB - export HOST_CC="$(tc-getBUILD_CC)" -} - -src_prepare() { - # Remove shipped binaries (kBuild,yasm), see bug #232775 - rm -r kBuild/bin tools || die - - # Replace pointless GCC version check with something less stupid. - # This is needed for the qt5 version check. - sed -e 's@^check_gcc$@cc_maj="$(gcc -dumpversion | cut -d. -f1)" ; cc_min="$(gcc -dumpversion | cut -d. -f2)"@' -i configure || die - - # Don't use "echo -n" - sed 's@ECHO_N="echo -n"@ECHO_N="printf"@' -i configure || die - - # Disable things unused or split into separate ebuilds - sed -e "s@MY_LIBDIR@$(get_libdir)@" \ - "${FILESDIR}"/${PN}-5-localconfig > LocalConfig.kmk || die - - # Respect LDFLAGS - sed -e "s@_LDFLAGS\.${ARCH}*.*=@& ${LDFLAGS}@g" \ - -i Config.kmk src/libs/xpcom18a4/Config.kmk || die - - # Do not use hard-coded ld (related to bug #488176) - sed -e '/QUIET)ld /s@ld @$(LD) @' \ - -i src/VBox/Devices/PC/ipxe/Makefile.kmk || die - - # Use PAM only when pam USE flag is enbaled (bug #376531) - if ! use pam ; then - elog "Disabling PAM removes the possibility to use the VRDP features." - sed -i 's@^.*VBOX_WITH_PAM@#VBOX_WITH_PAM@' Config.kmk || die - sed -i 's@\(.*/auth/Makefile.kmk.*\)@#\1@' \ - src/VBox/HostServices/Makefile.kmk || die - fi - - # add correct java path - if use java ; then - sed "s@/usr/lib/jvm/java-6-sun@$(java-config -O)@" \ - -i "${S}"/Config.kmk || die - java-pkg-opt-2_src_prepare - fi - - # Only add nopie patch when we're on hardened - if ! gcc-specs-pie ; then - rm "${WORKDIR}"/patches/050_${PN}-*-nopie.patch || die - fi - - # Only add paxmark patch when we're on pax_kernel - if use pax_kernel ; then - epatch "${FILESDIR}"/virtualbox-5.1.4-paxmark-bldprogs.patch || die - fi - - eapply "${WORKDIR}/patches" - - eapply_user -} - -src_configure() { - local myconf=( - --with-gcc="$(tc-getCC)" - --with-g++="$(tc-getCXX)" - --disable-dbus - --disable-kmods - ) - use alsa || myconf+=( --disable-alsa ) - use debug && myconf+=( --build-debug ) - use doc || myconf+=( --disable-docs ) - use java || myconf+=( --disable-java ) - use lvm || myconf+=( --disable-devmapper ) - use opengl || myconf+=( --disable-opengl ) - use pulseaudio || myconf+=( --disable-pulse ) - use python || myconf+=( --disable-python ) - use vboxwebsrv && myconf+=( --enable-webservice ) - use vnc && myconf+=( --enable-vnc ) - if ! use headless ; then - use qt5 || myconf+=( --disable-qt ) - else - myconf+=( --build-headless --disable-opengl ) - fi - if use amd64 && ! has_multilib_profile ; then - myconf+=( --disable-vmmraw ) - fi - # not an autoconf script - ./configure ${myconf[@]} || die "configure failed" -} - -src_compile() { - source ./env.sh || die - - # Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529) - MAKEJOBS=$(grep -Eo '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) #' - MAKELOAD=$(grep -Eo '(\-l|\-\-load-average)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) #' - MAKEOPTS="${MAKEJOBS} ${MAKELOAD}" - MAKE="kmk" emake \ - VBOX_BUILD_PUBLISHER=_Gentoo \ - TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \ - TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \ - TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \ - TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \ - VBOX_GCC_OPT="${CXXFLAGS}" \ - TOOL_YASM_AS=yasm KBUILD_VERBOSE=2 \ - all -} - -src_install() { - local binpath="release" - use debug && binpath="debug" - cd "${S}"/out/linux.${ARCH}/${binpath}/bin || die - - local vbox_inst_path="/usr/$(get_libdir)/${PN}" each fwfile size ico icofile - - vbox_inst() { - local binary="${1}" - local perms="${2:-0750}" - local path="${3:-${vbox_inst_path}}" - - [[ -n "${binary}" ]] || die "vbox_inst: No binray given!" - [[ ${perms} =~ ^[[:digit:]]+{4}$ ]] || die "vbox_inst: perms must consist of four digits." - - insinto ${path} - doins ${binary} - fowners root:vboxusers ${path}/${binary} - fperms ${perms} ${path}/${binary} - } - - # Create configuration files - insinto /etc/vbox - newins "${FILESDIR}/${PN}-4-config" vbox.cfg - - # Set the correct libdir - sed \ - -e "s@MY_LIBDIR@$(get_libdir)@" \ - -i "${D}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed" - - # Install the wrapper script - exeinto ${vbox_inst_path} - newexe "${FILESDIR}/${PN}-ose-5-wrapper" "VBox" - fowners root:vboxusers ${vbox_inst_path}/VBox - fperms 0750 ${vbox_inst_path}/VBox - - # Install binaries and libraries - insinto ${vbox_inst_path} - doins -r components - - # *.rc files for x86_64 are only available on multilib systems - local rcfiles="*.rc" - if use amd64 && ! has_multilib_profile ; then - rcfiles="" - fi - for each in VBox{ExtPackHelperApp,Manage,SVC,Tunctl,XPCOMIPCD} *so *r0 ${rcfiles} ; do - vbox_inst ${each} - done - - # These binaries need to be suid root. - for each in VBox{Headless,Net{AdpCtl,DHCP,NAT}} ; do - vbox_inst ${each} 4750 - done - - # Install EFI Firmware files (bug #320757) - pushd "${S}"/src/VBox/Devices/EFI/FirmwareBin &>/dev/null || die - for fwfile in VBoxEFI{32,64}.fd ; do - vbox_inst ${fwfile} 0644 - done - popd &>/dev/null || die - - # VBoxSVC and VBoxManage need to be pax-marked (bug #403453) - # VBoxXPCOMIPCD (bug #524202) - for each in VBox{Headless,Manage,SVC,XPCOMIPCD} ; do - pax-mark -m "${D}"${vbox_inst_path}/${each} - done - - # Symlink binaries to the shipped wrapper - for each in vbox{headless,manage} VBox{Headless,Manage,VRDP} ; do - dosym ${vbox_inst_path}/VBox /usr/bin/${each} - done - dosym ${vbox_inst_path}/VBoxTunctl /usr/bin/VBoxTunctl - - # VRDPAuth only works with this (bug #351949) - dosym VBoxAuth.so ${vbox_inst_path}/VRDPAuth.so - - # set an env-variable for 3rd party tools - echo -n "VBOX_APP_HOME=${vbox_inst_path}" > "${T}/90virtualbox" - doenvd "${T}/90virtualbox" - - if ! use headless ; then - vbox_inst VBoxSDL 4750 - pax-mark -m "${D}"${vbox_inst_path}/VBoxSDL - - for each in vboxsdl VBoxSDL ; do - dosym ${vbox_inst_path}/VBox /usr/bin/${each} - done - - if use qt5 ; then - vbox_inst VirtualBox 4750 - pax-mark -m "${D}"${vbox_inst_path}/VirtualBox - - if use opengl ; then - vbox_inst VBoxTestOGL - pax-mark -m "${D}"${vbox_inst_path}/VBoxTestOGL - fi - - for each in virtualbox VirtualBox ; do - dosym ${vbox_inst_path}/VBox /usr/bin/${each} - done - - insinto /usr/share/${PN} - doins -r nls - - newmenu "${FILESDIR}"/${PN}-ose.desktop-2 ${PN}.desktop - fi - - pushd "${S}"/src/VBox/Artwork/OSE &>/dev/null || die - for size in 16 32 48 64 128 ; do - newicon -s ${size} ${PN}-${size}px.png ${PN}.png - done - newicon ${PN}-48px.png ${PN}.png - doicon -s scalable ${PN}.svg - popd &>/dev/null || die - pushd "${S}"/src/VBox/Artwork/other &>/dev/null || die - for size in 16 24 32 48 64 72 96 128 256 512 ; do - for ico in hdd ova ovf vbox{,-extpack} vdi vdh vmdk ; do - icofile="${PN}-${ico}-${size}px.png" - if [[ -f "${icofile}" ]] ; then - newicon -s ${size} ${icofile} ${PN}-${ico}.png - fi - done - done - popd &>/dev/null || die - fi - - if use lvm ; then - vbox_inst VBoxVolInfo 4750 - dosym ${vbox_inst_path}/VBoxVolInfo /usr/bin/VBoxVolInfo - fi - - if use sdk ; then - insinto ${vbox_inst_path} - doins -r sdk - - if use java ; then - java-pkg_regjar "${D}${vbox_inst_path}/sdk/bindings/xpcom/java/vboxjxpcom.jar" - java-pkg_regso "${D}${vbox_inst_path}/libvboxjxpcom.so" - fi - fi - - if use udev ; then - # New way of handling USB device nodes for VBox (bug #356215) - local udevdir="$(get_udevdir)" - insinto ${udevdir} - doins VBoxCreateUSBNode.sh - fowners root:vboxusers ${udevdir}/VBoxCreateUSBNode.sh - fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh - insinto ${udevdir}/rules.d - sed "s@%UDEVDIR%@${udevdir}@" "${FILESDIR}"/10-virtualbox.rules \ - > "${T}"/10-virtualbox.rules || die - doins "${T}"/10-virtualbox.rules - fi - - if use vboxwebsrv ; then - vbox_inst vboxwebsrv - dosym ${vbox_inst_path}/VBox /usr/bin/vboxwebsrv - newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv - newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv - fi - - if use doc ; then - dodoc UserManual.pdf - fi -} - -pkg_postinst() { - fdo-mime_desktop_database_update - - if use udev ; then - udevadm control --reload-rules \ - && udevadm trigger --subsystem-match=usb - fi - - if ! use headless && use qt5 ; then - elog "To launch VirtualBox just type: \"virtualbox\"." - fi - elog "You must be in the vboxusers group to use VirtualBox." - elog "" - elog "The latest user manual is available for download at:" - elog "http://download.virtualbox.org/virtualbox/${PV}/UserManual.pdf" - elog "" - elog "For advanced networking setups you should emerge:" - elog "net-misc/bridge-utils and sys-apps/usermode-utilities" - elog "" - elog "IMPORTANT!" - elog "If you upgrade from app-emulation/virtualbox-ose make sure to run" - elog "\"env-update\" as root and logout and relogin as the user you wish" - elog "to run ${PN} as." - elog "" - elog "Starting with version 4.0.0, ${PN} has USB-1 support." - elog "For USB-2 support, PXE-boot ability and VRDP support please emerge" - elog " app-emulation/virtualbox-extpack-oracle" - elog "package." - elog "Starting with version 5.0.0, ${PN} no longer has the \"additions\" and" - elog "the \"extension\" USE flag. For installation of the guest additions ISO" - elog "image, please emerge" - elog " app-emulation/virtualbox-additions" - elog "and for the USB2, USB3, VRDP and PXE boot ROM modules, please emerge" - elog " app-emulation/virtualbox-extpack-oracle" - if ! use udev ; then - elog "" - elog "WARNING!" - elog "Without USE=udev, USB devices will likely not work in ${PN}." - elif [ -e "${ROOT%/}/etc/udev/rules.d/10-virtualbox.rules" ] ; then - elog "" - elog "Please remove \"${ROOT%/}/etc/udev/rules.d/10-virtualbox.rules\"" - elog "or else USB in ${PN} won't work." - fi -} - -pkg_postrm() { - fdo-mime_desktop_database_update -} diff --git a/app-emulation/virtualbox/virtualbox-5.1.24-r1708.ebuild b/app-emulation/virtualbox/virtualbox-5.1.24-r1708.ebuild new file mode 100644 index 00000000..35574cec --- /dev/null +++ b/app-emulation/virtualbox/virtualbox-5.1.24-r1708.ebuild @@ -0,0 +1,459 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +inherit eutils fdo-mime flag-o-matic java-pkg-opt-2 linux-info multilib pax-utils python-single-r1 toolchain-funcs udev + +MY_PV="${PV/beta/BETA}" +MY_PV="${MY_PV/rc/RC}" +MY_P=VirtualBox-${MY_PV} +SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2 + https://dev.gentoo.org/~polynomial-c/${PN}/patchsets/${PN}-5.1.18-patches-01.tar.xz" +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use" +HOMEPAGE="http://www.virtualbox.org/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="alsa debug doc headless java libressl lvm pam pax_kernel pulseaudio +opengl python +qt5 +sdk +udev vboxwebsrv vnc" + +RDEPEND="!app-emulation/virtualbox-bin + ~app-emulation/virtualbox-modules-${PV} + dev-libs/libIDL + >=dev-libs/libxslt-1.1.19 + net-misc/curl + dev-libs/libxml2 + media-libs/libpng:0= + media-libs/libvpx:0= + sys-libs/zlib + !headless? ( + media-libs/libsdl:0[X,video] + x11-libs/libX11 + x11-libs/libXcursor + x11-libs/libXext + x11-libs/libXmu + x11-libs/libXt + opengl? ( virtual/opengl media-libs/freeglut ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtprintsupport:5 + dev-qt/qtwidgets:5 + dev-qt/qtx11extras:5 + opengl? ( dev-qt/qtopengl:5 ) + x11-libs/libXinerama + ) + ) + java? ( >=virtual/jre-1.6:= ) + libressl? ( dev-libs/libressl:= ) + !libressl? ( dev-libs/openssl:0= ) + lvm? ( sys-fs/lvm2 ) + udev? ( >=virtual/udev-171 ) + vnc? ( >=net-libs/libvncserver-0.9.9 )" +DEPEND="${RDEPEND} + >=dev-util/kbuild-0.1.9998_pre20131130-r1 + >=dev-lang/yasm-0.6.2 + sys-devel/bin86 + sys-libs/libcap + sys-power/iasl + virtual/pkgconfig + alsa? ( >=media-libs/alsa-lib-1.0.13 ) + doc? ( + app-text/docbook-sgml-dtd:4.4 + dev-texlive/texlive-basic + dev-texlive/texlive-latex + dev-texlive/texlive-latexrecommended + dev-texlive/texlive-latexextra + dev-texlive/texlive-fontsrecommended + dev-texlive/texlive-fontsextra + ) + !headless? ( x11-libs/libXinerama ) + java? ( >=virtual/jre-1.6:= ) + pam? ( sys-libs/pam ) + pax_kernel? ( sys-apps/elfix ) + pulseaudio? ( media-sound/pulseaudio ) + qt5? ( dev-qt/linguist-tools:5 ) + vboxwebsrv? ( net-libs/gsoap[-gnutls(-)] ) + ${PYTHON_DEPS}" + +QA_TEXTRELS_x86="usr/lib/virtualbox-ose/VBoxGuestPropSvc.so + usr/lib/virtualbox/VBoxSDL.so + usr/lib/virtualbox/VBoxSharedFolders.so + usr/lib/virtualbox/VBoxDD2.so + usr/lib/virtualbox/VBoxOGLrenderspu.so + usr/lib/virtualbox/VBoxPython.so + usr/lib/virtualbox/VBoxDD.so + usr/lib/virtualbox/VBoxDDU.so + usr/lib/virtualbox/VBoxREM64.so + usr/lib/virtualbox/VBoxSharedClipboard.so + usr/lib/virtualbox/VBoxHeadless.so + usr/lib/virtualbox/VBoxRT.so + usr/lib/virtualbox/VBoxREM.so + usr/lib/virtualbox/VBoxSettings.so + usr/lib/virtualbox/VBoxKeyboard.so + usr/lib/virtualbox/VBoxSharedCrOpenGL.so + usr/lib/virtualbox/VBoxVMM.so + usr/lib/virtualbox/VirtualBox.so + usr/lib/virtualbox/VBoxOGLhosterrorspu.so + usr/lib/virtualbox/components/VBoxC.so + usr/lib/virtualbox/components/VBoxSVCM.so + usr/lib/virtualbox/components/VBoxDDU.so + usr/lib/virtualbox/components/VBoxRT.so + usr/lib/virtualbox/components/VBoxREM.so + usr/lib/virtualbox/components/VBoxVMM.so + usr/lib/virtualbox/VBoxREM32.so + usr/lib/virtualbox/VBoxPython2_7.so + usr/lib/virtualbox/VBoxXPCOMC.so + usr/lib/virtualbox/VBoxOGLhostcrutil.so + usr/lib/virtualbox/VBoxNetDHCP.so + usr/lib/virtualbox/VBoxNetNAT.so" + +REQUIRED_USE=" + java? ( sdk ) + python? ( sdk ) + vboxwebsrv? ( java ) + ${PYTHON_REQUIRED_USE} +" + +pkg_setup() { + if ! use headless && ! use qt5 ; then + einfo "No USE=\"qt5\" selected, this build will not include any Qt frontend." + elif use headless && use qt5 ; then + einfo "You selected USE=\"headless qt5\", defaulting to" + einfo "USE=\"headless\", this build will not include any X11/Qt frontend." + fi + + if ! use opengl ; then + einfo "No USE=\"opengl\" selected, this build will lack" + einfo "the OpenGL feature." + fi + if ! use python ; then + einfo "You have disabled the \"python\" USE flag. This will only" + einfo "disable the python bindings being installed." + fi + java-pkg-opt-2_pkg_setup + python-single-r1_pkg_setup + + tc-ld-disable-gold #bug 488176 + tc-export CC CXX LD AR RANLIB + export HOST_CC="$(tc-getBUILD_CC)" +} + +src_prepare() { + # Remove shipped binaries (kBuild,yasm), see bug #232775 + rm -r kBuild/bin tools || die + + # Replace pointless GCC version check with something less stupid. + # This is needed for the qt5 version check. + sed -e 's@^check_gcc$@cc_maj="$(gcc -dumpversion | cut -d. -f1)" ; cc_min="$(gcc -dumpversion | cut -d. -f2)"@' -i configure || die + + # Don't use "echo -n" + sed 's@ECHO_N="echo -n"@ECHO_N="printf"@' -i configure || die + + # Disable things unused or split into separate ebuilds + sed -e "s@MY_LIBDIR@$(get_libdir)@" \ + "${FILESDIR}"/${PN}-5-localconfig > LocalConfig.kmk || die + + # Respect LDFLAGS + sed -e "s@_LDFLAGS\.${ARCH}*.*=@& ${LDFLAGS}@g" \ + -i Config.kmk src/libs/xpcom18a4/Config.kmk || die + + # Do not use hard-coded ld (related to bug #488176) + sed -e '/QUIET)ld /s@ld @$(LD) @' \ + -i src/VBox/Devices/PC/ipxe/Makefile.kmk || die + + # Use PAM only when pam USE flag is enbaled (bug #376531) + if ! use pam ; then + elog "Disabling PAM removes the possibility to use the VRDP features." + sed -i 's@^.*VBOX_WITH_PAM@#VBOX_WITH_PAM@' Config.kmk || die + sed -i 's@\(.*/auth/Makefile.kmk.*\)@#\1@' \ + src/VBox/HostServices/Makefile.kmk || die + fi + + # add correct java path + if use java ; then + sed "s@/usr/lib/jvm/java-6-sun@$(java-config -O)@" \ + -i "${S}"/Config.kmk || die + java-pkg-opt-2_src_prepare + fi + + # Only add nopie patch when we're on hardened + if ! gcc-specs-pie ; then + rm "${WORKDIR}"/patches/050_${PN}-*-nopie.patch || die + fi + + # Only add paxmark patch when we're on pax_kernel + if use pax_kernel ; then + epatch "${FILESDIR}"/virtualbox-5.1.4-paxmark-bldprogs.patch || die + fi + + eapply "${WORKDIR}/patches" + + eapply_user +} + +src_configure() { + local myconf=( + --with-gcc="$(tc-getCC)" + --with-g++="$(tc-getCXX)" + --disable-dbus + --disable-kmods + ) + use alsa || myconf+=( --disable-alsa ) + use debug && myconf+=( --build-debug ) + use doc || myconf+=( --disable-docs ) + use java || myconf+=( --disable-java ) + use lvm || myconf+=( --disable-devmapper ) + use opengl || myconf+=( --disable-opengl ) + use pulseaudio || myconf+=( --disable-pulse ) + use python || myconf+=( --disable-python ) + use vboxwebsrv && myconf+=( --enable-webservice ) + use vnc && myconf+=( --enable-vnc ) + if ! use headless ; then + use qt5 || myconf+=( --disable-qt ) + else + myconf+=( --build-headless --disable-opengl ) + fi + if use amd64 && ! has_multilib_profile ; then + myconf+=( --disable-vmmraw ) + fi + # not an autoconf script + ./configure ${myconf[@]} || die "configure failed" +} + +src_compile() { + source ./env.sh || die + + # Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529) + MAKEJOBS=$(grep -Eo '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) #' + MAKELOAD=$(grep -Eo '(\-l|\-\-load-average)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) #' + MAKEOPTS="${MAKEJOBS} ${MAKELOAD}" + MAKE="kmk" emake \ + VBOX_BUILD_PUBLISHER=_Gentoo \ + TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \ + TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \ + TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \ + TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \ + VBOX_GCC_OPT="${CXXFLAGS}" \ + TOOL_YASM_AS=yasm KBUILD_VERBOSE=2 \ + all +} + +src_install() { + local binpath="release" + use debug && binpath="debug" + cd "${S}"/out/linux.${ARCH}/${binpath}/bin || die + + local vbox_inst_path="/usr/$(get_libdir)/${PN}" each fwfile size ico icofile + + vbox_inst() { + local binary="${1}" + local perms="${2:-0750}" + local path="${3:-${vbox_inst_path}}" + + [[ -n "${binary}" ]] || die "vbox_inst: No binray given!" + [[ ${perms} =~ ^[[:digit:]]+{4}$ ]] || die "vbox_inst: perms must consist of four digits." + + insinto ${path} + doins ${binary} + fowners root:vboxusers ${path}/${binary} + fperms ${perms} ${path}/${binary} + } + + # Create configuration files + insinto /etc/vbox + newins "${FILESDIR}/${PN}-4-config" vbox.cfg + + # Set the correct libdir + sed \ + -e "s@MY_LIBDIR@$(get_libdir)@" \ + -i "${D}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed" + + # Install the wrapper script + exeinto ${vbox_inst_path} + newexe "${FILESDIR}/${PN}-ose-5-wrapper" "VBox" + fowners root:vboxusers ${vbox_inst_path}/VBox + fperms 0750 ${vbox_inst_path}/VBox + + # Install binaries and libraries + insinto ${vbox_inst_path} + doins -r components + + # *.rc files for x86_64 are only available on multilib systems + local rcfiles="*.rc" + if use amd64 && ! has_multilib_profile ; then + rcfiles="" + fi + for each in VBox{ExtPackHelperApp,Manage,SVC,Tunctl,XPCOMIPCD} *so *r0 ${rcfiles} ; do + vbox_inst ${each} + done + + # These binaries need to be suid root. + for each in VBox{Headless,Net{AdpCtl,DHCP,NAT}} ; do + vbox_inst ${each} 4750 + done + + # Install EFI Firmware files (bug #320757) + pushd "${S}"/src/VBox/Devices/EFI/FirmwareBin &>/dev/null || die + for fwfile in VBoxEFI{32,64}.fd ; do + vbox_inst ${fwfile} 0644 + done + popd &>/dev/null || die + + # VBoxSVC and VBoxManage need to be pax-marked (bug #403453) + # VBoxXPCOMIPCD (bug #524202) + for each in VBox{Headless,Manage,SVC,XPCOMIPCD} ; do + pax-mark -m "${D}"${vbox_inst_path}/${each} + done + + # Symlink binaries to the shipped wrapper + for each in vbox{headless,manage} VBox{Headless,Manage,VRDP} ; do + dosym ${vbox_inst_path}/VBox /usr/bin/${each} + done + dosym ${vbox_inst_path}/VBoxTunctl /usr/bin/VBoxTunctl + + # VRDPAuth only works with this (bug #351949) + dosym VBoxAuth.so ${vbox_inst_path}/VRDPAuth.so + + # set an env-variable for 3rd party tools + echo -n "VBOX_APP_HOME=${vbox_inst_path}" > "${T}/90virtualbox" + doenvd "${T}/90virtualbox" + + if ! use headless ; then + vbox_inst VBoxSDL 4750 + pax-mark -m "${D}"${vbox_inst_path}/VBoxSDL + + for each in vboxsdl VBoxSDL ; do + dosym ${vbox_inst_path}/VBox /usr/bin/${each} + done + + if use qt5 ; then + vbox_inst VirtualBox 4750 + pax-mark -m "${D}"${vbox_inst_path}/VirtualBox + + if use opengl ; then + vbox_inst VBoxTestOGL + pax-mark -m "${D}"${vbox_inst_path}/VBoxTestOGL + fi + + for each in virtualbox VirtualBox ; do + dosym ${vbox_inst_path}/VBox /usr/bin/${each} + done + + insinto /usr/share/${PN} + doins -r nls + + newmenu "${FILESDIR}"/${PN}-ose.desktop-2 ${PN}.desktop + fi + + pushd "${S}"/src/VBox/Artwork/OSE &>/dev/null || die + for size in 16 32 48 64 128 ; do + newicon -s ${size} ${PN}-${size}px.png ${PN}.png + done + newicon ${PN}-48px.png ${PN}.png + doicon -s scalable ${PN}.svg + popd &>/dev/null || die + pushd "${S}"/src/VBox/Artwork/other &>/dev/null || die + for size in 16 24 32 48 64 72 96 128 256 512 ; do + for ico in hdd ova ovf vbox{,-extpack} vdi vdh vmdk ; do + icofile="${PN}-${ico}-${size}px.png" + if [[ -f "${icofile}" ]] ; then + newicon -s ${size} ${icofile} ${PN}-${ico}.png + fi + done + done + popd &>/dev/null || die + fi + + if use lvm ; then + vbox_inst VBoxVolInfo 4750 + dosym ${vbox_inst_path}/VBoxVolInfo /usr/bin/VBoxVolInfo + fi + + if use sdk ; then + insinto ${vbox_inst_path} + doins -r sdk + + if use java ; then + java-pkg_regjar "${D}${vbox_inst_path}/sdk/bindings/xpcom/java/vboxjxpcom.jar" + java-pkg_regso "${D}${vbox_inst_path}/libvboxjxpcom.so" + fi + fi + + if use udev ; then + # New way of handling USB device nodes for VBox (bug #356215) + local udevdir="$(get_udevdir)" + insinto ${udevdir} + doins VBoxCreateUSBNode.sh + fowners root:vboxusers ${udevdir}/VBoxCreateUSBNode.sh + fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh + insinto ${udevdir}/rules.d + sed "s@%UDEVDIR%@${udevdir}@" "${FILESDIR}"/10-virtualbox.rules \ + > "${T}"/10-virtualbox.rules || die + doins "${T}"/10-virtualbox.rules + fi + + if use vboxwebsrv ; then + vbox_inst vboxwebsrv + dosym ${vbox_inst_path}/VBox /usr/bin/vboxwebsrv + newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv + newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv + fi + + if use doc ; then + dodoc UserManual.pdf + fi +} + +pkg_postinst() { + fdo-mime_desktop_database_update + + if use udev ; then + udevadm control --reload-rules \ + && udevadm trigger --subsystem-match=usb + fi + + if ! use headless && use qt5 ; then + elog "To launch VirtualBox just type: \"virtualbox\"." + fi + elog "You must be in the vboxusers group to use VirtualBox." + elog "" + elog "The latest user manual is available for download at:" + elog "http://download.virtualbox.org/virtualbox/${PV}/UserManual.pdf" + elog "" + elog "For advanced networking setups you should emerge:" + elog "net-misc/bridge-utils and sys-apps/usermode-utilities" + elog "" + elog "IMPORTANT!" + elog "If you upgrade from app-emulation/virtualbox-ose make sure to run" + elog "\"env-update\" as root and logout and relogin as the user you wish" + elog "to run ${PN} as." + elog "" + elog "Starting with version 4.0.0, ${PN} has USB-1 support." + elog "For USB-2 support, PXE-boot ability and VRDP support please emerge" + elog " app-emulation/virtualbox-extpack-oracle" + elog "package." + elog "Starting with version 5.0.0, ${PN} no longer has the \"additions\" and" + elog "the \"extension\" USE flag. For installation of the guest additions ISO" + elog "image, please emerge" + elog " app-emulation/virtualbox-additions" + elog "and for the USB2, USB3, VRDP and PXE boot ROM modules, please emerge" + elog " app-emulation/virtualbox-extpack-oracle" + if ! use udev ; then + elog "" + elog "WARNING!" + elog "Without USE=udev, USB devices will likely not work in ${PN}." + elif [ -e "${ROOT%/}/etc/udev/rules.d/10-virtualbox.rules" ] ; then + elog "" + elog "Please remove \"${ROOT%/}/etc/udev/rules.d/10-virtualbox.rules\"" + elog "or else USB in ${PN} won't work." + fi +} + +pkg_postrm() { + fdo-mime_desktop_database_update +} diff --git a/app-misc/calamares-config-redcore/calamares-config-redcore-1706-r4.ebuild b/app-misc/calamares-config-redcore/calamares-config-redcore-1706-r4.ebuild deleted file mode 100644 index 9f6639d2..00000000 --- a/app-misc/calamares-config-redcore/calamares-config-redcore-1706-r4.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -DESCRIPTION="Redcore Linux Calamares modules config" -HOMEPAGE="" -SRC_URI="" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -RDEPEND="app-admin/calamares" - -S="${FILESDIR}" - -src_install() { - dodir "/etc/calamares" || die - insinto "/etc/calamares" || die - doins -r "${S}/"* || die -} diff --git a/app-misc/calamares-config-redcore/calamares-config-redcore-1708.ebuild b/app-misc/calamares-config-redcore/calamares-config-redcore-1708.ebuild new file mode 100644 index 00000000..9f6639d2 --- /dev/null +++ b/app-misc/calamares-config-redcore/calamares-config-redcore-1708.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +DESCRIPTION="Redcore Linux Calamares modules config" +HOMEPAGE="" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="app-admin/calamares" + +S="${FILESDIR}" + +src_install() { + dodir "/etc/calamares" || die + insinto "/etc/calamares" || die + doins -r "${S}/"* || die +} diff --git a/app-misc/calamares-config-redcore/files/modules/bootloader.conf b/app-misc/calamares-config-redcore/files/modules/bootloader.conf index 78561766..1359fd55 100644 --- a/app-misc/calamares-config-redcore/files/modules/bootloader.conf +++ b/app-misc/calamares-config-redcore/files/modules/bootloader.conf @@ -5,8 +5,8 @@ efiBootLoader: "grub" # systemd-boot configuration files settings, set kernel and initramfs file names # and amount of time before default selection boots -kernel: "/boot/kernel-genkernel-x86_64-4.9.35-redcore" -img: "/boot/initramfs-genkernel-x86_64-4.9.35-redcore" +kernel: "/boot/kernel-genkernel-x86_64-4.12.4-redcore" +img: "/boot/initramfs-genkernel-x86_64-4.12.4-redcore" timeout: "10" # Optionally set the menu entry name and kernel name to use in systemd-boot. # If not specified here, these settings will be taken from branding.desc. diff --git a/app-misc/calamares-runtime/calamares-runtime-1706.ebuild b/app-misc/calamares-runtime/calamares-runtime-1706.ebuild deleted file mode 100644 index 15bb23da..00000000 --- a/app-misc/calamares-runtime/calamares-runtime-1706.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -PYTHON_COMPAT=( python3_4 ) - -DESCRIPTION="Calamares distribution-independent installer framework runtime meta-package (containing all the runtime dependencies)" -SRC_URI="" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64" -IUSE="+branding +python" - -DEPEND="" -RDEPEND=" - python? ( - >=dev-libs/boost-1.55.0-r2[python_targets_python3_4] - ) - branding? ( >=x11-themes/redcore-artwork-calamares-1.0 ) - >=app-misc/calamares-config-redcore-1.0 - >=dev-qt/designer-5.6.0:5 - >=dev-qt/linguist-tools-5.6.0:5 - >=dev-qt/qtconcurrent-5.6.0:5 - >=dev-qt/qtcore-5.6.0:5 - >=dev-qt/qtdbus-5.6.0:5 - >=dev-qt/qtdeclarative-5.6.0:5 - >=dev-qt/qtgui-5.6.0:5 - >=dev-qt/qtnetwork-5.6.0:5 - >=dev-qt/qtopengl-5.6.0:5 - >=dev-qt/qtprintsupport-5.6.0:5 - >=dev-qt/qtscript-5.6.0:5 - >=dev-qt/qtsvg-5.6.0:5 - >=dev-qt/qttest-5.6.0:5 - >=dev-qt/qtwebengine-5.6.0:5 - >=dev-qt/qtwebchannel-5.6.0:5 - >=dev-qt/qtwidgets-5.6.0:5 - >=dev-qt/qtxml-5.6.0:5 - >=dev-qt/qtxmlpatterns-5.6.0:5 - >=dev-cpp/yaml-cpp-0.5.1 - >=dev-libs/libatasmart-0.19 - >=kde-frameworks/kconfig-5.18.0 - >=kde-frameworks/ki18n-5.18.0 - >=kde-frameworks/kcoreaddons-5.18.0 - >=kde-frameworks/kparts-5.18.0 - >=kde-frameworks/solid-5.18.0 - >=net-misc/rsync-3.1[xattr] - >=sys-block/parted-3.0 - >=sys-apps/gptfdisk-0.8.10 - >=sys-apps/dmidecode-2.12-r1 - >=sys-fs/squashfs-tools-4.3:0[xattr] - >=sys-power/upower-0.99.0-r1 - >=sys-libs/kpmcore-3.0.2 - sys-boot/os-prober - sys-auth/polkit-qt5 - sys-fs/udisks:2 - virtual/udev" diff --git a/app-misc/calamares-runtime/calamares-runtime-1708.ebuild b/app-misc/calamares-runtime/calamares-runtime-1708.ebuild new file mode 100644 index 00000000..15bb23da --- /dev/null +++ b/app-misc/calamares-runtime/calamares-runtime-1708.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +PYTHON_COMPAT=( python3_4 ) + +DESCRIPTION="Calamares distribution-independent installer framework runtime meta-package (containing all the runtime dependencies)" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64" +IUSE="+branding +python" + +DEPEND="" +RDEPEND=" + python? ( + >=dev-libs/boost-1.55.0-r2[python_targets_python3_4] + ) + branding? ( >=x11-themes/redcore-artwork-calamares-1.0 ) + >=app-misc/calamares-config-redcore-1.0 + >=dev-qt/designer-5.6.0:5 + >=dev-qt/linguist-tools-5.6.0:5 + >=dev-qt/qtconcurrent-5.6.0:5 + >=dev-qt/qtcore-5.6.0:5 + >=dev-qt/qtdbus-5.6.0:5 + >=dev-qt/qtdeclarative-5.6.0:5 + >=dev-qt/qtgui-5.6.0:5 + >=dev-qt/qtnetwork-5.6.0:5 + >=dev-qt/qtopengl-5.6.0:5 + >=dev-qt/qtprintsupport-5.6.0:5 + >=dev-qt/qtscript-5.6.0:5 + >=dev-qt/qtsvg-5.6.0:5 + >=dev-qt/qttest-5.6.0:5 + >=dev-qt/qtwebengine-5.6.0:5 + >=dev-qt/qtwebchannel-5.6.0:5 + >=dev-qt/qtwidgets-5.6.0:5 + >=dev-qt/qtxml-5.6.0:5 + >=dev-qt/qtxmlpatterns-5.6.0:5 + >=dev-cpp/yaml-cpp-0.5.1 + >=dev-libs/libatasmart-0.19 + >=kde-frameworks/kconfig-5.18.0 + >=kde-frameworks/ki18n-5.18.0 + >=kde-frameworks/kcoreaddons-5.18.0 + >=kde-frameworks/kparts-5.18.0 + >=kde-frameworks/solid-5.18.0 + >=net-misc/rsync-3.1[xattr] + >=sys-block/parted-3.0 + >=sys-apps/gptfdisk-0.8.10 + >=sys-apps/dmidecode-2.12-r1 + >=sys-fs/squashfs-tools-4.3:0[xattr] + >=sys-power/upower-0.99.0-r1 + >=sys-libs/kpmcore-3.0.2 + sys-boot/os-prober + sys-auth/polkit-qt5 + sys-fs/udisks:2 + virtual/udev" diff --git a/app-misc/redcore-live/redcore-live-1706-r1.ebuild b/app-misc/redcore-live/redcore-live-1706-r1.ebuild deleted file mode 100644 index 0ed5f33f..00000000 --- a/app-misc/redcore-live/redcore-live-1706-r1.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -EGIT_BRANCH="master" -EGIT_REPO_URI="https://gitlab.com/redcore/redcore-live.git" - -inherit eutils git-r3 - -DESCRIPTION="Redcore Linux live scripts" -HOMEPAGE="http://redcorelinux.org" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="amd64 x86" -IUSE="" - -DEPEND="" -RDEPEND="" - -src_install() { - default -} - -pkg_postrm() { - for service in "redcorelive.service" ; do - find "${ROOT}etc/systemd/system" -name "$service" -delete - done -} diff --git a/app-misc/redcore-live/redcore-live-1708.ebuild b/app-misc/redcore-live/redcore-live-1708.ebuild new file mode 100644 index 00000000..0ed5f33f --- /dev/null +++ b/app-misc/redcore-live/redcore-live-1708.ebuild @@ -0,0 +1,29 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGIT_BRANCH="master" +EGIT_REPO_URI="https://gitlab.com/redcore/redcore-live.git" + +inherit eutils git-r3 + +DESCRIPTION="Redcore Linux live scripts" +HOMEPAGE="http://redcorelinux.org" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_install() { + default +} + +pkg_postrm() { + for service in "redcorelive.service" ; do + find "${ROOT}etc/systemd/system" -name "$service" -delete + done +} diff --git a/app-misc/redcore-skel/redcore-skel-1706-r1.ebuild b/app-misc/redcore-skel/redcore-skel-1706-r1.ebuild deleted file mode 100644 index 8e43bbbf..00000000 --- a/app-misc/redcore-skel/redcore-skel-1706-r1.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=6 -EGIT_REPO_URI="https://gitlab.com/redcore/redcore-skel.git" - -inherit eutils git-r3 fdo-mime - -DESCRIPTION="Redcore Linux skel tree" -HOMEPAGE="http://redcorelinux.org" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" -DEPEND="" -RDEPEND=" - x11-themes/redcore-theme - x11-themes/numix-icon-theme - x11-themes/numix-icon-theme-circle - x11-themes/redcore-artwork-community - x11-themes/redcore-artwork-core" - -src_install () { - dodir /etc/xdg/menus - cp "${S}"/* "${D}"/etc/ -Ra - chown root:root "${D}"/etc/skel -R - - dodir /usr/share/desktop-directories - cp "${FILESDIR}"/3.0/xdg/*.directory "${D}"/usr/share/desktop-directories/ - dodir /usr/share/redcore - cp -a "${FILESDIR}"/3.0/* "${D}"/usr/share/redcore/ - doicon "${FILESDIR}"/3.0/img/redcore-weblink.png - - dodir /etc/xdg/autostart - insinto /etc/xdg/autostart - doins "${FILESDIR}"/loginsound.desktop - - dodir /usr/share/sounds - insinto /usr/share/sounds - doins "${FILESDIR}"/redcore.ogg -} - -pkg_postinst() { - if [ -x "/usr/bin/xdg-desktop-menu" ]; then - xdg-desktop-menu install \ - /usr/share/redcore/xdg/redcore-redcore.directory \ - /usr/share/redcore/xdg/*.desktop - fi - - fdo-mime_desktop_database_update -} - -pkg_prerm() { - if [ -x "/usr/bin/xdg-desktop-menu" ]; then - xdg-desktop-menu uninstall /usr/share/redcore/xdg/redcore-redcore.directory /usr/share/redcore/xdg/*.desktop - fi -} diff --git a/app-misc/redcore-skel/redcore-skel-1708.ebuild b/app-misc/redcore-skel/redcore-skel-1708.ebuild new file mode 100644 index 00000000..8e43bbbf --- /dev/null +++ b/app-misc/redcore-skel/redcore-skel-1708.ebuild @@ -0,0 +1,57 @@ +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=6 +EGIT_REPO_URI="https://gitlab.com/redcore/redcore-skel.git" + +inherit eutils git-r3 fdo-mime + +DESCRIPTION="Redcore Linux skel tree" +HOMEPAGE="http://redcorelinux.org" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" +DEPEND="" +RDEPEND=" + x11-themes/redcore-theme + x11-themes/numix-icon-theme + x11-themes/numix-icon-theme-circle + x11-themes/redcore-artwork-community + x11-themes/redcore-artwork-core" + +src_install () { + dodir /etc/xdg/menus + cp "${S}"/* "${D}"/etc/ -Ra + chown root:root "${D}"/etc/skel -R + + dodir /usr/share/desktop-directories + cp "${FILESDIR}"/3.0/xdg/*.directory "${D}"/usr/share/desktop-directories/ + dodir /usr/share/redcore + cp -a "${FILESDIR}"/3.0/* "${D}"/usr/share/redcore/ + doicon "${FILESDIR}"/3.0/img/redcore-weblink.png + + dodir /etc/xdg/autostart + insinto /etc/xdg/autostart + doins "${FILESDIR}"/loginsound.desktop + + dodir /usr/share/sounds + insinto /usr/share/sounds + doins "${FILESDIR}"/redcore.ogg +} + +pkg_postinst() { + if [ -x "/usr/bin/xdg-desktop-menu" ]; then + xdg-desktop-menu install \ + /usr/share/redcore/xdg/redcore-redcore.directory \ + /usr/share/redcore/xdg/*.desktop + fi + + fdo-mime_desktop_database_update +} + +pkg_prerm() { + if [ -x "/usr/bin/xdg-desktop-menu" ]; then + xdg-desktop-menu uninstall /usr/share/redcore/xdg/redcore-redcore.directory /usr/share/redcore/xdg/*.desktop + fi +} diff --git a/app-portage/sisyphus/sisyphus-0.1706-r9.ebuild b/app-portage/sisyphus/sisyphus-0.1706-r9.ebuild deleted file mode 100644 index 9128f7a9..00000000 --- a/app-portage/sisyphus/sisyphus-0.1706-r9.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -PYTHON_COMPAT=( python3_4 ) - -inherit eutils git-r3 python-r1 - -DESCRIPTION="A simple portage python wrapper which works like other package managers(apt-get/yum/dnf)" -HOMEPAGE="http://redcorelinux.org" - -EGIT_BRANCH=master -EGIT_REPO_URI="https://gitlab.com/redcore/sisyphus.git" -EGIT_COMMIT="b9e09c0b0b05934cad526711a51c4cbf63cc6070" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="+gui" - -DEPEND="dev-lang/python:3.4[sqlite]" -RDEPEND="${DEPEND} - app-portage/gentoolkit[${PYTHON_USEDEP}] - dev-python/animation[${PYTHON_USEDEP}] - dev-python/urllib3[${PYTHON_USEDEP}] - sys-apps/portage[${PYTHON_USEDEP}] - gui? ( dev-python/PyQt5[designer,gui,widgets,${PYTHON_USEDEP}] )" - -src_install() { - default - dosym /usr/bin/${PN}-cli.py /usr/bin/${PN} - dodir /var/lib/${PN}/{csv,db} - if ! use gui; then - rm -rf ${ED}usr/bin/${PN}-gui - rm -rf ${ED}usr/bin/${PN}-gui-pkexec - rm -rf ${ED}usr/share/${PN}/*py - rm -rf ${ED}usr/share/${PN}/icon - rm -rf ${ED}usr/share/${PN}/ui - rm -rf ${ED}usr/share/applications - rm -rf ${ED}usr/share/pixmaps - rm -rf ${ED}usr/share/polkit-1 - fi -} diff --git a/app-portage/sisyphus/sisyphus-0.1708.ebuild b/app-portage/sisyphus/sisyphus-0.1708.ebuild new file mode 100644 index 00000000..9128f7a9 --- /dev/null +++ b/app-portage/sisyphus/sisyphus-0.1708.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python3_4 ) + +inherit eutils git-r3 python-r1 + +DESCRIPTION="A simple portage python wrapper which works like other package managers(apt-get/yum/dnf)" +HOMEPAGE="http://redcorelinux.org" + +EGIT_BRANCH=master +EGIT_REPO_URI="https://gitlab.com/redcore/sisyphus.git" +EGIT_COMMIT="b9e09c0b0b05934cad526711a51c4cbf63cc6070" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="+gui" + +DEPEND="dev-lang/python:3.4[sqlite]" +RDEPEND="${DEPEND} + app-portage/gentoolkit[${PYTHON_USEDEP}] + dev-python/animation[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] + sys-apps/portage[${PYTHON_USEDEP}] + gui? ( dev-python/PyQt5[designer,gui,widgets,${PYTHON_USEDEP}] )" + +src_install() { + default + dosym /usr/bin/${PN}-cli.py /usr/bin/${PN} + dodir /var/lib/${PN}/{csv,db} + if ! use gui; then + rm -rf ${ED}usr/bin/${PN}-gui + rm -rf ${ED}usr/bin/${PN}-gui-pkexec + rm -rf ${ED}usr/share/${PN}/*py + rm -rf ${ED}usr/share/${PN}/icon + rm -rf ${ED}usr/share/${PN}/ui + rm -rf ${ED}usr/share/applications + rm -rf ${ED}usr/share/pixmaps + rm -rf ${ED}usr/share/polkit-1 + fi +} diff --git a/lxqt-base/lxqt-meta/lxqt-meta-0.11.0-r1706.ebuild b/lxqt-base/lxqt-meta/lxqt-meta-0.11.0-r1706.ebuild deleted file mode 100644 index 94dd0afe..00000000 --- a/lxqt-base/lxqt-meta/lxqt-meta-0.11.0-r1706.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -DESCRIPTION="Meta ebuild for LXQt, the Lightweight Desktop Environment" -HOMEPAGE="http://lxqt.org/" - -LICENSE="metapackage" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~x86" -IUSE="+about +admin +branding +filemanager +styles +icons +sddm +lximage minimal +oxygen +policykit - +powermanagement +ssh-askpass sudo" -REQUIRED_USE="oxygen? ( icons )" - -RDEPEND=" - >=lxde-base/lxmenu-data-0.1.2 - >=lxde-base/lxappearance-0.5.5 - ~lxqt-base/lxqt-common-${PV} - ~lxqt-base/lxqt-config-${PV} - ~lxqt-base/lxqt-globalkeys-${PV} - ~lxqt-base/lxqt-notificationd-${PV} - ~lxqt-base/lxqt-panel-${PV} - ~lxqt-base/lxqt-qtplugin-${PV} - ~lxqt-base/lxqt-runner-${PV} - ~lxqt-base/lxqt-session-${PV} - virtual/ttf-fonts - about? ( ~lxqt-base/lxqt-about-${PV} ) - admin? ( ~lxqt-base/lxqt-admin-${PV} ) - branding? ( x11-themes/redcore-theme-lxqt ) - filemanager? ( >=x11-misc/pcmanfm-qt-${PV} ) - styles? ( dev-qt/qt5-styleplugins ) - icons? ( oxygen? ( kde-frameworks/oxygen-icons ) - !oxygen? ( virtual/freedesktop-icon-theme ) ) - sddm? ( x11-misc/sddm ) - lximage? ( media-gfx/lximage-qt ) - !minimal? ( x11-wm/openbox - x11-misc/obconf-qt ) - policykit? ( ~lxqt-base/lxqt-policykit-${PV} - || ( sys-auth/consolekit[policykit(-)] - sys-apps/systemd[policykit(-)] ) ) - powermanagement? ( ~lxqt-base/lxqt-powermanagement-${PV} ) - ssh-askpass? ( ~lxqt-base/lxqt-openssh-askpass-${PV} ) - sudo? ( ~lxqt-base/lxqt-sudo-${PV} )" - -# Note: we prefer kde-frameworks/oxygen-icons over other icon sets, as the initial -# install expects oxygen icons, until the user specifies otherwise (bug 543380) - -S="${WORKDIR}" diff --git a/lxqt-base/lxqt-meta/lxqt-meta-0.11.0-r1708.ebuild b/lxqt-base/lxqt-meta/lxqt-meta-0.11.0-r1708.ebuild new file mode 100644 index 00000000..94dd0afe --- /dev/null +++ b/lxqt-base/lxqt-meta/lxqt-meta-0.11.0-r1708.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="Meta ebuild for LXQt, the Lightweight Desktop Environment" +HOMEPAGE="http://lxqt.org/" + +LICENSE="metapackage" +SLOT="0" +KEYWORDS="amd64 ~arm64 ~x86" +IUSE="+about +admin +branding +filemanager +styles +icons +sddm +lximage minimal +oxygen +policykit + +powermanagement +ssh-askpass sudo" +REQUIRED_USE="oxygen? ( icons )" + +RDEPEND=" + >=lxde-base/lxmenu-data-0.1.2 + >=lxde-base/lxappearance-0.5.5 + ~lxqt-base/lxqt-common-${PV} + ~lxqt-base/lxqt-config-${PV} + ~lxqt-base/lxqt-globalkeys-${PV} + ~lxqt-base/lxqt-notificationd-${PV} + ~lxqt-base/lxqt-panel-${PV} + ~lxqt-base/lxqt-qtplugin-${PV} + ~lxqt-base/lxqt-runner-${PV} + ~lxqt-base/lxqt-session-${PV} + virtual/ttf-fonts + about? ( ~lxqt-base/lxqt-about-${PV} ) + admin? ( ~lxqt-base/lxqt-admin-${PV} ) + branding? ( x11-themes/redcore-theme-lxqt ) + filemanager? ( >=x11-misc/pcmanfm-qt-${PV} ) + styles? ( dev-qt/qt5-styleplugins ) + icons? ( oxygen? ( kde-frameworks/oxygen-icons ) + !oxygen? ( virtual/freedesktop-icon-theme ) ) + sddm? ( x11-misc/sddm ) + lximage? ( media-gfx/lximage-qt ) + !minimal? ( x11-wm/openbox + x11-misc/obconf-qt ) + policykit? ( ~lxqt-base/lxqt-policykit-${PV} + || ( sys-auth/consolekit[policykit(-)] + sys-apps/systemd[policykit(-)] ) ) + powermanagement? ( ~lxqt-base/lxqt-powermanagement-${PV} ) + ssh-askpass? ( ~lxqt-base/lxqt-openssh-askpass-${PV} ) + sudo? ( ~lxqt-base/lxqt-sudo-${PV} )" + +# Note: we prefer kde-frameworks/oxygen-icons over other icon sets, as the initial +# install expects oxygen icons, until the user specifies otherwise (bug 543380) + +S="${WORKDIR}" diff --git a/media-gfx/splashutils/splashutils-1.5.4.4-r1706.ebuild b/media-gfx/splashutils/splashutils-1.5.4.4-r1706.ebuild deleted file mode 100644 index a0e0c7b8..00000000 --- a/media-gfx/splashutils/splashutils-1.5.4.4-r1706.ebuild +++ /dev/null @@ -1,240 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit autotools eutils multilib toolchain-funcs - -MISCSPLASH="miscsplashutils-0.1.8" -GENTOOSPLASH="splashutils-gentoo-1.0.17" -V_JPEG="8a" -V_PNG="1.4.3" -V_ZLIB="1.2.3" -V_FT="2.3.12" - -ZLIBSRC="libs/zlib-${V_ZLIB}" -LPNGSRC="libs/libpng-${V_PNG}" -JPEGSRC="libs/jpeg-${V_JPEG}" -FT2SRC="libs/freetype-${V_FT}" - -RESTRICT="test" -IUSE="hardened +png +truetype gpm fbcondecor" - -DESCRIPTION="Framebuffer splash utilities" -HOMEPAGE="https://sourceforge.net/projects/fbsplash.berlios/" -SRC_URI=" - mirror://sourceforge/fbsplash.berlios/${PN}-lite-${PV}.tar.bz2 - mirror://sourceforge/fbsplash.berlios/${GENTOOSPLASH}.tar.bz2 - mirror://gentoo/${MISCSPLASH}.tar.bz2 - mirror://sourceforge/libpng/libpng-${V_PNG}.tar.bz2 - ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v${V_JPEG}.tar.gz - mirror://sourceforge/freetype/freetype-${V_FT}.tar.bz2 - http://www.gzip.org/zlib/zlib-${V_ZLIB}.tar.bz2 -" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86" - -RDEPEND=" - gpm? ( sys-libs/gpm[static-libs(+)] ) - truetype? ( - >=media-libs/freetype-2[static-libs] - app-arch/bzip2[static-libs(+)] - sys-libs/zlib[static-libs(+)] - ) - png? ( - >=media-libs/libpng-1.4.3[static-libs] - sys-libs/zlib[static-libs(+)] - ) - virtual/jpeg:0[static-libs] - app-arch/cpio - media-gfx/fbgrab - !sys-apps/lcdsplash - sys-apps/openrc" - -DEPEND="${RDEPEND} - >=dev-libs/klibc-1.5 - virtual/pkgconfig -" - -S="${WORKDIR}/${P/_/-}" -SG="${WORKDIR}/${GENTOOSPLASH}" -SM="${WORKDIR}/${MISCSPLASH}" - -pkg_setup() { - if use hardened; then - ewarn "Due to problems with klibc, it is currently impossible to compile splashutils" - ewarn "with 'hardened' GCC flags. As a workaround, the package will be compiled with" - ewarn "-fno-stack-protector. Hardened GCC features will not be used while building" - ewarn "the splash kernel helper." - fi -} - -src_prepare() { - mv "${WORKDIR}"/{libpng-${V_PNG},jpeg-${V_JPEG},zlib-${V_ZLIB},freetype-${V_FT}} "${S}/libs" - - # We need to delete the Makefile and let it be rebuilt when splashutils - # is being configured. Either that, or we end up with a segfaulting kernel - # helper. - rm "${S}/libs/zlib-${V_ZLIB}/Makefile" - - cd "${SG}" - epatch "${FILESDIR}/${P}-gentoo-typo-fix.patch" - epatch "${FILESDIR}/${P}-sys-queue.patch" - epatch "${FILESDIR}/${P}-openrc-run.patch" - - if use truetype ; then - cd "${SM}" - epatch "${FILESDIR}/${P}-freetype-bz2.patch" - cd "${WORKDIR}" - epatch "${FILESDIR}/${P}-ft25.patch" - fi - - cd "${S}" - ln -sf "${S}/src" "${WORKDIR}/core" - - #epatch "${FILESDIR}/${P}-bzip2.patch" - epatch "${FILESDIR}/${P}-multi-keyboard.patch" - # Bug #557126 - epatch "${FILESDIR}/${P}-no-la.patch" - - if ! tc-is-cross-compiler && \ - has_version "sys-devel/gcc:$(gcc-version)[vanilla]" ; then - ewarn "Your GCC was built with the 'vanilla' flag set. If you can't compile" - ewarn "splashutils, you're on your own, as this configuration is not supported." - else - # This should make splashutils compile on systems with hardened GCC. - sed -e 's@K_CFLAGS =@K_CFLAGS = -fno-stack-protector@' -i "${S}/Makefile.in" - fi - - if ! use truetype ; then - sed -i -e 's/fbtruetype kbd/kbd/' "${SM}/Makefile" - fi - - # Latest version of klibc defined its own version of ferror, so there is - # not need for the hack in klibc_compat.h - if has_version ">=dev-libs/klibc-1.5.20"; then - echo > "libs/klibc_compat.h" - fi - - rm -f m4/* - epatch_user - export PKG_CONFIG="pkg-config --static" - eautoreconf -} - -src_configure() { - tc-export CC - cd "${SM}" - emake CC="${CC}" LIB=$(get_libdir) STRIP=true - - cd "${S}" - econf \ - $(use_with png) \ - --without-mng \ - $(use_with gpm) \ - $(use_with truetype ttf) \ - $(use_with truetype ttf-kernel) \ - $(use_enable fbcondecor) \ - --docdir=/usr/share/doc/${PF} \ - --with-freetype2-src=${FT2SRC} \ - --with-jpeg-src=${JPEGSRC} \ - --with-lpng-src=${LPNGSRC} \ - --with-zlib-src=${ZLIBSRC} \ - --with-essential-libdir=/$(get_libdir) -} - -src_compile() { - emake CC="${CC}" STRIP="true" - - cd "${SG}" - emake LIB=$(get_libdir) -} - -src_install() { - local LIB=$(get_libdir) - - cd "${SM}" - emake DESTDIR="${D}" LIB=${LIB} install - - cd "${S}" - emake DESTDIR="${D}" STRIP="true" install - - mv "${D}"/usr/${LIB}/libfbsplash.so* "${D}"/${LIB}/ - gen_usr_ldscript libfbsplash.so - - echo 'CONFIG_PROTECT_MASK="/etc/splash"' > 99splash - doenvd 99splash - - if use fbcondecor ; then - newinitd "${SG}"/init-fbcondecor fbcondecor - newconfd "${SG}"/fbcondecor.conf fbcondecor - fi - newconfd "${SG}"/splash.conf splash - - insinto /usr/share/${PN} - doins "${SG}"/initrd.splash - - insinto /etc/splash - doins "${SM}"/fbtruetype/luxisri.ttf - - cd "${SG}" - make DESTDIR="${D}" LIB=${LIB} install - prune_libtool_files - - sed -i -e "s#/lib/splash#/${LIB}/splash#" "${D}"/sbin/splash-functions.sh - keepdir /${LIB}/splash/{tmp,cache,bin,sys} - dosym /${LIB}/splash/bin/fbres /sbin/fbres -} - -pkg_preinst() { - has_version "<${CATEGORY}/${PN}-1.0" - previous_less_than_1_0=$? - - has_version "<${CATEGORY}/${PN}-1.5.3" - previous_less_than_1_5_3=$? -} - -pkg_postinst() { - if has_version sys-fs/devfsd || ! has_version virtual/udev ; then - elog "This package has been designed with udev in mind. Other solutions, such as" - elog "devfs or a static /dev tree might work, but are generally discouraged and" - elog "not supported. If you decide to switch to udev, you might want to have a" - elog "look at 'The Gentoo udev Guide', which can be found at" - elog " https://wiki.gentoo.org/wiki/Udev" - elog "" - fi - - if [[ $previous_less_than_1_0 = 0 ]] ; then - elog "Since you are upgrading from a pre-1.0 version, please make sure that you" - elog "rebuild your initrds. You can use the splash_geninitramfs script to do that." - elog "" - fi - - if [[ $previous_less_than_1_5_3 = 0 ]] && ! use fbcondecor ; then - elog "Starting with splashutils-1.5.3, support for the fbcondecor kernel patch" - elog "is optional and dependent on the the 'fbcondecor' USE flag. If you wish" - elog "to use fbcondecor, run:" - elog " echo \"media-gfx/splashutils fbcondecor\" >> /etc/portage/package.use" - elog "and re-emerge splashutils." - fi - - if ! test -f /proc/cmdline || - ! egrep -q '(console=tty1|CONSOLE=/dev/tty1)' /proc/cmdline ; then - elog "It is required that you add 'console=tty1' to your kernel" - elog "command line parameters." - elog "" - elog "After these modifications, the relevant part of the kernel command" - elog "line might look like:" - elog " splash=silent,fadein,theme:emergence console=tty1" - elog "" - fi - - if ! has_version 'media-gfx/splash-themes-livecd' && - ! has_version 'media-gfx/splash-themes-gentoo'; then - elog "The sample Gentoo themes (emergence, gentoo) have been removed from the" - elog "core splashutils package. To get some themes you might want to emerge:" - elog " media-gfx/splash-themes-livecd" - elog " media-gfx/splash-themes-gentoo" - fi -} diff --git a/media-gfx/splashutils/splashutils-1.5.4.4-r1708.ebuild b/media-gfx/splashutils/splashutils-1.5.4.4-r1708.ebuild new file mode 100644 index 00000000..a0e0c7b8 --- /dev/null +++ b/media-gfx/splashutils/splashutils-1.5.4.4-r1708.ebuild @@ -0,0 +1,240 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils multilib toolchain-funcs + +MISCSPLASH="miscsplashutils-0.1.8" +GENTOOSPLASH="splashutils-gentoo-1.0.17" +V_JPEG="8a" +V_PNG="1.4.3" +V_ZLIB="1.2.3" +V_FT="2.3.12" + +ZLIBSRC="libs/zlib-${V_ZLIB}" +LPNGSRC="libs/libpng-${V_PNG}" +JPEGSRC="libs/jpeg-${V_JPEG}" +FT2SRC="libs/freetype-${V_FT}" + +RESTRICT="test" +IUSE="hardened +png +truetype gpm fbcondecor" + +DESCRIPTION="Framebuffer splash utilities" +HOMEPAGE="https://sourceforge.net/projects/fbsplash.berlios/" +SRC_URI=" + mirror://sourceforge/fbsplash.berlios/${PN}-lite-${PV}.tar.bz2 + mirror://sourceforge/fbsplash.berlios/${GENTOOSPLASH}.tar.bz2 + mirror://gentoo/${MISCSPLASH}.tar.bz2 + mirror://sourceforge/libpng/libpng-${V_PNG}.tar.bz2 + ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v${V_JPEG}.tar.gz + mirror://sourceforge/freetype/freetype-${V_FT}.tar.bz2 + http://www.gzip.org/zlib/zlib-${V_ZLIB}.tar.bz2 +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86" + +RDEPEND=" + gpm? ( sys-libs/gpm[static-libs(+)] ) + truetype? ( + >=media-libs/freetype-2[static-libs] + app-arch/bzip2[static-libs(+)] + sys-libs/zlib[static-libs(+)] + ) + png? ( + >=media-libs/libpng-1.4.3[static-libs] + sys-libs/zlib[static-libs(+)] + ) + virtual/jpeg:0[static-libs] + app-arch/cpio + media-gfx/fbgrab + !sys-apps/lcdsplash + sys-apps/openrc" + +DEPEND="${RDEPEND} + >=dev-libs/klibc-1.5 + virtual/pkgconfig +" + +S="${WORKDIR}/${P/_/-}" +SG="${WORKDIR}/${GENTOOSPLASH}" +SM="${WORKDIR}/${MISCSPLASH}" + +pkg_setup() { + if use hardened; then + ewarn "Due to problems with klibc, it is currently impossible to compile splashutils" + ewarn "with 'hardened' GCC flags. As a workaround, the package will be compiled with" + ewarn "-fno-stack-protector. Hardened GCC features will not be used while building" + ewarn "the splash kernel helper." + fi +} + +src_prepare() { + mv "${WORKDIR}"/{libpng-${V_PNG},jpeg-${V_JPEG},zlib-${V_ZLIB},freetype-${V_FT}} "${S}/libs" + + # We need to delete the Makefile and let it be rebuilt when splashutils + # is being configured. Either that, or we end up with a segfaulting kernel + # helper. + rm "${S}/libs/zlib-${V_ZLIB}/Makefile" + + cd "${SG}" + epatch "${FILESDIR}/${P}-gentoo-typo-fix.patch" + epatch "${FILESDIR}/${P}-sys-queue.patch" + epatch "${FILESDIR}/${P}-openrc-run.patch" + + if use truetype ; then + cd "${SM}" + epatch "${FILESDIR}/${P}-freetype-bz2.patch" + cd "${WORKDIR}" + epatch "${FILESDIR}/${P}-ft25.patch" + fi + + cd "${S}" + ln -sf "${S}/src" "${WORKDIR}/core" + + #epatch "${FILESDIR}/${P}-bzip2.patch" + epatch "${FILESDIR}/${P}-multi-keyboard.patch" + # Bug #557126 + epatch "${FILESDIR}/${P}-no-la.patch" + + if ! tc-is-cross-compiler && \ + has_version "sys-devel/gcc:$(gcc-version)[vanilla]" ; then + ewarn "Your GCC was built with the 'vanilla' flag set. If you can't compile" + ewarn "splashutils, you're on your own, as this configuration is not supported." + else + # This should make splashutils compile on systems with hardened GCC. + sed -e 's@K_CFLAGS =@K_CFLAGS = -fno-stack-protector@' -i "${S}/Makefile.in" + fi + + if ! use truetype ; then + sed -i -e 's/fbtruetype kbd/kbd/' "${SM}/Makefile" + fi + + # Latest version of klibc defined its own version of ferror, so there is + # not need for the hack in klibc_compat.h + if has_version ">=dev-libs/klibc-1.5.20"; then + echo > "libs/klibc_compat.h" + fi + + rm -f m4/* + epatch_user + export PKG_CONFIG="pkg-config --static" + eautoreconf +} + +src_configure() { + tc-export CC + cd "${SM}" + emake CC="${CC}" LIB=$(get_libdir) STRIP=true + + cd "${S}" + econf \ + $(use_with png) \ + --without-mng \ + $(use_with gpm) \ + $(use_with truetype ttf) \ + $(use_with truetype ttf-kernel) \ + $(use_enable fbcondecor) \ + --docdir=/usr/share/doc/${PF} \ + --with-freetype2-src=${FT2SRC} \ + --with-jpeg-src=${JPEGSRC} \ + --with-lpng-src=${LPNGSRC} \ + --with-zlib-src=${ZLIBSRC} \ + --with-essential-libdir=/$(get_libdir) +} + +src_compile() { + emake CC="${CC}" STRIP="true" + + cd "${SG}" + emake LIB=$(get_libdir) +} + +src_install() { + local LIB=$(get_libdir) + + cd "${SM}" + emake DESTDIR="${D}" LIB=${LIB} install + + cd "${S}" + emake DESTDIR="${D}" STRIP="true" install + + mv "${D}"/usr/${LIB}/libfbsplash.so* "${D}"/${LIB}/ + gen_usr_ldscript libfbsplash.so + + echo 'CONFIG_PROTECT_MASK="/etc/splash"' > 99splash + doenvd 99splash + + if use fbcondecor ; then + newinitd "${SG}"/init-fbcondecor fbcondecor + newconfd "${SG}"/fbcondecor.conf fbcondecor + fi + newconfd "${SG}"/splash.conf splash + + insinto /usr/share/${PN} + doins "${SG}"/initrd.splash + + insinto /etc/splash + doins "${SM}"/fbtruetype/luxisri.ttf + + cd "${SG}" + make DESTDIR="${D}" LIB=${LIB} install + prune_libtool_files + + sed -i -e "s#/lib/splash#/${LIB}/splash#" "${D}"/sbin/splash-functions.sh + keepdir /${LIB}/splash/{tmp,cache,bin,sys} + dosym /${LIB}/splash/bin/fbres /sbin/fbres +} + +pkg_preinst() { + has_version "<${CATEGORY}/${PN}-1.0" + previous_less_than_1_0=$? + + has_version "<${CATEGORY}/${PN}-1.5.3" + previous_less_than_1_5_3=$? +} + +pkg_postinst() { + if has_version sys-fs/devfsd || ! has_version virtual/udev ; then + elog "This package has been designed with udev in mind. Other solutions, such as" + elog "devfs or a static /dev tree might work, but are generally discouraged and" + elog "not supported. If you decide to switch to udev, you might want to have a" + elog "look at 'The Gentoo udev Guide', which can be found at" + elog " https://wiki.gentoo.org/wiki/Udev" + elog "" + fi + + if [[ $previous_less_than_1_0 = 0 ]] ; then + elog "Since you are upgrading from a pre-1.0 version, please make sure that you" + elog "rebuild your initrds. You can use the splash_geninitramfs script to do that." + elog "" + fi + + if [[ $previous_less_than_1_5_3 = 0 ]] && ! use fbcondecor ; then + elog "Starting with splashutils-1.5.3, support for the fbcondecor kernel patch" + elog "is optional and dependent on the the 'fbcondecor' USE flag. If you wish" + elog "to use fbcondecor, run:" + elog " echo \"media-gfx/splashutils fbcondecor\" >> /etc/portage/package.use" + elog "and re-emerge splashutils." + fi + + if ! test -f /proc/cmdline || + ! egrep -q '(console=tty1|CONSOLE=/dev/tty1)' /proc/cmdline ; then + elog "It is required that you add 'console=tty1' to your kernel" + elog "command line parameters." + elog "" + elog "After these modifications, the relevant part of the kernel command" + elog "line might look like:" + elog " splash=silent,fadein,theme:emergence console=tty1" + elog "" + fi + + if ! has_version 'media-gfx/splash-themes-livecd' && + ! has_version 'media-gfx/splash-themes-gentoo'; then + elog "The sample Gentoo themes (emergence, gentoo) have been removed from the" + elog "core splashutils package. To get some themes you might want to emerge:" + elog " media-gfx/splash-themes-livecd" + elog " media-gfx/splash-themes-gentoo" + fi +} diff --git a/media-sound/cantata/cantata-2.1.0-r1706.ebuild b/media-sound/cantata/cantata-2.1.0-r1706.ebuild deleted file mode 100644 index 7ac0dd85..00000000 --- a/media-sound/cantata/cantata-2.1.0-r1706.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PLOCALES="cs de en_GB es fr hu it ja ko pl ru zh_CN" -inherit cmake-utils gnome2-utils l10n qmake-utils xdg - -DESCRIPTION="Featureful and configurable Qt client for the music player daemon (MPD)" -HOMEPAGE="https://github.com/CDrummond/cantata" -SRC_URI="https://github.com/CDrummond/cantata/releases/download/v${PV}/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="cdda cddb cdio http-server mtp musicbrainz replaygain taglib udisks" -REQUIRED_USE=" - ?? ( cdda cdio ) - cdda? ( udisks || ( cddb musicbrainz ) ) - cddb? ( || ( cdio cdda ) taglib ) - cdio? ( udisks || ( cddb musicbrainz ) ) - mtp? ( taglib udisks ) - musicbrainz? ( || ( cdio cdda ) taglib ) - replaygain? ( taglib ) -" - -RDEPEND=" - app-misc/media-player-info - dev-qt/qtcore:5 - dev-qt/qtdbus:5 - dev-qt/qtgui:5 - dev-qt/qtnetwork:5 - dev-qt/qtsql:5[sqlite] - dev-qt/qtsvg:5 - dev-qt/qtwidgets:5 - dev-qt/qtxml:5 - media-sound/mpd - || ( kde-frameworks/breeze-icons:5 kde-frameworks/oxygen-icons:* ) - sys-libs/zlib - virtual/libudev:= - cdda? ( media-sound/cdparanoia ) - cdio? ( dev-libs/libcdio-paranoia ) - cddb? ( media-libs/libcddb ) - mtp? ( media-libs/libmtp ) - musicbrainz? ( media-libs/musicbrainz:5= ) - replaygain? ( - media-libs/libebur128 - media-sound/mpg123 - virtual/ffmpeg - ) - taglib? ( - media-libs/taglib[asf(+),mp4(+)] - media-libs/taglib-extras - udisks? ( sys-fs/udisks:2 ) - ) -" -DEPEND="${RDEPEND} - dev-qt/qtconcurrent:5 - dev-qt/linguist-tools:5 -" - -# cantata has no tests -RESTRICT="test" - -src_prepare() { - remove_locale() { - rm "translations/${PN}_${1}".ts || die - } - - cmake-utils_src_prepare - - # Unbundle 3rd party libs - rm -r 3rdparty/{ebur128,qtsingleapplication} || die - - l10n_find_plocales_changes "translations" "${PN}_" ".ts" - l10n_for_each_disabled_locale_do remove_locale -} - -src_configure() { - local mycmakeargs=( - -DCANTATA_HELPERS_LIB_DIR="$(get_libdir)" - -DENABLE_CDPARANOIA=$(usex cdda) - -DENABLE_CDIOPARANOIA=$(usex cdio) - -DENABLE_CDDB=$(usex cddb) - -DENABLE_HTTP_SERVER=$(usex http-server) - -DENABLE_MTP=$(usex mtp) - -DENABLE_MUSICBRAINZ=$(usex musicbrainz) - -DLRELEASE_EXECUTABLE="$(qt5_get_bindir)/lrelease" - -DENABLE_FFMPEG=$(usex replaygain) - -DENABLE_MPG123=$(usex replaygain) - -DENABLE_TAGLIB=$(usex taglib) - -DENABLE_TAGLIB_EXTRAS=$(usex taglib) - -DENABLE_DEVICES_SUPPORT=$(usex udisks) - -DENABLE_HTTP_STREAM_PLAYBACK=OFF - -DENABLE_REMOTE_DEVICES=OFF - -DENABLE_UDISKS2=ON - ) - - cmake-utils_src_configure -} - -pkg_preinst() { - gnome2_icon_savelist - xdg_pkg_preinst -} - -pkg_postinst() { - gnome2_icon_cache_update - xdg_pkg_postinst -} - -pkg_postrm() { - gnome2_icon_cache_update - xdg_pkg_postrm -} diff --git a/media-sound/cantata/cantata-2.1.0-r1708.ebuild b/media-sound/cantata/cantata-2.1.0-r1708.ebuild new file mode 100644 index 00000000..7ac0dd85 --- /dev/null +++ b/media-sound/cantata/cantata-2.1.0-r1708.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PLOCALES="cs de en_GB es fr hu it ja ko pl ru zh_CN" +inherit cmake-utils gnome2-utils l10n qmake-utils xdg + +DESCRIPTION="Featureful and configurable Qt client for the music player daemon (MPD)" +HOMEPAGE="https://github.com/CDrummond/cantata" +SRC_URI="https://github.com/CDrummond/cantata/releases/download/v${PV}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cdda cddb cdio http-server mtp musicbrainz replaygain taglib udisks" +REQUIRED_USE=" + ?? ( cdda cdio ) + cdda? ( udisks || ( cddb musicbrainz ) ) + cddb? ( || ( cdio cdda ) taglib ) + cdio? ( udisks || ( cddb musicbrainz ) ) + mtp? ( taglib udisks ) + musicbrainz? ( || ( cdio cdda ) taglib ) + replaygain? ( taglib ) +" + +RDEPEND=" + app-misc/media-player-info + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtsql:5[sqlite] + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + media-sound/mpd + || ( kde-frameworks/breeze-icons:5 kde-frameworks/oxygen-icons:* ) + sys-libs/zlib + virtual/libudev:= + cdda? ( media-sound/cdparanoia ) + cdio? ( dev-libs/libcdio-paranoia ) + cddb? ( media-libs/libcddb ) + mtp? ( media-libs/libmtp ) + musicbrainz? ( media-libs/musicbrainz:5= ) + replaygain? ( + media-libs/libebur128 + media-sound/mpg123 + virtual/ffmpeg + ) + taglib? ( + media-libs/taglib[asf(+),mp4(+)] + media-libs/taglib-extras + udisks? ( sys-fs/udisks:2 ) + ) +" +DEPEND="${RDEPEND} + dev-qt/qtconcurrent:5 + dev-qt/linguist-tools:5 +" + +# cantata has no tests +RESTRICT="test" + +src_prepare() { + remove_locale() { + rm "translations/${PN}_${1}".ts || die + } + + cmake-utils_src_prepare + + # Unbundle 3rd party libs + rm -r 3rdparty/{ebur128,qtsingleapplication} || die + + l10n_find_plocales_changes "translations" "${PN}_" ".ts" + l10n_for_each_disabled_locale_do remove_locale +} + +src_configure() { + local mycmakeargs=( + -DCANTATA_HELPERS_LIB_DIR="$(get_libdir)" + -DENABLE_CDPARANOIA=$(usex cdda) + -DENABLE_CDIOPARANOIA=$(usex cdio) + -DENABLE_CDDB=$(usex cddb) + -DENABLE_HTTP_SERVER=$(usex http-server) + -DENABLE_MTP=$(usex mtp) + -DENABLE_MUSICBRAINZ=$(usex musicbrainz) + -DLRELEASE_EXECUTABLE="$(qt5_get_bindir)/lrelease" + -DENABLE_FFMPEG=$(usex replaygain) + -DENABLE_MPG123=$(usex replaygain) + -DENABLE_TAGLIB=$(usex taglib) + -DENABLE_TAGLIB_EXTRAS=$(usex taglib) + -DENABLE_DEVICES_SUPPORT=$(usex udisks) + -DENABLE_HTTP_STREAM_PLAYBACK=OFF + -DENABLE_REMOTE_DEVICES=OFF + -DENABLE_UDISKS2=ON + ) + + cmake-utils_src_configure +} + +pkg_preinst() { + gnome2_icon_savelist + xdg_pkg_preinst +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_pkg_postinst +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_pkg_postrm +} diff --git a/net-im/franz/franz-4.0.4-r1708.ebuild b/net-im/franz/franz-4.0.4-r1708.ebuild new file mode 100644 index 00000000..d4c9edaa --- /dev/null +++ b/net-im/franz/franz-4.0.4-r1708.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils autotools + +DESCRIPTION="Franz is a free messaging app / former Emperor of Austria and combines chat & messaging services into one application. He currently supports Slack, WhatsApp, WeChat, HipChat, Facebook Messenger, Telegram, Google Hangouts, GroupMe, Skype and many more." +HOMEPAGE="http://meetfranz.com/" + +SRC_URI_AMD64="https://github.com/imprecision/franz-app/releases/download/${PV}/Franz-linux-x64-${PV}.tgz" +SRC_URI_X86="https://github.com/imprecision/franz-app/releases/download/${PV}/Franz-linux-ia32-${PV}.tgz" +SRC_URI=" + amd64? ( ${SRC_URI_AMD64} ) + x86? ( ${SRC_URI_X86} ) +" + +SRC_URI="https://github.com/imprecision/franz-app/releases/download/${PV}/Franz-linux-x64-${PV}.tgz" + +SLOT='0' + +KEYWORDS="amd64 x86" + +RESTRICT="mirror" + +S="${WORKDIR}" + +src_unpack() { + unpack ${A} +} + +src_install() { + dodir /usr/share/Franz/ + cp -R ${WORKDIR}/* ${D}/usr/share/Franz || die "Install failed!" + dolib ${WORKDIR}/libnode.so + dolib ${WORKDIR}/libffmpeg.so + domenu ${FILESDIR}/franz.desktop + doicon ${WORKDIR}/resources/app.asar.unpacked/assets/franz.png + dodir /usr/bin + dosym /usr/share/Franz/Franz /usr/bin/Franz +} diff --git a/net-im/franz/franz-4.0.4.ebuild b/net-im/franz/franz-4.0.4.ebuild deleted file mode 100644 index d4c9edaa..00000000 --- a/net-im/franz/franz-4.0.4.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -inherit eutils autotools - -DESCRIPTION="Franz is a free messaging app / former Emperor of Austria and combines chat & messaging services into one application. He currently supports Slack, WhatsApp, WeChat, HipChat, Facebook Messenger, Telegram, Google Hangouts, GroupMe, Skype and many more." -HOMEPAGE="http://meetfranz.com/" - -SRC_URI_AMD64="https://github.com/imprecision/franz-app/releases/download/${PV}/Franz-linux-x64-${PV}.tgz" -SRC_URI_X86="https://github.com/imprecision/franz-app/releases/download/${PV}/Franz-linux-ia32-${PV}.tgz" -SRC_URI=" - amd64? ( ${SRC_URI_AMD64} ) - x86? ( ${SRC_URI_X86} ) -" - -SRC_URI="https://github.com/imprecision/franz-app/releases/download/${PV}/Franz-linux-x64-${PV}.tgz" - -SLOT='0' - -KEYWORDS="amd64 x86" - -RESTRICT="mirror" - -S="${WORKDIR}" - -src_unpack() { - unpack ${A} -} - -src_install() { - dodir /usr/share/Franz/ - cp -R ${WORKDIR}/* ${D}/usr/share/Franz || die "Install failed!" - dolib ${WORKDIR}/libnode.so - dolib ${WORKDIR}/libffmpeg.so - domenu ${FILESDIR}/franz.desktop - doicon ${WORKDIR}/resources/app.asar.unpacked/assets/franz.png - dodir /usr/bin - dosym /usr/share/Franz/Franz /usr/bin/Franz -} diff --git a/net-im/messengerfordesktop/messengerfordesktop-2.0.9-r1708.ebuild b/net-im/messengerfordesktop/messengerfordesktop-2.0.9-r1708.ebuild new file mode 100644 index 00000000..4166c430 --- /dev/null +++ b/net-im/messengerfordesktop/messengerfordesktop-2.0.9-r1708.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils unpacker autotools + +DESCRIPTION="A simple & beautiful app for Facebook Messenger." +HOMEPAGE="https://messengerfordesktop.com/" +SRC_URI="https://github.com/aluxian/Messenger-for-Desktop/releases/download/v${PV}/${P}-linux-amd64.deb" + +SLOT='0' +KEYWORDS="amd64" + +DEPEND="dev-libs/nss + gnome-base/gconf + media-libs/alsa-lib + sys-apps/lsb-release + x11-libs/gtk+:2 + x11-libs/libXtst + x11-libs/libnotify" +RDEPEND="${DEPEND}" + +RESTRICT="mirror" + +S="${WORKDIR}" + +src_unpack() { + unpack_deb ${A} +} + +src_install() { + mv * "${D}" || die + fperms 0755 /opt/${PN}/${PN} || die +} diff --git a/net-im/messengerfordesktop/messengerfordesktop-2.0.9.ebuild b/net-im/messengerfordesktop/messengerfordesktop-2.0.9.ebuild deleted file mode 100644 index 4166c430..00000000 --- a/net-im/messengerfordesktop/messengerfordesktop-2.0.9.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -inherit eutils unpacker autotools - -DESCRIPTION="A simple & beautiful app for Facebook Messenger." -HOMEPAGE="https://messengerfordesktop.com/" -SRC_URI="https://github.com/aluxian/Messenger-for-Desktop/releases/download/v${PV}/${P}-linux-amd64.deb" - -SLOT='0' -KEYWORDS="amd64" - -DEPEND="dev-libs/nss - gnome-base/gconf - media-libs/alsa-lib - sys-apps/lsb-release - x11-libs/gtk+:2 - x11-libs/libXtst - x11-libs/libnotify" -RDEPEND="${DEPEND}" - -RESTRICT="mirror" - -S="${WORKDIR}" - -src_unpack() { - unpack_deb ${A} -} - -src_install() { - mv * "${D}" || die - fperms 0755 /opt/${PN}/${PN} || die -} diff --git a/net-im/skypeforlinux/skypeforlinux-5.4.0.1-r1706.ebuild b/net-im/skypeforlinux/skypeforlinux-5.4.0.1-r1706.ebuild deleted file mode 100644 index 4516584c..00000000 --- a/net-im/skypeforlinux/skypeforlinux-5.4.0.1-r1706.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -MULTILIB_COMPAT=( abi_x86_64 ) - -inherit eutils pax-utils rpm multilib-build - -DESCRIPTION="P2P Internet Telephony (VoiceIP) client" -HOMEPAGE="https://www.skype.com/" -SRC_URI="https://repo.skype.com/rpm/stable/${PN}_${PV}-1.x86_64.rpm" - -LICENSE="Skype-TOS no-source-code" -SLOT="0" -KEYWORDS="~amd64" -IUSE="pax_kernel" - -S="${WORKDIR}" -QA_PREBUILT=opt/skypeforlinux/skypeforlinux -RESTRICT="mirror bindist strip" #299368 - -RDEPEND="app-crypt/libsecret - dev-libs/atk[${MULTILIB_USEDEP}] - dev-libs/expat[${MULTILIB_USEDEP}] - dev-libs/glib:2[${MULTILIB_USEDEP}] - dev-libs/nspr[${MULTILIB_USEDEP}] - dev-libs/nss[${MULTILIB_USEDEP}] - gnome-base/gconf:2[${MULTILIB_USEDEP}] - media-libs/alsa-lib[${MULTILIB_USEDEP}] - media-libs/fontconfig:1.0[${MULTILIB_USEDEP}] - media-libs/freetype:2[${MULTILIB_USEDEP}] - net-print/cups[${MULTILIB_USEDEP}] - sys-apps/dbus[${MULTILIB_USEDEP}] - sys-devel/gcc[cxx] - sys-libs/glibc - virtual/ttf-fonts - x11-libs/cairo[${MULTILIB_USEDEP}] - x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] - x11-libs/gtk+:2[${MULTILIB_USEDEP}] - x11-libs/libX11[${MULTILIB_USEDEP}] - x11-libs/libXScrnSaver[${MULTILIB_USEDEP}] - x11-libs/libXcomposite[${MULTILIB_USEDEP}] - x11-libs/libXcursor[${MULTILIB_USEDEP}] - x11-libs/libXdamage[${MULTILIB_USEDEP}] - x11-libs/libXext[${MULTILIB_USEDEP}] - x11-libs/libXfixes[${MULTILIB_USEDEP}] - x11-libs/libXi[${MULTILIB_USEDEP}] - x11-libs/libXrandr[${MULTILIB_USEDEP}] - x11-libs/libXrender[${MULTILIB_USEDEP}] - x11-libs/libXtst[${MULTILIB_USEDEP}] - x11-libs/pango[${MULTILIB_USEDEP}]" - -src_unpack() { - rpm_src_unpack ${A} -} - -src_prepare() { - default - sed -e "s!^SKYPE_PATH=.*!SKYPE_PATH=${EPREFIX}/opt/skypeforlinux/skypeforlinux!" \ - -i usr/bin/skypeforlinux || die - sed -e "s!^Exec=.*!Exec=${EPREFIX}/opt/bin/skypeforlinux!" \ - -e "s!^Categories=.*!Categories=Network;InstantMessaging;Telephony;!" \ - -i usr/share/applications/skypeforlinux.desktop || die -} - -src_install() { - insinto /opt/skypeforlinux/locales - doins usr/share/skypeforlinux/locales/*.pak - - insinto /opt/skypeforlinux/resources/app.asar.unpacked/node_modules/keytar/build/Release - doins usr/share/skypeforlinux/resources/app.asar.unpacked/node_modules/keytar/build/Release/keytar.node - - insinto /opt/skypeforlinux/resources - doins usr/share/skypeforlinux/resources/*.asar - - insinto /opt/skypeforlinux - doins usr/share/skypeforlinux/*.pak - doins usr/share/skypeforlinux/*.bin - doins usr/share/skypeforlinux/*.dat - doins usr/share/skypeforlinux/version - exeinto /opt/skypeforlinux - doexe usr/share/skypeforlinux/*.so - doexe usr/share/skypeforlinux/skypeforlinux - - into /opt - dobin usr/bin/skypeforlinux - - dodoc -r usr/share/doc/skypeforlinux/. - - doicon usr/share/pixmaps/skypeforlinux.png - - local res - for res in 16 32 256 512; do - newicon -s ${res} usr/share/icons/hicolor/${res}x${res}/apps/skypeforlinux.png skypeforlinux.png - done - - domenu usr/share/applications/skypeforlinux.desktop - - if use pax_kernel; then - pax-mark -Cm "${ED%/}"/opt/skypeforlinux/skypeforlinux - eqawarn "You have set USE=pax_kernel meaning that you intend to run" - eqawarn "${PN} under a PaX enabled kernel. To do so, we must modify" - eqawarn "the ${PN} binary itself and this *may* lead to breakage! If" - eqawarn "you suspect that ${PN} is being broken by this modification," - eqawarn "please open a bug." - fi -} diff --git a/net-im/skypeforlinux/skypeforlinux-5.4.0.1-r1708.ebuild b/net-im/skypeforlinux/skypeforlinux-5.4.0.1-r1708.ebuild new file mode 100644 index 00000000..4516584c --- /dev/null +++ b/net-im/skypeforlinux/skypeforlinux-5.4.0.1-r1708.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MULTILIB_COMPAT=( abi_x86_64 ) + +inherit eutils pax-utils rpm multilib-build + +DESCRIPTION="P2P Internet Telephony (VoiceIP) client" +HOMEPAGE="https://www.skype.com/" +SRC_URI="https://repo.skype.com/rpm/stable/${PN}_${PV}-1.x86_64.rpm" + +LICENSE="Skype-TOS no-source-code" +SLOT="0" +KEYWORDS="~amd64" +IUSE="pax_kernel" + +S="${WORKDIR}" +QA_PREBUILT=opt/skypeforlinux/skypeforlinux +RESTRICT="mirror bindist strip" #299368 + +RDEPEND="app-crypt/libsecret + dev-libs/atk[${MULTILIB_USEDEP}] + dev-libs/expat[${MULTILIB_USEDEP}] + dev-libs/glib:2[${MULTILIB_USEDEP}] + dev-libs/nspr[${MULTILIB_USEDEP}] + dev-libs/nss[${MULTILIB_USEDEP}] + gnome-base/gconf:2[${MULTILIB_USEDEP}] + media-libs/alsa-lib[${MULTILIB_USEDEP}] + media-libs/fontconfig:1.0[${MULTILIB_USEDEP}] + media-libs/freetype:2[${MULTILIB_USEDEP}] + net-print/cups[${MULTILIB_USEDEP}] + sys-apps/dbus[${MULTILIB_USEDEP}] + sys-devel/gcc[cxx] + sys-libs/glibc + virtual/ttf-fonts + x11-libs/cairo[${MULTILIB_USEDEP}] + x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] + x11-libs/gtk+:2[${MULTILIB_USEDEP}] + x11-libs/libX11[${MULTILIB_USEDEP}] + x11-libs/libXScrnSaver[${MULTILIB_USEDEP}] + x11-libs/libXcomposite[${MULTILIB_USEDEP}] + x11-libs/libXcursor[${MULTILIB_USEDEP}] + x11-libs/libXdamage[${MULTILIB_USEDEP}] + x11-libs/libXext[${MULTILIB_USEDEP}] + x11-libs/libXfixes[${MULTILIB_USEDEP}] + x11-libs/libXi[${MULTILIB_USEDEP}] + x11-libs/libXrandr[${MULTILIB_USEDEP}] + x11-libs/libXrender[${MULTILIB_USEDEP}] + x11-libs/libXtst[${MULTILIB_USEDEP}] + x11-libs/pango[${MULTILIB_USEDEP}]" + +src_unpack() { + rpm_src_unpack ${A} +} + +src_prepare() { + default + sed -e "s!^SKYPE_PATH=.*!SKYPE_PATH=${EPREFIX}/opt/skypeforlinux/skypeforlinux!" \ + -i usr/bin/skypeforlinux || die + sed -e "s!^Exec=.*!Exec=${EPREFIX}/opt/bin/skypeforlinux!" \ + -e "s!^Categories=.*!Categories=Network;InstantMessaging;Telephony;!" \ + -i usr/share/applications/skypeforlinux.desktop || die +} + +src_install() { + insinto /opt/skypeforlinux/locales + doins usr/share/skypeforlinux/locales/*.pak + + insinto /opt/skypeforlinux/resources/app.asar.unpacked/node_modules/keytar/build/Release + doins usr/share/skypeforlinux/resources/app.asar.unpacked/node_modules/keytar/build/Release/keytar.node + + insinto /opt/skypeforlinux/resources + doins usr/share/skypeforlinux/resources/*.asar + + insinto /opt/skypeforlinux + doins usr/share/skypeforlinux/*.pak + doins usr/share/skypeforlinux/*.bin + doins usr/share/skypeforlinux/*.dat + doins usr/share/skypeforlinux/version + exeinto /opt/skypeforlinux + doexe usr/share/skypeforlinux/*.so + doexe usr/share/skypeforlinux/skypeforlinux + + into /opt + dobin usr/bin/skypeforlinux + + dodoc -r usr/share/doc/skypeforlinux/. + + doicon usr/share/pixmaps/skypeforlinux.png + + local res + for res in 16 32 256 512; do + newicon -s ${res} usr/share/icons/hicolor/${res}x${res}/apps/skypeforlinux.png skypeforlinux.png + done + + domenu usr/share/applications/skypeforlinux.desktop + + if use pax_kernel; then + pax-mark -Cm "${ED%/}"/opt/skypeforlinux/skypeforlinux + eqawarn "You have set USE=pax_kernel meaning that you intend to run" + eqawarn "${PN} under a PaX enabled kernel. To do so, we must modify" + eqawarn "the ${PN} binary itself and this *may* lead to breakage! If" + eqawarn "you suspect that ${PN} is being broken by this modification," + eqawarn "please open a bug." + fi +} diff --git a/net-im/telegram/telegram-0.10.1-r1708.ebuild b/net-im/telegram/telegram-0.10.1-r1708.ebuild new file mode 100644 index 00000000..eb2540d3 --- /dev/null +++ b/net-im/telegram/telegram-0.10.1-r1708.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +MY_PN="Telegram" +inherit eutils +DESCRIPTION="Unofficial telegram protocol client" +HOMEPAGE="https://telegram.org/" +SRC_URI=" + amd64? ( https://updates.tdesktop.com/tlinux/tsetup.${PV}.tar.xz -> ${P}.tar.xz ) + x86? ( https://updates.tdesktop.com/tlinux32/tsetup32.${PV}.tar.xz -> ${PN}32-${PV}.tar.xz )" + +RESTRICT="mirror" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="x11-libs/libxcb:= + dev-libs/glib:2 + x11-libs/libX11" +RDEPEND="${DEPEND}" +S="${WORKDIR}/${MY_PN}" + +src_install() { + exeinto "/opt/${PN}" + doexe "${MY_PN}" + make_wrapper "${PN}" "/opt/${PN}/${MY_PN}" + make_desktop_entry "${PN}" "${MY_PN} Desktop" "/usr/share/pixmaps/${PN}.png" "" "MimeType=application/x-xdg-protocol-tg;x-scheme-handler/tg;" + newicon "${FILESDIR}/${PN}.png" "${PN}.png" +} diff --git a/net-im/telegram/telegram-0.10.1.ebuild b/net-im/telegram/telegram-0.10.1.ebuild deleted file mode 100644 index eb2540d3..00000000 --- a/net-im/telegram/telegram-0.10.1.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -MY_PN="Telegram" -inherit eutils -DESCRIPTION="Unofficial telegram protocol client" -HOMEPAGE="https://telegram.org/" -SRC_URI=" - amd64? ( https://updates.tdesktop.com/tlinux/tsetup.${PV}.tar.xz -> ${P}.tar.xz ) - x86? ( https://updates.tdesktop.com/tlinux32/tsetup32.${PV}.tar.xz -> ${PN}32-${PV}.tar.xz )" - -RESTRICT="mirror" -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -DEPEND="x11-libs/libxcb:= - dev-libs/glib:2 - x11-libs/libX11" -RDEPEND="${DEPEND}" -S="${WORKDIR}/${MY_PN}" - -src_install() { - exeinto "/opt/${PN}" - doexe "${MY_PN}" - make_wrapper "${PN}" "/opt/${PN}/${MY_PN}" - make_desktop_entry "${PN}" "${MY_PN} Desktop" "/usr/share/pixmaps/${PN}.png" "" "MimeType=application/x-xdg-protocol-tg;x-scheme-handler/tg;" - newicon "${FILESDIR}/${PN}.png" "${PN}.png" -} diff --git a/net-im/viber/viber-6.0.1.5-r1708.ebuild b/net-im/viber/viber-6.0.1.5-r1708.ebuild new file mode 100644 index 00000000..4a1b6bc7 --- /dev/null +++ b/net-im/viber/viber-6.0.1.5-r1708.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +inherit eutils +DESCRIPTION="Free calls, text and picture sharing with anyone, anywhere!" +HOMEPAGE="http://www.viber.com" +SRC_URI="http://download.cdn.viber.com/cdn/desktop/Linux/viber.deb" + +SLOT="0" +KEYWORDS="amd64" +IUSE="" +RESTRICT="strip" +S="${WORKDIR}" + +src_unpack() { + default_src_unpack + unpack ./data.tar.xz + epatch "${FILESDIR}/00-desktop.patch" +} + +src_install(){ + doins -r opt usr + fperms 755 /opt/viber/Viber +} + diff --git a/net-im/viber/viber-6.0.1.5.ebuild b/net-im/viber/viber-6.0.1.5.ebuild deleted file mode 100644 index 4a1b6bc7..00000000 --- a/net-im/viber/viber-6.0.1.5.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="5" - -inherit eutils -DESCRIPTION="Free calls, text and picture sharing with anyone, anywhere!" -HOMEPAGE="http://www.viber.com" -SRC_URI="http://download.cdn.viber.com/cdn/desktop/Linux/viber.deb" - -SLOT="0" -KEYWORDS="amd64" -IUSE="" -RESTRICT="strip" -S="${WORKDIR}" - -src_unpack() { - default_src_unpack - unpack ./data.tar.xz - epatch "${FILESDIR}/00-desktop.patch" -} - -src_install(){ - doins -r opt usr - fperms 755 /opt/viber/Viber -} - diff --git a/net-misc/modem-manager-gui/modem-manager-gui-0.0.17.1-r1708.ebuild b/net-misc/modem-manager-gui/modem-manager-gui-0.0.17.1-r1708.ebuild new file mode 100644 index 00000000..79c6fbf2 --- /dev/null +++ b/net-misc/modem-manager-gui/modem-manager-gui-0.0.17.1-r1708.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit eutils + +DESCRIPTION="Frontend for ModemManager daemon able to control specific modem functions" +HOMEPAGE="http://linuxonly.ru/cms/page.php?" +SRC_URI="http://download.tuxfamily.org/gsf/source/${PN}-${PV}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="+networkmanager +ofono -connman" + +RDEPEND=" + sys-libs/gdbm + x11-libs/gtk+:3 + x11-libs/libnotify + net-misc/modemmanager + ofono? ( net-misc/ofono ) + networkmanager? ( net-misc/networkmanager ) + connman? ( net-misc/connman )" +DEPEND=" + app-text/po4a + dev-util/itstool + " + +S="${WORKDIR}/${PN}-${PV}" + +src_configure() { + econf +} + +src_compile() { + emake || die "compilation failed" +} + +src_install() { + default +} diff --git a/net-misc/modem-manager-gui/modem-manager-gui-0.0.17.1.ebuild b/net-misc/modem-manager-gui/modem-manager-gui-0.0.17.1.ebuild deleted file mode 100644 index 79c6fbf2..00000000 --- a/net-misc/modem-manager-gui/modem-manager-gui-0.0.17.1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -inherit eutils - -DESCRIPTION="Frontend for ModemManager daemon able to control specific modem functions" -HOMEPAGE="http://linuxonly.ru/cms/page.php?" -SRC_URI="http://download.tuxfamily.org/gsf/source/${PN}-${PV}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="+networkmanager +ofono -connman" - -RDEPEND=" - sys-libs/gdbm - x11-libs/gtk+:3 - x11-libs/libnotify - net-misc/modemmanager - ofono? ( net-misc/ofono ) - networkmanager? ( net-misc/networkmanager ) - connman? ( net-misc/connman )" -DEPEND=" - app-text/po4a - dev-util/itstool - " - -S="${WORKDIR}/${PN}-${PV}" - -src_configure() { - econf -} - -src_compile() { - emake || die "compilation failed" -} - -src_install() { - default -} diff --git a/net-misc/nm-applet-gtk2/nm-applet-gtk2-0.9.8.10-r1706.ebuild b/net-misc/nm-applet-gtk2/nm-applet-gtk2-0.9.8.10-r1706.ebuild deleted file mode 100644 index 66b294d3..00000000 --- a/net-misc/nm-applet-gtk2/nm-applet-gtk2-0.9.8.10-r1706.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 -GCONF_DEBUG="no" -GNOME2_LA_PUNT="yes" -GNOME_ORG_MODULE="network-manager-applet" - -inherit gnome2 - -DESCRIPTION="GNOME applet for NetworkManager, gtk+-2 flavour" -HOMEPAGE="http://projects.gnome.org/NetworkManager/" - -LICENSE="GPL-2+" -SLOT="0" -IUSE="+introspection +modemmanager" -KEYWORDS="amd64 x86" - -RDEPEND="!gnome-extra/nm-applet - app-crypt/libsecret - >=dev-libs/glib-2.26:2 - >=dev-libs/dbus-glib-0.88 - >=gnome-base/gconf-2.26:2 - >=sys-apps/dbus-1.4.1 - >=sys-auth/polkit-0.96-r1 - >=x11-libs/gtk+-2.20:2 - >=x11-libs/libnotify-0.7.0 - - app-text/iso-codes - >=net-misc/networkmanager-0.9.8 - net-misc/mobile-broadband-provider-info - - introspection? ( >=dev-libs/gobject-introspection-0.9.6 ) - modemmanager? ( >=net-misc/modemmanager-0.7.990 ) - virtual/freedesktop-icon-theme - virtual/libgudev:= -" -DEPEND="${RDEPEND} - virtual/pkgconfig - >=dev-util/intltool-0.40 -" - -src_configure() { - gnome2_src_configure \ - --with-gtkver=2 \ - --disable-more-warnings \ - --disable-static \ - --disable-migration \ - --localstatedir=/var \ - $(use_enable introspection) \ - $(use_with modemmanager modem-manager-1) -} diff --git a/net-misc/nm-applet-gtk2/nm-applet-gtk2-0.9.8.10-r1708.ebuild b/net-misc/nm-applet-gtk2/nm-applet-gtk2-0.9.8.10-r1708.ebuild new file mode 100644 index 00000000..66b294d3 --- /dev/null +++ b/net-misc/nm-applet-gtk2/nm-applet-gtk2-0.9.8.10-r1708.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 +GCONF_DEBUG="no" +GNOME2_LA_PUNT="yes" +GNOME_ORG_MODULE="network-manager-applet" + +inherit gnome2 + +DESCRIPTION="GNOME applet for NetworkManager, gtk+-2 flavour" +HOMEPAGE="http://projects.gnome.org/NetworkManager/" + +LICENSE="GPL-2+" +SLOT="0" +IUSE="+introspection +modemmanager" +KEYWORDS="amd64 x86" + +RDEPEND="!gnome-extra/nm-applet + app-crypt/libsecret + >=dev-libs/glib-2.26:2 + >=dev-libs/dbus-glib-0.88 + >=gnome-base/gconf-2.26:2 + >=sys-apps/dbus-1.4.1 + >=sys-auth/polkit-0.96-r1 + >=x11-libs/gtk+-2.20:2 + >=x11-libs/libnotify-0.7.0 + + app-text/iso-codes + >=net-misc/networkmanager-0.9.8 + net-misc/mobile-broadband-provider-info + + introspection? ( >=dev-libs/gobject-introspection-0.9.6 ) + modemmanager? ( >=net-misc/modemmanager-0.7.990 ) + virtual/freedesktop-icon-theme + virtual/libgudev:= +" +DEPEND="${RDEPEND} + virtual/pkgconfig + >=dev-util/intltool-0.40 +" + +src_configure() { + gnome2_src_configure \ + --with-gtkver=2 \ + --disable-more-warnings \ + --disable-static \ + --disable-migration \ + --localstatedir=/var \ + $(use_enable introspection) \ + $(use_with modemmanager modem-manager-1) +} diff --git a/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r1706.ebuild b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r1706.ebuild deleted file mode 100644 index ff44421d..00000000 --- a/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r1706.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -inherit eutils - -DESCRIPTION="Broadcom's IEEE 802.11a/b/g/n hybrid Linux device driver" -HOMEPAGE="http://www.broadcom.com/support/802.11/" -SRC_BASE="http://www.broadcom.com/docs/linux_sta/hybrid-v35" -SRC_URI="" - -LICENSE="Broadcom" -KEYWORDS="amd64 x86" - -RESTRICT="mirror" -SLOT="0" - -DEPEND="~sys-kernel/${PN}-dkms-${PV}" -RDEPEND="${DEPEND}" - -S=${WORKDIR} - -src_install() { - : -} diff --git a/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r1708.ebuild b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r1708.ebuild new file mode 100644 index 00000000..ff44421d --- /dev/null +++ b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r1708.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils + +DESCRIPTION="Broadcom's IEEE 802.11a/b/g/n hybrid Linux device driver" +HOMEPAGE="http://www.broadcom.com/support/802.11/" +SRC_BASE="http://www.broadcom.com/docs/linux_sta/hybrid-v35" +SRC_URI="" + +LICENSE="Broadcom" +KEYWORDS="amd64 x86" + +RESTRICT="mirror" +SLOT="0" + +DEPEND="~sys-kernel/${PN}-dkms-${PV}" +RDEPEND="${DEPEND}" + +S=${WORKDIR} + +src_install() { + : +} diff --git a/sys-apps/baselayout/baselayout-2.2-r1706.ebuild b/sys-apps/baselayout/baselayout-2.2-r1706.ebuild deleted file mode 100644 index 5ecc2fab..00000000 --- a/sys-apps/baselayout/baselayout-2.2-r1706.ebuild +++ /dev/null @@ -1,262 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-2.2.ebuild,v 1.2 2012/08/23 21:47:35 vapier Exp $ - -inherit eutils multilib - -DESCRIPTION="Filesystem baselayout and init scripts" -HOMEPAGE="http://www.gentoo.org/" -SRC_URI="mirror://gentoo/${P}.tar.bz2 - http://dev.gentoo.org/~vapier/dist/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" -IUSE="build kernel_linux" - -pkg_setup() { - multilib_layout -} - -# Create our multilib dirs - the Makefile has no knowledge of this -multilib_warn() { - local syms=$1 dirs=$2 def_libdir=$3 - - [ -z "${syms}${dirs}" ] && return - - ewarn "Your system profile has SYMLINK_LIB=${SYMLINK_LIB}, so that means" - if [ -z "${syms}" ] ; then - ewarn "you need to have these paths as symlinks to ${def_libdir}:" - ewarn "$1" - fi -} -multilib_layout() { - local libdir libdirs=$(get_all_libdirs) def_libdir=$(get_abi_LIBDIR $DEFAULT_ABI) - : ${libdirs:=lib} # it isn't that we don't trust multilib.eclass... - - [ -z "${def_libdir}" ] && die "your DEFAULT_ABI=$DEFAULT_ABI appears to be invalid" - - # figure out which paths should be symlinks and which should be directories - local dirs syms exp d - for libdir in ${libdirs} ; do - exp=( {,usr/,usr/local/}${libdir} ) - for d in "${exp[@]/#/${ROOT}}" ; do - # most things should be dirs - if [ "${SYMLINK_LIB}" = "yes" ] && [ "${libdir}" = "lib" ] ; then - [ ! -h "${d}" ] && [ -e "${d}" ] && dirs+=" ${d}" - else - [ -h "${d}" ] && syms+=" ${d}" - fi - done - done - if [ -n "${syms}${dirs}" ] ; then - ewarn "Your system profile has SYMLINK_LIB=${SYMLINK_LIB:-no}, so that means you need to" - ewarn "have these paths configured as follows:" - [ -n "${dirs}" ] && ewarn "symlinks to '${def_libdir}':${dirs}" - [ -n "${syms}" ] && ewarn "directories:${syms}" - ewarn "The ebuild will attempt to fix these, but only for trivial conversions." - ewarn "If things fail, you will need to manually create/move the directories." - echo - fi - - # setup symlinks and dirs where we expect them to be; do not migrate - # data ... just fall over in that case. - local prefix - for prefix in "${ROOT}"{,usr/,usr/local/} ; do - if [ "${SYMLINK_LIB}" = yes ] ; then - # we need to make sure "lib" points to the native libdir - if [ -h "${prefix}lib" ] ; then - # it's already a symlink! assume it's pointing to right place ... - continue - elif [ -d "${prefix}lib" ] ; then - # "lib" is a dir, so need to convert to a symlink - ewarn "Converting ${prefix}lib from a dir to a symlink" - rm -f "${prefix}lib"/.keep - if rmdir "${prefix}lib" 2>/dev/null ; then - ln -s ${def_libdir} "${prefix}lib" || die - else - die "non-empty dir found where we needed a symlink: ${prefix}lib" - fi - else - # nothing exists, so just set it up sanely - ewarn "Initializing ${prefix}lib as a symlink" - mkdir -p "${prefix}" || die - rm -f "${prefix}lib" || die - ln -s ${def_libdir} "${prefix}lib" || die - mkdir -p "${prefix}${def_libdir}" #423571 - fi - else - # we need to make sure "lib" is a dir - if [ -h "${prefix}lib" ] ; then - # "lib" is a symlink, so need to convert to a dir - ewarn "Converting ${prefix}lib from a symlink to a dir" - rm -f "${prefix}lib" || die - if [ -d "${prefix}lib32" ] ; then - ewarn "Migrating ${prefix}lib32 to ${prefix}lib" - mv "${prefix}lib32" "${prefix}lib" || die - else - mkdir -p "${prefix}lib" || die - fi - elif [ -d "${prefix}lib" ] ; then - # make sure the old "lib" ABI location does not exist; we - # only symlinked the lib dir on systems where we moved it - # to "lib32" ... - case ${CHOST} in - i?86*|x86_64*|powerpc*|sparc*|s390*) - if [ -d "${prefix}lib32" ] ; then - rm -f "${prefix}lib32"/.keep - if ! rmdir "${prefix}lib32" 2>/dev/null ; then - ewarn "You need to merge ${prefix}lib32 into ${prefix}lib" - die "non-empty dir found where there should be none: ${prefix}lib32" - fi - fi - ;; - esac - else - # nothing exists, so just set it up sanely - ewarn "Initializing ${prefix}lib as a dir" - mkdir -p "${prefix}" || die - rm -f "${prefix}lib" || die - ln -s ${def_libdir} "${prefix}lib" || die - fi - fi - done -} - -pkg_preinst() { - # Bug #217848 - Since the remap_dns_vars() called by pkg_preinst() of - # the baselayout-1.x ebuild copies all the real configs from the user's - # /etc/conf.d into ${D}, it makes them all appear to be the default - # versions. In order to protect them from being unmerged after this - # upgrade, modify their timestamps. - touch "${ROOT}"/etc/conf.d/* 2>/dev/null - - # This is written in src_install (so it's in CONTENTS), but punt all - # pending updates to avoid user having to do etc-update (and make the - # pkg_postinst logic simpler). - rm -f "${ROOT}"/etc/._cfg????_gentoo-release - - # We need to install directories and maybe some dev nodes when building - # stages, but they cannot be in CONTENTS. - # Also, we cannot reference $S as binpkg will break so we do this. - multilib_layout - if use build ; then - emake -C "${D}/usr/share/${PN}" DESTDIR="${ROOT}" layout || die - fi - rm -f "${D}"/usr/share/${PN}/Makefile - - # Kogaion customization, protect /etc/hosts from removal (from older ebuilds) - local etc_hosts="${ROOT}/etc/hosts" - if [ -e "${etc_hosts}" ]; then - cp -p "${etc_hosts}" "${etc_hosts}.baselayout_ebuild_backup" # don't die - fi -} - -src_unpack() { - unpack ${A} - - cd "${S}" - epatch "${FILESDIR}/${PN}-redcore.patch" -} - -src_install() { - # Setup /run directory, this is missing from original baselayout - dodir /run - - emake \ - OS=$(usex kernel_FreeBSD BSD Linux) \ - DESTDIR="${D}" \ - install || die - dodoc ChangeLog.svn - - # need the makefile in pkg_preinst - insinto /usr/share/${PN} - doins Makefile || die - - # handle multilib paths. do it here because we want this behavior - # regardless of the C library that you're using. we do explicitly - # list paths which the native ldconfig searches, but this isn't - # problematic as it doesn't change the resulting ld.so.cache or - # take longer to generate. similarly, listing both the native - # path and the symlinked path doesn't change the resulting cache. - local libdir ldpaths - for libdir in $(get_all_libdirs) ; do - ldpaths+=":/${libdir}:/usr/${libdir}:/usr/local/${libdir}" - done - echo "LDPATH='${ldpaths#:}'" >> "${D}"/etc/env.d/00basic - - # rc-scripts version for testing of features that *should* be present - echo "Redcore Linux 1706 - Fomalhaut" > "${D}"/etc/gentoo-release - - # Sabayon customization, install /etc/hosts separately (to .example) - mv "${D}"/etc/hosts "${D}"/etc/hosts.example || die "cannot move /etc/hosts" - -} - -pkg_postinst() { - local x - - # We installed some files to /usr/share/baselayout instead of /etc to stop - # (1) overwriting the user's settings - # (2) screwing things up when attempting to merge files - # (3) accidentally packaging up personal files with quickpkg - # If they don't exist then we install them - for x in master.passwd passwd shadow group fstab ; do - [ -e "${ROOT}etc/${x}" ] && continue - [ -e "${ROOT}usr/share/baselayout/${x}" ] || continue - cp -p "${ROOT}usr/share/baselayout/${x}" "${ROOT}"etc - done - - # Force shadow permissions to not be world-readable #260993 - for x in shadow ; do - [ -e "${ROOT}etc/${x}" ] && chmod o-rwx "${ROOT}etc/${x}" - done - - # Take care of the etc-update for the user - if [ -e "${ROOT}"/etc/._cfg0000_gentoo-release ] ; then - mv "${ROOT}"/etc/._cfg0000_gentoo-release "${ROOT}"/etc/gentoo-release - fi - - # whine about users that lack passwords #193541 - if [[ -e ${ROOT}/etc/shadow ]] ; then - local bad_users=$(sed -n '/^[^:]*::/s|^\([^:]*\)::.*|\1|p' "${ROOT}"/etc/shadow) - if [[ -n ${bad_users} ]] ; then - echo - ewarn "The following users lack passwords!" - ewarn ${bad_users} - fi - fi - - # baselayout leaves behind a lot of .keep files, so let's clean them up - find "${ROOT}"/lib*/rcscripts/ -name .keep -exec rm -f {} + 2>/dev/null - find "${ROOT}"/lib*/rcscripts/ -depth -type d -exec rmdir {} + 2>/dev/null - - # whine about users with invalid shells #215698 - if [[ -e ${ROOT}/etc/passwd ]] ; then - local bad_shells=$(awk -F: 'system("test -e " $7) { print $1 " - " $7}' /etc/passwd | sort) - if [[ -n ${bad_shells} ]] ; then - echo - ewarn "The following users have non-existent shells!" - ewarn "${bad_shells}" - fi - fi - - # Sabayon customization, copy /etc/hosts back in place if it doesn't exist - local etc_hosts="${ROOT}/etc/hosts" - if [ -e "${etc_hosts}.baselayout_ebuild_backup" ]; then - cp -p "${etc_hosts}.baselayout_ebuild_backup" "${etc_hosts}" # don't die - elif [ ! -e "${etc_hosts}" ]; then - cp -p "${etc_hosts}.example" "${etc_hosts}" # don't die - fi - chown root:root "${etc_hosts}" # don't die - - # http://bugs.gentoo.org/361349 - if use kernel_linux; then - mkdir -p "${ROOT}"/run - - if ! grep -qs "^tmpfs.*/run " "${ROOT}"/proc/mounts ; then - echo - ewarn "You should reboot the system now to get /run mounted with tmpfs!" - fi - fi -} diff --git a/sys-apps/baselayout/baselayout-2.2-r1708.ebuild b/sys-apps/baselayout/baselayout-2.2-r1708.ebuild new file mode 100644 index 00000000..0b096e7a --- /dev/null +++ b/sys-apps/baselayout/baselayout-2.2-r1708.ebuild @@ -0,0 +1,262 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-2.2.ebuild,v 1.2 2012/08/23 21:47:35 vapier Exp $ + +inherit eutils multilib + +DESCRIPTION="Filesystem baselayout and init scripts" +HOMEPAGE="http://www.gentoo.org/" +SRC_URI="mirror://gentoo/${P}.tar.bz2 + http://dev.gentoo.org/~vapier/dist/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" +IUSE="build kernel_linux" + +pkg_setup() { + multilib_layout +} + +# Create our multilib dirs - the Makefile has no knowledge of this +multilib_warn() { + local syms=$1 dirs=$2 def_libdir=$3 + + [ -z "${syms}${dirs}" ] && return + + ewarn "Your system profile has SYMLINK_LIB=${SYMLINK_LIB}, so that means" + if [ -z "${syms}" ] ; then + ewarn "you need to have these paths as symlinks to ${def_libdir}:" + ewarn "$1" + fi +} +multilib_layout() { + local libdir libdirs=$(get_all_libdirs) def_libdir=$(get_abi_LIBDIR $DEFAULT_ABI) + : ${libdirs:=lib} # it isn't that we don't trust multilib.eclass... + + [ -z "${def_libdir}" ] && die "your DEFAULT_ABI=$DEFAULT_ABI appears to be invalid" + + # figure out which paths should be symlinks and which should be directories + local dirs syms exp d + for libdir in ${libdirs} ; do + exp=( {,usr/,usr/local/}${libdir} ) + for d in "${exp[@]/#/${ROOT}}" ; do + # most things should be dirs + if [ "${SYMLINK_LIB}" = "yes" ] && [ "${libdir}" = "lib" ] ; then + [ ! -h "${d}" ] && [ -e "${d}" ] && dirs+=" ${d}" + else + [ -h "${d}" ] && syms+=" ${d}" + fi + done + done + if [ -n "${syms}${dirs}" ] ; then + ewarn "Your system profile has SYMLINK_LIB=${SYMLINK_LIB:-no}, so that means you need to" + ewarn "have these paths configured as follows:" + [ -n "${dirs}" ] && ewarn "symlinks to '${def_libdir}':${dirs}" + [ -n "${syms}" ] && ewarn "directories:${syms}" + ewarn "The ebuild will attempt to fix these, but only for trivial conversions." + ewarn "If things fail, you will need to manually create/move the directories." + echo + fi + + # setup symlinks and dirs where we expect them to be; do not migrate + # data ... just fall over in that case. + local prefix + for prefix in "${ROOT}"{,usr/,usr/local/} ; do + if [ "${SYMLINK_LIB}" = yes ] ; then + # we need to make sure "lib" points to the native libdir + if [ -h "${prefix}lib" ] ; then + # it's already a symlink! assume it's pointing to right place ... + continue + elif [ -d "${prefix}lib" ] ; then + # "lib" is a dir, so need to convert to a symlink + ewarn "Converting ${prefix}lib from a dir to a symlink" + rm -f "${prefix}lib"/.keep + if rmdir "${prefix}lib" 2>/dev/null ; then + ln -s ${def_libdir} "${prefix}lib" || die + else + die "non-empty dir found where we needed a symlink: ${prefix}lib" + fi + else + # nothing exists, so just set it up sanely + ewarn "Initializing ${prefix}lib as a symlink" + mkdir -p "${prefix}" || die + rm -f "${prefix}lib" || die + ln -s ${def_libdir} "${prefix}lib" || die + mkdir -p "${prefix}${def_libdir}" #423571 + fi + else + # we need to make sure "lib" is a dir + if [ -h "${prefix}lib" ] ; then + # "lib" is a symlink, so need to convert to a dir + ewarn "Converting ${prefix}lib from a symlink to a dir" + rm -f "${prefix}lib" || die + if [ -d "${prefix}lib32" ] ; then + ewarn "Migrating ${prefix}lib32 to ${prefix}lib" + mv "${prefix}lib32" "${prefix}lib" || die + else + mkdir -p "${prefix}lib" || die + fi + elif [ -d "${prefix}lib" ] ; then + # make sure the old "lib" ABI location does not exist; we + # only symlinked the lib dir on systems where we moved it + # to "lib32" ... + case ${CHOST} in + i?86*|x86_64*|powerpc*|sparc*|s390*) + if [ -d "${prefix}lib32" ] ; then + rm -f "${prefix}lib32"/.keep + if ! rmdir "${prefix}lib32" 2>/dev/null ; then + ewarn "You need to merge ${prefix}lib32 into ${prefix}lib" + die "non-empty dir found where there should be none: ${prefix}lib32" + fi + fi + ;; + esac + else + # nothing exists, so just set it up sanely + ewarn "Initializing ${prefix}lib as a dir" + mkdir -p "${prefix}" || die + rm -f "${prefix}lib" || die + ln -s ${def_libdir} "${prefix}lib" || die + fi + fi + done +} + +pkg_preinst() { + # Bug #217848 - Since the remap_dns_vars() called by pkg_preinst() of + # the baselayout-1.x ebuild copies all the real configs from the user's + # /etc/conf.d into ${D}, it makes them all appear to be the default + # versions. In order to protect them from being unmerged after this + # upgrade, modify their timestamps. + touch "${ROOT}"/etc/conf.d/* 2>/dev/null + + # This is written in src_install (so it's in CONTENTS), but punt all + # pending updates to avoid user having to do etc-update (and make the + # pkg_postinst logic simpler). + rm -f "${ROOT}"/etc/._cfg????_gentoo-release + + # We need to install directories and maybe some dev nodes when building + # stages, but they cannot be in CONTENTS. + # Also, we cannot reference $S as binpkg will break so we do this. + multilib_layout + if use build ; then + emake -C "${D}/usr/share/${PN}" DESTDIR="${ROOT}" layout || die + fi + rm -f "${D}"/usr/share/${PN}/Makefile + + # Kogaion customization, protect /etc/hosts from removal (from older ebuilds) + local etc_hosts="${ROOT}/etc/hosts" + if [ -e "${etc_hosts}" ]; then + cp -p "${etc_hosts}" "${etc_hosts}.baselayout_ebuild_backup" # don't die + fi +} + +src_unpack() { + unpack ${A} + + cd "${S}" + epatch "${FILESDIR}/${PN}-redcore.patch" +} + +src_install() { + # Setup /run directory, this is missing from original baselayout + dodir /run + + emake \ + OS=$(usex kernel_FreeBSD BSD Linux) \ + DESTDIR="${D}" \ + install || die + dodoc ChangeLog.svn + + # need the makefile in pkg_preinst + insinto /usr/share/${PN} + doins Makefile || die + + # handle multilib paths. do it here because we want this behavior + # regardless of the C library that you're using. we do explicitly + # list paths which the native ldconfig searches, but this isn't + # problematic as it doesn't change the resulting ld.so.cache or + # take longer to generate. similarly, listing both the native + # path and the symlinked path doesn't change the resulting cache. + local libdir ldpaths + for libdir in $(get_all_libdirs) ; do + ldpaths+=":/${libdir}:/usr/${libdir}:/usr/local/${libdir}" + done + echo "LDPATH='${ldpaths#:}'" >> "${D}"/etc/env.d/00basic + + # rc-scripts version for testing of features that *should* be present + echo "Redcore Linux 1708 - Gamma Crucis" > "${D}"/etc/gentoo-release + + # Sabayon customization, install /etc/hosts separately (to .example) + mv "${D}"/etc/hosts "${D}"/etc/hosts.example || die "cannot move /etc/hosts" + +} + +pkg_postinst() { + local x + + # We installed some files to /usr/share/baselayout instead of /etc to stop + # (1) overwriting the user's settings + # (2) screwing things up when attempting to merge files + # (3) accidentally packaging up personal files with quickpkg + # If they don't exist then we install them + for x in master.passwd passwd shadow group fstab ; do + [ -e "${ROOT}etc/${x}" ] && continue + [ -e "${ROOT}usr/share/baselayout/${x}" ] || continue + cp -p "${ROOT}usr/share/baselayout/${x}" "${ROOT}"etc + done + + # Force shadow permissions to not be world-readable #260993 + for x in shadow ; do + [ -e "${ROOT}etc/${x}" ] && chmod o-rwx "${ROOT}etc/${x}" + done + + # Take care of the etc-update for the user + if [ -e "${ROOT}"/etc/._cfg0000_gentoo-release ] ; then + mv "${ROOT}"/etc/._cfg0000_gentoo-release "${ROOT}"/etc/gentoo-release + fi + + # whine about users that lack passwords #193541 + if [[ -e ${ROOT}/etc/shadow ]] ; then + local bad_users=$(sed -n '/^[^:]*::/s|^\([^:]*\)::.*|\1|p' "${ROOT}"/etc/shadow) + if [[ -n ${bad_users} ]] ; then + echo + ewarn "The following users lack passwords!" + ewarn ${bad_users} + fi + fi + + # baselayout leaves behind a lot of .keep files, so let's clean them up + find "${ROOT}"/lib*/rcscripts/ -name .keep -exec rm -f {} + 2>/dev/null + find "${ROOT}"/lib*/rcscripts/ -depth -type d -exec rmdir {} + 2>/dev/null + + # whine about users with invalid shells #215698 + if [[ -e ${ROOT}/etc/passwd ]] ; then + local bad_shells=$(awk -F: 'system("test -e " $7) { print $1 " - " $7}' /etc/passwd | sort) + if [[ -n ${bad_shells} ]] ; then + echo + ewarn "The following users have non-existent shells!" + ewarn "${bad_shells}" + fi + fi + + # Sabayon customization, copy /etc/hosts back in place if it doesn't exist + local etc_hosts="${ROOT}/etc/hosts" + if [ -e "${etc_hosts}.baselayout_ebuild_backup" ]; then + cp -p "${etc_hosts}.baselayout_ebuild_backup" "${etc_hosts}" # don't die + elif [ ! -e "${etc_hosts}" ]; then + cp -p "${etc_hosts}.example" "${etc_hosts}" # don't die + fi + chown root:root "${etc_hosts}" # don't die + + # http://bugs.gentoo.org/361349 + if use kernel_linux; then + mkdir -p "${ROOT}"/run + + if ! grep -qs "^tmpfs.*/run " "${ROOT}"/proc/mounts ; then + echo + ewarn "You should reboot the system now to get /run mounted with tmpfs!" + fi + fi +} diff --git a/sys-apps/lsb-release/lsb-release-1.4-r1706.ebuild b/sys-apps/lsb-release/lsb-release-1.4-r1706.ebuild deleted file mode 100644 index 97b4e88e..00000000 --- a/sys-apps/lsb-release/lsb-release-1.4-r1706.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2013 Sabayon -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit eutils - -DESCRIPTION="LSB version query program" -HOMEPAGE="http://www.linuxbase.org/" -SRC_URI="mirror://sourceforge/lsb/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86" -IUSE="" - -# Perl isn't needed at runtime, it is just used to generate the man page. -DEPEND="dev-lang/perl" -RDEPEND="" - -src_unpack() { - unpack ${A} - - cd "${S}" - epatch "${FILESDIR}/${PN}-redcore-version.patch" -} - -src_install() { - emake \ - prefix="${D}/usr" \ - mandir="${D}/usr/share/man" \ - install \ - || die "emake install failed" - - mkdir -p "${D}/etc" - cat > "${D}/etc/lsb-release" <<- EOF - DISTRIB_ID="Redcore" - DISTRIB_RELEASE=1706 - DISTRIB_CODENAME=Fomalhaut - DISTRIB_DESCRIPTION="Redcore 1706 Fomalhaut" - EOF -} diff --git a/sys-apps/lsb-release/lsb-release-1.4-r1708.ebuild b/sys-apps/lsb-release/lsb-release-1.4-r1708.ebuild new file mode 100644 index 00000000..2ced1f05 --- /dev/null +++ b/sys-apps/lsb-release/lsb-release-1.4-r1708.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2013 Sabayon +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="LSB version query program" +HOMEPAGE="http://www.linuxbase.org/" +SRC_URI="mirror://sourceforge/lsb/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86" +IUSE="" + +# Perl isn't needed at runtime, it is just used to generate the man page. +DEPEND="dev-lang/perl" +RDEPEND="" + +src_unpack() { + unpack ${A} + + cd "${S}" + epatch "${FILESDIR}/${PN}-redcore-version.patch" +} + +src_install() { + emake \ + prefix="${D}/usr" \ + mandir="${D}/usr/share/man" \ + install \ + || die "emake install failed" + + mkdir -p "${D}/etc" + cat > "${D}/etc/lsb-release" <<- EOF + DISTRIB_ID="Redcore" + DISTRIB_RELEASE="1708" + DISTRIB_CODENAME="Gamma Crucis" + DISTRIB_DESCRIPTION="Redcore 1708 Gamma Crucis" + EOF +} diff --git a/sys-apps/openrc/openrc-0.28-r1706.ebuild b/sys-apps/openrc/openrc-0.28-r1706.ebuild deleted file mode 100644 index 60f4280f..00000000 --- a/sys-apps/openrc/openrc-0.28-r1706.ebuild +++ /dev/null @@ -1,342 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit flag-o-matic pam toolchain-funcs - -DESCRIPTION="OpenRC manages the services, startup and shutdown of a host" -HOMEPAGE="https://github.com/openrc/openrc/" - -if [[ ${PV} == "9999" ]]; then - EGIT_REPO_URI="git://github.com/OpenRC/${PN}.git" - inherit git-r3 -else - SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" -fi - -LICENSE="BSD-2" -SLOT="0" -IUSE="audit debug +dkms ncurses pam newnet prefix +netifrc selinux +settingsd static-libs - unicode kernel_linux kernel_FreeBSD" - -COMMON_DEPEND="kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-ubin-9.0_rc sys-process/fuser-bsd ) ) - ncurses? ( sys-libs/ncurses:0= ) - pam? ( - sys-auth/pambase - virtual/pam - ) - audit? ( sys-process/audit ) - kernel_linux? ( - sys-process/psmisc - !