Browse Source

Added menu (providing su-to-root) as dependency

Added  zenity as recommendation
Bump standards to 3.9.8, no changes needed
master
Alf Gaida 4 years ago
parent
commit
e02b95bf29
17 changed files with 655 additions and 621 deletions
  1. 60
    35
      debian/changelog
  2. 11
    8
      debian/control
  3. 357
    33
      debian/copyright
  4. 1
    2
      debian/install
  5. 0
    7
      debian/menu
  6. 2
    11
      debian/rules
  7. 27
    0
      icons/Makefile
  8. 0
    178
      icons/pixmaps/kernel-remover-16.xpm
  9. 0
    294
      icons/pixmaps/kernel-remover.xpm
  10. 91
    43
      kernel-remover
  11. 2
    2
      kernel-remover.8
  12. 1
    0
      kernel-remover.desktop
  13. 2
    2
      po/de.po
  14. 2
    2
      po/messages.pot
  15. 4
    4
      po/pt.po
  16. 47
    0
      po/ru.po
  17. 48
    0
      po/uk.po

+ 60
- 35
debian/changelog View File

@@ -1,75 +1,100 @@
kernel-remover (3.1.16) unstable; urgency=medium

* Added menu (providing su-to-root) as dependency
* Added zenity as recommendation
* Bump standards to 3.9.8, no changes needed

-- Alf Gaida <agaida@siduction.org> Sat, 25 Jun 2016 20:11:21 +0200

kernel-remover (3.1.15) unstable; urgency=medium

* use parallel building.
* apply the CTTE decision and remove support for the obsolete "Debian Menu
System" (#741573).

-- Stefan Lippers-Hollmann <s.l-h@gmx.de> Wed, 02 Sep 2015 20:11:16 +0200

kernel-remover (3.1.14) unstable; urgency=medium

* fix debian/copyright to properly validate against the final specification.
* bump standards version to 3.9.6, no changes necessary.

-- Stefan Lippers-Hollmann <s.l-h@gmx.de> Sat, 03 Jan 2015 23:59:26 +0100

kernel-remover (3.1.13) unstable; urgency=medium

* moved to extra
* new standards
* switch from grep-available to grep-status, in order to actually query the
current system state; this fixes identifying obsolete kernel packages with
the current dpkg.

-- Alf Gaida <agaida@siduction.org> Mon, 28 Sep 2015 23:07:42 +0200
-- Stefan Lippers-Hollmann <s.l-h@gmx.de> Wed, 20 Aug 2014 07:05:00 +0200

kernel-remover (3.1.12) unstable; urgency=low
kernel-remover (3.1.12) unstable; urgency=medium

* debian/menu modified to show icon in fluxbox menu
* bump standards version to 3.9.5, no changes necessary.
* debian/control: switch Vcs tags to github.
* add Keywords entry to XDG desktop files.

-- Angelescu Ovidiu <convbsd@siduction.org> Sun, 12 Oct 2014 23:35:06 +0300
-- Stefan Lippers-Hollmann <s.l-h@gmx.de> Sun, 13 Apr 2014 23:37:38 +0200

kernel-remover (3.1.11) unstable; urgency=low

* Standards-Version: 3.9.4
* debian/copyright format
* XSBC-Original-Maintainer removed
* debian/source.lintian-overrides removed
* hompage removed from debian/control, added source in copyright
* s/actual/current/
* remove empty if leaves.
* fix bashism.
* avoid wonky quoting in awk calls.

-- Alf Gaida <agaida@siduction.org> Sat, 30 Mar 2013 13:56:50 +0100
-- Stefan Lippers-Hollmann <s.l-h@gmx.de> Sat, 12 Jan 2013 03:21:54 +0100

kernel-remover (3.1.10) unstable; urgency=low

* debian/copyright modified (dep5)
* creativecommons as dependency
* fixes #331
* update FSF postal address to be URLs.
* bump standards version to 3.9.4, no changes necessary.

-- Alf Gaida <agaida@siduction.org> Sat, 24 Mar 2012 12:40:49 +0100
-- Stefan Lippers-Hollmann <s.l-h@gmx.de> Sat, 12 Jan 2013 03:20:52 +0100

kernel-remover (3.1.9) unstable; urgency=low

* source override added to prevent lintian complaining about
XSBC-Original-Maintainer
* fixes #647
* add ukrainian translation.
* update debian/copyright to dep-5.

-- Alf Gaida <agaida@siduction.org> Thu, 22 Mar 2012 21:43:51 +0100
-- Stefan Lippers-Hollmann <s.l-h@gmx.de> Wed, 10 Oct 2012 03:35:23 +0200

kernel-remover (3.1.8) unstable; urgency=low

* bump standards to 3.9.3
* bump compat to 9
* .gitignore created
* use -G as the option to define the graphics frontend instead of -F

-- Alf Gaida <agaida@siduction.org> Wed, 21 Mar 2012 13:37:09 +0100
-- Joaquim Boura <x-un-i@berlios.de> Wed, 29 Aug 2012 18:08:14 +0200

kernel-remover (3.1.7) unstable; urgency=low

* debian/source/option bz9
[ Joaquim Boura ]
* added new language translations ( uk+ru thks to RoEn)
fixed my email
* added RoEn (ru) and polix (uk) to the copyright file

[ Stefan Lippers-Hollmann ]
* fix whitespace/ coding style.

-- Alf Gaida <agaida@siduction.org> Tue, 29 Nov 2011 09:57:30 +0100
-- Stefan Lippers-Hollmann <s.l-h@gmx.de> Thu, 19 Jul 2012 02:10:07 +0200

kernel-remover (3.1.6) unstable; urgency=low

* debian/control homepage
* bump standards version to 3.9.3, no changes necessary.

-- Alf Gaida <agaida@siduction.org> Mon, 28 Nov 2011 01:39:45 +0100
-- Stefan Lippers-Hollmann <s.l-h@gmx.de> Thu, 23 Feb 2012 16:48:51 +0100

kernel-remover (3.1.5) unstable; urgency=low

* Introduce me as Maintainer
* remove aptosid stuff
* misc changes
* update icons.

-- Alf Gaida <agaida@siduction.org> Sat, 26 Nov 2011 11:51:35 +0100
-- Stefan Lippers-Hollmann <s.l-h@gmx.de> Mon, 16 Jan 2012 03:48:58 +0100

kernel-remover (3.1.4) UNRELEASED; urgency=low
kernel-remover (3.1.4) unstable; urgency=low

* NOT RELEASED YET
* switch to compat level 9.

-- Stefan Lippers-Hollmann <s.l-h@gmx.de> Fri, 29 Apr 2011 04:57:04 +0200
-- Stefan Lippers-Hollmann <s.l-h@gmx.de> Mon, 16 Jan 2012 01:48:07 +0100

kernel-remover (3.1.3) unstable; urgency=low


+ 11
- 8
debian/control View File

@@ -1,19 +1,22 @@
Source: kernel-remover
Section: misc
Priority: extra
Maintainer: Alf Gaida <agaida@siduction.org>
Build-Depends: debhelper (>= 9)
Standards-Version: 3.9.6
Maintainer: Stefan Lippers-Hollmann <s.l-h@gmx.de>
Uploaders: Joaquim Boura <x-un-i@sapo.pt>,
Alf Gaida <agaida@siduction.org>
Build-Depends: debhelper (>= 9.20120115)
Standards-Version: 3.9.8
Vcs-Git: git://git.siduction.org/code/kernel-remover.git
Vcs-Browser: http://git.siduction.org/?p=code/kernel-remover.git;a=summary

