Add a debian directory based on the Debian one.
authorJulien Lavergne <julien.lavergne@gmail.com>
Tue, 15 May 2012 21:00:24 +0000 (23:00 +0200)
committerJulien Lavergne <julien.lavergne@gmail.com>
Tue, 15 May 2012 21:29:31 +0000 (23:29 +0200)
12 files changed:
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/local/source_lxappearance.py [new file with mode: 0644]
debian/lxappearance-dev.install [new file with mode: 0644]
debian/lxappearance.install [new file with mode: 0644]
debian/lxappearance.menu [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/source/format [new file with mode: 0644]
debian/source/options [new file with mode: 0644]
debian/watch [new file with mode: 0644]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..ca07078
--- /dev/null
@@ -0,0 +1,172 @@
+lxappearance (0.5.1-2) unstable; urgency=low
+
+  * Updating maintainer field.
+  * Adding myself to uploaders.
+  * Updating vcs fields.
+  * Removing whitespaces at EOL and EOF.
+  * Updating package to debhelper version 9.
+  * Updating package to standards version 3.9.3.
+  * Making build-depends unversioned where already fulfiled as of
+    squeeze.
+  * Updating homepage field.
+  * Rewriting copyright file machine-readable format version 1.0.
+  * Always installing appport hook, not just on ubuntu only.
+  * Decrufting rules file.
+  * Switching to xz compression for both the source and the binary
+    packages.
+  * Reworking package descriptions.
+  * Completing menu file.
+  * Correcting depends.
+  * Removing patches left-overs.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 16 Apr 2012 21:39:22 +0000
+
+lxappearance (0.5.1-1) unstable; urgency=low
+
+  * Removing useless whitespaces at EOL and EOF.
+  * Use debhelper 8
+  * Sorting build-depends.
+  * Wapping build-depends.
+  * Sorting and rewapping depends.
+  * Updating Vcs-Browser and Vcs-Git tags.
+  * Removing debian/docs file which contain not useful thing.
+  * Compacting watch file.
+  * Compacting rules file.
+  * Removing unused debian/dirs file.
+  * Adding apport hook for Ubuntu and Ubuntu derivatives from
+    Julien Lavergne <gilir@ubuntu.com>.
+  * Updating build-depends.
+  * Converting debian/copyright into machine readable format.
+  * Merging upstream version 0.5.1:
+    - Updated copyright year
+    - Removing useless whitespaces at EOL and EOF.
+    - Correcting automake handling for –enable-man configure option
+      that has never worked in the first place.
+    - Rather than failing with an error when build is run
+      with –enable-man=no, now printing only a warning instead.
+    - Rather than unconditionally regenerating the manpage,
+      setting the –enable-man default to yes.
+    - Update FSF address
+    - fixed assignment and plugged memory leak
+    - fixed the types of the app struct members holding the
+      gtk-xft-hintstyle and gtk-xft-hintstyle properties
+    - Remove deprecated property in ui file
+    - Add an option to compile with gtk3
+    - Write gtkrc file in gtk3 directory
+    - Revert also commit on plugin
+    - Revert part of the commit for compiler warnings, to fix loading themes.
+    - Update po with migration to UI
+    - Fix not capitalized string
+    - Add new font configuration tab.
+    - Apply patch on GTK3 migration
+    - Use directly ui file instead of glade files
+    - Improve build system (new flags, silent rules)
+  * Remove useless autoreconf from rules file.
+  * Remove useless override_dh_auto_clean from rules file.
+  * Disabling dh_auto_test in rules file: check failed in po/.
+  * Installing lxappearance.menu. (Closes: #587791)
+  * Moving gtk2-engines from depends to recommends. (Closes: #592683)
+
+ -- Andrew Lee (李健秋) <ajqlee@debian.org>  Sat, 30 Jul 2011 22:08:42 +0800
+
+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)
+    - Replace all Glade-generated code with GtkBuilder
+    - Use icon names defined in newer icon naming spec.
+    - UI adjustment
+    - Fix memory leaks and compiler warnings.
+    - Translation update
+
+ -- Andrew Lee (李健秋) <ajqlee@debian.org>  Thu, 07 Jan 2010 00:11:40 +0800
+
+lxappearance (0.3.0+svn20091218-1) unstable; urgency=low
+
+  * Sync with upstream for bug fix
+    - fix category in lxappearance.desktop
+    - Cursor theme modification is disabled by default since it is buggy
+    - Translation update
+
+ -- Andrew Lee (李健秋) <ajqlee@debian.org>  Fri, 18 Dec 2009 15:35:01 +0800
+
+lxappearance (0.3+svn20091101-1) unstable; urgency=low
+
+  * New upstream release (Closes:#559463)
+    - Support the latest lxsession-Xsettings-daemon
+    - Cursor size support
+  * Drop dpatch. (patches merged into upstream)
+  * Update homepage url
+
+ -- Andrew Lee (李健秋) <ajqlee@debian.org>  Sat, 05 Dec 2009 12:33:48 +0800
+
+lxappearance (0.2.1-2) unstable; urgency=low
+
+  * Applied 01_fix_infinite_loop.dpatch (Closes:#541666)
+  * debian/control:
+    - Build-depends on intltool, dpatch
+  * debian/rules:
+    - autoreconf -fiv
+
+ -- Andrew Lee (李健秋) <ajqlee@debian.org>  Sat, 15 Aug 2009 21:38:26 +0800
+
+lxappearance (0.2.1-1) unstable; urgency=low
+
+  * New upstream release
+    - Use Docbook-XML instead of SGML for manpages
+    - Enable regeneration of man pages via "configure --enable-man"
+    - Compilation error fix
+    - Translation update (Cloese:#532847)
+  * Correct debian/watch
+  * debian/rules:
+    - Added --enable-man
+  * debian/control:
+    - Build-depends on docbook-xsl
+  * Bumped Stardard-version to 3.8.2
+
+ -- Andrew Lee (李健秋) <ajqlee@debian.org>  Sun, 26 Jul 2009 21:32:32 +0200
+
+lxappearance (0.2-1) unstable; urgency=low
+
+  * Initial release (Closes: #482165)
+
+ -- Andrew Lee <andrew@linux.org.tw>  Sun, 25 May 2008 14:49:18 +0800
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..ec63514
--- /dev/null
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..d656d42
--- /dev/null
@@ -0,0 +1,54 @@
+Source: lxappearance
+Section: utils
+Priority: extra
+Maintainer: Debian LXDE Maintainers <lxde-debian@lists.lxde.org>
+Uploaders:
+ Andrew Lee (李健秋) <ajqlee@debian.org>, Daniel Baumann <daniel@debian.org>
+Build-Depends:
+ debhelper (>= 9), autotools-dev, intltool, docbook-xml, docbook-xsl,
+ libglib2.0-dev, libgtk2.0-dev, libmenu-cache1-dev, libx11-dev, xsltproc, dh-autoreconf
+Standards-Version: 3.9.3
+Homepage: http://www.lxde.org/
+Vcs-Browser: http://git.lxde.org/gitweb/?p=debian/lxappearance.git
+Vcs-Git: git://git.lxde.org/git/debian/lxappearance.git
+
+Package: lxappearance
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Recommends: gtk2-engines
+Description: LXDE GTK+ theme switcher
+ LXAppearance is a GUI application for the Lightweight X11 Desktop Environment
+ (LXDE).
+ .
+ It is a new feature-rich GTK+ theme switcher able to change GTK+ themes, icon
+ themes, and fonts used by applications. GNOME/KDE/Xfce user may use build-in
+ theme, this works for GTK+ based lightweight desktop Environment.
+ .
+ Features:
+ .
+  * Choose GTK+ theme
+  * Choose icon theme
+  * Install new icon theme
+  * Choose their favorite font
+  * Choose toolbar style
+  * See changes immediately in preview area
+
+Package: lxappearance-dev
+Architecture: any
+Depends: ${misc:Depends}, lxappearance (= ${binary:Version})
+Description: LXDE GTK+ theme switcher (development)
+ LXAppearance is a GUI application for the Lightweight X11 Desktop Environment
+ (LXDE).
+ .
+ This package contains the development files.
+
+Package: lxappearance-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends: ${misc:Depends}, lxappearance (= ${binary:Version})
+Description: LXDE GTK+ theme switcher (debug)
+ LXAppearance is a GUI application for the Lightweight X11 Desktop Environment
+ (LXDE).
+ .
+ This package contains the debugging symbols.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..b97eac4
--- /dev/null
@@ -0,0 +1,31 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: LXAppearance
+Upstream-Contact: lxde-list@lists.sourceforge.net
+Source: http://sourceforge.net/projects/lxde/files/
+
+Files: *
+Copyright: 2009-2011 Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
+           2009-2011 Ying-Chun Liu (PaulLiu) <grandpaul@gmail.com>
+License: GPL-2+
+
+Files: debian/*
+Copyright: 2008-2012 Andrew Lee (李健秋) <ajqlee@debian.org>
+License: GPL-2+
+
+License: GPL-2+
+ 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.
+ .
+ The complete text of the GNU General Public License
+ can be found in /usr/share/common-licenses/GPL-2 file.
diff --git a/debian/local/source_lxappearance.py b/debian/local/source_lxappearance.py
new file mode 100644 (file)
index 0000000..1152fa5
--- /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"
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..61fa0cd
--- /dev/null
@@ -0,0 +1,4 @@
+usr/bin
+usr/share
+
+debian/local/source_lxappearance.py    /usr/share/apport/package-hooks
diff --git a/debian/lxappearance.menu b/debian/lxappearance.menu
new file mode 100644 (file)
index 0000000..b4063ef
--- /dev/null
@@ -0,0 +1,4 @@
+?package(lxappearance):needs="X11" section="Applications/System/Administration"\
+  title="LXAppearance" longtitle="LXDE GTK+ theme switcher"\
+  description="LXAppearance is a GUI application for the Lightweight X11 Desktop Environment (LXDE). It is a new feature-rich GTK+ theme switcher able to change GTK+ themes, icon themes, and fonts used by applications. GNOME/KDE/Xfce user may use build-in theme, this works for GTK+ based lightweight desktop Environment."\
+  command="/usr/bin/lxappearance"
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..cf813ac
--- /dev/null
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+
+%:
+       dh ${@} --with autoreconf
+
+override_dh_auto_configure:
+       dh_auto_configure -- --enable-man
+
+override_dh_auto_test:
+       # disabled: test fails in po directory
+
+override_dh_builddeb:
+       dh_builddeb -- -Zxz -z9
+
+override_dh_install:
+       dh_install --fail-missing
+
+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..89ae9db
--- /dev/null
@@ -0,0 +1 @@
+3.0 (native)
diff --git a/debian/source/options b/debian/source/options
new file mode 100644 (file)
index 0000000..74a452b
--- /dev/null
@@ -0,0 +1,2 @@
+compression = "xz"
+compression-level = 9
diff --git a/debian/watch b/debian/watch
new file mode 100644 (file)
index 0000000..bf80b48
--- /dev/null
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/lxde/lxappearance-(.*)\.tar\.gz