public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/kde-sunset:master commit in: kde-misc/kgrubeditor/
@ 2017-01-16 22:27 Johannes Huber
  0 siblings, 0 replies; 2+ messages in thread
From: Johannes Huber @ 2017-01-16 22:27 UTC (permalink / raw
  To: gentoo-commits

commit:     d100f44b1e9e3741e0938e30829285a3e6153ed4
Author:     Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 16 22:24:37 2017 +0000
Commit:     Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Mon Jan 16 22:24:37 2017 +0000
URL:        https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=d100f44b

kde-misc/kgrubeditor: Import latest from gentoo main tree

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 kde-misc/kgrubeditor/kgrubeditor-0.8.5.ebuild | 27 +++++++++++++++++++++++++++
 kde-misc/kgrubeditor/metadata.xml             |  8 ++++++++
 2 files changed, 35 insertions(+)

diff --git a/kde-misc/kgrubeditor/kgrubeditor-0.8.5.ebuild b/kde-misc/kgrubeditor/kgrubeditor-0.8.5.ebuild
new file mode 100644
index 0000000..31a1f31
--- /dev/null
+++ b/kde-misc/kgrubeditor/kgrubeditor-0.8.5.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde4-base
+
+MY_PN="KGRUBEditor"
+
+DESCRIPTION="A KDE utility that edits GRUB configuration files"
+HOMEPAGE="http://www.kde-apps.org/content/show.php?content=75442"
+SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-src.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="4"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+RDEPEND="|| ( <sys-boot/grub-1
+	sys-boot/grub-static )"
+
+pkg_postinst() {
+	ewarn
+	ewarn "NOTE: kgrubeditor can not handle grub-2.x configuration files!"
+	ewarn
+}

diff --git a/kde-misc/kgrubeditor/metadata.xml b/kde-misc/kgrubeditor/metadata.xml
new file mode 100644
index 0000000..a836280
--- /dev/null
+++ b/kde-misc/kgrubeditor/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<!-- maintainer-needed -->
+	<upstream>
+		<remote-id type="sourceforge">kgrubeditor</remote-id>
+	</upstream>
+</pkgmetadata>


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

* [gentoo-commits] proj/kde-sunset:master commit in: kde-misc/kgrubeditor/
@ 2020-08-25 14:51 Andreas Sturmlechner
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Sturmlechner @ 2020-08-25 14:51 UTC (permalink / raw
  To: gentoo-commits

commit:     36026533abb02473836e449ea7fad721dbdede94
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 25 11:38:33 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Aug 25 14:40:52 2020 +0000
URL:        https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=36026533

kde-misc/kgrubeditor: Fix HOMEPAGE and SRC_URI

Fix depgraph by dropping <sys-boot/grub-1 RDEPEND and move it to
pkg_postinst ewarn message if missing. This overlay won't import grub.

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-misc/kgrubeditor/kgrubeditor-0.8.5.ebuild | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

diff --git a/kde-misc/kgrubeditor/kgrubeditor-0.8.5.ebuild b/kde-misc/kgrubeditor/kgrubeditor-0.8.5.ebuild
index 61d28c2d..574f5d68 100644
--- a/kde-misc/kgrubeditor/kgrubeditor-0.8.5.ebuild
+++ b/kde-misc/kgrubeditor/kgrubeditor-0.8.5.ebuild
@@ -1,26 +1,22 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 
 inherit kde4-base
 
-MY_PN="KGRUBEditor"
-
 DESCRIPTION="A KDE utility that edits GRUB configuration files"
-HOMEPAGE="http://www.kde-apps.org/content/show.php?content=75442"
-SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-src.tar.bz2"
+HOMEPAGE="https://www.linux-apps.com/p/1127871 https://sourceforge.net/projects/kgrubeditor/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="4"
 KEYWORDS="~amd64 ~x86"
 IUSE="debug"
 
-RDEPEND="|| ( <sys-boot/grub-1
-	sys-boot/grub-static )"
-
 pkg_postinst() {
-	ewarn
+	if ! has_version "<sys-boot/grub-1" && ! has_version sys-boot/grub-static; then
+		ewarn "Neither <sys-boot/grub-1 nor sys-boot/grub-static packages found installed."
+	fi
 	ewarn "NOTE: kgrubeditor can not handle grub-2.x configuration files!"
-	ewarn
 }


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

end of thread, other threads:[~2020-08-25 14:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-16 22:27 [gentoo-commits] proj/kde-sunset:master commit in: kde-misc/kgrubeditor/ Johannes Huber
  -- strict thread matches above, loose matches on Subject: below --
2020-08-25 14:51 Andreas Sturmlechner

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