Package: kernel-remover
Architecture: all
Depends: ${misc:Depends},
gettext-base,
dctrl-tools,
ssft,
creativecommons3,
Depends: ${misc:Depends},
gettext-base,
dctrl-tools,
menu,
ssft
Recommends: zenity
Description: tool for the removal of the Linux kernel packages
This tool handles the common tasks while handling testing kernels, the removal
of deprecated kernel images, headers, depending packages, symlinks and

+ 357
- 33
debian/copyright View File

@@ -1,29 +1,35 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: kernel-remover
Upstream-Contact: Stefan Lippers-Hollmann <s.l-h@gmx.de>
Source: http://svn.berlios.de/svnroot/repos/fullstory/kernel-remover/trunk/
Source: git://github.com/fullstory/kernel-remover.git

Files: *
Copyright: 2005-2013 Stefan Lippers-Hollmann <s.l-h@gmx.de>
2007-2010 Joaquim Boura <x-un-i@berlios.de>
License: GPL-2
Copyright: 2005-2015, Stefan Lippers-Hollmann <s.l-h@gmx.de>
2007-2010, Joaquim Boura <x-un-i@berlios.de>
License: GPL-2.0

Files: debian/*
Copyright: 2011-2013 Alf Gaida <agaida@siduction.org>
2005-2013 Stefan Lippers-Hollmann <s.l-h@gmx.de>
License: GPL-2
Copyright: 2005-2014, Stefan Lippers-Hollmann <s.l-h@gmx.de>
License: GPL-2.0

Files: icons/*
Copyright: 2008 Bernard Gray <bernard.gray@gmail.com>
2007 David Vignoni <david@icon-king.com>
2007 Johann Ollivier Lapeyre <johann@oxygen-icons.org>
2007 Kenneth Wimer <kwwii@bootsplash.org>
2007 Nuno Fernades Pinheiro <nf.pinheiro@gmail.com>
2007 Riccardo Iaconelli <riccardo@oxygen-icons.org>
2007 David Miller <miller@oxygen-icons.org>
License: CC-BY-SA-3.0 | LGPL-2+
Files: po/ru.po
Copyright: 2012, Roland Engert <Roland.Engert@web.de>
License: GPL-2.0

Files: po/uk.po
Copyright: 2012, Pavlo Libovych <polosravros@googlemail.com>
License: GPL-2.0

License: CC-BY-SA-3.0 | LGPL-2+
Files: icons/*
Copyright: 2008, Bernard Gray <bernard.gray@gmail.com>
2007, David Vignoni <david@icon-king.com>
2007, Johann Ollivier Lapeyre <johann@oxygen-icons.org>
2007, Kenneth Wimer <kwwii@bootsplash.org>
2007, Nuno Fernades Pinheiro <nf.pinheiro@gmail.com>
2007, Riccardo Iaconelli <riccardo@oxygen-icons.org>
2007, David Miller <miller@oxygen-icons.org>
License: CC-BY-SA-3.0 or LGPL-2.0+
Comment:
kernel-remover.svg also includes elements from The Oxygen Icon Theme.
Licensed under the Creative Common Attribution-ShareAlike 3.0
license, as found here:
@@ -55,10 +61,10 @@ License: CC-BY-SA-3.0 | LGPL-2+
The exception in section 6 of the GNU Lesser General Public License covers
the use of elements of this art library in a GUI.

License: GPL-2
License: GPL-2.0
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -66,28 +72,346 @@ License: GPL-2
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this package; if not, see <http://www.gnu.org/licenses>
along with this program. If not, see <http://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License can be found in '/usr/share/common-licenses/GPL-2'.
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".

License: LGPL-2.0+
This package is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 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
Lesser 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 <http://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU Lesser General
Public License can be found in "/usr/share/common-licenses/LGPL-2".

License: CC-BY-SA-3.0
Creative Commons Attribution-ShareAlike 3.0 Unported License
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE LEGAL
SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN ATTORNEY-CLIENT
RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION ON AN "AS-IS"
BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE INFORMATION
PROVIDED, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM ITS USE.
.
License
.
THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
.
BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE
TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY
BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS
CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
CONDITIONS.
BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO
BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE
CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED
HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
.
1. Definitions
"Adaptation" means a work based upon the Work, or upon the Work and
other pre-existing works, such as a translation, adaptation, derivative
work, arrangement of music or other alterations of a literary or
artistic work, or phonogram or performance and includes cinematographic
adaptations or any other form in which the Work may be recast,
transformed, or adapted including in any form recognizably derived from
the original, except that a work that constitutes a Collection will not
be considered an Adaptation for the purpose of this License. For the
avoidance of doubt, where the Work is a musical work, performance or
phonogram, the synchronization of the Work in timed-relation with a
moving image ("synching") will be considered an Adaptation for the
purpose of this License.
"Collection" means a collection of literary or artistic works, such as
encyclopedias and anthologies, or performances, phonograms or
broadcasts, or other works or subject matter other than works listed in
Section 1(f) below, which, by reason of the selection and arrangement of
their contents, constitute intellectual creations, in which the Work is
included in its entirety in unmodified form along with one or more other
contributions, each constituting separate and independent works in
themselves, which together are assembled into a collective whole. A work
that constitutes a Collection will not be considered an Adaptation (as
defined below) for the purposes of this License.
"Creative Commons Compatible License" means a license that is listed at
http://creativecommons.org/compatiblelicenses that has been approved by
Creative Commons as being essentially equivalent to this License,
including, at a minimum, because that license: (i) contains terms that
have the same purpose, meaning and effect as the License Elements of
this License; and, (ii) explicitly permits the relicensing of
adaptations of works made available under that license under this
License or a Creative Commons jurisdiction license with the same License
Elements as this License.
"Distribute" means to make available to the public the original and
copies of the Work or Adaptation, as appropriate, through sale or other
transfer of ownership.
"License Elements" means the following high-level license attributes as
selected by Licensor and indicated in the title of this License:
Attribution, ShareAlike.
"Licensor" means the individual, individuals, entity or entities that
offer(s) the Work under the terms of this License.
"Original Author" means, in the case of a literary or artistic work, the
individual, individuals, entity or entities who created the Work or if
no individual or entity can be identified, the publisher; and in
addition (i) in the case of a performance the actors, singers,
musicians, dancers, and other persons who act, sing, deliver, declaim,
play in, interpret or otherwise perform literary or artistic works or
expressions of folklore; (ii) in the case of a phonogram the producer
being the person or legal entity who first fixes the sounds of a
performance or other sounds; and, (iii) in the case of broadcasts, the
organization that transmits the broadcast.
"Work" means the literary and/or artistic work offered under the terms
of this License including without limitation any production in the
literary, scientific and artistic domain, whatever may be the mode or
form of its expression including digital form, such as a book, pamphlet
and other writing; a lecture, address, sermon or other work of the same
nature; a dramatic or dramatico-musical work; a choreographic work or
entertainment in dumb show; a musical composition with or without words;
a cinematographic work to which are assimilated works expressed by a
process analogous to cinematography; a work of drawing, painting,
architecture, sculpture, engraving or lithography; a photographic work
to which are assimilated works expressed by a process analogous to
photography; a work of applied art; an illustration, map, plan, sketch
or three-dimensional work relative to geography, topography,
architecture or science; a performance; a broadcast; a phonogram; a
compilation of data to the extent it is protected as a copyrightable
work; or a work performed by a variety or circus performer to the extent
it is not otherwise considered a literary or artistic work.
"You" means an individual or entity exercising rights under this License
who has not previously violated the terms of this License with respect
to the Work, or who has received express permission from the Licensor to
exercise rights under this License despite a previous violation.
"Publicly Perform" means to perform public recitations of the Work and
to communicate to the public those public recitations, by any means or
process, including by wire or wireless means or public digital
performances; to make available to the public Works in such a way that
members of the public may access these Works from a place and at a place
individually chosen by them; to perform the Work to the public by any
means or process and the communication to the public of the performances
of the Work, including by public digital performance; to broadcast and
rebroadcast the Work by any means including signs, sounds or images.
"Reproduce" means to make copies of the Work by any means including
without limitation by sound or visual recordings and the right of
fixation and reproducing fixations of the Work, including storage of a
protected performance or phonogram in digital form or other electronic
medium.
.
2. Fair Dealing Rights. Nothing in this License is intended to reduce,
limit, or restrict any uses free from copyright or rights arising from
limitations or exceptions that are provided for in connection with the
copyright protection under copyright law or other applicable laws.
.
3. License Grant. Subject to the terms and conditions of this License,
Licensor hereby grants You a worldwide, royalty-free, non-exclusive,
perpetual (for the duration of the applicable copyright) license to
exercise the rights in the Work as stated below:
.
to Reproduce the Work, to incorporate the Work into one or more
Collections, and to Reproduce the Work as incorporated in the
Collections;
to create and Reproduce Adaptations provided that any such Adaptation,
including any translation in any medium, takes reasonable steps to
clearly label, demarcate or otherwise identify that changes were made to
the original Work. For example, a translation could be marked "The
original work was translated from English to Spanish," or a modification
could indicate "The original work has been modified.";
to Distribute and Publicly Perform the Work including as incorporated in
Collections; and,
to Distribute and Publicly Perform Adaptations.
.
For the avoidance of doubt:
Non-waivable Compulsory License Schemes. In those jurisdictions in
which the right to collect royalties through any statutory or
compulsory licensing scheme cannot be waived, the Licensor reserves
the exclusive right to collect such royalties for any exercise by
You of the rights granted under this License;
Waivable Compulsory License Schemes. In those jurisdictions in which
the right to collect royalties through any statutory or compulsory
licensing scheme can be waived, the Licensor waives the exclusive
right to collect such royalties for any exercise by You of the
rights granted under this License; and,
Voluntary License Schemes. The Licensor waives the right to collect
royalties, whether individually or, in the event that the Licensor
is a member of a collecting society that administers voluntary
licensing schemes, via that society, from any exercise by You of the
rights granted under this License.
.
The above rights may be exercised in all media and formats whether now
known or hereafter devised. The above rights include the right to make such
modifications as are technically necessary to exercise the rights in other
media and formats. Subject to Section 8(f), all rights not expressly
granted by Licensor are hereby reserved.
.
4. Restrictions. The license granted in Section 3 above is expressly made
subject to and limited by the following restrictions:
.
You may Distribute or Publicly Perform the Work only under the terms of
this License. You must include a copy of, or the Uniform Resource
Identifier (URI) for, this License with every copy of the Work You
Distribute or Publicly Perform. You may not offer or impose any terms on
the Work that restrict the terms of this License or the ability of the
recipient of the Work to exercise the rights granted to that recipient
under the terms of the License. You may not sublicense the Work. You
must keep intact all notices that refer to this License and to the
disclaimer of warranties with every copy of the Work You Distribute or
Publicly Perform. When You Distribute or Publicly Perform the Work, You
may not impose any effective technological measures on the Work that
restrict the ability of a recipient of the Work from You to exercise the
rights granted to that recipient under the terms of the License. This
Section 4(a) applies to the Work as incorporated in a Collection, but
this does not require the Collection apart from the Work itself to be
made subject to the terms of this License. If You create a Collection,
upon notice from any Licensor You must, to the extent practicable,
remove from the Collection any credit as required by Section 4(c), as
requested. If You create an Adaptation, upon notice from any Licensor
You must, to the extent practicable, remove from the Adaptation any
credit as required by Section 4(c), as requested.
You may Distribute or Publicly Perform an Adaptation only under the
terms of: (i) this License; (ii) a later version of this License with
the same License Elements as this License; (iii) a Creative Commons
jurisdiction license (either this or a later license version) that
contains the same License Elements as this License (e.g.,
Attribution-ShareAlike 3.0 US)); (iv) a Creative Commons Compatible
License. If you license the Adaptation under one of the licenses
mentioned in (iv), you must comply with the terms of that license. If
you license the Adaptation under the terms of any of the licenses
mentioned in (i), (ii) or (iii) (the "Applicable License"), you must
comply with the terms of the Applicable License generally and the
following provisions: (I) You must include a copy of, or the URI for,
the Applicable License with every copy of each Adaptation You Distribute
or Publicly Perform; (II) You may not offer or impose any terms on the
Adaptation that restrict the terms of the Applicable License or the
ability of the recipient of the Adaptation to exercise the rights
granted to that recipient under the terms of the Applicable License;
(III) You must keep intact all notices that refer to the Applicable
License and to the disclaimer of warranties with every copy of the Work
as included in the Adaptation You Distribute or Publicly Perform; (IV)
when You Distribute or Publicly Perform the Adaptation, You may not
impose any effective technological measures on the Adaptation that
restrict the ability of a recipient of the Adaptation from You to
exercise the rights granted to that recipient under the terms of the
Applicable License. This Section 4(b) applies to the Adaptation as
incorporated in a Collection, but this does not require the Collection
apart from the Adaptation itself to be made subject to the terms of the
Applicable License.
If You Distribute, or Publicly Perform the Work or any Adaptations or
Collections, You must, unless a request has been made pursuant to
Section 4(a), keep intact all copyright notices for the Work and
provide, reasonable to the medium or means You are utilizing: (i) the
name of the Original Author (or pseudonym, if applicable) if supplied,
and/or if the Original Author and/or Licensor designate another party or
parties (e.g., a sponsor institute, publishing entity, journal) for
attribution ("Attribution Parties") in Licensor's copyright notice,
terms of service or by other reasonable means, the name of such party or
parties; (ii) the title of the Work if supplied; (iii) to the extent
reasonably practicable, the URI, if any, that Licensor specifies to be
associated with the Work, unless such URI does not refer to the
copyright notice or licensing information for the Work; and (iv) ,
consistent with Ssection 3(b), in the case of an Adaptation, a credit
identifying the use of the Work in the Adaptation (e.g., "French
translation of the Work by Original Author," or "Screenplay based on
original Work by Original Author"). The credit required by this Section
4(c) may be implemented in any reasonable manner; provided, however,
that in the case of a Adaptation or Collection, at a minimum such credit
will appear, if a credit for all contributing authors of the Adaptation
or Collection appears, then as part of these credits and in a manner at
least as prominent as the credits for the other contributing authors.
For the avoidance of doubt, You may only use the credit required by this
Section for the purpose of attribution in the manner set out above and,
by exercising Your rights under this License, You may not implicitly or
explicitly assert or imply any connection with, sponsorship or
endorsement by the Original Author, Licensor and/or Attribution Parties,
as appropriate, of You or Your use of the Work, without the separate,
express prior written permission of the Original Author, Licensor and/or
Attribution Parties.
Except as otherwise agreed in writing by the Licensor or as may be
otherwise permitted by applicable law, if You Reproduce, Distribute or
Publicly Perform the Work either by itself or as part of any Adaptations
or Collections, You must not distort, mutilate, modify or take other
derogatory action in relation to the Work which would be prejudicial to
the Original Author's honor or reputation. Licensor agrees that in those
jurisdictions (e.g. Japan), in which any exercise of the right granted
in Section 3(b) of this License (the right to make Adaptations) would be
deemed to be a distortion, mutilation, modification or other derogatory
action prejudicial to the Original Author's honor and reputation, the
Licensor will waive or not assert, as appropriate, this Section, to the
fullest extent permitted by the applicable national law, to enable You
to reasonably exercise Your right under Section 3(b) of this License
(right to make Adaptations) but not otherwise.
.
5. Representations, Warranties and Disclaimer
.
UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR
OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY
KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE,
INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY,
FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT
OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER
OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF
IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
.
6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE
LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY
SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING
OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN
ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
.
7. Termination
.
This License and the rights granted hereunder will terminate
automatically upon any breach by You of the terms of this License.
Individuals or entities who have received Adaptations or Collections
from You under this License, however, will not have their licenses
terminated provided such individuals or entities remain in full
compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will
survive any termination of this License.
Subject to the above terms and conditions, the license granted here is
perpetual (for the duration of the applicable copyright in the Work).
Notwithstanding the above, Licensor reserves the right to release the
Work under different license terms or to stop distributing the Work at
any time; provided, however that any such election will not serve to
withdraw this License (or any other license that has been, or is
required to be, granted under the terms of this License), and this
License will continue in full force and effect unless terminated as
stated above.
.
You should have received a copy of the license along with this
work. If not, see <http://creativecommons.org/licenses/by-sa/3.0/>.
8. Miscellaneous
.
On Debian systems, the complete text of the Creative Commons
Attribution-ShareAlike 3.0 Unported License can be found in
"/usr/share/creativecommons/3.0/cc-by-sa-3.0".
Each time You Distribute or Publicly Perform the Work or a Collection,
the Licensor offers to the recipient a license to the Work on the same
terms and conditions as the license granted to You under this License.
Each time You Distribute or Publicly Perform an Adaptation, Licensor
offers to the recipient a license to the original Work on the same terms
and conditions as the license granted to You under this License.
If any provision of this License is invalid or unenforceable under
applicable law, it shall not affect the validity or enforceability of
the remainder of the terms of this License, and without further action
by the parties to this agreement, such provision shall be reformed to
the minimum extent necessary to make such provision valid and
enforceable.
No term or provision of this License shall be deemed waived and no
breach consented to unless such waiver or consent shall be in writing
and signed by the party to be charged with such waiver or consent.
This License constitutes the entire agreement between the parties with
respect to the Work licensed here. There are no understandings,
agreements or representations with respect to the Work not specified
here. Licensor shall not be bound by any additional provisions that may
appear in any communication from You. This License may not be modified
without the mutual written agreement of the Licensor and You.
The rights granted under, and the subject matter referenced, in this
License were drafted utilizing the terminology of the Berne Convention
for the Protection of Literary and Artistic Works (as amended on
September 28, 1979), the Rome Convention of 1961, the WIPO Copyright
Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and
the Universal Copyright Convention (as revised on July 24, 1971). These
rights and subject matter take effect in the relevant jurisdiction in
which the License terms are sought to be enforced according to the
corresponding provisions of the implementation of those treaty
provisions in the applicable national law. If the standard suite of
rights granted under applicable copyright law includes additional rights
not granted under this License, such additional rights are deemed to be
included in the License; this License is not intended to restrict the
license of any rights under applicable law.

+ 1
- 2
debian/install View File

@@ -1,6 +1,5 @@
kernel-remover usr/sbin/
kernel-remover.desktop usr/share/applications/siduction/
kernel-remover.desktop usr/share/applications
icons/kernel-remover.svg usr/share/icons/hicolor/scalable/apps/
icons/hicolor usr/share/icons
icons/pixmaps usr/share/
po/locale usr/share/

+ 0
- 7
debian/menu View File

@@ -1,7 +0,0 @@
?package(kernel-remover): \
needs="X11" \
section="Applications/System/Administration" \
hints="siduction,Config" \
title="remove old kernel" \
icon="/usr/share/pixmaps/kernel-remover.xpm" \
command="su-to-root -c /usr/sbin/kernel-remover"

+ 2
- 11
debian/rules View File

@@ -1,13 +1,9 @@
#!/usr/bin/make -f
%:
dh $@
dh ${@} --parallel

create-icons:
# requires inkscape and imagemagick to be installed
@if [ ! -x /usr/bin/convert ]; then \
echo "ERROR: imagemagick not installed!" ; \
false ; \
fi
# requires inkscape to be installed
@if [ ! -x /usr/bin/inkscape ]; then \
echo "ERROR: inkscape not installed!" ; \
false ; \
@@ -21,8 +17,3 @@ create-icons:
--export-png="$(CURDIR)/icons/hicolor/$${i}x$${i}/apps/kernel-remover.png" \
$(CURDIR)/icons/kernel-remover.svg ; \
done
# create XPM icons for the debian menu system
mkdir -p icons/pixmaps
convert icons/hicolor/32x32/apps/kernel-remover.png icons/pixmaps/kernel-remover.xpm
convert icons/hicolor/16x16/apps/kernel-remover.png icons/pixmaps/kernel-remover-16.xpm

+ 27
- 0
icons/Makefile View File

@@ -0,0 +1,27 @@
#!/usr/bin/make -f

NAME := kernel-remover
SVG := $(NAME).svg
SIZES := 16x16 22x22 32x32 48x48 64x64 128x128
ICONS := $(addsuffix .png,$(SIZES))
ICONS += $(addsuffix .xpm,$(NAME) $(NAME)-16)

all: $(ICONS)

%.png:
mkdir -p hicolor/$(@:.png=)/apps/
$(RM) hicolor/$(@:.png=)/apps/$(NAME).png
inkscape $(SVG) --without-gui \
--export-width=$(word 1,$(subst x, ,$(@:.png=))) \
--export-height=$(word 2,$(subst x, ,$(@:.png=))) \
--export-png=hicolor/$(@:.png=)/apps/$(NAME).png

$(NAME).xpm:
mkdir -p pixmaps/
$(RM) pixmaps/$@
convert hicolor/32x32/apps/$(NAME).png pixmaps/$@

$(NAME)-16.xpm:
mkdir -p pixmaps/
$(RM) pixmaps/$@
convert hicolor/16x16/apps/$(NAME).png pixmaps/$@

+ 0
- 178
icons/pixmaps/kernel-remover-16.xpm View File

@@ -1,178 +0,0 @@
/* XPM */
static char *kernel_remover_16[] = {
/* columns rows colors chars-per-pixel */
"16 16 156 2 ",
" c black",
". c #010101",
"X c #020305",
"o c #040404",
"O c #101010",
"+ c #151515",
"@ c #181818",
"# c #2C2D2E",
"$ c #704E1C",
"% c #70511F",
"& c #5B5138",
"* c #6E542B",
"= c #795925",
"- c #765A2D",
"; c #6B5A3E",
": c #78643C",
"> c #2F3945",
", c #44494F",
"< c #574F42",
"1 c #4D5D5A",
"2 c #7B6744",
"3 c #7E6D4E",
"4 c #6D6C68",
"5 c #62657E",
"6 c #656878",
"7 c #846433",
"8 c #826535",
"9 c #94723A",
"0 c #98743F",
"q c #9A7742",
"w c #97774F",
"e c #827053",
"r c #8E7A5F",
"t c #9F7C52",
"y c #9A7E55",
"u c #977B59",
"i c #A79F2D",
"p c #C28614",
"a c #FFBF00",
"s c #FFDB00",
"d c #C2C230",
"f c #9F8156",
"g c #A3814C",
"h c #AA8657",
"j c #A38259",
"k c #A0825A",
"l c #AA8359",
"z c #AE885C",
"x c #B38F5A",
"c c #B28D5D",
"v c #B78F5C",
"b c #B48E5E",
"n c #B6915D",
"m c #BB905C",
"M c #9B8363",
"N c #9F8D60",
"B c #8D8370",
"V c #8D8776",
"C c #A98761",
"Z c #A28969",
"A c #A58D6E",
"S c #B48F61",
"D c #B88F60",
"F c #AC916B",
"G c #AE916A",
"H c #AC926F",
"J c #B3986F",
"K c #B99A6B",
"L c #A78F75",
"P c #A39175",
"I c #A89372",
"U c #A89577",
"Y c #AD9775",
"T c #B19874",
"R c #B89D77",
"E c #B19879",
"W c #B99F7A",
"Q c #C09361",
"! c #C59B67",
"~ c #C69E65",
"^ c #C69F66",
"/ c #F5CB7B",
"( c #3A5F8C",
") c #536B8A",
"_ c #486994",
"` c #50729D",
"' c #4879B7",
"] c #5F81AC",
"[ c #4F80B9",
"{ c #5E85B5",
"} c #6485AC",
"| c #7487A4",
" . c #6A8DB4",
".. c #6B91CF",
"X. c #7DA2D0",
"o. c gray52",
"O. c #888985",
"+. c #929085",
"@. c #9F9F98",
"#. c #A19A8A",
"$. c #B7A185",
"%. c #BFA483",
"&. c #B3A48A",
"*. c #B9AD96",
"=. c #91A6BD",
"-. c #A2A2A2",
";. c #AEB0A9",
":. c #A0AEBC",
">. c #A1AEBD",
",. c #B5B7B0",
"<. c #B2B3BC",
"1. c #C7B392",
"2. c #CEC0A6",
"3. c #D9C0A2",
"4. c #D9C4A5",
"5. c #C1C3BE",
"6. c #C2C4BE",
"7. c #DCCEB5",
"8. c #86A3CA",
"9. c #82A0D4",
"0. c #9BB2DA",
"q. c #AEB8C1",
"w. c #B7C7E1",
"e. c #C0C3C5",
"r. c #C6C9C3",
"t. c #CACDC8",
"y. c #D9CFC6",
"u. c #D2D4CD",
"i. c #C9CDD0",
"p. c #D4D5D0",
"a. c #D5D5D5",
"s. c #D6D8D3",
"d. c #D7DAD3",
"f. c #D6DAD5",
"g. c #D9DBD6",
"h. c #DCDFD7",
"j. c #DCE0DD",
"k. c #E0E2DF",
"l. c #CED6E4",
"z. c #DEE3E5",
"x. c #E3E5E0",
"c. c #E3E5E2",
"v. c #E6E7E3",
"b. c #E7E8E4",
"n. c #E7E9E5",
"m. c #E8E9E5",
"M. c #E9EBE5",
"N. c #E9E9E6",
"B. c #E8EAE7",
"V. c #E9EAE7",
"C. c #EAEBE6",
"Z. c #EDECE7",
"A. c #EAEBE8",
"S. c #ECEDE9",
"D. c #EDEEEA",
"F. c None",
/* pixels */
"1.F.F.F.t.5.,.F.F.F.F.F.F.F.F.F.",
"4.7.F.p.A.N.N.v.v.N.B.N.c.& F.F.",
"F.Y F.s.:.=.:.q.i.j.N.v.6.* F.F.",
"F.R F.g. .` , > ( [ { j.@.F.F.F.",
"F.3.2.f.} # O o ' ..h.V F.F.F.",
"F.F.I e.) -.+ o.o _ 9.s.e F.F.F.",
"F.F.P #.1 d i 4 @ ] 0.u.2 F.F.F.",
"F.F.A L N s a p X.w.r.: F.F.F.",
"F.F.T F W K / *. 8.l.;.- F.F.F.",
"F.F.E C J H y.a. | z.+.$ 7 F.F.",
"F.F.&.u M F Z <.6 5 A.B = % 9 F.",
"F.F.U f t j k $.C.D.D.3 F.q 0 g ",
"F.F.F.b h z S w %.Z.Z.; F.F.f : ",
"F.F.F.~ v n D l x r O.< F.F.F.F.",
"F.F.F.! m ~ Q b F.F.F.F.F.F.F.F.",
"F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F."
};

