diff options
author | Unit 193 <unit193@ubuntu.com> | 2014-12-06 17:33:58 -0500 |
---|---|---|
committer | Unit 193 <unit193@ubuntu.com> | 2014-12-06 17:33:58 -0500 |
commit | b534e5079948c93c510fed6fd1b51f84ace48e48 (patch) | |
tree | 33cb18b9ffc5637e6a91a4e0b173c703ad2a0b08 /debian | |
parent | 7167ce41b61d2ba2cdb526777a4233eb84a3b66a (diff) | |
download | sqlitestudio-b534e5079948c93c510fed6fd1b51f84ace48e48.tar.bz2 sqlitestudio-b534e5079948c93c510fed6fd1b51f84ace48e48.tar.xz sqlitestudio-b534e5079948c93c510fed6fd1b51f84ace48e48.tar.zst |
Initial import.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 12 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 47 | ||||
-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/cpp4.9_incompatibilities.patch | 67 | ||||
-rw-r--r-- | debian/patches/disable_rpath.patch | 39 | ||||
-rw-r--r-- | debian/patches/fix_tcl_path.patch | 18 | ||||
-rw-r--r-- | debian/patches/series | 3 | ||||
-rwxr-xr-x | debian/rules | 32 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/sqlitestudio.desktop | 8 | ||||
-rw-r--r-- | debian/sqlitestudio.install | 4 | ||||
-rw-r--r-- | debian/watch | 2 |
15 files changed, 343 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..eaa1609 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,12 @@ +sqlitestudio (2.99.6-0vanir1) unstable; urgency=medium + + * New upstream release. + * Set 2/3 patches as forwarded, and add bug link. + + -- 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..9f0eeb9 --- /dev/null +++ b/debian/control @@ -0,0 +1,47 @@ +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: 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: libsqlitestudio1 +Architecture: any +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-plugins +Architecture: any +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..906f61e --- /dev/null +++ b/debian/libsqlitestudio1.install @@ -0,0 +1 @@ +output/SQLiteStudio/libgui* usr/lib/ diff --git a/debian/patches/cpp4.9_incompatibilities.patch b/debian/patches/cpp4.9_incompatibilities.patch new file mode 100644 index 0000000..a089d8f --- /dev/null +++ b/debian/patches/cpp4.9_incompatibilities.patch @@ -0,0 +1,67 @@ +Description: Fix some gcc 4.9 incompatibilities. +Author: Unit 193 <unit193@ninthfloor.org> +Origin: vendor +Forwarded: yes +Bug: http://bugs.sqlitestudio.pl/?id=2678 +Last-Update: 2014-10-28 + +--- sqlitestudio-2.99.1.orig/SQLiteStudio3/coreSQLiteStudio/common/utils.h ++++ sqlitestudio-2.99.1/SQLiteStudio3/coreSQLiteStudio/common/utils.h +@@ -8,6 +8,7 @@ + #include <QChar> + #include <QStringList> + #include <QFileInfo> ++#include <functional> + + class QTextCodec; + +--- sqlitestudio-2.99.1.orig/SQLiteStudio3/coreSQLiteStudio/plugins/plugintype.h ++++ sqlitestudio-2.99.1/SQLiteStudio3/coreSQLiteStudio/plugins/plugintype.h +@@ -5,6 +5,7 @@ + #include <QList> + #include <QString> + #include <QObject> ++#include <typeinfo> + + class Plugin; + +--- sqlitestudio-2.99.1.orig/SQLiteStudio3/coreSQLiteStudio/services/functionmanager.h ++++ sqlitestudio-2.99.1/SQLiteStudio3/coreSQLiteStudio/services/functionmanager.h +@@ -7,6 +7,7 @@ + #include <QSharedPointer> + #include <QObject> + #include <QStringList> ++#include <functional> + + class Db; + +--- sqlitestudio-2.99.1.orig/SQLiteStudio3/guiSQLiteStudio/common/datawidgetmapper.h ++++ sqlitestudio-2.99.1/SQLiteStudio3/guiSQLiteStudio/common/datawidgetmapper.h +@@ -3,6 +3,7 @@ + + #include <QObject> + #include <QHash> ++#include <functional> + + class QAbstractItemModel; + +--- sqlitestudio-2.99.1.orig/SQLiteStudio3/guiSQLiteStudio/common/verifiablewizardpage.h ++++ sqlitestudio-2.99.1/SQLiteStudio3/guiSQLiteStudio/common/verifiablewizardpage.h +@@ -3,6 +3,7 @@ + + #include "guiSQLiteStudio_global.h" + #include <QWizardPage> ++#include <functional> + + class GUI_API_EXPORT VerifiableWizardPage : public QWizardPage + { +--- sqlitestudio-2.99.1.orig/SQLiteStudio3/guiSQLiteStudio/uiloader.h ++++ sqlitestudio-2.99.1/SQLiteStudio3/guiSQLiteStudio/uiloader.h +@@ -6,6 +6,7 @@ + #include <QHash> + #include <QStack> + #include <QXmlDefaultHandler> ++#include <functional> + + class UiLoaderPropertyHandler; + 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/fix_tcl_path.patch b/debian/patches/fix_tcl_path.patch new file mode 100644 index 0000000..3928ac4 --- /dev/null +++ b/debian/patches/fix_tcl_path.patch @@ -0,0 +1,18 @@ +Description: Correct the tcl.h path to tcl/tcl.h. +Author: Unit 193 <unit193@ninthfloor.org> +Origin: vendor +Forwarded: yes +Bug: http://bugs.sqlitestudio.pl/?id=2679 +Last-Update: 2014-11-10 + +--- sqlitestudio-2.99.2.orig/Plugins/ScriptingTcl/scriptingtcl.h ++++ sqlitestudio-2.99.2/Plugins/ScriptingTcl/scriptingtcl.h +@@ -6,7 +6,7 @@ + #include "plugins/scriptingplugin.h" + #include "db/sqlquery.h" + #include <QCache> +-#include <tcl.h> ++#include <tcl/tcl.h> + + class QMutex; + struct Tcl_Interp; diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..1bec71b --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,3 @@ +cpp4.9_incompatibilities.patch +fix_tcl_path.patch +disable_rpath.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..8f99541 --- /dev/null +++ b/debian/rules @@ -0,0 +1,32 @@ +#!/usr/bin/make -f + +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export QT_SELECT = 5 + +%: + dh $@ --parallel --builddirectory=builddir + +override_dh_auto_configure: + mkdir -p builddir plugins_builddir + dh_auto_configure --buildsystem=qmake -- $(CURDIR)/SQLiteStudio3 "DEFINES += NO_AUTO_UPDATES" + dh_auto_configure --builddirectory=plugins_builddir --buildsystem=qmake -- $(CURDIR)/Plugins "DEFINES += NO_AUTO_UPDATES" + +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/libsqlitestudio1 + dh_auto_install --builddirectory=plugins_builddir -- INSTALL_ROOT=$(CURDIR)/debian/sqlitestudio-plugins + +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..4e5d811 --- /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..548641a --- /dev/null +++ b/debian/sqlitestudio.install @@ -0,0 +1,4 @@ +output/SQLiteStudio/sqlitestudio usr/bin/ +output/SQLiteStudio/sqlitestudiocli 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 |