--- kshutdown-0.8.orig/debian/cdbs/kde.mk +++ kshutdown-0.8/debian/cdbs/kde.mk @@ -0,0 +1,88 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2003 Christopher L Cheney +# Description: A class for KDE packages; sets KDE environment variables, etc +# +# 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; either version 2, 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. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. + + +ifndef _cdbs_bootstrap +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class +endif + +ifndef _cdbs_class_kde +_cdbs_class_kde := 1 + +include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix) + +ifdef _cdbs_tarball_dir +DEB_BUILDDIR = $(_cdbs_tarball_dir)/obj-$(DEB_BUILD_GNU_TYPE) +else +DEB_BUILDDIR = obj-$(DEB_BUILD_GNU_TYPE) +endif + +include $(_cdbs_class_path)/autotools.mk$(_cdbs_makefile_suffix) + +export kde_cgidir = \$${libdir}/cgi-bin +export kde_confdir = \$${sysconfdir}/kde3 +export kde_htmldir = \$${datadir}/doc/kde/HTML + +ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + cdbs_kde_enable_final = $(if $(DEB_KDE_ENABLE_FINAL),--enable-final,) +endif + +ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + cdbs_kde_enable_final = + cdbs_kde_enable_debug = --enable-debug=yes +else + cdbs_kde_enable_debug = --disable-debug +endif + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + cdbs_kde_enable_debug = --enable-debug=full +endif + +cdbs_configure_flags += --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug) + +DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin +DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include/kde" +DEB_COMPRESS_EXCLUDE := .bz2 .css .dcl .docbook -license .tag .sty .el + +cleanbuilddir:: + -if test "$(DEB_BUILDDIR)" != "$(DEB_SRCDIR)"; then rm -rf $(DEB_BUILDDIR); fi + +common-build-arch common-build-indep:: debian/stamp-apidox +debian/stamp-apidox: + if test -n "$(DEB_KDE_APIDOX)"; then \ + $(DEB_MAKE_INVOKE) apidox; \ + fi + touch debian/stamp-apidox + +common-install-arch common-install-indep:: install-apidox +install-apidox:: + if test -n "$(DEB_KDE_APIDOX)"; then \ + $(DEB_MAKE_INVOKE) install-apidox DESTDIR=$(DEB_DESTDIR); \ + fi + +clean:: + rm -f debian/stamp-apidox + +buildprep: clean apply-patches + make -f admin/Makefile.common dist + debian/rules clean + +endif --- kshutdown-0.8.orig/debian/patches/kubuntu_01_fix_desktop_file.patch +++ kshutdown-0.8/debian/patches/kubuntu_01_fix_desktop_file.patch @@ -0,0 +1,15 @@ +diff -Nur kshutdown-0.7.1beta/kshutdown/kshutdown.desktop kshutdown-0.7.1beta.new/kshutdown/kshutdown.desktop +--- kshutdown-0.7.1beta/kshutdown/kshutdown.desktop 2005-06-25 13:27:52.000000000 +0200 ++++ kshutdown-0.7.1beta.new/kshutdown/kshutdown.desktop 2005-11-14 14:59:43.000000000 +0100 +@@ -2,8 +2,11 @@ + Encoding=UTF-8 + Comment=A Shut Down Utility for KDE + Comment[de]=Erweitertes Herunterfahren für KDE ++Comment[fr]=Utilitaire de gestion d'arrêt pour KDE + Comment[it]=Una utilit�KDE per lo spegnimento del sistema + Comment[pl]=Narzędzie do zamykania systemu dla KDE ++GenericName=Shutdown Manager ++GenericName[fr]=Gestionnaire d'arrêt + DocPath=kshutdown/index.html + Exec=kshutdown + Icon=kshutdown --- kshutdown-0.8.orig/debian/dirs +++ kshutdown-0.8/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/apps/kconf_update --- kshutdown-0.8.orig/debian/control +++ kshutdown-0.8/debian/control @@ -0,0 +1,19 @@ +Source: kshutdown +Section: x11 +Priority: optional +Maintainer: Romain Beauxis +Build-Depends: cdbs (>= 0.4.23-1.1), autotools-dev, debhelper (>= 4.1.0), libx11-dev, kdelibs4-dev, libqt3-mt-dev, patchutils, autoconf +Standards-Version: 3.6.2 + +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), + and Logout (end the session and logout the user). + . + It features time and delay options, command line support, wizard, + and sounds. --- kshutdown-0.8.orig/debian/rules +++ kshutdown-0.8/debian/rules @@ -0,0 +1,19 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include debian/cdbs/kde.mk + +# In order to regenerate 'debian/control' : +# DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes fakeroot debian/rules clean +# Then check manually if everything's ok + + +DEB_INSTALL_DOCS_ALL := README AUTHORS TODO VERSION + +DEB_INSTALL_MANPAGES_kshutdown := debian/kshutdown.1 + +install/kshutdown:: + dh_iconcache + --- kshutdown-0.8.orig/debian/changelog +++ kshutdown-0.8/debian/changelog @@ -0,0 +1,61 @@ +kshutdown (0.8-1ubuntu2) dapper; urgency=low + + * Added dh_iconcache + + -- Sarah Hobbs Wed, 10 May 2006 21:41:20 +1000 + +kshutdown (0.8-1ubuntu1) dapper; urgency=low + + * Resynchronise with Debian. + * debian/control: + - added patchutils to Build-Depends + - added include for autotools.mk + + -- Benjamin Montgomery Thu, 15 Dec 2005 21:07:10 -0600 + +kshutdown (0.8-1) unstable; urgency=low + + * New upstream release + * Added swedish translation (Closes: #337551) + + -- Romain Beauxis Tue, 29 Nov 2005 02:30:38 +0100 + +kshutdown (0.7.1beta-0ubuntu1) dapper; urgency=low + + * New upstream release + * Added kubuntu_01_fix_desktop_file.patch to add french + translation and missing GenericName to kshutdown.desktop file + * Sponsored upload for Anthony Mercatante + + -- Jonathan Riddell Mon, 14 Nov 2005 14:49:43 +0100 + +kshutdown (0.6.1-0ubuntu1) breezy; urgency=low + + * New upstream release + + -- Anthony Mercatante Thu, 15 Sep 2005 22:36:05 +0200 + +kshutdown (0.6.0-4) unstable; urgency=low + + * Workaround for FTBFS on some arch (see gcc Bug#323133) + + -- Romain Beauxis 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 Mon, 5 Sep 2005 11:00:11 +0200 + +kshutdown (0.6.0-2) unstable; urgency=low + + * Minor Debian fixes. + + -- Romain Beauxis Fri, 27 May 2005 11:35:55 +0200 + +kshutdown (0.6.0-1) unstable; urgency=low + + * Initial Release. (closes: #305843) + + -- Romain Beauxis Thu, 14 Apr 2005 02:05:09 +0200 + --- kshutdown-0.8.orig/debian/watch +++ kshutdown-0.8/debian/watch @@ -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=2 + +# Uncomment to examine a Webserver directory +http://prdownloads.sourceforge.net/kshutdown/kshutdown-(.*(? +Build-Depends: @cdbs@, libx11-dev, kdelibs4-dev, libqt3-mt-dev +Standards-Version: 3.6.2 + +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), + and Logout (end the session and logout the user). + . + It features time and delay options, command line support, wizard, + and sounds. --- kshutdown-0.8.orig/debian/copyright +++ kshutdown-0.8/debian/copyright @@ -0,0 +1,13 @@ +This package was debianized by Romain Beauxis on +Thu, 14 Apr 2005 02:05:09 +0200. + +It was downloaded from http://kshutdown.sourceforge.net/download.html + +Copyright Holder: Konrad Twardowski + +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'. --- kshutdown-0.8.orig/debian/kshutdown.1 +++ kshutdown-0.8/debian/kshutdown.1 @@ -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 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\fP and +.\" \fI\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 . +.PP +This manual page was written by Romain Beauxis , +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. +