From b12bb8297837ca115ce940e90cea0b533e3b0883 Mon Sep 17 00:00:00 2001 From: Denis Briand Date: Sun, 14 Mar 2010 19:20:29 +0100 Subject: [PATCH] Imported Debian patch 2.1.0-2 --- debian/changelog | 202 +++++++++++++++++++++++++++++++++++++ debian/compat | 1 + debian/control | 16 +++ debian/copyright | 33 ++++++ debian/gtk-theme-switch2.1 | 40 ++++++++ debian/menu | 2 + debian/rules | 58 +++++++++++ debian/source/format | 1 + debian/watch | 3 + 9 files changed, 356 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/gtk-theme-switch2.1 create mode 100644 debian/menu create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..80f2381 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,202 @@ +gtk-theme-switch (2.1.0-2) unstable; urgency=low + + * Switch to dpkg-source 3.0 (quilt) format. + * Bump standards version to 3.8.4. + * Allow Debian Maintainers uploads. + * Add ${misc:Depends} to the binary dependencies. + + -- Denis Briand Sun, 14 Mar 2010 19:20:29 +0100 + +gtk-theme-switch (2.1.0-1) unstable; urgency=low + + * New upstream release. + * Become non native Debian package. + * Add debian/watch file. + * Add Homepage in debian/control. + * Add all authors in debian/copyright. + * Bump copyright year. + + -- Denis Briand Wed, 06 May 2009 14:34:25 +0200 + +gtk-theme-switch (2.0.6) unstable; urgency=low + + * New Maintainer (Closes: #462908) + * solve an unchecked fopen() (Closes: #498447) + + Thanks to François Wendling for his audit + + and for his patch. + * fix hash table pointer issue (Closes: #229384) + + Thanks to Ron Murray for his work and for his patch. + * rename switch2.* by gtk-theme-switch2.* + + and add gtk-theme-switch2 name in gtkrc-2.0 conf file (Closes: #319286). + * Bump compat to 7. + * Bump standards version to 3.8.1. + * Remove unused switch.c and switch.1 files. + * Fit Makefile and debian/rules to the renamed files. + * Remove obsolete debian/README.debian file. + * Remove obsolete debian/links file. + * Fit debian/menu to the renamed bin file. + * Fix versionless symlink license in debian/copyright. + * Fit man file to the renamed bin file. + * Rename unused ChangeLog to ChangeLog.old + * Change deprecated "dh_clean -k" in "dh_prep" in debian/rules. + + -- Denis Briand Sat, 11 Apr 2009 18:36:20 +0200 + +gtk-theme-switch (2.0.5) unstable; urgency=low + + * QA upload. + + Set maintainer to Debian QA Group . + * Build gtk2 binary only. (Closes: #462906, #462904, #291008). + + Rename debian/switch.1 to switch2.1 to match binary. + * Drop recommends for gtk-engines-pixmap. (Closes: #473847). + + Thanks to amaya for the bug report and fix. + * Update FSF address in copyright. + * Bump debhelper build-dep and compat to 5. + * Bump Standards Version to 3.7.3. + + Menu policy transition. + + -- Barry deFreese Tue, 15 Apr 2008 23:28:49 -0400 + +gtk-theme-switch (2.0.4) unstable; urgency=low + + * switch.c (get_dirs): the gtk-2.0/gtkrc dir is used for gtk-2.0 + themes, we should use gtk/gtkrc for gtk themes. + thanks to Tobias Jordan + for the patch. (Closes: #255722, #306245). + + -- Pedro Villavicencio Garrido Sat, 30 Apr 2005 20:26:10 -0400 + +gtk-theme-switch (2.0.3) unstable; urgency=low + + * Fixed bug #278179. + + -- Pedro Villavicencio Garrido Mon, 25 Oct 2004 15:56:29 -0300 + +gtk-theme-switch (2.0.2) unstable; urgency=low + + * New Maintainer with previous Maintainer consent's. + * gtk-theme-switch2 overwritte ~/.gtkrc-2.0, so we made a backup + of this file before overwritte them. (Closes : #271450) + + -- Pedro Villavicencio Garrido Tue, 14 Sep 2004 11:16:43 -0400 + +gtk-theme-switch (2.0.1) unstable; urgency=low + + * New upstream (me) release. Becomes Debian native. + * These patches are new, but were merged into the new native source: + - 05_use_2.0_in_mine.dpatch: use file name '.gtkrc-2.0.mine' when writing + canned .gtkrc-2.0 for personal changes to avoid conflict with + .gtkrc.mine. + - 06_check_gtkrc_NULL.dpatch: check to see whether gtkrc is NULL, or else + feof() and fclose() will choke on it. Thanks Zack Cerza. + * Quote stuff in debian/menu. + + -- Joshua Kwan Wed, 16 Jun 2004 00:31:55 -0700 + +gtk-theme-switch (2.0.0rc2+1.0.1-4) unstable; urgency=medium + + * 03_path_search.dpatch: don't use if (access(bleh)) to see if an error + was returned, use if (access(bleh) == -1), to avoid false positives. + Also fix a memory leak with g_strconcat for both switch and switch2. + * Bump to Standards-Version 3.6.1.0. + * Menu title is really useless, make it a bit nicer. + * Fix copyright file to include a Copyright and the GPL + short blurb instead of just 'GPLv2', per Peter Palfrader's recommendation. + + -- Joshua Kwan Sun, 14 Dec 2003 19:44:48 -0800 + +gtk-theme-switch (2.0.0rc2+1.0.1-3) unstable; urgency=medium + + * Recommend gtk-engines-pixmap - required for many themes downloaded + outside of Debian. (Closes: #204964) + * Add a README.Debian. + * Change the switch2 symlink to gtk-theme-switch2, since most people + will want to see both in the autocompletion of 'gtk-theme-switch.' + Complain if this is undesirable. + * Add a blank binary-indep target to conform with policy. + * Replace manpage with a nicer and more descriptive one which includes + a description of switch2, made by myself. + * Update to Standards-Version 3.6.0 - no changes needed. + * Tweak the description a little bit. + + -- Joshua Kwan Sun, 17 Aug 2003 01:25:25 -0700 + +gtk-theme-switch (2.0.0rc2+1.0.1-2) unstable; urgency=low + + * switch2 work: + + fix the mkdir issue (see #84916, switch had the same issue) + + as with patch for #164059, don't show theme dirs that do not have + gtk-2.0/gtkrc. (Closes: #198915) + * Use -g when compiling, strip stuff off later. + + -- Joshua Kwan Thu, 26 Jun 2003 20:19:53 -0700 + +gtk-theme-switch (2.0.0rc2+1.0.1-1) unstable; urgency=medium + + * New maintainer (with previous maintainer's consent) + * New upstream version 1.0.1 (GTK+ 1.x version): + + Fix for the 100% CPU usage bug when previewing themes + (Closes: #168445) + * We now build the GTK+ 2.0 binary as well. Available from the same upstream + location. (Closes: #185519) + * Removed dumb debian/CVS directory + * Fixed the source to take umask into account when creating ~/.themes + (Closes: #84916) + * Applied patch from ilmari@ping.uio.no to fix displaying of directories + within /usr/share/themes that did not have gtk/gtkrc (thus not valid + themes. Closes: #164059) + * Revise debian/: + + Use debian/compat instead of DH_COMPAT + + Remove old DH_OPTIONS stuff in rules, useless configure{-stamp} + targets, and boilerplate comments. + + Symlink /usr/bin/switch to /usr/bin/gtk-theme-switch for consistency. + (Closes: #84912) + + Use dh_installman instead of dh_installmanpages + + Remove useless calls to other dh_* programs. + + Remove dependency on tar, which is a required package anyway. + + Install upstream readme, changelog and todo files + + -- Joshua Kwan Thu, 5 Jun 2003 16:27:37 -0700 + +gtk-theme-switch (1.0-3) unstable; urgency=low + * Rebuild to eliminate xlib6g dependency + + -- Aaron Lehmann Wed, 04 Dec 2002 16:23:15 -0800 + +gtk-theme-switch (1.0-2) unstable; urgency=low + * Only install manpage once + + -- Aaron Lehmann Mon, 6 Nov 2000 08:28:53 -0700 + +gtk-theme-switch (1.0-1) unstable; urgency=medium + * Major new upstream release + + -- Aaron Lehmann Tue, 24 Oct 2000 19:03:36 -0700 + +gtk-theme-switch (0.4-4) unstable; urgency=low + * Use debhelper + * Depend on Gtk::Perl (libgtk-perl) + + -- Aaron Lehmann Fri, 22 Sep 2000 16:29:36 -0700 + +gtk-theme-switch (0.4-3) unstable; urgency=low + * make it actually work + + -- Aaron Lehmann Mon, 18 Sep 2000 18:45:03 -0700 + +gtk-theme-switch (0.4-2) unstable; urgency=low + * Make undocumented man pages work + * Depend on perl + * Fix first line of README + + -- Aaron Lehmann Mon, 18 Sep 2000 17:28:58 -0700 + +gtk-theme-switch (0.4-1) unstable; urgency=low + + * Initial release. + + -- Aaron Lehmann Mon, 18 Sep 2000 16:53:50 -0700 + +Local variables: +mode: debian-changelog +End: diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..2c02e05 --- /dev/null +++ b/debian/control @@ -0,0 +1,16 @@ +Source: gtk-theme-switch +Section: x11 +Priority: optional +Maintainer: Denis Briand +DM-Upload-Allowed: yes +Build-Depends: debhelper (>= 7), libgtk2.0-dev +Standards-Version: 3.8.4 + +Package: gtk-theme-switch +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Homepage: http://gna.org/projects/gtk-theme-switch/ +Description: GTK+ theme switching utility + Utilities to easily switch GTK+ themes that can be run from the console, and + has an optional GUI dock and theme preview. It can install themes downloaded + from gtk.themes.org as well straight from the tarball. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..d6f4ec9 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,33 @@ +This package was debianized by Aaron Lehmann on +Mon, 18 Sep 2000 16:53:50 -0700. + +It is now maintained by Denis Briand + +It was downloaded from http://download.gna.org/gtk-theme-switch/ + +Authors: Maher Awamy + Aaron Lehmann + Joshua Kwan + Pedro Villavicencio Garrido + Denis Briand + +Copyright (C) 2009 muhri and Aaron Lehmann + +Copyright: + + 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; version 2 dated June, 1991. + + 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 GNU/Linux systems, the complete text of the GNU General Public +License can be found in /usr/share/common-licenses/GPL-2. + diff --git a/debian/gtk-theme-switch2.1 b/debian/gtk-theme-switch2.1 new file mode 100644 index 0000000..ce67e10 --- /dev/null +++ b/debian/gtk-theme-switch2.1 @@ -0,0 +1,40 @@ +.\" This -*- nroff -*- file has been generated from +.\" DocBook SGML with docbook-to-man on Debian GNU/Linux. +.TH "gtk-theme-switch" "1" +.SH "NAME" +gtk-theme-switch2 \(em program to preview and adjust your GTK+ 2.x theme +.SH "SYNOPSIS" +.PP +\fBgtk-theme-switch2\fP [\fB-h\fP] [\fB-p \fItheme\fP\fP] [\fB-i \fItarball\fP\fP] [\fB-f \fIfont\fP\fP] [\fB-d\fP] +.SH "DESCRIPTION" +.PP +This manual page documents briefly the +\fBgtk-theme-switch2\fP command, utility for managing GTK+ 2.x theme. +.PP +The interface is simple; a "theme dock" is used to select the theme you wish +to change to or preview, and then it is a matter of selecting what you want to +do - apply it or preview it. +.SH "OPTIONS" +.IP "\fB-h\fP" 10 +Show summary of options. +.IP "\fB-d\fP " 10 +Show the 'theme dock' (default.) +.IP "\fB-p [theme]\fP " 10 +Previews the specified theme, or installs it if in a tarball and then previews. +.IP "\fB-i [theme]\fP " 10 +Installs the specified theme, or installs it if in a tarball. +.IP "\fB-f [font]\fP " 10 +Change the GTK+ display font to font. +.SH "SEE ALSO" +.PP +None. +.SH "AUTHOR" +.PP +This manual page was written by Joshua Kwan for +the \fBDebian\fP system (but may be used by others). Permission is +granted to copy, distribute and/or modify this document under +the terms of the GNU Free Documentation +License, Version 1.1 or any later version published by the Free +Software Foundation; with no Invariant Sections, no Front-Cover +Texts and no Back-Cover Texts. +created by instant / docbook-to-man, Sun 17 Aug 2003, 01:18 diff --git a/debian/menu b/debian/menu new file mode 100644 index 0000000..4be8b3f --- /dev/null +++ b/debian/menu @@ -0,0 +1,2 @@ +?package(gtk-theme-switch):needs="X11" section="Applications/System/Administration" \ + title="GTK+ 2.0 Theme Switch" command="/usr/bin/gtk-theme-switch2" diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..294285f --- /dev/null +++ b/debian/rules @@ -0,0 +1,58 @@ +#!/usr/bin/make -f +# debian/rules for gtk-theme-switch + +BDIR = debian/gtk-theme-switch + +export CFLAGS = -Wall -g $(OPTIMIZE) + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + OPTIMIZE = -O0 +else + OPTIMIZE = -O2 +endif + +build: build-stamp +build-stamp: + dh_testdir + $(MAKE) + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp gtk-theme-switch2 + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs usr/bin + install -m 755 gtk-theme-switch2 $(BDIR)/usr/bin + +binary-indep: +# Nothing to be done. + +binary-arch: build install + dh_testdir + dh_testroot + + dh_installmenu + dh_installdocs todo readme + dh_installchangelogs ChangeLog + + dh_installman gtk-theme-switch2.1 + dh_compress + + dh_link + dh_strip + dh_fixperms + + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-arch +.PHONY: build clean binary-arch binary install binary-indep diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..d38d8ac --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +#watch control file for uscan +version=3 +http://download.gna.org/gtk-theme-switch/gtk-theme-switch-(.*)\.tar\.gz debian uupdate -- 2.30.2