+ 0
- 294
icons/pixmaps/kernel-remover.xpm View File

@@ -1,294 +0,0 @@
/* XPM */
static char *kernel_remover[] = {
/* columns rows colors chars-per-pixel */
"32 32 256 2 ",
" c #010101",
". c #0A0A0A",
"X c #05080D",
"o c #151206",
"O c #0B1016",
"+ c #151515",
"@ c #1C1C1C",
"# c #3F3F00",
"$ c #1D2025",
"% c gray14",
"& c #2B2B29",
"* c #222529",
"= c #3D372B",
"- c #26233A",
"; c #313131",
": c gray23",
"> c #5C5C00",
", c #5B421C",
"< c #644416",
"1 c #67481A",
"2 c #6C4B1A",
"3 c #72511E",
"4 c #404039",
"5 c #6C5329",
"6 c #755422",
"7 c #7B5721",
"8 c #7E5B25",
"9 c #7F5E29",
"0 c #755729",
"q c #615139",
"w c #7C5E31",
"e c #755E3B",
"r c #77623E",
"t c #243346",
"y c #2E3D51",
"u c #3F4852",
"i c #324357",
"p c #2D4A6F",
"a c #3D5674",
"s c #464747",
"d c #534E44",
"f c #595242",
"g c #48515B",
"h c #575856",
"j c #6B5F49",
"k c #625F51",
"l c #6F644F",
"z c #726246",
"x c #6B675A",
"c c #696458",
"v c #58677A",
"b c #516072",
"n c #646562",
"m c gray43",
"M c #777264",
"N c #707278",
"B c #787973",
"V c #885900",
"C c #815E29",
"Z c #85622C",
"A c #8A672E",
"S c #886732",
"D c #8C6A34",
"F c #806435",
"G c #92713B",
"H c #886B47",
"J c #8C744C",
"K c #9A7741",
"L c #9C7C45",
"P c #95754E",
"I c #977A4F",
"U c #9C7B4A",
"Y c #98754F",
"T c #867157",
"R c #8E7150",
"E c #89755A",
"W c #9B7C52",
"Q c #9E7F59",
"! c #947759",
"~ c #A37E53",
"^ c #7E817C",
"/ c #FFA700",
"( c #FFAD00",
") c #FFBA00",
"_ c #F9B209",
"` c #FEB62D",
"' c #CCC805",
"] c #FFC400",
"[ c #FFC800",
"{ c #FDD203",
"} c #FFE000",
"| c #FFEB00",
" . c #FFF700",
".. c #F3F30B",
"X. c #E4CA2A",
"o. c #9D805B",
"O. c #A38255",
"+. c #AA8655",
"@. c #AC8A57",
"#. c #A3835C",
"$. c #A9855B",
"%. c #AC8B5D",
"&. c #B28D5C",
"*. c #B6875A",
"=. c #B6925F",
"-. c #BC925D",
";. c #9A8365",
":. c #93836D",
">. c #98846A",
",. c #9C896D",
"<. c #8B8478",
"1. c #9A8672",
"2. c #9F8F7A",
"3. c #938776",
"4. c #A48965",
"5. c #AB8D65",
"6. c #A98B64",
"7. c #B78E60",
"8. c #BE8E60",
"9. c #AC926D",
"0. c #B69162",
"q. c #BC9463",
"w. c #B2936C",
"e. c #BF9F6D",
"r. c #BB9965",
"t. c #AD9572",
"y. c #A99578",
"u. c #B39B73",
"i. c #BA9D75",
"p. c #B99F7A",
"a. c #B39875",
"s. c #B2B266",
"d. c #BDA27B",
"f. c #C0945C",
"g. c #C08D60",
"h. c #C39463",
"j. c #C29A65",
"k. c #C29768",
"l. c #CE9E68",
"z. c #C6A46D",
"x. c #CCA36B",
"c. c #CAA266",
"v. c #D5A96D",
"b. c #C8A670",
"n. c #FFD077",
"m. c #2F5E98",
"M. c #4A6484",
"N. c #536D8F",
"B. c #5B738B",
"V. c #4B6B92",
"C. c #667D9D",
"Z. c #4B76A8",
"A. c #5E7DA3",
"S. c #557AA5",
"D. c #4178BA",
"F. c #5B7CBF",
"G. c #417FCE",
"H. c #487DC4",
"J. c #67829F",
"K. c #6D839B",
"L. c #788497",
"P. c #5D80A5",
"I. c #6A87AA",
"U. c #7088A2",
"Y. c #7789A7",
"T. c #6A8AB3",
"R. c #4080CE",
"E. c #5487C7",
"W. c #4C88D2",
"Q. c #5790D5",
"!. c #5B92D5",
"~. c #728AC4",
"^. c #6E93C2",
"/. c #7D9BC3",
"(. c #7695C9",
"). c #6D9EDC",
"_. c #6498D9",
"`. c #749DDB",
"'. c #75A3E0",
"]. c #878A83",
"[. c #989387",
"{. c #999B95",
"}. c #B09C80",
"|. c #9DA09B",
" X c #B9A483",
".X c #BDAA8C",
"XX c #AFA491",
"oX c #BAAA93",
"OX c #8585A1",
"+X c #918BA4",
"@X c #8A97A3",
"#X c #93A0AE",
"$X c #9BA7B2",
"%X c #A4A4A4",
"&X c #ABADA6",
"*X c #ADADAA",
"=X c #B4AEA7",
"-X c #ADB0A9",
";X c #B3B4AE",
":X c #A5A4B7",
">X c #A8B2BB",
",X c #BABAB7",
"<X c #BDBEBC",
"1X c #B5B7B2",
"2X c #C3A982",
"3X c #C3AD8C",
"4X c #C8AF89",
"5X c #CAB18F",
"6X c #CCB99B",
"7X c #C6B497",
"8X c #D1BC9A",
"9X c #CBBCA2",
"0X c #C4BCAE",
"qX c #CFC1A8",
"wX c #D5C3A8",
"eX c #D6C9B4",
"rX c #DACFB6",
"tX c #899BCD",
"yX c #9FABD6",
"uX c #B5BCC1",
"iX c #A2B2D3",
"pX c #81ADE4",
"aX c #88B2E7",
"sX c #8EB6EA",
"dX c #94BAED",
"fX c #B7C0DF",
"gX c #BDC4D5",
"hX c #9CC0F1",
"jX c #A5C2EF",
"kX c #A4C5F4",
"lX c #C5C6C1",
"zX c #C9CBC5",
"xX c #CDCDCA",
"cX c #C3C7C9",
"vX c #CDD1CA",
"bX c #D2D5CF",
"nX c #D9D6C8",
"mX c #D2D6D4",
"MX c #D6D9D2",
"NX c #D9DCD6",
"BX c #DBDDDA",
"VX c #D3D9DC",
"CX c #DEE1DB",
"ZX c #E1E3DE",
"AX c #CBD1E5",
"SX c #E5E6E2",
"DX c #E7E8E4",
"FX c #E9EAE6",
"GX c #ECEDE9",
"HX c #E5E6E4",
"JX c #EFF0EC",
"KX c #F1F2EE",
"LX c #FFF9EE",
"PX c #FEFEFE",
"IX c #F2F3F0",
"UX c None",
/* pixels */
"6X6XUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUX",
"wX XrXUXUXUXUXzXNXbXvXlX<X,X*X&X&X&X*X*XUXUXUXUXUXUXUXUXUXUXUXUX",
"UX3XqXUXUXUXUXNXFXGXFXDXFXFXDXDXDXDXFXFXFXHXDXHXFXCXc UXUXUXUXUX",
"UX8X XUXUXUXUXCXFXFXFXDXDXDXDXDXDXDXFXFXFXGXGXGXGXbXq UXUXUXUXUX",
"UX8X6.qXUXUXUXDXSXZXDXSXDXDXSXSXDXDXDXFXGXGXDXSXCX*X5 UXUXUXUXUX",
"UXUXd.7XUXUXzXHX$XB.A.J.K.U.@X#X>XcXVXZXDXZXZXZXCX{.6 UXUXUXUXUX",
"UXUX4X9.eXUXvXDXL.R.G.S.b g u a Z.Z.S.A.I.C.mXZXNXB 7 UXUXUXUXUX",
"UXUX6X$.9XUXbXZXL.W.N.s : ; % + O m.R.W.Q.H.VXBXMXx 7 UXUXUXUXUX",
"UXUXUXd.oXUXMXZXK.E.s ; % + . X D.!._.F.CXNXvXj 8 UXUXUXUXUX",
"UXUXUX5X9.eXBXmXK.V.% + . p _.).~.NXNX,Xe UXUXUXUXUXUX",
"UXUXUX9Xt.9XCXuXT.i %X%X @ X t ).).tXMXNX|.w UXUXUXUXUXUX",
"UXUXUXUX2X.XnX$X/.* n <XX h PXHX. t '.).iXMXMX^ Z UXUXUXUXUXUX",
"UXUXUXUX.X,.XX@X^.& 4 s.# ,X& *X: y pX'.gXMXbXn A UXUXUXUXUXUX",
"UXUXUXUX2.>.>.<.A.> .. .| X.o *X@ M.aX`.VXmXvXk D UXUXUXUXUXUX",
"UXUXUXUX;.$.a.3.N ' | } { ] _ J T.sX(.BXMXlXj UXUXUXUXUXUXUX",
"UXUXUXUX1.:.! d.2Xu.{ [ ) ( / V /.sXtXMXMX-Xr UXUXUXUXUXUXUX",
"UXUXUXUXy.9.$.p.d.3X%._ / ` n.d . /.dXyXNXCX[.r UXUXUXUXUXUXUX",
"UXUXUXUXy.5.$.p.t.b.9.6XLXPXPXm Y.dXfXCXCXM 9 , UXUXUXUXUXUX",
"UXUXUXUX}.$.$.w.a.i.i.Q FXPXPX%X v kXAXZXBXx 8 3 w I UXUXUXUX",
"UXUXUXUXoX$.6.O.w.a.p.:.1.PXPXxX % kXHXZXMXl 3 < 2 S e.UXUXUX",
"UXUXUXUX0X#.$.~ 4.>.>.9.R =X:X+X- Y.FXDXzXz 3 1 1 3 Z b.UXUX",
"UXUXUXUXMX>.E T T o.5.i.Q Q MXDXGXgXOXOXFXFX1Xe 8 9 7 7 C Z b.UX",
"UXUXUXUX*X4.R O.P O.Q 6.w.O.w.ZXDXFXFXFXGXGX|.0 UXK A A A G D z.",
"UXUXUXUXUXo.Y 7.~ Y $.I q.I 0.3XFXGXJXJXGXGX].3 UXUX+.L O.O.G D ",
"UXUXUXUXUX%.W q.+.P 0.$.%.7.H j.4XDXGXIXIXFXB 1 UXUXUXr.=.@.L UX",
"UXUXUXUXUX5.+.&.@.q.U 7.%.h.Y O.c.u.nXGXIXBXx , UXUXUXUXUXUXUXUX",
"UXUXUXUXUXO.x.%.&.f.O.q.*.r.k.z c.%.o.2.=X;Xf q UXUXUXUXUXUXUXUX",
"UXUXUXUXUXUXx.v.@.-.&.q.g.8.x.g.U j.J UX& h = UXUXUXUXUXUXUXUXUX",
"UXUXUXUXUXUXr.l.@.f.v.+.8.*.x.q.h.UXUXUXUXUXUXUXUXUXUXUXUXUXUXUX",
"UXUXUXUXUXUXq.g.@.f.v.=.j.O.UXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUX",
"UXUXUXUXUXUX$.8.+.*.UXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUX",
"UXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUX"
};

