--- gsql-0.2.2.orig/debian/changelog +++ gsql-0.2.2/debian/changelog @@ -0,0 +1,28 @@ +gsql (0.2.2-1.2ubuntu1) trusty; urgency=medium + + * Build with dh-autoreconf to ensure all needed autotools files are present. + Fixes FTBFS: error: cannot find install-sh, install.sh, or shtool + (Closes: #713226) (LP: #1277960) + + -- Andreas Moog Sat, 08 Feb 2014 22:11:40 +0100 + +gsql (0.2.2-1.2) unstable; urgency=low + + * Non-maintainer upload. + * libgsql/notify.c: Add libnotify 0.7 compatibility (Closes: #630281) + * debian/control: Bump libnotify build-dependency to 0.7 + + -- Laurent Bigonville Mon, 08 Aug 2011 10:16:50 +0200 + +gsql (0.2.2-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Don't ship .la files (Closes: #621215). + + -- Luk Claes Mon, 13 Jun 2011 09:27:59 +0200 + +gsql (0.2.2-1) unstable; urgency=low + + * Initial release (Closes: #595029) + + -- Estêvão Samuel Procópio Fri, 15 Oct 2010 10:13:34 -0300 --- gsql-0.2.2.orig/debian/compat +++ gsql-0.2.2/debian/compat @@ -0,0 +1 @@ +7 --- gsql-0.2.2.orig/debian/control +++ gsql-0.2.2/debian/control @@ -0,0 +1,74 @@ +Source: gsql +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Estêvão Samuel Procópio +Section: gnome +Priority: optional +Build-Depends: cdbs, debhelper (>= 7.0.50~), autotools-dev, automake, + libgtksourceview2.0-dev, libnotify-dev (>= 0.7), libgtk2.0-dev, + libgnomeui-dev, libvte-dev, libmysqlclient-dev, libpq-dev, libssh-dev, + libglade2-dev, dh-autoreconf +Standards-Version: 3.9.1 +Homepage: http://gsql.org + +Package: libgsql0 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Integrated database development tool for GNOME + This package contains the library for gsql. + +Package: libgsql-dev +Architecture: any +Section: libdevel +Depends: ${shlibs:Depends}, ${misc:Depends}, + libgsql0 (=${binary:Version}) +Description: Integrated database development tool for GNOME + This package contains the development headers for the library found + in libgsql0. + +Package: gsql +Architecture: any +Recommends: gsql-plugins (>=${source:Version}) +Depends: menu (>=2.1.19), ${shlibs:Depends}, ${misc:Depends}, gconf2, + gsql-mysql-engine (>=${source:Version})| + gsql-postgresql-engine (>=${source:Version}), + libgsql0 (=${binary:Version}) +Description: Integrated database development tool for GNOME + The mission of GSQL opensource project is to supply database developers with + an universal tool platform tailored against market leading DBMS by providing: + . + * native DBMS access (not via ODBC layer) + * databased objects organised into a tree + * intuitive and easy database objects handling + * syntax highlighting + * query plan builder + * query constructor + * query result export (in XML, CSV, HTML) + * debugger (depending on RDBMS) + * query planner control (depending on RDBMS) + * database administration functions + * database system monitoring + * GNOME integration (via GConf and gnome-keyring) + * plugin: data migration wizard for various RDBMS + . + Architecturely GSQL is designed so that the database interfaces are arranged + into modules linked to the platform by engine API. It allows to implement new + engines independently. GSQL provides developers with a rich API. To extend the + functions of GSQL engines, we suggest loadable plugins API. + +Package: gsql-plugins +Architecture: any +Depends: gsql (>=${source:Version}), ${shlibs:Depends}, ${misc:Depends}, gconf2, +Description: Plugins for GSQL + This package contains the plugins set for gsql. + +Package: gsql-mysql-engine +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, gconf2, +Description: MySQL engine for GSQL + This module provides GSQL support for MySQL server. + +Package: gsql-postgresql-engine +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, gconf2, +Description: PostgreSQL engine for GSQL + This module provides GSQL support for PostgreSQL server. --- gsql-0.2.2.orig/debian/copyright +++ gsql-0.2.2/debian/copyright @@ -0,0 +1,43 @@ +This work was packaged for Debian by: + + Estêvão Samuel Procópio on Sun, 29 Aug 2010 18:14:54 -0300 + +It was downloaded from: + + http://gsql.org + +Upstream Author(s): + + Taras Halturin + +Copyright: + + Copyright (C) 2006-2010 Taras Halturin + +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'. + +The Debian packaging is: + + Copyright (C) 2010 Estêvão Samuel Procópio + +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. --- gsql-0.2.2.orig/debian/gsql-mysql-engine.install +++ gsql-0.2.2/debian/gsql-mysql-engine.install @@ -0,0 +1,5 @@ +debian/tmp/usr/share/gconf/schemas/gsql-engine-mysql.schemas +debian/tmp/usr/lib/gsql/engines/libgsqlengine_mysql*.so* +debian/tmp/usr/share/pixmaps/gsql/mysql/* +debian/tmp/usr/share/gsql/ui/mysql/* + --- gsql-0.2.2.orig/debian/gsql-plugins.install +++ gsql-0.2.2/debian/gsql-plugins.install @@ -0,0 +1,6 @@ +debian/tmp/usr/share/gconf/schemas/gsql-plugins.schemas +debian/tmp/usr/lib/gsql/plugins/libgsqlplugin*.so* +debian/tmp/usr/share/pixmaps/gsql/plugins/* +debian/tmp/usr/share/gsql/glade/plugins/* +debian/tmp/usr/share/gsql/ui/plugins/ + --- gsql-0.2.2.orig/debian/gsql-postgresql-engine.install +++ gsql-0.2.2/debian/gsql-postgresql-engine.install @@ -0,0 +1,4 @@ +debian/tmp/usr/lib/gsql/engines/libgsqlengine_pgsql*.so* +debian/tmp/usr/share/pixmaps/gsql/postgresql/* +debian/tmp/usr/share/gsql/ui/postgresql/* + --- gsql-0.2.2.orig/debian/gsql.install +++ gsql-0.2.2/debian/gsql.install @@ -0,0 +1,11 @@ +debian/tmp/usr/share/gconf/schemas/gsql.schemas +#debian/tmp/usr/doc/gsql /usr/share/doc/gsql +#debian/tmp/usr/share/gnome/* +debian/tmp/usr/share/applications/gsql.desktop /usr/share/applications +debian/tmp/usr/bin/* +debian/tmp/usr/share/gsql/glade/gsql_* +debian/tmp/usr/share/gsql/ui/gsql* +debian/tmp/usr/share/locale/* +debian/tmp/usr/share/pixmaps/gsql/*.png +#debian/tmp/usr/share/omf/* +debian/tmp/usr/share/man --- gsql-0.2.2.orig/debian/gsql.menu +++ gsql-0.2.2/debian/gsql.menu @@ -0,0 +1,3 @@ +?package(gsql):needs="x11" section="Applications/Data Management"\ + title="GSQL" \ + command="gsql" --- gsql-0.2.2.orig/debian/libgsql-dev.install +++ gsql-0.2.2/debian/libgsql-dev.install @@ -0,0 +1,4 @@ +debian/tmp/usr/include +debian/tmp/usr/lib/pkgconfig +debian/tmp/usr/lib/libgsql.so +debian/tmp/usr/lib/libgsql.a --- gsql-0.2.2.orig/debian/libgsql0.install +++ gsql-0.2.2/debian/libgsql0.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/libgsql.so.* --- gsql-0.2.2.orig/debian/rules +++ gsql-0.2.2/debian/rules @@ -0,0 +1,46 @@ +#!/usr/bin/make -f + +# DEB_TAR_SRCDIR=gsql-0.2.0 +# include /usr/share/cdbs/1/rules/tarball.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/autoreconf.mk +include /usr/share/cdbs/1/class/gnome.mk + + +DEB_CONFIGURE_EXTRA_FLAGS := \ + --with-gconf-schema-file-dir=/usr/share/gconf/schemas \ + --docdir=/usr/share/doc/gsql \ + -disable-scrollkeeper + +DEB_INSTALL_CHANGELOGS_ALL := +DEB_INSTALL_DOCS_ALL := + +DEB_DH_MAKESHLIBS_ARGS_gsql-mysql-engine :=-X/usr/lib/gsql +DEB_DH_MAKESHLIBS_ARGS_gsql-postgresql-engine :=-X/usr/lib/gsql +DEB_DH_MAKESHLIBS_ARGS_gsql-plugins :=-X/usr/lib/gsql + +# remove zero-length changelogs +binary-post-install/gsql:: + p=$(@:binary-post-install/%=%); \ + rm -fv debian/$$p/usr/share/doc/$$p/changelog +binary-post-install/libgsql0:: + p=$(@:binary-post-install/%=%); \ + rm -fv debian/$$p/usr/share/doc/$$p/changelog +binary-post-install/libgsql-dev:: + p=$(@:binary-post-install/%=%); \ + rm -fv debian/$$p/usr/share/doc/$$p/changelog +binary-post-install/gsql-mysql-engine:: + p=$(@:binary-post-install/%=%); \ + rm -fv debian/$$p/usr/share/doc/$$p/changelog +binary-post-install/gsql-postgresql-engine:: + p=$(@:binary-post-install/%=%); \ + rm -fv debian/$$p/usr/share/doc/$$p/changelog + +binary-post-install/gsql-plugins:: + p=$(@:binary-post-install/%=%); \ + rm -fv debian/$$p/usr/share/doc/$$p/changelog + +clean:: + rm -f *.cdbs-config_list + rm -f po/*gmo + if test -f Makefile; then make distclean; fi --- gsql-0.2.2.orig/libgsql/notify.c +++ gsql-0.2.2/libgsql/notify.c @@ -21,6 +21,9 @@ #include +#ifndef NOTIFY_CHECK_VERSION +#define NOTIFY_CHECK_VERSION(x,y,z) 0 +#endif #include #include #include @@ -46,7 +49,11 @@ if (!notify_is_initted()) notify_init (PROJECT_NAME); +#if NOTIFY_CHECK_VERSION(0,7,0) + notify = notify_notification_new (subj, message, NULL); +#else notify = notify_notification_new (subj, message, NULL, NULL); +#endif notify_notification_set_icon_from_pixbuf(notify, create_pixbuf ("gsql.png")); notify_notification_set_timeout (notify, NOTIFY_EXPIRES_DEFAULT);