From 4bc22e8b188aa26df8b1a23c39bb0f3c5b05b8b6 Mon Sep 17 00:00:00 2001
From: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Date: Thu, 28 Mar 2013 14:13:18 -0500
Subject: Split raring packaging into new directory due to defoma changes

---
 ubuntu/raring/applications/knowit/debian/changelog |  33 +++++++
 ubuntu/raring/applications/knowit/debian/compat    |   1 +
 ubuntu/raring/applications/knowit/debian/control   |  18 ++++
 ubuntu/raring/applications/knowit/debian/copyright |  26 ++++++
 ubuntu/raring/applications/knowit/debian/docs      |   3 +
 ubuntu/raring/applications/knowit/debian/knowit.1  |  51 ++++++++++
 ubuntu/raring/applications/knowit/debian/rules     | 104 +++++++++++++++++++++
 .../applications/knowit/debian/source/format       |   1 +
 .../applications/knowit/debian/source/options      |   6 ++
 ubuntu/raring/applications/knowit/debian/watch     |   3 +
 10 files changed, 246 insertions(+)
 create mode 100644 ubuntu/raring/applications/knowit/debian/changelog
 create mode 100644 ubuntu/raring/applications/knowit/debian/compat
 create mode 100644 ubuntu/raring/applications/knowit/debian/control
 create mode 100644 ubuntu/raring/applications/knowit/debian/copyright
 create mode 100644 ubuntu/raring/applications/knowit/debian/docs
 create mode 100644 ubuntu/raring/applications/knowit/debian/knowit.1
 create mode 100755 ubuntu/raring/applications/knowit/debian/rules
 create mode 100644 ubuntu/raring/applications/knowit/debian/source/format
 create mode 100644 ubuntu/raring/applications/knowit/debian/source/options
 create mode 100644 ubuntu/raring/applications/knowit/debian/watch

(limited to 'ubuntu/raring/applications/knowit/debian')

diff --git a/ubuntu/raring/applications/knowit/debian/changelog b/ubuntu/raring/applications/knowit/debian/changelog
new file mode 100644
index 000000000..b5d67442f
--- /dev/null
+++ b/ubuntu/raring/applications/knowit/debian/changelog
@@ -0,0 +1,33 @@
+knowit-trinity (0.10-0ubuntu4) karmic; urgency=low
+
+  * Added aRts support
+  * Karmic upload
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net>  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 <awen@awen.dk>  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 <gothicx@sapo.pt>  Thu, 03 Jan 2008 17:36:43 +0000
+
+knowit (0.10-0ubuntu1) edgy; urgency=low
+
+  * Initial release
+
+ -- Lorenzo Villani <arbiter@arbiterlab.net>  Thu, 24 Aug 2006 11:06:54 +0200
+
diff --git a/ubuntu/raring/applications/knowit/debian/compat b/ubuntu/raring/applications/knowit/debian/compat
new file mode 100644
index 000000000..7ed6ff82d
--- /dev/null
+++ b/ubuntu/raring/applications/knowit/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/ubuntu/raring/applications/knowit/debian/control b/ubuntu/raring/applications/knowit/debian/control
new file mode 100644
index 000000000..b6df5e1e2
--- /dev/null
+++ b/ubuntu/raring/applications/knowit/debian/control
@@ -0,0 +1,18 @@
+Source: knowit-trinity
+Section: tde
+Priority: optional
+Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+XSBC-Original-Maintainer: Lorenzo Villani <arbiter@arbiterlab.net>
+Build-Depends: debhelper (>= 5), tdelibs4-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}
+Replaces: knowit-kde3 (<< 4:14.0.0), knowit-trinity (<< 4:14.0.0)
+Breaks: knowit-kde3 (<< 4:14.0.0), knowit-trinity (<< 4:14.0.0)
+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 Trinity.
diff --git a/ubuntu/raring/applications/knowit/debian/copyright b/ubuntu/raring/applications/knowit/debian/copyright
new file mode 100644
index 000000000..008edff30
--- /dev/null
+++ b/ubuntu/raring/applications/knowit/debian/copyright
@@ -0,0 +1,26 @@
+This package was debianized by Lorenzo Villani <arbiter@arbiterlab.net> 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/ubuntu/raring/applications/knowit/debian/docs b/ubuntu/raring/applications/knowit/debian/docs
new file mode 100644
index 000000000..5502ed8f4
--- /dev/null
+++ b/ubuntu/raring/applications/knowit/debian/docs
@@ -0,0 +1,3 @@
+NEWS
+README
+TODO
diff --git a/ubuntu/raring/applications/knowit/debian/knowit.1 b/ubuntu/raring/applications/knowit/debian/knowit.1
new file mode 100644
index 000000000..a19da8be1
--- /dev/null
+++ b/ubuntu/raring/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 <arbiter@arbiterlab.net>,
+for the Ubuntu project (but may be used by others).
diff --git a/ubuntu/raring/applications/knowit/debian/rules b/ubuntu/raring/applications/knowit/debian/rules
new file mode 100755
index 000000000..0a090fdb6
--- /dev/null
+++ b/ubuntu/raring/applications/knowit/debian/rules
@@ -0,0 +1,104 @@
+#!/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/tde
+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)
+
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+                               && echo xz || echo bzip2)
+
+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/tde
+	mv $(CURDIR)/debian/knowit-trinity/opt/trinity/share/applnk/Applications/knowit.desktop $(CURDIR)/debian/knowit-trinity/opt/trinity/share/applications/tde/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
+	mv debian/knowit-trinity/usr/share/man debian/knowit-trinity/opt/trinity/share/
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb $(DEB_DH_BUILDDEB_ARGS)
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 
diff --git a/ubuntu/raring/applications/knowit/debian/source/format b/ubuntu/raring/applications/knowit/debian/source/format
new file mode 100644
index 000000000..89ae9db8f
--- /dev/null
+++ b/ubuntu/raring/applications/knowit/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)
diff --git a/ubuntu/raring/applications/knowit/debian/source/options b/ubuntu/raring/applications/knowit/debian/source/options
new file mode 100644
index 000000000..72f1f5450
--- /dev/null
+++ b/ubuntu/raring/applications/knowit/debian/source/options
@@ -0,0 +1,6 @@
+# Use xz instead of gzip
+compression = "xz"
+compression-level = 9
+
+# Don't run differences
+diff-ignore = .*
diff --git a/ubuntu/raring/applications/knowit/debian/watch b/ubuntu/raring/applications/knowit/debian/watch
new file mode 100644
index 000000000..0c83833f0
--- /dev/null
+++ b/ubuntu/raring/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