From 7623b8b96d81e5a06582627a3c16184aa9a407dd Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 4 Dec 2017 16:10:22 +0000 Subject: lower revisions --- app-admin/keepassxc/keepassxc-2.2.2-r1.ebuild | 78 ++++++++++ app-admin/keepassxc/keepassxc-2.2.2-r1710.ebuild | 78 ---------- .../openrc-settingsd-1.0.1-r1.ebuild | 55 +++++++ .../openrc-settingsd-1.0.1-r1710.ebuild | 55 ------- .../qt5-fsarchiver/qt5-fsarchiver-0.8.1-r1.ebuild | 63 ++++++++ .../qt5-fsarchiver-0.8.1-r1710.ebuild | 63 -------- app-crypt/libsecret/libsecret-0.18.5-r1.ebuild | 61 ++++++++ app-crypt/libsecret/libsecret-0.18.5-r1710.ebuild | 61 -------- dev-python/wxpython/wxpython-3.0.2.0-r1.ebuild | 159 +++++++++++++++++++++ dev-python/wxpython/wxpython-3.0.2.0-r1710.ebuild | 159 --------------------- sys-fs/cryptsetup/cryptsetup-1.7.5-r1.ebuild | 126 ++++++++++++++++ sys-fs/cryptsetup/cryptsetup-1.7.5-r1710.ebuild | 126 ---------------- sys-power/bbswitch/bbswitch-0.8-r1710.ebuild | 24 ---- sys-power/bbswitch/bbswitch-0.8-r2.ebuild | 24 ++++ x11-misc/sddm/sddm-0.14.0-r1710.ebuild | 95 ------------ x11-misc/sddm/sddm-0.14.0-r3.ebuild | 95 ++++++++++++ x11-terms/xterm/xterm-327-r1.ebuild | 91 ++++++++++++ x11-terms/xterm/xterm-327-r1710.ebuild | 91 ------------ 18 files changed, 752 insertions(+), 752 deletions(-) create mode 100644 app-admin/keepassxc/keepassxc-2.2.2-r1.ebuild delete mode 100644 app-admin/keepassxc/keepassxc-2.2.2-r1710.ebuild create mode 100644 app-admin/openrc-settingsd/openrc-settingsd-1.0.1-r1.ebuild delete mode 100644 app-admin/openrc-settingsd/openrc-settingsd-1.0.1-r1710.ebuild create mode 100644 app-backup/qt5-fsarchiver/qt5-fsarchiver-0.8.1-r1.ebuild delete mode 100644 app-backup/qt5-fsarchiver/qt5-fsarchiver-0.8.1-r1710.ebuild create mode 100644 app-crypt/libsecret/libsecret-0.18.5-r1.ebuild delete mode 100644 app-crypt/libsecret/libsecret-0.18.5-r1710.ebuild create mode 100644 dev-python/wxpython/wxpython-3.0.2.0-r1.ebuild delete mode 100644 dev-python/wxpython/wxpython-3.0.2.0-r1710.ebuild create mode 100644 sys-fs/cryptsetup/cryptsetup-1.7.5-r1.ebuild delete mode 100644 sys-fs/cryptsetup/cryptsetup-1.7.5-r1710.ebuild delete mode 100644 sys-power/bbswitch/bbswitch-0.8-r1710.ebuild create mode 100644 sys-power/bbswitch/bbswitch-0.8-r2.ebuild delete mode 100644 x11-misc/sddm/sddm-0.14.0-r1710.ebuild create mode 100644 x11-misc/sddm/sddm-0.14.0-r3.ebuild create mode 100644 x11-terms/xterm/xterm-327-r1.ebuild delete mode 100644 x11-terms/xterm/xterm-327-r1710.ebuild diff --git a/app-admin/keepassxc/keepassxc-2.2.2-r1.ebuild b/app-admin/keepassxc/keepassxc-2.2.2-r1.ebuild new file mode 100644 index 00000000..22e6fe7f --- /dev/null +++ b/app-admin/keepassxc/keepassxc-2.2.2-r1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +SCM="" +[[ "${PV}" == 9999 ]] && SCM="git-r3" +inherit cmake-utils gnome2-utils xdg-utils ${SCM} +unset SCM + +DESCRIPTION="KeePassXC - KeePass Cross-platform Community Edition" +HOMEPAGE="https://keepassxc.org" + +if [[ "${PV}" != 9999 ]] ; then + SRC_URI="https://github.com/keepassxreboot/keepassxc/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +else + EGIT_REPO_URI="https://github.com/keepassxreboot/${PN}" +fi + +LICENSE="LGPL-2.1 GPL-2 GPL-3" +SLOT="0" +IUSE="autotype debug http test yubikey" + +RDEPEND=" + dev-libs/libgcrypt:= + dev-libs/json-c + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + sys-libs/zlib + autotype? ( + dev-qt/qtx11extras:5 + x11-libs/libX11 + x11-libs/libXi + x11-libs/libXtst + ) + yubikey? ( sys-auth/ykpers ) +" + +DEPEND=" + ${RDEPEND} + dev-qt/linguist-tools:5 + dev-qt/qtconcurrent:5 + test? ( dev-qt/qttest:5 ) +" + +src_prepare() { + use test || \ + sed -e "/^find_package(Qt5Test/d" -i CMakeLists.txt || die + + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DWITH_GUI_TESTS=OFF + -DWITH_TESTS="$(usex test)" + -DWITH_XC_AUTOTYPE="$(usex autotype)" + -DWITH_XC_HTTP="$(usex http)" + -DWITH_XC_YUBIKEY="$(usex yubikey)" + ) + cmake-utils_src_configure +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update +} diff --git a/app-admin/keepassxc/keepassxc-2.2.2-r1710.ebuild b/app-admin/keepassxc/keepassxc-2.2.2-r1710.ebuild deleted file mode 100644 index 22e6fe7f..00000000 --- a/app-admin/keepassxc/keepassxc-2.2.2-r1710.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -SCM="" -[[ "${PV}" == 9999 ]] && SCM="git-r3" -inherit cmake-utils gnome2-utils xdg-utils ${SCM} -unset SCM - -DESCRIPTION="KeePassXC - KeePass Cross-platform Community Edition" -HOMEPAGE="https://keepassxc.org" - -if [[ "${PV}" != 9999 ]] ; then - SRC_URI="https://github.com/keepassxreboot/keepassxc/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -else - EGIT_REPO_URI="https://github.com/keepassxreboot/${PN}" -fi - -LICENSE="LGPL-2.1 GPL-2 GPL-3" -SLOT="0" -IUSE="autotype debug http test yubikey" - -RDEPEND=" - dev-libs/libgcrypt:= - dev-libs/json-c - dev-qt/qtcore:5 - dev-qt/qtdbus:5 - dev-qt/qtgui:5 - dev-qt/qtnetwork:5 - dev-qt/qtwidgets:5 - sys-libs/zlib - autotype? ( - dev-qt/qtx11extras:5 - x11-libs/libX11 - x11-libs/libXi - x11-libs/libXtst - ) - yubikey? ( sys-auth/ykpers ) -" - -DEPEND=" - ${RDEPEND} - dev-qt/linguist-tools:5 - dev-qt/qtconcurrent:5 - test? ( dev-qt/qttest:5 ) -" - -src_prepare() { - use test || \ - sed -e "/^find_package(Qt5Test/d" -i CMakeLists.txt || die - - cmake-utils_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DWITH_GUI_TESTS=OFF - -DWITH_TESTS="$(usex test)" - -DWITH_XC_AUTOTYPE="$(usex autotype)" - -DWITH_XC_HTTP="$(usex http)" - -DWITH_XC_YUBIKEY="$(usex yubikey)" - ) - cmake-utils_src_configure -} - -pkg_postinst() { - gnome2_icon_cache_update - xdg_desktop_database_update - xdg_mimeinfo_database_update -} - -pkg_postrm() { - gnome2_icon_cache_update - xdg_desktop_database_update - xdg_mimeinfo_database_update -} diff --git a/app-admin/openrc-settingsd/openrc-settingsd-1.0.1-r1.ebuild b/app-admin/openrc-settingsd/openrc-settingsd-1.0.1-r1.ebuild new file mode 100644 index 00000000..a5934936 --- /dev/null +++ b/app-admin/openrc-settingsd/openrc-settingsd-1.0.1-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +DESCRIPTION="System settings D-Bus service for OpenRC" +HOMEPAGE="https://gnome.gentoo.org/openrc-settingsd.xml" +SRC_URI="https://dev.gentoo.org/~tetromino/distfiles/${PN}/${P}.tar.xz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86" +IUSE="systemd" + +COMMON_DEPEND=">=dev-libs/glib-2.30:2 + dev-libs/libdaemon + sys-apps/dbus + sys-apps/openrc:= + sys-auth/polkit" +RDEPEND="${COMMON_DEPEND} + systemd? ( >=sys-apps/systemd-197 ) + !systemd? ( sys-auth/nss-myhostname !sys-apps/systemd )" +DEPEND="${COMMON_DEPEND} + app-arch/xz-utils + dev-util/gdbus-codegen + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/"${P}"-convert-to-openrc-run.patch +} + +src_configure() { + econf \ + --with-pidfile="${EPREFIX}"/var/run/openrc-settingsd.pid +} + +src_install() { + default + if use systemd; then + # Avoid file collision with systemd + rm -vr "${ED}"usr/share/{dbus-1,polkit-1} "${ED}"etc/dbus-1 || die "rm failed" + fi +} + +pkg_postinst() { + if use systemd; then + elog "You installed ${PN} with USE=systemd. In this mode," + elog "${PN} will not start via simple dbus activation, so you" + elog "will have to manually enable it as an rc service:" + elog " # /etc/init.d/openrc-settingsd start" + elog " # rc-update add openrc-settingsd default" + fi +} diff --git a/app-admin/openrc-settingsd/openrc-settingsd-1.0.1-r1710.ebuild b/app-admin/openrc-settingsd/openrc-settingsd-1.0.1-r1710.ebuild deleted file mode 100644 index a5934936..00000000 --- a/app-admin/openrc-settingsd/openrc-settingsd-1.0.1-r1710.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-backup/qt5-fsarchiver/qt5-fsarchiver-0.8.1-r1.ebuild b/app-backup/qt5-fsarchiver/qt5-fsarchiver-0.8.1-r1.ebuild new file mode 100644 index 00000000..434b02f3 --- /dev/null +++ b/app-backup/qt5-fsarchiver/qt5-fsarchiver-0.8.1-r1.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-backup/qt5-fsarchiver/qt5-fsarchiver-0.8.1-r1710.ebuild b/app-backup/qt5-fsarchiver/qt5-fsarchiver-0.8.1-r1710.ebuild deleted file mode 100644 index 434b02f3..00000000 --- a/app-backup/qt5-fsarchiver/qt5-fsarchiver-0.8.1-r1710.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 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-r1.ebuild b/app-crypt/libsecret/libsecret-0.18.5-r1.ebuild new file mode 100644 index 00000000..9466fb08 --- /dev/null +++ b/app-crypt/libsecret/libsecret-0.18.5-r1.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-crypt/libsecret/libsecret-0.18.5-r1710.ebuild b/app-crypt/libsecret/libsecret-0.18.5-r1710.ebuild deleted file mode 100644 index 9466fb08..00000000 --- a/app-crypt/libsecret/libsecret-0.18.5-r1710.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/dev-python/wxpython/wxpython-3.0.2.0-r1.ebuild b/dev-python/wxpython/wxpython-3.0.2.0-r1.ebuild new file mode 100644 index 00000000..a486c4b2 --- /dev/null +++ b/dev-python/wxpython/wxpython-3.0.2.0-r1.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/dev-python/wxpython/wxpython-3.0.2.0-r1710.ebuild b/dev-python/wxpython/wxpython-3.0.2.0-r1710.ebuild deleted file mode 100644 index a486c4b2..00000000 --- a/dev-python/wxpython/wxpython-3.0.2.0-r1710.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/sys-fs/cryptsetup/cryptsetup-1.7.5-r1.ebuild b/sys-fs/cryptsetup/cryptsetup-1.7.5-r1.ebuild new file mode 100644 index 00000000..503731c5 --- /dev/null +++ b/sys-fs/cryptsetup/cryptsetup-1.7.5-r1.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/cryptsetup/cryptsetup-1.7.5-r1710.ebuild b/sys-fs/cryptsetup/cryptsetup-1.7.5-r1710.ebuild deleted file mode 100644 index 503731c5..00000000 --- a/sys-fs/cryptsetup/cryptsetup-1.7.5-r1710.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-power/bbswitch/bbswitch-0.8-r1710.ebuild b/sys-power/bbswitch/bbswitch-0.8-r1710.ebuild deleted file mode 100644 index b0a25a9f..00000000 --- a/sys-power/bbswitch/bbswitch-0.8-r1710.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit eutils - -DESCRIPTION="Toggle discrete NVIDIA Optimus graphics card" -HOMEPAGE="https://github.com/Bumblebee-Project/bbswitch" -SLOT="0" -LICENSE="GPL-3+" -KEYWORDS="amd64 x86" -IUSE="" - -DEPEND="~sys-kernel/${PN}-dkms-${PV}" -RDEPEND="${DEPEND}" - -S=${WORKDIR} - -src_install() { - insinto /etc/modprobe.d - newins "${FILESDIR}"/bbswitch.modprobe bbswitch.conf -} diff --git a/sys-power/bbswitch/bbswitch-0.8-r2.ebuild b/sys-power/bbswitch/bbswitch-0.8-r2.ebuild new file mode 100644 index 00000000..b0a25a9f --- /dev/null +++ b/sys-power/bbswitch/bbswitch-0.8-r2.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils + +DESCRIPTION="Toggle discrete NVIDIA Optimus graphics card" +HOMEPAGE="https://github.com/Bumblebee-Project/bbswitch" +SLOT="0" +LICENSE="GPL-3+" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="~sys-kernel/${PN}-dkms-${PV}" +RDEPEND="${DEPEND}" + +S=${WORKDIR} + +src_install() { + insinto /etc/modprobe.d + newins "${FILESDIR}"/bbswitch.modprobe bbswitch.conf +} diff --git a/x11-misc/sddm/sddm-0.14.0-r1710.ebuild b/x11-misc/sddm/sddm-0.14.0-r1710.ebuild deleted file mode 100644 index 9337a0a9..00000000 --- a/x11-misc/sddm/sddm-0.14.0-r1710.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit cmake-utils user - -DESCRIPTION="Simple Desktop Display Manager" -HOMEPAGE="https://github.com/sddm/sddm" -SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz" -KEYWORDS="amd64 ~arm x86" - -LICENSE="GPL-2+ MIT CC-BY-3.0 CC-BY-SA-3.0 public-domain" -SLOT="0" -IUSE="+branding consolekit +pam systemd" - -RDEPEND=">=dev-qt/qtcore-5.6:5 - >=dev-qt/qtdbus-5.6:5 - >=dev-qt/qtgui-5.6:5 - >=dev-qt/qtdeclarative-5.6:5 - >=dev-qt/qtnetwork-5.6:5 - >=x11-base/xorg-server-1.15.1 - x11-libs/libxcb[xkb(-)] - branding? ( x11-themes/redcore-theme-sddm ) - consolekit? ( >=sys-auth/consolekit-0.9.4 ) - pam? ( sys-libs/pam ) - systemd? ( sys-apps/systemd:= ) - !systemd? ( || ( sys-power/upower sys-power/upower-pm-utils ) )" - -DEPEND="${RDEPEND} - dev-python/docutils - >=dev-qt/linguist-tools-5.6:5 - >=dev-qt/qttest-5.6:5 - kde-frameworks/extra-cmake-modules - virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}/${PN}-0.13.0-pam_kwallet.patch" - # fix for flags handling and bug 563108 - "${FILESDIR}/${PN}-0.12.0-respect-user-flags.patch" - "${FILESDIR}/${P}-avatars.patch" -) - -pkg_pretend() { - if [[ ${MERGE_TYPE} != binary && $(tc-getCC) == *gcc* ]]; then - if [[ $(gcc-major-version) -lt 4 || $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 7 ]] ; then - die 'The active compiler needs to be gcc 4.7 (or newer)' - fi - fi -} - -src_prepare() { - use consolekit && eapply "${FILESDIR}/${P}-consolekit.patch" - - cmake-utils_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DENABLE_PAM=$(usex pam) - -DNO_SYSTEMD=$(usex '!systemd') - -DBUILD_MAN_PAGES=ON - -DDBUS_CONFIG_FILENAME="org.freedesktop.sddm.conf" - ) - - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile -} - -src_install() { - cmake-utils_src_install - rm -rf ${ED}/etc/sddm.conf - cp -avx ${FILESDIR}/sddm-redcore.conf ${ED}etc/sddm.conf -} - -pkg_postinst() { - enewgroup ${PN} - enewuser ${PN} -1 -1 /var/lib/${PN} ${PN},video - - if use consolekit && use pam && [[ -e "${ROOT}"/etc/pam.d/system-login ]]; then - local line=$(grep "pam_ck_connector.*nox11" "${ROOT}"/etc/pam.d/system-login) - if [[ -z ${line} ]]; then - ewarn - ewarn "Erroneous /etc/pam.d/system-login settings detected!" - ewarn "Please restore 'nox11' option in the line containing pam_ck_connector:" - ewarn - ewarn "session optional pam_ck_connector.so nox11" - ewarn - ewarn "or 'emerge -1 sys-auth/pambase' and run etc-update." - ewarn - fi - fi -} diff --git a/x11-misc/sddm/sddm-0.14.0-r3.ebuild b/x11-misc/sddm/sddm-0.14.0-r3.ebuild new file mode 100644 index 00000000..9337a0a9 --- /dev/null +++ b/x11-misc/sddm/sddm-0.14.0-r3.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit cmake-utils user + +DESCRIPTION="Simple Desktop Display Manager" +HOMEPAGE="https://github.com/sddm/sddm" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz" +KEYWORDS="amd64 ~arm x86" + +LICENSE="GPL-2+ MIT CC-BY-3.0 CC-BY-SA-3.0 public-domain" +SLOT="0" +IUSE="+branding consolekit +pam systemd" + +RDEPEND=">=dev-qt/qtcore-5.6:5 + >=dev-qt/qtdbus-5.6:5 + >=dev-qt/qtgui-5.6:5 + >=dev-qt/qtdeclarative-5.6:5 + >=dev-qt/qtnetwork-5.6:5 + >=x11-base/xorg-server-1.15.1 + x11-libs/libxcb[xkb(-)] + branding? ( x11-themes/redcore-theme-sddm ) + consolekit? ( >=sys-auth/consolekit-0.9.4 ) + pam? ( sys-libs/pam ) + systemd? ( sys-apps/systemd:= ) + !systemd? ( || ( sys-power/upower sys-power/upower-pm-utils ) )" + +DEPEND="${RDEPEND} + dev-python/docutils + >=dev-qt/linguist-tools-5.6:5 + >=dev-qt/qttest-5.6:5 + kde-frameworks/extra-cmake-modules + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${PN}-0.13.0-pam_kwallet.patch" + # fix for flags handling and bug 563108 + "${FILESDIR}/${PN}-0.12.0-respect-user-flags.patch" + "${FILESDIR}/${P}-avatars.patch" +) + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary && $(tc-getCC) == *gcc* ]]; then + if [[ $(gcc-major-version) -lt 4 || $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 7 ]] ; then + die 'The active compiler needs to be gcc 4.7 (or newer)' + fi + fi +} + +src_prepare() { + use consolekit && eapply "${FILESDIR}/${P}-consolekit.patch" + + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DENABLE_PAM=$(usex pam) + -DNO_SYSTEMD=$(usex '!systemd') + -DBUILD_MAN_PAGES=ON + -DDBUS_CONFIG_FILENAME="org.freedesktop.sddm.conf" + ) + + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_install() { + cmake-utils_src_install + rm -rf ${ED}/etc/sddm.conf + cp -avx ${FILESDIR}/sddm-redcore.conf ${ED}etc/sddm.conf +} + +pkg_postinst() { + enewgroup ${PN} + enewuser ${PN} -1 -1 /var/lib/${PN} ${PN},video + + if use consolekit && use pam && [[ -e "${ROOT}"/etc/pam.d/system-login ]]; then + local line=$(grep "pam_ck_connector.*nox11" "${ROOT}"/etc/pam.d/system-login) + if [[ -z ${line} ]]; then + ewarn + ewarn "Erroneous /etc/pam.d/system-login settings detected!" + ewarn "Please restore 'nox11' option in the line containing pam_ck_connector:" + ewarn + ewarn "session optional pam_ck_connector.so nox11" + ewarn + ewarn "or 'emerge -1 sys-auth/pambase' and run etc-update." + ewarn + fi + fi +} diff --git a/x11-terms/xterm/xterm-327-r1.ebuild b/x11-terms/xterm/xterm-327-r1.ebuild new file mode 100644 index 00000000..4ea1002d --- /dev/null +++ b/x11-terms/xterm/xterm-327-r1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils flag-o-matic multilib + +DESCRIPTION="Terminal Emulator for X Windows" +HOMEPAGE="https://invisible-island.net/xterm/" +SRC_URI="ftp://ftp.invisible-island.net/${PN}/${P}.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="+openpty toolbar truetype unicode Xaw3d xinerama" + +COMMON_DEPEND="kernel_linux? ( sys-libs/libutempter ) + kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) ) + >=sys-libs/ncurses-5.7-r7:0= + x11-apps/xmessage + x11-libs/libX11 + x11-libs/libXaw + x11-libs/libXft + x11-libs/libxkbfile + x11-libs/libXmu + x11-libs/libXrender + x11-libs/libXt + unicode? ( x11-apps/luit ) + Xaw3d? ( x11-libs/libXaw3d ) + xinerama? ( x11-libs/libXinerama )" +RDEPEND="${COMMON_DEPEND} + media-fonts/font-misc-misc + x11-apps/rgb" +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig + x11-proto/kbproto + x11-proto/xproto" + +DOCS=( README{,.i18n} ctlseqs.txt ) + +pkg_setup() { + DEFAULTS_DIR="${EPREFIX}"/usr/share/X11/app-defaults +} + +src_configure() { + # 454736 + # Workaround for ncurses[tinfo] until upstream fixes their buildsystem using + # something sane like pkg-config or ncurses5-config and stops guessing libs + # Everything gets linked against ncurses anyways, so don't shout + append-libs $(pkg-config --libs ncurses) + + econf \ + --libdir="${EPREFIX}"/etc \ + --disable-full-tgetent \ + --with-app-defaults="${DEFAULTS_DIR}" \ + --disable-setuid \ + --disable-setgid \ + --with-utempter \ + --with-x \ + $(use_with Xaw3d) \ + $(use_with xinerama) \ + --disable-imake \ + --enable-256-color \ + --enable-broken-osc \ + --enable-broken-st \ + --enable-exec-xterm \ + $(use_enable truetype freetype) \ + --enable-i18n \ + --enable-load-vt-fonts \ + --enable-logging \ + $(use_enable openpty) \ + $(use_enable toolbar) \ + $(use_enable unicode mini-luit) \ + $(use_enable unicode luit) \ + --enable-wide-chars \ + --enable-dabbrev \ + --enable-warnings +} + +src_install() { + default + + # Fix permissions -- it grabs them from live system, and they can + # be suid or sgid like they were in pre-unix98 pty or pre-utempter days, + # respectively (#69510). + # (info from Thomas Dickey) - Donnie Berkholz + fperms 0755 /usr/bin/xterm + + # restore the navy blue + sed -i -e "s:blue2$:blue:" "${D}${DEFAULTS_DIR}"/XTerm-color || die +} diff --git a/x11-terms/xterm/xterm-327-r1710.ebuild b/x11-terms/xterm/xterm-327-r1710.ebuild deleted file mode 100644 index 4ea1002d..00000000 --- a/x11-terms/xterm/xterm-327-r1710.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils flag-o-matic multilib - -DESCRIPTION="Terminal Emulator for X Windows" -HOMEPAGE="https://invisible-island.net/xterm/" -SRC_URI="ftp://ftp.invisible-island.net/${PN}/${P}.tgz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="+openpty toolbar truetype unicode Xaw3d xinerama" - -COMMON_DEPEND="kernel_linux? ( sys-libs/libutempter ) - kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) ) - >=sys-libs/ncurses-5.7-r7:0= - x11-apps/xmessage - x11-libs/libX11 - x11-libs/libXaw - x11-libs/libXft - x11-libs/libxkbfile - x11-libs/libXmu - x11-libs/libXrender - x11-libs/libXt - unicode? ( x11-apps/luit ) - Xaw3d? ( x11-libs/libXaw3d ) - xinerama? ( x11-libs/libXinerama )" -RDEPEND="${COMMON_DEPEND} - media-fonts/font-misc-misc - x11-apps/rgb" -DEPEND="${COMMON_DEPEND} - virtual/pkgconfig - x11-proto/kbproto - x11-proto/xproto" - -DOCS=( README{,.i18n} ctlseqs.txt ) - -pkg_setup() { - DEFAULTS_DIR="${EPREFIX}"/usr/share/X11/app-defaults -} - -src_configure() { - # 454736 - # Workaround for ncurses[tinfo] until upstream fixes their buildsystem using - # something sane like pkg-config or ncurses5-config and stops guessing libs - # Everything gets linked against ncurses anyways, so don't shout - append-libs $(pkg-config --libs ncurses) - - econf \ - --libdir="${EPREFIX}"/etc \ - --disable-full-tgetent \ - --with-app-defaults="${DEFAULTS_DIR}" \ - --disable-setuid \ - --disable-setgid \ - --with-utempter \ - --with-x \ - $(use_with Xaw3d) \ - $(use_with xinerama) \ - --disable-imake \ - --enable-256-color \ - --enable-broken-osc \ - --enable-broken-st \ - --enable-exec-xterm \ - $(use_enable truetype freetype) \ - --enable-i18n \ - --enable-load-vt-fonts \ - --enable-logging \ - $(use_enable openpty) \ - $(use_enable toolbar) \ - $(use_enable unicode mini-luit) \ - $(use_enable unicode luit) \ - --enable-wide-chars \ - --enable-dabbrev \ - --enable-warnings -} - -src_install() { - default - - # Fix permissions -- it grabs them from live system, and they can - # be suid or sgid like they were in pre-unix98 pty or pre-utempter days, - # respectively (#69510). - # (info from Thomas Dickey) - Donnie Berkholz - fperms 0755 /usr/bin/xterm - - # restore the navy blue - sed -i -e "s:blue2$:blue:" "${D}${DEFAULTS_DIR}"/XTerm-color || die -} -- cgit v1.2.3