diff options
author | 2011-08-26 21:59:43 +0200 | |
---|---|---|
committer | 2011-08-26 21:59:43 +0200 | |
commit | 9fd7d8b5551639c9d2e1d8afb84f2f155c06f077 (patch) | |
tree | 62445cf6526dee25f13c1e9c4fa4760896111313 | |
parent | [sys-boot/grub] Link our own guide. (diff) | |
download | scarabeus-9fd7d8b5551639c9d2e1d8afb84f2f155c06f077.tar.gz scarabeus-9fd7d8b5551639c9d2e1d8afb84f2f155c06f077.tar.bz2 scarabeus-9fd7d8b5551639c9d2e1d8afb84f2f155c06f077.zip |
Add my kcm modules i use.
-rw-r--r-- | kde-misc/kcm-grub2/Manifest | 4 | ||||
-rw-r--r-- | kde-misc/kcm-grub2/files/kcm-grub2-use-gentoo-grub-commands.patch | 39 | ||||
-rw-r--r-- | kde-misc/kcm-grub2/kcm-grub2-0.5.0.ebuild | 46 | ||||
-rw-r--r-- | kde-misc/kcm-grub2/metadata.xml | 14 | ||||
-rw-r--r-- | kde-misc/kcm-qt-graphicssystem/Manifest | 3 | ||||
-rw-r--r-- | kde-misc/kcm-qt-graphicssystem/kcm-qt-graphicssystem-1.3.ebuild | 16 | ||||
-rw-r--r-- | kde-misc/kcm-qt-graphicssystem/metadata.xml | 6 |
7 files changed, 128 insertions, 0 deletions
diff --git a/kde-misc/kcm-grub2/Manifest b/kde-misc/kcm-grub2/Manifest new file mode 100644 index 0000000..b561510 --- /dev/null +++ b/kde-misc/kcm-grub2/Manifest @@ -0,0 +1,4 @@ +AUX kcm-grub2-use-gentoo-grub-commands.patch 2156 RMD160 e6fc4a71edea7b766863cc354885ab3b818a9e98 SHA1 a523947b3d2502ff29f3732556a934b63783d9d0 SHA256 df25f220a96b1eda28ae68620506054c31f7d5dbc220d74a1e54cc9a0eb02fa7 +DIST kcm-grub2-0.5.0.tar.gz 102743 RMD160 1b891af06788e484d42f2e1ad60ddf391b489465 SHA1 0a67c1c030a327e94a8a7fadedb92a3b55dce68b SHA256 c748e272b86f54e043e4cebb3238a19d697218cb56753b75d638907bac0c4236 +EBUILD kcm-grub2-0.5.0.ebuild 1028 RMD160 e07bdd075faa7b91d80aff2c08deceed64900435 SHA1 de94da2a4010984fe0da81e40fdc2b9b35e9935e SHA256 641d494e0c9a96f2bf8a4e93533e904ba7ad17fd3f5dd78a26e91e2d8a4adae9 +MISC metadata.xml 420 RMD160 0a74ea5c8b83ebd0f7217377858649e751b2fcf2 SHA1 3cec90a80930893485d3d85bb0b1940050c592cc SHA256 f7e2ddaacce8c5a37fad32f76ee7e2cf83f0c195d8f2dd6f8ebccad0243a6978 diff --git a/kde-misc/kcm-grub2/files/kcm-grub2-use-gentoo-grub-commands.patch b/kde-misc/kcm-grub2/files/kcm-grub2-use-gentoo-grub-commands.patch new file mode 100644 index 0000000..f0c86cf --- /dev/null +++ b/kde-misc/kcm-grub2/files/kcm-grub2-use-gentoo-grub-commands.patch @@ -0,0 +1,39 @@ +diff -urN kcm-grub2-0.5.0/src/helper/helper.cpp kcm-grub2-0.5.0.new/src/helper/helper.cpp +--- kcm-grub2-0.5.0/src/helper/helper.cpp 2011-05-09 16:17:59.000000000 +0200 ++++ kcm-grub2-0.5.0.new/src/helper/helper.cpp 2011-06-29 11:23:14.321387301 +0200 +@@ -67,7 +67,7 @@ + } + + KProcess grub_install; +- grub_install.setShellCommand(QString("grub-install --root-directory=%1 %2").arg(KShell::quoteArg(mountPoint), KShell::quoteArg(partition.remove(QRegExp("\\d+"))))); ++ grub_install.setShellCommand(QString("grub2-install --root-directory=%1 %2").arg(KShell::quoteArg(mountPoint), KShell::quoteArg(partition.remove(QRegExp("\\d+"))))); + grub_install.setOutputChannelMode(KProcess::MergedChannels); + if (grub_install.execute() != 0) { + reply = ActionReply::HelperErrorReply; +@@ -103,7 +103,7 @@ + QStringList grubPartitions; + HelperSupport::progressStep(0); + for (int i = 0; i < mountPoints.size(); i++) { +- grub_probe.setShellCommand(QString("grub-probe -t drive %1").arg(KShell::quoteArg(mountPoints.at(i)))); ++ grub_probe.setShellCommand(QString("grub2-probe -t drive %1").arg(KShell::quoteArg(mountPoints.at(i)))); + grub_probe.setOutputChannelMode(KProcess::MergedChannels); + if (grub_probe.execute() != 0) { + reply = ActionReply::HelperErrorReply; +@@ -175,7 +175,7 @@ + } + + KProcess grub_mkconfig; +- grub_mkconfig.setShellCommand(QString("grub-mkconfig -o %1").arg(KShell::quoteArg(menuFileName))); ++ grub_mkconfig.setShellCommand(QString("grub2-mkconfig -o %1").arg(KShell::quoteArg(menuFileName))); + grub_mkconfig.setOutputChannelMode(KProcess::MergedChannels); + if (grub_mkconfig.execute() != 0) { + reply = ActionReply::HelperErrorReply; +@@ -184,7 +184,7 @@ + } + + KProcess grub_set_default; +- grub_set_default.setShellCommand(QString("grub-set-default %1").arg(defaultEntry)); ++ grub_set_default.setShellCommand(QString("grub2-set-default %1").arg(defaultEntry)); + grub_set_default.setOutputChannelMode(KProcess::MergedChannels); + if (grub_set_default.execute() != 0) { + reply = ActionReply::HelperErrorReply; diff --git a/kde-misc/kcm-grub2/kcm-grub2-0.5.0.ebuild b/kde-misc/kcm-grub2/kcm-grub2-0.5.0.ebuild new file mode 100644 index 0000000..76f59a6 --- /dev/null +++ b/kde-misc/kcm-grub2/kcm-grub2-0.5.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2011 Sabayon Promotion +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +KDE_MINIMAL="4.6" +KDE_LINGUAS="da de et hu nl pt pt_BR sv uk" +inherit kde4-base + +DESCRIPTION="KCModule for configuring the GRUB2 bootloader." +HOMEPAGE="http://kde-apps.org/content/show.php?content=139643" +SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.tar.gz" + +LICENSE="GPL-3" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="+hwinfo imagemagick packagekit" + +COMMON_DEPEND=" + $(add_kdebase_dep kdelibs) + hwinfo? ( sys-apps/hwinfo ) + imagemagick? ( media-gfx/imagemagick ) + packagekit? ( app-admin/packagekit-qt4 ) +" +DEPEND="${COMMON_DEPEND} + dev-util/automoc +" +RDEPEND="${COMMON_DEPEND} + $(add_kdebase_dep kcmshell) +" + +PATCHES=( + "${FILESDIR}"/${PN}-use-gentoo-grub-commands.patch +) + +src_configure() { + local mycmakeargs=( + "-DWITHQApt=OFF" + $(cmake-utils_use_with packagekit QPackageKit) + $(cmake-utils_use_with imagemagick ImageMagick) + $(cmake-utils_use_with hwinfo HD) + ) + cmake-utils_src_configure +} diff --git a/kde-misc/kcm-grub2/metadata.xml b/kde-misc/kcm-grub2/metadata.xml new file mode 100644 index 0000000..d3eaba7 --- /dev/null +++ b/kde-misc/kcm-grub2/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>ian.whyman@sabayon.org</email> + <name>Ian Whyman</name> +</maintainer> +<use> + <flag name="imagemagick">Create splash images compatible with GRUB2</flag> + <flag name="hwinfo">Used to work out supported framebuffer resolutions</flag> +</use> +</pkgmetadata> + diff --git a/kde-misc/kcm-qt-graphicssystem/Manifest b/kde-misc/kcm-qt-graphicssystem/Manifest new file mode 100644 index 0000000..1765dd3 --- /dev/null +++ b/kde-misc/kcm-qt-graphicssystem/Manifest @@ -0,0 +1,3 @@ +DIST 129817-kcm-qt-graphicssystem-1.3.tar.xz 17132 RMD160 fdea0f0572f2e4d13d54cca3449df0ae8fed82e4 SHA1 bfc0e40ff23e322c4d79612303449c4104354100 SHA256 c6dac4bfcdc32014566ee0ff73b3be7dafadd00136605d5f2b7f61d7cff32387 +EBUILD kcm-qt-graphicssystem-1.3.ebuild 432 RMD160 9b84a5510e599b2cfa94df493107436d226f7788 SHA1 605a11e1a6fac444037e02474bf3f97899ba4f96 SHA256 5eb828be916094f68702cfad3e85fa3391d0d9905957dfc878b986a1062a07a7 +MISC metadata.xml 161 RMD160 e5e58f73fafeee67935859cbc1ec7c506444f20a SHA1 a3ee9a137c630b9dd9562704428d9e4b3ab5dbfd SHA256 c503bbd4a90c7b144fc8dc4046af0f02eb78b1ddfd3c1976ff7990210e273690 diff --git a/kde-misc/kcm-qt-graphicssystem/kcm-qt-graphicssystem-1.3.ebuild b/kde-misc/kcm-qt-graphicssystem/kcm-qt-graphicssystem-1.3.ebuild new file mode 100644 index 0000000..39e65cc --- /dev/null +++ b/kde-misc/kcm-qt-graphicssystem/kcm-qt-graphicssystem-1.3.ebuild @@ -0,0 +1,16 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit kde4-base + +DESCRIPTION="Setter for Qt rendering engine." +HOMEPAGE="http://kde-apps.org/content/show.php/KCM+Qt+Graphics+System?content=129817" +SRC_URI="http://kde-apps.org/CONTENT/content-files/129817-${P}.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" diff --git a/kde-misc/kcm-qt-graphicssystem/metadata.xml b/kde-misc/kcm-qt-graphicssystem/metadata.xml new file mode 100644 index 0000000..2cf1c74 --- /dev/null +++ b/kde-misc/kcm-qt-graphicssystem/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +</pkgmetadata> + |