--- geanydoc-0.4.orig/debian/geany-plugin-doc.lintian-overrides +++ geanydoc-0.4/debian/geany-plugin-doc.lintian-overrides @@ -0,0 +1,2 @@ +# This is a plugin to search for documentation, not containing documentation +geany-plugin-doc binary: wrong-section-according-to-package-name --- geanydoc-0.4.orig/debian/rules +++ geanydoc-0.4/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + +LDFLAGS += -Wl,-z,defs -Wl,--as-needed +install/geany-plugin-doc:: + rm -f $(DEB_DESTDIR)/usr/lib/geany/*.la --- geanydoc-0.4.orig/debian/copyright +++ geanydoc-0.4/debian/copyright @@ -0,0 +1,28 @@ +Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat +Upstream-Name: geanydoc +Upstream-Maintainer: Yura Siamashka +Upstream-Source: http://plugins.geany.org/geanydoc/ + +Files: * +Copyright: 2008 Yura Simashka +License: GPL-3+ + +Files: debian/* +Copyright: 2009 Chow Loong Jin +License: GPL-3+ + +License: GPL-3+ + 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 3 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. On Debian and Debian-based systems, it can be + found in /usr/share/common-licenses/GPL-3 + --- geanydoc-0.4.orig/debian/watch +++ geanydoc-0.4/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://plugins.geany.org/geanydoc/ .*/geanydoc-(.*)\.tar\.gz --- geanydoc-0.4.orig/debian/changelog +++ geanydoc-0.4/debian/changelog @@ -0,0 +1,37 @@ +geanydoc (0.4-0ubuntu1~hyper2+intrepid1) intrepid; urgency=low + + * Backport to Intrepid + + -- Chow Loong Jin Sat, 02 May 2009 17:46:33 +0800 + +geanydoc (0.4-0ubuntu1~hyper2+jaunty1) jaunty; urgency=low + + * debian/control: + + Improve description. One paragraph contributed by RainCT + * debian/watch, + debian/changelog: + + Remove trailing line + * debian/copyright: + + Move license text to its own section. + * debian/geany-plugin-doc.lintian-overrides: + + Correct lintian tag + + -- Chow Loong Jin Sat, 02 May 2009 12:25:00 +0800 + +geanydoc (0.4-0ubuntu1~hyper1+intrepid1) intrepid; urgency=low + + * No change upload to PPA + + -- Chow Loong Jin Thu, 30 Apr 2009 22:26:57 +0800 + +geanydoc (0.4-0ubuntu1~hyper1+jaunty1) jaunty; urgency=low + + * No change upload to PPA + + -- Chow Loong Jin Thu, 30 Apr 2009 21:47:00 +0800 + +geanydoc (0.4-0ubuntu1) karmic; urgency=low + + * Initial release (LP: #333706) + + -- Chow Loong Jin Tue, 21 Apr 2009 18:58:12 +0800 --- geanydoc-0.4.orig/debian/control +++ geanydoc-0.4/debian/control @@ -0,0 +1,33 @@ +Source: geanydoc +Section: devel +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Chow Loong Jin +Build-Depends: cdbs, + debhelper (>= 5), + autotools-dev, + quilt, + pkg-config, + geany (>= 0.16), + libgtk2.0-dev (>= 2.6.0), + check (>= 0.9.4) +Standards-Version: 3.8.1 +Homepage: http://plugins.geany.org/geanydoc/ + +Package: geany-plugin-doc +Architecture: any +Depends: geany (>= 0.16), + ${shlibs:Depends}, + ${misc:Depends} +Description: a documentation plugin for Geany + Geanydoc is a plugin for the Geany IDE which is intended to be used to search + for documentation API from different sources. It allows execution of specified + commands on the current word at the cursor position or otherwise specified via + a dialog to obtain this documentation. This documentation is displayed in the + geany buffer as a tab called *DOC*, or may be displayed in an external program. + . + After installing this package, you'll need to enable the "Doc" plugin + and then setup a keyword binding for it in Geany's preferences dialogue. + . + Geany is a small and lightweight integrated development environment using the + GTK2 toolkit. --- geanydoc-0.4.orig/debian/compat +++ geanydoc-0.4/debian/compat @@ -0,0 +1 @@ +5 --- geanydoc-0.4.orig/debian/patches/99_ltmain_as-needed.patch +++ geanydoc-0.4/debian/patches/99_ltmain_as-needed.patch @@ -0,0 +1,33 @@ +Patch to add support for --as-needded flag to drop unnecessary deps +Index: geanyvc-0.4/ltmain.sh +=================================================================== +--- geanyvc-0.4.orig/ltmain.sh 2008-10-23 05:11:06.000000000 +0800 ++++ geanyvc-0.4/ltmain.sh 2009-01-31 01:59:00.000000000 +0800 +@@ -4189,6 +4189,11 @@ + arg=$func_stripname_result + ;; + ++ -Wl,--as-needed) ++ deplibs="$deplibs $arg" ++ continue ++ ;; ++ + -Wl,*) + func_stripname '-Wl,' '' "$arg" + args=$func_stripname_result +@@ -4540,6 +4545,15 @@ + lib= + found=no + case $deplib in ++ -Wl,--as-needed) ++ if test "$linkmode,$pass" = "prog,link"; then ++ compile_deplibs="$deplib $compile_deplibs" ++ finalize_deplibs="$deplib $finalize_deplibs" ++ else ++ deplibs="$deplib $deplibs" ++ fi ++ continue ++ ;; + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" --- geanydoc-0.4.orig/debian/patches/series +++ geanydoc-0.4/debian/patches/series @@ -0,0 +1 @@ +99_ltmain_as-needed.patch