Adding debian version 0.5.0-1. debian/0.5.0-1
authorDaniel Baumann <daniel@debian.org>
Mon, 16 Apr 2012 21:16:41 +0000 (21:16 +0000)
committerDaniel Baumann <daniel@debian.org>
Mon, 16 Apr 2012 21:16:41 +0000 (21:16 +0000)
debian/apport/source_lxappearance.py [new file with mode: 0644]
debian/changelog
debian/compat
debian/control
debian/copyright
debian/lxappearance-dev.install [new file with mode: 0644]
debian/lxappearance.install [new file with mode: 0644]
debian/patches/series [new file with mode: 0644]
debian/rules
debian/source/format [new file with mode: 0644]
debian/source/options [new file with mode: 0644]

diff --git a/debian/apport/source_lxappearance.py b/debian/apport/source_lxappearance.py
new file mode 100644 (file)
index 0000000..b8f54e1
--- /dev/null
@@ -0,0 +1,54 @@
+"""
+  Copyright (c) 2010 Julien Lavergne <gilir@ubuntu.com>
+  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 of the License, or
+  (at your option) any later version.
+  This program is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
+  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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+"""
+
+import os
+import apport.hookutils
+
+#Detect session
+session = os.environ['DESKTOP_SESSION']
+
+#Set location of various configuration files
+system_conf = "/etc/xdg/lxsession/"
+home_conf = os.path.expanduser("~/.config/lxsession/")
+gtkrc_conf = os.path.expanduser("~/.gtkrc-2.0")
+icons_default_conf = os.path.expanduser("~.icons/default/index.theme")
+
+#Set description for each file reported by apport
+report_icons_default = "Icons_Default"
+report_gtkrc = "gtkrc_Config"
+if session:
+    report_config_system = "Config_System_" + session
+    report_config_home = "Config_Home_" + session
+
+def add_info(report):
+    if not session:
+        report[report_gtkrc] = apport.hookutils.read_file(gtkrc_conf)
+        report[report_icons_default] = apport.hookutils.read_file(icons_default_conf)
+    elif os.path.exists(os.path.join(home_conf,session,"desktop.conf")):
+    # If a config file exist in HOME, report it instead of the system one.
+        report[report_config_home] = apport.hookutils.read_file(os.path.join(home_conf,session,"desktop.conf"))
+        if os.path.exists(icons_default_conf):
+            report[report_icons_default] = apport.hookutils.read_file(icons_default_conf)
+        else:
+            report[report_icons_default] = "No icons theme configured by default"
+    else:
+        report[report_config_system] = apport.hookutils.read_file(os.path.join(system_conf,session,"desktop.conf"))
+        if os.path.exists(icons_default_conf):
+            report[report_icons_default] = apport.hookutils.read_file(icons_default_conf)
+        else:
+            report[report_icons_default] = "No icons theme configured by default"
index 8630ba9..36f4368 100644 (file)
@@ -1,3 +1,43 @@
+lxappearance (0.5.0-1) unstable; urgency=low
+
+  [ Julien Lavergne ]
+  * New upstream release.
+   - Fix crash with early call to gtkrc_file_get_color_scheme. LP: #642153
+  * debian/patches/lxappearance-0.4.0+git20100807.patch:
+    - Drop, merged upstream.
+  * debian/control:
+   - Add a new binary for files needed to build plugins.
+   - Add a debug package.
+   - Build-depends on lsb-release, needed to detect the distribution.
+   - Build-depends on intltool (>= 0.40.0), libx11-dev,
+     libmenu-cache1-dev (>= 0.3.2).
+   - Bump build-depends on libgtk2.0-dev (>= 2.12) and libglib2.0-dev (>= 2.18).
+   - Wrap depends and build-depends.
+  * debian/*.install:
+   - Split installed files.
+  * debian/apport/source_lxappearance.py:
+   - Add apport hook.
+  * debian/rules:
+   - Install apport hook only on Ubuntu.
+   - Add dh_strip call for the debug package.
+   - Use --fail-missing for dh_install.
+   - Disable autoreconf call for this stable release.
+  * debian/copyright:
+   - Update copyright year.
+
+  [ Andrew Lee (李健秋) ]
+  * Use Debian LXDE Packaging Team address.
+  * Bumped Standard-version to 3.9.2
+  * Added Vcs-Git and Vcs-Browser tags
+  * Switch to dpkg-source 3.0 (quilt) format
+  * Added a patch that sync with upstream snapshot
+  * Build-depends on debhelper (>= 7.0.50~)
+  * Bumped to dh7
+  * Update rules file to dh7 format
+  * Fix description-synopsis-starts-with-article lintien warning
+
+ -- Andrew Lee (李健秋) <ajqlee@debian.org>  Wed, 20 Jul 2011 00:30:09 +0800
+
 lxappearance (0.4.0-1) unstable; urgency=low
 
   * New upstream release (Closes: #562564, #532847)
index 7ed6ff8..7f8f011 100644 (file)
@@ -1 +1 @@
-5
+7
index 21e1249..c4d760e 100644 (file)
@@ -1,15 +1,31 @@
 Source: lxappearance
 Section: utils
 Priority: extra
-Maintainer: Andrew Lee (李健秋) <ajqlee@debian.org>
-Build-Depends: debhelper (>= 5), autotools-dev, libgtk2.0-dev (>= 2.6), libglib2.0-dev (>= 2.6), docbook-xsl, docbook-xml, xsltproc, intltool
-Standards-Version: 3.8.3
+Maintainer: Debian LXDE Packaging Team <pkg-lxde-maintainers@lists.alioth.debian.org>
+Uploaders: Andrew Lee (李健秋) <ajqlee@debian.org>
+Build-Depends: debhelper (>= 7.0.50~), 
+               autotools-dev, 
+               libgtk2.0-dev (>= 2.12),
+               libglib2.0-dev (>= 2.18),
+               libx11-dev,
+               libmenu-cache1-dev (>= 0.3.2),
+               docbook-xsl,
+               docbook-xml,
+               xsltproc,
+               intltool (>= 0.40.0),
+               lsb-release
+Standards-Version: 3.9.2
 Homepage: http://lxde.org
+Vcs-Git: git://git.debian.org/git/collab-maint/lxappearance.git
+Vcs-Browser: http://git.debian.org/?p=collab-maint/lxappearance.git;a=summary
+
 
 Package: lxappearance
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, gtk2-engines
-Description: a new feature-rich GTK+ theme switcher
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         gtk2-engines
+Description: new feature-rich GTK+ theme switcher
  LXAppearance is a new feature-rich GTK+ theme switcher able to change
  GTK+ themes, icon themes, and fonts used by applications. 
  .
@@ -26,3 +42,27 @@ Description: a new feature-rich GTK+ theme switcher
  .
  LXAppearance is developed from LXDE(the Lightweight X11 Desktop 
  Environment) project. But it works on other GTK+ based system too.
+
+Package: lxappearance-dev
+Architecture: any
+Depends: lxappearance (= ${binary:Version}),
+         libgtk2.0-dev (>= 2.12),
+         ${shlibs:Depends},
+         ${misc:Depends}
+Description: new feature-rich GTK+ theme switcher - development files
+ LXAppearance is a new feature-rich GTK+ theme switcher able to change
+ GTK+ themes, icon themes, and fonts used by applications. 
+ .
+ This package contains the development headers.
+
+Package: lxappearance-dbg
+Architecture: any
+Section: debug
+Depends: lxappearance (= ${binary:Version}),
+         ${shlibs:Depends},
+         ${misc:Depends}
+Description: new feature-rich GTK+ theme switcher - debugging symbols
+ LXAppearance is a new feature-rich GTK+ theme switcher able to change
+ GTK+ themes, icon themes, and fonts used by applications. 
+ .
+ This package contains the debugging symbols.
index 01525c8..5e28b41 100644 (file)
@@ -10,7 +10,7 @@ Upstream Author:
 
 Copyright Holder: 
 
-    Copyright (C) 2008 Hong Jen Yee (PCMan)
+    Copyright (C) 2010 Hong Jen Yee (PCMan)
 
 License:
 
diff --git a/debian/lxappearance-dev.install b/debian/lxappearance-dev.install
new file mode 100644 (file)
index 0000000..da07fdd
--- /dev/null
@@ -0,0 +1,2 @@
+usr/include
+usr/lib
diff --git a/debian/lxappearance.install b/debian/lxappearance.install
new file mode 100644 (file)
index 0000000..f7177e8
--- /dev/null
@@ -0,0 +1,2 @@
+usr/bin
+usr/share
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644 (file)
index 0000000..8b13789
--- /dev/null
@@ -0,0 +1 @@
+
index 85067c9..20674c7 100755 (executable)
 #!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright (C) 2009-2010 Andrew Lee (李健秋) <ajqlee@debian.org>
+# Description: Main Debian packaging script for morituri
+#
+# 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, see <http://www.gnu.org/licenses/>.
+# Uncomment this to turn on verbose mode.
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-#include /usr/share/dpatch/dpatch.make
-
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
-DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-
-
-config.status: configure
-       dh_testdir
-       # Add here commands to configure the package.
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-       cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-       cp -f /usr/share/misc/config.guess config.guess
-endif
-       ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --enable-man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
-
-
-build: build-stamp
+DISTRO = "$(shell lsb_release -si)"
 
-build-stamp:  config.status
-       dh_testdir
+%:
+       dh $@
 
-       # Add here commands to compile the package.
-       $(MAKE)
-       #docbook-to-man debian/lxappearance.sgml > lxappearance.1
+override_dh_auto_configure:
+       #/usr/bin/autoreconf -fiv
+       dh_auto_configure -- --enable-man 
 
-       touch $@
+override_dh_auto_clean:
+       rm -f man/lxpanel.1 man/lxpanelctl.1
+       dh_auto_clean
 
-clean:
-       dh_testdir
-       dh_testroot
-       rm -f build-stamp 
-
-       # Add here commands to clean up after the build process.
-       [ ! -f Makefile ] ||  $(MAKE) distclean
-       rm -f config.sub config.guess
-       rm -f po/*.gmo
-
-       dh_clean 
-
-install: build
-       dh_testdir
-       dh_testroot
-       dh_clean -k 
-       dh_installdirs
-
-       # Add here commands to install the package into debian/lxappearance.
-       $(MAKE) DESTDIR=$(CURDIR)/debian/lxappearance install
-
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
+override_dh_install:
+       dh_install --fail-missing
+       #Install apport hook only on Ubuntu
+ifeq ($(DISTRO),"Ubuntu")
+       dh_install -plxappearance debian/apport/source_lxappearance.py usr/share/apport/package-hooks
+endif
 
-# Build architecture-dependent files here.
-binary-arch: build install
-       dh_testdir
-       dh_testroot
-       dh_installchangelogs 
-       dh_installdocs
-       dh_installexamples
-#      dh_install
-#      dh_installmenu
-#      dh_installdebconf       
-#      dh_installlogrotate
-#      dh_installemacsen
-#      dh_installpam
-#      dh_installmime
-#      dh_python
-#      dh_installinit
-#      dh_installcron
-#      dh_installinfo
-       dh_installman
-       dh_link
-       dh_strip
-       dh_compress
-       dh_fixperms
-#      dh_perl
-#      dh_makeshlibs
-       dh_installdeb
-       dh_shlibdeps
-       dh_gencontrol
-       dh_md5sums
-       dh_builddeb
+override_dh_auto_test:
+       :       
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install 
+override_dh_strip:
+       dh_strip --dbg-package=lxappearance-dbg
diff --git a/debian/source/format b/debian/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/options b/debian/source/options
new file mode 100644 (file)
index 0000000..779dbfd
--- /dev/null
@@ -0,0 +1,2 @@
+compression = "bzip2"
+compression-level = 9