From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 105EE158003 for ; Wed, 22 Sep 2021 21:59:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 047B0E0921; Wed, 22 Sep 2021 21:59:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C0647E0921 for ; Wed, 22 Sep 2021 21:59:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BC677342EEB for ; Wed, 22 Sep 2021 21:59:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 56CEBEE for ; Wed, 22 Sep 2021 21:59:30 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1632347949.e4de64c9978b82a66c7d07913a32058f3d54c07d.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/kuroo/, app-portage/kuroo/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-portage/kuroo/files/kuroo-1.2.1-cmake.patch app-portage/kuroo/kuroo-1.2.1.ebuild X-VCS-Directories: app-portage/kuroo/files/ app-portage/kuroo/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: e4de64c9978b82a66c7d07913a32058f3d54c07d X-VCS-Branch: master Date: Wed, 22 Sep 2021 21:59:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a75ccc86-644a-4c3c-bb5a-985ea5509487 X-Archives-Hash: 5d8654b3ed9e7de42321c72c8a5bdbf1 commit: e4de64c9978b82a66c7d07913a32058f3d54c07d Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed Sep 22 21:20:20 2021 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Sep 22 21:59:09 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4de64c9 app-portage/kuroo: Drop bogus dependencies Closes: https://bugs.gentoo.org/811693 Package-Manager: Portage-3.0.23, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner gentoo.org> app-portage/kuroo/files/kuroo-1.2.1-cmake.patch | 108 ++++++++++++++++++++++++ app-portage/kuroo/kuroo-1.2.1.ebuild | 2 + 2 files changed, 110 insertions(+) diff --git a/app-portage/kuroo/files/kuroo-1.2.1-cmake.patch b/app-portage/kuroo/files/kuroo-1.2.1-cmake.patch new file mode 100644 index 00000000000..a84a503f7d7 --- /dev/null +++ b/app-portage/kuroo/files/kuroo-1.2.1-cmake.patch @@ -0,0 +1,108 @@ +Drop bogus dependencies, add implicit. + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -11,25 +11,32 @@ + include(ECMInstallIcons) + include(ECMAddTests) + +-find_package(Qt5Widgets REQUIRED) ++# Works without this explicit declaration but it ought to be here for correctness ++find_package( SQLite3 REQUIRED ) + +-find_package( KF5 ${KF5_MIN_VERSION} REQUIRED +- Auth +- Config +- ConfigWidgets +- CoreAddons +- I18n +- IconThemes +- ItemModels +- ItemViews ++# These are actually all deps of other things ++find_package( Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS ++ Core ++ Gui ++ Widgets ++) ++ ++find_package( KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS ++ # These are all required directly and not provided by any dependencies. It "compiles and works" on the development system with just these + KIO + Notifications + ThreadWeaver + TextWidgets +- Su +- WidgetsAddons +- WindowSystem +- XmlGui ++ # Required in link step ++ XmlGui # MainWindow is XmlGuiWindow ++ ItemViews # TreeWidgetSearchLine ++ # These seem to be provided by deps, but should be direct deps too ++ ConfigWidgets ++ I18n # i18n(QStr) ++ Config # Config dialogs ++ Auth # KAuthExecuteJob &c. ++ CoreAddons # AboutData? Job Process User? ++ WidgetsAddons # Font(Chooser|Requester)? PageWidget? MessageBox ... + ) + + # +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -102,25 +102,37 @@ + kde_enable_exceptions() + + target_link_libraries( kuroo ++ # These are all used directly and not provided by any other dependency. It "compiles and works" on the development system with just these ++ KF5::KIOCore ++ KF5::Notifications ++ KF5::ThreadWeaver ++ KF5::TextWidgets ++ KF5::XmlGui ++ sqlite3 # TODO: use some sort of ORM maybe find_package? ++ KF5::ItemViews ++ # Builds without these specified, but they should be necessary + Qt5::Core ++ Qt5::Gui ++ Qt5::Widgets + KF5::Auth ++ KF5::AuthCore + KF5::ConfigCore + KF5::ConfigGui ++ KF5::ConfigWidgets + KF5::CoreAddons + KF5::I18n +- KF5::ItemViews +- KF5::KIOCore +- KF5::Notifications +- KF5::ThreadWeaver +- KF5::TextWidgets + KF5::WidgetsAddons +- KF5::WindowSystem +- KF5::XmlGui +- sqlite3 + ) + + add_executable( kuroo_helper auth/kuroohelper.cpp ) +-target_link_libraries( kuroo_helper Qt5::Core KF5::KIOCore KF5::Auth KF5::CoreAddons ) ++target_link_libraries( kuroo_helper ++ # These are all used directly and not provided by any other dependency. It "compiles and works" on the development system with just these ++ KF5::KIOCore ++ KF5::Auth ++ # Builds without explicit declaration, but these make sense ++ Qt5::Core ++ KF5::CoreAddons # KProcess ++) + install( TARGETS kuroo_helper DESTINATION ${KAUTH_HELPER_INSTALL_DIR} ) + kauth_install_helper_files( kuroo_helper org.gentoo.portage.kuroo root ) + kauth_install_actions( org.gentoo.portage.kuroo auth/org.gentoo.portage.kuroo.actions ) +@@ -139,6 +151,6 @@ + ########### install ############### + install( TARGETS kuroo ${INSTALL_TARGETS_DEFAULT_ARGS} ) + #install( FILES DESTINATION ${DATA_INSTALL_DIR}/autostart ) +-install( FILES config/kurooconfig.kcfg DESTINATION ${KCFG_INSTALL_DIR} ) ++install( FILES config/kurooconfig.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR} ) + install( FILES kurooui.rc DESTINATION ${KXMLGUI_INSTALL_DIR}/kuroo ) + install( FILES kuroo.desktop DESTINATION ${XDG_APPS_INSTALL_DIR}/System ) diff --git a/app-portage/kuroo/kuroo-1.2.1.ebuild b/app-portage/kuroo/kuroo-1.2.1.ebuild index 8924ea2ecde..c8ec7215a7e 100644 --- a/app-portage/kuroo/kuroo-1.2.1.ebuild +++ b/app-portage/kuroo/kuroo-1.2.1.ebuild @@ -38,6 +38,8 @@ RDEPEND="${DEPEND} kde-apps/kompare:5 " +PATCHES=( "${FILESDIR}/${P}-cmake.patch" ) # bug 811693 + pkg_postinst() { if ! has_version app-admin/logrotate ; then elog "Installing app-admin/logrotate is recommended to keep"