diff options
| -rw-r--r-- | debian/changelog | 28 | ||||
| -rw-r--r-- | debian/compat | 1 | ||||
| -rw-r--r-- | debian/control | 51 | ||||
| -rw-r--r-- | debian/copyright | 105 | ||||
| -rw-r--r-- | debian/gbp.conf | 3 | ||||
| -rw-r--r-- | debian/libsqlitestudio1.install | 1 | ||||
| -rw-r--r-- | debian/patches/disable_rpath.patch | 39 | ||||
| -rw-r--r-- | debian/patches/series | 1 | ||||
| -rwxr-xr-x | debian/rules | 42 | ||||
| -rw-r--r-- | debian/source/format | 1 | ||||
| -rw-r--r-- | debian/sqlitestudio.desktop | 8 | ||||
| -rw-r--r-- | debian/sqlitestudio.install | 3 | ||||
| -rw-r--r-- | debian/watch | 2 |
13 files changed, 285 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..54b59c1 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,28 @@ +sqlitestudio (3.0.0-0vanir1) unstable; urgency=medium + + * Imported Upstream version 3.0.0 + - Drop patches applied upstream. + * d/rules: + - Install upstream's changelog. + - Run dh_install with --list-missing. + * d/sqlitestudio.desktop: Fix case, SqliteStudio => SQLiteStudio. + * d/control: Re-order packages, putting libsqlitestudio first. + * d/control, d/rules, d/*.install: + - Install plugins and libraries into multiarch locations. + + -- Unit 193 <unit193@ubuntu.com> Sun, 14 Dec 2014 14:56:56 -0500 + +sqlitestudio (2.99.6-0vanir1) unstable; urgency=medium + + * New upstream release. + * Set 2/3 patches as forwarded, and add bug link. + * d/p/tclConfig_path.patch: 'info library' doesn't give the right directory + on Debian and Ubuntu, construct it a different way. + + -- Unit 193 <unit193@ninthfloor.org> Fri, 28 Nov 2014 15:47:15 -0500 + +sqlitestudio (2.99.3-0vanir1) unstable; urgency=medium + + * Initial release. + + -- Unit 193 <unit193@ninthfloor.org> Mon, 17 Nov 2014 02:09:55 -0500 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..d0bd03b --- /dev/null +++ b/debian/control @@ -0,0 +1,51 @@ +Source: sqlitestudio +Section: misc +Priority: optional +Maintainer: Unit 193 <unit193@ninthfloor.org> +Build-Depends: debhelper (>= 9), + imagemagick, + libqt5svg5-dev, + libreadline6-dev, + librsvg2-bin, + libsqlite3-dev, + libsqlite0-dev, + qt5-qmake, + qtbase5-dev, + qtscript5-dev, + qttools5-dev, + tcl-dev +Standards-Version: 3.9.6 +Homepage: http://sqlitestudio.pl/ + +Package: libsqlitestudio1 +Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: SQLite database manager - libraries + SQLiteStudio is a comprehensive and reliable SQLite database manager + that provides you with a simple means of managing the contents + of each database, including tables, triggers and views. + . + This package contains the base libraries. + +Package: sqlitestudio +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Recommends: sqlitestudio-plugins +Description: SQLite database manager + SQLiteStudio is a comprehensive and reliable SQLite database manager + that provides you with a simple means of managing the contents + of each database, including tables, triggers and views. + +Package: sqlitestudio-plugins +Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: SQLite database manager - plugins + SQLiteStudio is a comprehensive and reliable SQLite database manager + that provides you with a simple means of managing the contents + of each database, including tables, triggers and views. + . + This package contains the plugins. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..9514cfc --- /dev/null +++ b/debian/copyright @@ -0,0 +1,105 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: sqlitestudio +Source: http://sqlitestudio.pl/ + +Files: * +Copyright: 2014, SalSoft <http://salsoft.com.pl> +License: GPL-3+ + +Files: SQLiteStudio3/coreSQLiteStudio/diff/* +Copyright: 2008, Google Inc. + 2008, Neil Fraser <fraser@google.com> + 2008, Mike Slemmer <mikeslemmer@gmail.com> +License: Apache-2.0 + +Files: SQLiteStudio3/guiSQLiteStudio/img/*.png +Copyright: 2013, Yusuke Kamiyamane <p@yusukekamiyamane.com> + 2014, SalSoft <http://salsoft.com.pl> +License: CC-BY-3.0 + This work is licenced under the Creative Commons Attribution 3.0 United + States License. To view a copy of this licence, visit + http://creativecommons.org/licenses/by/3.0/ or send a letter to Creative + Commons, 171 Second Street, Suite 300, San Francisco, California 94105, USA. + +Files: SQLiteStudio3/guiSQLiteStudio/qhexedit2/* +Copyright: Simon Winfried <winfried.simon@gmail.com> +License: LGPL-2.1+ + +Files: debian/* +Copyright: 2014, Unit 193 <unit193@ninthfloor.org> +License: BSD-3-Clause + +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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin + St, Fifth Floor, Boston, MA 02110-1301 USA + . + On Debian systems, the full text of the GNU General Public License version 3 + can be found in the file `/usr/share/common-licenses/GPL-3'. + +License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + On Debian systems, the complete text of the Apache version 2.0 license + can be found in "/usr/share/common-licenses/Apache-2.0". + +License: LGPL-2.1+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. + . + You should have received a copy of the GNU Lesser General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the complete text of the GNU Lesser General Public + License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’. + +License: BSD-3-Clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..5474c60 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,3 @@ +[DEFAULT] +pristine-tar = True +sign-tags = True diff --git a/debian/libsqlitestudio1.install b/debian/libsqlitestudio1.install new file mode 100644 index 0000000..2964de6 --- /dev/null +++ b/debian/libsqlitestudio1.install @@ -0,0 +1 @@ +usr/lib/ diff --git a/debian/patches/disable_rpath.patch b/debian/patches/disable_rpath.patch new file mode 100644 index 0000000..a533d15 --- /dev/null +++ b/debian/patches/disable_rpath.patch @@ -0,0 +1,39 @@ +Description: Don't use rpath, https://wiki.debian.org/RpathIssue +Author: Unit 193 <unit193@ninthfloor.org> +Origin: vendor +Forwarded: no +Last-Update: 2014-11-10 + +--- sqlitestudio-2.99.2.orig/SQLiteStudio3/UpdateSQLiteStudio/UpdateSQLiteStudio.pro ++++ sqlitestudio-2.99.2/SQLiteStudio3/UpdateSQLiteStudio/UpdateSQLiteStudio.pro +@@ -21,7 +21,7 @@ LIBS += -lcoreSQLiteStudio +
+ TEMPLATE = app
+
+-linux|portable {
++portable {
+ QMAKE_LFLAGS += -Wl,-rpath,./lib
+ }
+
+--- sqlitestudio-2.99.2.orig/SQLiteStudio3/sqlitestudio/sqlitestudio.pro ++++ sqlitestudio-2.99.2/SQLiteStudio3/sqlitestudio/sqlitestudio.pro +@@ -25,7 +25,7 @@ TEMPLATE = app +
+ CONFIG += c++11
+ QMAKE_CXXFLAGS += -pedantic
+-linux|portable {
++portable {
+ QMAKE_LFLAGS += -Wl,-rpath,./lib
+ }
+
+--- sqlitestudio-2.99.2.orig/SQLiteStudio3/sqlitestudiocli/sqlitestudiocli.pro ++++ sqlitestudio-2.99.2/SQLiteStudio3/sqlitestudiocli/sqlitestudiocli.pro +@@ -21,7 +21,7 @@ TEMPLATE = app +
+ CONFIG += c++11
+ QMAKE_CXXFLAGS += -pedantic
+-linux|portable {
++portable {
+ QMAKE_LFLAGS += -Wl,-rpath,./lib
+ }
+
diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..9698d79 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +disable_rpath.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..b0ec587 --- /dev/null +++ b/debian/rules @@ -0,0 +1,42 @@ +#!/usr/bin/make -f + +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/default.mk +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export QT_SELECT = 5 + +OPTIONS += "DEFINES += NO_AUTO_UPDATES" +OPTIONS += "DEFINES += PLUGINS_DIR=/usr/lib/$(DEB_HOST_MULTIARCH)/sqlitestudio" +OPTIONS += "LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)" + +%: + dh $@ --parallel --builddirectory=builddir + +override_dh_auto_configure: + mkdir -p builddir plugins_builddir + dh_auto_configure --buildsystem=qmake -- $(CURDIR)/SQLiteStudio3 $(OPTIONS) + dh_auto_configure --builddirectory=plugins_builddir --buildsystem=qmake -- $(CURDIR)/Plugins $(OPTIONS) + +override_dh_auto_build: + dh_auto_build --builddirectory=builddir + dh_auto_build --builddirectory=plugins_builddir + mkdir -p output/hicolor/16x16/apps output/hicolor/32x32/apps \ + output/hicolor/64x64/apps output/hicolor/scalable/apps + convert -resize 16x16 SQLiteStudio3/guiSQLiteStudio/img/sqlitestudio.svg output/hicolor/16x16/apps/sqlitestudio.png + convert -resize 32x32 SQLiteStudio3/guiSQLiteStudio/img/sqlitestudio.svg output/hicolor/32x32/apps/sqlitestudio.png + convert -resize 64x64 SQLiteStudio3/guiSQLiteStudio/img/sqlitestudio.svg output/hicolor/64x64/apps/sqlitestudio.png + cp SQLiteStudio3/guiSQLiteStudio/img/sqlitestudio.svg output/hicolor/scalable/apps + +override_dh_auto_install: + dh_auto_install --builddirectory=builddir -- INSTALL_ROOT=$(CURDIR)/debian/tmp/ + dh_auto_install --builddirectory=plugins_builddir -- INSTALL_ROOT=$(CURDIR)/debian/sqlitestudio-plugins + +override_dh_install: + dh_install --list-missing + +override_dh_installchangelogs: + dh_installchangelogs SQLiteStudio3/coreSQLiteStudio/ChangeLog.txt + +override_dh_clean: + dh_clean + rm -rf builddir plugins_builddir output diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/sqlitestudio.desktop b/debian/sqlitestudio.desktop new file mode 100644 index 0000000..5bcdc56 --- /dev/null +++ b/debian/sqlitestudio.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=SQLiteStudio +Comment=SQLite database editor +Exec=sqlitestudio %U +Icon=sqlitestudio +Terminal=false +Type=Application +Categories=Qt;Utility; diff --git a/debian/sqlitestudio.install b/debian/sqlitestudio.install new file mode 100644 index 0000000..b6e8166 --- /dev/null +++ b/debian/sqlitestudio.install @@ -0,0 +1,3 @@ +usr/bin/ +output/hicolor/ usr/share/icons +debian/sqlitestudio.desktop usr/share/applications diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..9b103e8 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sqlitestudio.pl/files/sqlitestudio3/complete/tar/sqlitestudio-([\d\.]+)\.tar\.gz |
