Adding debian version 0.3.5.2+svn20080509-1. debian/0.3.5.2+svn20080509-1
authorDaniel Baumann <daniel@debian.org>
Fri, 20 Apr 2012 11:37:44 +0000 (13:37 +0200)
committerDaniel Baumann <daniel@debian.org>
Fri, 20 Apr 2012 11:37:44 +0000 (13:37 +0200)
13 files changed:
debian/README.Debian [new file with mode: 0644]
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/dirs [new file with mode: 0644]
debian/docs [new file with mode: 0644]
debian/lxde-x-terminal-emulator.desktop [new file with mode: 0644]
debian/lxde-x-www-browser.desktop [new file with mode: 0644]
debian/patches/00list [new file with mode: 0644]
debian/patches/01_default-config.dpatch [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/watch [new file with mode: 0644]

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644 (file)
index 0000000..1c33ee9
--- /dev/null
@@ -0,0 +1,5 @@
+lxpanel for Debian
+------------------
+
+
+ -- Andrew Lee <andrew@linux.org.tw>  Thu, 21 Feb 2008 21:21:11 +0800
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..812085e
--- /dev/null
@@ -0,0 +1,5 @@
+lxpanel (0.3.5.2+svn20080509-1) unstable; urgency=low
+
+  * Initial release (Closes: #466562)
+
+ -- Andrew Lee <andrew@linux.org.tw>  Fri, 09 May 2008 17:10:24 +0800
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..22ddbbc
--- /dev/null
@@ -0,0 +1,30 @@
+Source: lxpanel
+Section: x11
+Priority: optional
+Maintainer: Andrew Lee <andrew@linux.org.tw>
+Build-Depends: debhelper (>= 5), autotools-dev, libgtk2.0-dev (>=2.6), libglib2.0-dev(>=2.10), libxmu-dev, libxpm-dev, libiw-dev, libasound2-dev, docbook-to-man, dpatch
+Standards-Version: 3.7.3
+Homepage: http://www.gnomefiles.org/app.php/LXPanel
+
+Package: lxpanel
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Suggests: lxsession-lite (>=0.3.5) | lxsession (>=0.3.2) | menu
+Description: a lightweight desktop panel for X
+ LXPanel is a lightweight GTK+ 2.x based desktop panel which is a 
+ derivative work from fbpanel with following features:
+  * User-friendly application menu automatically generated from .desktop
+    files on the system.
+  * Launcher bar (small icons clicked to launch apps).
+  * Task bar supporting urgency hint (can be flash when gaim gets new
+    incoming messages).
+  * Run dialog (a dialog let you type a command and run, can be called
+    in external programs).
+  * Net status icon plug-in (optional).
+  * Volume control plug-in (optional).
+  * Notification area (system tray).
+  * Digital clock.
+  * lxpanelctl, an external controller let you control lxpanel in
+    other programs. For example, "lxpanelctl run" will show the Run
+    dialog in lxpanel, and "lxpanelctl menu" will show the application
+    menu. This is useful in key bindings provided by window managers.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..c7f396d
--- /dev/null
@@ -0,0 +1,56 @@
+This package was debianized by Andrew Lee <andrew@linux.org.tw> on
+Thu, 21 Feb 2008 21:21:11 +0800.
+
+It was downloaded from http://sourceforge.net/projects/lxde/
+
+Upstream Authors and Copyright Holders: 
+
+    Hong Jen Yee (PCMan)  <pcman.tw@gmail.com>
+    Jim Huang  <jserv.tw@gmail.com>
+    Greg McNew <gmcnew@gmail.com> (battery plugin)
+    Fred Chien <cfsghost@gmail.com>
+
+Files src/{gtkbgbox,gtkbar}.*:
+
+    Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
+
+    Licensed under the GNU Library General Public License (LGPL),
+    either version 2, or (at your option) any later version.
+
+Files src/systray/eggtraymanager.*:
+
+    Copyright (C) 2002 Anders Carlsson <andersca@gnu.org>
+    Copyright (C) 2003-2006 Vincent Untz
+
+    Licensed under the GNU Library General Public License (LGPL),
+    either version 2, or (at your option) any later version.
+
+
+File src/plugins/ptk-app-menu.c
+
+    Copyright (C) 2006 Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
+
+    Licensed under the GNU Library General Public License (LGPL)
+    Version 2.
+
+
+License:
+
+    This software is free software; you can redistribute it and/or
+    modify it under the terms of the GNU General Public License(with
+    a special exception described below). as published by the Free
+    Software Foundation; either version 2 of the License, or (at your
+    option) any later version.
+
+    This library 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 library; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 
+    02110-1301, USA.
+
+The Debian packaging is (C) 2008, Andrew Lee <andrew@linux.org.tw> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644 (file)
index 0000000..e772481
--- /dev/null
@@ -0,0 +1 @@
+usr/bin
diff --git a/debian/docs b/debian/docs
new file mode 100644 (file)
index 0000000..50bd824
--- /dev/null
@@ -0,0 +1,2 @@
+NEWS
+README
diff --git a/debian/lxde-x-terminal-emulator.desktop b/debian/lxde-x-terminal-emulator.desktop
new file mode 100644 (file)
index 0000000..ef06652
--- /dev/null
@@ -0,0 +1,19 @@
+[Desktop Entry]
+Encoding=UTF-8
+Version=1.0
+Name=Terminal emulator
+Name[zh_CN]=终端
+Name[zh_TW]=終端機
+Comment=Terminal Emulator
+Comment[zh_TW]=終端機程式
+GenericName=Terminal Emulator
+GenericName[zh_TW]=終端機程式
+Exec=/usr/bin/x-terminal-emulator
+Icon=Terminal
+Terminal=false
+Type=Application
+Categories=System;TerminalEmulator;Utility;
+StartupNotify=true
+NoDisplay=true
+
+# vi:set encoding=UTF-8:
diff --git a/debian/lxde-x-www-browser.desktop b/debian/lxde-x-www-browser.desktop
new file mode 100644 (file)
index 0000000..93ab868
--- /dev/null
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Web Browser
+GenericName=X Web Browser
+Exec=/usr/bin/x-www-browser %u
+Terminal=false
+Type=Application
+Categories=GTK;WebBrowser;Network
+Icon=applications-internet
+NoDisplay=true
diff --git a/debian/patches/00list b/debian/patches/00list
new file mode 100644 (file)
index 0000000..0ac59e1
--- /dev/null
@@ -0,0 +1 @@
+01_default-config.dpatch
diff --git a/debian/patches/01_default-config.dpatch b/debian/patches/01_default-config.dpatch
new file mode 100644 (file)
index 0000000..56f9efc
--- /dev/null
@@ -0,0 +1,23 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_default-config.dpatch by Andrew Lee <andrew@linux.org.tw>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Change default terminal and web browser.
+
+@DPATCH@
+diff -urNad lxpanel-0.3.5.2~/data/default/panels/panel.in lxpanel-0.3.5.2/data/default/panels/panel.in
+--- lxpanel-0.3.5.2~/data/default/panels/panel.in      2008-04-20 18:09:12.000000000 +0800
++++ lxpanel-0.3.5.2/data/default/panels/panel.in       2008-04-20 18:53:54.000000000 +0800
+@@ -53,10 +53,10 @@
+             id=pcmanfm.desktop
+         }
+         Button {
+-            id=gnome-terminal.desktop
++            id=lxde-x-terminal-emulator.desktop
+         }
+         Button {
+-            id=firefox.desktop
++            id=lxde-x-www-browser.desktop
+         }
+     }
+ }
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..8d04ee1
--- /dev/null
@@ -0,0 +1,119 @@
+#!/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.
+
+# 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 patch-stamp
+       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 \
+       --infodir=\$${prefix}/share/info \
+       CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,--as-needed"
+
+
+build: build-stamp
+
+build-stamp:  config.status
+       dh_testdir
+
+       # Add here commands to compile the package.
+       $(MAKE)
+       #docbook-to-man debian/lxpanel.sgml > lxpanel.1
+
+       touch $@
+
+clean: unpatch
+       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 intltool-extract \
+             intltool-update \
+             intltool-merge \
+             man/lxpanel.1  \
+             man/lxpanelctl.1
+
+       dh_clean 
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k 
+       dh_installdirs
+
+       # Add here commands to install the package into debian/lxpanel.
+       $(MAKE) DESTDIR=$(CURDIR)/debian/lxpanel install
+
+       # Install .desktop files
+       install -d $(CURDIR)/debian/lxpanel/usr/share/applications
+       install -m644 $(CURDIR)/debian/lxde-x-terminal-emulator.desktop \
+                       $(CURDIR)/debian/lxpanel/usr/share/applications
+       install -m644 $(CURDIR)/debian/lxde-x-www-browser.desktop \
+                       $(CURDIR)/debian/lxpanel/usr/share/applications
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# 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_desktop -A lxde-x-terminal-emulator.desktop lxde-x-www-browser.desktop
+       dh_installman
+       dh_link
+       dh_strip
+       dh_compress
+       dh_fixperms
+#      dh_perl
+#      dh_makeshlibs
+       dh_installdeb
+       dh_shlibdeps
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 
diff --git a/debian/watch b/debian/watch
new file mode 100644 (file)
index 0000000..11828ec
--- /dev/null
@@ -0,0 +1,12 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# See uscan(1) for format
+
+# Compulsory line, this is a version 3 file
+version=3
+
+# Uncomment to find new files on sourceforge, for debscripts >= 2.9
+http://sf.net/lxde/lxpanel-([\d.]*)\.tar\.gz
+
+