From 854ab0c30e52f7498c2487ebc6aa00363badf659 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 31 Dec 2018 15:06:39 +0000 Subject: do some cleaning, update README --- README.md | 23 ++++++ app-admin/keepassxc/Manifest | 1 - ...-2.3.3-qt-5.11-edit-entry-widget-includes.patch | 10 --- app-admin/keepassxc/keepassxc-2.3.4-r1.ebuild | 86 ---------------------- app-crypt/libsecret/libsecret-0.18.6-r1.ebuild | 74 ------------------- app-crypt/libsecret/libsecret-0.18.6-r1337.ebuild | 74 +++++++++++++++++++ .../lxappearance/lxappearance-0.6.3-r1.ebuild | 30 -------- .../lxappearance/lxappearance-0.6.3-r1337.ebuild | 30 ++++++++ .../profile-sync-daemon-5.45.1-r1.ebuild | 39 ---------- .../profile-sync-daemon-5.45.1-r1337.ebuild | 39 ++++++++++ 10 files changed, 166 insertions(+), 240 deletions(-) delete mode 100644 app-admin/keepassxc/Manifest delete mode 100644 app-admin/keepassxc/files/keepassxc-2.3.3-qt-5.11-edit-entry-widget-includes.patch delete mode 100644 app-admin/keepassxc/keepassxc-2.3.4-r1.ebuild delete mode 100644 app-crypt/libsecret/libsecret-0.18.6-r1.ebuild create mode 100644 app-crypt/libsecret/libsecret-0.18.6-r1337.ebuild delete mode 100644 lxde-base/lxappearance/lxappearance-0.6.3-r1.ebuild create mode 100644 lxde-base/lxappearance/lxappearance-0.6.3-r1337.ebuild delete mode 100644 www-misc/profile-sync-daemon/profile-sync-daemon-5.45.1-r1.ebuild create mode 100644 www-misc/profile-sync-daemon/profile-sync-daemon-5.45.1-r1337.ebuild diff --git a/README.md b/README.md index 4827cde4..56b73823 100644 --- a/README.md +++ b/README.md @@ -1 +1,24 @@ Redcore Linux desktop ebuilds. Mostly stable and safe to use :) + +This overlay contains : + +* home backed ebuilds, not found in Gentoo's portage tree, or any other overlay +* customized Gentoo ebuilds to better suit Redcore's needs (e.g. dkms integration) +* patched Gentoo ebuilds if the ones in portage tree are broken or they have missing dependencies (it happens) + +Policy : + +* The home backed ebuilds will sometimes lack behind upstream releases, we don't actively check for new upstream releases. +But don't worry, we will eventually update them, no ebuild in here is forgotten or unmaintained. Once we loose interest +in one particular ebuild we will simply drop it. We won't keep it in here just because somebody "MAY" eventually use it. + +* Customisation/patching of Gentoo ebuilds will be as minimal as possible. However sometimes we can go wild and completely +change things, like adding/dropping USE flags, apply patches and so on. Most of our changes are USE flag conditional, so +the ebuilds can be used in upstream Gentoo without modification. All you will have to do, is disable our new USE flags. +In Redcore Linux the customised/patched ebuilds will always have priority, and we will apply masks to prevent Gentoo ones +from being pulled in. + +* If our patched ebuilds can be submitted upstream, we will do so, and drop the corresponding ebuild in here, if accepted. +However this is not always the case, as sometimes we will not obey to Gentoo's QA standars. And most of the time we don't +even need to do so, as Gentoo folks are very good at solving issues. So if an ebuild just vanishes from in here, just use +the corresponding Gentoo one. It means our patches are no longer needed. diff --git a/app-admin/keepassxc/Manifest b/app-admin/keepassxc/Manifest deleted file mode 100644 index e2a1f04f..00000000 --- a/app-admin/keepassxc/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST keepassxc-2.3.4-src.tar.xz 4137176 BLAKE2B bbf8dbef5fb365f3c0d9332454b2b3bce7d4e411f43939ae683428ca669a459f1662bb8b1a1da228bc9447ee15349a5cd558e4fdfcc5194f22401f56003fd0f0 SHA512 edca22ef9d7c553d21d8ea6115a5635265176acc56fdf055f1961a3e65046de49ed5b67eb68ecf4f925226fb5bca140d5d473a5082301168f6a8bb7979f562a8 diff --git a/app-admin/keepassxc/files/keepassxc-2.3.3-qt-5.11-edit-entry-widget-includes.patch b/app-admin/keepassxc/files/keepassxc-2.3.3-qt-5.11-edit-entry-widget-includes.patch deleted file mode 100644 index c382db58..00000000 --- a/app-admin/keepassxc/files/keepassxc-2.3.3-qt-5.11-edit-entry-widget-includes.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/src/gui/entry/EditEntryWidget.cpp -+++ b/src/gui/entry/EditEntryWidget.cpp -@@ -32,6 +32,7 @@ - #include - #include - #include -+#include - - #include "autotype/AutoType.h" - #include "core/Config.h" diff --git a/app-admin/keepassxc/keepassxc-2.3.4-r1.ebuild b/app-admin/keepassxc/keepassxc-2.3.4-r1.ebuild deleted file mode 100644 index 1a290675..00000000 --- a/app-admin/keepassxc/keepassxc-2.3.4-r1.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils gnome2-utils xdg-utils - -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" - SRC_URI="https://github.com/keepassxreboot/keepassxc/releases/download/${PV}/${P}-src.tar.xz" - KEYWORDS="~amd64 ~x86" -else - inherit git-r3 - EGIT_REPO_URI="https://github.com/keepassxreboot/${PN}" -fi - -LICENSE="LGPL-2.1 GPL-2 GPL-3" -SLOT="0" -IUSE="autotype browser debug network test yubikey" - -RDEPEND=" - app-crypt/argon2:= - 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 - ) - browser? ( >=dev-libs/libsodium-1.0.12 ) - yubikey? ( sys-auth/ykpers ) -" - -DEPEND=" - ${RDEPEND} - dev-qt/linguist-tools:5 - dev-qt/qttest:5 - dev-qt/qtconcurrent:5 -" - -PATCHES=( - "${FILESDIR}/${PN}-2.3.3-qt-5.11-edit-entry-widget-includes.patch" #655844 -) - -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_BROWSER="$(usex browser)" - -DWITH_XC_HTTP=OFF - -DWITH_XC_NETWORKING="$(usex network)" - -DWITH_XC_SSHAGENT=ON - -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-crypt/libsecret/libsecret-0.18.6-r1.ebuild b/app-crypt/libsecret/libsecret-0.18.6-r1.ebuild deleted file mode 100644 index ac5db50c..00000000 --- a/app-crypt/libsecret/libsecret-0.18.6-r1.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -GCONF_DEBUG="yes" -PYTHON_COMPAT=( python3_{4,5,6} ) -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? ( - $(python_gen_any_dep ' - dev-python/mock[${PYTHON_USEDEP}] - dev-python/dbus-python[${PYTHON_USEDEP}] - introspection? ( dev-python/pygobject:3[${PYTHON_USEDEP}] )') - introspection? ( >=dev-libs/gjs-1.32 ) - ) - vala? ( $(vala_depend) ) -" - -python_check_deps() { - if use introspection; then - has_version --host-root "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return - fi - has_version --host-root "dev-python/mock[${PYTHON_USEDEP}]" && - has_version --host-root "dev-python/dbus-python[${PYTHON_USEDEP}]" -} - -pkg_setup() { - use test && python-any-r1_pkg_setup -} - -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.6-r1337.ebuild b/app-crypt/libsecret/libsecret-0.18.6-r1337.ebuild new file mode 100644 index 00000000..ac5db50c --- /dev/null +++ b/app-crypt/libsecret/libsecret-0.18.6-r1337.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +GCONF_DEBUG="yes" +PYTHON_COMPAT=( python3_{4,5,6} ) +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? ( + $(python_gen_any_dep ' + dev-python/mock[${PYTHON_USEDEP}] + dev-python/dbus-python[${PYTHON_USEDEP}] + introspection? ( dev-python/pygobject:3[${PYTHON_USEDEP}] )') + introspection? ( >=dev-libs/gjs-1.32 ) + ) + vala? ( $(vala_depend) ) +" + +python_check_deps() { + if use introspection; then + has_version --host-root "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return + fi + has_version --host-root "dev-python/mock[${PYTHON_USEDEP}]" && + has_version --host-root "dev-python/dbus-python[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +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/lxde-base/lxappearance/lxappearance-0.6.3-r1.ebuild b/lxde-base/lxappearance/lxappearance-0.6.3-r1.ebuild deleted file mode 100644 index 612b0af7..00000000 --- a/lxde-base/lxappearance/lxappearance-0.6.3-r1.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -DESCRIPTION="LXDE GTK+ theme switcher" -HOMEPAGE="http://lxde.sourceforge.net" -SRC_URI="mirror://sourceforge/lxde/${P}.tar.xz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~mips ppc x86 ~amd64-linux ~arm-linux ~x86-linux" -IUSE="dbus" - -RDEPEND="x11-libs/gtk+:2 - dbus? ( dev-libs/dbus-glib )" -DEPEND="${RDEPEND} - virtual/pkgconfig - dev-util/intltool - sys-devel/gettext" - -src_prepare() { - default - eapply "${FILESDIR}"/"${PN}"-desktop.patch -} - -src_configure() { - econf \ - $(use_enable dbus) -} diff --git a/lxde-base/lxappearance/lxappearance-0.6.3-r1337.ebuild b/lxde-base/lxappearance/lxappearance-0.6.3-r1337.ebuild new file mode 100644 index 00000000..612b0af7 --- /dev/null +++ b/lxde-base/lxappearance/lxappearance-0.6.3-r1337.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="LXDE GTK+ theme switcher" +HOMEPAGE="http://lxde.sourceforge.net" +SRC_URI="mirror://sourceforge/lxde/${P}.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 ~mips ppc x86 ~amd64-linux ~arm-linux ~x86-linux" +IUSE="dbus" + +RDEPEND="x11-libs/gtk+:2 + dbus? ( dev-libs/dbus-glib )" +DEPEND="${RDEPEND} + virtual/pkgconfig + dev-util/intltool + sys-devel/gettext" + +src_prepare() { + default + eapply "${FILESDIR}"/"${PN}"-desktop.patch +} + +src_configure() { + econf \ + $(use_enable dbus) +} diff --git a/www-misc/profile-sync-daemon/profile-sync-daemon-5.45.1-r1.ebuild b/www-misc/profile-sync-daemon/profile-sync-daemon-5.45.1-r1.ebuild deleted file mode 100644 index 6df724c0..00000000 --- a/www-misc/profile-sync-daemon/profile-sync-daemon-5.45.1-r1.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# 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\"." -} diff --git a/www-misc/profile-sync-daemon/profile-sync-daemon-5.45.1-r1337.ebuild b/www-misc/profile-sync-daemon/profile-sync-daemon-5.45.1-r1337.ebuild new file mode 100644 index 00000000..6df724c0 --- /dev/null +++ b/www-misc/profile-sync-daemon/profile-sync-daemon-5.45.1-r1337.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