+ 91
- 43
kernel-remover View File

@@ -1,11 +1,24 @@
#!/bin/sh
# Copyright (C) 2005-2015, Stefan Lippers-Hollmann <s.l-h@gmx.de>
# Copyright (C) 2007-2010, Joaquim Boura <x-un-i@berlios.de>

# This program 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; version 2 of the
# License, or (at your option) any later version.
#
# This program 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.

# we need gettext (is loaded in ssft.sh or cloned...)
if [ -f /usr/bin/gettext.sh ]; then
. /usr/bin/gettext.sh || exit 1
else
exit 1
fi

#---------------------------------------------------------------------
# we need root rights
#---------------------------------------------------------------------
@@ -14,6 +27,7 @@ if [ "$(id -u)" -ne 0 ]; then
[ -n "$DISPLAY" ] && exec su-to-root -X -c "${0} $@"
exec su-to-root -c "${0} $@"
fi

printf "ERROR: $0 needs root capabilities, please start it as root.\n\n" >&2
exit 1
else
@@ -29,25 +43,34 @@ export TEXTDOMAINDIR
usage()
{
echo "$(basename $0)"
echo " -F parameter use parameter as the graphical frontend"
echo " -G parameter use parameter as the graphical frontend"
echo " one of text | dialog | kdialog | zenity "
echo " -f proceed without asking, do complete cleanup"
echo " -h show this usage"
exit 1
}
#---------------------------------------------------------------------

