From 96dbf4dcb1e04571363422a97649fc929b35beb8 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 22 Jan 2012 00:20:07 -0600 Subject: Second part of prior commit --- .../applications/kdmtheme/debian/README.Debian | 7 - .../applications/kdmtheme/debian/cdbs/buildvars.mk | 86 -------- .../kdmtheme/debian/cdbs/debian-qt-kde.mk | 109 ---------- .../applications/kdmtheme/debian/cdbs/kde.mk | 97 --------- .../applications/kdmtheme/debian/cdbs/team-members | 16 -- .../applications/kdmtheme/debian/cdbs/uploaders.mk | 29 --- .../applications/kdmtheme/debian/cdbs/versions.pl | 19 -- .../applications/kdmtheme/debian/changelog | 123 ------------ .../applications/kdmtheme/debian/compat | 1 - .../applications/kdmtheme/debian/control | 17 -- .../applications/kdmtheme/debian/copyright | 46 ----- .../applications/kdmtheme/debian/docs | 1 - .../kdmtheme/debian/kdmtheme.lintian-overrides | 6 - .../kdmtheme/debian/patches/.gitignore | 0 .../applications/kdmtheme/debian/rules | 38 ---- .../applications/kdmtheme/debian/watch | 2 - .../applications/tdmtheme/debian/README.Debian | 7 + .../applications/tdmtheme/debian/cdbs/buildvars.mk | 86 ++++++++ .../tdmtheme/debian/cdbs/debian-qt-kde.mk | 109 ++++++++++ .../applications/tdmtheme/debian/cdbs/kde.mk | 97 +++++++++ .../applications/tdmtheme/debian/cdbs/team-members | 16 ++ .../applications/tdmtheme/debian/cdbs/uploaders.mk | 29 +++ .../applications/tdmtheme/debian/cdbs/versions.pl | 19 ++ .../applications/tdmtheme/debian/changelog | 123 ++++++++++++ .../applications/tdmtheme/debian/compat | 1 + .../applications/tdmtheme/debian/control | 17 ++ .../applications/tdmtheme/debian/copyright | 46 +++++ .../applications/tdmtheme/debian/docs | 1 + .../tdmtheme/debian/patches/.gitignore | 0 .../applications/tdmtheme/debian/rules | 38 ++++ .../tdmtheme/debian/tdmtheme.lintian-overrides | 6 + .../applications/tdmtheme/debian/watch | 2 + .../kdebase/debian/kdebase-doc-html.doc-base.kdm | 10 - .../kdebase/debian/kdebase-doc-html.doc-base.tdm | 10 + .../lucid_automake/kdebase/debian/kdm-kde3-np.pam | 11 -- .../kdebase/debian/kdm-kde3.README.Debian | 91 --------- ubuntu/lucid_automake/kdebase/debian/kdm-kde3.conf | 48 ----- .../lucid_automake/kdebase/debian/kdm-kde3.config | 87 -------- ubuntu/lucid_automake/kdebase/debian/kdm-kde3.dirs | 2 - .../lucid_automake/kdebase/debian/kdm-kde3.install | 52 ----- .../lucid_automake/kdebase/debian/kdm-kde3.links | 1 - .../kdebase/debian/kdm-kde3.logrotate | 9 - .../kdebase/debian/kdm-kde3.manpages | 6 - ubuntu/lucid_automake/kdebase/debian/kdm-kde3.pam | 11 -- .../kdebase/debian/kdm-kde3.postinst | 126 ------------ .../lucid_automake/kdebase/debian/kdm-kde3.postrm | 38 ---- .../lucid_automake/kdebase/debian/kdm-kde3.preinst | 29 --- .../lucid_automake/kdebase/debian/kdm-kde3.prerm | 176 ----------------- .../kdebase/debian/kdm-kde3.templates | 32 --- ubuntu/lucid_automake/kdebase/debian/kdm-kde3.txt | 189 ------------------ .../kdebase/debian/local/kdm.options | 8 - .../kdebase/debian/local/kdm.options.5 | 87 -------- .../kdebase/debian/local/tdm.options | 8 + .../kdebase/debian/local/tdm.options.5 | 87 ++++++++ .../kdebase/debian/man/genkdmconf-kde3.1 | 91 --------- .../kdebase/debian/man/gentdmconf-kde3.1 | 91 +++++++++ .../lucid_automake/kdebase/debian/man/kdm-kde3.1 | 116 ----------- .../kdebase/debian/man/kdm_config-kde3.1 | 22 --- .../kdebase/debian/man/kdm_greet-kde3.1 | 22 --- .../kdebase/debian/man/kdmctl-kde3.1 | 220 --------------------- .../lucid_automake/kdebase/debian/man/tdm-kde3.1 | 116 +++++++++++ .../kdebase/debian/man/tdm_config-kde3.1 | 22 +++ .../kdebase/debian/man/tdm_greet-kde3.1 | 22 +++ .../kdebase/debian/man/tdmctl-kde3.1 | 220 +++++++++++++++++++++ .../patches/kubuntu_9921_kdm_bulletproof_x.diff | 64 ------ .../patches/kubuntu_9921_tdm_bulletproof_x.diff | 64 ++++++ .../lucid_automake/kdebase/debian/tdm-kde3-np.pam | 11 ++ .../kdebase/debian/tdm-kde3.README.Debian | 91 +++++++++ ubuntu/lucid_automake/kdebase/debian/tdm-kde3.conf | 48 +++++ .../lucid_automake/kdebase/debian/tdm-kde3.config | 87 ++++++++ ubuntu/lucid_automake/kdebase/debian/tdm-kde3.dirs | 2 + .../lucid_automake/kdebase/debian/tdm-kde3.install | 52 +++++ .../lucid_automake/kdebase/debian/tdm-kde3.links | 1 + .../kdebase/debian/tdm-kde3.logrotate | 9 + .../kdebase/debian/tdm-kde3.manpages | 6 + ubuntu/lucid_automake/kdebase/debian/tdm-kde3.pam | 11 ++ .../kdebase/debian/tdm-kde3.postinst | 126 ++++++++++++ .../lucid_automake/kdebase/debian/tdm-kde3.postrm | 38 ++++ .../lucid_automake/kdebase/debian/tdm-kde3.preinst | 29 +++ .../lucid_automake/kdebase/debian/tdm-kde3.prerm | 176 +++++++++++++++++ .../kdebase/debian/tdm-kde3.templates | 32 +++ ubuntu/lucid_automake/kdebase/debian/tdm-kde3.txt | 189 ++++++++++++++++++ 82 files changed, 2145 insertions(+), 2145 deletions(-) delete mode 100644 ubuntu/lucid_automake/applications/kdmtheme/debian/README.Debian delete mode 100644 ubuntu/lucid_automake/applications/kdmtheme/debian/cdbs/buildvars.mk delete mode 100644 ubuntu/lucid_automake/applications/kdmtheme/debian/cdbs/debian-qt-kde.mk delete mode 100644 ubuntu/lucid_automake/applications/kdmtheme/debian/cdbs/kde.mk delete mode 100644 ubuntu/lucid_automake/applications/kdmtheme/debian/cdbs/team-members delete mode 100644 ubuntu/lucid_automake/applications/kdmtheme/debian/cdbs/uploaders.mk delete mode 100644 ubuntu/lucid_automake/applications/kdmtheme/debian/cdbs/versions.pl delete mode 100644 ubuntu/lucid_automake/applications/kdmtheme/debian/changelog delete mode 100644 ubuntu/lucid_automake/applications/kdmtheme/debian/compat delete mode 100644 ubuntu/lucid_automake/applications/kdmtheme/debian/control delete mode 100644 ubuntu/lucid_automake/applications/kdmtheme/debian/copyright delete mode 100644 ubuntu/lucid_automake/applications/kdmtheme/debian/docs delete mode 100644 ubuntu/lucid_automake/applications/kdmtheme/debian/kdmtheme.lintian-overrides delete mode 100644 ubuntu/lucid_automake/applications/kdmtheme/debian/patches/.gitignore delete mode 100755 ubuntu/lucid_automake/applications/kdmtheme/debian/rules delete mode 100644 ubuntu/lucid_automake/applications/kdmtheme/debian/watch create mode 100644 ubuntu/lucid_automake/applications/tdmtheme/debian/README.Debian create mode 100644 ubuntu/lucid_automake/applications/tdmtheme/debian/cdbs/buildvars.mk create mode 100644 ubuntu/lucid_automake/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk create mode 100644 ubuntu/lucid_automake/applications/tdmtheme/debian/cdbs/kde.mk create mode 100644 ubuntu/lucid_automake/applications/tdmtheme/debian/cdbs/team-members create mode 100644 ubuntu/lucid_automake/applications/tdmtheme/debian/cdbs/uploaders.mk create mode 100644 ubuntu/lucid_automake/applications/tdmtheme/debian/cdbs/versions.pl create mode 100644 ubuntu/lucid_automake/applications/tdmtheme/debian/changelog create mode 100644 ubuntu/lucid_automake/applications/tdmtheme/debian/compat create mode 100644 ubuntu/lucid_automake/applications/tdmtheme/debian/control create mode 100644 ubuntu/lucid_automake/applications/tdmtheme/debian/copyright create mode 100644 ubuntu/lucid_automake/applications/tdmtheme/debian/docs create mode 100644 ubuntu/lucid_automake/applications/tdmtheme/debian/patches/.gitignore create mode 100755 ubuntu/lucid_automake/applications/tdmtheme/debian/rules create mode 100644 ubuntu/lucid_automake/applications/tdmtheme/debian/tdmtheme.lintian-overrides create mode 100644 ubuntu/lucid_automake/applications/tdmtheme/debian/watch delete mode 100644 ubuntu/lucid_automake/kdebase/debian/kdebase-doc-html.doc-base.kdm create mode 100644 ubuntu/lucid_automake/kdebase/debian/kdebase-doc-html.doc-base.tdm delete mode 100644 ubuntu/lucid_automake/kdebase/debian/kdm-kde3-np.pam delete mode 100644 ubuntu/lucid_automake/kdebase/debian/kdm-kde3.README.Debian delete mode 100755 ubuntu/lucid_automake/kdebase/debian/kdm-kde3.conf delete mode 100644 ubuntu/lucid_automake/kdebase/debian/kdm-kde3.config delete mode 100644 ubuntu/lucid_automake/kdebase/debian/kdm-kde3.dirs delete mode 100644 ubuntu/lucid_automake/kdebase/debian/kdm-kde3.install delete mode 100644 ubuntu/lucid_automake/kdebase/debian/kdm-kde3.links delete mode 100644 ubuntu/lucid_automake/kdebase/debian/kdm-kde3.logrotate delete mode 100644 ubuntu/lucid_automake/kdebase/debian/kdm-kde3.manpages delete mode 100644 ubuntu/lucid_automake/kdebase/debian/kdm-kde3.pam delete mode 100644 ubuntu/lucid_automake/kdebase/debian/kdm-kde3.postinst delete mode 100644 ubuntu/lucid_automake/kdebase/debian/kdm-kde3.postrm delete mode 100644 ubuntu/lucid_automake/kdebase/debian/kdm-kde3.preinst delete mode 100644 ubuntu/lucid_automake/kdebase/debian/kdm-kde3.prerm delete mode 100644 ubuntu/lucid_automake/kdebase/debian/kdm-kde3.templates delete mode 100644 ubuntu/lucid_automake/kdebase/debian/kdm-kde3.txt delete mode 100644 ubuntu/lucid_automake/kdebase/debian/local/kdm.options delete mode 100644 ubuntu/lucid_automake/kdebase/debian/local/kdm.options.5 create mode 100644 ubuntu/lucid_automake/kdebase/debian/local/tdm.options create mode 100644 ubuntu/lucid_automake/kdebase/debian/local/tdm.options.5 delete mode 100644 ubuntu/lucid_automake/kdebase/debian/man/genkdmconf-kde3.1 create mode 100644 ubuntu/lucid_automake/kdebase/debian/man/gentdmconf-kde3.1 delete mode 100644 ubuntu/lucid_automake/kdebase/debian/man/kdm-kde3.1 delete mode 100644 ubuntu/lucid_automake/kdebase/debian/man/kdm_config-kde3.1 delete mode 100644 ubuntu/lucid_automake/kdebase/debian/man/kdm_greet-kde3.1 delete mode 100644 ubuntu/lucid_automake/kdebase/debian/man/kdmctl-kde3.1 create mode 100644 ubuntu/lucid_automake/kdebase/debian/man/tdm-kde3.1 create mode 100644 ubuntu/lucid_automake/kdebase/debian/man/tdm_config-kde3.1 create mode 100644 ubuntu/lucid_automake/kdebase/debian/man/tdm_greet-kde3.1 create mode 100644 ubuntu/lucid_automake/kdebase/debian/man/tdmctl-kde3.1 delete mode 100644 ubuntu/lucid_automake/kdebase/debian/patches/kubuntu_9921_kdm_bulletproof_x.diff create mode 100644 ubuntu/lucid_automake/kdebase/debian/patches/kubuntu_9921_tdm_bulletproof_x.diff create mode 100644 ubuntu/lucid_automake/kdebase/debian/tdm-kde3-np.pam create mode 100644 ubuntu/lucid_automake/kdebase/debian/tdm-kde3.README.Debian create mode 100755 ubuntu/lucid_automake/kdebase/debian/tdm-kde3.conf create mode 100644 ubuntu/lucid_automake/kdebase/debian/tdm-kde3.config create mode 100644 ubuntu/lucid_automake/kdebase/debian/tdm-kde3.dirs create mode 100644 ubuntu/lucid_automake/kdebase/debian/tdm-kde3.install create mode 100644 ubuntu/lucid_automake/kdebase/debian/tdm-kde3.links create mode 100644 ubuntu/lucid_automake/kdebase/debian/tdm-kde3.logrotate create mode 100644 ubuntu/lucid_automake/kdebase/debian/tdm-kde3.manpages create mode 100644 ubuntu/lucid_automake/kdebase/debian/tdm-kde3.pam create mode 100644 ubuntu/lucid_automake/kdebase/debian/tdm-kde3.postinst create mode 100644 ubuntu/lucid_automake/kdebase/debian/tdm-kde3.postrm create mode 100644 ubuntu/lucid_automake/kdebase/debian/tdm-kde3.preinst create mode 100644 ubuntu/lucid_automake/kdebase/debian/tdm-kde3.prerm create mode 100644 ubuntu/lucid_automake/kdebase/debian/tdm-kde3.templates create mode 100644 ubuntu/lucid_automake/kdebase/debian/tdm-kde3.txt (limited to 'ubuntu/lucid_automake') diff --git a/ubuntu/lucid_automake/applications/kdmtheme/debian/README.Debian b/ubuntu/lucid_automake/applications/kdmtheme/debian/README.Debian deleted file mode 100644 index 066828faf..000000000 --- a/ubuntu/lucid_automake/applications/kdmtheme/debian/README.Debian +++ /dev/null @@ -1,7 +0,0 @@ -tdmtheme for Debian -------------------- - -tdmtheme is a KDE Control Module (KCM). To run it, open KDE Control Center and -go to System Administration to find TDM Theme Manager. - - -- Fathi Boudra , Mon, 31 Jul 2006 18:33:26 +0200 diff --git a/ubuntu/lucid_automake/applications/kdmtheme/debian/cdbs/buildvars.mk b/ubuntu/lucid_automake/applications/kdmtheme/debian/cdbs/buildvars.mk deleted file mode 100644 index 23d4709dc..000000000 --- a/ubuntu/lucid_automake/applications/kdmtheme/debian/cdbs/buildvars.mk +++ /dev/null @@ -1,86 +0,0 @@ -# -*- mode: makefile; coding: utf-8 -*- -# Copyright © 2002,2003 Colin Walters -# Description: Defines some useful variables, but no rules -# -# 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. - -_cdbs_scripts_path ?= /usr/lib/cdbs -_cdbs_rules_path ?= /usr/share/cdbs/1/rules -_cdbs_class_path ?= /usr/share/cdbs/1/class - -ifndef _cdbs_rules_buildvars -_cdbs_rules_buildvars = 1 - -CDBS_VERSION = something - -# Common useful variables -DEB_SOURCE_PACKAGE := $(strip $(shell egrep '^Source: ' debian/control | cut -f 2 -d ':')) -DEB_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ') -DEB_NOEPOCH_VERSION := $(shell echo $(DEB_VERSION) | cut -d: -f2-) -DEB_UPSTREAM_VERSION := $(shell echo $(DEB_NOEPOCH_VERSION) | sed 's/-[^-]*$$//') -DEB_ISNATIVE := $(shell dpkg-parsechangelog | egrep '^Version:' | perl -ne 'print if not /^Version:\s*.*-/;') - -# Split into arch/indep packages -ifneq ($(DEB_INDEP_PACKAGES),cdbs) -DEB_INDEP_PACKAGES := $(filter-out $(DONT_BUILD), $(strip $(shell $(_cdbs_scripts_path)/list-packages indep))) -DEB_ARCH_PACKAGES := $(filter-out $(DONT_BUILD), $(filter-out $(DEB_INDEP_PACKAGES),$(strip $(shell $(_cdbs_scripts_path)/list-packages same)))) -endif -# Split into normal and udeb packages -ifeq ($(DEB_UDEB_PACKAGES),) -DEB_PACKAGES = $(filter-out $(DONT_BUILD), $(filter-out %-udeb, $(DEB_ARCH_PACKAGES) $(DEB_INDEP_PACKAGES))) -DEB_UDEB_PACKAGES = $(filter-out $(DONT_BUILD),$(filter %-udeb, $(DEB_ARCH_PACKAGES) $(DEB_INDEP_PACKAGES))) -else -DEB_PACKAGES = $(filter-out $(DONT_BUILD), $(filter-out $(DEB_UDEB_PACKAGES), $(DEB_ARCH_PACKAGES) $(DEB_INDEP_PACKAGES))) -endif -# Too much bother for now. If someone complains we'll fix it. -#DEB_ARCH_UDEB_PACKAGES = $(filter %-udeb, $(DEB_ARCH_PACKAGES)) -#DEB_INDEP_UDEB_PACKAGES = $(filter %-udeb, $(DEB_INDEP_PACKAGES)) -# A handy list of every package, udeb or not -DEB_ALL_PACKAGES = $(filter-out $(DONT_BUILD),$(DEB_PACKAGES) $(DEB_UDEB_PACKAGES)) -DEB_INDEP_REGULAR_PACKAGES = $(filter-out $(DONT_BUILD), $(filter-out $(DEB_UDEB_PACKAGES),$(DEB_INDEP_PACKAGES))) -DEB_ARCH_REGULAR_PACKAGES = $(filter-out $(DONT_BUILD), $(filter-out $(DEB_UDEB_PACKAGES),$(DEB_ARCH_PACKAGES))) - -DEB_DBG_PACKAGES = $(filter-out $(DONT_BUILD), $(filter %-dbg, $(DEB_ARCH_PACKAGES) $(DEB_INDEP_PACKAGES))) - -# Some support for srcdir != builddir builds. -# These are relative to the root of the package -DEB_SRCDIR ?= . -DEB_BUILDDIR ?= $(strip $(DEB_SRCDIR)) - -# Miscellaneous bits -DEB_ARCH = $(shell dpkg --print-architecture) -DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) -DEB_HOST_GNU_SYSTEM ?= $(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM) -DEB_HOST_GNU_CPU ?= $(shell dpkg-architecture -qDEB_HOST_GNU_CPU) -DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) -DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU) -DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) -DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) -DEB_BUILD_GNU_SYSTEM ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_SYSTEM) -DEB_BUILD_GNU_CPU ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU) -DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) -DEB_BUILD_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU) -DEB_BUILD_ARCH_OS ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS) - -ifeq ($(words $(DEB_ALL_PACKAGES)),1) - DEB_DESTDIR = $(CURDIR)/debian/$(strip $(DEB_ALL_PACKAGES))/ -else - DEB_DESTDIR = $(CURDIR)/debian/tmp/ -endif - -CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), cdbs (>= 0.4.23-1.1) - -endif diff --git a/ubuntu/lucid_automake/applications/kdmtheme/debian/cdbs/debian-qt-kde.mk b/ubuntu/lucid_automake/applications/kdmtheme/debian/cdbs/debian-qt-kde.mk deleted file mode 100644 index 2be8f97f1..000000000 --- a/ubuntu/lucid_automake/applications/kdmtheme/debian/cdbs/debian-qt-kde.mk +++ /dev/null @@ -1,109 +0,0 @@ -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_debian-qt-kde -_cdbs_class_debian-qt-kde := 1 - -# Note: This _must_ be included before autotools.mk, or it won't work. -common-configure-arch common-configure-indep:: debian/stamp-cvs-make -debian/stamp-cvs-make: - cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in - cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh - $(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist; - touch debian/stamp-cvs-make - -include debian/cdbs/kde.mk$(_cdbs_makefile_suffix) -include debian/cdbs/uploaders.mk - -DEB_PATCHDIRS := debian/patches/common debian/patches - -DEB_KDE_ENABLE_FINAL := yes -DEB_INSTALL_DOCS_ALL := - -DEB_DH_MAKESHLIBS_ARGS_ALL := -V -DEB_SHLIBDEPS_INCLUDE = $(foreach p,$(PACKAGES_WITH_LIBS),debian/$(p)/usr/lib) - -ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - cdbs_treat_me_gently_arches := arm m68k alpha ppc64 armel armeb - ifeq (,$(filter $(DEB_HOST_ARCH_CPU),$(cdbs_treat_me_gently_arches))) - cdbs_kde_enable_final = $(if $(DEB_KDE_ENABLE_FINAL),--enable-final,) - else - cdbs_kde_enable_final = - endif -endif - -common-build-arch:: debian/stamp-man-pages -debian/stamp-man-pages: - if ! test -d debian/man/out; then mkdir -p debian/man/out; fi - for f in $$(find debian/man -name '*.sgml'); do \ - docbook-to-man $$f > debian/man/out/`basename $$f .sgml`.1; \ - done - for f in $$(find debian/man -name '*.man'); do \ - soelim -I debian/man $$f \ - > debian/man/out/`basename $$f .man`.`head -n1 $$f | awk '{print $$NF}'`; \ - done - touch debian/stamp-man-pages - -common-binary-indep:: - ( set -e; \ - tmpf=`mktemp debian/versions.XXXXXX`; \ - perl debian/cdbs/versions.pl >$$tmpf; \ - for p in $(DEB_INDEP_PACKAGES); do \ - cat $$tmpf >>debian/$$p.substvars; \ - done; \ - rm -f $$tmpf ) - -common-binary-arch:: - ( set -e; \ - tmpf=`mktemp debian/versions.XXXXXX`; \ - perl debian/cdbs/versions.pl >$$tmpf; \ - for p in $(DEB_ARCH_PACKAGES); do \ - cat $$tmpf >>debian/$$p.substvars; \ - done; \ - rm -f $$tmpf ) - -clean:: - rm -rf debian/man/out - -rmdir debian/man - rm -f debian/stamp-man-pages - rm -rf debian/shlibs-check - -$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%: - if test -x /usr/bin/dh_desktop; then dh_desktop -p$(cdbs_curpkg) $(DEB_DH_DESKTOP_ARGS); fi - if test -e debian/$(cdbs_curpkg).lintian; then \ - install -p -D -m644 debian/$(cdbs_curpkg).lintian \ - debian/$(cdbs_curpkg)/usr/share/lintian/overrides/$(cdbs_curpkg); \ - fi - if test -e debian/$(cdbs_curpkg).presubj; then \ - install -p -D -m644 debian/$(cdbs_curpkg).presubj \ - debian/$(cdbs_curpkg)/usr/share/bug/$(cdbs_curpkg)/presubj; \ - fi - -binary-install/$(DEB_SOURCE_PACKAGE)-doc-html:: - set -e; \ - for doc in `cd $(DEB_DESTDIR)/opt/kde3/share/doc/kde/HTML/en; find . -name index.docbook`; do \ - pkg=$${doc%/index.docbook}; pkg=$${pkg#./}; \ - echo Building $$pkg HTML docs...; \ - mkdir -p $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/kde3/share/doc/kde/HTML/en/$$pkg; \ - cd $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/kde3/share/doc/kde/HTML/en/$$pkg; \ - /opt/kde3/bin/meinproc $(DEB_DESTDIR)/opt/kde3/share/doc/kde/HTML/en/$$pkg/index.docbook; \ - done - for pkg in $(DOC_HTML_PRUNE) ; do \ - rm -rf debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/kde3/share/doc/kde/HTML/en/$$pkg; \ - done - -clean:: - if test -n "$(DEB_KDE_CVS_MAKE)" && test -d $(DEB_SRCDIR); then \ - cd $(DEB_SRCDIR); \ - find . -name Makefile.in -print | \ - xargs --no-run-if-empty rm -f; \ - rm -f Makefile.am acinclude.m4 aclocal.m4 config.h.in \ - configure configure.files configure.in stamp-h.in \ - subdirs; \ - fi - rm -f debian/stamp-cvs-make - -endif diff --git a/ubuntu/lucid_automake/applications/kdmtheme/debian/cdbs/kde.mk b/ubuntu/lucid_automake/applications/kdmtheme/debian/cdbs/kde.mk deleted file mode 100644 index 9e4117558..000000000 --- a/ubuntu/lucid_automake/applications/kdmtheme/debian/cdbs/kde.mk +++ /dev/null @@ -1,97 +0,0 @@ -# -*- 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. - -_cdbs_scripts_path ?= /usr/lib/cdbs -_cdbs_rules_path ?= /usr/share/cdbs/1/rules -_cdbs_class_path ?= /usr/share/cdbs/1/class - -ifndef _cdbs_class_kde -_cdbs_class_kde := 1 - -# for dh_icons -CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), debhelper (>= 5.0.7ubuntu4) - -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 (,$(filter noopt,$(DEB_BUILD_OPTIONS))) - cdbs_kde_enable_final = $(if $(DEB_KDE_ENABLE_FINAL),--enable-final,) -endif - -ifneq (,$(filter nostrip,$(DEB_BUILD_OPTIONS))) - cdbs_kde_enable_final = - cdbs_kde_enable_debug = --enable-debug=yes -else - cdbs_kde_enable_debug = --disable-debug -endif - -ifneq (,$(filter 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 = .dcl .docbook -license .tag .sty .el - -$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%: - if test -x /usr/bin/dh_icons; then dh_icons -p$(cdbs_curpkg) $(DEB_DH_ICONCACHE_ARGS); fi - -cleanbuilddir:: - -$(if $(call cdbs_streq,$(DEB_BUILDDIR),$(DEB_SRCDIR)),,rm -rf $(DEB_BUILDDIR)) - -common-build-arch common-build-indep:: debian/stamp-kde-apidox -debian/stamp-kde-apidox: - $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) apidox) - touch $@ - -common-install-prehook-impl:: - mkdir -p po - -XGETTEXT=/usr/bin/kde-xgettext EXTRACTATTR=/opt/kde3/bin/extractattr sh $(DEB_SRCDIR)/admin/cvs.sh extract-messages - -for file in po/*pot; do \ - sed "s/charset=CHARSET/charset=UTF-8/" -i $$file; \ - done - -common-install-arch common-install-indep:: common-install-kde-apidox -common-install-kde-apidox:: - $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) install-apidox DESTDIR=$(DEB_DESTDIR)) - -clean:: - rm -f debian/stamp-kde-apidox - rm -rf po/*.pot - -# This is a convenience target for calling manually. It's not part of -# the build process. -buildprep: clean apply-patches - $(MAKE) -f admin/Makefile.common dist - debian/rules clean - -endif diff --git a/ubuntu/lucid_automake/applications/kdmtheme/debian/cdbs/team-members b/ubuntu/lucid_automake/applications/kdmtheme/debian/cdbs/team-members deleted file mode 100644 index 05761af6e..000000000 --- a/ubuntu/lucid_automake/applications/kdmtheme/debian/cdbs/team-members +++ /dev/null @@ -1,16 +0,0 @@ -Sune Vuorela -Ana Beatriz Guerrero Lopez -Fathi Boudra -Modestas Vainius -Josh Metzler -Isaac Clerencia -Adeodato Simó -Adeodato Simo -Christopher Martin -Daniel Schepler -Sarah Hobbs -Nacho Barrientos Arias -Ricardo Javier Cardenes Medina -Ricardo Cardenes -Armin Berres -Francesco Pedrini diff --git a/ubuntu/lucid_automake/applications/kdmtheme/debian/cdbs/uploaders.mk b/ubuntu/lucid_automake/applications/kdmtheme/debian/cdbs/uploaders.mk deleted file mode 100644 index 31adfe31e..000000000 --- a/ubuntu/lucid_automake/applications/kdmtheme/debian/cdbs/uploaders.mk +++ /dev/null @@ -1,29 +0,0 @@ - -MAINTAINER=Debian Qt/KDE Maintainers -UPLOADERS=$(shell grep -e +++ -e "^ -- " debian/changelog | grep -v "debian-qt-kde@lists.debian.org" | head -13 | /bin/sed 's/^\s*//;s/\s*$$//;s/^+++\? Changes by //;s/^+++\? //;s/-- //;s/:$$//;s/ <.*//' | sort -u | while read line ; do grep "$$line" debian/cdbs/team-members ; done | tr "\n" ", " | sed 's/,/, /g;s/, $$//') - - -debian/control.tmp: - @if [ ! -e debian/control.in ] ; then \ - echo "this package is not yet prepared for using automatic update of uploaders"; \ - echo "Please do so."; \ - exit 1; \ - fi - @sed 's/@@@UPLOADERS@@@/$(UPLOADERS)/;s#@@@MAINTAINER@@@#$(MAINTAINER)#' debian/control.in > debian/control.tmp - -check-uploaders: debian/control.tmp - @if ! diff -q debian/control debian/control.tmp ; then \ - echo "WARNING:: Control file differs from manually generated one" ; \ - echo "WARNING:: Please update it manually and check it afterwards" ; \ - echo "WARNING:: Uploaders are updated by debian/rules update-uploaders" ;\ - echo "WARNING:: If this is a binNMU, NMU or security upload, just ignore" ;\ - fi - - -clean:: - rm -f debian/control.tmp - -update-uploaders: debian/control.tmp - @mv -f debian/control.tmp debian/control - -makebuilddir:: check-uploaders diff --git a/ubuntu/lucid_automake/applications/kdmtheme/debian/cdbs/versions.pl b/ubuntu/lucid_automake/applications/kdmtheme/debian/cdbs/versions.pl deleted file mode 100644 index 9ce11d8a3..000000000 --- a/ubuntu/lucid_automake/applications/kdmtheme/debian/cdbs/versions.pl +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env perl - -use strict; -use warnings; - -my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; -my ($version3, $version3_next); -my ($version2, $version2_next); - -($version3 = $version) =~ s/-[^-]+$//; -($version2 = $version3) =~ s/\.[^.]+$//; - -($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; -($version2_next = $version2) =~ s/(?<=\.)(\d+)$/($1+1)/e; - -print "KDE-Version3=$version3\n"; -print "KDE-Version2=$version2\n"; -print "KDE-Next-Version3=$version3_next\n"; -print "KDE-Next-Version2=$version2_next\n"; diff --git a/ubuntu/lucid_automake/applications/kdmtheme/debian/changelog b/ubuntu/lucid_automake/applications/kdmtheme/debian/changelog deleted file mode 100644 index c6ee15979..000000000 --- a/ubuntu/lucid_automake/applications/kdmtheme/debian/changelog +++ /dev/null @@ -1,123 +0,0 @@ -tdmtheme-kde3 (1.2.2-1ubuntu5) karmic; urgency=low - - * Karmic rebuild - * Fixed theme switching problem - - -- Timothy Pearson Thu, 02 July 2009 16:08:00 -0600 - -tdmtheme-kde3 (1.2.2-1ubuntu1) intrepid; urgency=low - - * Added -kde3 suffix - - -- Timothy Pearson Mon, 27 Apr 2009 19:00:00 -0600 - -tdmtheme (1.2.2-1ubuntu1) intrepid; urgency=low - - [ Sergey Rudchenko ] - * Merge from debian unstable, remaining changes: - * kubuntu_02_confchanges.diff. Patch from Stefan Skotte - * kubuntu_01_kcm_systemsettings.diff - kcm module inclusion in the Appearance section - - [ Harald Sitter ] - * Remove Homepage from long description - - -- Harald Sitter Fri, 06 Jun 2008 00:46:45 +0200 - -tdmtheme (1.2.2-1) unstable; urgency=low - - * New upstream release: - * actually saves theme changes (Closes: #447683) - * does not crash kcontrol when opened as user (Closes: #435946) - * Update e-mail addresses. - * Bump Standards-Version to 3.7.3. - * Use Homepage field. - - [ Kel Modderman ] - * Refresh debian/patches/10_tdmtheme-override-warning.diff to apply against - new upstream release. - - [ Fathi Boudra ] - * Build with --as-needed linker flag. - - -- Fathi Boudra Sat, 22 Dec 2007 15:36:15 +0100 - -tdmtheme (1.2.2-0ubuntu2) hardy; urgency=low - - * Re-adds kubuntu_02_confchanges.diff. Patch from Stefan Skotte - - -- Anthony Mercatante Fri, 15 Feb 2008 10:25:44 +0100 - -tdmtheme (1.2.2-0ubuntu1) hardy; urgency=low - - * New upstream release. - * Removed 10_tdmtheme-override-warning.diff. - * Removed kubuntu_02_confchanges.diff. - * Updated Standards-Version to 3.7.3 - - -- Jonathan Patrick Davies Mon, 22 Dec 2007 11:48:18 +0100 - -tdmtheme (1.2.1-0ubuntu1) hardy; urgency=low - - * New upstream release. - * Merged new Debian changelog and changes to Ubuntu package. - * Create kubuntu_02_confchanges.diff - Kubuntu changes to source originally in source. - Removes any changes in the *.orig.tar.gz. Patch has also been sent upstream. - * Updated kubuntu_01_kcm_systemsettings.diff. - * Changed homepage. - - -- Jonathan Patrick Davies Mon, 22 Oct 2007 21:18:56 +0200 - -tdmtheme (1.2-1) unstable; urgency=low - - * New upstream release. - * Update tdmtheme override warning patch. - * Add patch to replace deprecated qlist.h include. - * Add Build-Depends: quilt, automake1.7. - * Update copyright file. - * Update watch file. - - -- Fathi Boudra Wed, 03 Oct 2007 12:17:40 +0200 - -tdmtheme (1.2-0ubuntu2) gutsy; urgency=low - - [ Stefan Skotte ] - * added support for tdm.d with override files. - * various bugfixes for normal tdmrc usage, including save and apply - not working, themeDir not set correctly etc. - - [ Sarah Hobbs ] - * Modify Maintainer value to match the DebianMaintainerField - specification. - - -- Sarah Hobbs Fri, 05 Oct 2007 19:09:00 +1000 - -tdmtheme (1.2-0ubuntu1) gutsy; urgency=low - - * New upstream release - - -- Anthony Mercatante Sat, 29 Sep 2007 11:17:55 +0200 - -tdmtheme (1.1.2-2ubuntu1) feisty; urgency=low - - * Added kubuntu_01_kcm_systemsettings.diff for kde-systemsettings - inclusion in the Appearance section - - -- Anthony Mercatante Tue, 13 Feb 2007 06:18:32 +0100 - -tdmtheme (1.1.2-2) unstable; urgency=low - - [ Mark Purcell ] - * Add debian/rules get-orig-source target for http://buildserver.net. - - [ Fathi Boudra ] - * Add a patch to warn users about tdm override files introduced with - desktop-base. Thanks to Sune Vuorela. - - -- Fathi Boudra Wed, 31 Jan 2007 21:11:45 +0100 - -tdmtheme (1.1.2-1) unstable; urgency=low - - * Initial release (Closes: #380661) - - -- Fathi Boudra Mon, 31 Jul 2006 18:33:26 +0200 - diff --git a/ubuntu/lucid_automake/applications/kdmtheme/debian/compat b/ubuntu/lucid_automake/applications/kdmtheme/debian/compat deleted file mode 100644 index 7ed6ff82d..000000000 --- a/ubuntu/lucid_automake/applications/kdmtheme/debian/compat +++ /dev/null @@ -1 +0,0 @@ -5 diff --git a/ubuntu/lucid_automake/applications/kdmtheme/debian/control b/ubuntu/lucid_automake/applications/kdmtheme/debian/control deleted file mode 100644 index 6bbeb4779..000000000 --- a/ubuntu/lucid_automake/applications/kdmtheme/debian/control +++ /dev/null @@ -1,17 +0,0 @@ -Source: tdmtheme-kde3 -Section: kde -Priority: optional -Maintainer: Timothy Pearson -XSBC-Original-Maintainer: Debian KDE Extras Team -Uploaders: Kel Modderman , Fathi Boudra , - Mark Purcell -Build-Depends: cdbs, debhelper (>= 5), quilt, kdelibs4-kde3-dev, automake1.11-kde3, autoconf2.63, libtool, libltdl-dev -Standards-Version: 3.8.3 -Homepage: http://beta.smileaf.org/projects - -Package: tdmtheme-kde3 -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, tdm-kde3 -Description: theme manager for TDM [KDE3] - tdmtheme is a theme manager for TDM. It provides a KDE Control Module (KCM) - that allows you to easily install, remove and change your TDM themes. diff --git a/ubuntu/lucid_automake/applications/kdmtheme/debian/copyright b/ubuntu/lucid_automake/applications/kdmtheme/debian/copyright deleted file mode 100644 index c8d6d972f..000000000 --- a/ubuntu/lucid_automake/applications/kdmtheme/debian/copyright +++ /dev/null @@ -1,46 +0,0 @@ -This package was debianized by Kel Modderman on -Tue, 1 Aug 2006 00:25:11 +0000. - -It was downloaded from http://beta.smileaf.org/projects/ - -Upstream Authors: - - Stephen Leaf - Laurent Montel - Oswald Buddenhagen - -Copyright: - - (C) 2005-2007 Stephen Leaf - (C) 2006 Oswald Buddenhagen - -License: - - 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 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this package; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -On Debian systems, the complete text of the GNU General -Public License can be found in `/usr/share/common-licenses/GPL'. - -The Debian packaging is (C) 2007, Kel Modderman and -is licensed under the GPL, see above. - -The documentations provided with tdmtheme is distributed under -the GNU Free Documentation License (FDL). They are considered free with -regards to the Debian Free Software Guidelines (DFSG) because they don't -contain any unmodifiable parts (invariant sections). - -On Debian systems, the complete text of the GNU Free Documentation -License can be found in `/usr/share/common-licenses/GFDL'. - diff --git a/ubuntu/lucid_automake/applications/kdmtheme/debian/docs b/ubuntu/lucid_automake/applications/kdmtheme/debian/docs deleted file mode 100644 index e845566c0..000000000 --- a/ubuntu/lucid_automake/applications/kdmtheme/debian/docs +++ /dev/null @@ -1 +0,0 @@ -README diff --git a/ubuntu/lucid_automake/applications/kdmtheme/debian/kdmtheme.lintian-overrides b/ubuntu/lucid_automake/applications/kdmtheme/debian/kdmtheme.lintian-overrides deleted file mode 100644 index d27349d54..000000000 --- a/ubuntu/lucid_automake/applications/kdmtheme/debian/kdmtheme.lintian-overrides +++ /dev/null @@ -1,6 +0,0 @@ -# provided by kdelibs -tdmtheme: desktop-command-not-in-package ./usr/share/applications/kde/tdmtheme.desktop kcmshell -# kcontrol module -tdmtheme: desktop-entry-invalid-category X-KDE-settings-system ./usr/share/applications/kde/tdmtheme.desktop -tdmtheme: desktop-entry-lacks-main-category ./usr/share/applications/kde/tdmtheme.desktop - diff --git a/ubuntu/lucid_automake/applications/kdmtheme/debian/patches/.gitignore b/ubuntu/lucid_automake/applications/kdmtheme/debian/patches/.gitignore deleted file mode 100644 index e69de29bb..000000000 diff --git a/ubuntu/lucid_automake/applications/kdmtheme/debian/rules b/ubuntu/lucid_automake/applications/kdmtheme/debian/rules deleted file mode 100755 index bcd40a219..000000000 --- a/ubuntu/lucid_automake/applications/kdmtheme/debian/rules +++ /dev/null @@ -1,38 +0,0 @@ -#!/usr/bin/make -f - -include /usr/share/cdbs/1/rules/debhelper.mk -include debian/cdbs/kde.mk -include /usr/share/cdbs/1/rules/patchsys-quilt.mk -include /usr/share/cdbs/1/rules/utils.mk - -DEB_CONFIGURE_INCLUDEDIR := /opt/kde3/include/kde -DEB_CONFIGURE_MANDIR := /opt/kde3/share/man -DEB_CONFIGURE_PREFIX := /opt/kde3 -DEB_CONFIGURE_INFODIR := /opt/kde3/share/info - -cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug) - -DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-Wl,--as-needed" -DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/kde3 --with-extra-libs=/opt/kde3/lib --with-extra-includes=/opt/kde3/include/kde - -post-patches:: debian/stamp-bootstrap - -debian/stamp-bootstrap: - ! [ -f /usr/share/libtool/ltmain.sh ] || \ - cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh - ! [ -f /usr/share/libtool/config/ltmain.sh ] || \ - cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh - cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in - - make -f admin/Makefile.common cvs - touch debian/stamp-bootstrap - -install/tdmtheme-kde3:: - install -D -p -m644 debian/tdmtheme.lintian-overrides \ - debian/tdmtheme-kde3/usr/share/lintian/overrides/tdmtheme-kde3 - -get-orig-source: - @@dh_testdir - @@[ -d ../tarballs/. ]||mkdir -p ../tarballs - @@dpatch-get-origtargz ../tarballs - diff --git a/ubuntu/lucid_automake/applications/kdmtheme/debian/watch b/ubuntu/lucid_automake/applications/kdmtheme/debian/watch deleted file mode 100644 index 82cebbd47..000000000 --- a/ubuntu/lucid_automake/applications/kdmtheme/debian/watch +++ /dev/null @@ -1,2 +0,0 @@ -version=3 -http://beta.smileaf.org/files/tdmtheme/tdmtheme-(.*)\.tar\.bz2 debian svn-upgrade diff --git a/ubuntu/lucid_automake/applications/tdmtheme/debian/README.Debian b/ubuntu/lucid_automake/applications/tdmtheme/debian/README.Debian new file mode 100644 index 000000000..066828faf --- /dev/null +++ b/ubuntu/lucid_automake/applications/tdmtheme/debian/README.Debian @@ -0,0 +1,7 @@ +tdmtheme for Debian +------------------- + +tdmtheme is a KDE Control Module (KCM). To run it, open KDE Control Center and +go to System Administration to find TDM Theme Manager. + + -- Fathi Boudra , Mon, 31 Jul 2006 18:33:26 +0200 diff --git a/ubuntu/lucid_automake/applications/tdmtheme/debian/cdbs/buildvars.mk b/ubuntu/lucid_automake/applications/tdmtheme/debian/cdbs/buildvars.mk new file mode 100644 index 000000000..23d4709dc --- /dev/null +++ b/ubuntu/lucid_automake/applications/tdmtheme/debian/cdbs/buildvars.mk @@ -0,0 +1,86 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2002,2003 Colin Walters +# Description: Defines some useful variables, but no rules +# +# 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. + +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class + +ifndef _cdbs_rules_buildvars +_cdbs_rules_buildvars = 1 + +CDBS_VERSION = something + +# Common useful variables +DEB_SOURCE_PACKAGE := $(strip $(shell egrep '^Source: ' debian/control | cut -f 2 -d ':')) +DEB_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ') +DEB_NOEPOCH_VERSION := $(shell echo $(DEB_VERSION) | cut -d: -f2-) +DEB_UPSTREAM_VERSION := $(shell echo $(DEB_NOEPOCH_VERSION) | sed 's/-[^-]*$$//') +DEB_ISNATIVE := $(shell dpkg-parsechangelog | egrep '^Version:' | perl -ne 'print if not /^Version:\s*.*-/;') + +# Split into arch/indep packages +ifneq ($(DEB_INDEP_PACKAGES),cdbs) +DEB_INDEP_PACKAGES := $(filter-out $(DONT_BUILD), $(strip $(shell $(_cdbs_scripts_path)/list-packages indep))) +DEB_ARCH_PACKAGES := $(filter-out $(DONT_BUILD), $(filter-out $(DEB_INDEP_PACKAGES),$(strip $(shell $(_cdbs_scripts_path)/list-packages same)))) +endif +# Split into normal and udeb packages +ifeq ($(DEB_UDEB_PACKAGES),) +DEB_PACKAGES = $(filter-out $(DONT_BUILD), $(filter-out %-udeb, $(DEB_ARCH_PACKAGES) $(DEB_INDEP_PACKAGES))) +DEB_UDEB_PACKAGES = $(filter-out $(DONT_BUILD),$(filter %-udeb, $(DEB_ARCH_PACKAGES) $(DEB_INDEP_PACKAGES))) +else +DEB_PACKAGES = $(filter-out $(DONT_BUILD), $(filter-out $(DEB_UDEB_PACKAGES), $(DEB_ARCH_PACKAGES) $(DEB_INDEP_PACKAGES))) +endif +# Too much bother for now. If someone complains we'll fix it. +#DEB_ARCH_UDEB_PACKAGES = $(filter %-udeb, $(DEB_ARCH_PACKAGES)) +#DEB_INDEP_UDEB_PACKAGES = $(filter %-udeb, $(DEB_INDEP_PACKAGES)) +# A handy list of every package, udeb or not +DEB_ALL_PACKAGES = $(filter-out $(DONT_BUILD),$(DEB_PACKAGES) $(DEB_UDEB_PACKAGES)) +DEB_INDEP_REGULAR_PACKAGES = $(filter-out $(DONT_BUILD), $(filter-out $(DEB_UDEB_PACKAGES),$(DEB_INDEP_PACKAGES))) +DEB_ARCH_REGULAR_PACKAGES = $(filter-out $(DONT_BUILD), $(filter-out $(DEB_UDEB_PACKAGES),$(DEB_ARCH_PACKAGES))) + +DEB_DBG_PACKAGES = $(filter-out $(DONT_BUILD), $(filter %-dbg, $(DEB_ARCH_PACKAGES) $(DEB_INDEP_PACKAGES))) + +# Some support for srcdir != builddir builds. +# These are relative to the root of the package +DEB_SRCDIR ?= . +DEB_BUILDDIR ?= $(strip $(DEB_SRCDIR)) + +# Miscellaneous bits +DEB_ARCH = $(shell dpkg --print-architecture) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_HOST_GNU_SYSTEM ?= $(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM) +DEB_HOST_GNU_CPU ?= $(shell dpkg-architecture -qDEB_HOST_GNU_CPU) +DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) +DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU) +DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +DEB_BUILD_GNU_SYSTEM ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_SYSTEM) +DEB_BUILD_GNU_CPU ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU) +DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) +DEB_BUILD_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU) +DEB_BUILD_ARCH_OS ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS) + +ifeq ($(words $(DEB_ALL_PACKAGES)),1) + DEB_DESTDIR = $(CURDIR)/debian/$(strip $(DEB_ALL_PACKAGES))/ +else + DEB_DESTDIR = $(CURDIR)/debian/tmp/ +endif + +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), cdbs (>= 0.4.23-1.1) + +endif diff --git a/ubuntu/lucid_automake/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk b/ubuntu/lucid_automake/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk new file mode 100644 index 000000000..2be8f97f1 --- /dev/null +++ b/ubuntu/lucid_automake/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk @@ -0,0 +1,109 @@ +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_debian-qt-kde +_cdbs_class_debian-qt-kde := 1 + +# Note: This _must_ be included before autotools.mk, or it won't work. +common-configure-arch common-configure-indep:: debian/stamp-cvs-make +debian/stamp-cvs-make: + cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in + cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh + $(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist; + touch debian/stamp-cvs-make + +include debian/cdbs/kde.mk$(_cdbs_makefile_suffix) +include debian/cdbs/uploaders.mk + +DEB_PATCHDIRS := debian/patches/common debian/patches + +DEB_KDE_ENABLE_FINAL := yes +DEB_INSTALL_DOCS_ALL := + +DEB_DH_MAKESHLIBS_ARGS_ALL := -V +DEB_SHLIBDEPS_INCLUDE = $(foreach p,$(PACKAGES_WITH_LIBS),debian/$(p)/usr/lib) + +ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + cdbs_treat_me_gently_arches := arm m68k alpha ppc64 armel armeb + ifeq (,$(filter $(DEB_HOST_ARCH_CPU),$(cdbs_treat_me_gently_arches))) + cdbs_kde_enable_final = $(if $(DEB_KDE_ENABLE_FINAL),--enable-final,) + else + cdbs_kde_enable_final = + endif +endif + +common-build-arch:: debian/stamp-man-pages +debian/stamp-man-pages: + if ! test -d debian/man/out; then mkdir -p debian/man/out; fi + for f in $$(find debian/man -name '*.sgml'); do \ + docbook-to-man $$f > debian/man/out/`basename $$f .sgml`.1; \ + done + for f in $$(find debian/man -name '*.man'); do \ + soelim -I debian/man $$f \ + > debian/man/out/`basename $$f .man`.`head -n1 $$f | awk '{print $$NF}'`; \ + done + touch debian/stamp-man-pages + +common-binary-indep:: + ( set -e; \ + tmpf=`mktemp debian/versions.XXXXXX`; \ + perl debian/cdbs/versions.pl >$$tmpf; \ + for p in $(DEB_INDEP_PACKAGES); do \ + cat $$tmpf >>debian/$$p.substvars; \ + done; \ + rm -f $$tmpf ) + +common-binary-arch:: + ( set -e; \ + tmpf=`mktemp debian/versions.XXXXXX`; \ + perl debian/cdbs/versions.pl >$$tmpf; \ + for p in $(DEB_ARCH_PACKAGES); do \ + cat $$tmpf >>debian/$$p.substvars; \ + done; \ + rm -f $$tmpf ) + +clean:: + rm -rf debian/man/out + -rmdir debian/man + rm -f debian/stamp-man-pages + rm -rf debian/shlibs-check + +$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%: + if test -x /usr/bin/dh_desktop; then dh_desktop -p$(cdbs_curpkg) $(DEB_DH_DESKTOP_ARGS); fi + if test -e debian/$(cdbs_curpkg).lintian; then \ + install -p -D -m644 debian/$(cdbs_curpkg).lintian \ + debian/$(cdbs_curpkg)/usr/share/lintian/overrides/$(cdbs_curpkg); \ + fi + if test -e debian/$(cdbs_curpkg).presubj; then \ + install -p -D -m644 debian/$(cdbs_curpkg).presubj \ + debian/$(cdbs_curpkg)/usr/share/bug/$(cdbs_curpkg)/presubj; \ + fi + +binary-install/$(DEB_SOURCE_PACKAGE)-doc-html:: + set -e; \ + for doc in `cd $(DEB_DESTDIR)/opt/kde3/share/doc/kde/HTML/en; find . -name index.docbook`; do \ + pkg=$${doc%/index.docbook}; pkg=$${pkg#./}; \ + echo Building $$pkg HTML docs...; \ + mkdir -p $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/kde3/share/doc/kde/HTML/en/$$pkg; \ + cd $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/kde3/share/doc/kde/HTML/en/$$pkg; \ + /opt/kde3/bin/meinproc $(DEB_DESTDIR)/opt/kde3/share/doc/kde/HTML/en/$$pkg/index.docbook; \ + done + for pkg in $(DOC_HTML_PRUNE) ; do \ + rm -rf debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/kde3/share/doc/kde/HTML/en/$$pkg; \ + done + +clean:: + if test -n "$(DEB_KDE_CVS_MAKE)" && test -d $(DEB_SRCDIR); then \ + cd $(DEB_SRCDIR); \ + find . -name Makefile.in -print | \ + xargs --no-run-if-empty rm -f; \ + rm -f Makefile.am acinclude.m4 aclocal.m4 config.h.in \ + configure configure.files configure.in stamp-h.in \ + subdirs; \ + fi + rm -f debian/stamp-cvs-make + +endif diff --git a/ubuntu/lucid_automake/applications/tdmtheme/debian/cdbs/kde.mk b/ubuntu/lucid_automake/applications/tdmtheme/debian/cdbs/kde.mk new file mode 100644 index 000000000..9e4117558 --- /dev/null +++ b/ubuntu/lucid_automake/applications/tdmtheme/debian/cdbs/kde.mk @@ -0,0 +1,97 @@ +# -*- 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. + +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class + +ifndef _cdbs_class_kde +_cdbs_class_kde := 1 + +# for dh_icons +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), debhelper (>= 5.0.7ubuntu4) + +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 (,$(filter noopt,$(DEB_BUILD_OPTIONS))) + cdbs_kde_enable_final = $(if $(DEB_KDE_ENABLE_FINAL),--enable-final,) +endif + +ifneq (,$(filter nostrip,$(DEB_BUILD_OPTIONS))) + cdbs_kde_enable_final = + cdbs_kde_enable_debug = --enable-debug=yes +else + cdbs_kde_enable_debug = --disable-debug +endif + +ifneq (,$(filter 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 = .dcl .docbook -license .tag .sty .el + +$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%: + if test -x /usr/bin/dh_icons; then dh_icons -p$(cdbs_curpkg) $(DEB_DH_ICONCACHE_ARGS); fi + +cleanbuilddir:: + -$(if $(call cdbs_streq,$(DEB_BUILDDIR),$(DEB_SRCDIR)),,rm -rf $(DEB_BUILDDIR)) + +common-build-arch common-build-indep:: debian/stamp-kde-apidox +debian/stamp-kde-apidox: + $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) apidox) + touch $@ + +common-install-prehook-impl:: + mkdir -p po + -XGETTEXT=/usr/bin/kde-xgettext EXTRACTATTR=/opt/kde3/bin/extractattr sh $(DEB_SRCDIR)/admin/cvs.sh extract-messages + -for file in po/*pot; do \ + sed "s/charset=CHARSET/charset=UTF-8/" -i $$file; \ + done + +common-install-arch common-install-indep:: common-install-kde-apidox +common-install-kde-apidox:: + $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) install-apidox DESTDIR=$(DEB_DESTDIR)) + +clean:: + rm -f debian/stamp-kde-apidox + rm -rf po/*.pot + +# This is a convenience target for calling manually. It's not part of +# the build process. +buildprep: clean apply-patches + $(MAKE) -f admin/Makefile.common dist + debian/rules clean + +endif diff --git a/ubuntu/lucid_automake/applications/tdmtheme/debian/cdbs/team-members b/ubuntu/lucid_automake/applications/tdmtheme/debian/cdbs/team-members new file mode 100644 index 000000000..05761af6e --- /dev/null +++ b/ubuntu/lucid_automake/applications/tdmtheme/debian/cdbs/team-members @@ -0,0 +1,16 @@ +Sune Vuorela +Ana Beatriz Guerrero Lopez +Fathi Boudra +Modestas Vainius +Josh Metzler +Isaac Clerencia +Adeodato Simó +Adeodato Simo +Christopher Martin +Daniel Schepler +Sarah Hobbs +Nacho Barrientos Arias +Ricardo Javier Cardenes Medina +Ricardo Cardenes +Armin Berres +Francesco Pedrini diff --git a/ubuntu/lucid_automake/applications/tdmtheme/debian/cdbs/uploaders.mk b/ubuntu/lucid_automake/applications/tdmtheme/debian/cdbs/uploaders.mk new file mode 100644 index 000000000..31adfe31e --- /dev/null +++ b/ubuntu/lucid_automake/applications/tdmtheme/debian/cdbs/uploaders.mk @@ -0,0 +1,29 @@ + +MAINTAINER=Debian Qt/KDE Maintainers +UPLOADERS=$(shell grep -e +++ -e "^ -- " debian/changelog | grep -v "debian-qt-kde@lists.debian.org" | head -13 | /bin/sed 's/^\s*//;s/\s*$$//;s/^+++\? Changes by //;s/^+++\? //;s/-- //;s/:$$//;s/ <.*//' | sort -u | while read line ; do grep "$$line" debian/cdbs/team-members ; done | tr "\n" ", " | sed 's/,/, /g;s/, $$//') + + +debian/control.tmp: + @if [ ! -e debian/control.in ] ; then \ + echo "this package is not yet prepared for using automatic update of uploaders"; \ + echo "Please do so."; \ + exit 1; \ + fi + @sed 's/@@@UPLOADERS@@@/$(UPLOADERS)/;s#@@@MAINTAINER@@@#$(MAINTAINER)#' debian/control.in > debian/control.tmp + +check-uploaders: debian/control.tmp + @if ! diff -q debian/control debian/control.tmp ; then \ + echo "WARNING:: Control file differs from manually generated one" ; \ + echo "WARNING:: Please update it manually and check it afterwards" ; \ + echo "WARNING:: Uploaders are updated by debian/rules update-uploaders" ;\ + echo "WARNING:: If this is a binNMU, NMU or security upload, just ignore" ;\ + fi + + +clean:: + rm -f debian/control.tmp + +update-uploaders: debian/control.tmp + @mv -f debian/control.tmp debian/control + +makebuilddir:: check-uploaders diff --git a/ubuntu/lucid_automake/applications/tdmtheme/debian/cdbs/versions.pl b/ubuntu/lucid_automake/applications/tdmtheme/debian/cdbs/versions.pl new file mode 100644 index 000000000..9ce11d8a3 --- /dev/null +++ b/ubuntu/lucid_automake/applications/tdmtheme/debian/cdbs/versions.pl @@ -0,0 +1,19 @@ +#!/usr/bin/env perl + +use strict; +use warnings; + +my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; +my ($version3, $version3_next); +my ($version2, $version2_next); + +($version3 = $version) =~ s/-[^-]+$//; +($version2 = $version3) =~ s/\.[^.]+$//; + +($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; +($version2_next = $version2) =~ s/(?<=\.)(\d+)$/($1+1)/e; + +print "KDE-Version3=$version3\n"; +print "KDE-Version2=$version2\n"; +print "KDE-Next-Version3=$version3_next\n"; +print "KDE-Next-Version2=$version2_next\n"; diff --git a/ubuntu/lucid_automake/applications/tdmtheme/debian/changelog b/ubuntu/lucid_automake/applications/tdmtheme/debian/changelog new file mode 100644 index 000000000..c6ee15979 --- /dev/null +++ b/ubuntu/lucid_automake/applications/tdmtheme/debian/changelog @@ -0,0 +1,123 @@ +tdmtheme-kde3 (1.2.2-1ubuntu5) karmic; urgency=low + + * Karmic rebuild + * Fixed theme switching problem + + -- Timothy Pearson Thu, 02 July 2009 16:08:00 -0600 + +tdmtheme-kde3 (1.2.2-1ubuntu1) intrepid; urgency=low + + * Added -kde3 suffix + + -- Timothy Pearson Mon, 27 Apr 2009 19:00:00 -0600 + +tdmtheme (1.2.2-1ubuntu1) intrepid; urgency=low + + [ Sergey Rudchenko ] + * Merge from debian unstable, remaining changes: + * kubuntu_02_confchanges.diff. Patch from Stefan Skotte + * kubuntu_01_kcm_systemsettings.diff - kcm module inclusion in the Appearance section + + [ Harald Sitter ] + * Remove Homepage from long description + + -- Harald Sitter Fri, 06 Jun 2008 00:46:45 +0200 + +tdmtheme (1.2.2-1) unstable; urgency=low + + * New upstream release: + * actually saves theme changes (Closes: #447683) + * does not crash kcontrol when opened as user (Closes: #435946) + * Update e-mail addresses. + * Bump Standards-Version to 3.7.3. + * Use Homepage field. + + [ Kel Modderman ] + * Refresh debian/patches/10_tdmtheme-override-warning.diff to apply against + new upstream release. + + [ Fathi Boudra ] + * Build with --as-needed linker flag. + + -- Fathi Boudra Sat, 22 Dec 2007 15:36:15 +0100 + +tdmtheme (1.2.2-0ubuntu2) hardy; urgency=low + + * Re-adds kubuntu_02_confchanges.diff. Patch from Stefan Skotte + + -- Anthony Mercatante Fri, 15 Feb 2008 10:25:44 +0100 + +tdmtheme (1.2.2-0ubuntu1) hardy; urgency=low + + * New upstream release. + * Removed 10_tdmtheme-override-warning.diff. + * Removed kubuntu_02_confchanges.diff. + * Updated Standards-Version to 3.7.3 + + -- Jonathan Patrick Davies Mon, 22 Dec 2007 11:48:18 +0100 + +tdmtheme (1.2.1-0ubuntu1) hardy; urgency=low + + * New upstream release. + * Merged new Debian changelog and changes to Ubuntu package. + * Create kubuntu_02_confchanges.diff - Kubuntu changes to source originally in source. + Removes any changes in the *.orig.tar.gz. Patch has also been sent upstream. + * Updated kubuntu_01_kcm_systemsettings.diff. + * Changed homepage. + + -- Jonathan Patrick Davies Mon, 22 Oct 2007 21:18:56 +0200 + +tdmtheme (1.2-1) unstable; urgency=low + + * New upstream release. + * Update tdmtheme override warning patch. + * Add patch to replace deprecated qlist.h include. + * Add Build-Depends: quilt, automake1.7. + * Update copyright file. + * Update watch file. + + -- Fathi Boudra Wed, 03 Oct 2007 12:17:40 +0200 + +tdmtheme (1.2-0ubuntu2) gutsy; urgency=low + + [ Stefan Skotte ] + * added support for tdm.d with override files. + * various bugfixes for normal tdmrc usage, including save and apply + not working, themeDir not set correctly etc. + + [ Sarah Hobbs ] + * Modify Maintainer value to match the DebianMaintainerField + specification. + + -- Sarah Hobbs Fri, 05 Oct 2007 19:09:00 +1000 + +tdmtheme (1.2-0ubuntu1) gutsy; urgency=low + + * New upstream release + + -- Anthony Mercatante Sat, 29 Sep 2007 11:17:55 +0200 + +tdmtheme (1.1.2-2ubuntu1) feisty; urgency=low + + * Added kubuntu_01_kcm_systemsettings.diff for kde-systemsettings + inclusion in the Appearance section + + -- Anthony Mercatante Tue, 13 Feb 2007 06:18:32 +0100 + +tdmtheme (1.1.2-2) unstable; urgency=low + + [ Mark Purcell ] + * Add debian/rules get-orig-source target for http://buildserver.net. + + [ Fathi Boudra ] + * Add a patch to warn users about tdm override files introduced with + desktop-base. Thanks to Sune Vuorela. + + -- Fathi Boudra Wed, 31 Jan 2007 21:11:45 +0100 + +tdmtheme (1.1.2-1) unstable; urgency=low + + * Initial release (Closes: #380661) + + -- Fathi Boudra Mon, 31 Jul 2006 18:33:26 +0200 + diff --git a/ubuntu/lucid_automake/applications/tdmtheme/debian/compat b/ubuntu/lucid_automake/applications/tdmtheme/debian/compat new file mode 100644 index 000000000..7ed6ff82d --- /dev/null +++ b/ubuntu/lucid_automake/applications/tdmtheme/debian/compat @@ -0,0 +1 @@ +5 diff --git a/ubuntu/lucid_automake/applications/tdmtheme/debian/control b/ubuntu/lucid_automake/applications/tdmtheme/debian/control new file mode 100644 index 000000000..6bbeb4779 --- /dev/null +++ b/ubuntu/lucid_automake/applications/tdmtheme/debian/control @@ -0,0 +1,17 @@ +Source: tdmtheme-kde3 +Section: kde +Priority: optional +Maintainer: Timothy Pearson +XSBC-Original-Maintainer: Debian KDE Extras Team +Uploaders: Kel Modderman , Fathi Boudra , + Mark Purcell +Build-Depends: cdbs, debhelper (>= 5), quilt, kdelibs4-kde3-dev, automake1.11-kde3, autoconf2.63, libtool, libltdl-dev +Standards-Version: 3.8.3 +Homepage: http://beta.smileaf.org/projects + +Package: tdmtheme-kde3 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, tdm-kde3 +Description: theme manager for TDM [KDE3] + tdmtheme is a theme manager for TDM. It provides a KDE Control Module (KCM) + that allows you to easily install, remove and change your TDM themes. diff --git a/ubuntu/lucid_automake/applications/tdmtheme/debian/copyright b/ubuntu/lucid_automake/applications/tdmtheme/debian/copyright new file mode 100644 index 000000000..c8d6d972f --- /dev/null +++ b/ubuntu/lucid_automake/applications/tdmtheme/debian/copyright @@ -0,0 +1,46 @@ +This package was debianized by Kel Modderman on +Tue, 1 Aug 2006 00:25:11 +0000. + +It was downloaded from http://beta.smileaf.org/projects/ + +Upstream Authors: + + Stephen Leaf + Laurent Montel + Oswald Buddenhagen + +Copyright: + + (C) 2005-2007 Stephen Leaf + (C) 2006 Oswald Buddenhagen + +License: + + 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 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +The Debian packaging is (C) 2007, Kel Modderman and +is licensed under the GPL, see above. + +The documentations provided with tdmtheme is distributed under +the GNU Free Documentation License (FDL). They are considered free with +regards to the Debian Free Software Guidelines (DFSG) because they don't +contain any unmodifiable parts (invariant sections). + +On Debian systems, the complete text of the GNU Free Documentation +License can be found in `/usr/share/common-licenses/GFDL'. + diff --git a/ubuntu/lucid_automake/applications/tdmtheme/debian/docs b/ubuntu/lucid_automake/applications/tdmtheme/debian/docs new file mode 100644 index 000000000..e845566c0 --- /dev/null +++ b/ubuntu/lucid_automake/applications/tdmtheme/debian/docs @@ -0,0 +1 @@ +README diff --git a/ubuntu/lucid_automake/applications/tdmtheme/debian/patches/.gitignore b/ubuntu/lucid_automake/applications/tdmtheme/debian/patches/.gitignore new file mode 100644 index 000000000..e69de29bb diff --git a/ubuntu/lucid_automake/applications/tdmtheme/debian/rules b/ubuntu/lucid_automake/applications/tdmtheme/debian/rules new file mode 100755 index 000000000..bcd40a219 --- /dev/null +++ b/ubuntu/lucid_automake/applications/tdmtheme/debian/rules @@ -0,0 +1,38 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include debian/cdbs/kde.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk +include /usr/share/cdbs/1/rules/utils.mk + +DEB_CONFIGURE_INCLUDEDIR := /opt/kde3/include/kde +DEB_CONFIGURE_MANDIR := /opt/kde3/share/man +DEB_CONFIGURE_PREFIX := /opt/kde3 +DEB_CONFIGURE_INFODIR := /opt/kde3/share/info + +cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug) + +DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-Wl,--as-needed" +DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/kde3 --with-extra-libs=/opt/kde3/lib --with-extra-includes=/opt/kde3/include/kde + +post-patches:: debian/stamp-bootstrap + +debian/stamp-bootstrap: + ! [ -f /usr/share/libtool/ltmain.sh ] || \ + cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh + ! [ -f /usr/share/libtool/config/ltmain.sh ] || \ + cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh + cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in + + make -f admin/Makefile.common cvs + touch debian/stamp-bootstrap + +install/tdmtheme-kde3:: + install -D -p -m644 debian/tdmtheme.lintian-overrides \ + debian/tdmtheme-kde3/usr/share/lintian/overrides/tdmtheme-kde3 + +get-orig-source: + @@dh_testdir + @@[ -d ../tarballs/. ]||mkdir -p ../tarballs + @@dpatch-get-origtargz ../tarballs + diff --git a/ubuntu/lucid_automake/applications/tdmtheme/debian/tdmtheme.lintian-overrides b/ubuntu/lucid_automake/applications/tdmtheme/debian/tdmtheme.lintian-overrides new file mode 100644 index 000000000..d27349d54 --- /dev/null +++ b/ubuntu/lucid_automake/applications/tdmtheme/debian/tdmtheme.lintian-overrides @@ -0,0 +1,6 @@ +# provided by kdelibs +tdmtheme: desktop-command-not-in-package ./usr/share/applications/kde/tdmtheme.desktop kcmshell +# kcontrol module +tdmtheme: desktop-entry-invalid-category X-KDE-settings-system ./usr/share/applications/kde/tdmtheme.desktop +tdmtheme: desktop-entry-lacks-main-category ./usr/share/applications/kde/tdmtheme.desktop + diff --git a/ubuntu/lucid_automake/applications/tdmtheme/debian/watch b/ubuntu/lucid_automake/applications/tdmtheme/debian/watch new file mode 100644 index 000000000..82cebbd47 --- /dev/null +++ b/ubuntu/lucid_automake/applications/tdmtheme/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://beta.smileaf.org/files/tdmtheme/tdmtheme-(.*)\.tar\.bz2 debian svn-upgrade diff --git a/ubuntu/lucid_automake/kdebase/debian/kdebase-doc-html.doc-base.kdm b/ubuntu/lucid_automake/kdebase/debian/kdebase-doc-html.doc-base.kdm deleted file mode 100644 index b2fae568e..000000000 --- a/ubuntu/lucid_automake/kdebase/debian/kdebase-doc-html.doc-base.kdm +++ /dev/null @@ -1,10 +0,0 @@ -Document: kdebase-doc-html-tdm -Title: TDM Handbook -Author: Oswald Buddenhagen -Abstract: This document describes TDM, the KDE Display Manager, an X session manager. -Section: System - -Format: HTML -Index: /opt/kde3/share/doc/kde/HTML/en/tdm/index.html -Files: /opt/kde3/share/doc/kde/HTML/en/tdm/*.html - diff --git a/ubuntu/lucid_automake/kdebase/debian/kdebase-doc-html.doc-base.tdm b/ubuntu/lucid_automake/kdebase/debian/kdebase-doc-html.doc-base.tdm new file mode 100644 index 000000000..b2fae568e --- /dev/null +++ b/ubuntu/lucid_automake/kdebase/debian/kdebase-doc-html.doc-base.tdm @@ -0,0 +1,10 @@ +Document: kdebase-doc-html-tdm +Title: TDM Handbook +Author: Oswald Buddenhagen +Abstract: This document describes TDM, the KDE Display Manager, an X session manager. +Section: System + +Format: HTML +Index: /opt/kde3/share/doc/kde/HTML/en/tdm/index.html +Files: /opt/kde3/share/doc/kde/HTML/en/tdm/*.html + diff --git a/ubuntu/lucid_automake/kdebase/debian/kdm-kde3-np.pam b/ubuntu/lucid_automake/kdebase/debian/kdm-kde3-np.pam deleted file mode 100644 index 4cada235b..000000000 --- a/ubuntu/lucid_automake/kdebase/debian/kdm-kde3-np.pam +++ /dev/null @@ -1,11 +0,0 @@ -# -# /etc/pam.d/tdm-np - specify the PAM behaviour of tdm for passwordless logins -# -auth required pam_nologin.so -auth required pam_env.so readenv=1 -auth required pam_env.so readenv=1 envfile=/etc/default/locale -session required pam_limits.so -@include common-account -@include common-password -@include common-session -auth required pam_permit.so diff --git a/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.README.Debian b/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.README.Debian deleted file mode 100644 index f7f09290b..000000000 --- a/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.README.Debian +++ /dev/null @@ -1,91 +0,0 @@ -TDM in Debian -============= - -This package comes with a copy of the TDM handbook in docbook format. -To read it, run "khelpcenter help:/tdm" from a command-line or go to the -URL "help:/tdm" in konqueror. - -By default, the use of special graphical themes with TDM is disabled. -If you wish to use the 'Circles' theme that comes with the tdm package, or -any other theme that you have installed, you should research the -'UseTheme' and 'Theme' fields in /etc/kde3/tdm/tdmrc. This can be done -by browsing this URL in Konqueror: - -help:/tdm/tdm-files.html#tdmrc-greeter - -TDM Customization -================= - -We provide a way to override theme-related values normally set in the -master configuration file (tdmrc): - * USEBACKGROUND - * BACKGROUNDCFG - * USETHEME - * THEME - * AUTOLOGINAGAIN - * AUTOLOGINDELAY - * AUTOLOGINLOCKED - * AUTOLOGINUSER - -and background configuration file (backgroundrc): - * WALLPAPER - -You just need to create a file with overridden value(s) and put it in -tdm override directory (default is /etc/default/tdm.d). - -================================================ -Below this is direct from the xdm package README -================================================ - -Debian README for the xdm package: - -Newcomers to the X Window System should first read the file -/opt/kde3/share/doc/x11-common/FAQ.gz. You can view this file with your -favorite pager program after decompressing it. For example: - $ zcat /opt/kde3/share/doc/x11-common/FAQ.gz | pager - -The default configuration for the X display manager (xdm) under Debian -GNU/Linux presumes that one wishes xdm to manage one local session. (In -other words, the xdm login screen occupies one virtual console -automatically at boot.) If one does not wish to run a local X server, the -following line should be commented out of /etc/X11/xdm/Xservers: - -:0 local /usr/bin/X11/X vt7 -deferglyphs 16 - -Several configuration files are shipped with the xdm package; they reside -in the /etc/X11/xdm/ directory. Extensive documentation about the xdm -configuration files may be found in the xdm(1) manual page. - -xdm-config contains X resources specific to xdm itself. See the X(1) -manual page for more information about X resources, and the xdm(1) manual -pages for documentation of the available xdm resources. - -Xresources contains X resources that are designed to be specfic to sessions -running under xdm. Note that this file does contain the resource entries -for xdm itself -- those are contained in the file xdm-config. See the X(1) -manual page for more information about X resources. - -The above three files, despite being X resource files, are not placed in the -/etc/X11/Xresources directory (see /opt/kde3/share/doc/xbase/README.Debian) because -they should not be used automatically in all X sessions; the /etc/X11/Xsession -script merges in the resources of all files found in /etc/X11/Xresources, and -this action would be inappropriate for these resource files. - -Xservers contains entries to start the X server(s) on the local machine, and -on any remote X terminals that do not support XDMCP. This file is internally -documented. - -Xaccess determines what hosts on the network may use the services of the -running xdm daemon. This file is internally documented. Note that as of -version 3.3.4-1 of the xdm package, all remote XDMCP access is turned off -by default. - -Xstartup is a shell script which is run (as root) after a user has logged in -on a server. - -Xreset is a shell script which is run (as root) after a user's X session ends on -a server. - -xdm.options contains configuration options for xdm that are specific to the -Debian GNU/Linux system. See the xdm.options(5) manual page for more -information. diff --git a/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.conf b/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.conf deleted file mode 100755 index f6da8a4b0..000000000 --- a/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.conf +++ /dev/null @@ -1,48 +0,0 @@ -# tdm-kde3 - K Display Manager -# -# The display manager service manages the X servers running on the -# system, providing login and auto-login services - -description "K Display Manager for KDE3" -author "Richard Johnson and Timothy Pearson" - -start on (filesystem - and (started hal or started hal-kde3) - and (graphics-device-added fb0 PRIMARY_DEVICE_FOR_DISPLAY=1 - or drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1 - or stopped udevtrigger)) -stop on runlevel [016] - -emits starting-dm - -respawn - -script - [ ! -f /etc/X11/default-display-manager -o "$(cat /etc/X11/default-display-manager 2>/dev/null)" = "/opt/kde3/bin/tdm" ] - - # Check kernel command-line for inhibitors - for ARG in $(cat /proc/cmdline) - do - case "${ARG}" in - text|-s|s|S|single) - exit 0 - ;; - esac - done - - if [ -r /etc/default/locale ]; then - . /etc/default/locale - export LANG LANGUAGE - elif [ -r /etc/environment ]; then - . /etc/environment - export LANG LANGUAGE - fi - - TDEDIRS=/opt/kde3/ - PATH=/opt/kde3/bin:/bin:/usr/bin:/sbin:/usr/sbin - - initctl emit starting-dm DM=tdm-kde3 - - exec /opt/kde3/bin/tdm - -end script diff --git a/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.config b/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.config deleted file mode 100644 index 1ecedb65c..000000000 --- a/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.config +++ /dev/null @@ -1,87 +0,0 @@ -#!/bin/sh -# Debian tdm package configuration script -# stolen from the xdm scripts -# Copyright 2000--2003 Branden Robinson. -# Licensed under the GNU General Public License, version 2. See the file -# /usr/share/common-licenses/GPL or . - -set -e - -# source debconf library -. /usr/share/debconf/confmodule - -THIS_PACKAGE=tdm-kde3 - -# set default display manager -DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager - -OWNERS= -if db_metaget shared/default-x-display-manager owners; then - OWNERS="$RET" -fi - -CHOICES= -if db_metaget shared/default-x-display-manager choices; then - CHOICES="$RET" -fi - -if [ "$OWNERS" != "$CHOICES" ]; then - # FIXME - redo this part uses shell-lib.sh from xfree86 - # observe "X display managers now available are \"$OWNERS\"" - db_subst shared/default-x-display-manager choices "$OWNERS" - db_fset shared/default-x-display-manager seen false -fi - -# debconf is not a registry; use the current contents of the default display -# manager file to pre-answer the question if possible -if [ -e "$DEFAULT_DISPLAY_MANAGER_FILE" ]; then - CURRENT_DEFAULT=$(grep -v '^[[:space:]]*#' \ - "$DEFAULT_DISPLAY_MANAGER_FILE" | - head -n 1) - # both the binaries for tdm and tdm-kde4 share the same basename - # so we need to check if it's tdm-kde4 or another display manager - if [ "$CURRENT_DEFAULT" = "/usr/lib/kde4/bin/tdm" ]; then - CURRENT_DEFAULT=${THIS_PACKAGE}-kde4 - else - CURRENT_DEFAULT=$(basename $CURRENT_DEFAULT) - fi - if [ -n "$CURRENT_DEFAULT" ]; then -# if ! which "$CURRENT_DEFAULT" > /dev/null 2>&1; then -# echo . - # FIXME - redo this part uses shell-lib.sh from xfree86 - #observe "default display manager \"$CURRENT_DEFAULT\" specified in" \ - # "$DEFAULT_DISPLAY_MANAGER_FILE does not exist or is not" \ - # "executable" -# fi - db_set shared/default-x-display-manager "$CURRENT_DEFAULT" - fi -else - CURRENT_DEFAULT= - if db_get shared/default-x-display-manager; then - CURRENT_DEFAULT="$RET" - fi -fi - -db_input high shared/default-x-display-manager || true -db_go - -# using this display manager? -NEW_DEFAULT= -if db_get shared/default-x-display-manager; then - NEW_DEFAULT="$RET" -fi - -# move the default display manager file if we're going to change it -if [ -n "$NEW_DEFAULT" ]; then - if [ "$NEW_DEFAULT" != "$CURRENT_DEFAULT" ]; then - if [ -e "$DEFAULT_DISPLAY_MANAGER_FILE" ]; then - # FIXME - redo this part uses shell-lib.sh from xfree86 - # observe "preparing to change default X display manager from" \ - # "\"$CURRENT_DEFAULT\" to \"$NEW_DEFAULT\"" - mv "$DEFAULT_DISPLAY_MANAGER_FILE" \ - "$DEFAULT_DISPLAY_MANAGER_FILE.dpkg-tmp" - fi - fi -fi - -exit 0 diff --git a/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.dirs b/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.dirs deleted file mode 100644 index 38d09f9d8..000000000 --- a/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.dirs +++ /dev/null @@ -1,2 +0,0 @@ -etc/default/tdm-kde3.d -var/lib/tdm-kde3 diff --git a/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.install b/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.install deleted file mode 100644 index f5747fbba..000000000 --- a/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.install +++ /dev/null @@ -1,52 +0,0 @@ -debian/local/tdm.options etc/kde3/tdm/ -debian/tmp/etc/kde3/tdm/tdmrc -debian/tmp/etc/kde3/tdm/Xaccess -debian/tmp/etc/kde3/tdm/Xreset -debian/tmp/etc/kde3/tdm/Xsession -debian/tmp/etc/kde3/tdm/Xsetup -debian/tmp/etc/kde3/tdm/Xstartup -debian/tmp/etc/kde3/tdm/Xwilling -debian/tmp/opt/kde3/bin/gentdmconf -debian/tmp/opt/kde3/bin/tdm -debian/tmp/opt/kde3/bin/tdm_config -debian/tmp/opt/kde3/bin/tdmctl -debian/tmp/opt/kde3/bin/tdm_greet -debian/tmp/opt/kde3/bin/krootimage -debian/tmp/opt/kde3/share/apps/tdm/pics/kdelogo-crystal.png -debian/tmp/opt/kde3/share/apps/tdm/pics/kdelogo.png -debian/tmp/opt/kde3/share/apps/tdm/pics/shutdown.jpg -debian/tmp/opt/kde3/share/apps/tdm/pics/users/default1.png -debian/tmp/opt/kde3/share/apps/tdm/pics/users/default2.png -debian/tmp/opt/kde3/share/apps/tdm/pics/users/default3.png -debian/tmp/opt/kde3/share/apps/tdm/pics/users/root1.png -debian/tmp/opt/kde3/share/apps/tdm/sessions/9wm.desktop -debian/tmp/opt/kde3/share/apps/tdm/sessions/aewm.desktop -debian/tmp/opt/kde3/share/apps/tdm/sessions/amaterus.desktop -debian/tmp/opt/kde3/share/apps/tdm/sessions/asclassic.desktop -debian/tmp/opt/kde3/share/apps/tdm/sessions/ctwm.desktop -debian/tmp/opt/kde3/share/apps/tdm/sessions/evilwm.desktop -debian/tmp/opt/kde3/share/apps/tdm/sessions/flwm.desktop -debian/tmp/opt/kde3/share/apps/tdm/sessions/lwm.desktop -debian/tmp/opt/kde3/share/apps/tdm/sessions/matchbox.desktop -debian/tmp/opt/kde3/share/apps/tdm/sessions/mwm.desktop -debian/tmp/opt/kde3/share/apps/tdm/sessions/olvwm.desktop -debian/tmp/opt/kde3/share/apps/tdm/sessions/olwm.desktop -debian/tmp/opt/kde3/share/apps/tdm/sessions/oroborus.desktop -debian/tmp/opt/kde3/share/apps/tdm/sessions/pwm.desktop -debian/tmp/opt/kde3/share/apps/tdm/sessions/twm.desktop -debian/tmp/opt/kde3/share/apps/tdm/sessions/ude.desktop -debian/tmp/opt/kde3/share/apps/tdm/sessions/vtwm.desktop -debian/tmp/opt/kde3/share/apps/tdm/sessions/wm2.desktop -debian/tmp/opt/kde3/share/apps/tdm/themes/circles/background.svg -debian/tmp/opt/kde3/share/apps/tdm/themes/circles/circles.xml -debian/tmp/opt/kde3/share/apps/tdm/themes/circles/flower.png -debian/tmp/opt/kde3/share/apps/tdm/themes/circles/GdmGreeterTheme.desktop -debian/tmp/opt/kde3/share/apps/tdm/themes/circles/help.png -debian/tmp/opt/kde3/share/apps/tdm/themes/circles/options.png -debian/tmp/opt/kde3/share/apps/tdm/themes/circles/screenshot.png -debian/tmp/opt/kde3/share/apps/tdm/themes/o2_enterprise -debian/tmp/opt/kde3/share/doc/kde/HTML/en/tdm/common -debian/tmp/opt/kde3/share/doc/kde/HTML/en/tdm/index.cache.bz2 -debian/tmp/opt/kde3/share/doc/kde/HTML/en/tdm/index.docbook -debian/tmp/opt/kde3/share/doc/kde/HTML/en/tdm/tdmrc-ref.docbook -debian/tmp/opt/kde3/share/doc/tdm/README diff --git a/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.links b/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.links deleted file mode 100644 index 1bdab2cb6..000000000 --- a/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.links +++ /dev/null @@ -1 +0,0 @@ -opt/kde3/share/apps/tdm/pics/users/default1.png opt/kde3/share/apps/tdm/faces/.default.face diff --git a/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.logrotate b/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.logrotate deleted file mode 100644 index 99853b7ba..000000000 --- a/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.logrotate +++ /dev/null @@ -1,9 +0,0 @@ -/var/log/tdm-kde3.log { - rotate 7 - daily - compress - delaycompress - copytruncate - missingok - notifempty -} diff --git a/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.manpages b/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.manpages deleted file mode 100644 index 3c0748068..000000000 --- a/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.manpages +++ /dev/null @@ -1,6 +0,0 @@ -debian/man/gentdmconf-kde3.1 -debian/man/tdm-kde3.1 -debian/man/tdm_config-kde3.1 -debian/man/tdmctl-kde3.1 -debian/man/tdm_greet-kde3.1 -debian/man/krootimage-kde3.1 diff --git a/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.pam b/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.pam deleted file mode 100644 index 6fc929be0..000000000 --- a/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.pam +++ /dev/null @@ -1,11 +0,0 @@ -# -# /etc/pam.d/tdm-kde3 - specify the PAM behaviour of tdm -# -auth required pam_nologin.so -auth required pam_env.so readenv=1 -auth required pam_env.so readenv=1 envfile=/etc/default/locale -@include common-auth -session required pam_limits.so -@include common-account -@include common-password -@include common-session diff --git a/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.postinst b/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.postinst deleted file mode 100644 index 93207ff88..000000000 --- a/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.postinst +++ /dev/null @@ -1,126 +0,0 @@ -#! /bin/sh - -set -e - -# source debconf library -. /usr/share/debconf/confmodule - -# debconf is not a registry, so we only fiddle with the default file if it -# does not exist -DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager - -if [ ! -e "$DEFAULT_DISPLAY_MANAGER_FILE" ]; then - DEFAULT_DISPLAY_MANAGER=tdm-kde3 - if db_get shared/default-x-display-manager; then - DEFAULT_DISPLAY_MANAGER="$RET" - fi - if [ -n "$DEFAULT_DISPLAY_MANAGER" ]; then - DAEMON_NAME= - if db_get "$DEFAULT_DISPLAY_MANAGER"/daemon_name; then - DAEMON_NAME="$RET" - fi - if [ ! -n "$DAEMON_NAME" ]; then - # if we were unable to determine the name of the selected daemon (for - # instance, if the selected default display manager doesn't provide a - # daemon_name question), guess - DAEMON_NAME=$(which "$DEFAULT_DISPLAY_MANAGER" 2>/dev/null) - if [ ! -n "$DAEMON_NAME" ]; then - echo . - # FIXME - redo this part uses shell-lib.sh from xfree86 - #warn "unable to determine path to default X display manager" \ - # "$DEFAULT_DISPLAY_MANAGER; not updating" \ - # "$DEFAULT_DISPLAY_MANAGER_FILE" - fi - fi - if [ -n "$DAEMON_NAME" ]; then - # FIXME - redo this part uses shell-lib.sh from xfree86 - #observe "committing change of default X display manager" - echo "$DAEMON_NAME" > "$DEFAULT_DISPLAY_MANAGER_FILE" - fi - fi -fi - -# remove the displaced old default display manager file if it exists -if [ -e "$DEFAULT_DISPLAY_MANAGER_FILE.dpkg-tmp" ]; then - rm "$DEFAULT_DISPLAY_MANAGER_FILE.dpkg-tmp" -fi - -# restarting the daemon may cause output to stdout -db_stop - -# don't start tdm if we are upgrading without stopping it -NOSTART= -if [ -e /var/run/tdm-kde3.upgrade ]; then - NOSTART=yes -fi -# or if we're currently in X on the display it attempts to manage by default -for HOST in "" \ - "localhost" \ - "$(hostname 2> /dev/null)" \ - "$(hostname -f 2> /dev/null)"; do - if echo "$DISPLAY" | grep -q "^$HOST:0.*"; then - NOSTART=yes - break - fi -done -# or if it's already running -if start-stop-daemon --stop --quiet --signal 0 --pid /var/run/tdm.pid --name tdm-kde3; then - NOSTART=yes -fi -# or if the options file says not to -if ! grep -qs ^restart-on-upgrade /etc/kde3/tdm/tdm.options; then - NOSTART=yes -fi - - -# md5sum of the stock Xservers shipped with KDE 3.3.2, which shipped with Sarge -SARGEXSERVERS=d3ab063f564492e0e31830f56ccd350e - -CONFIGLEVEL=`grep -s ^ConfigVersion= /etc/kde3/tdm/tdmrc | sed s/^ConfigVersion=//` - -if [ -e /etc/kde3/tdm/tdmrc ]; then - if dpkg --compare-versions "$CONFIGLEVEL" ge "2.3"; then - TDMRCUPDATED=yes - fi -fi - -if [ -e /etc/kde3/tdm/Xservers ]; then - if [ `md5sum /etc/kde3/tdm/Xservers | sed s/\ .*$//` = $SARGEXSERVERS ]; then - XSERVERSUNCHANGED=yes - fi -fi - -# With KDE 3.4, /etc/kde3/tdm/Xservers is no longer required, so we remove it, if -# the user has updated their tdmrc (if they haven't, tdm notices and keeps using -# Xservers), and if it wasn't touched, i.e. there are no local changes the user -# will want to merge into tdmrc. - -case "$1" in - - configure) - - if [ ! -z $TDMRCUPDATED ] && [ ! -z $XSERVERSUNCHANGED ]; then - echo "Removing obsolete /etc/kde3/tdm/Xservers (detected no user changes)." - rm -f /etc/kde3/tdm/Xservers - elif [ ! -z $TDMRCUPDATED ] && [ -e /etc/kde3/tdm/Xservers ]; then - echo "Note that /etc/kde3/tdm/Xservers is no longer used by TDM." - echo "You must merge your changes (if any) into /etc/kde3/tdm/tdmrc manually." - echo "Otherwise, /etc/kde3/tdm/Xservers is safe to remove." - fi - - rm -f /etc/init.d/tdm-kde3 - ln -s /lib/init/upstart-job /etc/init.d/tdm-kde3 - - ;; - - abort-upgrade|abort-remove|abort-deconfigure) - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; - -esac - -exit 0 diff --git a/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.postrm b/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.postrm deleted file mode 100644 index f33a54fc4..000000000 --- a/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.postrm +++ /dev/null @@ -1,38 +0,0 @@ -#! /bin/sh -e - -case "$1" in - purge) - rm -rf /var/log/tdm-kde3.log* - ;; - - remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - - ;; - - *) - echo "postrm called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -if [ "$1" = "abort-install" -o "$1" = "abort-upgrade" ]; then - # roll back displacement of default display manager file - if [ -e "$DEFAULT_DISPLAY_MANAGER_FILE.dpkg-tmp" ]; then - # FIXME - redo this part uses shell-lib.sh from xfree86 - #observe "rolling back change of default X display manager" - mv "$DEFAULT_DISPLAY_MANAGER_FILE.dpkg-tmp" "$DEFAULT_DISPLAY_MANAGER_FILE" - fi -fi - -if [ "$1" = "purge" ]; then - for DIR in /var/lib/tdm-kde3; do - if [ -d "$DIR" ]; then - rm -rf "$DIR" - fi - done - rm -f /var/log/tdm-kde3.log* -fi - -#DEBHELPER# - -exit 0 diff --git a/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.preinst b/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.preinst deleted file mode 100644 index 8160e6810..000000000 --- a/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.preinst +++ /dev/null @@ -1,29 +0,0 @@ -#! /bin/sh -e - -case "$1" in - - upgrade) - rm -f /etc/kde3/debian/tdm-update-menu.sh - rm -f /etc/kde3/debian/tdm.options - rm -f /etc/kde3/tdm/pixmaps/XFree86bw.xpm - rm -f /etc/kde3/tdm/pixmaps/XFree86.xpm - rm -f /etc/kde3/tdm/Xresources - rm -f /etc/menu-methods/tdm - ;; - - install) - ;; - - abort-upgrade) - ;; - - *) - echo "preinst called with unknown argument \`$1'" >&2 - exit 1 - ;; - -esac - -#DEBHELPER# - -exit 0 diff --git a/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.prerm b/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.prerm deleted file mode 100644 index 6c3e8fb97..000000000 --- a/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.prerm +++ /dev/null @@ -1,176 +0,0 @@ -#! /bin/sh -# prerm script for tdm-kde3 -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * `remove' -# * `upgrade' -# * `failed-upgrade' -# * `remove' `in-favour' -# * `deconfigure' `in-favour' -# `removing' -# -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - -# debconf may not be available if some massive purging is going on -HAVE_DEBCONF= -if [ -e /usr/share/debconf/confmodule ]; then - . /usr/share/debconf/confmodule - HAVE_DEBCONF=yes -fi - -case "$1" in - # we NEVER want to unconditionally stop tdm; see below - upgrade|failed-upgrade) - REMOVING= - ;; - - remove|deconfigure) - REMOVING=yes - rm -f /etc/init.d/tdm-kde3 - ;; - - *) - echo "prerm called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -STOP= -# are we supposed to restart on upgrade? if REMOVING tdm, we don't care what -# the user says, we have to stop the daemon -if grep -qs ^restart-on-upgrade /etc/kde3/tdm/tdm.options || - [ -n "$REMOVING" ]; then - # is there an tdm process running? - if start-stop-daemon --stop --quiet --signal 0 --name tdm-kde3; then - # any children? - PARENTS=$(pidof /usr/bin/tdm-kde3 || true) - CHILDREN= - if [ -n "$PARENTS" ]; then - for PROCESS in $PARENTS; do - # make sure we got numbers back - [ $PROCESS -eq $PROCESS ] 2> /dev/null || - exit - # FIXME - redo this part uses shell-lib.sh from xfree86 - # die "pidof returned non-numeric value" - # we could use grep -q here if ps would ignore SIGPIPE :-P - if (ps axj | grep "^ *$PROCESS" > /dev/null 2>&1); then - CHILDREN=yes - fi - done - if [ -n "$CHILDREN" ]; then - if [ -n "$HAVE_DEBCONF" ]; then - # ask the question - db_input high tdm/stop_running_server_with_children || true - db_go - # what did the user say? - ANSWER= - if db_get tdm/stop_running_server_with_children; then - ANSWER="$RET" - fi - if [ "$ANSWER" = "true" ]; then - STOP=yes - fi - # forget that we have seen the question; this is the sort of - # non-configuration question that should be asked every time - db_fset tdm/stop_running_server_with_children seen false - fi - else - STOP=yes - fi - fi - fi -fi - -if [ -n "$STOP" ]; then - if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then - invoke-rc.d tdm-kde3 stop || true - else - /etc/init.d/tdm-kde3 stop || true - fi -else - if [ "$1" = "upgrade" -o "$1" = "failed-upgrade" ]; then - touch /var/run/tdm-kde3.upgrade - fi -fi - -DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager - -if [ "$1" = "remove" -o "$1" = "deconfigure" ]; then - if [ -n "$HAVE_DEBCONF" ]; then - # disown this question - db_unregister shared/default-x-display-manager || true - # does the question still exist? - if db_get shared/default-x-display-manager; then - if db_metaget shared/default-x-display-manager owners; then - # FIXME - redo this part uses shell-lib.sh from xfree86 - #observe "X display managers now available are \"$OWNERS\"" - db_subst shared/default-x-display-manager choices "$RET" - fi - DEFAULT_DISPLAY_MANAGER= - if db_get shared/default-x-display-manager; then - DEFAULT_DISPLAY_MANAGER="$RET" - fi - # are we removing the currently selected display manager? - if [ -n "$DEFAULT_DISPLAY_MANAGER" ]; then - if [ "tdm-kde3" = "$DEFAULT_DISPLAY_MANAGER" ]; then - if [ -e "$DEFAULT_DISPLAY_MANAGER_FILE" ]; then - if db_get "$DEFAULT_DISPLAY_MANAGER/daemon_name"; then - # does the display manager file reference the current default? if - # so, remove it because it will now be wrong - if [ -n "$RET" ]; then - if [ "$(cat "$DEFAULT_DISPLAY_MANAGER_FILE")" = "$RET" ]; then - rm "$DEFAULT_DISPLAY_MANAGER_FILE" - fi - fi - fi - fi - # ask the user to choose a new default - db_fset shared/default-x-display-manager seen false - db_input critical shared/default-x-display-manager || true - db_go - # if the default display manager file doesn't exist, write it with - # the path to the new default display manager - if [ ! -e "$DEFAULT_DISPLAY_MANAGER_FILE" ]; then - DEFAULT_DISPLAY_MANAGER= - if db_get shared/default-x-display-manager; then - DEFAULT_DISPLAY_MANAGER="$RET" - fi - if [ -n "$DEFAULT_DISPLAY_MANAGER" ]; then - # FIXME - redo this part uses shell-lib.sh from xfree86 - #warn "new default display manager has been selected; please be" \ - # "sure to run \"dpkg-reconfigure $RET\" to ensure that it" \ - # "is configured" - DAEMON_NAME= - if db_get "$DEFAULT_DISPLAY_MANAGER"/daemon_name; then - DAEMON_NAME="$RET" - fi - if [ ! -n "$DAEMON_NAME" ]; then - # if we were unable to determine the name of the selected daemon (for - # instance, if the selected default display manager doesn't provide a - # daemon_name question), guess - DAEMON_NAME=$(which "$DEFAULT_DISPLAY_MANAGER" 2>/dev/null) - if [ ! -n "$DAEMON_NAME" ]; then - echo . - # FIXME - redo this part uses shell-lib.sh from xfree86 - #warn "unable to determine path to default X display manager" \ - # "$DEFAULT_DISPLAY_MANAGER; not updating" \ - # "$DEFAULT_DISPLAY_MANAGER_FILE" - fi - fi - if [ -n "$DAEMON_NAME" ]; then - echo "$DAEMON_NAME" > "$DEFAULT_DISPLAY_MANAGER_FILE" - fi - fi - fi - fi - fi - fi - fi -fi - -exit 0 diff --git a/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.templates b/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.templates deleted file mode 100644 index 9730af3ff..000000000 --- a/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.templates +++ /dev/null @@ -1,32 +0,0 @@ -Template: shared/default-x-display-manager -Type: select -Choices: ${choices} -_Description: Default display manager: - A display manager is a program that provides graphical login capabilities for - the X Window System. - . - Only one display manager can manage a given X server, but multiple display - manager packages are installed. Please select which display manager should - run by default. - . - Multiple display managers can run simultaneously if they are configured to - manage different servers; to achieve this, configure the display managers - accordingly, edit each of their init scripts in /etc/init.d, and disable the - check for a default display manager. - -Template: tdm-kde3/daemon_name -Type: string -Default: /opt/kde3/bin/tdm -Description: internal use only - This template is never shown to the user and does not require translation. - -Template: tdm-kde3/stop_running_server_with_children -Type: boolean -Default: false -_Description: Stop the tdm-kde3 daemon? - The K Desktop manager (tdm-kde3) daemon is typically stopped on package upgrade - and removal, but it appears to be managing at least one running X session. - . - If tdm is stopped now, any X sessions it manages will be terminated. - Otherwise, the new version will take effect the next time the daemon - is restarted. diff --git a/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.txt b/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.txt deleted file mode 100644 index edbfdd647..000000000 --- a/ubuntu/lucid_automake/kdebase/debian/kdm-kde3.txt +++ /dev/null @@ -1,189 +0,0 @@ -#!/bin/sh -### BEGIN INIT INFO -# Provides: x-display-manager tdm-kde3 -# Required-Start: $local_fs $remote_fs -# Required-Stop: $local_fs $remote_fs -# Should-Start: console-screen -# Should-Stop: console-screen -# Default-Start: 2 3 4 5 -# Default-Stop: 0 1 6 -# Short-Description: X display manager for KDE3 -# Description: TDM manages a collection of X servers, which may be on the local host or remote machines. -### END INIT INFO -# /etc/init.d/tdm-kde3: start or stop the X display manager -# Script originally stolen from the xdm package -# -# description: K Display Manager -# -set -e - -# To start tdm-kde3 even if it is not the default display manager, change -# HEED_DEFAULT_DISPLAY_MANAGER to "false." -HEED_DEFAULT_DISPLAY_MANAGER=true -DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager - -TDEDIRS=/opt/kde3/ -PATH=/opt/kde3/bin:/bin:/usr/bin:/sbin:/usr/sbin -DAEMON=/opt/kde3/bin/tdm -PIDFILE=/var/run/tdm.pid -UPGRADEFILE=/var/run/tdm.upgrade - -# parameters to support tdm customization -TDMRC=/etc/kde3/tdm/tdmrc -BACKGROUNDRC=/etc/kde3/tdm/backgroundrc - -#if configuration is changed by tdmtheme or other tools, don't do magick -if grep -q "Theme=@@@ToBeReplacedByDesktopBase@@@" ${TDMRC} && grep -q "Wallpaper=default_blue.jpg" ${BACKGROUNDRC} -then - - - -TDMOVERRIDEDIR=/etc/default/tdm-kde3.d -TDMCFGDIR=/var/run/tdm-kde3 -TDMCFG=$TDMCFGDIR/tdmrc -BACKGROUNDCFG=$TDMCFGDIR/backgroundrc - -test -x $DAEMON || exit 0 - -# uncomment, if you want auto-logon to be runlevel-dependant -#test "$runlevel" || { runlevel=`runlevel`; runlevel=${runlevel#* }; } -#test "$runlevel" = 4 && ARG=-autolog || ARG=-noautolog - -# uncomment, if you want tons of debug info in your syslog -#ARG="$ARG -debug 255" - -# we use an alternative tdm master configuration file -ARG="$ARG -config $TDMCFG" - -# we source overrides. run-parts sorts the list in a predictable order -if [ -d "$TDMOVERRIDEDIR" ]; then - for part in $(run-parts --list "$TDMOVERRIDEDIR" 2>/dev/null || true); do - . "$part" - done -fi - -# we generate tdm configuration files -gentdmconf --in $TDMCFGDIR 1> /dev/null - -# we update tdm configuration files (only overridden values) -[ -n "$USEBACKGROUND" ] && sed -i "s|^#\?UseBackground=.*|UseBackground=$USEBACKGROUND|" $TDMCFG -[ -n "$BACKGROUNDCFG" ] && sed -i "s|^#\?BackgroundCfg=.*|BackgroundCfg=$BACKGROUNDCFG|" $TDMCFG -[ -n "$USETHEME" ] && sed -i "s|^#\?UseTheme=.*|UseTheme=$USETHEME|" $TDMCFG -[ -n "$THEME" ] && sed -i "s|^#\?Theme=.*|Theme=$THEME|" $TDMCFG -[ -n "$WALLPAPER" ] && sed -i "s|^#\?Wallpaper=.*|Wallpaper=`readlink -f $WALLPAPER`|" $BACKGROUNDCFG - - -fi -# autologin overrides are useful for live debian environment -if [ -n "$AUTOLOGINUSER" ]; then - sed -i "s|^#\?AutoLoginEnable=.*|AutoLoginEnable=true|" $TDMCFG - sed -i "s|^#\?AutoLoginUser=.*|AutoLoginUser=$AUTOLOGINUSER|" $TDMCFG -fi -[ -n "$AUTOLOGINDELAY" ] && sed -i "s|^#\?AutoLoginDelay=.*|AutoLoginDelay=$AUTOLOGINDELAY|" $TDMCFG -[ -n "$AUTOLOGINAGAIN" ] && sed -i "s|^#\?AutoLoginAgain=.*|AutoLoginAgain=$AUTOLOGINAGAIN|" $TDMCFG -[ -n "$AUTOLOGINLOCKED" ] && sed -i "s|^#\?AutoLoginLocked=.*|AutoLoginLocked=$AUTOLOGINLOCKED|" $TDMCFG - -# If we upgraded the daemon, we can't use the --exec argument to -# start-stop-daemon since the inode will have changed. The risk here is that -# in a situation where the daemon died, its pidfile was not cleaned up, and -# some other process is now running under that pid, start-stop-daemon will send -# signals to an innocent process. However, this seems like a corner case. -# C'est la vie! -if [ -e $UPGRADEFILE ]; then - SSD_ARGS="--pidfile $PIDFILE --startas $DAEMON" -else - SSD_ARGS="--pidfile $PIDFILE --exec $DAEMON" -fi - -stillrunning () { - if expr "$(cat /proc/$DAEMONPID/cmdline 2> /dev/null)" : "$DAEMON" > /dev/null 2>&1; then - true - else - # if the daemon does not remove its own pidfile, we will - rm -f $PIDFILE $UPGRADEFILE - false - fi; -} - -case "$1" in - start) - if [ -e $DEFAULT_DISPLAY_MANAGER_FILE ] && - [ "$HEED_DEFAULT_DISPLAY_MANAGER" = "true" ] && - [ "$(cat $DEFAULT_DISPLAY_MANAGER_FILE)" != "$DAEMON" ]; then - echo "Not starting K Display Manager (tdm-kde3); it is not the default display manager." - else - echo -n "Starting K Display Manager: tdm-kde3" - start-stop-daemon --start --quiet $SSD_ARGS -- $ARG || echo -n " already running" - echo "." - fi - ;; - - restart) - /etc/init.d/tdm-kde3 stop - if [ -f $PIDFILE ]; then - if stillrunning; then - exit 1 - fi - fi - /etc/init.d/tdm-kde3 start - ;; - - reload) - echo -n "Reloading K Display Manager configuration..." - if start-stop-daemon --stop --signal 1 --quiet $SSD_ARGS; then - echo "done." - else - echo "tdm-kde3 not running." - fi - ;; - - force-reload) - /etc/init.d/tdm-kde3 reload - ;; - - stop) - echo -n "Stopping K Display Manager: tdm-kde3" - if [ ! -f $PIDFILE ]; then - echo " not running ($PIDFILE not found)." - exit 0 - else - DAEMONPID=$(cat $PIDFILE | tr -d '[:blank:]') - KILLCOUNT=1 - if [ ! -e $UPGRADEFILE ]; then - if start-stop-daemon --stop --quiet $SSD_ARGS; then - # give tdm's signal handler a second to catch its breath - sleep 1 - else - echo -n " not running" - fi - fi - while [ $KILLCOUNT -le 5 ]; do - if stillrunning; then - kill $DAEMONPID - else - break - fi - sleep 1 - KILLCOUNT=$(( $KILLCOUNT + 1 )) - done - if stillrunning; then - echo -n " not responding to TERM signal (pid $DAEMONPID)" - else - rm -f $UPGRADEFILE - fi - fi - echo "." - - # Launches usplash on shutdown - if ( `grep -q '\( \|^\)splash\( \|$\)' /proc/cmdline` && `which usplash_down >/dev/null` ) ; then - usplash_down - fi - ;; - - *) - echo "Usage: /etc/init.d/tdm-kde3 {start|stop|restart|reload|force-reload}" - exit 1 - ;; -esac - -exit 0 diff --git a/ubuntu/lucid_automake/kdebase/debian/local/kdm.options b/ubuntu/lucid_automake/kdebase/debian/local/kdm.options deleted file mode 100644 index 2993b7f09..000000000 --- a/ubuntu/lucid_automake/kdebase/debian/local/kdm.options +++ /dev/null @@ -1,8 +0,0 @@ -# /etc/kde3/tdm/tdm.options -# -# configuration options for tdm -# See tdm.options(5) for an explanation of the available options. - -no-ignore-nologin -no-restart-on-upgrade -use-sessreg diff --git a/ubuntu/lucid_automake/kdebase/debian/local/kdm.options.5 b/ubuntu/lucid_automake/kdebase/debian/local/kdm.options.5 deleted file mode 100644 index 36189b00a..000000000 --- a/ubuntu/lucid_automake/kdebase/debian/local/kdm.options.5 +++ /dev/null @@ -1,87 +0,0 @@ -.\" $Id: tdm.options.5,v 1.2 2004/02/27 22:45:20 ccheney Exp $ -.\" -.\" Copyright 1998, 2002, 2003 Branden Robinson . -.\" -.\" This is free software; you may redistribute it and/or modify -.\" it under the terms of the GNU General Public License as -.\" published by the Free Software Foundation; version 2. -.\" -.\" This 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 with -.\" the Debian operating system, in /usr/share/common-licenses/GPL; if -.\" not, write to the Free Software Foundation, Inc., 59 Temple Place, -.\" Suite 330, Boston, MA 02111-1307 USA -.TH tdm.options 5 "2003\-09\-18" "Debian Project" -.SH NAME -tdm.options \- configuration options for X display manager -.SH DESCRIPTION -.I /etc/kde3/tdm/tdm.options -contains a set of flags that determine some of the behavior of the -X display manager -.BR tdm (1). -.PP -.I /etc/kde3/tdm/tdm.options -may contain comments, which begin with a hash mark and end at the next -newline, just like comments in shell scripts. The rest of the file -consists of options which are expressed as words separated by hyphens, with -only one option per line. If an option is present with the \(oqno\-\(cq -prefix, or absent, it is disabled, otherwise it is considered enabled. -.PP -Available options are: -.TP -.B ignore\-nologin -Normally, the contents of the /etc/nologin file will be displayed using -.BR xmessage (1x) -(if -.B xmessage -is available), and the user will be returned to the tdm login screen after -the xmessage is dismissed. If this option is enabled, tdm starts a session -as usual (after the xmessage is dismissed, if xmessage is available). -.TP -.B restart\-on\-upgrade -Enable this option with caution on \(oqproduction\(cq machines; it causes -the tdm daemon to be stopped and restarted on upgrade, even if the process -has children (which means it is managing X sessions). Typically when a -package that contains a daemon is being installed or upgraded, its -maintainer scripts stop a running daemon process before installing the new -binary, and restart it after the new binary is installed. Stopping tdm -causes immediate termination of any sessions it manages; in some situations -this could be an unwelcome surprise (for instance, for remote tdm users who -had no idea the administrator was performing system maintenance). On the -other hand, for machines that stay up for long periods of time, leaving the -old daemon running can be a bad idea if the new version has, for instance, -a fix for a security vulnerability (overwriting tdm's executable on the -file system has no effect on the copy of tdm in memory). The tdm -pre\-removal script checks to see if the tdm process has any children; if -it does, it is possible that someone's session would be killed by stopping -tdm, so a warning is issued and an opportunity to abort the upgrade of tdm -is provided. If this option is disabled (the Debian default), tdm will be -not be stopped or started during an install or upgrade; the administrator -will have to do so by hand (with \(oq/etc/init.d/tdm restart\(cq, or by -rebooting the system) before the newly installed tdm binary is used. -.TP -.B use\-sessreg -If this option is enabled (the Debian default), the sessreg program will be -invoked to register X sessions managed by tdm in the utmp and wtmp files. -Otherwise, it is not, and the utmp and wtmp files will have no record of -tdm sessions. -.PP -Users of older versions of the Debian system should note that the -\(oqrun\-xconsole\(cq option has been removed. Shell scripts named -.I /etc/kde3/tdm/Xsetup -and -.I /etc/kde3/tdm/Xreset -can be edited to disable or modify the running of xconsole on the tdm -greeter screen; see the -.B tdm -manual page for more information. -.SH AUTHOR -This manpage was written by Branden Robinson for the Debian Project. -.SH SEE ALSO -.BR sessreg (1x), -.BR xmessage (1x), -.BR tdm (1x) diff --git a/ubuntu/lucid_automake/kdebase/debian/local/tdm.options b/ubuntu/lucid_automake/kdebase/debian/local/tdm.options new file mode 100644 index 000000000..2993b7f09 --- /dev/null +++ b/ubuntu/lucid_automake/kdebase/debian/local/tdm.options @@ -0,0 +1,8 @@ +# /etc/kde3/tdm/tdm.options +# +# configuration options for tdm +# See tdm.options(5) for an explanation of the available options. + +no-ignore-nologin +no-restart-on-upgrade +use-sessreg diff --git a/ubuntu/lucid_automake/kdebase/debian/local/tdm.options.5 b/ubuntu/lucid_automake/kdebase/debian/local/tdm.options.5 new file mode 100644 index 000000000..36189b00a --- /dev/null +++ b/ubuntu/lucid_automake/kdebase/debian/local/tdm.options.5 @@ -0,0 +1,87 @@ +.\" $Id: tdm.options.5,v 1.2 2004/02/27 22:45:20 ccheney Exp $ +.\" +.\" Copyright 1998, 2002, 2003 Branden Robinson . +.\" +.\" This is free software; you may redistribute it and/or modify +.\" it under the terms of the GNU General Public License as +.\" published by the Free Software Foundation; version 2. +.\" +.\" This 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 with +.\" the Debian operating system, in /usr/share/common-licenses/GPL; if +.\" not, write to the Free Software Foundation, Inc., 59 Temple Place, +.\" Suite 330, Boston, MA 02111-1307 USA +.TH tdm.options 5 "2003\-09\-18" "Debian Project" +.SH NAME +tdm.options \- configuration options for X display manager +.SH DESCRIPTION +.I /etc/kde3/tdm/tdm.options +contains a set of flags that determine some of the behavior of the +X display manager +.BR tdm (1). +.PP +.I /etc/kde3/tdm/tdm.options +may contain comments, which begin with a hash mark and end at the next +newline, just like comments in shell scripts. The rest of the file +consists of options which are expressed as words separated by hyphens, with +only one option per line. If an option is present with the \(oqno\-\(cq +prefix, or absent, it is disabled, otherwise it is considered enabled. +.PP +Available options are: +.TP +.B ignore\-nologin +Normally, the contents of the /etc/nologin file will be displayed using +.BR xmessage (1x) +(if +.B xmessage +is available), and the user will be returned to the tdm login screen after +the xmessage is dismissed. If this option is enabled, tdm starts a session +as usual (after the xmessage is dismissed, if xmessage is available). +.TP +.B restart\-on\-upgrade +Enable this option with caution on \(oqproduction\(cq machines; it causes +the tdm daemon to be stopped and restarted on upgrade, even if the process +has children (which means it is managing X sessions). Typically when a +package that contains a daemon is being installed or upgraded, its +maintainer scripts stop a running daemon process before installing the new +binary, and restart it after the new binary is installed. Stopping tdm +causes immediate termination of any sessions it manages; in some situations +this could be an unwelcome surprise (for instance, for remote tdm users who +had no idea the administrator was performing system maintenance). On the +other hand, for machines that stay up for long periods of time, leaving the +old daemon running can be a bad idea if the new version has, for instance, +a fix for a security vulnerability (overwriting tdm's executable on the +file system has no effect on the copy of tdm in memory). The tdm +pre\-removal script checks to see if the tdm process has any children; if +it does, it is possible that someone's session would be killed by stopping +tdm, so a warning is issued and an opportunity to abort the upgrade of tdm +is provided. If this option is disabled (the Debian default), tdm will be +not be stopped or started during an install or upgrade; the administrator +will have to do so by hand (with \(oq/etc/init.d/tdm restart\(cq, or by +rebooting the system) before the newly installed tdm binary is used. +.TP +.B use\-sessreg +If this option is enabled (the Debian default), the sessreg program will be +invoked to register X sessions managed by tdm in the utmp and wtmp files. +Otherwise, it is not, and the utmp and wtmp files will have no record of +tdm sessions. +.PP +Users of older versions of the Debian system should note that the +\(oqrun\-xconsole\(cq option has been removed. Shell scripts named +.I /etc/kde3/tdm/Xsetup +and +.I /etc/kde3/tdm/Xreset +can be edited to disable or modify the running of xconsole on the tdm +greeter screen; see the +.B tdm +manual page for more information. +.SH AUTHOR +This manpage was written by Branden Robinson for the Debian Project. +.SH SEE ALSO +.BR sessreg (1x), +.BR xmessage (1x), +.BR tdm (1x) diff --git a/ubuntu/lucid_automake/kdebase/debian/man/genkdmconf-kde3.1 b/ubuntu/lucid_automake/kdebase/debian/man/genkdmconf-kde3.1 deleted file mode 100644 index fe759bed4..000000000 --- a/ubuntu/lucid_automake/kdebase/debian/man/genkdmconf-kde3.1 +++ /dev/null @@ -1,91 +0,0 @@ -.\" This file was generated by (a slightly modified) kdemangen.pl and edited by hand -.TH GENTDMCONF 1 "June 2006" "K Desktop Environment" "generate configuration files for tdm" -.SH NAME -gentdmconf -\- generate configuration files for tdm -.SH SYNOPSIS -\fBgentdmconf\fP -.RB [ \-\-in -.IR /path/to/new/tdm\-config\-dir ] -.RS 11 -.RB [ \-\-old\-xdm -.IR /path/to/old/xdm\-dir ] -.br -.RB [ \-\-old\-kde -.IR /path/to/old/kde\-config\-dir ] -.br -.RB [ \-\-no\-old ] -.RB [ \-\-no\-old\-xdm ] -.RB [ \-\-no\-old\-kde ] -.RB [ \-\-old\-scripts ] -.br -.RB [ \-\-no\-old\-scripts ] -.RB [ \-\-old\-confs ] -.RB [ \-\-no\-backup ] -.br -.RB [ \-\-no\-in\-notice ] -.RE - -.SH DESCRIPTION -\fBgentdmconf\fP is used to generate configuration files for \fBtdm\fP. -.br -If an older xdm/tdm configuration is found, its config files are "absorbed"; -if it lives in the new target directory, its scripts are reused (and possibly -modified) as well, otherwise the scripts are ignored and default scripts are -installed. -.SH OPTIONS -.TP -.BI \-\-in \ /path/to/new/tdm\-config\-dir -In which directory to put the new configuration. You can use this to support a $(DESTDIR), but not to change the final location of the installation \- the paths inside the files are not affected. -.br -Default is \fI/etc/kde3/tdm\fP. -.TP -.BI \-\-old\-xdm \ /path/to/old/xdm\-dir -Where to look for the config files of an \fBxdm\fP / older \fBtdm\fP. Default is to scan -.IR /etc/X11/tdm , \ $XLIBDIR/tdm , \ /etc/X11/xdm , \ $XLIBDIR/xdm ; -there in turn look for \fItdm\-config\fP and \fIxdm\-config\fP. -.br -Note that you possibly need to use \fB\-\-no\-old\-kde\fP to make this take effect. -.TP -.BI \-\-old\-kde \ /path/to/old/kde\-config\-dir -Where to look for the \fItdmrc\fP of an older \fBtdm\fP. -.br -.RI Default\ is\ to\ scan\ /etc/kde3 \ and\ { /usr,/usr/local , -.RI { /opt,/usr/local }{ kde3,kde,kde2,kde1 }} /share/config . -.TP -.B \-\-no\-old -Don't look at older xdm/tdm configurations, just create default config. -.TP -.B \-\-no\-old\-xdm -Don't look at older xdm configurations. -.TP -.B \-\-no\-old\-kde -Don't look at older tdm configurations. -.TP -.B \-\-old\-scripts -Directly use all scripts from the older xdm/tdm configuration. -.TP -.B \-\-no\-old\-scripts -Don't use scripts from the older xdm/tdm configuration even if it lives in the new target directory. -.TP -.B \-\-old\-confs -Directly use all ancillary config files from the older xdm/tdm configuration. This is usually a bad idea. -.TP -.B \-\-no\-backup -Overwrite/delete old config files instead of backing them up. -.TP -.B \-\-no\-in\-notice -Don't put the notice about \fB\-\-in\fP being used into the generated README. -.SH SEE ALSO -.BR tdm (1) -.SH AUTHORS -.nf -Oswald Buddenhagen - -.br -.fi -Please use http://bugs.kde.org to report bugs; do not mail the author directly. -.PP -This manual page was written by Holger Hartmann for the Debian Project, but may be used by others. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation. -.PP -On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common\-licenses/GPL. diff --git a/ubuntu/lucid_automake/kdebase/debian/man/gentdmconf-kde3.1 b/ubuntu/lucid_automake/kdebase/debian/man/gentdmconf-kde3.1 new file mode 100644 index 000000000..fe759bed4 --- /dev/null +++ b/ubuntu/lucid_automake/kdebase/debian/man/gentdmconf-kde3.1 @@ -0,0 +1,91 @@ +.\" This file was generated by (a slightly modified) kdemangen.pl and edited by hand +.TH GENTDMCONF 1 "June 2006" "K Desktop Environment" "generate configuration files for tdm" +.SH NAME +gentdmconf +\- generate configuration files for tdm +.SH SYNOPSIS +\fBgentdmconf\fP +.RB [ \-\-in +.IR /path/to/new/tdm\-config\-dir ] +.RS 11 +.RB [ \-\-old\-xdm +.IR /path/to/old/xdm\-dir ] +.br +.RB [ \-\-old\-kde +.IR /path/to/old/kde\-config\-dir ] +.br +.RB [ \-\-no\-old ] +.RB [ \-\-no\-old\-xdm ] +.RB [ \-\-no\-old\-kde ] +.RB [ \-\-old\-scripts ] +.br +.RB [ \-\-no\-old\-scripts ] +.RB [ \-\-old\-confs ] +.RB [ \-\-no\-backup ] +.br +.RB [ \-\-no\-in\-notice ] +.RE + +.SH DESCRIPTION +\fBgentdmconf\fP is used to generate configuration files for \fBtdm\fP. +.br +If an older xdm/tdm configuration is found, its config files are "absorbed"; +if it lives in the new target directory, its scripts are reused (and possibly +modified) as well, otherwise the scripts are ignored and default scripts are +installed. +.SH OPTIONS +.TP +.BI \-\-in \ /path/to/new/tdm\-config\-dir +In which directory to put the new configuration. You can use this to support a $(DESTDIR), but not to change the final location of the installation \- the paths inside the files are not affected. +.br +Default is \fI/etc/kde3/tdm\fP. +.TP +.BI \-\-old\-xdm \ /path/to/old/xdm\-dir +Where to look for the config files of an \fBxdm\fP / older \fBtdm\fP. Default is to scan +.IR /etc/X11/tdm , \ $XLIBDIR/tdm , \ /etc/X11/xdm , \ $XLIBDIR/xdm ; +there in turn look for \fItdm\-config\fP and \fIxdm\-config\fP. +.br +Note that you possibly need to use \fB\-\-no\-old\-kde\fP to make this take effect. +.TP +.BI \-\-old\-kde \ /path/to/old/kde\-config\-dir +Where to look for the \fItdmrc\fP of an older \fBtdm\fP. +.br +.RI Default\ is\ to\ scan\ /etc/kde3 \ and\ { /usr,/usr/local , +.RI { /opt,/usr/local }{ kde3,kde,kde2,kde1 }} /share/config . +.TP +.B \-\-no\-old +Don't look at older xdm/tdm configurations, just create default config. +.TP +.B \-\-no\-old\-xdm +Don't look at older xdm configurations. +.TP +.B \-\-no\-old\-kde +Don't look at older tdm configurations. +.TP +.B \-\-old\-scripts +Directly use all scripts from the older xdm/tdm configuration. +.TP +.B \-\-no\-old\-scripts +Don't use scripts from the older xdm/tdm configuration even if it lives in the new target directory. +.TP +.B \-\-old\-confs +Directly use all ancillary config files from the older xdm/tdm configuration. This is usually a bad idea. +.TP +.B \-\-no\-backup +Overwrite/delete old config files instead of backing them up. +.TP +.B \-\-no\-in\-notice +Don't put the notice about \fB\-\-in\fP being used into the generated README. +.SH SEE ALSO +.BR tdm (1) +.SH AUTHORS +.nf +Oswald Buddenhagen + +.br +.fi +Please use http://bugs.kde.org to report bugs; do not mail the author directly. +.PP +This manual page was written by Holger Hartmann for the Debian Project, but may be used by others. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation. +.PP +On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common\-licenses/GPL. diff --git a/ubuntu/lucid_automake/kdebase/debian/man/kdm-kde3.1 b/ubuntu/lucid_automake/kdebase/debian/man/kdm-kde3.1 deleted file mode 100644 index d7eb868fa..000000000 --- a/ubuntu/lucid_automake/kdebase/debian/man/kdm-kde3.1 +++ /dev/null @@ -1,116 +0,0 @@ -.\" This file was generated by (a slightly modified) kdemangen.pl and edited by hand -.TH TDM 1 "June 2006" "K Desktop Environment" "KDE Display Manager" -.SH NAME -tdm -\- KDE Display Manager -.SH SYNOPSIS -\fBtdm\fP [options] [tty] -.SH DESCRIPTION -\fBtdm\fP is the KDE display manager also known as login manager. It shows a graphical login screen for username and password. After authenticating the user it starts a session. -.br -\fBtdm\fP can be configured for remote login via XDMCP. XDMCP is the "X Display Manager Control Protocol" which is used to set up connections between remote systems over the network. -.sp 1 -\fBtdm\fP is a derivative of \fBxdm\fP. \fBman 1 xdm\fP may provide useful information (requires installed \fBxdm\fP). For X-related problems try \fBman 7x X\fP and \fBman 1 startx\fP. -.SH OPTIONS -.TP -.B \-daemon -Daemonize even when started by init -.TP -.B \-nodaemon -Don't daemonize even when started from command line -.TP -.BI \-config\ file -Use alternative master configuration file -.TP -.BR \-xrm \ res -Override frontend\-specific resource -.TP -.BI \-error\ file -Use alternative log file -.TP -.BR \-debug \ num -Debug option bitfield: -.RS 11 -0x1 \- core log -.br -0x2 \- config reader log -.br -0x4 \- greeter log -.br -0x8 \- IPC log -.br -0x10 \- session sub-daemon post-fork delay -.br -0x20 \- config reader post-start delay -.br -0x40 \- greeter post-start delay -.br -0x80 \- don't use syslog -.br -0x100 \- core Xauth log -.br -0x400 \- valgrind config reader and greeter -.br -0x800 \- strace config reader and greeter -.RE -.SH FILES -.TP -.I /etc/kde3/tdm/backgroundrc -configuration file with background settings -.TP -.I /etc/kde3/tdm/tdm.options -options for X display manager tdm -.TP -.I /etc/kde3/tdm/tdmrc -the tdm configuration file -.TP -.I /etc/kde3/tdm/Xaccess -access control file for XDMCP connections -.TP -.I /etc/kde3/tdm/Xservers -list of local X-servers -.TP -.I /etc/kde3/tdm/Xreset -script to run as root after session exits -.TP -.I /etc/kde3/tdm/Xsession -script to run as user after login of user -.TP -.I /etc/kde3/tdm/Xsetup -script to run as root before the login dialog appears -.sp 1 -this script can be edited to disable or modify the running of \fBxconsole\fP on the tdm greeter screen -.TP -.I /etc/kde3/tdm/Xstartup -script to run as root before session starts -.TP -.I /etc/kde3/tdm/Xwilling -output of this script is displayed in the chooser window -.SH SEE ALSO -.BR tdm.options (5),\ tdmctl (1),\ tdm_config (1),\ tdm_greet (1),\ startx (1),\ X (7x),\ xconsole (1),\ xdm (1) -.TP -.I /opt/kde3/share/doc/tdm/README.gz -Information about \fBtdm\fP and its options -.sp 1 -.RE -Full user documentation is available through the KDE Help Center. You can also enter the URL -.BR help:/tdm/ -directly into konqueror or you can run -.BR "khelpcenter help:/tdm/" -from the command\-line. -.br -.SH AUTHORS -.nf -Steffen Hansen -.br -Thomas Tanghus -.br -Oswald Buddenhagen - -.br -.fi -Please use http://bugs.kde.org to report bugs; do not mail the authors directly. -.PP -This manual page was written by Holger Hartmann for the Debian Project, but may be used by others. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation. -.PP -On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common\-licenses/GPL. diff --git a/ubuntu/lucid_automake/kdebase/debian/man/kdm_config-kde3.1 b/ubuntu/lucid_automake/kdebase/debian/man/kdm_config-kde3.1 deleted file mode 100644 index d9325214a..000000000 --- a/ubuntu/lucid_automake/kdebase/debian/man/kdm_config-kde3.1 +++ /dev/null @@ -1,22 +0,0 @@ -.\" This file was generated by (a slightly modified) kdemangen.pl and edited by hand -.TH TDM_CONFIG 1 "June 2006" "K Desktop Environment" "helper program" -.SH NAME -tdm_config -\- helper programm for tdm to read configuration files -.SH SYNOPSIS -\fBtdm_config\fP -.SH DESCRIPTION -\fBtdm_config\fP is a helper program for \fBtdm\fP to read configuration files. -.SH SEE ALSO -\fBtdm\fP(1) -.SH AUTHORS -.nf -Oswald Buddenhagen - -.br -.fi -Please use http://bugs.kde.org to report bugs; do not mail the author directly. -.PP -This manual page was written by Holger Hartmann for the Debian Project, but may be used by others. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation. -.PP -On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common\-licenses/GPL. diff --git a/ubuntu/lucid_automake/kdebase/debian/man/kdm_greet-kde3.1 b/ubuntu/lucid_automake/kdebase/debian/man/kdm_greet-kde3.1 deleted file mode 100644 index c33f57d5f..000000000 --- a/ubuntu/lucid_automake/kdebase/debian/man/kdm_greet-kde3.1 +++ /dev/null @@ -1,22 +0,0 @@ -.\" This file was generated by (a slightly modified) kdemangen.pl and edited by hand -.TH TDM_GREET 1 "June 2006" "K Desktop Environment" "KDE greeter module" -.SH NAME -tdm_greet -\- KDE greeter module for tdm -.SH SYNOPSIS -\fBtdm_greet\fP -.SH DESCRIPTION -\fBtdm_greet\fP is a KDE greeter module for \fBtdm\fP. It shows the login dialog. -.SH SEE ALSO -.BR tdm (1) -.SH AUTHORS -.nf -Oswald Buddenhagen - -.br -.fi -Please use http://bugs.kde.org to report bugs; do not mail the author directly. -.PP -This manual page was written by Holger Hartmann for the Debian Project, but may be used by others. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation. -.PP -On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common\-licenses/GPL. diff --git a/ubuntu/lucid_automake/kdebase/debian/man/kdmctl-kde3.1 b/ubuntu/lucid_automake/kdebase/debian/man/kdmctl-kde3.1 deleted file mode 100644 index 9833845bf..000000000 --- a/ubuntu/lucid_automake/kdebase/debian/man/kdmctl-kde3.1 +++ /dev/null @@ -1,220 +0,0 @@ -.\" This file was generated by (a slightly modified) kdemangen.pl and edited by hand -.TH TDMCTL 1 "June 2006" "K Desktop Environment" "TDM remote control application" -.SH NAME -tdmctl -\- tdm remote control application -.SH SYNOPSIS -\fBtdmctl\fP [options] [command [command arguments]] -.SH DESCRIPTION -\fBtdmctl\fP is an application to remote\-control \fBtdm\fP. It makes use of UNIX domain sockets. -.sp 1 -There are two types of sockets: the global one (dmctl) and the per\-display ones (dmctl\-). The global one's subdir is owned by root, the subdirs of the per\-display ones' are owned by the user currently owning the session (root or the logged in user). -.sp 1 -The directory in which the sockets are located is determined this way: -.RS 3 -\- the \fB\-s\fP option is examined -.br -\- the $DM_CONTROL variable is examined -.br -\- the tdm config file is searched for the FifoDir key -.br -.RI \- /var/run/xdmctl \ and\ /var/run \ are\ tried -.RE -.sp 1 -If $DISPLAY is set (or \fB\-d\fP was specified) and \fB\-g\fP was not specified, the -display\-specific control socket will be used, otherwise the global one. -.sp 1 -Tokens in the command and the reply are tab\-separated. -Command arguments can be specified as separate command line parameters, -in which case they are simply concatenated with tabs in between. -.sp 1 -If the command is '\-', \fBtdmctl\fP reads commands from stdin. -The default command is 'caps'. -.SH OPTIONS -.SS -.SS Options: -.TP -.B \-h \-help -print help message. -.TP -.B \-g \-global -Use global control socket even if $DISPLAY is set -.TP -.B \-d \-display -Override $DISPLAY -.TP -.B \-s \-sockets -Override $DM_CONTROL -.TP -.B \-c \-config -Use alternative tdm config file -.SS Commands: -.br -.SS Global commands: -.TP -.B login -display (now|schedule) user password [session_arguments] -.br - login user at specified display. if "now" is specified, a possibly running session is killed, otherwise the login is done after the session exits. -.br -session_arguments are printf\-like escaped contents for \fI.dmrc\fP. Unlisted keys will default to previously saved values. -.SS Per\-display commands: -.TP -.B lock -The display is marked as locked. If the X\-Server crashes in this state, no auto\-relogin will be performed even if the option is on. -.TP -.B unlock -Reverse the effect of "lock": re\-enable auto\-relogin. -.TP -.B suicide -The currently running session is forcibly terminated. No auto\-relogin is attempted, but a scheduled "login" command will be executed. -.SS Commands for all sockets: -.TP -.B caps -Returns a list of this socket's capabilities: -.IP " \- tdm" -identifies tdm, in case some other DM implements this protocol, too. -.IP " \- list, activate, lock, suicide, login" -the respective command is supported. -.IP " \- bootoptions" -the "listbootoptions" command and the "=" option to "shutdown" are supported. -.IP " \- shutdown " -"shutdown" is supported and allowed to the listed users (comma\-separated). "*" means all authenticated users. -.IP " \- shutdown" -"shutdown" is supported and allowed to everybody. -.IP " \- nuke " -forced shutdown is allowed to the listed users. -.IP " \- nuke" -forced shutdown is allowed to everybody. -.IP " \- reserve " -reserve displays are configured and are available at this time. -.TP -\fBlist\fP [all|alllocal] -.br -Return a list of running sessions. By default all active sessions are listed. If "all" is specified, passive sessions are listed as well. If "alllocal" is specified, passive sessions are listed as well, but all incoming remote sessions are skipped. -.sp 1 -Each session entry is a comma\-separated tuple of: -.RS 7 -\- Display or TTY name -.br -\- VT name for local sessions -.br -\- Logged in user's name, empty for passive sessions and outgoing -.br - remote sessions (local chooser mode) -.br -\- Session type or remote host for outgoing remote sessions, -.br - empty for passive sessions -.br -\- A flag field: -.RS 5 -\- "t" for tty sessions -.br -\- "*" for the display belonging to the requesting socket -.br -\- "!" for sessions that cannot be killed by the requesting -.br - socket -.br -\- New flags might be added later -.br -.RE -\- New fields might be added later -.RE -.TP -\fBreserve\fP [timeout in seconds] -.br -Start a reserve login screen. If nobody logs in within the specified amount of time (one minute by default), the display is removed again. When the session on the display exits, the display is removed, too. -.br -Permitted only on sockets of local displays and the global socket. -.TP -\fBactivate\fP (vt|display) -.br -Switch to a particular VT (virtual terminal). The VT may be specified either directly (e.g., vt3) or by a display using it (e.g., :2). -.br -Permitted only on sockets of local displays and the global socket. -.TP -.B listbootoptions -List available boot options. -.br -=> "ok" list default current default and current are indices into the list and are \-1 if unset or undeterminable. -.TP -\fBshutdown\fP (reboot|halt) [=bootchoice] -.br - (ask|trynow|forcenow|schedule|start -.br - (\-1|end (force|forcemy|cancel))) -.br -.RS 7 -Request a system shutdown, either a reboot or a halt/poweroff. -.sp 1 -An OS choice for the next boot may be specified from the list returned by "listbootoptions". -.sp 1 -Shutdowns requested from per\-display sockets are executed when the current session on that display exits. Such a request may pop up a dialog asking for confirmation and/or authentication. -.sp 1 -start is the time for which the shutdown is scheduled. If it starts with a plus\-sign, the current time is added. Zero means immediately. -.sp 1 -end is the latest time at which the shutdown should be performed if active sessions are still running. If it starts with a plus\-sign, the start time is added. Minus one means wait infinitely. If end is through and active sessions are still running, \fBTDM\fP can do one of the following: -.RS 3 -- "cancel" \- give up the shutdown. -.br -- "force" \- shut down nonetheless. -.br -- "forcemy" \- shut down nonetheless if all active sessions -.br - belong to the requesting user. Only for per\-display sockets. -.RE -.sp 1 -start and end are specified in seconds since the UNIX epoch. -.sp 1 -"trynow" is a synonym for "0 0 cancel", "forcenow" for "0 0 force" and "schedule" for "0 \-1". -.sp 1 -"ask" attempts an immediate shutdown and interacts with the user if active sessions are still running. Only for per\-display sockets. -.RE -.TP -\fBshutdown cancel\fP [local|global] -.br -Cancel a scheduled shutdown. The global socket always cancels the currently pending shutdown, while per\-display sockets default to cancelling their queued request. -.TP -\fBshutdown status\fP -Return a list with information about shutdowns. -.br -The entries are comma\-separated tuples of: -.RS 10 -\- ("global"|"local") \- pending vs. queued shutdown. A local -.br - entry can be returned only by a per\-display socket. -.br -\- ("halt"|"reboot") -.br -\- start -.br -\- end -.br -\- ("ask"|"force"|"forcemy"|"cancel") -.br -\- Numeric user ID of the requesting user, \-1 for the global -.br - socket. -.br -\- The next boot OS choice or "\-" for none. -.br -\- New fields might be added later. -.RE -.SH SEE ALSO -.BR tdm (1) -.TP -.I /opt/kde3/share/doc/tdm/README.gz -Information about the command sockets (and \fBtdm\fP) -.SH AUTHORS -.nf -Oswald Buddenhagen - -.br -.fi -Please use http://bugs.kde.org to report bugs; do not mail the authors directly. -.PP -This manual page was written by Holger Hartmann for the Debian Project (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation. -.PP -On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common\-licenses/GPL. diff --git a/ubuntu/lucid_automake/kdebase/debian/man/tdm-kde3.1 b/ubuntu/lucid_automake/kdebase/debian/man/tdm-kde3.1 new file mode 100644 index 000000000..d7eb868fa --- /dev/null +++ b/ubuntu/lucid_automake/kdebase/debian/man/tdm-kde3.1 @@ -0,0 +1,116 @@ +.\" This file was generated by (a slightly modified) kdemangen.pl and edited by hand +.TH TDM 1 "June 2006" "K Desktop Environment" "KDE Display Manager" +.SH NAME +tdm +\- KDE Display Manager +.SH SYNOPSIS +\fBtdm\fP [options] [tty] +.SH DESCRIPTION +\fBtdm\fP is the KDE display manager also known as login manager. It shows a graphical login screen for username and password. After authenticating the user it starts a session. +.br +\fBtdm\fP can be configured for remote login via XDMCP. XDMCP is the "X Display Manager Control Protocol" which is used to set up connections between remote systems over the network. +.sp 1 +\fBtdm\fP is a derivative of \fBxdm\fP. \fBman 1 xdm\fP may provide useful information (requires installed \fBxdm\fP). For X-related problems try \fBman 7x X\fP and \fBman 1 startx\fP. +.SH OPTIONS +.TP +.B \-daemon +Daemonize even when started by init +.TP +.B \-nodaemon +Don't daemonize even when started from command line +.TP +.BI \-config\ file +Use alternative master configuration file +.TP +.BR \-xrm \ res +Override frontend\-specific resource +.TP +.BI \-error\ file +Use alternative log file +.TP +.BR \-debug \ num +Debug option bitfield: +.RS 11 +0x1 \- core log +.br +0x2 \- config reader log +.br +0x4 \- greeter log +.br +0x8 \- IPC log +.br +0x10 \- session sub-daemon post-fork delay +.br +0x20 \- config reader post-start delay +.br +0x40 \- greeter post-start delay +.br +0x80 \- don't use syslog +.br +0x100 \- core Xauth log +.br +0x400 \- valgrind config reader and greeter +.br +0x800 \- strace config reader and greeter +.RE +.SH FILES +.TP +.I /etc/kde3/tdm/backgroundrc +configuration file with background settings +.TP +.I /etc/kde3/tdm/tdm.options +options for X display manager tdm +.TP +.I /etc/kde3/tdm/tdmrc +the tdm configuration file +.TP +.I /etc/kde3/tdm/Xaccess +access control file for XDMCP connections +.TP +.I /etc/kde3/tdm/Xservers +list of local X-servers +.TP +.I /etc/kde3/tdm/Xreset +script to run as root after session exits +.TP +.I /etc/kde3/tdm/Xsession +script to run as user after login of user +.TP +.I /etc/kde3/tdm/Xsetup +script to run as root before the login dialog appears +.sp 1 +this script can be edited to disable or modify the running of \fBxconsole\fP on the tdm greeter screen +.TP +.I /etc/kde3/tdm/Xstartup +script to run as root before session starts +.TP +.I /etc/kde3/tdm/Xwilling +output of this script is displayed in the chooser window +.SH SEE ALSO +.BR tdm.options (5),\ tdmctl (1),\ tdm_config (1),\ tdm_greet (1),\ startx (1),\ X (7x),\ xconsole (1),\ xdm (1) +.TP +.I /opt/kde3/share/doc/tdm/README.gz +Information about \fBtdm\fP and its options +.sp 1 +.RE +Full user documentation is available through the KDE Help Center. You can also enter the URL +.BR help:/tdm/ +directly into konqueror or you can run +.BR "khelpcenter help:/tdm/" +from the command\-line. +.br +.SH AUTHORS +.nf +Steffen Hansen +.br +Thomas Tanghus +.br +Oswald Buddenhagen + +.br +.fi +Please use http://bugs.kde.org to report bugs; do not mail the authors directly. +.PP +This manual page was written by Holger Hartmann for the Debian Project, but may be used by others. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation. +.PP +On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common\-licenses/GPL. diff --git a/ubuntu/lucid_automake/kdebase/debian/man/tdm_config-kde3.1 b/ubuntu/lucid_automake/kdebase/debian/man/tdm_config-kde3.1 new file mode 100644 index 000000000..d9325214a --- /dev/null +++ b/ubuntu/lucid_automake/kdebase/debian/man/tdm_config-kde3.1 @@ -0,0 +1,22 @@ +.\" This file was generated by (a slightly modified) kdemangen.pl and edited by hand +.TH TDM_CONFIG 1 "June 2006" "K Desktop Environment" "helper program" +.SH NAME +tdm_config +\- helper programm for tdm to read configuration files +.SH SYNOPSIS +\fBtdm_config\fP +.SH DESCRIPTION +\fBtdm_config\fP is a helper program for \fBtdm\fP to read configuration files. +.SH SEE ALSO +\fBtdm\fP(1) +.SH AUTHORS +.nf +Oswald Buddenhagen + +.br +.fi +Please use http://bugs.kde.org to report bugs; do not mail the author directly. +.PP +This manual page was written by Holger Hartmann for the Debian Project, but may be used by others. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation. +.PP +On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common\-licenses/GPL. diff --git a/ubuntu/lucid_automake/kdebase/debian/man/tdm_greet-kde3.1 b/ubuntu/lucid_automake/kdebase/debian/man/tdm_greet-kde3.1 new file mode 100644 index 000000000..c33f57d5f --- /dev/null +++ b/ubuntu/lucid_automake/kdebase/debian/man/tdm_greet-kde3.1 @@ -0,0 +1,22 @@ +.\" This file was generated by (a slightly modified) kdemangen.pl and edited by hand +.TH TDM_GREET 1 "June 2006" "K Desktop Environment" "KDE greeter module" +.SH NAME +tdm_greet +\- KDE greeter module for tdm +.SH SYNOPSIS +\fBtdm_greet\fP +.SH DESCRIPTION +\fBtdm_greet\fP is a KDE greeter module for \fBtdm\fP. It shows the login dialog. +.SH SEE ALSO +.BR tdm (1) +.SH AUTHORS +.nf +Oswald Buddenhagen + +.br +.fi +Please use http://bugs.kde.org to report bugs; do not mail the author directly. +.PP +This manual page was written by Holger Hartmann for the Debian Project, but may be used by others. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation. +.PP +On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common\-licenses/GPL. diff --git a/ubuntu/lucid_automake/kdebase/debian/man/tdmctl-kde3.1 b/ubuntu/lucid_automake/kdebase/debian/man/tdmctl-kde3.1 new file mode 100644 index 000000000..9833845bf --- /dev/null +++ b/ubuntu/lucid_automake/kdebase/debian/man/tdmctl-kde3.1 @@ -0,0 +1,220 @@ +.\" This file was generated by (a slightly modified) kdemangen.pl and edited by hand +.TH TDMCTL 1 "June 2006" "K Desktop Environment" "TDM remote control application" +.SH NAME +tdmctl +\- tdm remote control application +.SH SYNOPSIS +\fBtdmctl\fP [options] [command [command arguments]] +.SH DESCRIPTION +\fBtdmctl\fP is an application to remote\-control \fBtdm\fP. It makes use of UNIX domain sockets. +.sp 1 +There are two types of sockets: the global one (dmctl) and the per\-display ones (dmctl\-). The global one's subdir is owned by root, the subdirs of the per\-display ones' are owned by the user currently owning the session (root or the logged in user). +.sp 1 +The directory in which the sockets are located is determined this way: +.RS 3 +\- the \fB\-s\fP option is examined +.br +\- the $DM_CONTROL variable is examined +.br +\- the tdm config file is searched for the FifoDir key +.br +.RI \- /var/run/xdmctl \ and\ /var/run \ are\ tried +.RE +.sp 1 +If $DISPLAY is set (or \fB\-d\fP was specified) and \fB\-g\fP was not specified, the +display\-specific control socket will be used, otherwise the global one. +.sp 1 +Tokens in the command and the reply are tab\-separated. +Command arguments can be specified as separate command line parameters, +in which case they are simply concatenated with tabs in between. +.sp 1 +If the command is '\-', \fBtdmctl\fP reads commands from stdin. +The default command is 'caps'. +.SH OPTIONS +.SS +.SS Options: +.TP +.B \-h \-help +print help message. +.TP +.B \-g \-global +Use global control socket even if $DISPLAY is set +.TP +.B \-d \-display +Override $DISPLAY +.TP +.B \-s \-sockets +Override $DM_CONTROL +.TP +.B \-c \-config +Use alternative tdm config file +.SS Commands: +.br +.SS Global commands: +.TP +.B login +display (now|schedule) user password [session_arguments] +.br + login user at specified display. if "now" is specified, a possibly running session is killed, otherwise the login is done after the session exits. +.br +session_arguments are printf\-like escaped contents for \fI.dmrc\fP. Unlisted keys will default to previously saved values. +.SS Per\-display commands: +.TP +.B lock +The display is marked as locked. If the X\-Server crashes in this state, no auto\-relogin will be performed even if the option is on. +.TP +.B unlock +Reverse the effect of "lock": re\-enable auto\-relogin. +.TP +.B suicide +The currently running session is forcibly terminated. No auto\-relogin is attempted, but a scheduled "login" command will be executed. +.SS Commands for all sockets: +.TP +.B caps +Returns a list of this socket's capabilities: +.IP " \- tdm" +identifies tdm, in case some other DM implements this protocol, too. +.IP " \- list, activate, lock, suicide, login" +the respective command is supported. +.IP " \- bootoptions" +the "listbootoptions" command and the "=" option to "shutdown" are supported. +.IP " \- shutdown " +"shutdown" is supported and allowed to the listed users (comma\-separated). "*" means all authenticated users. +.IP " \- shutdown" +"shutdown" is supported and allowed to everybody. +.IP " \- nuke " +forced shutdown is allowed to the listed users. +.IP " \- nuke" +forced shutdown is allowed to everybody. +.IP " \- reserve " +reserve displays are configured and are available at this time. +.TP +\fBlist\fP [all|alllocal] +.br +Return a list of running sessions. By default all active sessions are listed. If "all" is specified, passive sessions are listed as well. If "alllocal" is specified, passive sessions are listed as well, but all incoming remote sessions are skipped. +.sp 1 +Each session entry is a comma\-separated tuple of: +.RS 7 +\- Display or TTY name +.br +\- VT name for local sessions +.br +\- Logged in user's name, empty for passive sessions and outgoing +.br + remote sessions (local chooser mode) +.br +\- Session type or remote host for outgoing remote sessions, +.br + empty for passive sessions +.br +\- A flag field: +.RS 5 +\- "t" for tty sessions +.br +\- "*" for the display belonging to the requesting socket +.br +\- "!" for sessions that cannot be killed by the requesting +.br + socket +.br +\- New flags might be added later +.br +.RE +\- New fields might be added later +.RE +.TP +\fBreserve\fP [timeout in seconds] +.br +Start a reserve login screen. If nobody logs in within the specified amount of time (one minute by default), the display is removed again. When the session on the display exits, the display is removed, too. +.br +Permitted only on sockets of local displays and the global socket. +.TP +\fBactivate\fP (vt|display) +.br +Switch to a particular VT (virtual terminal). The VT may be specified either directly (e.g., vt3) or by a display using it (e.g., :2). +.br +Permitted only on sockets of local displays and the global socket. +.TP +.B listbootoptions +List available boot options. +.br +=> "ok" list default current default and current are indices into the list and are \-1 if unset or undeterminable. +.TP +\fBshutdown\fP (reboot|halt) [=bootchoice] +.br + (ask|trynow|forcenow|schedule|start +.br + (\-1|end (force|forcemy|cancel))) +.br +.RS 7 +Request a system shutdown, either a reboot or a halt/poweroff. +.sp 1 +An OS choice for the next boot may be specified from the list returned by "listbootoptions". +.sp 1 +Shutdowns requested from per\-display sockets are executed when the current session on that display exits. Such a request may pop up a dialog asking for confirmation and/or authentication. +.sp 1 +start is the time for which the shutdown is scheduled. If it starts with a plus\-sign, the current time is added. Zero means immediately. +.sp 1 +end is the latest time at which the shutdown should be performed if active sessions are still running. If it starts with a plus\-sign, the start time is added. Minus one means wait infinitely. If end is through and active sessions are still running, \fBTDM\fP can do one of the following: +.RS 3 +- "cancel" \- give up the shutdown. +.br +- "force" \- shut down nonetheless. +.br +- "forcemy" \- shut down nonetheless if all active sessions +.br + belong to the requesting user. Only for per\-display sockets. +.RE +.sp 1 +start and end are specified in seconds since the UNIX epoch. +.sp 1 +"trynow" is a synonym for "0 0 cancel", "forcenow" for "0 0 force" and "schedule" for "0 \-1". +.sp 1 +"ask" attempts an immediate shutdown and interacts with the user if active sessions are still running. Only for per\-display sockets. +.RE +.TP +\fBshutdown cancel\fP [local|global] +.br +Cancel a scheduled shutdown. The global socket always cancels the currently pending shutdown, while per\-display sockets default to cancelling their queued request. +.TP +\fBshutdown status\fP +Return a list with information about shutdowns. +.br +The entries are comma\-separated tuples of: +.RS 10 +\- ("global"|"local") \- pending vs. queued shutdown. A local +.br + entry can be returned only by a per\-display socket. +.br +\- ("halt"|"reboot") +.br +\- start +.br +\- end +.br +\- ("ask"|"force"|"forcemy"|"cancel") +.br +\- Numeric user ID of the requesting user, \-1 for the global +.br + socket. +.br +\- The next boot OS choice or "\-" for none. +.br +\- New fields might be added later. +.RE +.SH SEE ALSO +.BR tdm (1) +.TP +.I /opt/kde3/share/doc/tdm/README.gz +Information about the command sockets (and \fBtdm\fP) +.SH AUTHORS +.nf +Oswald Buddenhagen + +.br +.fi +Please use http://bugs.kde.org to report bugs; do not mail the authors directly. +.PP +This manual page was written by Holger Hartmann for the Debian Project (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation. +.PP +On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common\-licenses/GPL. diff --git a/ubuntu/lucid_automake/kdebase/debian/patches/kubuntu_9921_kdm_bulletproof_x.diff b/ubuntu/lucid_automake/kdebase/debian/patches/kubuntu_9921_kdm_bulletproof_x.diff deleted file mode 100644 index f2584303c..000000000 --- a/ubuntu/lucid_automake/kdebase/debian/patches/kubuntu_9921_kdm_bulletproof_x.diff +++ /dev/null @@ -1,64 +0,0 @@ ---- kdebase-3.5.8/tdm/backend/dm.c 2008-02-13 23:59:17.000000000 +0200 -+++ kdebase-3.5.8/tdm/backend/dm.c 2008-02-14 11:22:41.000000000 +0200 -@@ -996,9 +996,14 @@ ReapChildren( void ) - /* don't kill again */ - break; - case running: -- if (startingServer == d && d->serverStatus != ignore) { -- if (d->serverStatus == starting && waitCode( status ) != 47) -- LogError( "X server died during startup\n" ); -+ LogError("X server terminated: [%d, %d, %d]\n", -+ (startingServer == d), -+ (d->serverStatus), -+ (waitCode(status))); -+ -+ if (startingServer == d /*&& d->serverStatus != ignore*/) { -+ if (/*d->serverStatus == starting &&*/ waitCode( status ) != 47) -+ LogError( "X server died during startup\n" ); - StartServerFailed(); - break; - } ---- kdebase-3.5.8/tdm/backend/server.c 2008-02-13 23:59:17.000000000 +0200 -+++ kdebase-3.5.8/tdm/backend/server.c 2008-02-14 11:41:20.000000000 +0200 -@@ -48,6 +48,10 @@ from the copyright holder. - struct display *startingServer; - time_t serverTimeout = TO_INF; - -+#define SERVER_ATTEMPTS 3 -+ -+char* failsafeXServer[] = {"/etc/gdm/failsafeXServer", 0}; -+ - char ** - PrepServerArgv( struct display *d, const char *args ) - { -@@ -128,6 +132,7 @@ StartServer( struct display *d ) - { - startingServer = d; - d->startTries = 0; -+ d->serverAttempts = SERVER_ATTEMPTS; - StartServerOnce(); - } - -@@ -150,6 +155,7 @@ void - StartServerSuccess() - { - struct display *d = startingServer; -+ LogError("StartServerSucces\n"); - d->serverStatus = ignore; - serverTimeout = TO_INF; - Debug( "X server ready, starting session\n" ); -@@ -161,9 +167,14 @@ StartServerFailed() - { - struct display *d = startingServer; - if (!d->serverAttempts || d->startTries < d->serverAttempts) { -+ LogError("Failed to start X server. Starting failsafe X server.\n"); -+ -+ runAndWait(failsafeXServer, 0); -+ - d->serverStatus = pausing; - serverTimeout = d->openDelay + now; - } else { -+ LogError("StartServerFailed\n"); - d->serverStatus = ignore; - serverTimeout = TO_INF; - startingServer = 0; diff --git a/ubuntu/lucid_automake/kdebase/debian/patches/kubuntu_9921_tdm_bulletproof_x.diff b/ubuntu/lucid_automake/kdebase/debian/patches/kubuntu_9921_tdm_bulletproof_x.diff new file mode 100644 index 000000000..f2584303c --- /dev/null +++ b/ubuntu/lucid_automake/kdebase/debian/patches/kubuntu_9921_tdm_bulletproof_x.diff @@ -0,0 +1,64 @@ +--- kdebase-3.5.8/tdm/backend/dm.c 2008-02-13 23:59:17.000000000 +0200 ++++ kdebase-3.5.8/tdm/backend/dm.c 2008-02-14 11:22:41.000000000 +0200 +@@ -996,9 +996,14 @@ ReapChildren( void ) + /* don't kill again */ + break; + case running: +- if (startingServer == d && d->serverStatus != ignore) { +- if (d->serverStatus == starting && waitCode( status ) != 47) +- LogError( "X server died during startup\n" ); ++ LogError("X server terminated: [%d, %d, %d]\n", ++ (startingServer == d), ++ (d->serverStatus), ++ (waitCode(status))); ++ ++ if (startingServer == d /*&& d->serverStatus != ignore*/) { ++ if (/*d->serverStatus == starting &&*/ waitCode( status ) != 47) ++ LogError( "X server died during startup\n" ); + StartServerFailed(); + break; + } +--- kdebase-3.5.8/tdm/backend/server.c 2008-02-13 23:59:17.000000000 +0200 ++++ kdebase-3.5.8/tdm/backend/server.c 2008-02-14 11:41:20.000000000 +0200 +@@ -48,6 +48,10 @@ from the copyright holder. + struct display *startingServer; + time_t serverTimeout = TO_INF; + ++#define SERVER_ATTEMPTS 3 ++ ++char* failsafeXServer[] = {"/etc/gdm/failsafeXServer", 0}; ++ + char ** + PrepServerArgv( struct display *d, const char *args ) + { +@@ -128,6 +132,7 @@ StartServer( struct display *d ) + { + startingServer = d; + d->startTries = 0; ++ d->serverAttempts = SERVER_ATTEMPTS; + StartServerOnce(); + } + +@@ -150,6 +155,7 @@ void + StartServerSuccess() + { + struct display *d = startingServer; ++ LogError("StartServerSucces\n"); + d->serverStatus = ignore; + serverTimeout = TO_INF; + Debug( "X server ready, starting session\n" ); +@@ -161,9 +167,14 @@ StartServerFailed() + { + struct display *d = startingServer; + if (!d->serverAttempts || d->startTries < d->serverAttempts) { ++ LogError("Failed to start X server. Starting failsafe X server.\n"); ++ ++ runAndWait(failsafeXServer, 0); ++ + d->serverStatus = pausing; + serverTimeout = d->openDelay + now; + } else { ++ LogError("StartServerFailed\n"); + d->serverStatus = ignore; + serverTimeout = TO_INF; + startingServer = 0; diff --git a/ubuntu/lucid_automake/kdebase/debian/tdm-kde3-np.pam b/ubuntu/lucid_automake/kdebase/debian/tdm-kde3-np.pam new file mode 100644 index 000000000..4cada235b --- /dev/null +++ b/ubuntu/lucid_automake/kdebase/debian/tdm-kde3-np.pam @@ -0,0 +1,11 @@ +# +# /etc/pam.d/tdm-np - specify the PAM behaviour of tdm for passwordless logins +# +auth required pam_nologin.so +auth required pam_env.so readenv=1 +auth required pam_env.so readenv=1 envfile=/etc/default/locale +session required pam_limits.so +@include common-account +@include common-password +@include common-session +auth required pam_permit.so diff --git a/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.README.Debian b/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.README.Debian new file mode 100644 index 000000000..f7f09290b --- /dev/null +++ b/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.README.Debian @@ -0,0 +1,91 @@ +TDM in Debian +============= + +This package comes with a copy of the TDM handbook in docbook format. +To read it, run "khelpcenter help:/tdm" from a command-line or go to the +URL "help:/tdm" in konqueror. + +By default, the use of special graphical themes with TDM is disabled. +If you wish to use the 'Circles' theme that comes with the tdm package, or +any other theme that you have installed, you should research the +'UseTheme' and 'Theme' fields in /etc/kde3/tdm/tdmrc. This can be done +by browsing this URL in Konqueror: + +help:/tdm/tdm-files.html#tdmrc-greeter + +TDM Customization +================= + +We provide a way to override theme-related values normally set in the +master configuration file (tdmrc): + * USEBACKGROUND + * BACKGROUNDCFG + * USETHEME + * THEME + * AUTOLOGINAGAIN + * AUTOLOGINDELAY + * AUTOLOGINLOCKED + * AUTOLOGINUSER + +and background configuration file (backgroundrc): + * WALLPAPER + +You just need to create a file with overridden value(s) and put it in +tdm override directory (default is /etc/default/tdm.d). + +================================================ +Below this is direct from the xdm package README +================================================ + +Debian README for the xdm package: + +Newcomers to the X Window System should first read the file +/opt/kde3/share/doc/x11-common/FAQ.gz. You can view this file with your +favorite pager program after decompressing it. For example: + $ zcat /opt/kde3/share/doc/x11-common/FAQ.gz | pager + +The default configuration for the X display manager (xdm) under Debian +GNU/Linux presumes that one wishes xdm to manage one local session. (In +other words, the xdm login screen occupies one virtual console +automatically at boot.) If one does not wish to run a local X server, the +following line should be commented out of /etc/X11/xdm/Xservers: + +:0 local /usr/bin/X11/X vt7 -deferglyphs 16 + +Several configuration files are shipped with the xdm package; they reside +in the /etc/X11/xdm/ directory. Extensive documentation about the xdm +configuration files may be found in the xdm(1) manual page. + +xdm-config contains X resources specific to xdm itself. See the X(1) +manual page for more information about X resources, and the xdm(1) manual +pages for documentation of the available xdm resources. + +Xresources contains X resources that are designed to be specfic to sessions +running under xdm. Note that this file does contain the resource entries +for xdm itself -- those are contained in the file xdm-config. See the X(1) +manual page for more information about X resources. + +The above three files, despite being X resource files, are not placed in the +/etc/X11/Xresources directory (see /opt/kde3/share/doc/xbase/README.Debian) because +they should not be used automatically in all X sessions; the /etc/X11/Xsession +script merges in the resources of all files found in /etc/X11/Xresources, and +this action would be inappropriate for these resource files. + +Xservers contains entries to start the X server(s) on the local machine, and +on any remote X terminals that do not support XDMCP. This file is internally +documented. + +Xaccess determines what hosts on the network may use the services of the +running xdm daemon. This file is internally documented. Note that as of +version 3.3.4-1 of the xdm package, all remote XDMCP access is turned off +by default. + +Xstartup is a shell script which is run (as root) after a user has logged in +on a server. + +Xreset is a shell script which is run (as root) after a user's X session ends on +a server. + +xdm.options contains configuration options for xdm that are specific to the +Debian GNU/Linux system. See the xdm.options(5) manual page for more +information. diff --git a/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.conf b/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.conf new file mode 100755 index 000000000..f6da8a4b0 --- /dev/null +++ b/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.conf @@ -0,0 +1,48 @@ +# tdm-kde3 - K Display Manager +# +# The display manager service manages the X servers running on the +# system, providing login and auto-login services + +description "K Display Manager for KDE3" +author "Richard Johnson and Timothy Pearson" + +start on (filesystem + and (started hal or started hal-kde3) + and (graphics-device-added fb0 PRIMARY_DEVICE_FOR_DISPLAY=1 + or drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1 + or stopped udevtrigger)) +stop on runlevel [016] + +emits starting-dm + +respawn + +script + [ ! -f /etc/X11/default-display-manager -o "$(cat /etc/X11/default-display-manager 2>/dev/null)" = "/opt/kde3/bin/tdm" ] + + # Check kernel command-line for inhibitors + for ARG in $(cat /proc/cmdline) + do + case "${ARG}" in + text|-s|s|S|single) + exit 0 + ;; + esac + done + + if [ -r /etc/default/locale ]; then + . /etc/default/locale + export LANG LANGUAGE + elif [ -r /etc/environment ]; then + . /etc/environment + export LANG LANGUAGE + fi + + TDEDIRS=/opt/kde3/ + PATH=/opt/kde3/bin:/bin:/usr/bin:/sbin:/usr/sbin + + initctl emit starting-dm DM=tdm-kde3 + + exec /opt/kde3/bin/tdm + +end script diff --git a/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.config b/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.config new file mode 100644 index 000000000..1ecedb65c --- /dev/null +++ b/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.config @@ -0,0 +1,87 @@ +#!/bin/sh +# Debian tdm package configuration script +# stolen from the xdm scripts +# Copyright 2000--2003 Branden Robinson. +# Licensed under the GNU General Public License, version 2. See the file +# /usr/share/common-licenses/GPL or . + +set -e + +# source debconf library +. /usr/share/debconf/confmodule + +THIS_PACKAGE=tdm-kde3 + +# set default display manager +DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager + +OWNERS= +if db_metaget shared/default-x-display-manager owners; then + OWNERS="$RET" +fi + +CHOICES= +if db_metaget shared/default-x-display-manager choices; then + CHOICES="$RET" +fi + +if [ "$OWNERS" != "$CHOICES" ]; then + # FIXME - redo this part uses shell-lib.sh from xfree86 + # observe "X display managers now available are \"$OWNERS\"" + db_subst shared/default-x-display-manager choices "$OWNERS" + db_fset shared/default-x-display-manager seen false +fi + +# debconf is not a registry; use the current contents of the default display +# manager file to pre-answer the question if possible +if [ -e "$DEFAULT_DISPLAY_MANAGER_FILE" ]; then + CURRENT_DEFAULT=$(grep -v '^[[:space:]]*#' \ + "$DEFAULT_DISPLAY_MANAGER_FILE" | + head -n 1) + # both the binaries for tdm and tdm-kde4 share the same basename + # so we need to check if it's tdm-kde4 or another display manager + if [ "$CURRENT_DEFAULT" = "/usr/lib/kde4/bin/tdm" ]; then + CURRENT_DEFAULT=${THIS_PACKAGE}-kde4 + else + CURRENT_DEFAULT=$(basename $CURRENT_DEFAULT) + fi + if [ -n "$CURRENT_DEFAULT" ]; then +# if ! which "$CURRENT_DEFAULT" > /dev/null 2>&1; then +# echo . + # FIXME - redo this part uses shell-lib.sh from xfree86 + #observe "default display manager \"$CURRENT_DEFAULT\" specified in" \ + # "$DEFAULT_DISPLAY_MANAGER_FILE does not exist or is not" \ + # "executable" +# fi + db_set shared/default-x-display-manager "$CURRENT_DEFAULT" + fi +else + CURRENT_DEFAULT= + if db_get shared/default-x-display-manager; then + CURRENT_DEFAULT="$RET" + fi +fi + +db_input high shared/default-x-display-manager || true +db_go + +# using this display manager? +NEW_DEFAULT= +if db_get shared/default-x-display-manager; then + NEW_DEFAULT="$RET" +fi + +# move the default display manager file if we're going to change it +if [ -n "$NEW_DEFAULT" ]; then + if [ "$NEW_DEFAULT" != "$CURRENT_DEFAULT" ]; then + if [ -e "$DEFAULT_DISPLAY_MANAGER_FILE" ]; then + # FIXME - redo this part uses shell-lib.sh from xfree86 + # observe "preparing to change default X display manager from" \ + # "\"$CURRENT_DEFAULT\" to \"$NEW_DEFAULT\"" + mv "$DEFAULT_DISPLAY_MANAGER_FILE" \ + "$DEFAULT_DISPLAY_MANAGER_FILE.dpkg-tmp" + fi + fi +fi + +exit 0 diff --git a/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.dirs b/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.dirs new file mode 100644 index 000000000..38d09f9d8 --- /dev/null +++ b/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.dirs @@ -0,0 +1,2 @@ +etc/default/tdm-kde3.d +var/lib/tdm-kde3 diff --git a/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.install b/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.install new file mode 100644 index 000000000..f5747fbba --- /dev/null +++ b/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.install @@ -0,0 +1,52 @@ +debian/local/tdm.options etc/kde3/tdm/ +debian/tmp/etc/kde3/tdm/tdmrc +debian/tmp/etc/kde3/tdm/Xaccess +debian/tmp/etc/kde3/tdm/Xreset +debian/tmp/etc/kde3/tdm/Xsession +debian/tmp/etc/kde3/tdm/Xsetup +debian/tmp/etc/kde3/tdm/Xstartup +debian/tmp/etc/kde3/tdm/Xwilling +debian/tmp/opt/kde3/bin/gentdmconf +debian/tmp/opt/kde3/bin/tdm +debian/tmp/opt/kde3/bin/tdm_config +debian/tmp/opt/kde3/bin/tdmctl +debian/tmp/opt/kde3/bin/tdm_greet +debian/tmp/opt/kde3/bin/krootimage +debian/tmp/opt/kde3/share/apps/tdm/pics/kdelogo-crystal.png +debian/tmp/opt/kde3/share/apps/tdm/pics/kdelogo.png +debian/tmp/opt/kde3/share/apps/tdm/pics/shutdown.jpg +debian/tmp/opt/kde3/share/apps/tdm/pics/users/default1.png +debian/tmp/opt/kde3/share/apps/tdm/pics/users/default2.png +debian/tmp/opt/kde3/share/apps/tdm/pics/users/default3.png +debian/tmp/opt/kde3/share/apps/tdm/pics/users/root1.png +debian/tmp/opt/kde3/share/apps/tdm/sessions/9wm.desktop +debian/tmp/opt/kde3/share/apps/tdm/sessions/aewm.desktop +debian/tmp/opt/kde3/share/apps/tdm/sessions/amaterus.desktop +debian/tmp/opt/kde3/share/apps/tdm/sessions/asclassic.desktop +debian/tmp/opt/kde3/share/apps/tdm/sessions/ctwm.desktop +debian/tmp/opt/kde3/share/apps/tdm/sessions/evilwm.desktop +debian/tmp/opt/kde3/share/apps/tdm/sessions/flwm.desktop +debian/tmp/opt/kde3/share/apps/tdm/sessions/lwm.desktop +debian/tmp/opt/kde3/share/apps/tdm/sessions/matchbox.desktop +debian/tmp/opt/kde3/share/apps/tdm/sessions/mwm.desktop +debian/tmp/opt/kde3/share/apps/tdm/sessions/olvwm.desktop +debian/tmp/opt/kde3/share/apps/tdm/sessions/olwm.desktop +debian/tmp/opt/kde3/share/apps/tdm/sessions/oroborus.desktop +debian/tmp/opt/kde3/share/apps/tdm/sessions/pwm.desktop +debian/tmp/opt/kde3/share/apps/tdm/sessions/twm.desktop +debian/tmp/opt/kde3/share/apps/tdm/sessions/ude.desktop +debian/tmp/opt/kde3/share/apps/tdm/sessions/vtwm.desktop +debian/tmp/opt/kde3/share/apps/tdm/sessions/wm2.desktop +debian/tmp/opt/kde3/share/apps/tdm/themes/circles/background.svg +debian/tmp/opt/kde3/share/apps/tdm/themes/circles/circles.xml +debian/tmp/opt/kde3/share/apps/tdm/themes/circles/flower.png +debian/tmp/opt/kde3/share/apps/tdm/themes/circles/GdmGreeterTheme.desktop +debian/tmp/opt/kde3/share/apps/tdm/themes/circles/help.png +debian/tmp/opt/kde3/share/apps/tdm/themes/circles/options.png +debian/tmp/opt/kde3/share/apps/tdm/themes/circles/screenshot.png +debian/tmp/opt/kde3/share/apps/tdm/themes/o2_enterprise +debian/tmp/opt/kde3/share/doc/kde/HTML/en/tdm/common +debian/tmp/opt/kde3/share/doc/kde/HTML/en/tdm/index.cache.bz2 +debian/tmp/opt/kde3/share/doc/kde/HTML/en/tdm/index.docbook +debian/tmp/opt/kde3/share/doc/kde/HTML/en/tdm/tdmrc-ref.docbook +debian/tmp/opt/kde3/share/doc/tdm/README diff --git a/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.links b/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.links new file mode 100644 index 000000000..1bdab2cb6 --- /dev/null +++ b/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.links @@ -0,0 +1 @@ +opt/kde3/share/apps/tdm/pics/users/default1.png opt/kde3/share/apps/tdm/faces/.default.face diff --git a/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.logrotate b/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.logrotate new file mode 100644 index 000000000..99853b7ba --- /dev/null +++ b/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.logrotate @@ -0,0 +1,9 @@ +/var/log/tdm-kde3.log { + rotate 7 + daily + compress + delaycompress + copytruncate + missingok + notifempty +} diff --git a/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.manpages b/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.manpages new file mode 100644 index 000000000..3c0748068 --- /dev/null +++ b/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.manpages @@ -0,0 +1,6 @@ +debian/man/gentdmconf-kde3.1 +debian/man/tdm-kde3.1 +debian/man/tdm_config-kde3.1 +debian/man/tdmctl-kde3.1 +debian/man/tdm_greet-kde3.1 +debian/man/krootimage-kde3.1 diff --git a/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.pam b/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.pam new file mode 100644 index 000000000..6fc929be0 --- /dev/null +++ b/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.pam @@ -0,0 +1,11 @@ +# +# /etc/pam.d/tdm-kde3 - specify the PAM behaviour of tdm +# +auth required pam_nologin.so +auth required pam_env.so readenv=1 +auth required pam_env.so readenv=1 envfile=/etc/default/locale +@include common-auth +session required pam_limits.so +@include common-account +@include common-password +@include common-session diff --git a/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.postinst b/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.postinst new file mode 100644 index 000000000..93207ff88 --- /dev/null +++ b/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.postinst @@ -0,0 +1,126 @@ +#! /bin/sh + +set -e + +# source debconf library +. /usr/share/debconf/confmodule + +# debconf is not a registry, so we only fiddle with the default file if it +# does not exist +DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager + +if [ ! -e "$DEFAULT_DISPLAY_MANAGER_FILE" ]; then + DEFAULT_DISPLAY_MANAGER=tdm-kde3 + if db_get shared/default-x-display-manager; then + DEFAULT_DISPLAY_MANAGER="$RET" + fi + if [ -n "$DEFAULT_DISPLAY_MANAGER" ]; then + DAEMON_NAME= + if db_get "$DEFAULT_DISPLAY_MANAGER"/daemon_name; then + DAEMON_NAME="$RET" + fi + if [ ! -n "$DAEMON_NAME" ]; then + # if we were unable to determine the name of the selected daemon (for + # instance, if the selected default display manager doesn't provide a + # daemon_name question), guess + DAEMON_NAME=$(which "$DEFAULT_DISPLAY_MANAGER" 2>/dev/null) + if [ ! -n "$DAEMON_NAME" ]; then + echo . + # FIXME - redo this part uses shell-lib.sh from xfree86 + #warn "unable to determine path to default X display manager" \ + # "$DEFAULT_DISPLAY_MANAGER; not updating" \ + # "$DEFAULT_DISPLAY_MANAGER_FILE" + fi + fi + if [ -n "$DAEMON_NAME" ]; then + # FIXME - redo this part uses shell-lib.sh from xfree86 + #observe "committing change of default X display manager" + echo "$DAEMON_NAME" > "$DEFAULT_DISPLAY_MANAGER_FILE" + fi + fi +fi + +# remove the displaced old default display manager file if it exists +if [ -e "$DEFAULT_DISPLAY_MANAGER_FILE.dpkg-tmp" ]; then + rm "$DEFAULT_DISPLAY_MANAGER_FILE.dpkg-tmp" +fi + +# restarting the daemon may cause output to stdout +db_stop + +# don't start tdm if we are upgrading without stopping it +NOSTART= +if [ -e /var/run/tdm-kde3.upgrade ]; then + NOSTART=yes +fi +# or if we're currently in X on the display it attempts to manage by default +for HOST in "" \ + "localhost" \ + "$(hostname 2> /dev/null)" \ + "$(hostname -f 2> /dev/null)"; do + if echo "$DISPLAY" | grep -q "^$HOST:0.*"; then + NOSTART=yes + break + fi +done +# or if it's already running +if start-stop-daemon --stop --quiet --signal 0 --pid /var/run/tdm.pid --name tdm-kde3; then + NOSTART=yes +fi +# or if the options file says not to +if ! grep -qs ^restart-on-upgrade /etc/kde3/tdm/tdm.options; then + NOSTART=yes +fi + + +# md5sum of the stock Xservers shipped with KDE 3.3.2, which shipped with Sarge +SARGEXSERVERS=d3ab063f564492e0e31830f56ccd350e + +CONFIGLEVEL=`grep -s ^ConfigVersion= /etc/kde3/tdm/tdmrc | sed s/^ConfigVersion=//` + +if [ -e /etc/kde3/tdm/tdmrc ]; then + if dpkg --compare-versions "$CONFIGLEVEL" ge "2.3"; then + TDMRCUPDATED=yes + fi +fi + +if [ -e /etc/kde3/tdm/Xservers ]; then + if [ `md5sum /etc/kde3/tdm/Xservers | sed s/\ .*$//` = $SARGEXSERVERS ]; then + XSERVERSUNCHANGED=yes + fi +fi + +# With KDE 3.4, /etc/kde3/tdm/Xservers is no longer required, so we remove it, if +# the user has updated their tdmrc (if they haven't, tdm notices and keeps using +# Xservers), and if it wasn't touched, i.e. there are no local changes the user +# will want to merge into tdmrc. + +case "$1" in + + configure) + + if [ ! -z $TDMRCUPDATED ] && [ ! -z $XSERVERSUNCHANGED ]; then + echo "Removing obsolete /etc/kde3/tdm/Xservers (detected no user changes)." + rm -f /etc/kde3/tdm/Xservers + elif [ ! -z $TDMRCUPDATED ] && [ -e /etc/kde3/tdm/Xservers ]; then + echo "Note that /etc/kde3/tdm/Xservers is no longer used by TDM." + echo "You must merge your changes (if any) into /etc/kde3/tdm/tdmrc manually." + echo "Otherwise, /etc/kde3/tdm/Xservers is safe to remove." + fi + + rm -f /etc/init.d/tdm-kde3 + ln -s /lib/init/upstart-job /etc/init.d/tdm-kde3 + + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; + +esac + +exit 0 diff --git a/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.postrm b/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.postrm new file mode 100644 index 000000000..f33a54fc4 --- /dev/null +++ b/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.postrm @@ -0,0 +1,38 @@ +#! /bin/sh -e + +case "$1" in + purge) + rm -rf /var/log/tdm-kde3.log* + ;; + + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +if [ "$1" = "abort-install" -o "$1" = "abort-upgrade" ]; then + # roll back displacement of default display manager file + if [ -e "$DEFAULT_DISPLAY_MANAGER_FILE.dpkg-tmp" ]; then + # FIXME - redo this part uses shell-lib.sh from xfree86 + #observe "rolling back change of default X display manager" + mv "$DEFAULT_DISPLAY_MANAGER_FILE.dpkg-tmp" "$DEFAULT_DISPLAY_MANAGER_FILE" + fi +fi + +if [ "$1" = "purge" ]; then + for DIR in /var/lib/tdm-kde3; do + if [ -d "$DIR" ]; then + rm -rf "$DIR" + fi + done + rm -f /var/log/tdm-kde3.log* +fi + +#DEBHELPER# + +exit 0 diff --git a/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.preinst b/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.preinst new file mode 100644 index 000000000..8160e6810 --- /dev/null +++ b/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.preinst @@ -0,0 +1,29 @@ +#! /bin/sh -e + +case "$1" in + + upgrade) + rm -f /etc/kde3/debian/tdm-update-menu.sh + rm -f /etc/kde3/debian/tdm.options + rm -f /etc/kde3/tdm/pixmaps/XFree86bw.xpm + rm -f /etc/kde3/tdm/pixmaps/XFree86.xpm + rm -f /etc/kde3/tdm/Xresources + rm -f /etc/menu-methods/tdm + ;; + + install) + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; + +esac + +#DEBHELPER# + +exit 0 diff --git a/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.prerm b/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.prerm new file mode 100644 index 000000000..6c3e8fb97 --- /dev/null +++ b/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.prerm @@ -0,0 +1,176 @@ +#! /bin/sh +# prerm script for tdm-kde3 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +# debconf may not be available if some massive purging is going on +HAVE_DEBCONF= +if [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + HAVE_DEBCONF=yes +fi + +case "$1" in + # we NEVER want to unconditionally stop tdm; see below + upgrade|failed-upgrade) + REMOVING= + ;; + + remove|deconfigure) + REMOVING=yes + rm -f /etc/init.d/tdm-kde3 + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +STOP= +# are we supposed to restart on upgrade? if REMOVING tdm, we don't care what +# the user says, we have to stop the daemon +if grep -qs ^restart-on-upgrade /etc/kde3/tdm/tdm.options || + [ -n "$REMOVING" ]; then + # is there an tdm process running? + if start-stop-daemon --stop --quiet --signal 0 --name tdm-kde3; then + # any children? + PARENTS=$(pidof /usr/bin/tdm-kde3 || true) + CHILDREN= + if [ -n "$PARENTS" ]; then + for PROCESS in $PARENTS; do + # make sure we got numbers back + [ $PROCESS -eq $PROCESS ] 2> /dev/null || + exit + # FIXME - redo this part uses shell-lib.sh from xfree86 + # die "pidof returned non-numeric value" + # we could use grep -q here if ps would ignore SIGPIPE :-P + if (ps axj | grep "^ *$PROCESS" > /dev/null 2>&1); then + CHILDREN=yes + fi + done + if [ -n "$CHILDREN" ]; then + if [ -n "$HAVE_DEBCONF" ]; then + # ask the question + db_input high tdm/stop_running_server_with_children || true + db_go + # what did the user say? + ANSWER= + if db_get tdm/stop_running_server_with_children; then + ANSWER="$RET" + fi + if [ "$ANSWER" = "true" ]; then + STOP=yes + fi + # forget that we have seen the question; this is the sort of + # non-configuration question that should be asked every time + db_fset tdm/stop_running_server_with_children seen false + fi + else + STOP=yes + fi + fi + fi +fi + +if [ -n "$STOP" ]; then + if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then + invoke-rc.d tdm-kde3 stop || true + else + /etc/init.d/tdm-kde3 stop || true + fi +else + if [ "$1" = "upgrade" -o "$1" = "failed-upgrade" ]; then + touch /var/run/tdm-kde3.upgrade + fi +fi + +DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager + +if [ "$1" = "remove" -o "$1" = "deconfigure" ]; then + if [ -n "$HAVE_DEBCONF" ]; then + # disown this question + db_unregister shared/default-x-display-manager || true + # does the question still exist? + if db_get shared/default-x-display-manager; then + if db_metaget shared/default-x-display-manager owners; then + # FIXME - redo this part uses shell-lib.sh from xfree86 + #observe "X display managers now available are \"$OWNERS\"" + db_subst shared/default-x-display-manager choices "$RET" + fi + DEFAULT_DISPLAY_MANAGER= + if db_get shared/default-x-display-manager; then + DEFAULT_DISPLAY_MANAGER="$RET" + fi + # are we removing the currently selected display manager? + if [ -n "$DEFAULT_DISPLAY_MANAGER" ]; then + if [ "tdm-kde3" = "$DEFAULT_DISPLAY_MANAGER" ]; then + if [ -e "$DEFAULT_DISPLAY_MANAGER_FILE" ]; then + if db_get "$DEFAULT_DISPLAY_MANAGER/daemon_name"; then + # does the display manager file reference the current default? if + # so, remove it because it will now be wrong + if [ -n "$RET" ]; then + if [ "$(cat "$DEFAULT_DISPLAY_MANAGER_FILE")" = "$RET" ]; then + rm "$DEFAULT_DISPLAY_MANAGER_FILE" + fi + fi + fi + fi + # ask the user to choose a new default + db_fset shared/default-x-display-manager seen false + db_input critical shared/default-x-display-manager || true + db_go + # if the default display manager file doesn't exist, write it with + # the path to the new default display manager + if [ ! -e "$DEFAULT_DISPLAY_MANAGER_FILE" ]; then + DEFAULT_DISPLAY_MANAGER= + if db_get shared/default-x-display-manager; then + DEFAULT_DISPLAY_MANAGER="$RET" + fi + if [ -n "$DEFAULT_DISPLAY_MANAGER" ]; then + # FIXME - redo this part uses shell-lib.sh from xfree86 + #warn "new default display manager has been selected; please be" \ + # "sure to run \"dpkg-reconfigure $RET\" to ensure that it" \ + # "is configured" + DAEMON_NAME= + if db_get "$DEFAULT_DISPLAY_MANAGER"/daemon_name; then + DAEMON_NAME="$RET" + fi + if [ ! -n "$DAEMON_NAME" ]; then + # if we were unable to determine the name of the selected daemon (for + # instance, if the selected default display manager doesn't provide a + # daemon_name question), guess + DAEMON_NAME=$(which "$DEFAULT_DISPLAY_MANAGER" 2>/dev/null) + if [ ! -n "$DAEMON_NAME" ]; then + echo . + # FIXME - redo this part uses shell-lib.sh from xfree86 + #warn "unable to determine path to default X display manager" \ + # "$DEFAULT_DISPLAY_MANAGER; not updating" \ + # "$DEFAULT_DISPLAY_MANAGER_FILE" + fi + fi + if [ -n "$DAEMON_NAME" ]; then + echo "$DAEMON_NAME" > "$DEFAULT_DISPLAY_MANAGER_FILE" + fi + fi + fi + fi + fi + fi + fi +fi + +exit 0 diff --git a/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.templates b/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.templates new file mode 100644 index 000000000..9730af3ff --- /dev/null +++ b/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.templates @@ -0,0 +1,32 @@ +Template: shared/default-x-display-manager +Type: select +Choices: ${choices} +_Description: Default display manager: + A display manager is a program that provides graphical login capabilities for + the X Window System. + . + Only one display manager can manage a given X server, but multiple display + manager packages are installed. Please select which display manager should + run by default. + . + Multiple display managers can run simultaneously if they are configured to + manage different servers; to achieve this, configure the display managers + accordingly, edit each of their init scripts in /etc/init.d, and disable the + check for a default display manager. + +Template: tdm-kde3/daemon_name +Type: string +Default: /opt/kde3/bin/tdm +Description: internal use only + This template is never shown to the user and does not require translation. + +Template: tdm-kde3/stop_running_server_with_children +Type: boolean +Default: false +_Description: Stop the tdm-kde3 daemon? + The K Desktop manager (tdm-kde3) daemon is typically stopped on package upgrade + and removal, but it appears to be managing at least one running X session. + . + If tdm is stopped now, any X sessions it manages will be terminated. + Otherwise, the new version will take effect the next time the daemon + is restarted. diff --git a/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.txt b/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.txt new file mode 100644 index 000000000..edbfdd647 --- /dev/null +++ b/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.txt @@ -0,0 +1,189 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: x-display-manager tdm-kde3 +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Should-Start: console-screen +# Should-Stop: console-screen +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: X display manager for KDE3 +# Description: TDM manages a collection of X servers, which may be on the local host or remote machines. +### END INIT INFO +# /etc/init.d/tdm-kde3: start or stop the X display manager +# Script originally stolen from the xdm package +# +# description: K Display Manager +# +set -e + +# To start tdm-kde3 even if it is not the default display manager, change +# HEED_DEFAULT_DISPLAY_MANAGER to "false." +HEED_DEFAULT_DISPLAY_MANAGER=true +DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager + +TDEDIRS=/opt/kde3/ +PATH=/opt/kde3/bin:/bin:/usr/bin:/sbin:/usr/sbin +DAEMON=/opt/kde3/bin/tdm +PIDFILE=/var/run/tdm.pid +UPGRADEFILE=/var/run/tdm.upgrade + +# parameters to support tdm customization +TDMRC=/etc/kde3/tdm/tdmrc +BACKGROUNDRC=/etc/kde3/tdm/backgroundrc + +#if configuration is changed by tdmtheme or other tools, don't do magick +if grep -q "Theme=@@@ToBeReplacedByDesktopBase@@@" ${TDMRC} && grep -q "Wallpaper=default_blue.jpg" ${BACKGROUNDRC} +then + + + +TDMOVERRIDEDIR=/etc/default/tdm-kde3.d +TDMCFGDIR=/var/run/tdm-kde3 +TDMCFG=$TDMCFGDIR/tdmrc +BACKGROUNDCFG=$TDMCFGDIR/backgroundrc + +test -x $DAEMON || exit 0 + +# uncomment, if you want auto-logon to be runlevel-dependant +#test "$runlevel" || { runlevel=`runlevel`; runlevel=${runlevel#* }; } +#test "$runlevel" = 4 && ARG=-autolog || ARG=-noautolog + +# uncomment, if you want tons of debug info in your syslog +#ARG="$ARG -debug 255" + +# we use an alternative tdm master configuration file +ARG="$ARG -config $TDMCFG" + +# we source overrides. run-parts sorts the list in a predictable order +if [ -d "$TDMOVERRIDEDIR" ]; then + for part in $(run-parts --list "$TDMOVERRIDEDIR" 2>/dev/null || true); do + . "$part" + done +fi + +# we generate tdm configuration files +gentdmconf --in $TDMCFGDIR 1> /dev/null + +# we update tdm configuration files (only overridden values) +[ -n "$USEBACKGROUND" ] && sed -i "s|^#\?UseBackground=.*|UseBackground=$USEBACKGROUND|" $TDMCFG +[ -n "$BACKGROUNDCFG" ] && sed -i "s|^#\?BackgroundCfg=.*|BackgroundCfg=$BACKGROUNDCFG|" $TDMCFG +[ -n "$USETHEME" ] && sed -i "s|^#\?UseTheme=.*|UseTheme=$USETHEME|" $TDMCFG +[ -n "$THEME" ] && sed -i "s|^#\?Theme=.*|Theme=$THEME|" $TDMCFG +[ -n "$WALLPAPER" ] && sed -i "s|^#\?Wallpaper=.*|Wallpaper=`readlink -f $WALLPAPER`|" $BACKGROUNDCFG + + +fi +# autologin overrides are useful for live debian environment +if [ -n "$AUTOLOGINUSER" ]; then + sed -i "s|^#\?AutoLoginEnable=.*|AutoLoginEnable=true|" $TDMCFG + sed -i "s|^#\?AutoLoginUser=.*|AutoLoginUser=$AUTOLOGINUSER|" $TDMCFG +fi +[ -n "$AUTOLOGINDELAY" ] && sed -i "s|^#\?AutoLoginDelay=.*|AutoLoginDelay=$AUTOLOGINDELAY|" $TDMCFG +[ -n "$AUTOLOGINAGAIN" ] && sed -i "s|^#\?AutoLoginAgain=.*|AutoLoginAgain=$AUTOLOGINAGAIN|" $TDMCFG +[ -n "$AUTOLOGINLOCKED" ] && sed -i "s|^#\?AutoLoginLocked=.*|AutoLoginLocked=$AUTOLOGINLOCKED|" $TDMCFG + +# If we upgraded the daemon, we can't use the --exec argument to +# start-stop-daemon since the inode will have changed. The risk here is that +# in a situation where the daemon died, its pidfile was not cleaned up, and +# some other process is now running under that pid, start-stop-daemon will send +# signals to an innocent process. However, this seems like a corner case. +# C'est la vie! +if [ -e $UPGRADEFILE ]; then + SSD_ARGS="--pidfile $PIDFILE --startas $DAEMON" +else + SSD_ARGS="--pidfile $PIDFILE --exec $DAEMON" +fi + +stillrunning () { + if expr "$(cat /proc/$DAEMONPID/cmdline 2> /dev/null)" : "$DAEMON" > /dev/null 2>&1; then + true + else + # if the daemon does not remove its own pidfile, we will + rm -f $PIDFILE $UPGRADEFILE + false + fi; +} + +case "$1" in + start) + if [ -e $DEFAULT_DISPLAY_MANAGER_FILE ] && + [ "$HEED_DEFAULT_DISPLAY_MANAGER" = "true" ] && + [ "$(cat $DEFAULT_DISPLAY_MANAGER_FILE)" != "$DAEMON" ]; then + echo "Not starting K Display Manager (tdm-kde3); it is not the default display manager." + else + echo -n "Starting K Display Manager: tdm-kde3" + start-stop-daemon --start --quiet $SSD_ARGS -- $ARG || echo -n " already running" + echo "." + fi + ;; + + restart) + /etc/init.d/tdm-kde3 stop + if [ -f $PIDFILE ]; then + if stillrunning; then + exit 1 + fi + fi + /etc/init.d/tdm-kde3 start + ;; + + reload) + echo -n "Reloading K Display Manager configuration..." + if start-stop-daemon --stop --signal 1 --quiet $SSD_ARGS; then + echo "done." + else + echo "tdm-kde3 not running." + fi + ;; + + force-reload) + /etc/init.d/tdm-kde3 reload + ;; + + stop) + echo -n "Stopping K Display Manager: tdm-kde3" + if [ ! -f $PIDFILE ]; then + echo " not running ($PIDFILE not found)." + exit 0 + else + DAEMONPID=$(cat $PIDFILE | tr -d '[:blank:]') + KILLCOUNT=1 + if [ ! -e $UPGRADEFILE ]; then + if start-stop-daemon --stop --quiet $SSD_ARGS; then + # give tdm's signal handler a second to catch its breath + sleep 1 + else + echo -n " not running" + fi + fi + while [ $KILLCOUNT -le 5 ]; do + if stillrunning; then + kill $DAEMONPID + else + break + fi + sleep 1 + KILLCOUNT=$(( $KILLCOUNT + 1 )) + done + if stillrunning; then + echo -n " not responding to TERM signal (pid $DAEMONPID)" + else + rm -f $UPGRADEFILE + fi + fi + echo "." + + # Launches usplash on shutdown + if ( `grep -q '\( \|^\)splash\( \|$\)' /proc/cmdline` && `which usplash_down >/dev/null` ) ; then + usplash_down + fi + ;; + + *) + echo "Usage: /etc/init.d/tdm-kde3 {start|stop|restart|reload|force-reload}" + exit 1 + ;; +esac + +exit 0 -- cgit v1.2.1