--- sqliteman-1.2.2.orig/debian/copyright +++ sqliteman-1.2.2/debian/copyright @@ -0,0 +1,56 @@ +This package was debianized by Rolf Leggewie on +Thu, 14 May 2009 20:23:57 +0200. + +It was downloaded from http://sqliteman.com + +Upstream Authors: + + Petr Vanek, petr@scribus.info + +Copyright: + + Copyright 2001-2007 Petr Vanek + +License: + +SQLiteman Copyright 2001-2007 Petr Vanek. Some parts of this software +are based on Igor Khanin's LiteMan. They are licensed under the GPLv2. + +Icons used in this application are licensed under LGPL. See its +directory for credits. + +Source code in the sqlplarser directory has been taken from TOra, +Toolkit For Oracle (http://tora.sf.net). TOra is released under +the GPLv2. + +Source code in the qscintilla2 directory has been taken from the Qscintilla +project (http://www.riverbankcomputing.co.uk/software/qscintilla/) and +has the following license + +"License for Scintilla and SciTE + +Copyright 1998-2003 by Neil Hodgson + +All Rights Reserved + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appear in all copies and that +both that copyright notice and this permission notice appear in +supporting documentation. + +NEIL HODGSON DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS +SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS, IN NO EVENT SHALL NEIL HODGSON BE LIABLE FOR ANY +SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, +WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE +OR PERFORMANCE OF THIS SOFTWARE." + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. +The LGPL is at /usr/share/common-licenses/LGPL. + +The Debian packaging is © 2009 Rolf Leggewie and +is licensed under the GPL, see above. --- sqliteman-1.2.2.orig/debian/watch +++ sqliteman-1.2.2/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/sqliteman/sqliteman-(.+)\.tar\.bz2 --- sqliteman-1.2.2.orig/debian/sqliteman.1 +++ sqliteman-1.2.2/debian/sqliteman.1 @@ -0,0 +1,45 @@ +.\" Hey, EMACS: -*- nroff -*- +.TH SQLITEMAN 1 "May 22, 2009" +.SH NAME +sqliteman \- GUI SQL admin tool +.SH SYNOPSIS +.B sqliteman +.RI [ options ] +.RI [ databasefile ] +.SH DESCRIPTION +.PP +\fBsqliteman\fP is a GUI tool for use by admins and developers to query, modify and examine SQLite +compatible database files. +.PP +It offers an interface similar to other GUI query tools, for example MySQL Query Browser, and allows the +user to issue SQL queries and examine the database schema. In addition there are dialogs for +creating tables and views, building simple queries and analyzing statistics, as well as importing and exporting data. + +.SH OPTIONS +This program follow the usual GNU command line syntax, with long +options starting with two dashes (`-'). +.TP +.B \-h, \-\-help +Show summary of options. +.TP +.B \-v, \-\-version +Show version of program. +.TP +.B \-l, \-\-lang +Set a GUI language. E.g. \fI--lang cs\fP for Czech +.TP +.B \-la, \-\-langs +Lists available languages +.TP +( + various Qt options ) +.SH SEE ALSO +.br +sqliteman has documentation accessible from the Help menu within the application. +.PP +sqliteman's website: +.IR http://sqliteman.com/ +.SH AUTHOR +sqliteman was written by Petr Vanek. +.PP +This manual page was written by David Claughton , +for the Debian project (but may be used by others). --- sqliteman-1.2.2.orig/debian/rules +++ sqliteman-1.2.2/debian/rules @@ -0,0 +1,78 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/quilt/quilt.make + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +builddir/CMakeCache.txt: + dh_testdir + mkdir -p builddir + cd builddir && cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_C_FLAGS="$(CFLAGS)" -DCMAKE_CXX_FLAGS="$(CFLAGS)" \ + -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--no-undefined -Wl,--as-needed" \ + -DCMAKE_MODULE_LINKER_FLAGS="-Wl,--no-undefined -Wl,--as-needed" \ + -DCMAKE_EXE_LINKER_FLAGS="-Wl,--no-undefined -Wl,--as-needed" + +build: patch build-stamp + +build-stamp: builddir/CMakeCache.txt + dh_testdir + + # Add here commands to compile the package. + cd builddir && $(MAKE) + + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + rm -rf builddir + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp. + cd builddir && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install + + dh_install --sourcedir=debian/tmp + +# Must not depend on anything. This is to be called by +# binary-arch/binary-indep +# in another 'make' thread. +binary-common: + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture independant packages using the common target. +binary-indep: build install + $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common + +# Build architecture dependant packages using the common target. +binary-arch: build install + $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- sqliteman-1.2.2.orig/debian/TODO +++ sqliteman-1.2.2/debian/TODO @@ -0,0 +1 @@ +* remove the qscintilla2 (and tora?) code and rely on the Debian packages instead --- sqliteman-1.2.2.orig/debian/control +++ sqliteman-1.2.2/debian/control @@ -0,0 +1,31 @@ +Source: sqliteman +Section: database +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Rolf Leggewie +Uploaders: David Claughton +Build-Depends: debhelper (>= 5), libqt4-dev, cmake, libqscintilla2-dev, quilt +Homepage: http://sqliteman.com +Standards-Version: 3.8.2 +Vcs-Git: git://git.debian.org/collab-maint/sqliteman.git + +Package: sqliteman +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, libqscintilla2-3|libqscintilla2-5, libqt4-sql-sqlite +Recommends: sqliteman-doc, sqlite3 +Description: GUI tool for SQLite3 admin and developers alike + Contains the most complete feature set of all SQLite GUI available. Tune + SQL statements, manage tables, views or triggers, administrate the database + space and index statistics with SQLiteman. + +Package: sqliteman-doc +Architecture: all +Section: doc +Depends: ${misc:Depends} +Recommends: sqliteman +Description: GUI tool for SQLite3 admin and developers alike + Contains the most complete feature set of all SQLite GUI available. Tune + SQL statements, manage tables, views or triggers, administrate the database + space and index statistics with SQLiteman. + . + This package provides the auxiliary documentation for SQLiteman. --- sqliteman-1.2.2.orig/debian/compat +++ sqliteman-1.2.2/debian/compat @@ -0,0 +1 @@ +5 --- sqliteman-1.2.2.orig/debian/manpages +++ sqliteman-1.2.2/debian/manpages @@ -0,0 +1 @@ +debian/sqliteman.1 --- sqliteman-1.2.2.orig/debian/sqliteman.install +++ sqliteman-1.2.2/debian/sqliteman.install @@ -0,0 +1,5 @@ +usr/bin +usr/share/applications +usr/share/icons +usr/share/sqliteman + --- sqliteman-1.2.2.orig/debian/sqliteman-doc.install +++ sqliteman-1.2.2/debian/sqliteman-doc.install @@ -0,0 +1 @@ +usr/share/doc/sqliteman --- sqliteman-1.2.2.orig/debian/changelog +++ sqliteman-1.2.2/debian/changelog @@ -0,0 +1,32 @@ +sqliteman (1.2.2-0ubuntu1) maverick; urgency=low + + * New upstream release. + * debian/patches/01_docdir.patch: Add a "/" at the end of DOC_DIR. + (LP: #596484) + * debian/patches/02_desktop_file.patch: Set menu entry category to + Development. (LP: #450042) + * Create a symlink to the icon in /usr/share/pixmaps. + + -- Felix Geyer Sun, 27 Jun 2010 20:36:01 +0200 + +sqliteman (1.2.1-0ubuntu2) lucid; urgency=low + + * debian/control: fix spelling mistake and some other minor tweaks to runtime + dependencies + * debian/patches/02_desktop_file.patch: drop absolute path to png + + -- Rolf Leggewie Wed, 03 Feb 2010 14:39:16 +0100 + +sqliteman (1.2.1-0ubuntu1) karmic; urgency=low + + [ Rolf Leggewie ] + * Initial release. (Closes: #529204) + * delete Encoding line from Desktop file to make lintian happy + + [ David Claughton ] + * Added manpage + + [ Michael Casadevall ] + * Fastsync from Debian NEW queue (LP: #404152) + + -- Michael Casadevall Fri, 21 Aug 2009 02:00:43 -0400 --- sqliteman-1.2.2.orig/debian/sqliteman.links +++ sqliteman-1.2.2/debian/sqliteman.links @@ -0,0 +1 @@ +usr/share/icons/hicolor/sqliteman.png usr/share/pixmaps/sqliteman.png --- sqliteman-1.2.2.orig/debian/patches/01_docdir.patch +++ sqliteman-1.2.2/debian/patches/01_docdir.patch @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_docdir.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Changing the doc directory + +@DPATCH@ + +--- sqliteman-1.2.0-orig/CMakeLists.txt ++++ sqliteman-1.2.0/CMakeLists.txt +@@ -47,7 +47,7 @@ + SET (ICON_DIR ":/icons/") + ELSE (WANT_RESOURCES) + SET (TRANSLATION_DIR "${CMAKE_INSTALL_PREFIX}/share/sqliteman/") +- SET (DOC_DIR "${CMAKE_INSTALL_PREFIX}/share/sqliteman/doc/") ++ SET (DOC_DIR "${CMAKE_INSTALL_PREFIX}/share/doc/sqliteman/") + SET (ICON_DIR "${CMAKE_INSTALL_PREFIX}/share/sqliteman/icons") + ENDIF (WANT_RESOURCES) --- sqliteman-1.2.2.orig/debian/patches/02_desktop_file.patch +++ sqliteman-1.2.2/debian/patches/02_desktop_file.patch @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_desktop_file.dpatch by Felix Geyer +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: correcting desktop file + +@DPATCH@ + +--- sqliteman-1.2.2.orig/sqliteman.desktop.org 2010-06-19 21:13:06.000000000 +0200 ++++ sqliteman-1.2.2/sqliteman.desktop 2010-06-27 20:47:23.748076701 +0200 +@@ -8,6 +8,7 @@ + Terminal=false + StartupNotify=true + MimeType=application/x-sqlite3; ++Categories=Development; + + # Translations + GenericName[cs]=Sqlite administrace --- sqliteman-1.2.2.orig/debian/patches/series +++ sqliteman-1.2.2/debian/patches/series @@ -0,0 +1,2 @@ +01_docdir.patch +02_desktop_file.patch