debian/0000775000000000000000000000000012044057615007174 5ustar debian/watch0000664000000000000000000000007512044034206010216 0ustar version=3 http://sf.net/kcm-grub2/kcm_grub2-(\d.*)\.tar\.bz2 debian/rules0000775000000000000000000000005112044034206010237 0ustar #!/usr/bin/make -f %: dh $@ --with-kde debian/changelog0000664000000000000000000000326612044057614011054 0ustar kcm-grub2 (0.5.8-0ubuntu2) raring; urgency=low * Only build on x86 architectures, as this packages appears to currently only support managing x86 variants of GRUB. -- Adam Conrad Tue, 30 Oct 2012 23:14:18 +0000 kcm-grub2 (0.5.8-0ubuntu1) raring-proposed; urgency=low * New upstream release * Add kubuntu_qapt2_port.diff to port kcm-grub2 to LibQApt 2.x. -- Jonathan Thomas Tue, 30 Oct 2012 16:23:46 -0400 kcm-grub2 (0.5.0-0ubuntu4) quantal; urgency=low * Rebuild for imagemagick 6.7. -- Colin Watson Fri, 13 Jul 2012 10:59:39 +0100 kcm-grub2 (0.5.0-0ubuntu3) precise; urgency=low * Change the hardcoded dependency on grub-pc to also let grub-efi-amd64 and grub-efi-ia32 satisfy the dependency (LP: #970622) * Bump debhelper compat version to 9: - Fix dh options ordering in debian/rules * Bump Standards-Version to 3.9.3 * Fix lintian warnings about missing liscensing paragraphs in the debian/copyright file -- Jonathan Thomas Sun, 01 Apr 2012 15:05:36 -0400 kcm-grub2 (0.5.0-0ubuntu2) precise; urgency=low * Rebuild for libmagickcore4. -- Colin Watson Fri, 18 Nov 2011 15:57:55 +0000 kcm-grub2 (0.5.0-0ubuntu1) oneiric; urgency=low * New upstream release: - Add a build-depend on libqapt-dev for old kernel removal support - Add a build-depend on libmagick++-dev for splash screen support -- Jonathan Thomas Wed, 11 May 2011 03:37:37 -0400 kcm-grub2 (0.3.0-0ubuntu1) natty; urgency=low * Initial release LP: #745524 -- Jonathan Kolberg Mon, 28 Mar 2011 16:33:37 +0200 debian/copyright0000664000000000000000000000513012044034206011115 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=173 Upstream-Name: kcm-grub2 Source: http://sourceforge.net/projects/kcm-grub2/files/ License: GPL-3 This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". Files: * Copyright: 2008-2011 Konstantinos Smanis License: GPL-3+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". Files: debian/* Copyright: 2011 Jonathan Kolberg . On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". debian/compat0000664000000000000000000000000212044034206010361 0ustar 9 debian/source/0000775000000000000000000000000012044034206010463 5ustar debian/source/format0000664000000000000000000000001412044034206011671 0ustar 3.0 (quilt) debian/control0000664000000000000000000000115312044057123010571 0ustar Source: kcm-grub2 Section: admin Priority: optional Maintainer: Kubuntu Developers Build-Depends: debhelper (>= 9), pkg-kde-tools (>= 0.5.0~), cmake, kdelibs5-dev, libqapt-dev, libmagick++-dev Standards-Version: 3.9.3 Homepage: https://sourceforge.net/projects/kcm-grub2/ Package: kde-config-grub2 Architecture: i386 amd64 x32 Depends: ${shlibs:Depends}, ${misc:Depends}, grub-pc ( >= 1.99~rc1-5 ) | grub-efi-amd64 | grub-efi-ia32 Description: Configuration module for the GRUB2 bootloader This is a configuration module for System Settings for configuring the GRUB2 bootloader. debian/patches/0000775000000000000000000000000012044035006010611 5ustar debian/patches/series0000664000000000000000000000003012044034560012023 0ustar kubuntu_qapt2_port.diff debian/patches/kubuntu_qapt2_port.diff0000664000000000000000000000624712044035006015324 0ustar Index: kcm-grub2-0.5.8/src/qaptBackend.cpp =================================================================== --- kcm-grub2-0.5.8.orig/src/qaptBackend.cpp 2012-06-18 05:06:58.000000000 -0400 +++ kcm-grub2-0.5.8/src/qaptBackend.cpp 2012-10-30 16:33:57.191860062 -0400 @@ -18,18 +18,11 @@ //Own #include "qaptBackend.h" -//Qt -#include - QAptBackend::QAptBackend(QObject *parent): QObject(parent) { - m_backend = new QApt::Backend; + m_backend = new QApt::Backend(this); m_backend->init(); - m_error = QApt::UnknownError; -} -QAptBackend::~QAptBackend() -{ - delete m_backend; + m_exitStatus = QApt::ExitSuccess; } QStringList QAptBackend::ownerPackage(const QString &fileName) @@ -59,24 +52,25 @@ } void QAptBackend::removePackages() { - connect(m_backend, SIGNAL(commitProgress(QString,int)), this, SIGNAL(progress(QString,int))); - connect(m_backend, SIGNAL(workerEvent(QApt::WorkerEvent)), this, SLOT(slotWorkerEvent(QApt::WorkerEvent))); - connect(m_backend, SIGNAL(errorOccurred(QApt::ErrorCode,QVariantMap)), this, SLOT(slotErrorOccurred(QApt::ErrorCode,QVariantMap))); - m_backend->commitChanges(); + m_trans = m_backend->commitChanges(); + + connect(m_trans, SIGNAL(progressChanged(int)), this, SLOT(slotUpdateProgress())); + connect(m_trans, SIGNAL(finished(QApt::ExitStatus)), this, SLOT(slotTransactionFinished(QApt::ExitStatus))); + m_trans->run(); } void QAptBackend::undoChanges() { m_backend->init(); } -void QAptBackend::slotWorkerEvent(QApt::WorkerEvent event) +void QAptBackend::slotUpdateProgress() { - if (event == QApt::CommitChangesFinished) { - emit finished(m_error == QApt::UnknownError); - } + emit progress(m_trans->statusDetails(), m_trans->progress()); } -void QAptBackend::slotErrorOccurred(QApt::ErrorCode error, const QVariantMap &details) + +void QAptBackend::slotTransactionFinished(QApt::ExitStatus status) { - Q_UNUSED(details) - m_error = error; + m_exitStatus = status; + + emit finished(status == QApt::ExitSuccess); } Index: kcm-grub2-0.5.8/src/qaptBackend.h =================================================================== --- kcm-grub2-0.5.8.orig/src/qaptBackend.h 2012-06-18 05:06:58.000000000 -0400 +++ kcm-grub2-0.5.8/src/qaptBackend.h 2012-10-30 16:35:14.628244056 -0400 @@ -22,14 +22,14 @@ #include //QApt -#include +#include +#include class QAptBackend : public QObject { Q_OBJECT public: explicit QAptBackend(QObject *parent = 0); - virtual ~QAptBackend(); QStringList ownerPackage(const QString &fileName); void markForRemoval(const QString &packageName); @@ -40,11 +40,12 @@ void finished(bool success); void progress(const QString &status, int percentage); private Q_SLOTS: - void slotWorkerEvent(QApt::WorkerEvent event); - void slotErrorOccurred(QApt::ErrorCode error, const QVariantMap &details); + void slotTransactionFinished(QApt::ExitStatus status); + void slotUpdateProgress(); private: QApt::Backend *m_backend; - QApt::ErrorCode m_error; + QApt::ExitStatus m_exitStatus; + QApt::Transaction *m_trans; }; #endif debian/patches/patches0000777000000000000000000000000012044034547015042 2debian/patches/ustar