From 2d473748ba47a39c9ba689b4957f44ca6e2bd92d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 8 Oct 2017 18:03:40 +0100 Subject: r1710 revision bump --- .../openrc-settingsd-1.0.1-r1708.ebuild | 55 -- .../openrc-settingsd-1.0.1-r1710.ebuild | 55 ++ .../qt5-fsarchiver-0.8.1-r1708.ebuild | 63 --- .../qt5-fsarchiver-0.8.1-r1710.ebuild | 63 +++ app-crypt/libsecret/libsecret-0.18.5-r1708.ebuild | 61 --- app-crypt/libsecret/libsecret-0.18.5-r1710.ebuild | 61 +++ app-emulation/steam/steam-1.0.0.45-r1708.ebuild | 50 -- app-emulation/steam/steam-1.0.0.45-r1710.ebuild | 50 ++ app-emulation/wine/Manifest | 6 +- app-emulation/wine/wine-2.14-r1708.ebuild | 581 --------------------- app-emulation/wine/wine-2.17-r1710.ebuild | 581 +++++++++++++++++++++ .../calamares-config-redcore-1708-r4.ebuild | 24 - .../calamares-config-redcore-1710.ebuild | 24 + .../files/modules/bootloader.conf | 4 +- .../calamares-runtime-1708.ebuild | 59 --- .../calamares-runtime-1710.ebuild | 59 +++ app-misc/redcore-live/redcore-live-1708-r1.ebuild | 29 - app-misc/redcore-live/redcore-live-1710.ebuild | 23 + app-misc/redcore-skel/redcore-skel-1708-r1.ebuild | 57 -- app-misc/redcore-skel/redcore-skel-1710.ebuild | 57 ++ app-misc/screenfetch/Manifest | 1 - app-misc/screenfetch/files/kogaion.patch | 92 ---- app-misc/screenfetch/metadata.xml | 12 - app-misc/screenfetch/screenfetch-3.6.5-r1.ebuild | 35 -- app-misc/screenfetch/screenfetch-9999.ebuild | 31 -- dev-python/wxpython/wxpython-3.0.2.0-r1708.ebuild | 159 ------ dev-python/wxpython/wxpython-3.0.2.0-r1710.ebuild | 159 ++++++ .../lxqt-common/lxqt-common-0.11.0-r1710.ebuild | 39 ++ lxqt-base/lxqt-common/lxqt-common-0.11.0-r2.ebuild | 39 -- lxqt-base/lxqt-meta/lxqt-meta-0.11.0-r1708.ebuild | 51 -- lxqt-base/lxqt-meta/lxqt-meta-0.11.0-r1710.ebuild | 51 ++ .../splashutils/splashutils-1.5.4.4-r1708.ebuild | 240 --------- .../splashutils/splashutils-1.5.4.4-r1710.ebuild | 240 +++++++++ media-sound/cantata/cantata-2.1.0-r1708.ebuild | 115 ---- media-sound/cantata/cantata-2.1.0-r1710.ebuild | 115 ++++ net-im/franz/franz-4.0.4-r1708.ebuild | 42 -- net-im/franz/franz-4.0.4-r1710.ebuild | 42 ++ .../messengerfordesktop-2.0.9-r1708.ebuild | 36 -- .../messengerfordesktop-2.0.9-r1710.ebuild | 36 ++ .../skypeforlinux-5.5.0.1-r1708.ebuild | 118 ----- .../skypeforlinux-5.5.0.1-r1710.ebuild | 118 +++++ net-im/telegram/telegram-0.10.1-r1708.ebuild | 33 -- net-im/telegram/telegram-0.10.1-r1710.ebuild | 33 ++ net-im/viber/viber-6.5.5-r1708.ebuild | 27 - net-im/viber/viber-6.5.5-r1710.ebuild | 27 + .../nm-applet-gtk2-0.9.8.10-r1708.ebuild | 53 -- .../nm-applet-gtk2-0.9.8.10-r1710.ebuild | 53 ++ net-misc/teamviewer/Manifest | 1 - .../teamviewer/teamviewer-11.0.57095-r1708.ebuild | 129 ----- .../teamviewer/teamviewer-12.0.76279-r1708.ebuild | 128 ----- .../teamviewer/teamviewer-12.0.76279-r1710.ebuild | 128 +++++ .../broadcom-sta-6.30.223.271-r1708.ebuild | 26 - .../broadcom-sta-6.30.223.271-r1710.ebuild | 26 + sys-boot/os-prober/os-prober-1.71-r1708.ebuild | 78 --- sys-boot/os-prober/os-prober-1.71-r1710.ebuild | 78 +++ sys-boot/plymouth/plymouth-0.8.8-r1708.ebuild | 91 ---- sys-boot/plymouth/plymouth-0.8.8-r1710.ebuild | 91 ++++ .../unetbootin-static-625-r1708.ebuild | 33 -- .../unetbootin-static-625-r1710.ebuild | 33 ++ sys-fs/cryptsetup/cryptsetup-1.7.5-r1708.ebuild | 126 ----- sys-fs/cryptsetup/cryptsetup-1.7.5-r1710.ebuild | 126 +++++ sys-fs/vhba/vhba-20170610-r1708.ebuild | 51 -- sys-fs/vhba/vhba-20170610-r1710.ebuild | 51 ++ .../profile-sync-daemon-5.45.1-r1708.ebuild | 38 -- .../profile-sync-daemon-5.45.1-r1710.ebuild | 39 ++ 65 files changed, 2463 insertions(+), 2769 deletions(-) delete mode 100644 app-admin/openrc-settingsd/openrc-settingsd-1.0.1-r1708.ebuild create mode 100644 app-admin/openrc-settingsd/openrc-settingsd-1.0.1-r1710.ebuild delete mode 100644 app-backup/qt5-fsarchiver/qt5-fsarchiver-0.8.1-r1708.ebuild create mode 100644 app-backup/qt5-fsarchiver/qt5-fsarchiver-0.8.1-r1710.ebuild delete mode 100644 app-crypt/libsecret/libsecret-0.18.5-r1708.ebuild create mode 100644 app-crypt/libsecret/libsecret-0.18.5-r1710.ebuild delete mode 100644 app-emulation/steam/steam-1.0.0.45-r1708.ebuild create mode 100644 app-emulation/steam/steam-1.0.0.45-r1710.ebuild delete mode 100644 app-emulation/wine/wine-2.14-r1708.ebuild create mode 100644 app-emulation/wine/wine-2.17-r1710.ebuild delete mode 100644 app-misc/calamares-config-redcore/calamares-config-redcore-1708-r4.ebuild create mode 100644 app-misc/calamares-config-redcore/calamares-config-redcore-1710.ebuild delete mode 100644 app-misc/calamares-runtime/calamares-runtime-1708.ebuild create mode 100644 app-misc/calamares-runtime/calamares-runtime-1710.ebuild delete mode 100644 app-misc/redcore-live/redcore-live-1708-r1.ebuild create mode 100644 app-misc/redcore-live/redcore-live-1710.ebuild delete mode 100644 app-misc/redcore-skel/redcore-skel-1708-r1.ebuild create mode 100644 app-misc/redcore-skel/redcore-skel-1710.ebuild delete mode 100644 app-misc/screenfetch/Manifest delete mode 100644 app-misc/screenfetch/files/kogaion.patch delete mode 100644 app-misc/screenfetch/metadata.xml delete mode 100644 app-misc/screenfetch/screenfetch-3.6.5-r1.ebuild delete mode 100644 app-misc/screenfetch/screenfetch-9999.ebuild delete mode 100644 dev-python/wxpython/wxpython-3.0.2.0-r1708.ebuild create mode 100644 dev-python/wxpython/wxpython-3.0.2.0-r1710.ebuild create mode 100644 lxqt-base/lxqt-common/lxqt-common-0.11.0-r1710.ebuild delete mode 100644 lxqt-base/lxqt-common/lxqt-common-0.11.0-r2.ebuild delete mode 100644 lxqt-base/lxqt-meta/lxqt-meta-0.11.0-r1708.ebuild create mode 100644 lxqt-base/lxqt-meta/lxqt-meta-0.11.0-r1710.ebuild delete mode 100644 media-gfx/splashutils/splashutils-1.5.4.4-r1708.ebuild create mode 100644 media-gfx/splashutils/splashutils-1.5.4.4-r1710.ebuild delete mode 100644 media-sound/cantata/cantata-2.1.0-r1708.ebuild create mode 100644 media-sound/cantata/cantata-2.1.0-r1710.ebuild delete mode 100644 net-im/franz/franz-4.0.4-r1708.ebuild create mode 100644 net-im/franz/franz-4.0.4-r1710.ebuild delete mode 100644 net-im/messengerfordesktop/messengerfordesktop-2.0.9-r1708.ebuild create mode 100644 net-im/messengerfordesktop/messengerfordesktop-2.0.9-r1710.ebuild delete mode 100644 net-im/skypeforlinux/skypeforlinux-5.5.0.1-r1708.ebuild create mode 100644 net-im/skypeforlinux/skypeforlinux-5.5.0.1-r1710.ebuild delete mode 100644 net-im/telegram/telegram-0.10.1-r1708.ebuild create mode 100644 net-im/telegram/telegram-0.10.1-r1710.ebuild delete mode 100644 net-im/viber/viber-6.5.5-r1708.ebuild create mode 100644 net-im/viber/viber-6.5.5-r1710.ebuild delete mode 100644 net-misc/nm-applet-gtk2/nm-applet-gtk2-0.9.8.10-r1708.ebuild create mode 100644 net-misc/nm-applet-gtk2/nm-applet-gtk2-0.9.8.10-r1710.ebuild delete mode 100644 net-misc/teamviewer/teamviewer-11.0.57095-r1708.ebuild delete mode 100644 net-misc/teamviewer/teamviewer-12.0.76279-r1708.ebuild create mode 100644 net-misc/teamviewer/teamviewer-12.0.76279-r1710.ebuild delete mode 100644 net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r1708.ebuild create mode 100644 net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r1710.ebuild delete mode 100644 sys-boot/os-prober/os-prober-1.71-r1708.ebuild create mode 100644 sys-boot/os-prober/os-prober-1.71-r1710.ebuild delete mode 100644 sys-boot/plymouth/plymouth-0.8.8-r1708.ebuild create mode 100644 sys-boot/plymouth/plymouth-0.8.8-r1710.ebuild delete mode 100644 sys-boot/unetbootin-static/unetbootin-static-625-r1708.ebuild create mode 100644 sys-boot/unetbootin-static/unetbootin-static-625-r1710.ebuild delete mode 100644 sys-fs/cryptsetup/cryptsetup-1.7.5-r1708.ebuild create mode 100644 sys-fs/cryptsetup/cryptsetup-1.7.5-r1710.ebuild delete mode 100644 sys-fs/vhba/vhba-20170610-r1708.ebuild create mode 100644 sys-fs/vhba/vhba-20170610-r1710.ebuild delete mode 100644 www-misc/profile-sync-daemon/profile-sync-daemon-5.45.1-r1708.ebuild create mode 100644 www-misc/profile-sync-daemon/profile-sync-daemon-5.45.1-r1710.ebuild 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 deleted file mode 100644 index a5934936..00000000 --- a/app-admin/openrc-settingsd/openrc-settingsd-1.0.1-r1708.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-r1710.ebuild b/app-admin/openrc-settingsd/openrc-settingsd-1.0.1-r1710.ebuild new file mode 100644 index 00000000..a5934936 --- /dev/null +++ b/app-admin/openrc-settingsd/openrc-settingsd-1.0.1-r1710.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-backup/qt5-fsarchiver/qt5-fsarchiver-0.8.1-r1708.ebuild b/app-backup/qt5-fsarchiver/qt5-fsarchiver-0.8.1-r1708.ebuild deleted file mode 100644 index 8bf7e7a9..00000000 --- a/app-backup/qt5-fsarchiver/qt5-fsarchiver-0.8.1-r1708.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit qmake-utils versionator - -MIN_PV="$(get_version_component_range 1-3)" - -DESCRIPTION="Qt5 frontend for fsarchiver" -HOMEPAGE="http://qt4-fsarchiver.sourceforge.net/" -SRC_URI="mirror://sourceforge/project/qt4-fsarchiver/${PN}/source/${P}-0.tar.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" - -IUSE="" - -CDEPEND="app-arch/bzip2 - app-arch/xz-utils - dev-libs/libgcrypt:= - dev-libs/lzo - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 - sys-apps/util-linux - sys-fs/e2fsprogs - sys-libs/zlib" -RDEPEND="${CDEPEND} - >=app-backup/fsarchiver-${MIN_PV}[lzma,lzo]" -DEPEND="${CDEPEND}" - -S="${WORKDIR}/${PN}" - -src_prepare() { - epatch ${FILESDIR}/redcorelinux.patch - sed -i \ - -e "/icon.path/s:app-install/icons:${PN}:" "${PN}.pro" \ - || die "sed on ${PN}.pro failed" -} - -src_compile() { - eqmake5 -} - -src_install() { - emake INSTALL_ROOT="${D}" install - einstalldocs - # remove gksu && kdesu enabled desktop entries - rm -rf ${ED}/usr/share/applications/kde-${PN}.desktop - rm -rf ${ED}/usr/share/applications/mate-${PN}.desktop -} - -pkg_postinst() { - elog "optional dependencies:" - elog " sys-fs/btrfs-progs" - elog " sys-fs/jfsutils" - elog " sys-fs/ntfs3g[ntfsprogs]" - elog " sys-fs/reiser4progs" - elog " sys-fs/reiserfsprogs" - elog " net-fs/sshfs" - elog " sys-fs/xfsprogs" -} diff --git a/app-backup/qt5-fsarchiver/qt5-fsarchiver-0.8.1-r1710.ebuild b/app-backup/qt5-fsarchiver/qt5-fsarchiver-0.8.1-r1710.ebuild new file mode 100644 index 00000000..434b02f3 --- /dev/null +++ b/app-backup/qt5-fsarchiver/qt5-fsarchiver-0.8.1-r1710.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit qmake-utils versionator + +MIN_PV="$(get_version_component_range 1-3)" + +DESCRIPTION="Qt5 frontend for fsarchiver backup tool" +HOMEPAGE="http://qt4-fsarchiver.sourceforge.net/" +SRC_URI="mirror://sourceforge/project/qt4-fsarchiver/${PN}/source/${P}-0.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" + +IUSE="" + +CDEPEND="app-arch/bzip2 + app-arch/xz-utils + dev-libs/libgcrypt:= + dev-libs/lzo + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + sys-apps/util-linux + sys-fs/e2fsprogs + sys-libs/zlib" +RDEPEND="${CDEPEND} + >=app-backup/fsarchiver-${MIN_PV}[lzma,lzo]" +DEPEND="${CDEPEND}" + +S="${WORKDIR}/${PN}" + +src_prepare() { + epatch ${FILESDIR}/redcorelinux.patch + sed -i \ + -e "/icon.path/s:app-install/icons:${PN}:" "${PN}.pro" \ + || die "sed on ${PN}.pro failed" +} + +src_compile() { + eqmake5 +} + +src_install() { + emake INSTALL_ROOT="${D}" install + einstalldocs + # remove gksu && kdesu enabled desktop entries + rm -rf ${ED}/usr/share/applications/kde-${PN}.desktop + rm -rf ${ED}/usr/share/applications/mate-${PN}.desktop +} + +pkg_postinst() { + elog "optional dependencies:" + elog " sys-fs/btrfs-progs" + elog " sys-fs/jfsutils" + elog " sys-fs/ntfs3g[ntfsprogs]" + elog " sys-fs/reiser4progs" + elog " sys-fs/reiserfsprogs" + elog " net-fs/sshfs" + elog " sys-fs/xfsprogs" +} diff --git a/app-crypt/libsecret/libsecret-0.18.5-r1708.ebuild b/app-crypt/libsecret/libsecret-0.18.5-r1708.ebuild deleted file mode 100644 index 9466fb08..00000000 --- a/app-crypt/libsecret/libsecret-0.18.5-r1708.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-r1710.ebuild b/app-crypt/libsecret/libsecret-0.18.5-r1710.ebuild new file mode 100644 index 00000000..9466fb08 --- /dev/null +++ b/app-crypt/libsecret/libsecret-0.18.5-r1710.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 deleted file mode 100644 index 993c0659..00000000 --- a/app-emulation/steam/steam-1.0.0.45-r1708.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/steam/steam-1.0.0.45-r1710.ebuild b/app-emulation/steam/steam-1.0.0.45-r1710.ebuild new file mode 100644 index 00000000..993c0659 --- /dev/null +++ b/app-emulation/steam/steam-1.0.0.45-r1710.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/wine/Manifest b/app-emulation/wine/Manifest index 8e11e3ba..d909c706 100644 --- a/app-emulation/wine/Manifest +++ b/app-emulation/wine/Manifest @@ -1,7 +1,7 @@ -DIST wine-2.14.tar.xz 19447812 SHA256 03f934d95181f728600ca04d395f10e821ee38cfa31655e872e4d27d2a8795c6 SHA512 ff43d386d46c0c74449e667b61d8cebd5fa768c88e6220aa2f13df03d80b71b6c0bdf8cbab023aed96f7c88b9787a3be4989da892fa1778412534ae82a7279bb WHIRLPOOL 2d2784e1b2ddeac39a3cea4cb08a62d99d1d062d8d801874e8bf4f56d2538a4cb019418c60299556548028e2362dd533d9ea0956014a65ac7a367ed489c0c392 -DIST wine-d3d9-2.14.tar.gz 48718 SHA256 71a3aff0b348f033d4ca610e34ce6faa02eb2b5c822fa2e00b372de66541ffd4 SHA512 77aa93ac9b1a81581c27e74641722666026e2e6e03def57955a05fc76c6c02730271a562130dc87ed1caefc9b00b3e0421b2640fa17165aef2f8be5da0cf07d3 WHIRLPOOL 1319fdfb4426a0a294702a5c43641008654a1352d91d23b9bd422d83fb5cd50053110052eef09ae128dfb570523d9208272abd21cb5975adff060fe7d31ac5ad +DIST wine-2.17.tar.xz 19505528 SHA256 7edc95739043ccc55957af663fb910318283dc5d1db42cd7f0224e30acfcea69 SHA512 cb10c876e689aa601c68673aab32c0514dd174692a01bdb3afc78d5e6079b0e77f48783af2f54245f397c762da3b4e5f2c1d39d2ce7fdb3b117d338b95c24810 WHIRLPOOL 196427a68ab3b1261cb63bafd7f82b7a688ad439fa82ae3fc04b18c9da14cc8e95b827ca8ddd07124e1179c55ed0e0aba3bdcb4639b724a6dacf4952e8827e16 +DIST wine-d3d9-2.17.tar.gz 48722 SHA256 557ae75a68529f282f1f5e7e9991892d7d994f199060ced43db22291ec66fe71 SHA512 530d44a968a68e06449da2286b8c9740a80b681ff610f6ddc87e6fb569e6c29181341266a04238965a7bfc209e20c1521847b70daa8d3532c2a269db0d200154 WHIRLPOOL 0c70a88949eaa27ebbc28a6951651e4b55166c1d54a8db6d9fdfe3f516d2f4e24ba0f08defddf637b9c2ed0702b250af4d41146684b79e90d84aefe284351059 DIST wine-gentoo-2015.03.07.tar.bz2 85419 SHA256 f13f93dc49bbc33a294c4d511b6e01aec2d38bff77a1e44d07668291add1ab04 SHA512 bae1d2d5575d340d01f44008104f0e5ec0c4a4982995dec37d501594cd21d07a2b4ad4465c4273646d5bf6521996b4b82471097864be75342abe3e7d478a56bd WHIRLPOOL 0f254dd692e87a1f71dd19f6c1c8c59b8a91b994e75912a2e6e3ba5e875b85119fe497a331a95c2ce33bbf5f064143d23ee00275da92c494227de0807c9abb06 DIST wine-mono-4.7.1.msi 56470528 SHA256 2c8d5db7f833c3413b2519991f5af1f433d59a927564ec6f38a3f1f8b2c629aa SHA512 d47f21fa3ddb31522366056a2062cf7b77eec0a12f96dc05326561c9d2604405128441ff40d1b9567a6e6cd1c19ee03444d2ba02dd3b8dd2d150030dfb52f765 WHIRLPOOL fb0bd7af90924e20389f1d63c5089961a3f8cc23295b19820920347d3092a25bacea1838e5fb789dc0660896e5caedf6cff8629e96f3ab9055fa45ac444ecaf3 -DIST wine-staging-2.14.tar.gz 10179829 SHA256 cd4c8e400a808cbfa5c5cf088ea874c761d09db897f25bc33eab840101020b19 SHA512 1e794f77309e94612f822b72872ac2726e37d219a40c4a45feb2fb56f4413c34eae966a4ae8708d502c837cd47db22979e9a05cb73b681703cd729f701cdb210 WHIRLPOOL 63f9ff9cd4d54d6ff91997a904e7cd612bb8bca905399e9c6950b274cd8218c0c04a40dca9f4e12180e1080f1631bfec38e3633fcd457e688e8f8883661a4e59 +DIST wine-staging-2.17.tar.gz 10211107 SHA256 f511bf3438dc418b4f667513bf1ae419255e4ee62229e9205c0c64b047222183 SHA512 b652f6a852a1382c1b8275e172b7ac7608749c34aef5c0c5387cf262bf0da8db67a77ce397d49e53f3e2a8f210a3dbea1a9b3f3feb15c7d5bad8952b6fb7b53c WHIRLPOOL c45dc5fc91bc774f9f28bb06dff959391829fafac398bef198755395afe5a65bb2d32ba3ce157607a6040481955926866ed8f0760850bfca821be8599f4d7b64 DIST wine_gecko-2.47-x86.msi 49266176 SHA256 3b8a361f5d63952d21caafd74e849a774994822fb96c5922b01d554f1677643a SHA512 e0d06102dcb8ec2d24e8c8c3f5c2ee5cb47c18e203dfb43d85de008d682ff874fb664fef1df909a5a7857de39c7e8ce5175e734a11964ec4cd35f8fbacaea3a4 WHIRLPOOL 2b4e3e88d530106d942200e5cdc67e51fc529c51864dee687ff1d6ae4cc94557481f74797a5ca7c1de8ca5ad00f7d9cb71e484ab24d73867d1032ccd88c0c376 DIST wine_gecko-2.47-x86_64.msi 50806272 SHA256 c565ea25e50ea953937d4ab01299e4306da4a556946327d253ea9b28357e4a7d SHA512 7c2496b15a06bc6906bc60afb3ac082e3f9931207fa624e60297020211d66aa9b420a61e95730a0dbdcefbe4b26c811d0c896ecd9c363b5107d08c3fa22fef41 WHIRLPOOL c7619954da22a47dae86ef4c6c0cfbece41943edcceb2c21babe610e0a0b2197b244ebbddd2f3986ee4d5251b062e5f3b8e079426ec77c311b928d18c8451677 diff --git a/app-emulation/wine/wine-2.14-r1708.ebuild b/app-emulation/wine/wine-2.14-r1708.ebuild deleted file mode 100644 index c25c9cc3..00000000 --- a/app-emulation/wine/wine-2.14-r1708.ebuild +++ /dev/null @@ -1,581 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PLOCALES="ar bg ca cs da de el en en_US eo es fa fi fr he hi hr hu it ja ko lt ml nb_NO nl or pa pl pt_BR pt_PT rm ro ru sk sl sr_RS@cyrillic sr_RS@latin sv te th tr uk wa zh_CN zh_TW" -PLOCALE_BACKUP="en" - -inherit autotools eutils fdo-mime flag-o-matic gnome2-utils l10n multilib multilib-minimal pax-utils toolchain-funcs virtualx versionator - -if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="git://source.winehq.org/git/wine.git http://source.winehq.org/git/wine.git" - EGIT_BRANCH="master" - inherit git-r3 - SRC_URI="" - #KEYWORDS="" -else - MAJOR_V=$(get_version_component_range 1) - SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}.x/${P}.tar.xz" - KEYWORDS="-* amd64 x86 x86-fbsd" -fi - -VANILLA_GV="2.47" -VANILLA_MV="4.7.1" -STAGING_GV="2.47" -STAGING_MV="4.7.1" -[[ ${MAJOR_V} == "1.8" ]] && SUFFIX="-unofficial" -STAGING_P="wine-staging-${PV}" -STAGING_DIR="${WORKDIR}/${STAGING_P}${SUFFIX}" -D3D9_P="wine-d3d9-${PV}" -D3D9_DIR="${WORKDIR}/wine-d3d9-patches-${D3D9_P}" -WINE_GENTOO="wine-gentoo-2015.03.07" -DESCRIPTION="Free implementation of Windows(tm) on Unix" -HOMEPAGE="https://www.winehq.org/" -SRC_URI="${SRC_URI} - !staging? ( - gecko? ( - abi_x86_32? ( https://dl.winehq.org/wine/wine-gecko/${VANILLA_GV}/wine_gecko-${VANILLA_GV}-x86.msi ) - abi_x86_64? ( https://dl.winehq.org/wine/wine-gecko/${VANILLA_GV}/wine_gecko-${VANILLA_GV}-x86_64.msi ) - ) - mono? ( https://dl.winehq.org/wine/wine-mono/${VANILLA_MV}/wine-mono-${VANILLA_MV}.msi ) - ) - staging? ( - gecko? ( - abi_x86_32? ( https://dl.winehq.org/wine/wine-gecko/${STAGING_GV}/wine_gecko-${STAGING_GV}-x86.msi ) - abi_x86_64? ( https://dl.winehq.org/wine/wine-gecko/${STAGING_GV}/wine_gecko-${STAGING_GV}-x86_64.msi ) - ) - mono? ( https://dl.winehq.org/wine/wine-mono/${STAGING_MV}/wine-mono-${STAGING_MV}.msi ) - ) - https://dev.gentoo.org/~tetromino/distfiles/${PN}/${WINE_GENTOO}.tar.bz2" - -if [[ ${PV} == "9999" ]] ; then - STAGING_EGIT_REPO_URI="https://github.com/wine-compholio/wine-staging.git" - D3D9_EGIT_REPO_URI="https://github.com/sarnex/wine-d3d9-patches.git" -else - SRC_URI="${SRC_URI} - staging? ( https://github.com/wine-compholio/wine-staging/archive/v${PV}${SUFFIX}.tar.gz -> ${STAGING_P}.tar.gz ) - d3d9? ( https://github.com/sarnex/wine-d3d9-patches/archive/${D3D9_P}.tar.gz )" -fi - -LICENSE="LGPL-2.1" -SLOT="0" -IUSE="+abi_x86_32 +abi_x86_64 +alsa capi cups custom-cflags d3d9 dos elibc_glibc +fontconfig +gecko gphoto2 gsm gstreamer +jpeg kernel_FreeBSD +lcms ldap +mono mp3 ncurses netapi nls odbc openal opencl +opengl osmesa oss +perl pcap pipelight +png prelink pulseaudio +realtime +run-exes s3tc samba scanner selinux +ssl staging test themes +threads +truetype udev +udisks v4l vaapi +X +xcomposite xinerama +xml" -REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 ) - X? ( truetype ) - elibc_glibc? ( threads ) - osmesa? ( opengl ) - pipelight? ( staging ) - s3tc? ( staging ) - test? ( abi_x86_32 ) - themes? ( staging ) - vaapi? ( staging )" # osmesa-opengl #286560 # X-truetype #551124 - -# FIXME: the test suite is unsuitable for us; many tests require net access -# or fail due to Xvfb's opengl limitations. -RESTRICT="test" - -COMMON_DEPEND=" - X? ( - x11-libs/libXcursor[${MULTILIB_USEDEP}] - x11-libs/libXext[${MULTILIB_USEDEP}] - x11-libs/libXrandr[${MULTILIB_USEDEP}] - x11-libs/libXi[${MULTILIB_USEDEP}] - x11-libs/libXxf86vm[${MULTILIB_USEDEP}] - ) - alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] ) - capi? ( net-libs/libcapi[${MULTILIB_USEDEP}] ) - cups? ( net-print/cups:=[${MULTILIB_USEDEP}] ) - d3d9? ( - media-libs/mesa[d3d9,egl,${MULTILIB_USEDEP}] - x11-libs/libX11[${MULTILIB_USEDEP}] - x11-libs/libXext[${MULTILIB_USEDEP}] - x11-libs/libxcb[${MULTILIB_USEDEP}] - ) - fontconfig? ( media-libs/fontconfig:=[${MULTILIB_USEDEP}] ) - gphoto2? ( media-libs/libgphoto2:=[${MULTILIB_USEDEP}] ) - gsm? ( media-sound/gsm:=[${MULTILIB_USEDEP}] ) - gstreamer? ( - media-libs/gstreamer:1.0[${MULTILIB_USEDEP}] - media-plugins/gst-plugins-meta:1.0[${MULTILIB_USEDEP}] - ) - jpeg? ( virtual/jpeg:0=[${MULTILIB_USEDEP}] ) - lcms? ( media-libs/lcms:2=[${MULTILIB_USEDEP}] ) - ldap? ( net-nds/openldap:=[${MULTILIB_USEDEP}] ) - mp3? ( >=media-sound/mpg123-1.5.0[${MULTILIB_USEDEP}] ) - ncurses? ( >=sys-libs/ncurses-5.2:0=[${MULTILIB_USEDEP}] ) - netapi? ( net-fs/samba[netapi(+),${MULTILIB_USEDEP}] ) - nls? ( sys-devel/gettext[${MULTILIB_USEDEP}] ) - odbc? ( dev-db/unixODBC:=[${MULTILIB_USEDEP}] ) - openal? ( media-libs/openal:=[${MULTILIB_USEDEP}] ) - opencl? ( virtual/opencl[${MULTILIB_USEDEP}] ) - opengl? ( - virtual/glu[${MULTILIB_USEDEP}] - virtual/opengl[${MULTILIB_USEDEP}] - ) - osmesa? ( media-libs/mesa[osmesa,${MULTILIB_USEDEP}] ) - pcap? ( net-libs/libpcap[${MULTILIB_USEDEP}] ) - png? ( media-libs/libpng:0=[${MULTILIB_USEDEP}] ) - pulseaudio? ( media-sound/pulseaudio[${MULTILIB_USEDEP}] ) - scanner? ( media-gfx/sane-backends:=[${MULTILIB_USEDEP}] ) - ssl? ( net-libs/gnutls:=[${MULTILIB_USEDEP}] ) - staging? ( sys-apps/attr[${MULTILIB_USEDEP}] ) - themes? ( - dev-libs/glib:2[${MULTILIB_USEDEP}] - x11-libs/cairo[${MULTILIB_USEDEP}] - x11-libs/gtk+:3[${MULTILIB_USEDEP}] - ) - truetype? ( >=media-libs/freetype-2.0.0[${MULTILIB_USEDEP}] ) - udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] ) - udisks? ( sys-apps/dbus[${MULTILIB_USEDEP}] ) - v4l? ( media-libs/libv4l[${MULTILIB_USEDEP}] ) - vaapi? ( x11-libs/libva[X,${MULTILIB_USEDEP}] ) - xcomposite? ( x11-libs/libXcomposite[${MULTILIB_USEDEP}] ) - xinerama? ( x11-libs/libXinerama[${MULTILIB_USEDEP}] ) - xml? ( - dev-libs/libxml2[${MULTILIB_USEDEP}] - dev-libs/libxslt[${MULTILIB_USEDEP}] - ) - abi_x86_32? ( - !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] - !/dev/null 2>&1 - if ! eend $?; then - eerror "64-bit wine cannot be built with gcc-5.1 or initial patchset of 5.2.0" - eerror "due to compiler bugs; please re-emerge the latest gcc-5.2.x ebuild," - eerror "or use gcc-config to select a different compiler version." - eerror "See https://bugs.gentoo.org/549768" - eerror - return 1 - fi - fi - # bug #574044 - if use abi_x86_64 && [[ $(gcc-major-version) = 5 && $(gcc-minor-version) = 3 ]]; then - ebegin "Checking for gcc-5-3 stack realignment compiler bug" - # Compile in subshell to prevent "Aborted" message - ( $(tc-getCC) -O2 -mincoming-stack-boundary=3 "${FILESDIR}"/pr69140.c -o "${T}"/pr69140 ) >/dev/null 2>&1 - if ! eend $?; then - eerror "Wine cannot be built with this version of gcc-5.3" - eerror "due to compiler bugs; please re-emerge the latest gcc-5.3.x ebuild," - eerror "or use gcc-config to select a different compiler version." - eerror "See https://bugs.gentoo.org/574044" - eerror - return 1 - fi - fi - fi - - # Ensure compiler support - if use abi_x86_64; then - ebegin "Checking for 64-bit compiler with builtin_ms_va_list support" - # Compile in subshell to prevent "Aborted" message - ( $(tc-getCC) -O2 "${FILESDIR}"/builtin_ms_va_list.c -o "${T}"/builtin_ms_va_list >/dev/null 2>&1) - if ! eend $?; then - eerror "This version of $(tc-getCC) does not support builtin_ms_va_list, can't enable 64-bit wine" - eerror - eerror "You need gcc-4.4+ or clang 3.8+ to build 64-bit wine" - eerror - return 1 - fi - fi -} - -wine_build_environment_check() { - [[ ${MERGE_TYPE} = "binary" ]] && return 0 - - if use abi_x86_64; then - if tc-is-gcc && [[ $(gcc-major-version) -lt 4 || ( $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 4 ) ]]; then - eerror "You need gcc-4.4+ to compile 64-bit wine" - die - elif tc-is-clang && [[ $(clang-major-version) -lt 3 || ( $(clang-major-version) -eq 3 && $(clang-minor-version) -lt 8 ) ]]; then - eerror "You need clang-3.8+ to compile 64-bit wine" - die - fi - fi - if tc-is-gcc && [[ $(gcc-major-version) -eq 5 && $(gcc-minor-version) -le 3 ]]; then - ewarn "GCC-5.0-5.3 suffered from compiler bugs and are no longer supported by" - ewarn "Gentoo's Toolchain Team. If your ebuild fails the compiler checks in" - ewarn "the configure phase, either update your compiler or switch to <5.0 || >=5.4" - fi - if tc-is-gcc && [[ $(gcc-major-version) -eq 5 && $(gcc-minor-version) -eq 4 ]]; then - if has "-march=i686" ${CFLAGS} && ! has "-mtune=generic" ${CFLAGS}; then - ewarn "Compilation can hang with CFLAGS=\"-march=i686\". You can temporarily work" - ewarn "around this by adding \"-mtune=generic\" to your CFLAGS for wine." - ewarn "See package.env in man 5 portage for more information on how to do this." - ewarn "See https://bugs.gentoo.org/show_bug.cgi?id=613128 for more details" - fi - fi - - if use abi_x86_32 && use opencl && [[ "$(eselect opencl show 2> /dev/null)" == "intel" ]]; then - eerror "You cannot build wine with USE=opencl because intel-ocl-sdk is 64-bit only." - eerror "See https://bugs.gentoo.org/487864 for more details." - eerror - return 1 - fi -} - -wine_env_vcs_vars() { - local pn_live_var="${PN//[-+]/_}_LIVE_COMMIT" - local pn_live_val="${pn_live_var}" - eval pn_live_val='$'${pn_live_val} - if [[ ! -z ${pn_live_val} ]]; then - if use staging || use d3d9; then - eerror "Because of the multi-repo nature of ${PN}, ${pn_live_var}" - eerror "cannot be used to set the commit. Instead, you may use the" - eerror "environmental variables WINE_COMMIT, STAGING_COMMIT, and D3D9_COMMIT." - eerror - return 1 - fi - fi - if [[ ! -z ${EGIT_COMMIT} ]]; then - eerror "Commits must now be specified using the environmental variables" - eerror "WINE_COMMIT, STAGING_COMMIT, and D3D9_COMMIT" - eerror - return 1 - fi -} - -pkg_pretend() { - wine_build_environment_check || die - - # Verify OSS support - if use oss && ! use kernel_FreeBSD; then - if ! has_version ">=media-sound/oss-4"; then - eerror "You cannot build wine with USE=oss without having support from a" - eerror "FreeBSD kernel or >=media-sound/oss-4 (only available through external repos)" - eerror - die - fi - fi -} - -pkg_setup() { - wine_build_environment_check || die - wine_env_vcs_vars || die - if ! use staging; then - GV=${VANILLA_GV} - MV=${VANILLA_MV} - else - GV=${STAGING_GV} - MV=${STAGING_MV} - fi -} - -src_unpack() { - if [[ ${PV} == "9999" ]] ; then - EGIT_COMMIT="${WINE_COMMIT}" git-r3_src_unpack - if use staging; then - local CURRENT_WINE_COMMIT=${EGIT_VERSION} - - git-r3_fetch "${STAGING_EGIT_REPO_URI}" "${STAGING_COMMIT}" - git-r3_checkout "${STAGING_EGIT_REPO_URI}" "${STAGING_DIR}" - - local COMPAT_WINE_COMMIT=$("${STAGING_DIR}/patches/patchinstall.sh" --upstream-commit) || die - - if [[ "${CURRENT_WINE_COMMIT}" != "${COMPAT_WINE_COMMIT}" ]]; then - einfo "The current Staging patchset is not guaranteed to apply on this WINE commit." - einfo "If src_prepare fails, try emerging with the env var WINE_COMMIT." - einfo "Example: WINE_COMMIT=${COMPAT_WINE_COMMIT} emerge -1 wine" - fi - fi - if use d3d9; then - git-r3_fetch "${D3D9_EGIT_REPO_URI}" "${D3D9_COMMIT}" - git-r3_checkout "${D3D9_EGIT_REPO_URI}" "${D3D9_DIR}" - fi - fi - - default - - l10n_find_plocales_changes "${S}/po" "" ".po" -} - -src_prepare() { - local md5="$(md5sum server/protocol.def)" - local PATCHES=( - "${FILESDIR}"/${PN}-1.5.26-winegcc.patch #260726 - "${FILESDIR}"/${PN}-1.9.5-multilib-portage.patch #395615 - "${FILESDIR}"/${PN}-1.6-memset-O3.patch #480508 - ) - if use staging; then - ewarn "Applying the Wine-Staging patchset. Any bug reports to the" - ewarn "Wine bugzilla should explicitly state that staging was used." - - local STAGING_EXCLUDE="" - STAGING_EXCLUDE="${STAGING_EXCLUDE} -W winhlp32-Flex_Workaround" # Avoid double patching https://bugs.winehq.org/show_bug.cgi?id=42132 - use pipelight || STAGING_EXCLUDE="${STAGING_EXCLUDE} -W Pipelight" - - # Launch wine-staging patcher in a subshell, using eapply as a backend, and gitapply.sh as a backend for binary patches - ebegin "Running Wine-Staging patch installer" - ( - set -- DESTDIR="${S}" --backend=eapply --no-autoconf --all ${STAGING_EXCLUDE} - cd "${STAGING_DIR}/patches" - source "${STAGING_DIR}/patches/patchinstall.sh" - ) - eend $? || die "Failed to apply Wine-Staging patches" - - # To differentiate unofficial staging releases - if [[ ! -z ${SUFFIX} ]]; then - sed -i "s/(Staging)/(Staging [Unofficial])/" libs/wine/Makefile.in || die - fi - fi - if use d3d9; then - if use staging; then - PATCHES+=( "${D3D9_DIR}/staging-helper.patch" ) - else - PATCHES+=( "${D3D9_DIR}/d3d9-helper.patch" ) - fi - PATCHES+=( "${D3D9_DIR}/wine-d3d9.patch" ) - fi - - default - eautoreconf - - # Modification of the server protocol requires regenerating the server requests - if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then - einfo "server/protocol.def was patched; running tools/make_requests" - tools/make_requests || die #432348 - fi - sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die - if ! use run-exes; then - sed -i '/^MimeType/d' loader/wine.desktop || die #117785 - fi - - # hi-res default icon, #472990, https://bugs.winehq.org/show_bug.cgi?id=24652 - cp "${WORKDIR}"/${WINE_GENTOO}/icons/oic_winlogo.ico dlls/user32/resources/ || die - - l10n_get_locales > po/LINGUAS || die # otherwise wine doesn't respect LINGUAS -} - -src_configure() { - wine_compiler_check || die - - export LDCONFIG=/bin/true - use custom-cflags || strip-flags - - multilib-minimal_src_configure -} - -multilib_src_configure() { - local myconf=( - --sysconfdir=/etc/wine - $(use_with alsa) - $(use_with capi) - $(use_with lcms cms) - $(use_with cups) - $(use_with ncurses curses) - $(use_with udisks dbus) - $(use_with fontconfig) - $(use_with ssl gnutls) - $(use_enable gecko mshtml) - $(use_with gphoto2 gphoto) - $(use_with gsm) - $(use_with gstreamer) - --without-hal - $(use_with jpeg) - $(use_with ldap) - $(use_enable mono mscoree) - $(use_with mp3 mpg123) - $(use_with netapi) - $(use_with nls gettext) - $(use_with openal) - $(use_with opencl) - $(use_with opengl) - $(use_with osmesa) - $(use_with oss) - $(use_with pcap) - $(use_with png) - $(use_with pulseaudio pulse) - $(use_with threads pthread) - $(use_with scanner sane) - $(use_enable test tests) - $(use_with truetype freetype) - $(use_with udev) - $(use_with v4l) - $(use_with X x) - $(use_with xcomposite) - $(use_with xinerama) - $(use_with xml) - $(use_with xml xslt) - ) - - use staging && myconf+=( - --with-xattr - $(use_with themes gtk3) - $(use_with vaapi va) - ) - use d3d9 && myconf+=( $(use_with d3d9 d3d9-nine) ) - - local PKG_CONFIG AR RANLIB - # Avoid crossdev's i686-pc-linux-gnu-pkg-config if building wine32 on amd64; #472038 - # set AR and RANLIB to make QA scripts happy; #483342 - tc-export PKG_CONFIG AR RANLIB - - if use amd64; then - if [[ ${ABI} == amd64 ]]; then - myconf+=( --enable-win64 ) - else - myconf+=( --disable-win64 ) - fi - - # Note: using --with-wine64 results in problems with multilib.eclass - # CC/LD hackery. We're using separate tools instead. - fi - - ECONF_SOURCE=${S} \ - econf "${myconf[@]}" - emake depend -} - -multilib_src_test() { - # FIXME: win32-only; wine64 tests fail with "could not find the Wine loader" - if [[ ${ABI} == x86 ]]; then - if [[ $(id -u) == 0 ]]; then - ewarn "Skipping tests since they cannot be run under the root user." - ewarn "To run the test ${PN} suite, add userpriv to FEATURES in make.conf" - return - fi - - WINEPREFIX="${T}/.wine-${ABI}" \ - Xemake test - fi -} - -multilib_src_install_all() { - local DOCS=( ANNOUNCE AUTHORS README ) - local l - add_locale_docs() { - local locale_doc="documentation/README.$1" - [[ ! -e ${locale_doc} ]] || DOCS+=( ${locale_doc} ) - } - l10n_for_each_locale_do add_locale_docs - - einstalldocs - prune_libtool_files --all - - emake -C "../${WINE_GENTOO}" install DESTDIR="${D}" EPREFIX="${EPREFIX}" - if use gecko ; then - insinto /usr/share/wine/gecko - use abi_x86_32 && doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi - use abi_x86_64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi - fi - if use mono ; then - insinto /usr/share/wine/mono - doins "${DISTDIR}"/wine-mono-${MV}.msi - fi - if ! use perl ; then # winedump calls function_grep.pl, and winemaker is a perl script - rm "${D}"usr/bin/{wine{dump,maker},function_grep.pl} "${D}"usr/share/man/man1/wine{dump,maker}.1 || die - fi - - # Remove wineconsole if neither backend is installed #551124 - if ! use X && ! use ncurses; then - rm "${D}"/usr/bin/wineconsole* || die - rm "${D}"/usr/share/man/man1/wineconsole* || die - rm_wineconsole() { - rm "${D}usr/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die - } - multilib_foreach_abi rm_wineconsole - fi - - use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055 - use abi_x86_64 && pax-mark psmr "${D}"usr/bin/wine64{,-preloader} - - if use abi_x86_64 && ! use abi_x86_32; then - dosym /usr/bin/wine{64,} # 404331 - dosym /usr/bin/wine{64,}-preloader - fi - - # respect LINGUAS when installing man pages, #469418 - for l in de fr pl; do - use linguas_${l} || rm -r "${D}"usr/share/man/${l}* - done -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - gnome2_icon_cache_update - fdo-mime_desktop_database_update - - if ! use gecko; then - ewarn "Without Wine Gecko, wine prefixes will not have a default" - ewarn "implementation of iexplore. Many older windows applications" - ewarn "rely upon the existence of an iexplore implementation, so" - ewarn "you will likely need to install an external one, like via winetricks" - fi - if ! use mono; then - ewarn "Without Wine Mono, wine prefixes will not have a default" - ewarn "implementation of .NET. Many windows applications rely upon" - ewarn "the existence of a .NET implementation, so you will likely need" - ewarn "to install an external one, like via winetricks" - fi -} - -pkg_postrm() { - gnome2_icon_cache_update - fdo-mime_desktop_database_update -} diff --git a/app-emulation/wine/wine-2.17-r1710.ebuild b/app-emulation/wine/wine-2.17-r1710.ebuild new file mode 100644 index 00000000..c25c9cc3 --- /dev/null +++ b/app-emulation/wine/wine-2.17-r1710.ebuild @@ -0,0 +1,581 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PLOCALES="ar bg ca cs da de el en en_US eo es fa fi fr he hi hr hu it ja ko lt ml nb_NO nl or pa pl pt_BR pt_PT rm ro ru sk sl sr_RS@cyrillic sr_RS@latin sv te th tr uk wa zh_CN zh_TW" +PLOCALE_BACKUP="en" + +inherit autotools eutils fdo-mime flag-o-matic gnome2-utils l10n multilib multilib-minimal pax-utils toolchain-funcs virtualx versionator + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://source.winehq.org/git/wine.git http://source.winehq.org/git/wine.git" + EGIT_BRANCH="master" + inherit git-r3 + SRC_URI="" + #KEYWORDS="" +else + MAJOR_V=$(get_version_component_range 1) + SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}.x/${P}.tar.xz" + KEYWORDS="-* amd64 x86 x86-fbsd" +fi + +VANILLA_GV="2.47" +VANILLA_MV="4.7.1" +STAGING_GV="2.47" +STAGING_MV="4.7.1" +[[ ${MAJOR_V} == "1.8" ]] && SUFFIX="-unofficial" +STAGING_P="wine-staging-${PV}" +STAGING_DIR="${WORKDIR}/${STAGING_P}${SUFFIX}" +D3D9_P="wine-d3d9-${PV}" +D3D9_DIR="${WORKDIR}/wine-d3d9-patches-${D3D9_P}" +WINE_GENTOO="wine-gentoo-2015.03.07" +DESCRIPTION="Free implementation of Windows(tm) on Unix" +HOMEPAGE="https://www.winehq.org/" +SRC_URI="${SRC_URI} + !staging? ( + gecko? ( + abi_x86_32? ( https://dl.winehq.org/wine/wine-gecko/${VANILLA_GV}/wine_gecko-${VANILLA_GV}-x86.msi ) + abi_x86_64? ( https://dl.winehq.org/wine/wine-gecko/${VANILLA_GV}/wine_gecko-${VANILLA_GV}-x86_64.msi ) + ) + mono? ( https://dl.winehq.org/wine/wine-mono/${VANILLA_MV}/wine-mono-${VANILLA_MV}.msi ) + ) + staging? ( + gecko? ( + abi_x86_32? ( https://dl.winehq.org/wine/wine-gecko/${STAGING_GV}/wine_gecko-${STAGING_GV}-x86.msi ) + abi_x86_64? ( https://dl.winehq.org/wine/wine-gecko/${STAGING_GV}/wine_gecko-${STAGING_GV}-x86_64.msi ) + ) + mono? ( https://dl.winehq.org/wine/wine-mono/${STAGING_MV}/wine-mono-${STAGING_MV}.msi ) + ) + https://dev.gentoo.org/~tetromino/distfiles/${PN}/${WINE_GENTOO}.tar.bz2" + +if [[ ${PV} == "9999" ]] ; then + STAGING_EGIT_REPO_URI="https://github.com/wine-compholio/wine-staging.git" + D3D9_EGIT_REPO_URI="https://github.com/sarnex/wine-d3d9-patches.git" +else + SRC_URI="${SRC_URI} + staging? ( https://github.com/wine-compholio/wine-staging/archive/v${PV}${SUFFIX}.tar.gz -> ${STAGING_P}.tar.gz ) + d3d9? ( https://github.com/sarnex/wine-d3d9-patches/archive/${D3D9_P}.tar.gz )" +fi + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="+abi_x86_32 +abi_x86_64 +alsa capi cups custom-cflags d3d9 dos elibc_glibc +fontconfig +gecko gphoto2 gsm gstreamer +jpeg kernel_FreeBSD +lcms ldap +mono mp3 ncurses netapi nls odbc openal opencl +opengl osmesa oss +perl pcap pipelight +png prelink pulseaudio +realtime +run-exes s3tc samba scanner selinux +ssl staging test themes +threads +truetype udev +udisks v4l vaapi +X +xcomposite xinerama +xml" +REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 ) + X? ( truetype ) + elibc_glibc? ( threads ) + osmesa? ( opengl ) + pipelight? ( staging ) + s3tc? ( staging ) + test? ( abi_x86_32 ) + themes? ( staging ) + vaapi? ( staging )" # osmesa-opengl #286560 # X-truetype #551124 + +# FIXME: the test suite is unsuitable for us; many tests require net access +# or fail due to Xvfb's opengl limitations. +RESTRICT="test" + +COMMON_DEPEND=" + X? ( + x11-libs/libXcursor[${MULTILIB_USEDEP}] + x11-libs/libXext[${MULTILIB_USEDEP}] + x11-libs/libXrandr[${MULTILIB_USEDEP}] + x11-libs/libXi[${MULTILIB_USEDEP}] + x11-libs/libXxf86vm[${MULTILIB_USEDEP}] + ) + alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] ) + capi? ( net-libs/libcapi[${MULTILIB_USEDEP}] ) + cups? ( net-print/cups:=[${MULTILIB_USEDEP}] ) + d3d9? ( + media-libs/mesa[d3d9,egl,${MULTILIB_USEDEP}] + x11-libs/libX11[${MULTILIB_USEDEP}] + x11-libs/libXext[${MULTILIB_USEDEP}] + x11-libs/libxcb[${MULTILIB_USEDEP}] + ) + fontconfig? ( media-libs/fontconfig:=[${MULTILIB_USEDEP}] ) + gphoto2? ( media-libs/libgphoto2:=[${MULTILIB_USEDEP}] ) + gsm? ( media-sound/gsm:=[${MULTILIB_USEDEP}] ) + gstreamer? ( + media-libs/gstreamer:1.0[${MULTILIB_USEDEP}] + media-plugins/gst-plugins-meta:1.0[${MULTILIB_USEDEP}] + ) + jpeg? ( virtual/jpeg:0=[${MULTILIB_USEDEP}] ) + lcms? ( media-libs/lcms:2=[${MULTILIB_USEDEP}] ) + ldap? ( net-nds/openldap:=[${MULTILIB_USEDEP}] ) + mp3? ( >=media-sound/mpg123-1.5.0[${MULTILIB_USEDEP}] ) + ncurses? ( >=sys-libs/ncurses-5.2:0=[${MULTILIB_USEDEP}] ) + netapi? ( net-fs/samba[netapi(+),${MULTILIB_USEDEP}] ) + nls? ( sys-devel/gettext[${MULTILIB_USEDEP}] ) + odbc? ( dev-db/unixODBC:=[${MULTILIB_USEDEP}] ) + openal? ( media-libs/openal:=[${MULTILIB_USEDEP}] ) + opencl? ( virtual/opencl[${MULTILIB_USEDEP}] ) + opengl? ( + virtual/glu[${MULTILIB_USEDEP}] + virtual/opengl[${MULTILIB_USEDEP}] + ) + osmesa? ( media-libs/mesa[osmesa,${MULTILIB_USEDEP}] ) + pcap? ( net-libs/libpcap[${MULTILIB_USEDEP}] ) + png? ( media-libs/libpng:0=[${MULTILIB_USEDEP}] ) + pulseaudio? ( media-sound/pulseaudio[${MULTILIB_USEDEP}] ) + scanner? ( media-gfx/sane-backends:=[${MULTILIB_USEDEP}] ) + ssl? ( net-libs/gnutls:=[${MULTILIB_USEDEP}] ) + staging? ( sys-apps/attr[${MULTILIB_USEDEP}] ) + themes? ( + dev-libs/glib:2[${MULTILIB_USEDEP}] + x11-libs/cairo[${MULTILIB_USEDEP}] + x11-libs/gtk+:3[${MULTILIB_USEDEP}] + ) + truetype? ( >=media-libs/freetype-2.0.0[${MULTILIB_USEDEP}] ) + udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] ) + udisks? ( sys-apps/dbus[${MULTILIB_USEDEP}] ) + v4l? ( media-libs/libv4l[${MULTILIB_USEDEP}] ) + vaapi? ( x11-libs/libva[X,${MULTILIB_USEDEP}] ) + xcomposite? ( x11-libs/libXcomposite[${MULTILIB_USEDEP}] ) + xinerama? ( x11-libs/libXinerama[${MULTILIB_USEDEP}] ) + xml? ( + dev-libs/libxml2[${MULTILIB_USEDEP}] + dev-libs/libxslt[${MULTILIB_USEDEP}] + ) + abi_x86_32? ( + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] + !/dev/null 2>&1 + if ! eend $?; then + eerror "64-bit wine cannot be built with gcc-5.1 or initial patchset of 5.2.0" + eerror "due to compiler bugs; please re-emerge the latest gcc-5.2.x ebuild," + eerror "or use gcc-config to select a different compiler version." + eerror "See https://bugs.gentoo.org/549768" + eerror + return 1 + fi + fi + # bug #574044 + if use abi_x86_64 && [[ $(gcc-major-version) = 5 && $(gcc-minor-version) = 3 ]]; then + ebegin "Checking for gcc-5-3 stack realignment compiler bug" + # Compile in subshell to prevent "Aborted" message + ( $(tc-getCC) -O2 -mincoming-stack-boundary=3 "${FILESDIR}"/pr69140.c -o "${T}"/pr69140 ) >/dev/null 2>&1 + if ! eend $?; then + eerror "Wine cannot be built with this version of gcc-5.3" + eerror "due to compiler bugs; please re-emerge the latest gcc-5.3.x ebuild," + eerror "or use gcc-config to select a different compiler version." + eerror "See https://bugs.gentoo.org/574044" + eerror + return 1 + fi + fi + fi + + # Ensure compiler support + if use abi_x86_64; then + ebegin "Checking for 64-bit compiler with builtin_ms_va_list support" + # Compile in subshell to prevent "Aborted" message + ( $(tc-getCC) -O2 "${FILESDIR}"/builtin_ms_va_list.c -o "${T}"/builtin_ms_va_list >/dev/null 2>&1) + if ! eend $?; then + eerror "This version of $(tc-getCC) does not support builtin_ms_va_list, can't enable 64-bit wine" + eerror + eerror "You need gcc-4.4+ or clang 3.8+ to build 64-bit wine" + eerror + return 1 + fi + fi +} + +wine_build_environment_check() { + [[ ${MERGE_TYPE} = "binary" ]] && return 0 + + if use abi_x86_64; then + if tc-is-gcc && [[ $(gcc-major-version) -lt 4 || ( $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 4 ) ]]; then + eerror "You need gcc-4.4+ to compile 64-bit wine" + die + elif tc-is-clang && [[ $(clang-major-version) -lt 3 || ( $(clang-major-version) -eq 3 && $(clang-minor-version) -lt 8 ) ]]; then + eerror "You need clang-3.8+ to compile 64-bit wine" + die + fi + fi + if tc-is-gcc && [[ $(gcc-major-version) -eq 5 && $(gcc-minor-version) -le 3 ]]; then + ewarn "GCC-5.0-5.3 suffered from compiler bugs and are no longer supported by" + ewarn "Gentoo's Toolchain Team. If your ebuild fails the compiler checks in" + ewarn "the configure phase, either update your compiler or switch to <5.0 || >=5.4" + fi + if tc-is-gcc && [[ $(gcc-major-version) -eq 5 && $(gcc-minor-version) -eq 4 ]]; then + if has "-march=i686" ${CFLAGS} && ! has "-mtune=generic" ${CFLAGS}; then + ewarn "Compilation can hang with CFLAGS=\"-march=i686\". You can temporarily work" + ewarn "around this by adding \"-mtune=generic\" to your CFLAGS for wine." + ewarn "See package.env in man 5 portage for more information on how to do this." + ewarn "See https://bugs.gentoo.org/show_bug.cgi?id=613128 for more details" + fi + fi + + if use abi_x86_32 && use opencl && [[ "$(eselect opencl show 2> /dev/null)" == "intel" ]]; then + eerror "You cannot build wine with USE=opencl because intel-ocl-sdk is 64-bit only." + eerror "See https://bugs.gentoo.org/487864 for more details." + eerror + return 1 + fi +} + +wine_env_vcs_vars() { + local pn_live_var="${PN//[-+]/_}_LIVE_COMMIT" + local pn_live_val="${pn_live_var}" + eval pn_live_val='$'${pn_live_val} + if [[ ! -z ${pn_live_val} ]]; then + if use staging || use d3d9; then + eerror "Because of the multi-repo nature of ${PN}, ${pn_live_var}" + eerror "cannot be used to set the commit. Instead, you may use the" + eerror "environmental variables WINE_COMMIT, STAGING_COMMIT, and D3D9_COMMIT." + eerror + return 1 + fi + fi + if [[ ! -z ${EGIT_COMMIT} ]]; then + eerror "Commits must now be specified using the environmental variables" + eerror "WINE_COMMIT, STAGING_COMMIT, and D3D9_COMMIT" + eerror + return 1 + fi +} + +pkg_pretend() { + wine_build_environment_check || die + + # Verify OSS support + if use oss && ! use kernel_FreeBSD; then + if ! has_version ">=media-sound/oss-4"; then + eerror "You cannot build wine with USE=oss without having support from a" + eerror "FreeBSD kernel or >=media-sound/oss-4 (only available through external repos)" + eerror + die + fi + fi +} + +pkg_setup() { + wine_build_environment_check || die + wine_env_vcs_vars || die + if ! use staging; then + GV=${VANILLA_GV} + MV=${VANILLA_MV} + else + GV=${STAGING_GV} + MV=${STAGING_MV} + fi +} + +src_unpack() { + if [[ ${PV} == "9999" ]] ; then + EGIT_COMMIT="${WINE_COMMIT}" git-r3_src_unpack + if use staging; then + local CURRENT_WINE_COMMIT=${EGIT_VERSION} + + git-r3_fetch "${STAGING_EGIT_REPO_URI}" "${STAGING_COMMIT}" + git-r3_checkout "${STAGING_EGIT_REPO_URI}" "${STAGING_DIR}" + + local COMPAT_WINE_COMMIT=$("${STAGING_DIR}/patches/patchinstall.sh" --upstream-commit) || die + + if [[ "${CURRENT_WINE_COMMIT}" != "${COMPAT_WINE_COMMIT}" ]]; then + einfo "The current Staging patchset is not guaranteed to apply on this WINE commit." + einfo "If src_prepare fails, try emerging with the env var WINE_COMMIT." + einfo "Example: WINE_COMMIT=${COMPAT_WINE_COMMIT} emerge -1 wine" + fi + fi + if use d3d9; then + git-r3_fetch "${D3D9_EGIT_REPO_URI}" "${D3D9_COMMIT}" + git-r3_checkout "${D3D9_EGIT_REPO_URI}" "${D3D9_DIR}" + fi + fi + + default + + l10n_find_plocales_changes "${S}/po" "" ".po" +} + +src_prepare() { + local md5="$(md5sum server/protocol.def)" + local PATCHES=( + "${FILESDIR}"/${PN}-1.5.26-winegcc.patch #260726 + "${FILESDIR}"/${PN}-1.9.5-multilib-portage.patch #395615 + "${FILESDIR}"/${PN}-1.6-memset-O3.patch #480508 + ) + if use staging; then + ewarn "Applying the Wine-Staging patchset. Any bug reports to the" + ewarn "Wine bugzilla should explicitly state that staging was used." + + local STAGING_EXCLUDE="" + STAGING_EXCLUDE="${STAGING_EXCLUDE} -W winhlp32-Flex_Workaround" # Avoid double patching https://bugs.winehq.org/show_bug.cgi?id=42132 + use pipelight || STAGING_EXCLUDE="${STAGING_EXCLUDE} -W Pipelight" + + # Launch wine-staging patcher in a subshell, using eapply as a backend, and gitapply.sh as a backend for binary patches + ebegin "Running Wine-Staging patch installer" + ( + set -- DESTDIR="${S}" --backend=eapply --no-autoconf --all ${STAGING_EXCLUDE} + cd "${STAGING_DIR}/patches" + source "${STAGING_DIR}/patches/patchinstall.sh" + ) + eend $? || die "Failed to apply Wine-Staging patches" + + # To differentiate unofficial staging releases + if [[ ! -z ${SUFFIX} ]]; then + sed -i "s/(Staging)/(Staging [Unofficial])/" libs/wine/Makefile.in || die + fi + fi + if use d3d9; then + if use staging; then + PATCHES+=( "${D3D9_DIR}/staging-helper.patch" ) + else + PATCHES+=( "${D3D9_DIR}/d3d9-helper.patch" ) + fi + PATCHES+=( "${D3D9_DIR}/wine-d3d9.patch" ) + fi + + default + eautoreconf + + # Modification of the server protocol requires regenerating the server requests + if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then + einfo "server/protocol.def was patched; running tools/make_requests" + tools/make_requests || die #432348 + fi + sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die + if ! use run-exes; then + sed -i '/^MimeType/d' loader/wine.desktop || die #117785 + fi + + # hi-res default icon, #472990, https://bugs.winehq.org/show_bug.cgi?id=24652 + cp "${WORKDIR}"/${WINE_GENTOO}/icons/oic_winlogo.ico dlls/user32/resources/ || die + + l10n_get_locales > po/LINGUAS || die # otherwise wine doesn't respect LINGUAS +} + +src_configure() { + wine_compiler_check || die + + export LDCONFIG=/bin/true + use custom-cflags || strip-flags + + multilib-minimal_src_configure +} + +multilib_src_configure() { + local myconf=( + --sysconfdir=/etc/wine + $(use_with alsa) + $(use_with capi) + $(use_with lcms cms) + $(use_with cups) + $(use_with ncurses curses) + $(use_with udisks dbus) + $(use_with fontconfig) + $(use_with ssl gnutls) + $(use_enable gecko mshtml) + $(use_with gphoto2 gphoto) + $(use_with gsm) + $(use_with gstreamer) + --without-hal + $(use_with jpeg) + $(use_with ldap) + $(use_enable mono mscoree) + $(use_with mp3 mpg123) + $(use_with netapi) + $(use_with nls gettext) + $(use_with openal) + $(use_with opencl) + $(use_with opengl) + $(use_with osmesa) + $(use_with oss) + $(use_with pcap) + $(use_with png) + $(use_with pulseaudio pulse) + $(use_with threads pthread) + $(use_with scanner sane) + $(use_enable test tests) + $(use_with truetype freetype) + $(use_with udev) + $(use_with v4l) + $(use_with X x) + $(use_with xcomposite) + $(use_with xinerama) + $(use_with xml) + $(use_with xml xslt) + ) + + use staging && myconf+=( + --with-xattr + $(use_with themes gtk3) + $(use_with vaapi va) + ) + use d3d9 && myconf+=( $(use_with d3d9 d3d9-nine) ) + + local PKG_CONFIG AR RANLIB + # Avoid crossdev's i686-pc-linux-gnu-pkg-config if building wine32 on amd64; #472038 + # set AR and RANLIB to make QA scripts happy; #483342 + tc-export PKG_CONFIG AR RANLIB + + if use amd64; then + if [[ ${ABI} == amd64 ]]; then + myconf+=( --enable-win64 ) + else + myconf+=( --disable-win64 ) + fi + + # Note: using --with-wine64 results in problems with multilib.eclass + # CC/LD hackery. We're using separate tools instead. + fi + + ECONF_SOURCE=${S} \ + econf "${myconf[@]}" + emake depend +} + +multilib_src_test() { + # FIXME: win32-only; wine64 tests fail with "could not find the Wine loader" + if [[ ${ABI} == x86 ]]; then + if [[ $(id -u) == 0 ]]; then + ewarn "Skipping tests since they cannot be run under the root user." + ewarn "To run the test ${PN} suite, add userpriv to FEATURES in make.conf" + return + fi + + WINEPREFIX="${T}/.wine-${ABI}" \ + Xemake test + fi +} + +multilib_src_install_all() { + local DOCS=( ANNOUNCE AUTHORS README ) + local l + add_locale_docs() { + local locale_doc="documentation/README.$1" + [[ ! -e ${locale_doc} ]] || DOCS+=( ${locale_doc} ) + } + l10n_for_each_locale_do add_locale_docs + + einstalldocs + prune_libtool_files --all + + emake -C "../${WINE_GENTOO}" install DESTDIR="${D}" EPREFIX="${EPREFIX}" + if use gecko ; then + insinto /usr/share/wine/gecko + use abi_x86_32 && doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi + use abi_x86_64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi + fi + if use mono ; then + insinto /usr/share/wine/mono + doins "${DISTDIR}"/wine-mono-${MV}.msi + fi + if ! use perl ; then # winedump calls function_grep.pl, and winemaker is a perl script + rm "${D}"usr/bin/{wine{dump,maker},function_grep.pl} "${D}"usr/share/man/man1/wine{dump,maker}.1 || die + fi + + # Remove wineconsole if neither backend is installed #551124 + if ! use X && ! use ncurses; then + rm "${D}"/usr/bin/wineconsole* || die + rm "${D}"/usr/share/man/man1/wineconsole* || die + rm_wineconsole() { + rm "${D}usr/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die + } + multilib_foreach_abi rm_wineconsole + fi + + use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055 + use abi_x86_64 && pax-mark psmr "${D}"usr/bin/wine64{,-preloader} + + if use abi_x86_64 && ! use abi_x86_32; then + dosym /usr/bin/wine{64,} # 404331 + dosym /usr/bin/wine{64,}-preloader + fi + + # respect LINGUAS when installing man pages, #469418 + for l in de fr pl; do + use linguas_${l} || rm -r "${D}"usr/share/man/${l}* + done +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update + fdo-mime_desktop_database_update + + if ! use gecko; then + ewarn "Without Wine Gecko, wine prefixes will not have a default" + ewarn "implementation of iexplore. Many older windows applications" + ewarn "rely upon the existence of an iexplore implementation, so" + ewarn "you will likely need to install an external one, like via winetricks" + fi + if ! use mono; then + ewarn "Without Wine Mono, wine prefixes will not have a default" + ewarn "implementation of .NET. Many windows applications rely upon" + ewarn "the existence of a .NET implementation, so you will likely need" + ewarn "to install an external one, like via winetricks" + fi +} + +pkg_postrm() { + gnome2_icon_cache_update + fdo-mime_desktop_database_update +} diff --git a/app-misc/calamares-config-redcore/calamares-config-redcore-1708-r4.ebuild b/app-misc/calamares-config-redcore/calamares-config-redcore-1708-r4.ebuild deleted file mode 100644 index 9f6639d2..00000000 --- a/app-misc/calamares-config-redcore/calamares-config-redcore-1708-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-1710.ebuild b/app-misc/calamares-config-redcore/calamares-config-redcore-1710.ebuild new file mode 100644 index 00000000..9f6639d2 --- /dev/null +++ b/app-misc/calamares-config-redcore/calamares-config-redcore-1710.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 f3917c6e..0e1ff67c 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.40-redcore-lts" -img: "/boot/initramfs-genkernel-x86_64-4.9.40-redcore-lts" +kernel: "/boot/kernel-genkernel-x86_64-4.9.53-redcore-lts" +img: "/boot/initramfs-genkernel-x86_64-4.9.53-redcore-lts" 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-1708.ebuild b/app-misc/calamares-runtime/calamares-runtime-1708.ebuild deleted file mode 100644 index 15bb23da..00000000 --- a/app-misc/calamares-runtime/calamares-runtime-1708.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-1710.ebuild b/app-misc/calamares-runtime/calamares-runtime-1710.ebuild new file mode 100644 index 00000000..15bb23da --- /dev/null +++ b/app-misc/calamares-runtime/calamares-runtime-1710.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-1708-r1.ebuild b/app-misc/redcore-live/redcore-live-1708-r1.ebuild deleted file mode 100644 index 0ed5f33f..00000000 --- a/app-misc/redcore-live/redcore-live-1708-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-1710.ebuild b/app-misc/redcore-live/redcore-live-1710.ebuild new file mode 100644 index 00000000..dccd24b4 --- /dev/null +++ b/app-misc/redcore-live/redcore-live-1710.ebuild @@ -0,0 +1,23 @@ +# 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 +} diff --git a/app-misc/redcore-skel/redcore-skel-1708-r1.ebuild b/app-misc/redcore-skel/redcore-skel-1708-r1.ebuild deleted file mode 100644 index 8e43bbbf..00000000 --- a/app-misc/redcore-skel/redcore-skel-1708-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-1710.ebuild b/app-misc/redcore-skel/redcore-skel-1710.ebuild new file mode 100644 index 00000000..8e43bbbf --- /dev/null +++ b/app-misc/redcore-skel/redcore-skel-1710.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-misc/screenfetch/Manifest b/app-misc/screenfetch/Manifest deleted file mode 100644 index 810de609..00000000 --- a/app-misc/screenfetch/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST screenfetch-3.6.5.tar.gz 54153 SHA256 b6605a94be9720a5e64778dcc43ddf23e435d6704c5d177b671aa57d34966f20 SHA512 291ec0d313deebe7931b739578b69f590ae32cb7a59c5ae6975b25240d9c5bd92b8957d6a53baf78aa95737642eadd37e081fae5b5ca5120da5a9d76bb980c59 WHIRLPOOL 33b8be75c98e09adde332792b10ff1aa808d6ed5d170aaeb9ee8eaa25925119b82a49902d39d810ae908fc65a864d5b7b6cbe9ce956054b08a8eda96e3ac4ab3 diff --git a/app-misc/screenfetch/files/kogaion.patch b/app-misc/screenfetch/files/kogaion.patch deleted file mode 100644 index 00a92e2f..00000000 --- a/app-misc/screenfetch/files/kogaion.patch +++ /dev/null @@ -1,92 +0,0 @@ ---- screenfetch-dev~ 2015-05-21 10:38:27.187030904 +0200 -+++ screenfetch-dev 2015-05-21 10:39:50.374805454 +0200 -@@ -435,8 +435,8 @@ - distro_codename=null - elif [[ "${distro_detect}" == "CentOS" || "${distro_detect}" =~ "RedHatEnterprise" ]]; then - distro="Red Hat Enterprise Linux" -- elif [[ "${distro_detect}" == "Kogaion" ]]; then -- distro="Kogaion" -+ elif [[ "${distro_detect}" == "kogaion" ]]; then -+ distro="kogaion" - elif [[ "${distro_detect}" == "SolusOS" ]]; then - distro="SolusOS" - elif [[ "${distro_detect}" == "Trisquel" ]]; then -@@ -540,7 +540,7 @@ - elif [ -f /etc/redhat-release ] && grep -q "CentOS" /etc/redhat-release; then distro="CentOS" - elif [ -f /etc/slackware-version ]; then distro="Slackware" - elif [ -f /usr/share/doc/tc/release.txt ]; then distro="TinyCore" -- elif [ -f /etc/kogaion-edition ]; then distro="Kogaion"; fi -+ elif [ -f /etc/kogaion-edition ]; then distro="kogaion"; fi - else - if [[ -x /usr/bin/sw_vers ]] && /usr/bin/sw_vers | grep -i "Mac OS X" >/dev/null; then - distro="Mac OS X" -@@ -725,13 +725,13 @@ - - # Package Count - Begin - detectpkgs () { -- pkgs="Unknown" -+ pkgs="" - case "${distro}" in - 'Arch Linux'|'Parabola GNU/Linux-libre'|'Chakra'|'Manjaro'|'Antergos'|'KaOS') pkgs=$(pacman -Qq | wc -l) ;; - 'Frugalware') pkgs=$(pacman-g2 -Q | wc -l) ;; - 'Fuduntu'|'Ubuntu'|'Mint'|'SolusOS'|'Debian'|'Raspbian'|'LMDE'|'CrunchBang'|'Peppermint'|'LinuxDeepin'|'Deepin'|'Kali Linux'|'Trisquel'|'elementary OS') pkgs=$(dpkg --get-selections | wc -l) ;; - 'Slackware') pkgs=$(ls -1 /var/log/packages | wc -l) ;; -- 'Gentoo'|'Kogaion'|'Funtoo') pkgs=$(ls -d /var/db/pkg/*/* | wc -l) ;; -+ 'Gentoo'|'Funtoo'|'kogaion') pkgs=$(ls -d /var/db/pkg/*/* | wc -l) ;; - 'Fedora'|'Korora'|'openSUSE'|'Red Hat Enterprise Linux'|'CentOS'|'Mandriva'|'Mandrake'|'Mageia'|'Viperr') pkgs=$(rpm -qa | wc -l) ;; - 'Void') pkgs=$(xbps-query -l|wc -l);; - 'Evolve OS') pkgs=$(pisi list-installed | wc -l);; -@@ -3077,28 +3077,29 @@ - "${c1} .") - ;; - -- "Kogaion") -+ "kogaion") - if [[ "$no_color" != "1" ]]; then - c1=$(getColor 'white') # White -- c2=$(getColor 'light blue') # Blue -+ c2=$(getColor 'light grey') # Red - fi - if [ -n "${my_lcolor}" ]; then c1="${my_lcolor}"; fi - startline="0" -- fulloutput=("${c2} ........... %s" -+ fulloutput=( -+"${c2} ........... %s" - "${c2} .. .. %s" - "${c2} .. .. %s" --"${c2} .. ${c1}o ${c2}.. %s" --"${c2} .. ${c1}:W' ${c2}.. %s" --"${c2} .. ${c1}.d. ${c2}.. %s" --"${c2}:. ${c1}.KNO ${c2}.: %s" --"${c2}:. ${c1}cNNN. ${c2}.: %s" --"${c2}: ${c1}dXXX, ${c2}: %s" --"${c2}: ${c1}. dXXX, .cd, ${c2}: %s" --"${c2}: ${c1}'kc .. dKKK. ,ll;:' ${c2}: %s" --"${c2}: ${c1}.xkkxc;..dkkkc',cxkkl ${c2}: %s" --"${c2}:. ${c1}.,cdddddddddddddo:. ${c2}.: %s" --"${c2} .. ${c1}:lllllll: ${c2}.. %s" --"${c2} .. ${c1}',,,,, ${c2}.. %s" -+"${c2} .. ${c1}: ${c2}.. %s" -+"${c2} .. ${c1}.:. ${c2}.. %s" -+"${c2} .. ${c1}.:. ${c2}.. %s" -+"${c2}:. ${c1}.:::. ${c2}.: %s" -+"${c2}:. ${c1}.:::. ${c2}.: %s" -+"${c2}: ${c1}.:::. : ${c2}: %s" -+"${c2}: ${c1}: .:::. ... ${c2}: %s" -+"${c2}: ${c1}.... .:::. ...... ${c2}: %s" -+"${c2}: ${c1}..................... ${c2}: %s" -+"${c2}:. ${c1}................... ${c2}.: %s" -+"${c2} .. ${c1}.......... ${c2}.. %s" -+"${c2} .. ${c1}...... ${c2}.. %s" - "${c2} .. .. %s" - "${c2} .. .. %s" - "${c2} ............... %s") -@@ -3365,7 +3366,7 @@ - myascii="${distro}" - [[ "${asc_distro}" ]] && myascii="${asc_distro}" - case ${myascii} in -- "Arch Linux - Old"|"Fedora"|"Korora"|"Mandriva"|"Mandrake"|"Chakra"|"Kogaion"|"Slackware"|"Mac OS X"|"Trisquel"|"Kali Linux"|"Jiyuu Linux"|"Antergos"|"KaOS") labelcolor=$(getColor 'light blue');; -+ "Arch Linux - Old"|"Fedora"|"Korora"|"Mandriva"|"Mandrake"|"Chakra"|"kogaion"|"Slackware"|"Mac OS X"|"Trisquel"|"Kali Linux"|"Jiyuu Linux"|"Antergos"|"KaOS") labelcolor=$(getColor 'light blue');; - "Arch Linux"|"Frugalware"|"Mageia"|"Deepin") labelcolor=$(getColor 'light cyan');; - "Mint"|"LMDE"|"openSUSE"|"LinuxDeepin"|"DragonflyBSD"|"Manjaro"|"Manjaro-tree"|"Android"|"Void") labelcolor=$(getColor 'light green');; - "Ubuntu-3color"|"FreeBSD"|"FreeBSD - Old"|"Debian"|"Raspbian"|"BSD"|"Red Hat Enterprise Linux"|"Peppermint"|"Cygwin"|"Fuduntu"|"NetBSD"|"Scientific Linux"|"DragonFlyBSD"|"BackTrack Linux") labelcolor=$(getColor 'light red');; diff --git a/app-misc/screenfetch/metadata.xml b/app-misc/screenfetch/metadata.xml deleted file mode 100644 index fb77a4a3..00000000 --- a/app-misc/screenfetch/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - -hwoarang@gentoo.org -Markos Chandras - - -Use the media-gfx/scrot package to take screenshots - - - diff --git a/app-misc/screenfetch/screenfetch-3.6.5-r1.ebuild b/app-misc/screenfetch/screenfetch-3.6.5-r1.ebuild deleted file mode 100644 index 50c63885..00000000 --- a/app-misc/screenfetch/screenfetch-3.6.5-r1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/screenfetch/screenfetch-3.6.5.ebuild,v 1.1 2015/02/01 12:58:08 hwoarang Exp $ - -EAPI=5 -inherit eutils -MY_PN="${PN/f/F}" -DESCRIPTION="A Bash Screenshot Information Tool" -HOMEPAGE="https://github.com/KittyKatt/screenFetch" -if [[ ${PV} == *9999* ]]; then - inherit git-2 - EGIT_REPO_URI="https://github.com/KittyKatt/screenFetch" - KEYWORDS="" -else - SRC_URI="https://github.com/KittyKatt/${MY_PN}/archive/v${PV}.tar.gz -> \ - ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" - S="${WORKDIR}/${MY_PN}-${PV}" -fi - -LICENSE="GPL-3" -SLOT="0" -IUSE="X" - -DEPEND="" -RDEPEND="X? ( media-gfx/scrot x11-apps/xdpyinfo )" - -src_prepare(){ - epatch ${FILESDIR}/kogaion.patch -} - -src_install() { - newbin ${PN}-dev ${PN} - dodoc CHANGELOG README.mkdn TODO -} diff --git a/app-misc/screenfetch/screenfetch-9999.ebuild b/app-misc/screenfetch/screenfetch-9999.ebuild deleted file mode 100644 index cf044dbf..00000000 --- a/app-misc/screenfetch/screenfetch-9999.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/screenfetch/screenfetch-9999.ebuild,v 1.4 2014/07/14 16:43:15 hwoarang Exp $ - -EAPI=4 - -MY_PN="${PN/f/F}" -DESCRIPTION="A Bash Screenshot Information Tool" -HOMEPAGE="https://github.com/KittyKatt/screenFetch" -if [[ ${PV} == *9999* ]]; then - inherit git-2 - EGIT_REPO_URI="https://github.com/KittyKatt/screenFetch" - KEYWORDS="" -else - SRC_URI="https://github.com/KittyKatt/${MY_PN}/archive/v${PV}.tar.gz -> \ - ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" - S="${WORKDIR}/${MY_PN}-${PV}" -fi - -LICENSE="GPL-3" -SLOT="0" -IUSE="X" - -DEPEND="" -RDEPEND="X? ( media-gfx/scrot x11-apps/xdpyinfo )" - -src_install() { - newbin ${PN}-dev ${PN} - dodoc CHANGELOG README.mkdn TODO -} diff --git a/dev-python/wxpython/wxpython-3.0.2.0-r1708.ebuild b/dev-python/wxpython/wxpython-3.0.2.0-r1708.ebuild deleted file mode 100644 index a486c4b2..00000000 --- a/dev-python/wxpython/wxpython-3.0.2.0-r1708.ebuild +++ /dev/null @@ -1,159 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) -WX_GTK_VER="3.0" - -inherit alternatives distutils-r1 eutils fdo-mime flag-o-matic wxwidgets - -MY_PN="wxPython-src" - -DESCRIPTION="A blending of the wxWindows C++ class library with Python" -HOMEPAGE="http://www.wxpython.org/" -SRC_URI=" - mirror://sourceforge/wxpython/${MY_PN}-${PV}.tar.bz2 - examples? ( mirror://sourceforge/wxpython/wxPython-demo-${PV}.tar.bz2 )" - -LICENSE="wxWinLL-3" -SLOT="3.0" -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 ~sh sparc x86 ~x86-fbsd" -IUSE="cairo examples libnotify opengl" - -RDEPEND=" - dev-lang/python-exec:2[${PYTHON_USEDEP}] - >=x11-libs/wxGTK-${PV}:${WX_GTK_VER}=[libnotify=,opengl?,tiff,X] - dev-libs/glib:2 - dev-python/setuptools[${PYTHON_USEDEP}] - media-libs/libpng:0= - media-libs/tiff:0 - virtual/jpeg - x11-libs/gtk+:2 - x11-libs/pango[X] - cairo? ( >=dev-python/pycairo-1.8.4[${PYTHON_USEDEP}] ) - opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )" - -DEPEND="${RDEPEND} - virtual/pkgconfig" - -S="${WORKDIR}/${MY_PN}-${PV}/wxPython" -DOC_S="${WORKDIR}/wxPython-${PV}" - -# The hacky build system seems to be broken with out-of-source builds, -# and installs 'wx' package globally. -DISTUTILS_IN_SOURCE_BUILD=1 - -python_prepare_all() { - sed -i "s:cflags.append('-O3'):pass:" config.py || die "sed failed" - - if use examples; then - cd "${DOC_S}" - epatch "${FILESDIR}"/${PN}-${SLOT}-wxversion-demo.patch - fi - - cd "${S}" - local PATCHES=( - "${FILESDIR}"/${PN}-3.0.0.0-wxversion-scripts.patch - # drop editra - we have it as a separate package now - "${FILESDIR}"/${PN}-2.8.11-drop-editra.patch - "${FILESDIR}"/${PN}-2.8-no-preservatives-added.patch - # fix handling egg_info command - "${FILESDIR}"/${PN}-2.8.12.1-disable-egging-mode.patch - ) - - distutils-r1_python_prepare_all -} - -src_configure() { - need-wxwidgets unicode - - mydistutilsargs=( - WX_CONFIG="${WX_CONFIG}" - WXPORT=gtk2 - UNICODE=1 - BUILD_GLCANVAS=$(usex opengl 1 0) - ) -} - -python_compile() { - # We need to have separate libdirs due to hackery, bug #455332. - distutils-r1_python_compile \ - build --build-purelib "${BUILD_DIR}"/lib.common -} - -python_install() { - distutils-r1_python_install \ - build --build-purelib "${BUILD_DIR}"/lib.common - - # adjust the filenames for wxPython slots. - local file - for file in "${D}$(python_get_sitedir)"/wx{version.*,.pth}; do - mv "${file}" "${file}-${SLOT}" || die - done - cd "${ED}"usr/lib/python-exec/"${EPYTHON}" || die - for file in *; do - mv "${file}" "${file}-${SLOT}" || die - - # wrappers are common to all impls, so a parallel run may - # move it for us. ln+rm is more failure-proof. - ln -fs ../lib/python-exec/python-exec2 "${ED}usr/bin/${file}-${SLOT}" || die - rm -f "${ED}usr/bin/${file}" - done -} - -python_install_all() { - dodoc docs/{CHANGES,PyManual,README,wxPackage,wxPythonManual}.txt - - if use examples; then - docinto demo - dodoc -r "${DOC_S}"/demo/. - docinto samples - dodoc -r "${DOC_S}"/samples/. - - [[ -e ${docdir}/samples/embedded/embedded ]] \ - && rm -f "${docdir}"/samples/embedded/embedded - - docompress -x /usr/share/doc/${PF}/{demo,samples} - fi - distutils-r1_python_install_all -} - -pkg_postinst() { - fdo-mime_desktop_database_update - - create_symlinks() { - alternatives_auto_makesym "$(python_get_sitedir)/wx.pth" "$(python_get_sitedir)/wx.pth-[0-9].[0-9]" - alternatives_auto_makesym "$(python_get_sitedir)/wxversion.py" "$(python_get_sitedir)/wxversion.py-[0-9].[0-9]" - alternatives_auto_makesym "$(python_get_sitedir)/wxversion.pyc" "$(python_get_sitedir)/wxversion.pyc-[0-9].[0-9]" - alternatives_auto_makesym "$(python_get_sitedir)/wxversion.pyo" "$(python_get_sitedir)/wxversion.pyo-[0-9].[0-9]" - } - python_foreach_impl create_symlinks - - echo - elog "Gentoo uses the Multi-version method for SLOT'ing." - elog "Developers, see this site for instructions on using" - elog "it with your apps:" - elog "http://wiki.wxpython.org/MultiVersionInstalls" - if use examples; then - echo - elog "The demo.py app which contains demo modules with" - elog "documentation and source code has been installed at" - elog "/usr/share/doc/${PF}/demo/demo.py" - echo - elog "More example apps and modules can be found in" - elog "/usr/share/doc/${PF}/samples/" - fi -} - -pkg_postrm() { - fdo-mime_desktop_database_update - - update_symlinks() { - alternatives_auto_makesym "$(python_get_sitedir)/wx.pth" "$(python_get_sitedir)/wx.pth-[0-9].[0-9]" - alternatives_auto_makesym "$(python_get_sitedir)/wxversion.py" "$(python_get_sitedir)/wxversion.py-[0-9].[0-9]" - alternatives_auto_makesym "$(python_get_sitedir)/wxversion.pyc" "$(python_get_sitedir)/wxversion.pyc-[0-9].[0-9]" - alternatives_auto_makesym "$(python_get_sitedir)/wxversion.pyo" "$(python_get_sitedir)/wxversion.pyo-[0-9].[0-9]" - } - python_foreach_impl update_symlinks -} diff --git a/dev-python/wxpython/wxpython-3.0.2.0-r1710.ebuild b/dev-python/wxpython/wxpython-3.0.2.0-r1710.ebuild new file mode 100644 index 00000000..a486c4b2 --- /dev/null +++ b/dev-python/wxpython/wxpython-3.0.2.0-r1710.ebuild @@ -0,0 +1,159 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +WX_GTK_VER="3.0" + +inherit alternatives distutils-r1 eutils fdo-mime flag-o-matic wxwidgets + +MY_PN="wxPython-src" + +DESCRIPTION="A blending of the wxWindows C++ class library with Python" +HOMEPAGE="http://www.wxpython.org/" +SRC_URI=" + mirror://sourceforge/wxpython/${MY_PN}-${PV}.tar.bz2 + examples? ( mirror://sourceforge/wxpython/wxPython-demo-${PV}.tar.bz2 )" + +LICENSE="wxWinLL-3" +SLOT="3.0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 ~sh sparc x86 ~x86-fbsd" +IUSE="cairo examples libnotify opengl" + +RDEPEND=" + dev-lang/python-exec:2[${PYTHON_USEDEP}] + >=x11-libs/wxGTK-${PV}:${WX_GTK_VER}=[libnotify=,opengl?,tiff,X] + dev-libs/glib:2 + dev-python/setuptools[${PYTHON_USEDEP}] + media-libs/libpng:0= + media-libs/tiff:0 + virtual/jpeg + x11-libs/gtk+:2 + x11-libs/pango[X] + cairo? ( >=dev-python/pycairo-1.8.4[${PYTHON_USEDEP}] ) + opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )" + +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/${MY_PN}-${PV}/wxPython" +DOC_S="${WORKDIR}/wxPython-${PV}" + +# The hacky build system seems to be broken with out-of-source builds, +# and installs 'wx' package globally. +DISTUTILS_IN_SOURCE_BUILD=1 + +python_prepare_all() { + sed -i "s:cflags.append('-O3'):pass:" config.py || die "sed failed" + + if use examples; then + cd "${DOC_S}" + epatch "${FILESDIR}"/${PN}-${SLOT}-wxversion-demo.patch + fi + + cd "${S}" + local PATCHES=( + "${FILESDIR}"/${PN}-3.0.0.0-wxversion-scripts.patch + # drop editra - we have it as a separate package now + "${FILESDIR}"/${PN}-2.8.11-drop-editra.patch + "${FILESDIR}"/${PN}-2.8-no-preservatives-added.patch + # fix handling egg_info command + "${FILESDIR}"/${PN}-2.8.12.1-disable-egging-mode.patch + ) + + distutils-r1_python_prepare_all +} + +src_configure() { + need-wxwidgets unicode + + mydistutilsargs=( + WX_CONFIG="${WX_CONFIG}" + WXPORT=gtk2 + UNICODE=1 + BUILD_GLCANVAS=$(usex opengl 1 0) + ) +} + +python_compile() { + # We need to have separate libdirs due to hackery, bug #455332. + distutils-r1_python_compile \ + build --build-purelib "${BUILD_DIR}"/lib.common +} + +python_install() { + distutils-r1_python_install \ + build --build-purelib "${BUILD_DIR}"/lib.common + + # adjust the filenames for wxPython slots. + local file + for file in "${D}$(python_get_sitedir)"/wx{version.*,.pth}; do + mv "${file}" "${file}-${SLOT}" || die + done + cd "${ED}"usr/lib/python-exec/"${EPYTHON}" || die + for file in *; do + mv "${file}" "${file}-${SLOT}" || die + + # wrappers are common to all impls, so a parallel run may + # move it for us. ln+rm is more failure-proof. + ln -fs ../lib/python-exec/python-exec2 "${ED}usr/bin/${file}-${SLOT}" || die + rm -f "${ED}usr/bin/${file}" + done +} + +python_install_all() { + dodoc docs/{CHANGES,PyManual,README,wxPackage,wxPythonManual}.txt + + if use examples; then + docinto demo + dodoc -r "${DOC_S}"/demo/. + docinto samples + dodoc -r "${DOC_S}"/samples/. + + [[ -e ${docdir}/samples/embedded/embedded ]] \ + && rm -f "${docdir}"/samples/embedded/embedded + + docompress -x /usr/share/doc/${PF}/{demo,samples} + fi + distutils-r1_python_install_all +} + +pkg_postinst() { + fdo-mime_desktop_database_update + + create_symlinks() { + alternatives_auto_makesym "$(python_get_sitedir)/wx.pth" "$(python_get_sitedir)/wx.pth-[0-9].[0-9]" + alternatives_auto_makesym "$(python_get_sitedir)/wxversion.py" "$(python_get_sitedir)/wxversion.py-[0-9].[0-9]" + alternatives_auto_makesym "$(python_get_sitedir)/wxversion.pyc" "$(python_get_sitedir)/wxversion.pyc-[0-9].[0-9]" + alternatives_auto_makesym "$(python_get_sitedir)/wxversion.pyo" "$(python_get_sitedir)/wxversion.pyo-[0-9].[0-9]" + } + python_foreach_impl create_symlinks + + echo + elog "Gentoo uses the Multi-version method for SLOT'ing." + elog "Developers, see this site for instructions on using" + elog "it with your apps:" + elog "http://wiki.wxpython.org/MultiVersionInstalls" + if use examples; then + echo + elog "The demo.py app which contains demo modules with" + elog "documentation and source code has been installed at" + elog "/usr/share/doc/${PF}/demo/demo.py" + echo + elog "More example apps and modules can be found in" + elog "/usr/share/doc/${PF}/samples/" + fi +} + +pkg_postrm() { + fdo-mime_desktop_database_update + + update_symlinks() { + alternatives_auto_makesym "$(python_get_sitedir)/wx.pth" "$(python_get_sitedir)/wx.pth-[0-9].[0-9]" + alternatives_auto_makesym "$(python_get_sitedir)/wxversion.py" "$(python_get_sitedir)/wxversion.py-[0-9].[0-9]" + alternatives_auto_makesym "$(python_get_sitedir)/wxversion.pyc" "$(python_get_sitedir)/wxversion.pyc-[0-9].[0-9]" + alternatives_auto_makesym "$(python_get_sitedir)/wxversion.pyo" "$(python_get_sitedir)/wxversion.pyo-[0-9].[0-9]" + } + python_foreach_impl update_symlinks +} diff --git a/lxqt-base/lxqt-common/lxqt-common-0.11.0-r1710.ebuild b/lxqt-base/lxqt-common/lxqt-common-0.11.0-r1710.ebuild new file mode 100644 index 00000000..86f847ed --- /dev/null +++ b/lxqt-base/lxqt-common/lxqt-common-0.11.0-r1710.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit cmake-utils + +DESCRIPTION="LXQt common resources" +HOMEPAGE="http://lxqt.org/" + +if [[ ${PV} = *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="git://git.lxde.org/git/lxde/${PN}.git" +else + SRC_URI="https://downloads.lxqt.org/lxqt/${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" +fi + +LICENSE="LGPL-2.1+" +SLOT="0" + +DEPEND=">=lxqt-base/liblxqt-0.11.0" +RDEPEND="${DEPEND}" +PDEPEND=">=lxqt-base/lxqt-session-0.11.0" + +src_prepare() { + epatch "${FILESDIR}"/lxqt-applications-menu-cleanup.patch +} + +src_configure() { + local mycmakeargs=( -DPULL_TRANSLATIONS=OFF ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + dodir "/etc/X11/Sessions" + dosym "/usr/bin/startlxqt" "/etc/X11/Sessions/lxqt" +} diff --git a/lxqt-base/lxqt-common/lxqt-common-0.11.0-r2.ebuild b/lxqt-base/lxqt-common/lxqt-common-0.11.0-r2.ebuild deleted file mode 100644 index 86f847ed..00000000 --- a/lxqt-base/lxqt-common/lxqt-common-0.11.0-r2.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -inherit cmake-utils - -DESCRIPTION="LXQt common resources" -HOMEPAGE="http://lxqt.org/" - -if [[ ${PV} = *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="git://git.lxde.org/git/lxde/${PN}.git" -else - SRC_URI="https://downloads.lxqt.org/lxqt/${PV}/${P}.tar.xz" - KEYWORDS="~amd64 ~arm ~arm64 ~x86" -fi - -LICENSE="LGPL-2.1+" -SLOT="0" - -DEPEND=">=lxqt-base/liblxqt-0.11.0" -RDEPEND="${DEPEND}" -PDEPEND=">=lxqt-base/lxqt-session-0.11.0" - -src_prepare() { - epatch "${FILESDIR}"/lxqt-applications-menu-cleanup.patch -} - -src_configure() { - local mycmakeargs=( -DPULL_TRANSLATIONS=OFF ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - dodir "/etc/X11/Sessions" - dosym "/usr/bin/startlxqt" "/etc/X11/Sessions/lxqt" -} 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 deleted file mode 100644 index eb6920ca..00000000 --- a/lxqt-base/lxqt-meta/lxqt-meta-0.11.0-r1708.ebuild +++ /dev/null @@ -1,51 +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} - ~lxqt-base/lxqt-l10n-${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-r1710.ebuild b/lxqt-base/lxqt-meta/lxqt-meta-0.11.0-r1710.ebuild new file mode 100644 index 00000000..eb6920ca --- /dev/null +++ b/lxqt-base/lxqt-meta/lxqt-meta-0.11.0-r1710.ebuild @@ -0,0 +1,51 @@ +# 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} + ~lxqt-base/lxqt-l10n-${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-r1708.ebuild b/media-gfx/splashutils/splashutils-1.5.4.4-r1708.ebuild deleted file mode 100644 index a0e0c7b8..00000000 --- a/media-gfx/splashutils/splashutils-1.5.4.4-r1708.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-r1710.ebuild b/media-gfx/splashutils/splashutils-1.5.4.4-r1710.ebuild new file mode 100644 index 00000000..a0e0c7b8 --- /dev/null +++ b/media-gfx/splashutils/splashutils-1.5.4.4-r1710.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-r1708.ebuild b/media-sound/cantata/cantata-2.1.0-r1708.ebuild deleted file mode 100644 index 7ac0dd85..00000000 --- a/media-sound/cantata/cantata-2.1.0-r1708.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-r1710.ebuild b/media-sound/cantata/cantata-2.1.0-r1710.ebuild new file mode 100644 index 00000000..7ac0dd85 --- /dev/null +++ b/media-sound/cantata/cantata-2.1.0-r1710.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 deleted file mode 100644 index d4c9edaa..00000000 --- a/net-im/franz/franz-4.0.4-r1708.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/franz/franz-4.0.4-r1710.ebuild b/net-im/franz/franz-4.0.4-r1710.ebuild new file mode 100644 index 00000000..d4c9edaa --- /dev/null +++ b/net-im/franz/franz-4.0.4-r1710.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/messengerfordesktop/messengerfordesktop-2.0.9-r1708.ebuild b/net-im/messengerfordesktop/messengerfordesktop-2.0.9-r1708.ebuild deleted file mode 100644 index 4166c430..00000000 --- a/net-im/messengerfordesktop/messengerfordesktop-2.0.9-r1708.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/messengerfordesktop/messengerfordesktop-2.0.9-r1710.ebuild b/net-im/messengerfordesktop/messengerfordesktop-2.0.9-r1710.ebuild new file mode 100644 index 00000000..4166c430 --- /dev/null +++ b/net-im/messengerfordesktop/messengerfordesktop-2.0.9-r1710.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/skypeforlinux/skypeforlinux-5.5.0.1-r1708.ebuild b/net-im/skypeforlinux/skypeforlinux-5.5.0.1-r1708.ebuild deleted file mode 100644 index f0810abe..00000000 --- a/net-im/skypeforlinux/skypeforlinux-5.5.0.1-r1708.ebuild +++ /dev/null @@ -1,118 +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 pax-utils rpm multilib-build xdg-utils - -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 -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_mimeinfo_database_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_mimeinfo_database_update -} diff --git a/net-im/skypeforlinux/skypeforlinux-5.5.0.1-r1710.ebuild b/net-im/skypeforlinux/skypeforlinux-5.5.0.1-r1710.ebuild new file mode 100644 index 00000000..f0810abe --- /dev/null +++ b/net-im/skypeforlinux/skypeforlinux-5.5.0.1-r1710.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MULTILIB_COMPAT=( abi_x86_64 ) + +inherit pax-utils rpm multilib-build xdg-utils + +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 +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +} diff --git a/net-im/telegram/telegram-0.10.1-r1708.ebuild b/net-im/telegram/telegram-0.10.1-r1708.ebuild deleted file mode 100644 index eb2540d3..00000000 --- a/net-im/telegram/telegram-0.10.1-r1708.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/telegram/telegram-0.10.1-r1710.ebuild b/net-im/telegram/telegram-0.10.1-r1710.ebuild new file mode 100644 index 00000000..eb2540d3 --- /dev/null +++ b/net-im/telegram/telegram-0.10.1-r1710.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/viber/viber-6.5.5-r1708.ebuild b/net-im/viber/viber-6.5.5-r1708.ebuild deleted file mode 100644 index 3fc21f4b..00000000 --- a/net-im/viber/viber-6.5.5-r1708.ebuild +++ /dev/null @@ -1,27 +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 -} - -src_install(){ - doins -r opt usr - fperms 755 /opt/viber/Viber -} - diff --git a/net-im/viber/viber-6.5.5-r1710.ebuild b/net-im/viber/viber-6.5.5-r1710.ebuild new file mode 100644 index 00000000..3fc21f4b --- /dev/null +++ b/net-im/viber/viber-6.5.5-r1710.ebuild @@ -0,0 +1,27 @@ +# 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 +} + +src_install(){ + doins -r opt usr + fperms 755 /opt/viber/Viber +} + 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 deleted file mode 100644 index 66b294d3..00000000 --- a/net-misc/nm-applet-gtk2/nm-applet-gtk2-0.9.8.10-r1708.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-r1710.ebuild b/net-misc/nm-applet-gtk2/nm-applet-gtk2-0.9.8.10-r1710.ebuild new file mode 100644 index 00000000..66b294d3 --- /dev/null +++ b/net-misc/nm-applet-gtk2/nm-applet-gtk2-0.9.8.10-r1710.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-misc/teamviewer/Manifest b/net-misc/teamviewer/Manifest index 527ef1a9..0e2e8eed 100644 --- a/net-misc/teamviewer/Manifest +++ b/net-misc/teamviewer/Manifest @@ -1,2 +1 @@ -DIST teamviewer_11.0.57095_i386.deb 53774306 SHA256 a3e763912892019143517f8c40404aa23465b4d78fb382336d165d3b96f1b83d SHA512 d218cc5a7ea516b7df326d60726405fa1db5c313a74b14594ea8309bd5f06cc611d2391a750405ae8a39b419747bc6974d6b5f4ca54015fce869566d937cecdd WHIRLPOOL 175259ecce24b576c7cac9d55d5ce8aeede00edfcc92953fd0ff75642aab1d4769cadbb7683ab4f3346afeb591caf679fbaab6cc8c629f7867438e483d40d89f DIST teamviewer_12.0.76279_i386.deb 46547662 SHA256 0050798ef06b5bb750899fdc35d365520917d64be3b9db460753aefe8de9d097 SHA512 02c586d303149b9f6e33e4da6a53e14715f95ad74264b758ddd6dfaa3530d93e50db0e297cb5bd257558199afa28b49a90bdfbcc64fbd5e90d887d233d6b30f8 WHIRLPOOL b3848d75002cd760cbac397250a7a8d355e770003bcda2482b1aed85f8d2744176f81876dc65c9669905e97fe4aa8fd1c093f7f1f3d13c5e0d2ef5d55b82baf5 diff --git a/net-misc/teamviewer/teamviewer-11.0.57095-r1708.ebuild b/net-misc/teamviewer/teamviewer-11.0.57095-r1708.ebuild deleted file mode 100644 index 112868fb..00000000 --- a/net-misc/teamviewer/teamviewer-11.0.57095-r1708.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit eutils gnome2-utils systemd unpacker - -# Major version -MV=${PV/\.*} -MY_PN=${PN}${MV} -DESCRIPTION="All-In-One Solution for Remote Access and Support over the Internet" -HOMEPAGE="https://www.teamviewer.com" -SRC_URI="https://download.teamviewer.com/download/version_${MV}x/${PN}_${PV}_i386.deb" - -IUSE="+system-wine" - -LICENSE="TeamViewer LGPL-2.1" #LGPL for bundled wine -SLOT=${MV} -KEYWORDS="-* ~amd64 ~x86" - -RESTRICT="bindist mirror" - -RDEPEND=" - system-wine? ( app-emulation/wine[abi_x86_32(-),png] ) - !system-wine? ( media-libs/libpng:1.2[abi_x86_32(-)] ) - sys-apps/dbus[abi_x86_32(-)] - media-libs/alsa-lib[abi_x86_32(-)] - x11-libs/libICE[abi_x86_32(-)] - x11-libs/libSM[abi_x86_32(-)] - x11-libs/libX11[abi_x86_32(-)] - x11-libs/libXau[abi_x86_32(-)] - x11-libs/libXdamage[abi_x86_32(-)] - x11-libs/libXdmcp[abi_x86_32(-)] - x11-libs/libXext[abi_x86_32(-)] - x11-libs/libXfixes[abi_x86_32(-)] - x11-libs/libXrandr[abi_x86_32(-)] - x11-libs/libXtst[abi_x86_32(-)]" - -QA_PREBUILT="opt/teamviewer${MV}/*" - -S=${WORKDIR}/opt/teamviewer/tv_bin - -src_prepare() { - #epatch "${FILESDIR}/${P}-gentoo.patch" - sed \ - -e "s/@TVV@/${MV}/g" \ - "${FILESDIR}"/${PN}d.init > "${T}"/init || die - sed \ - -e "s:/opt/teamviewer:/opt/teamviewer${MV}:g" \ - "script//${PN}d.service" > "${T}/${PN}d.service" || die - sed \ - -e "s/@TVV@/${PV}/g" \ - -e "s/@TVMV@/${MV}/g" \ - "${FILESDIR}"/${PN}.sh > "${T}"/sh || die - if ! use system-wine; then - sed -i "s/native=true/native=false/g" "${T}/sh" || die - fi -} - -src_install () { - local destdir="/opt/${MY_PN}" - - # install wine prefix skeleton and reg keys - insinto "${destdir}/wine/drive_c/" - doins -r wine/drive_c/TeamViewer/ - # install bundled wine if necessary - if ! use system-wine; then - insinto "${destdir}/tv_bin/wine" - doins -r wine/{lib,share} - exeinto "${destdir}/tv_bin/wine/bin" - doexe wine/bin/{wine,wine-preloader,wineserver} - fi - # fix permissions - fperms 755 ${destdir}/wine/drive_c/TeamViewer/TeamViewer.exe - - # install wine wrapper - exeinto "/opt/bin" - newexe "${T}/sh" "${MY_PN}" - - # install teamviewer linux binaries - exeinto "${destdir}/tv_bin" - doexe TeamViewer_Desktop TVGuiDelegate TVGuiSlave.32 - use amd64 && doexe TVGuiSlave.64 - - # install daemon binary and scripts - exeinto "${destdir}/tv_bin" - doexe ${PN}d - newinitd "${T}/init" ${PN}d${MV} - newconfd "${FILESDIR}/${PN}d.conf" ${PN}d${MV} - systemd_newunit "${T}/${PN}d.service" ${PN}d${MV}.service - - # set up logdir - keepdir /var/log/${MY_PN} - dosym /var/log/${MY_PN} /opt/${MY_PN}/logfiles - - # set up config dir - keepdir /etc/${MY_PN} - dosym /etc/${MY_PN} /opt/${MY_PN}/config - - newicon -s 48 desktop/${PN}.png ${MY_PN}.png - #dodoc ../doc/linux_FAQ_{EN,DE}.txt - make_desktop_entry ${MY_PN} "TeamViewer ${MV}" ${MY_PN} -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - gnome2_icon_cache_update - - elog "TeamViewer from upstream uses an overly-complicated set of bash" - elog "scripts to start the program. This has been simplified for Gentoo" - elog "use. Any issues should be reported via bugzilla." - if use system-wine; then - elog - elog "Due to bug #552016, when using system wine, one is not able to" - elog "share one's own screen. At this time, this may be remedied by" - elog "toggling the system-wine USE flag." - fi - elog - elog "The end-user client requires running the accompanying daemon," - elog "available via init-scripts." -} - -pkg_postrm() { - gnome2_icon_cache_update -} diff --git a/net-misc/teamviewer/teamviewer-12.0.76279-r1708.ebuild b/net-misc/teamviewer/teamviewer-12.0.76279-r1708.ebuild deleted file mode 100644 index bcd57a7a..00000000 --- a/net-misc/teamviewer/teamviewer-12.0.76279-r1708.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils gnome2-utils systemd unpacker - -# Major version -MV=${PV/\.*} -MY_PN=${PN}${MV} -DESCRIPTION="All-In-One Solution for Remote Access and Support over the Internet" -HOMEPAGE="https://www.teamviewer.com" -SRC_URI="https://download.teamviewer.com/download/version_${MV}x/${PN}_${PV}_i386.deb" - -IUSE="+system-wine" - -LICENSE="TeamViewer LGPL-2.1" #LGPL for bundled wine -SLOT=${MV} -KEYWORDS="-* ~amd64 ~x86" - -RESTRICT="bindist mirror" - -RDEPEND=" - system-wine? ( app-emulation/wine[abi_x86_32(-),png] ) - !system-wine? ( media-libs/libpng:1.2[abi_x86_32(-)] ) - sys-apps/dbus[abi_x86_32(-)] - media-libs/alsa-lib[abi_x86_32(-)] - x11-libs/libICE[abi_x86_32(-)] - x11-libs/libSM[abi_x86_32(-)] - x11-libs/libX11[abi_x86_32(-)] - x11-libs/libXau[abi_x86_32(-)] - x11-libs/libXdamage[abi_x86_32(-)] - x11-libs/libXdmcp[abi_x86_32(-)] - x11-libs/libXext[abi_x86_32(-)] - x11-libs/libXfixes[abi_x86_32(-)] - x11-libs/libXrandr[abi_x86_32(-)] - x11-libs/libXtst[abi_x86_32(-)]" - -QA_PREBUILT="opt/teamviewer${MV}/*" - -S=${WORKDIR}/opt/teamviewer/tv_bin - -src_prepare() { - #epatch "${FILESDIR}/${P}-gentoo.patch" - sed \ - -e "s/@TVV@/${MV}/g" \ - "${FILESDIR}"/${PN}d.init > "${T}"/init || die - sed \ - -e "s:/opt/teamviewer:/opt/teamviewer${MV}:g" \ - "script//${PN}d.service" > "${T}/${PN}d.service" || die - sed \ - -e "s/@TVV@/${PV}/g" \ - -e "s/@TVMV@/${MV}/g" \ - "${FILESDIR}"/${PN}.sh > "${T}"/sh || die - if ! use system-wine; then - sed -i "s/native=true/native=false/g" "${T}/sh" || die - fi -} - -src_install () { - local destdir="/opt/${MY_PN}" - - # install wine prefix skeleton and reg keys - insinto "${destdir}/wine/drive_c/" - doins -r wine/drive_c/TeamViewer/ - # install bundled wine if necessary - if ! use system-wine; then - insinto "${destdir}/tv_bin/wine" - doins -r wine/{lib,share} - exeinto "${destdir}/tv_bin/wine/bin" - doexe wine/bin/{wine,wine-preloader,wineserver} - fi - # fix permissions - fperms 755 ${destdir}/wine/drive_c/TeamViewer/TeamViewer.exe - - # install wine wrapper - exeinto "/opt/bin" - newexe "${T}/sh" "${MY_PN}" - - # install teamviewer linux binaries - exeinto "${destdir}/tv_bin" - doexe TeamViewer_Desktop TVGuiDelegate TVGuiSlave.32 - use amd64 && doexe TVGuiSlave.64 - - # install daemon binary and scripts - exeinto "${destdir}/tv_bin" - doexe ${PN}d - newinitd "${T}/init" ${PN}d${MV} - newconfd "${FILESDIR}/${PN}d.conf" ${PN}d${MV} - systemd_newunit "${T}/${PN}d.service" ${PN}d${MV}.service - - # set up logdir - keepdir /var/log/${MY_PN} - dosym /var/log/${MY_PN} /opt/${MY_PN}/logfiles - - # set up config dir - keepdir /etc/${MY_PN} - dosym /etc/${MY_PN} /opt/${MY_PN}/config - - newicon -s 48 desktop/${PN}.png ${MY_PN}.png - #dodoc ../doc/linux_FAQ_{EN,DE}.txt - make_desktop_entry ${MY_PN} "TeamViewer ${MV}" ${MY_PN} -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - gnome2_icon_cache_update - - elog "TeamViewer from upstream uses an overly-complicated set of bash" - elog "scripts to start the program. This has been simplified for Gentoo" - elog "use. Any issues should be reported via bugzilla." - if use system-wine; then - elog - elog "Due to bug #552016, when using system wine, one is not able to" - elog "share one's own screen. At this time, this may be remedied by" - elog "toggling the system-wine USE flag." - fi - elog - elog "The end-user client requires running the accompanying daemon," - elog "available via init-scripts." -} - -pkg_postrm() { - gnome2_icon_cache_update -} diff --git a/net-misc/teamviewer/teamviewer-12.0.76279-r1710.ebuild b/net-misc/teamviewer/teamviewer-12.0.76279-r1710.ebuild new file mode 100644 index 00000000..bcd57a7a --- /dev/null +++ b/net-misc/teamviewer/teamviewer-12.0.76279-r1710.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils gnome2-utils systemd unpacker + +# Major version +MV=${PV/\.*} +MY_PN=${PN}${MV} +DESCRIPTION="All-In-One Solution for Remote Access and Support over the Internet" +HOMEPAGE="https://www.teamviewer.com" +SRC_URI="https://download.teamviewer.com/download/version_${MV}x/${PN}_${PV}_i386.deb" + +IUSE="+system-wine" + +LICENSE="TeamViewer LGPL-2.1" #LGPL for bundled wine +SLOT=${MV} +KEYWORDS="-* ~amd64 ~x86" + +RESTRICT="bindist mirror" + +RDEPEND=" + system-wine? ( app-emulation/wine[abi_x86_32(-),png] ) + !system-wine? ( media-libs/libpng:1.2[abi_x86_32(-)] ) + sys-apps/dbus[abi_x86_32(-)] + media-libs/alsa-lib[abi_x86_32(-)] + x11-libs/libICE[abi_x86_32(-)] + x11-libs/libSM[abi_x86_32(-)] + x11-libs/libX11[abi_x86_32(-)] + x11-libs/libXau[abi_x86_32(-)] + x11-libs/libXdamage[abi_x86_32(-)] + x11-libs/libXdmcp[abi_x86_32(-)] + x11-libs/libXext[abi_x86_32(-)] + x11-libs/libXfixes[abi_x86_32(-)] + x11-libs/libXrandr[abi_x86_32(-)] + x11-libs/libXtst[abi_x86_32(-)]" + +QA_PREBUILT="opt/teamviewer${MV}/*" + +S=${WORKDIR}/opt/teamviewer/tv_bin + +src_prepare() { + #epatch "${FILESDIR}/${P}-gentoo.patch" + sed \ + -e "s/@TVV@/${MV}/g" \ + "${FILESDIR}"/${PN}d.init > "${T}"/init || die + sed \ + -e "s:/opt/teamviewer:/opt/teamviewer${MV}:g" \ + "script//${PN}d.service" > "${T}/${PN}d.service" || die + sed \ + -e "s/@TVV@/${PV}/g" \ + -e "s/@TVMV@/${MV}/g" \ + "${FILESDIR}"/${PN}.sh > "${T}"/sh || die + if ! use system-wine; then + sed -i "s/native=true/native=false/g" "${T}/sh" || die + fi +} + +src_install () { + local destdir="/opt/${MY_PN}" + + # install wine prefix skeleton and reg keys + insinto "${destdir}/wine/drive_c/" + doins -r wine/drive_c/TeamViewer/ + # install bundled wine if necessary + if ! use system-wine; then + insinto "${destdir}/tv_bin/wine" + doins -r wine/{lib,share} + exeinto "${destdir}/tv_bin/wine/bin" + doexe wine/bin/{wine,wine-preloader,wineserver} + fi + # fix permissions + fperms 755 ${destdir}/wine/drive_c/TeamViewer/TeamViewer.exe + + # install wine wrapper + exeinto "/opt/bin" + newexe "${T}/sh" "${MY_PN}" + + # install teamviewer linux binaries + exeinto "${destdir}/tv_bin" + doexe TeamViewer_Desktop TVGuiDelegate TVGuiSlave.32 + use amd64 && doexe TVGuiSlave.64 + + # install daemon binary and scripts + exeinto "${destdir}/tv_bin" + doexe ${PN}d + newinitd "${T}/init" ${PN}d${MV} + newconfd "${FILESDIR}/${PN}d.conf" ${PN}d${MV} + systemd_newunit "${T}/${PN}d.service" ${PN}d${MV}.service + + # set up logdir + keepdir /var/log/${MY_PN} + dosym /var/log/${MY_PN} /opt/${MY_PN}/logfiles + + # set up config dir + keepdir /etc/${MY_PN} + dosym /etc/${MY_PN} /opt/${MY_PN}/config + + newicon -s 48 desktop/${PN}.png ${MY_PN}.png + #dodoc ../doc/linux_FAQ_{EN,DE}.txt + make_desktop_entry ${MY_PN} "TeamViewer ${MV}" ${MY_PN} +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update + + elog "TeamViewer from upstream uses an overly-complicated set of bash" + elog "scripts to start the program. This has been simplified for Gentoo" + elog "use. Any issues should be reported via bugzilla." + if use system-wine; then + elog + elog "Due to bug #552016, when using system wine, one is not able to" + elog "share one's own screen. At this time, this may be remedied by" + elog "toggling the system-wine USE flag." + fi + elog + elog "The end-user client requires running the accompanying daemon," + elog "available via init-scripts." +} + +pkg_postrm() { + gnome2_icon_cache_update +} 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 deleted file mode 100644 index ff44421d..00000000 --- a/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r1708.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-r1710.ebuild b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r1710.ebuild new file mode 100644 index 00000000..ff44421d --- /dev/null +++ b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r1710.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-boot/os-prober/os-prober-1.71-r1708.ebuild b/sys-boot/os-prober/os-prober-1.71-r1708.ebuild deleted file mode 100644 index b3751337..00000000 --- a/sys-boot/os-prober/os-prober-1.71-r1708.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -#inherit eutils multilib toolchain-funcs -inherit eutils toolchain-funcs - -DESCRIPTION="Utility to detect other OSs on a set of drives" -HOMEPAGE="http://packages.debian.org/source/sid/os-prober" -SRC_URI="mirror://debian/pool/main/${PN::1}/${PN}/${PN}_${PV}.tar.xz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-redcore.patch - # use default GNU rules - rm Makefile || die 'rm Makefile failed' - # Fix references to grub-mount - sed -i -e 's:grub-mount:grub2-mount:g' \ - common.sh \ - linux-boot-probes/common/50mounted-tests \ - os-probes/common/50mounted-tests -} - -src_compile() { - tc-export CC - emake newns -} - -src_install() { - dobin os-prober linux-boot-prober - - # Note: as no shared libraries are installed, /usr/lib is correct - exeinto /usr/lib/os-prober - doexe newns - - insinto /usr/share/os-prober - doins common.sh - - keepdir /var/lib/os-prober - - local debarch=${ARCH%-*} dir - - case ${debarch} in - amd64) debarch=x86 ;; - ppc|ppc64) debarch=powerpc ;; - esac - - for dir in os-probes{,/mounted,/init} linux-boot-probes{,/mounted}; do - exeinto /usr/lib/$dir - doexe $dir/common/* - if [[ -d $dir/$debarch ]]; then - doexe $dir/$debarch/* - fi - if [[ -d $dir/$debarch/efi ]]; then - exeinto /usr/lib/$dir/efi - doexe $dir/$debarch/efi/* - fi - done - - if use amd64 || use x86; then - exeinto /usr/lib/os-probes/mounted - doexe os-probes/mounted/powerpc/20macosx - fi - - dodoc README TODO debian/changelog -} - -pkg_postinst() { - elog "If you intend for os-prober to detect versions of Windows installed on" - elog "NTFS-formatted partitions, your system must be capable of reading the" - elog "NTFS filesystem. One way to do this is by installing sys-fs/ntfs3g" -} diff --git a/sys-boot/os-prober/os-prober-1.71-r1710.ebuild b/sys-boot/os-prober/os-prober-1.71-r1710.ebuild new file mode 100644 index 00000000..b3751337 --- /dev/null +++ b/sys-boot/os-prober/os-prober-1.71-r1710.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +#inherit eutils multilib toolchain-funcs +inherit eutils toolchain-funcs + +DESCRIPTION="Utility to detect other OSs on a set of drives" +HOMEPAGE="http://packages.debian.org/source/sid/os-prober" +SRC_URI="mirror://debian/pool/main/${PN::1}/${PN}/${PN}_${PV}.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-redcore.patch + # use default GNU rules + rm Makefile || die 'rm Makefile failed' + # Fix references to grub-mount + sed -i -e 's:grub-mount:grub2-mount:g' \ + common.sh \ + linux-boot-probes/common/50mounted-tests \ + os-probes/common/50mounted-tests +} + +src_compile() { + tc-export CC + emake newns +} + +src_install() { + dobin os-prober linux-boot-prober + + # Note: as no shared libraries are installed, /usr/lib is correct + exeinto /usr/lib/os-prober + doexe newns + + insinto /usr/share/os-prober + doins common.sh + + keepdir /var/lib/os-prober + + local debarch=${ARCH%-*} dir + + case ${debarch} in + amd64) debarch=x86 ;; + ppc|ppc64) debarch=powerpc ;; + esac + + for dir in os-probes{,/mounted,/init} linux-boot-probes{,/mounted}; do + exeinto /usr/lib/$dir + doexe $dir/common/* + if [[ -d $dir/$debarch ]]; then + doexe $dir/$debarch/* + fi + if [[ -d $dir/$debarch/efi ]]; then + exeinto /usr/lib/$dir/efi + doexe $dir/$debarch/efi/* + fi + done + + if use amd64 || use x86; then + exeinto /usr/lib/os-probes/mounted + doexe os-probes/mounted/powerpc/20macosx + fi + + dodoc README TODO debian/changelog +} + +pkg_postinst() { + elog "If you intend for os-prober to detect versions of Windows installed on" + elog "NTFS-formatted partitions, your system must be capable of reading the" + elog "NTFS filesystem. One way to do this is by installing sys-fs/ntfs3g" +} diff --git a/sys-boot/plymouth/plymouth-0.8.8-r1708.ebuild b/sys-boot/plymouth/plymouth-0.8.8-r1708.ebuild deleted file mode 100644 index 3e120497..00000000 --- a/sys-boot/plymouth/plymouth-0.8.8-r1708.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -inherit autotools-utils readme.gentoo systemd toolchain-funcs - -DESCRIPTION="Graphical boot animation (splash) and logger" -HOMEPAGE="http://cgit.freedesktop.org/plymouth/" -SRC_URI="http://www.freedesktop.org/software/plymouth/releases/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE_VIDEO_CARDS="video_cards_intel video_cards_radeon" -IUSE="${IUSE_VIDEO_CARDS} debug gdm +gtk +libkms +pango static-libs" - -CDEPEND=" - >=media-libs/libpng-1.2.16 - gtk? ( - dev-libs/glib:2 - >=x11-libs/gtk+-2.12:2 ) - libkms? ( x11-libs/libdrm[libkms] ) - pango? ( >=x11-libs/pango-1.21 ) - video_cards_intel? ( x11-libs/libdrm[video_cards_intel] ) - video_cards_radeon? ( x11-libs/libdrm[video_cards_radeon] ) -" -DEPEND="${CDEPEND} - virtual/pkgconfig -" -# Block due bug #383067 -RDEPEND="${CDEPEND} - virtual/udev - x11-themes/redcore-artwork-core -" - -DOC_CONTENTS=" - Follow the following instructions to set up Plymouth:\n - http://dev.gentoo.org/~aidecoe/doc/en/plymouth.xml -" - -src_prepare() { - epatch "${FILESDIR}/${PN}-redcore-defaults.patch" - - sed -i 's:/bin/systemd-tty-ask-password-agent:/usr/bin/systemd-tty-ask-password-agent:g' \ - systemd-units/systemd-ask-password-plymouth.service.in || die \ - 'ask-password sed failed' - sed -i 's:/bin/udevadm:/usr/bin/udevadm:g' \ - systemd-units/plymouth-start.service.in || die 'udevadm sed failed' - autotools-utils_src_prepare -} - -src_configure() { - local myeconfargs=( - --with-system-root-install=no - --localstatedir=/var - --without-rhgb-compat-link - --disable-systemd-integration - $(use_enable debug tracing) - $(use_enable gtk gtk) - $(use_enable libkms) - $(use_enable pango) - $(use_enable gdm gdm-transition) - $(use_enable video_cards_intel libdrm_intel) - $(use_enable video_cards_radeon libdrm_radeon) - ) - autotools-utils_src_configure -} - -src_install() { - autotools-utils_src_install - - # Provided by redcore-artwork-core - rm "${D}/usr/share/plymouth/bizcom.png" - - # Install compatibility symlinks as some rdeps hardcode the paths - dosym /usr/bin/plymouth /bin/plymouth - dosym /usr/sbin/plymouth-set-default-theme /sbin/plymouth-set-default-theme - dosym /usr/sbin/plymouthd /sbin/plymouthd - - readme.gentoo_create_doc -} - -pkg_postinst() { - readme.gentoo_print_elog - if ! has_version "sys-kernel/dracut[dracut_modules_plymouth]" && ! has_version "sys-kernel/genkernel-next[plymouth]"; then - ewarn "If you want initramfs builder with plymouth support, please emerge" - ewarn "sys-kernel/dracut[dracut_modules_plymouth] or sys-kernel/genkernel-next[plymouth]." - fi -} diff --git a/sys-boot/plymouth/plymouth-0.8.8-r1710.ebuild b/sys-boot/plymouth/plymouth-0.8.8-r1710.ebuild new file mode 100644 index 00000000..3e120497 --- /dev/null +++ b/sys-boot/plymouth/plymouth-0.8.8-r1710.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit autotools-utils readme.gentoo systemd toolchain-funcs + +DESCRIPTION="Graphical boot animation (splash) and logger" +HOMEPAGE="http://cgit.freedesktop.org/plymouth/" +SRC_URI="http://www.freedesktop.org/software/plymouth/releases/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE_VIDEO_CARDS="video_cards_intel video_cards_radeon" +IUSE="${IUSE_VIDEO_CARDS} debug gdm +gtk +libkms +pango static-libs" + +CDEPEND=" + >=media-libs/libpng-1.2.16 + gtk? ( + dev-libs/glib:2 + >=x11-libs/gtk+-2.12:2 ) + libkms? ( x11-libs/libdrm[libkms] ) + pango? ( >=x11-libs/pango-1.21 ) + video_cards_intel? ( x11-libs/libdrm[video_cards_intel] ) + video_cards_radeon? ( x11-libs/libdrm[video_cards_radeon] ) +" +DEPEND="${CDEPEND} + virtual/pkgconfig +" +# Block due bug #383067 +RDEPEND="${CDEPEND} + virtual/udev + x11-themes/redcore-artwork-core +" + +DOC_CONTENTS=" + Follow the following instructions to set up Plymouth:\n + http://dev.gentoo.org/~aidecoe/doc/en/plymouth.xml +" + +src_prepare() { + epatch "${FILESDIR}/${PN}-redcore-defaults.patch" + + sed -i 's:/bin/systemd-tty-ask-password-agent:/usr/bin/systemd-tty-ask-password-agent:g' \ + systemd-units/systemd-ask-password-plymouth.service.in || die \ + 'ask-password sed failed' + sed -i 's:/bin/udevadm:/usr/bin/udevadm:g' \ + systemd-units/plymouth-start.service.in || die 'udevadm sed failed' + autotools-utils_src_prepare +} + +src_configure() { + local myeconfargs=( + --with-system-root-install=no + --localstatedir=/var + --without-rhgb-compat-link + --disable-systemd-integration + $(use_enable debug tracing) + $(use_enable gtk gtk) + $(use_enable libkms) + $(use_enable pango) + $(use_enable gdm gdm-transition) + $(use_enable video_cards_intel libdrm_intel) + $(use_enable video_cards_radeon libdrm_radeon) + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + + # Provided by redcore-artwork-core + rm "${D}/usr/share/plymouth/bizcom.png" + + # Install compatibility symlinks as some rdeps hardcode the paths + dosym /usr/bin/plymouth /bin/plymouth + dosym /usr/sbin/plymouth-set-default-theme /sbin/plymouth-set-default-theme + dosym /usr/sbin/plymouthd /sbin/plymouthd + + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog + if ! has_version "sys-kernel/dracut[dracut_modules_plymouth]" && ! has_version "sys-kernel/genkernel-next[plymouth]"; then + ewarn "If you want initramfs builder with plymouth support, please emerge" + ewarn "sys-kernel/dracut[dracut_modules_plymouth] or sys-kernel/genkernel-next[plymouth]." + fi +} diff --git a/sys-boot/unetbootin-static/unetbootin-static-625-r1708.ebuild b/sys-boot/unetbootin-static/unetbootin-static-625-r1708.ebuild deleted file mode 100644 index 4eaa2af5..00000000 --- a/sys-boot/unetbootin-static/unetbootin-static-625-r1708.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit eutils - -DESCRIPTION="Universal Netboot Installer creates Live USB systems for various OS distributions" -HOMEPAGE="http://unetbootin.sourceforge.net" -SRC_URI="http://redcorelinux.org/distfiles/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -DEPEND="" -RDEPEND="${DEPEND} - app-arch/p7zip - media-libs/libpng:1.2" - -src_install() { - insopts -m 755 - dobin ${P} - dobin ${FILESDIR}/${PN}-pkexec - dodir /usr/share/applications - insinto /usr/share/applications - doins ${FILESDIR}/${PN}.desktop - dodir /usr/share/polkit-1/actions - insinto /usr/share/polkit-1/actions - doins ${FILESDIR}/ro.redcore.${PN}.policy -} diff --git a/sys-boot/unetbootin-static/unetbootin-static-625-r1710.ebuild b/sys-boot/unetbootin-static/unetbootin-static-625-r1710.ebuild new file mode 100644 index 00000000..4eaa2af5 --- /dev/null +++ b/sys-boot/unetbootin-static/unetbootin-static-625-r1710.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils + +DESCRIPTION="Universal Netboot Installer creates Live USB systems for various OS distributions" +HOMEPAGE="http://unetbootin.sourceforge.net" +SRC_URI="http://redcorelinux.org/distfiles/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND} + app-arch/p7zip + media-libs/libpng:1.2" + +src_install() { + insopts -m 755 + dobin ${P} + dobin ${FILESDIR}/${PN}-pkexec + dodir /usr/share/applications + insinto /usr/share/applications + doins ${FILESDIR}/${PN}.desktop + dodir /usr/share/polkit-1/actions + insinto /usr/share/polkit-1/actions + doins ${FILESDIR}/ro.redcore.${PN}.policy +} diff --git a/sys-fs/cryptsetup/cryptsetup-1.7.5-r1708.ebuild b/sys-fs/cryptsetup/cryptsetup-1.7.5-r1708.ebuild deleted file mode 100644 index 503731c5..00000000 --- a/sys-fs/cryptsetup/cryptsetup-1.7.5-r1708.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -DISTUTILS_OPTIONAL=1 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) - -inherit autotools distutils-r1 linux-info libtool eutils versionator - -DESCRIPTION="Tool to setup encrypted devices with dm-crypt" -HOMEPAGE="https://gitlab.com/cryptsetup/cryptsetup/blob/master/README.md" -SRC_URI="mirror://kernel/linux/utils/${PN}/v$(get_version_component_range 1-2)/${P}.tar.xz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -CRYPTO_BACKENDS="+gcrypt kernel nettle openssl" -# we don't support nss since it doesn't allow cryptsetup to be built statically -# and it's missing ripemd160 support so it can't provide full backward compatibility -IUSE="${CRYPTO_BACKENDS} libressl nls pwquality python reencrypt static static-libs udev urandom" -REQUIRED_USE="^^ ( ${CRYPTO_BACKENDS//+/} ) - python? ( ${PYTHON_REQUIRED_USE} ) - static? ( !gcrypt )" #496612 - -LIB_DEPEND="dev-libs/libgpg-error[static-libs(+)] - dev-libs/popt[static-libs(+)] - sys-apps/util-linux[static-libs(+)] - gcrypt? ( dev-libs/libgcrypt:0=[static-libs(+)] ) - nettle? ( >=dev-libs/nettle-2.4[static-libs(+)] ) - openssl? ( - !libressl? ( dev-libs/openssl:0=[static-libs(+)] ) - libressl? ( dev-libs/libressl:=[static-libs(+)] ) - ) - pwquality? ( dev-libs/libpwquality[static-libs(+)] ) - sys-fs/lvm2[static-libs(+)] - udev? ( virtual/libudev[static-libs(+)] )" -# We have to always depend on ${LIB_DEPEND} rather than put behind -# !static? () because we provide a shared library which links against -# these other packages. #414665 -RDEPEND="static-libs? ( ${LIB_DEPEND} ) - ${LIB_DEPEND//\[static-libs\(+\)\]} - python? ( ${PYTHON_DEPS} )" -DEPEND="${RDEPEND} - virtual/pkgconfig - static? ( ${LIB_DEPEND} )" - -#PATCHES=( ) - -pkg_setup() { - local CONFIG_CHECK="~DM_CRYPT ~CRYPTO ~CRYPTO_CBC ~CRYPTO_SHA256" - local WARNING_DM_CRYPT="CONFIG_DM_CRYPT:\tis not set (required for cryptsetup)\n" - local WARNING_CRYPTO_SHA256="CONFIG_CRYPTO_SHA256:\tis not set (required for cryptsetup)\n" - local WARNING_CRYPTO_CBC="CONFIG_CRYPTO_CBC:\tis not set (required for kernel 2.6.19)\n" - local WARNING_CRYPTO="CONFIG_CRYPTO:\tis not set (required for cryptsetup)\n" - check_extra_config -} - -src_prepare() { - sed -i '/^LOOPDEV=/s:$: || exit 0:' tests/{compat,mode}-test || die - #epatch "${PATCHES[@]}" - epatch_user && eautoreconf - - if use python ; then - cd python - cp "${FILESDIR}"/setup-1.7.0.py setup.py || die - distutils-r1_src_prepare - fi -} - -src_configure() { - if use kernel ; then - ewarn "Note that kernel backend is very slow for this type of operation" - ewarn "and is provided mainly for embedded systems wanting to avoid" - ewarn "userspace crypto libraries." - fi - - # We disable autotool python integration so we can use eclasses - # for proper integration with multiple python versions. - econf \ - --sbindir=/sbin \ - --enable-shared \ - --disable-python \ - $(use_enable static static-cryptsetup) \ - $(use_enable static-libs static) \ - $(use_enable nls) \ - $(use_enable pwquality) \ - $(use_enable reencrypt cryptsetup-reencrypt) \ - $(use_enable udev) \ - $(use_enable !urandom dev-random) \ - --with-crypto_backend=$(for x in ${CRYPTO_BACKENDS//+/} ; do usev ${x} ; done) - - use python && cd python && distutils-r1_src_configure -} - -src_compile() { - default - use python && cd python && distutils-r1_src_compile -} - -src_test() { - if [[ ! -e /dev/mapper/control ]] ; then - ewarn "No /dev/mapper/control found -- skipping tests" - return 0 - fi - local p - for p in /dev/mapper /dev/loop* ; do - addwrite ${p} - done - default -} - -src_install() { - default - if use static ; then - mv "${ED}"/sbin/cryptsetup{.static,} || die - mv "${ED}"/sbin/veritysetup{.static,} || die - use reencrypt && { mv "${ED}"/sbin/cryptsetup-reencrypt{.static,} || die ; } - fi - prune_libtool_files --modules - - newconfd "${FILESDIR}"/1.6.7-dmcrypt.confd dmcrypt - newinitd "${FILESDIR}"/1.6.7-dmcrypt.rc dmcrypt - - use python && cd python && distutils-r1_src_install -} diff --git a/sys-fs/cryptsetup/cryptsetup-1.7.5-r1710.ebuild b/sys-fs/cryptsetup/cryptsetup-1.7.5-r1710.ebuild new file mode 100644 index 00000000..503731c5 --- /dev/null +++ b/sys-fs/cryptsetup/cryptsetup-1.7.5-r1710.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DISTUTILS_OPTIONAL=1 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit autotools distutils-r1 linux-info libtool eutils versionator + +DESCRIPTION="Tool to setup encrypted devices with dm-crypt" +HOMEPAGE="https://gitlab.com/cryptsetup/cryptsetup/blob/master/README.md" +SRC_URI="mirror://kernel/linux/utils/${PN}/v$(get_version_component_range 1-2)/${P}.tar.xz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +CRYPTO_BACKENDS="+gcrypt kernel nettle openssl" +# we don't support nss since it doesn't allow cryptsetup to be built statically +# and it's missing ripemd160 support so it can't provide full backward compatibility +IUSE="${CRYPTO_BACKENDS} libressl nls pwquality python reencrypt static static-libs udev urandom" +REQUIRED_USE="^^ ( ${CRYPTO_BACKENDS//+/} ) + python? ( ${PYTHON_REQUIRED_USE} ) + static? ( !gcrypt )" #496612 + +LIB_DEPEND="dev-libs/libgpg-error[static-libs(+)] + dev-libs/popt[static-libs(+)] + sys-apps/util-linux[static-libs(+)] + gcrypt? ( dev-libs/libgcrypt:0=[static-libs(+)] ) + nettle? ( >=dev-libs/nettle-2.4[static-libs(+)] ) + openssl? ( + !libressl? ( dev-libs/openssl:0=[static-libs(+)] ) + libressl? ( dev-libs/libressl:=[static-libs(+)] ) + ) + pwquality? ( dev-libs/libpwquality[static-libs(+)] ) + sys-fs/lvm2[static-libs(+)] + udev? ( virtual/libudev[static-libs(+)] )" +# We have to always depend on ${LIB_DEPEND} rather than put behind +# !static? () because we provide a shared library which links against +# these other packages. #414665 +RDEPEND="static-libs? ( ${LIB_DEPEND} ) + ${LIB_DEPEND//\[static-libs\(+\)\]} + python? ( ${PYTHON_DEPS} )" +DEPEND="${RDEPEND} + virtual/pkgconfig + static? ( ${LIB_DEPEND} )" + +#PATCHES=( ) + +pkg_setup() { + local CONFIG_CHECK="~DM_CRYPT ~CRYPTO ~CRYPTO_CBC ~CRYPTO_SHA256" + local WARNING_DM_CRYPT="CONFIG_DM_CRYPT:\tis not set (required for cryptsetup)\n" + local WARNING_CRYPTO_SHA256="CONFIG_CRYPTO_SHA256:\tis not set (required for cryptsetup)\n" + local WARNING_CRYPTO_CBC="CONFIG_CRYPTO_CBC:\tis not set (required for kernel 2.6.19)\n" + local WARNING_CRYPTO="CONFIG_CRYPTO:\tis not set (required for cryptsetup)\n" + check_extra_config +} + +src_prepare() { + sed -i '/^LOOPDEV=/s:$: || exit 0:' tests/{compat,mode}-test || die + #epatch "${PATCHES[@]}" + epatch_user && eautoreconf + + if use python ; then + cd python + cp "${FILESDIR}"/setup-1.7.0.py setup.py || die + distutils-r1_src_prepare + fi +} + +src_configure() { + if use kernel ; then + ewarn "Note that kernel backend is very slow for this type of operation" + ewarn "and is provided mainly for embedded systems wanting to avoid" + ewarn "userspace crypto libraries." + fi + + # We disable autotool python integration so we can use eclasses + # for proper integration with multiple python versions. + econf \ + --sbindir=/sbin \ + --enable-shared \ + --disable-python \ + $(use_enable static static-cryptsetup) \ + $(use_enable static-libs static) \ + $(use_enable nls) \ + $(use_enable pwquality) \ + $(use_enable reencrypt cryptsetup-reencrypt) \ + $(use_enable udev) \ + $(use_enable !urandom dev-random) \ + --with-crypto_backend=$(for x in ${CRYPTO_BACKENDS//+/} ; do usev ${x} ; done) + + use python && cd python && distutils-r1_src_configure +} + +src_compile() { + default + use python && cd python && distutils-r1_src_compile +} + +src_test() { + if [[ ! -e /dev/mapper/control ]] ; then + ewarn "No /dev/mapper/control found -- skipping tests" + return 0 + fi + local p + for p in /dev/mapper /dev/loop* ; do + addwrite ${p} + done + default +} + +src_install() { + default + if use static ; then + mv "${ED}"/sbin/cryptsetup{.static,} || die + mv "${ED}"/sbin/veritysetup{.static,} || die + use reencrypt && { mv "${ED}"/sbin/cryptsetup-reencrypt{.static,} || die ; } + fi + prune_libtool_files --modules + + newconfd "${FILESDIR}"/1.6.7-dmcrypt.confd dmcrypt + newinitd "${FILESDIR}"/1.6.7-dmcrypt.rc dmcrypt + + use python && cd python && distutils-r1_src_install +} diff --git a/sys-fs/vhba/vhba-20170610-r1708.ebuild b/sys-fs/vhba/vhba-20170610-r1708.ebuild deleted file mode 100644 index d1c895d2..00000000 --- a/sys-fs/vhba/vhba-20170610-r1708.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit user udev - -MY_P=vhba-module-${PV} -DESCRIPTION="Virtual (SCSI) Host Bus Adapter kernel module for the CDEmu suite" -HOMEPAGE="http://cdemu.org" -SRC_URI="mirror://sourceforge/cdemu/${MY_P}.tar.bz2" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 ~hppa x86" -IUSE="" - -DEPEND="~sys-kernel/${PN}-dkms-${PV}" -RDEPEND="${DEPEND} - virtual/udev - virtual/pkgconfig" - -S=${WORKDIR}/${MY_P} - -pkg_setup() { - enewgroup cdemu -} - -src_prepare() { - : -} - -src_compile() { - : -} - -src_install() { - dodoc AUTHORS ChangeLog README - einfo "Generating udev rules ..." - dodir "$(get_udevdir)"/rules.d - cat > "${D}/$(get_udevdir)"/rules.d/70-vhba.rules <<-EOF || die - # do not edit this file, it will be overwritten on update - # - KERNEL=="vhba_ctl", MODE="0660", OWNER="root", GROUP="cdemu" - EOF -} - -pkg_postinst() { - elog "Don't forget to add your user to the cdemu group if you want to" - elog "be able to use virtual cdemu devices." -} diff --git a/sys-fs/vhba/vhba-20170610-r1710.ebuild b/sys-fs/vhba/vhba-20170610-r1710.ebuild new file mode 100644 index 00000000..d1c895d2 --- /dev/null +++ b/sys-fs/vhba/vhba-20170610-r1710.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit user udev + +MY_P=vhba-module-${PV} +DESCRIPTION="Virtual (SCSI) Host Bus Adapter kernel module for the CDEmu suite" +HOMEPAGE="http://cdemu.org" +SRC_URI="mirror://sourceforge/cdemu/${MY_P}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 ~hppa x86" +IUSE="" + +DEPEND="~sys-kernel/${PN}-dkms-${PV}" +RDEPEND="${DEPEND} + virtual/udev + virtual/pkgconfig" + +S=${WORKDIR}/${MY_P} + +pkg_setup() { + enewgroup cdemu +} + +src_prepare() { + : +} + +src_compile() { + : +} + +src_install() { + dodoc AUTHORS ChangeLog README + einfo "Generating udev rules ..." + dodir "$(get_udevdir)"/rules.d + cat > "${D}/$(get_udevdir)"/rules.d/70-vhba.rules <<-EOF || die + # do not edit this file, it will be overwritten on update + # + KERNEL=="vhba_ctl", MODE="0660", OWNER="root", GROUP="cdemu" + EOF +} + +pkg_postinst() { + elog "Don't forget to add your user to the cdemu group if you want to" + elog "be able to use virtual cdemu devices." +} diff --git a/www-misc/profile-sync-daemon/profile-sync-daemon-5.45.1-r1708.ebuild b/www-misc/profile-sync-daemon/profile-sync-daemon-5.45.1-r1708.ebuild deleted file mode 100644 index ab23c8f9..00000000 --- a/www-misc/profile-sync-daemon/profile-sync-daemon-5.45.1-r1708.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils - -DESCRIPTION="Symlinks and syncs browser profile dirs to RAM." -HOMEPAGE="https://wiki.archlinux.org/index.php/Profile-sync-daemon" -SRC_URI="https://github.com/graysky2/profile-sync-daemon/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2 GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="systemd" - -RDEPEND=" - app-shells/bash - net-misc/rsync - systemd? ( sys-apps/systemd )" - -src_prepare() { - epatch ${FILESDIR}/${P}-openrc-run.patch -} - -src_install() { - emake -j1 DESTDIR="${ED}" \ - install-openrc-all \ - $(usex systemd "install-systemd" "") - - fperms -x /etc/cron.hourly/psd-update -} - -pkg_postinst() { - elog "The cronjob is -x by default." - elog "You might want to set it +x if you don't use" - elog "the systemd provided \"psd-resync.timer\"." -} diff --git a/www-misc/profile-sync-daemon/profile-sync-daemon-5.45.1-r1710.ebuild b/www-misc/profile-sync-daemon/profile-sync-daemon-5.45.1-r1710.ebuild new file mode 100644 index 00000000..6df724c0 --- /dev/null +++ b/www-misc/profile-sync-daemon/profile-sync-daemon-5.45.1-r1710.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils + +DESCRIPTION="Symlinks and syncs browser profile dirs to RAM." +HOMEPAGE="https://wiki.archlinux.org/index.php/Profile-sync-daemon" +SRC_URI="https://github.com/graysky2/profile-sync-daemon/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2 GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="systemd" + +RDEPEND=" + app-shells/bash + net-misc/rsync + systemd? ( sys-apps/systemd )" + +src_prepare() { + default + epatch ${FILESDIR}/${P}-openrc-run.patch +} + +src_install() { + emake -j1 DESTDIR="${ED}" \ + install-openrc-all \ + $(usex systemd "install-systemd" "") + + fperms -x /etc/cron.hourly/psd-update +} + +pkg_postinst() { + elog "The cronjob is -x by default." + elog "You might want to set it +x if you don't use" + elog "the systemd provided \"psd-resync.timer\"." +} -- cgit v1.2.3