public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-portage/kuroo/, app-portage/kuroo/files/
@ 2018-04-10 14:35 Andreas Sturmlechner
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Sturmlechner @ 2018-04-10 14:35 UTC (permalink / raw
  To: gentoo-commits

commit:     af27a97234f9f92c11cda8e5d9d25de0728f68c6
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 10 14:34:36 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Apr 10 14:35:45 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af27a972

app-portage/kuroo: Add 0.90.5_p20180410 snapshot

Closes: https://bugs.gentoo.org/652592
Package-Manager: Portage-2.3.28, Repoman-2.3.9

 app-portage/kuroo/Manifest                         |  1 +
 .../files/kuroo-0.90.5_p20180410-qt-5.11.patch     | 42 +++++++++++++++
 app-portage/kuroo/kuroo-0.90.5_p20180410.ebuild    | 59 ++++++++++++++++++++++
 3 files changed, 102 insertions(+)

diff --git a/app-portage/kuroo/Manifest b/app-portage/kuroo/Manifest
index 8ca3dd943a6..7cdf7cf9416 100644
--- a/app-portage/kuroo/Manifest
+++ b/app-portage/kuroo/Manifest
@@ -1 +1,2 @@
 DIST kuroo-0.90.5_p20180106.tar.xz 242108 BLAKE2B 6f72ed347f98cfffa3cf3d965065b25b72607111d04952cf821b97cd6b73944b930af1e61955ddb0df6e7fdf91b3901d14b016de76971a95bf9bb36e9e00f355 SHA512 10431273357098e236c11253f456cee0320115108e058d0c31383f709b0488402ced368380dfe1fc30844cac7619da974f526ec22cea95361187c61d1fe67c61
+DIST kuroo-0.90.5_p20180410.tar.xz 241920 BLAKE2B d182df57f0c6628b849f6f6e4d7919281117396ea30360e6eb0993b3c61ba67956a8e0648926f77e23d8222a8337108599f657cb7e49091fd51b98febb6593ce SHA512 f1894c90b8b6df06818cab6cc3fb55a3348f8a9df669b515796dabe9a0df3773d69ba89a4aa3569250b2fb379c1169d8789c82fcd3868ddb9f640f010aee811d

diff --git a/app-portage/kuroo/files/kuroo-0.90.5_p20180410-qt-5.11.patch b/app-portage/kuroo/files/kuroo-0.90.5_p20180410-qt-5.11.patch
new file mode 100644
index 00000000000..b7a146e2009
--- /dev/null
+++ b/app-portage/kuroo/files/kuroo-0.90.5_p20180410-qt-5.11.patch
@@ -0,0 +1,42 @@
+From 77941829f2aba22e05142a47b689e17d594da610 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Tue, 10 Apr 2018 16:27:47 +0200
+Subject: [PATCH] Fix build with Qt 5.11
+
+---
+ src/core/categorieslistview.cpp | 5 +++--
+ src/core/versionview.cpp        | 1 +
+ 2 files changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/src/core/categorieslistview.cpp b/src/core/categorieslistview.cpp
+index d499397..1246aad 100644
+--- a/src/core/categorieslistview.cpp
++++ b/src/core/categorieslistview.cpp
+@@ -22,9 +22,10 @@
+ #include "categorieslistview.h"
+ 
+ #include <qpainter.h>
+-#include <QTreeWidget>
+-#include <QScrollBar>
+ #include <QFrame>
++#include <QHeaderView>
++#include <QScrollBar>
++#include <QTreeWidget>
+ 
+ #include <kglobal.h>
+ 
+diff --git a/src/core/versionview.cpp b/src/core/versionview.cpp
+index 1a2b701..e83e265 100644
+--- a/src/core/versionview.cpp
++++ b/src/core/versionview.cpp
+@@ -21,6 +21,7 @@
+ #include "common.h"
+ #include "versionview.h"
+ 
++#include <QHeaderView>
+ #include <QTreeWidget>
+ 
+ VersionView::VersionItem::VersionItem( QTreeWidget* parent, const QString& version, const bool& isInstalled, const int& stability )
+-- 
+2.17.0
+

diff --git a/app-portage/kuroo/kuroo-0.90.5_p20180410.ebuild b/app-portage/kuroo/kuroo-0.90.5_p20180410.ebuild
new file mode 100644
index 00000000000..0a8e445eadb
--- /dev/null
+++ b/app-portage/kuroo/kuroo-0.90.5_p20180410.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Graphical Portage frontend based on KDE Frameworks"
+HOMEPAGE="https://sourceforge.net/projects/kuroo/"
+SRC_URI="https://dev.gentoo.org/~asturm/distfiles/${P}.tar.xz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+COMMON_DEPEND="
+	dev-db/sqlite:3
+	dev-qt/qtcore:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+	kde-frameworks/kconfig:5
+	kde-frameworks/kconfigwidgets:5
+	kde-frameworks/kcoreaddons:5
+	kde-frameworks/kdelibs4support:5
+	kde-frameworks/ki18n:5
+	kde-frameworks/kio:5
+	kde-frameworks/kitemviews:5
+	kde-frameworks/knotifications:5
+	kde-frameworks/ktextwidgets:5
+	kde-frameworks/kwidgetsaddons:5
+	kde-frameworks/kxmlgui:5
+	kde-frameworks/threadweaver:5
+"
+RDEPEND="${COMMON_DEPEND}
+	app-portage/gentoolkit
+	kde-apps/kompare:5
+	kde-plasma/kde-cli-tools:5[kdesu]
+"
+DEPEND="${COMMON_DEPEND}
+	kde-frameworks/extra-cmake-modules:5
+"
+
+PATCHES=( "${FILESDIR}/${P}-qt-5.11.patch" )
+
+pkg_postinst() {
+	if ! has_version app-admin/logrotate ; then
+		elog "Installing app-admin/logrotate is recommended to keep"
+		elog "portage's summary.log size reasonable to view in the history page."
+	fi
+
+	xdg_mimeinfo_database_update
+	xdg_desktop_database_update
+}
+
+pkg_postrm() {
+	xdg_mimeinfo_database_update
+	xdg_desktop_database_update
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-portage/kuroo/, app-portage/kuroo/files/
@ 2021-09-22 21:59 Andreas Sturmlechner
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Sturmlechner @ 2021-09-22 21:59 UTC (permalink / raw
  To: gentoo-commits

commit:     e4de64c9978b82a66c7d07913a32058f3d54c07d
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 22 21:20:20 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> 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 <asturm <AT> 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"


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-portage/kuroo/, app-portage/kuroo/files/
@ 2022-10-06  9:27 Andreas Sturmlechner
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Sturmlechner @ 2022-10-06  9:27 UTC (permalink / raw
  To: gentoo-commits

commit:     2389583a7acad72506afd72a880c168c712b9595
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  6 09:26:27 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Oct  6 09:26:49 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2389583a

app-portage/kuroo: drop 1.2.1-r1

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 app-portage/kuroo/Manifest                      |   1 -
 app-portage/kuroo/files/kuroo-1.2.1-cmake.patch | 108 ------------------------
 app-portage/kuroo/kuroo-1.2.1-r1.ebuild         |  50 -----------
 3 files changed, 159 deletions(-)

diff --git a/app-portage/kuroo/Manifest b/app-portage/kuroo/Manifest
index 441e9a051b30..c0b12acacf38 100644
--- a/app-portage/kuroo/Manifest
+++ b/app-portage/kuroo/Manifest
@@ -1,2 +1 @@
-DIST kuroo-1.2.1.tar.xz 247540 BLAKE2B 69c8a85cd58347b835039f4bc6929abb71baf517ee1de8b10779d4ba08b997bd46a8e0a5b1c55ea2847d80ab58ed336e524cf53cf707416a6182a0dcbd84abc9 SHA512 3815fcdb27c234669accd3abf0f6f252194d680bc1c18f13e66c428cfcef50685019b19ca8fe20fec1b633e6ed224620cf67eea8a29f593b33760d19657d2d24
 DIST kuroo-1.2.2.tar.xz 250284 BLAKE2B 57bb80fde83e4506b0e8e9230a9e619ec887327779e1d9700e51bd534fa3d14ab51d3d80aad1def1a67cc14fd446f84f1ea551919578bf7f92cbb5dc4368e172 SHA512 6120508d77fe2b6787aa62994327882bd7abd0a08bfce0905920ab17b7837aabfa271c572377fe16131dd9770e5fd45c82409c6aeae5f27f8c0eb33d4e0cdb4c

diff --git a/app-portage/kuroo/files/kuroo-1.2.1-cmake.patch b/app-portage/kuroo/files/kuroo-1.2.1-cmake.patch
deleted file mode 100644
index a84a503f7d7d..000000000000
--- a/app-portage/kuroo/files/kuroo-1.2.1-cmake.patch
+++ /dev/null
@@ -1,108 +0,0 @@
-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-r1.ebuild b/app-portage/kuroo/kuroo-1.2.1-r1.ebuild
deleted file mode 100644
index 9beef337fe4c..000000000000
--- a/app-portage/kuroo/kuroo-1.2.1-r1.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KFMIN=5.85.0
-inherit ecm
-
-DESCRIPTION="Graphical Portage frontend based on KDE Frameworks"
-HOMEPAGE="https://sourceforge.net/projects/kuroo/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="
-	dev-db/sqlite:3
-	dev-qt/qtgui:5
-	dev-qt/qtwidgets:5
-	>=kde-frameworks/kauth-${KFMIN}:5
-	>=kde-frameworks/kconfig-${KFMIN}:5
-	>=kde-frameworks/kconfigwidgets-${KFMIN}:5
-	>=kde-frameworks/kcoreaddons-${KFMIN}:5
-	>=kde-frameworks/ki18n-${KFMIN}:5
-	>=kde-frameworks/kio-${KFMIN}:5
-	>=kde-frameworks/kitemviews-${KFMIN}:5
-	>=kde-frameworks/knotifications-${KFMIN}:5
-	>=kde-frameworks/ktextwidgets-${KFMIN}:5
-	>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
-	>=kde-frameworks/kxmlgui-${KFMIN}:5
-	>=kde-frameworks/threadweaver-${KFMIN}:5
-"
-RDEPEND="${DEPEND}
-	app-portage/gentoolkit
-	kde-apps/kompare:5
-"
-BDEPEND=">=kde-frameworks/extra-cmake-modules-${KFMIN}: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"
-		elog "portage's summary.log size reasonable to view in the history page."
-	fi
-
-	ecm_pkg_postinst
-}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-10-06  9:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-06  9:27 [gentoo-commits] repo/gentoo:master commit in: app-portage/kuroo/, app-portage/kuroo/files/ Andreas Sturmlechner
  -- strict thread matches above, loose matches on Subject: below --
2021-09-22 21:59 Andreas Sturmlechner
2018-04-10 14:35 Andreas Sturmlechner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox