From 0cc79c34f5e9be7eced52b0565e8e79acfa5f4e6 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 3 Aug 2011 14:44:58 -0500 Subject: Add initial Debian Lenny/Squeeze packaging as well as symlink Lucid to Maverick --- debian/lenny/applications/knowit/debian/changelog | 33 +++++++ debian/lenny/applications/knowit/debian/compat | 1 + debian/lenny/applications/knowit/debian/control | 16 ++++ debian/lenny/applications/knowit/debian/copyright | 26 ++++++ debian/lenny/applications/knowit/debian/docs | 3 + debian/lenny/applications/knowit/debian/knowit.1 | 51 +++++++++++ debian/lenny/applications/knowit/debian/rules | 100 ++++++++++++++++++++++ debian/lenny/applications/knowit/debian/watch | 3 + 8 files changed, 233 insertions(+) create mode 100644 debian/lenny/applications/knowit/debian/changelog create mode 100644 debian/lenny/applications/knowit/debian/compat create mode 100644 debian/lenny/applications/knowit/debian/control create mode 100644 debian/lenny/applications/knowit/debian/copyright create mode 100644 debian/lenny/applications/knowit/debian/docs create mode 100644 debian/lenny/applications/knowit/debian/knowit.1 create mode 100755 debian/lenny/applications/knowit/debian/rules create mode 100644 debian/lenny/applications/knowit/debian/watch (limited to 'debian/lenny/applications/knowit') diff --git a/debian/lenny/applications/knowit/debian/changelog b/debian/lenny/applications/knowit/debian/changelog new file mode 100644 index 000000000..b5d67442f --- /dev/null +++ b/debian/lenny/applications/knowit/debian/changelog @@ -0,0 +1,33 @@ +knowit-trinity (0.10-0ubuntu4) karmic; urgency=low + + * Added aRts support + * Karmic upload + + -- Timothy Pearson Thu, 29 Oct 2009 21:23:00 -0600 + +knowit (0.10-0ubuntu3) jaunty; urgency=low + + * Remove aRts support. (LP: #320915) + - debian/rules: Add --without-arts to ./configure line. + + -- Andreas Wenning Tue, 24 Mar 2009 19:00:23 +0100 + +knowit (0.10-0ubuntu2) hardy; urgency=low + + * debian/watch: + + Update filename extension from .gz to .bz2 (LP: #180121). + * debian/rules: + + Modify dh_iconcache to dh_icons. + * debian/control: + + Bump Standards-Version to 3.7.3 (no changes). + + Add Homepage field and remove it from Long Description. + + Modify Maintainer value to match the DebianMaintainerField specification. + + -- Marco Rodrigues Thu, 03 Jan 2008 17:36:43 +0000 + +knowit (0.10-0ubuntu1) edgy; urgency=low + + * Initial release + + -- Lorenzo Villani Thu, 24 Aug 2006 11:06:54 +0200 + diff --git a/debian/lenny/applications/knowit/debian/compat b/debian/lenny/applications/knowit/debian/compat new file mode 100644 index 000000000..7ed6ff82d --- /dev/null +++ b/debian/lenny/applications/knowit/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/lenny/applications/knowit/debian/control b/debian/lenny/applications/knowit/debian/control new file mode 100644 index 000000000..0ee59ee1b --- /dev/null +++ b/debian/lenny/applications/knowit/debian/control @@ -0,0 +1,16 @@ +Source: knowit-trinity +Section: kde +Priority: optional +Maintainer: Timothy Pearson +XSBC-Original-Maintainer: Lorenzo Villani +Build-Depends: debhelper (>= 5), kdelibs4-trinity-dev, automake, autoconf, libtool, libltdl-dev +Standards-Version: 3.8.4 +Homepage: http://knowit.sourceforge.net/ + +Package: knowit-trinity +Architecture: any +Depends: ${shlibs:Depends} +Description: Tool for managing notes [Trinity] + KnowIt is a tool for managing notes which are organized in + tree-like hierarchy. It is similar to TuxCards, + but KDE-based, and requires KDE3. diff --git a/debian/lenny/applications/knowit/debian/copyright b/debian/lenny/applications/knowit/debian/copyright new file mode 100644 index 000000000..008edff30 --- /dev/null +++ b/debian/lenny/applications/knowit/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by Lorenzo Villani on +Thu, 24 Aug 2006 11:06:54 +0200. + +It was downloaded from http://knowit.sourceforge.net/ + +Copyright Holder: (C) 2002, 2003, 2004 by Micha Rudolf + +License: + + 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; either version 2 of the License, or + (at your option) any later version. + + 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 systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + diff --git a/debian/lenny/applications/knowit/debian/docs b/debian/lenny/applications/knowit/debian/docs new file mode 100644 index 000000000..5502ed8f4 --- /dev/null +++ b/debian/lenny/applications/knowit/debian/docs @@ -0,0 +1,3 @@ +NEWS +README +TODO diff --git a/debian/lenny/applications/knowit/debian/knowit.1 b/debian/lenny/applications/knowit/debian/knowit.1 new file mode 100644 index 000000000..a19da8be1 --- /dev/null +++ b/debian/lenny/applications/knowit/debian/knowit.1 @@ -0,0 +1,51 @@ +.\" Hey, EMACS: -*- nroff -*- +.TH KNOWIT 1 "Aug 24, 2006" +.SH NAME +knowit \- Tool for managing notes for KDE +.SH SYNOPSIS +.B knowit +.RI [ options ] +.SH DESCRIPTION +This manual page documents briefly the +.B knowit +command. +.PP +\fBKnowIt\fP is a tool for managing notes which are organized in +tree-like hierarchy. It is similar to TuxCards, +but KDE-based (it requires KDE 3). +.SH OPTIONS +These programs follow the usual GNU command line syntax, with long +options starting with two dashes (`-'). +A summary of options is included below. +For a complete description, see the Info files. +.TP +.B \-\-help +Show help about options +.TP +.B \-\-help-qt +Show Qt specific options +.TP +.B \-\-help-kde +Show KDE specific options +.TP +.B \-\-help-all +Show all options +.TP +.B \-\-author +Show author information +.TP +.B \-v, \-\-version +Show version information +.TP +.B \-\-license +Show license information +.TP +.B \-\- +End of options +.TP +.br +.SH AUTHOR +knowit was written by Micha Rudolf +.PP +This manual page was written by Lorenzo Villani , +for the Ubuntu project (but may be used by others). diff --git a/debian/lenny/applications/knowit/debian/rules b/debian/lenny/applications/knowit/debian/rules new file mode 100755 index 000000000..bd6992a4a --- /dev/null +++ b/debian/lenny/applications/knowit/debian/rules @@ -0,0 +1,100 @@ +#!/usr/bin/make -f +# -*- makefile -*- +#export DH_VERBOSE=1 + +# 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) + +DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/kde +DEB_CONFIGURE_MANDIR := /opt/trinity/share/man +DEB_CONFIGURE_PREFIX := /opt/trinity +DEB_CONFIGURE_INFODIR := /opt/trinity/share/info + +cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug) + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +config.status: configure + dh_testdir + + ! [ -f /usr/share/libtool/ltmain.sh ] || \ + cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh + ! [ -f /usr/share/libtool/config/ltmain.sh ] || \ + cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh + cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in + + make -f admin/Makefile.common cvs + touch debian/stamp-bootstrap + + CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/opt/trinity --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info + + +build: build-stamp + +build-stamp: config.status + dh_testdir + $(MAKE) + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + ! [ -f /usr/share/libtool/ltmain.sh ] || \ + cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh + ! [ -f /usr/share/libtool/config/ltmain.sh ] || \ + cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh + cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in + + make -f admin/Makefile.common cvs + touch debian/stamp-bootstrap + + -$(MAKE) distclean + -rm -R $(CURDIR)/admin/CVS + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + dh_icons + $(MAKE) install DESTDIR=$(CURDIR)/debian/knowit-trinity + mkdir -p $(CURDIR)/debian/knowit-trinity/opt/trinity/share/applications/kde + mv $(CURDIR)/debian/knowit-trinity/opt/trinity/share/applnk/Applications/knowit.desktop $(CURDIR)/debian/knowit-trinity/opt/trinity/share/applications/kde/knowit.desktop + rm -r $(CURDIR)/debian/knowit-trinity/opt/trinity/share/applnk + +# 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 ChangeLog + dh_installdocs + dh_installexamples + dh_installman $(CURDIR)/debian/knowit.1 + dh_link + dh_strip + dh_compress + dh_fixperms + 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/lenny/applications/knowit/debian/watch b/debian/lenny/applications/knowit/debian/watch new file mode 100644 index 000000000..0c83833f0 --- /dev/null +++ b/debian/lenny/applications/knowit/debian/watch @@ -0,0 +1,3 @@ +# Compulsory line, this is a version 3 file +version=3 +http://sf.net/knowit/knowit-(.*)\.tar\.bz2 -- cgit v1.2.1