force=0
xtra=0
unset frontend
while getopts fhxF: name
do
case $name in
f) force=1;;
F) frontend="$OPTARG";;
h) usage;;
x) xtra=1;;
*) usage;;
esac
while getopts fhxG: name; do
case $name in
f)
force=1
;;
G)
frontend="$OPTARG"
;;
h) usage
;;
x)
xtra=1
;;
*)
usage
;;
esac
done
shift $(($OPTIND - 1))

@@ -66,17 +89,29 @@ prepare()

if [ -n "${frontend}" ]; then
case $frontend in
text) SSFT_FRONTEND="${frontend}";;
dialog) SSFT_FRONTEND="${frontend}";;
kdialog) SSFT_FRONTEND="${frontend}";;
zenity) SSFT_FRONTEND="${frontend}";;
*) echo unknown frontend && exit 1;;
text)
SSFT_FRONTEND="${frontend}"
;;
dialog)
SSFT_FRONTEND="${frontend}"
;;
kdialog)
SSFT_FRONTEND="${frontend}"
;;
zenity)
SSFT_FRONTEND="${frontend}"
;;
*)
echo unknown frontend
exit 1
;;
esac
fi

if [ -z "$DISPLAY" ] && ! /usr/bin/xdpyinfo >/dev/null 2>&1 ; then
unset DISPLAY
fi

