Hello!

Am Samstag, 11. April 2009 schrieb Romain Beauxis:
> As a nice coincidence, I just switched to kde4 today, and found it is now
> much better than the last time I looked at it !

I had to change some days ago for building my own package (kdiff3),
and found it finally usable, too. :o)

> Hence, I will try to prepare a package for the kde4 version of kshutdown.
> In the mean time, if you want to join the packaging you are welcome :)

Here you go...
The attached diff should allow to create a package from the beta 5 sources.
I changed the section to KDE, and I set the distribution to experimental, 
(as I'm getting crashes for some options).
Besides that, I tried to use most of your packaging from the old version.
Feel free to use whatever is useful and to throw away the rest.

Ciao,
                Eike

diff -r -u --new-file kshutdown-2.0beta5-orig/debian/changelog kshutdown-2.0beta5/debian/changelog
--- kshutdown-2.0beta5-orig/debian/changelog	1970-01-01 01:00:00.000000000 +0100
+++ kshutdown-2.0beta5/debian/changelog	2009-04-11 18:26:30.000000000 +0200
@@ -0,0 +1,98 @@
+kshutdown (2.0beta5-1) experimental; urgency=low
+
+  * First KDE 4 release (Closes: #523616)
+
+ -- Eike Sauer <e...@debian.org>  Sat, 11 Apr 2009 14:50:30 +0200
+
+kshutdown (1.0.4-1) unstable; urgency=low
+
+  * New upstream release.
+  * Updated standard version to 3.8.1 
+  * Dropped patch fixing deprecated desktop entries (fixed upstream). 
+  * Bumped compat level to 7.
+
+ -- Romain Beauxis <to...@rastageeks.org>  Fri, 27 Mar 2009 13:36:48 +0100
+
+kshutdown (1.0.3-1) unstable; urgency=low
+
+  * New upstream release 
+  * Refreshed patch
+  * Updated standard version to 3.8.0
+
+ -- Romain Beauxis <to...@rastageeks.org>  Fri, 20 Jun 2008 02:33:51 +0200
+
+kshutdown (1.0.2-1) unstable; urgency=low
+
+  * New upstream release 
+  * Updated standard version to 3.7.3 (no changes)
+
+ -- Romain Beauxis <to...@rastageeks.org>  Tue, 11 Dec 2007 01:38:55 +0100
+
+kshutdown (1.0.1-2) unstable; urgency=low
+
+  * Added linker flags to remove non-needed link dependencies.
+
+ -- Romain Beauxis <to...@rastageeks.org>  Wed, 21 Nov 2007 09:51:59 +0100
+
+kshutdown (1.0.1-1) unstable; urgency=low
+
+  * New upstream release 
+  * Fixed watch file (thanks to Raphael Geissert)
+    Closes: #449772
+
+ -- Romain Beauxis <to...@rastageeks.org>  Sun, 18 Nov 2007 14:39:07 +0100
+
+kshutdown (1.0-1) unstable; urgency=low
+
+  * New upstream release. 
+  * Fix for FTBFS with GCC 4.3 applied upstream
+  Closes: #417301
+
+ -- Romain Beauxis <to...@rastageeks.org>  Mon, 23 Apr 2007 13:41:01 +0200
+
+kshutdown (0.9.1~beta-1) experimental; urgency=low
+
+  * First upload of the next release to experimental.
+  * Updated debian standards
+  * Added workaround for buggy rpath setting
+  * Switched to cdbs' kde class
+
+ -- Romain Beauxis <to...@rastageeks.org>  Wed, 21 Feb 2007 02:10:26 +0100
+
+kshutdown (0.8.2-1) unstable; urgency=low
+
+  * New upstream release 
+
+ -- Romain Beauxis <to...@rastageeks.org>  Tue, 14 Feb 2006 03:08:46 +0100
+
+kshutdown (0.8-1) unstable; urgency=low
+
+  * New upstream release
+  * Added swedish translation (Closes: #337551)
+
+ -- Romain Beauxis <to...@rastageeks.org>  Tue, 29 Nov 2005 02:30:38 +0100
+
+kshutdown (0.6.0-4) unstable; urgency=low
+
+  * Workaround for FTBFS on some arch (see gcc Bug#323133) 
+
+ -- Romain Beauxis <to...@rastageeks.org>  Mon,  5 Sep 2005 19:54:24 +0200
+
+kshutdown (0.6.0-3) unstable; urgency=low
+
+  * New upload to rebuild against new KDE and C++ libraries. 
+
+ -- Romain Beauxis <to...@rastageeks.org>  Mon,  5 Sep 2005 11:00:11 +0200
+
+kshutdown (0.6.0-2) unstable; urgency=low
+
+  * Minor Debian fixes. 
+
+ -- Romain Beauxis <to...@rastageeks.org>  Fri, 27 May 2005 11:35:55 +0200
+
+kshutdown (0.6.0-1) unstable; urgency=low
+
+  * Initial Release. (closes: #305843)
+
+ -- Romain Beauxis <to...@rastageeks.org>  Thu, 14 Apr 2005 02:05:09 +0200
+
diff -r -u --new-file kshutdown-2.0beta5-orig/debian/compat kshutdown-2.0beta5/debian/compat
--- kshutdown-2.0beta5-orig/debian/compat	1970-01-01 01:00:00.000000000 +0100
+++ kshutdown-2.0beta5/debian/compat	2009-04-11 14:50:40.000000000 +0200
@@ -0,0 +1 @@
+7
diff -r -u --new-file kshutdown-2.0beta5-orig/debian/control kshutdown-2.0beta5/debian/control
--- kshutdown-2.0beta5-orig/debian/control	1970-01-01 01:00:00.000000000 +0100
+++ kshutdown-2.0beta5/debian/control	2009-04-11 17:17:45.000000000 +0200
@@ -0,0 +1,21 @@
+Source: kshutdown
+Section: kde
+Priority: optional
+Maintainer: Romain Beauxis <to...@rastageeks.org>
+Build-Depends: cdbs (>= 0.4.23-1.1), cmake, debhelper (>= 7.0.1), kdelibs5-dev, chrpath
+Standards-Version: 3.8.1
+Homepage: http://kshutdown.sourceforge.net
+
+Package: kshutdown
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: an advanced shut down utility for KDE
+ It has 4 main commands:
+ .
+  - Shut Down (logout and halt the system),
+  - Reboot (logout and reboot the system),
+  - Lock Screen (lock the screen using a screen saver),
+  - Logout (end the session and logout the user).
+ .
+ It features time and delay options, command line support, wizard,
+ and sounds.
diff -r -u --new-file kshutdown-2.0beta5-orig/debian/copyright kshutdown-2.0beta5/debian/copyright
--- kshutdown-2.0beta5-orig/debian/copyright	1970-01-01 01:00:00.000000000 +0100
+++ kshutdown-2.0beta5/debian/copyright	2009-04-11 17:10:39.000000000 +0200
@@ -0,0 +1,13 @@
+This package was debianized by Romain Beauxis <to...@rastageeks.org> on
+Thu, 14 Apr 2005 02:05:09 +0200.
+
+It was downloaded from http://kshutdown.sourceforge.net/download.html
+
+Copyright: 2003-2009 Konrad Twardowski <kdtonl...@poczta.onet.pl>
+
+License:
+
+You are free to distribute this software under the terms of
+the GNU General Public License.
+On Debian systems, the complete text of the GNU General Public
+License can be found in the file `/usr/share/common-licenses/GPL'.
diff -r -u --new-file kshutdown-2.0beta5-orig/debian/dirs kshutdown-2.0beta5/debian/dirs
--- kshutdown-2.0beta5-orig/debian/dirs	1970-01-01 01:00:00.000000000 +0100
+++ kshutdown-2.0beta5/debian/dirs	2009-04-11 17:10:52.000000000 +0200
@@ -0,0 +1,2 @@
+usr/bin
+usr/share/apps/kconf_update
diff -r -u --new-file kshutdown-2.0beta5-orig/debian/docs kshutdown-2.0beta5/debian/docs
--- kshutdown-2.0beta5-orig/debian/docs	1970-01-01 01:00:00.000000000 +0100
+++ kshutdown-2.0beta5/debian/docs	2009-04-11 17:11:21.000000000 +0200
@@ -0,0 +1,2 @@
+README.html
+TODO
diff -r -u --new-file kshutdown-2.0beta5-orig/debian/kshutdown.1 kshutdown-2.0beta5/debian/kshutdown.1
--- kshutdown-2.0beta5-orig/debian/kshutdown.1	1970-01-01 01:00:00.000000000 +0100
+++ kshutdown-2.0beta5/debian/kshutdown.1	2009-04-11 17:05:35.000000000 +0200
@@ -0,0 +1,115 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH KSHUTDOWN 1 "avril 14, 2005"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+kshutdown \- A Shut Down Utility for KDE
+.SH SYNOPSIS
+.B kshutdown
+.RI [ Qt-options ] 
+.RI [ KDE-options ] 
+.RI [ options ]
+.RI time
+.SH DESCRIPTION
+This manual page was written for the Debian distribution
+because the original program does not have a manual page.
+.PP
+This manual page documents briefly the
+.B kshutdown
+utility.
+.PP
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics, 
+.\" respectively.
+.SH OPTIONS
+A summary of options is included below.
+
+.TP
+Generic options:
+.TP
+.B   \-\-help
+Show help about options
+.TP
+.B  \-\-help\-qt
+Show Qt specific options
+.TP
+.B  \-\-help\-kde
+Show KDE specific options
+.TP
+.B  \-\-help\-all
+Show all options
+.TP
+.B  \-\-author
+Show author information
+.TP
+.B  \-v, \-\-version
+Show version information
+.TP
+.B  \-\-license
+Show license information
+.TP
+.B  \-\-
+End of options
+
+.TP
+Options:
+.TP
+.B \-s, \-\-shutdown
+ Turn off computer
+.TP
+.B  \-h, \-\-halt
+Turn off computer
+.TP
+.B  \-r, \-\-reboot
+Restart computer
+.TP
+.B  \-k, \-\-lock
+Lock session
+.TP
+.B  \-l, \-\-logout
+End current session
+.TP
+.B  \-w, \-\-wizard
+Wizard
+.TP
+.B  \-\-standard
+Show standard logout dialog
+.TP
+.B  \-c, \-\-cancel
+Cancel an active action
+.TP
+.B  \-\-init
+Don't show window at startup
+.TP
+.B  \-\-test
+Enable test mode
+.TP
+.B  \-\-default
+Disable test mode
+
+.TP
+Arguments:
+.TP
+.B  time
+Time; Examples: 01:30 - absolute time (HH:MM); 10 - number of minutes to wait from now
+.SH AUTHOR
+kshutdown was written by Konrad Twardowski <kdtonl...@poczta.onet.pl>.
+.PP
+This manual page was written by Romain Beauxis <to...@rastageeks.org>,
+for the Debian project  Permission is granted to copy, distribute and/or
+modify this document under the terms of the GNU General Public
+License, Version 2 any later version published by the Free Software Foundation.
+		  
diff -r -u --new-file kshutdown-2.0beta5-orig/debian/rules kshutdown-2.0beta5/debian/rules
--- kshutdown-2.0beta5-orig/debian/rules	1970-01-01 01:00:00.000000000 +0100
+++ kshutdown-2.0beta5/debian/rules	2009-04-11 18:08:09.000000000 +0200
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/cmake.mk
+#include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+# In order to regenerate 'debian/control' :
+#   DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes fakeroot debian/rules clean
+# Then check manually if everything's ok
+
+LDFLAGS :=  -Wl,-z,defs -Wl,--as-needed
+
+# DEB_INSTALL_DOCS_ALL := README AUTHORS TODO VERSION
+
+DEB_INSTALL_MANPAGES_kshutdown := debian/kshutdown.1
+
+binary-install/kshutdown::
+	chrpath -d $(CURDIR)/debian/kshutdown/usr/bin/kshutdown
+# 	chrpath -d $(CURDIR)/debian/kshutdown/usr/lib/kde3/kshutdownlockout_panelapplet.so
diff -r -u --new-file kshutdown-2.0beta5-orig/debian/watch kshutdown-2.0beta5/debian/watch
--- kshutdown-2.0beta5-orig/debian/watch	1970-01-01 01:00:00.000000000 +0100
+++ kshutdown-2.0beta5/debian/watch	2009-04-11 17:07:10.000000000 +0200
@@ -0,0 +1,11 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# See uscan(1) for format
+
+# Compulsory line, this is a version 3 file
+version=3
+
+# Uncomment to examine a Webserver directory
+http://sf.net/kshutdown/kshutdown-(.*)
+

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to