if [ -z "$DISPLAY" ]; then
[ -x /usr/bin/dialog ] && SSFT_FRONTEND=${SSFT_FRONTEND:-"dialog"} || \
SSFT_FRONTEND=${SSFT_FRONTEND:-"text"}
@@ -94,16 +129,17 @@ prepare()
fi

# the current one will not be shown in the list ....

ACTUAL=$(uname -r)
CURRENTKERNEL=$(uname -r)
TITLE="$(gettext "Removing installed kernels")"
PAD="======="

[ "${SSFT_FRONTEND}" = "dialog" -o -z "${SSFT_FRONTEND}" ] && \
CURRENT="$(eval_gettext "The actual (active) kernel is ${PAD}$(uname -r)${PAD}")" || \
CURRENT="$(eval_gettext "The actual (active) kernel is $(uname -r)")"

if [ "${SSFT_FRONTEND}" = "dialog" ] || [ -z "${SSFT_FRONTEND}" ]; then
CURRENT="$(eval_gettext "The current (active) kernel is ${PAD}$(uname -r)${PAD}")"
else
CURRENT="$(eval_gettext "The current (active) kernel is $(uname -r)")"
fi
}

#---------------------------------------------------------------------
# some useful functions
#---------------------------------------------------------------------
@@ -112,9 +148,11 @@ inputbox()
# inputbox Title Text dummy default
Title="$1"
Text="$2"

# $3 not used
# The default value if used
SSFT_DEFAULT=$4

ssft_read_string "${Title}" "${Text}";
}

@@ -126,6 +164,7 @@ msgbox()
Text="$2"
ssft_display_message "${Title}" "${Text}"
}

#---------------------------------------------------------------------
select_more()
{
@@ -133,6 +172,7 @@ select_more()
Title=$1
Text=$2
shift 2

if ssft_select_multiple "$Title" "$Text" $@ ; then
Selected=$SSFT_RESULT
return 0
@@ -140,13 +180,16 @@ select_more()
return 1
fi
}

#---------------------------------------------------------------------
yesno()
{
# yesno title text width
Title=$1
Text=$2

ssft_yesno "${Title}" "${Text}"

return $?
}

@@ -154,8 +197,8 @@ yesno()
remove_one_kernel()
{
Kernel=$1
if [ "${Kernel}" != "${ACTUAL}" ]; then
apt-get remove --purge --yes $(dpkg -l | awk "/${Kernel}/{print \$2}")
if [ "${Kernel}" != "${CURRENTKERNEL}" ]; then
apt-get remove --purge --yes $(dpkg -l | grep ${Kernel} | awk '{print $2}')

dpkg -l "linux-headers-${Kernel}-common" >/dev/null 2>&1 && \
apt-get remove --purge --yes "linux-headers-${Kernel}-common"
@@ -166,30 +209,29 @@ remove_one_kernel()
if [ ! -e "/boot/vmlinuz-${Kernel}" ]; then
rm -rf /lib/modules/${Kernel}
fi
else
# do not remove active kernel
:
fi
}

#---------------------------------------------------------------------


get_KernelList()
{
for v in /boot/vmlinuz-*; do
Kernel="$(basename $v | sed s/vmlinuz-//)"
if [ "${Kernel}" != "${ACTUAL}" ]; then
meta_package="$(echo $(grep-available \
-F Depends linux-image-${Kernel} \
-s Package) | cut -d: -f 2)"
if [ "${Kernel}" != "${CURRENTKERNEL}" ]; then
meta_package="$(echo $(grep-status \
-F Depends -s Package \
linux-image-${Kernel}) | cut -d: -f 2)"

case $meta_package in
*$Kernel* ) # this is an old style kernel
*$Kernel* )
# this is an old style kernel
KernelList="${KernelList} ${Kernel}"

continue
;;
esac

[ -n "${meta_package}" ] && \
meta_status="$(dpkg-query -f='${STATUS}\n' \
-W ${meta_package}|\
@@ -200,8 +242,6 @@ get_KernelList()
[ -z "${KernelList}" ] && KernelList="${Kernel}" ||\
KernelList="${KernelList} ${Kernel}"
# echo KernelList="$KernelList"
else
:
fi
fi
done
@@ -212,14 +252,16 @@ get_KernelList()
#---------------------------------------------------------------------
if [ "${xtra}" -eq 1 ]; then
KernelList="$@"
for i in ${KernelList} ; do
removing="$(eval_gettext "removing kernel ${i}")"
echo $removing
remove_one_kernel "$i"
done
MSG="$(eval_gettext "the following kernels have been removed: \"${KernelList}\"")"
echo $MSG
exit 0
for i in ${KernelList} ; do
removing="$(eval_gettext "removing kernel ${i}")"
echo $removing
remove_one_kernel "$i"
done

MSG="$(eval_gettext "the following kernels have been removed: \"${KernelList}\"")"
echo $MSG

exit 0
fi

prepare
@@ -228,22 +270,26 @@ get_KernelList

if [ -z "${KernelList}" ]; then
MSG="$(gettext "There is only one kernel installed on this system. Nothing to be done!")"

if [ "${force}" -eq 1 ]; then
echo "${MSG}"
else
msgbox "${TITLE}" "${MSG}"
fi

exit 0
fi

if [ "${force}" -eq 1 ]; then
current="$(eval_gettext "The actual (active) kernel is $(uname -r)")"
current="$(eval_gettext "The current (active) kernel is $(uname -r)")"
echo ${current}

for i in ${KernelList} ; do
removing="$(eval_gettext "removing kernel ${i}")"
echo $removing
remove_one_kernel "$i"
done

MSG="$(eval_gettext "the following kernels have been removed: \"${KernelList}\"")"
echo $MSG
else
@@ -251,6 +297,7 @@ else
if [ "$?" -ne 0 ]; then
exit 10
fi

if [ -z "${SSFT_RESULT}" ]; then
exit 12
fi
@@ -270,3 +317,4 @@ else
fi

exit 0


+ 2
- 2
kernel-remover.8 View File

@@ -1,4 +1,4 @@
.TH KERNEL-REMOVER "8" "March 2008" "" ""
.TH KERNEL-REMOVER "29" "August 2012" "" ""
.SH NAME
kernel-remover \- removes aptosid kernels
.SH SYNOPSIS
@@ -12,7 +12,7 @@ running \fBaptosid.\fR
\fB\-h\fR
print help screen
.TP
\fB\-F \fI<graphic-frontend>\fR
\fB\-G \fI<graphic-frontend>\fR
uses \fI<graphic-frontend>\fR as the graphic frontend for the output\fR
possible frontends are \fBtext\fR | \fBdialog\fR | \fBkdialog\fR | \fBzenity\fR
.TP

+ 1
- 0
kernel-remover.desktop View File

@@ -6,3 +6,4 @@ Name=kernel-remover
GenericName=delete old kernels
GenericName[de]=entferne alte Kernel
Categories=System;
Keywords=Kernel;remover;removal;

+ 2
- 2
po/de.po View File

@@ -19,11 +19,11 @@ msgid "Removing installed kernels"
msgstr "Entfernen installierten Kernels"

#: kernel-remover:98
msgid "The actual (active) kernel is ${PAD}$(uname -r)${PAD}"
msgid "The current (active) kernel is ${PAD}$(uname -r)${PAD}"
msgstr "Der aktuelle (akive) Kernel ist ${PAD}$(uname -r)${PAD}"

#: kernel-remover:99
msgid "The actual (active) kernel is $(uname -r)"
msgid "The current (active) kernel is $(uname -r)"
msgstr "Der aktuelle (akive) Kernel ist $(uname -r)"

#: kernel-remover:213

+ 2
- 2
po/messages.pot View File

@@ -20,11 +20,11 @@ msgid "Removing installed kernels"
msgstr ""

#: kernel-remover:98
msgid "The actual (active) kernel is ${PAD}$(uname -r)${PAD}"
msgid "The current (active) kernel is ${PAD}$(uname -r)${PAD}"
msgstr ""

#: kernel-remover:99
msgid "The actual (active) kernel is $(uname -r)"
msgid "The current (active) kernel is $(uname -r)"
msgstr ""

#: kernel-remover:213

+ 4
- 4
po/pt.po View File

@@ -19,12 +19,12 @@ msgid "Removing installed kernels"
msgstr "Remoção de kernel instalados e nâo activos"

#: kernel-remover:98
msgid "The actual (active) kernel is ${PAD}$(uname -r)${PAD}"
msgstr "O kernel actualmente activo é ${PAD}$(uname -r)${PAD}"
msgid "The current (active) kernel is ${PAD}$(uname -r)${PAD}"
msgstr "O kernel currentmente activo é ${PAD}$(uname -r)${PAD}"

#: kernel-remover:99
msgid "The actual (active) kernel is $(uname -r)"
msgstr "O kernel actualmente activo é $(uname -r)"
msgid "The current (active) kernel is $(uname -r)"
msgstr "O kernel currentmente activo é $(uname -r)"

#: kernel-remover:213
msgid "There is only one kernel installed on this system. Nothing to be done!"

+ 47
- 0
po/ru.po View File

@@ -0,0 +1,47 @@
# Fancy skript to remove the installed aptosid kernels
# Copyright (C) 2007-2010 Joaquim Boura <x-un-i@berlios.de>
# This file is distributed under the same license as the PACKAGE package.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: kernel-remover.sh 0.00.1\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2008-03-29 00:01+0000\n"
"Last-Translator: Roland Engert <roen@aptosid.com>\n"
"Language-Team: aptosid <translation-team@aptosid.com>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: kernel-remover:94
msgid "Removing installed kernels"
msgstr "Удаление установленного ядра"

#: kernel-remover:98
msgid "The current (active) kernel is ${PAD}$(uname -r)${PAD}"
msgstr "Aктивноe ядро ${PAD}$(uname -r)${PAD}"

#: kernel-remover:99
msgid "The current (active) kernel is $(uname -r)"
msgstr "Aктивноe ядро $(uname -r)"

#: kernel-remover:213
msgid "There is only one kernel installed on this system. Nothing to be done!"
msgstr "Существует только одно ядро, ​​установленое на этой системе. Ничто делать!"

#: kernel-remover:222
msgid "removing kernel ${i}"
msgstr "Удаляется ядро ${i}"

#: kernel-remover:226
msgid "The following kernels have been removed: \"${KernelList}\""
msgstr "Следующие ядра были удалены: \"${KernelList}\""

#: kernel-remover:240
msgid "Should I remove this kernel?"
msgstr "Должно ли удалить это ядро?"

#: kernel-remover:247
msgid "Kernel not removed:"
msgstr "Ядро не было удалено:"

+ 48
- 0
po/uk.po View File

@@ -0,0 +1,48 @@
# Fancy skript to remove the installed aptosid kernels
# Copyright (C) 2007-2010 Joaquim Boura <x-un-i@berlios.de>
# This file is distributed under the same license as the PACKAGE package.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: kernel-remover.sh 0.00.1\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2008-03-29 00:01+0000\n"
"Last-Translator: Pavlo Libovych <polosravros@gmail.com>\n"
"Language-Team: aptosid <translation-team@aptosid.com>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: kernel-remover:94
msgid "Removing installed kernels"
msgstr "Видалення встановлених ядрів"

#: kernel-remover:98
msgid "The current (active) kernel is ${PAD}$(uname -r)${PAD}"
msgstr "Струмове ядро є ${PAD}$(uname -r)${PAD}"

#: kernel-remover:99
msgid "The current (active) kernel is $(uname -r)"
msgstr "Струмове ядро є $(uname -r)"

#: kernel-remover:213
msgid "There is only one kernel installed on this system. Nothing to be done!"
msgstr "Iснує тільки одне встановлене ядро на цій системі.Нічого не поробиш!"

#: kernel-remover:222
msgid "removing kernel ${i}"
msgstr "Ядро ${i} буде видалено."

#: kernel-remover:226
msgid "The following kernels have been removed: \"${KernelList}\""
msgstr "Такі ядра були видалені: \"${KernelList}\""

#: kernel-remover:240
msgid "Should I remove this kernel?"
msgstr "Видалити це ядро?"

#: kernel-remover:247
msgid "Kernel not removed:"
msgstr "Ядро не було видалене:"

Loading…
Cancel
Save