diff --git a/com.github.alecaddd.sequeler.yml b/com.github.alecaddd.sequeler.yml
new file mode 100644
index 00000000..a252616d
--- /dev/null
+++ b/com.github.alecaddd.sequeler.yml
@@ -0,0 +1,191 @@
+{
+ "app-id": "com.github.alecaddd.sequeler",
+ "runtime": "io.elementary.Platform",
+ "runtime-version": "daily",
+ "sdk": "io.elementary.Sdk",
+ "command": "com.github.alecaddd.sequeler",
+ "finish-args": [
+ "--share=ipc",
+ "--socket=fallback-x11",
+ "--socket=wayland",
+ "--share=network",
+ "--filesystem=~/.ssh/:ro",
+ "--socket=ssh-auth"
+ ],
+ "cleanup": [
+ "/include",
+ "/lib/pkgconfig",
+ "/lib/debug",
+ "/share/vala",
+ "/man",
+ "*.a",
+ "*.la"
+ ],
+ "modules": [{
+ "name": "libxml2",
+ "build-options": {
+ "config-opts": [
+ "--with-python=no"
+ ]
+ },
+ "sources": [{
+ "type": "archive",
+ "url": "https://github.com/GNOME/libxml2/archive/v2.9.10.tar.gz",
+ "sha256": "3bdffb4d728e4dc135b3210bf2a2cebb76548b820a5617c68abb7b83654066dd"
+ }]
+ },
+ {
+ "name": "gtksourceview",
+ "build-options": {
+ "config-opts": [
+ "--enable-gtk-doc=no"
+ ]
+ },
+ "sources": [{
+ "type": "archive",
+ "url": "https://download.gnome.org/sources/gtksourceview/3.24/gtksourceview-3.24.11.tar.xz",
+ "sha256": "691b074a37b2a307f7f48edc5b8c7afa7301709be56378ccf9cc9735909077fd"
+ }]
+ },
+ {
+ "name": "libgda",
+ "build-options": {
+ "config-opts": [
+ "--with-java=no",
+ "--with-jni=no",
+ "--with-oracle=no"
+ ]
+ },
+ "sources": [{
+ "type": "archive",
+ "url": "https://download-fallback.gnome.org/sources/libgda/5.2/libgda-5.2.9.tar.xz",
+ "sha256": "59caed8ca72b1ac6437c9844f0677f8a296d52cfd1c0049116026abfb1d87d9b"
+ }],
+ "modules": [{
+ "name": "postgresql-libs",
+ "build-options": {
+ "config-opts": [
+ "--with-python=no",
+ "--with-perl=no",
+ "--with-libxml",
+ "--with-openssl"
+ ]
+ },
+ "sources": [{
+ "type": "archive",
+ "url": "https://ftp.postgresql.org/pub/source/v13.2/postgresql-13.2.tar.gz",
+ "sha256": "3386a40736332aceb055c7c9012ecc665188536d874d967fcc5a33e7992f8080"
+ }]
+ },
+ {
+ "name": "jemalloc",
+ "cleanup": [
+ "/bin/",
+ "/share"
+ ],
+ "sources": [{
+ "type": "archive",
+ "url": "https://github.com/jemalloc/jemalloc/releases/download/5.2.1/jemalloc-5.2.1.tar.bz2",
+ "sha256": "34330e5ce276099e2e8950d9335db5a875689a4c6a56751ef3b1d8c537f887f6"
+ }]
+ },
+ {
+ "name": "libaio",
+ "buildsystem": "simple",
+ "build-options": {
+ "arch": {
+ "i386": {
+ "cflags": "-march=x86-64 -mtune=generic -O2 -pipe -fno-stack-protector -fno-plt"
+ }
+ }
+ },
+ "build-commands": [
+ "make",
+ "make prefix=/app install"
+ ],
+ "sources": [{
+ "type": "archive",
+ "url": "http://ftp.de.debian.org/debian/pool/main/liba/libaio/libaio_0.3.110.orig.tar.gz",
+ "sha256": "e019028e631725729376250e32b473012f7cb68e1f7275bfc1bbcdd0f8745f7e"
+ }]
+ },
+ {
+ "name": "mariadb",
+ "buildsystem": "cmake",
+ "no-make-install": true,
+ "config-opts": [
+ "-DCMAKE_BUILD_TYPE=Release",
+ "-DBUILD_CONFIG=mysql_release",
+ "-DWITH_INNOBASE_STORAGE_ENGINE=1",
+ "-DWITHOUT_ARCHIVE_STORAGE_ENGINE=1",
+ "-DWITHOUT_BLACKHOLE_STORAGE_ENGINE=1",
+ "-DWITHOUT_PARTITION_STORAGE_ENGINE=1",
+ "-DWITHOUT_TOKUDB=1",
+ "-DWITHOUT_EXAMPLE_STORAGE_ENGINE=1",
+ "-DWITHOUT_FEDERATED_STORAGE_ENGINE=1",
+ "-DWITHOUT_PBXT_STORAGE_ENGINE=1",
+ "-DPLUGIN_AUTH_PAM=NO"
+ ],
+ "post-install": [
+ "make -C libmysql install",
+ "make -C include install",
+ "install -Dm755 scripts/mysql_config /app/bin/mysql_config",
+ "install -Dm644 support-files/mariadb.pc /app/share/pkgconfig/mariadb.pc"
+ ],
+ "cleanup": [
+ "/bin/"
+ ],
+ "sources": [{
+ "type": "archive",
+ "url": "http://ftp.hosteurope.de/mirror/archive.mariadb.org/mariadb-10.1.48/source/mariadb-10.1.48.tar.gz",
+ "sha256": "069d58b1e2c06bb1e6c31249eda34138f41fb8ae3dec7ecaeba8035812c87cf9"
+ }]
+ },
+ {
+ "name": "intltool",
+ "cleanup": [ "*" ],
+ "sources": [
+ {
+ "type": "archive",
+ "url": "https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz",
+ "sha256": "67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "libssh2",
+ "sources": [{
+ "type": "archive",
+ "url": "https://www.libssh2.org/download/libssh2-1.9.0.tar.gz",
+ "sha256": "d5fb8bd563305fd1074dda90bd053fb2d29fc4bce048d182f96eaa466dfadafd"
+ }]
+ },
+ {
+ "name": "libfiposix",
+ "sources": [{
+ "type": "archive",
+ "url": "https://github.com/sionescu/libfixposix/archive/v0.4.3.tar.gz",
+ "sha256": "78fe8bcebf496520ac29b5b65049f5ec1977c6bd956640bdc6d1da6ea04d8504"
+ },
+ {
+ "type": "script",
+ "dest-filename": "autogen.sh",
+ "commands": [
+ "autoreconf -vfi"
+ ]
+ }
+ ]
+ },
+ {
+ "name": "sequeler",
+ "buildsystem": "meson",
+ "sources": [{
+ "type": "dir",
+ "path": "."
+ }
+ ]
+ }
+ ]
+}
diff --git a/data/com.github.alecaddd.sequeler.appdata.xml.in.in b/data/com.github.alecaddd.sequeler.appdata.xml.in.in
index 006540a9..2b5bdaa4 100644
--- a/data/com.github.alecaddd.sequeler.appdata.xml.in.in
+++ b/data/com.github.alecaddd.sequeler.appdata.xml.in.in
@@ -37,6 +37,14 @@
@appid@
+
+
+ Odin release
+
+ - Updated translations for Ukranian, Russian, Indonisian, Chinese, Lithuanian, Portugese, Turkish, and Arabic.
+
+
+
New Features
diff --git a/debian/changelog b/debian/changelog
deleted file mode 100644
index 21d1f852..00000000
--- a/debian/changelog
+++ /dev/null
@@ -1,295 +0,0 @@
-com.github.alecaddd.sequeler (0.8.0) xenial; urgency=medium
-
- * Create, Edit, and Delete databases.
- * New context menu to copy and edit tables.
- * Support unencrypted connections.
- * Fix copy column data.
- * Updated translations for Ukranian, Russian, French, and German.
-
- -- Alessandro Castellani Thu, 25 Jun 2020 11:00:00 -0700
-
-com.github.alecaddd.sequeler (0.7.91) xenial; urgency=high
-
- * Reduced CPU usage by 2%.
- * Update translations for Italian, Spanish, Catalan, French, Hindi, Russian, and Turkish.
-
- -- Alessandro Castellani Tue, 12 May 2020 11:00:00 -0700
-
-com.github.alecaddd.sequeler (0.7.9) xenial; urgency=high
-
- * Fixed usage of wrong Vala method.
-
- -- Alessandro Castellani Thu, 12 Apr 2020 11:00:00 -0700
-
-com.github.alecaddd.sequeler (0.7.8) xenial; urgency=high
-
- * Fixed usage attempt of wrong Vala method.
-
- -- Alessandro Castellani Thu, 11 Apr 2020 12:00:00 -0700
-
-com.github.alecaddd.sequeler (0.7.7) xenial; urgency=high
-
- * Fix nasty GSettings bug causing the app to crash.
- * Implement GDA Placeholder statement.
- * Improve Query Tab iconography.
-
- -- Alessandro Castellani Thu, 11 Apr 2020 11:00:00 -0700
-
-com.github.alecaddd.sequeler (0.7.6) xenial; urgency=medium
-
- * Fix ORDER BY in PostgreSQL Relationship view.
- * Improve MySQL structure view.
- * Drop Granite.Settings in favour of GLib.Settings.
- * Implement Granite.Notebook on the Query tab.
- * Show query error messages inline.
-
- -- Alessandro Castellani Thu, 09 Apr 2020 11:00:00 -0700
-
-com.github.alecaddd.sequeler (0.7.5) xenial; urgency=medium
-
- * You can now duplicate connections.
- * Sorting columns now works as expected by actually running the ORDER BY query.
- * Quickly jump to a specific result page with the handy dandy pagination popover.
- * Show Comment Column inside table structure view.
-
- -- Alessandro Castellani Sat, 04 Apr 2020 11:00:00 -0700
-
-com.github.alecaddd.sequeler (0.7.4) xenial; urgency=medium
-
- * Manually reorder saved connection.
- * Allow selecting a custom SSH public key.
- * Fix SSH tunnel crashes.
-
- -- Alessandro Castellani Tue, 31 Mar 2020 11:00:00 -0700
-
-com.github.alecaddd.sequeler (0.7.3) xenial; urgency=medium
-
- * Strip comments from SQL raw queries.
- * Better handle complex queries on multiple lines.
- * Speed up query rendering.
-
- -- Alessandro Castellani Sun, 1 Sept 2019 11:00:00 -0700
-
-com.github.alecaddd.sequeler (0.7.2) xenial; urgency=medium
-
- * Edit font size of the Query Tab.
- * Edit background style of the Query Tab.
- * Save and remember the Query Tab size.
-
- -- Alessandro Castellani Fri, 5 Aug 2019 11:00:00 -0700
-
-com.github.alecaddd.sequeler (0.7.1) xenial; urgency=medium
-
- * Fixed PostgreSQL relationship table.
- * Fixed wrong response message when handling non select queries.
-
- -- Alessandro Castellani Fri, 2 Aug 2019 11:00:00 -0700
-
-com.github.alecaddd.sequeler (0.7.0) xenial; urgency=medium
-
- * Removed unused libfixposix.
- * Fixed pagination issue when clicking too fast while fetching big data.
-
- -- Alessandro Castellani Tue, 7 Apr 2019 11:00:00 -0700
-
-com.github.alecaddd.sequeler (0.6.9) xenial; urgency=medium
-
- * Rewritten pagination to use LIMIT and OFFSET.
- * Faster pagination and content viewing for big data.
- * Show records count in table's list.
- * Bug fixes and other improvements.
-
- -- Alessandro Castellani Tue, 2 Apr 2019 19:00:00 -0700
-
-com.github.alecaddd.sequeler (0.6.8) xenial; urgency=medium
-
- * Properly handle EXPLAIN SQL statement.
- * Properly handle querying capitlized PostgreSQL tables.
- * Improved async methods for internal views.
- * Updated translations.
- * Bug fixes and other improvements.
-
- -- Alessandro Castellani Tue, 19 Mar 2019 21:00:00 -0700
-
-com.github.alecaddd.sequeler (0.6.7) xenial; urgency=high
-
- * CRITICAL: Fixes missing GSettings Schema, restore lost connections.
- * Other small bug fixes and improvements.
-
- -- Alessandro Castellani Wed, 2 Jan 2019 23:00:00 -0700
-
-com.github.alecaddd.sequeler (0.6.6) xenial; urgency=medium
-
- * WARNING: This release packs many updates and something could break. Please, backup your connections.
- * Connect via SSH to a remote Database.
- * Major code refactor to handle UI updates via async methods.
- * Use Stack container to show a loading Spinner during fetch or data processing methods.
- * Major performance improvements to the table search and dropdown schema switcher.
- * Bug fixes and other improvements.
-
- -- Alessandro Castellani Sun, 29 Dec 2018 19:00:00 -0700
-
-com.github.alecaddd.sequeler (0.6.5) xenial; urgency=medium
-
- * New fancy Icon.
- * Use GtkNativeDialog.
- * Bug fixes and Improvements.
-
- -- Alessandro Castellani Sun, 15 Dec 2018 14:30:00 -0700
-
-com.github.alecaddd.sequeler (0.6.4) xenial; urgency=medium
-
- * Open SQLite files directly in Sequeler.
- * Right click to copy data inside a column.
- * Bug fixes and Improvements.
-
- -- Alessandro Castellani Sun, 9 Dec 2018 20:30:00 -0700
-
-com.github.alecaddd.sequeler (0.6.3) xenial; urgency=medium
-
- * UI fix for logout button.
- * View shortcuts on preferences dropdown.
- * Performance Improvements.
- * Italian translation.
-
- -- Alessandro Castellani Tue, 19 Sept 2018 12:28:00 -0500
-
-com.github.alecaddd.sequeler (0.6.2) xenial; urgency=medium
-
- * Export results from Query Tab.
- * Export in CSV or Plain Text format.
- * Sort Columns order everywhere.
- * Brazilian translation.
-
- -- Alessandro Castellani Tue, 11 Sept 2018 12:28:00 -0500
-
-com.github.alecaddd.sequeler (0.6.1) xenial; urgency=medium
-
- * Paginate results in the Content tab.
- * Query messages UI improvements.
- * Relations table bug fixes.
-
- -- Alessandro Castellani Fri, 7 Sept 2018 12:28:00 -0500
-
-com.github.alecaddd.sequeler (0.6.0) xenial; urgency=medium
-
- * Ability to handle multiple SQL queries.
- * Execute the currently highlighted query.
- * Improved Library Popover UI.
- * Use native GTK+ CSS attributes for better Light/Dark mode.
- * Random UI improvements.
-
- -- Alessandro Castellani Fri, 24 Aug 2018 12:28:00 -0500
-
-com.github.alecaddd.sequeler (0.5.9) xenial; urgency=high
-
- * Urgent! Fixed broken Tabs for translated version.
-
- -- Alessandro Castellani Tue, 17 Jul 2018 12:28:00 -0500
-
-com.github.alecaddd.sequeler (0.5.8) xenial; urgency=medium
-
- * Better Dark/Light mode switch in header bar.
- * Add Russian translation.
- * Updated Welcome screen with New Window command.
- * Code cleanup.
-
- -- Alessandro Castellani Mon, 16 Jul 2018 12:28:00 -0500
-
-com.github.alecaddd.sequeler (0.5.7) xenial; urgency=medium
-
- * Official Juno release.
- * Missing filter name on SQLite File Dialog.
-
- -- Alessandro Castellani Fri, 6 Jul 2018 12:28:00 -0500
-
-com.github.alecaddd.sequeler (0.5.6) xenial; urgency=medium
-
- * Search table names in sidebar.
- * Fixes issue in connecting directly on a non saved connection.
- * Updated Lithuanian translation.
- * Italian translation.
-
- -- Alessandro Castellani Mon, 25 Jun 2018 12:28:00 -0500
-
-com.github.alecaddd.sequeler (0.5.5) xenial; urgency=medium
-
- * Safely store passwords in LibSecret.
- * Auto upgrade on startup to remove passwords from GSettings.
- * Fixes issues with identical table names from other database in the same connection.
- * Alphabetically ordered tables.
- * Improvements in showing MySql/MariaDB Table Structure.
- * Many more bugs for you to discover.
-
- -- Alessandro Castellani Sat, 09 Jun 2018 12:28:00 -0500
-
-com.github.alecaddd.sequeler (0.5.4) xenial; urgency=medium
-
- * New Icon and Import/Export Library.
- * Fancy new icon.
- * Import and Export connections library.
- * Fixed random crash when opening and closing multiple connections.
- * Bug fixes and improvements.
-
- -- Alessandro Castellani Fri, 24 Feb 2018 12:28:00 -0500
-
-com.github.alecaddd.sequeler (0.5.3) xenial; urgency=medium
-
- * Bug fixes and improvements.
- * Fixed PostgreSQL Schema show options.
- * Fixed crash on new connection dialog when opening the connection before saving.
-
- -- Alessandro Castellani Fri, 23 Feb 2018 12:28:00 -0500
-
-com.github.alecaddd.sequeler (0.5.2) xenial; urgency=medium
-
- * Fixed save window state on close.
- * Bug fixes and improvements.
-
- -- Alessandro Castellani Mon, 20 Feb 2018 12:28:00 -0500
-
-com.github.alecaddd.sequeler (0.5.1) xenial; urgency=medium
-
- * Alternate coloured rows!
- * Manually reload Content, Structure, and Relations.
- * Properly handle compound queries.
- * Fix PostgreSQL table switch.
-
- -- Alessandro Castellani Mon, 19 Feb 2018 12:28:00 -0500
-
-com.github.alecaddd.sequeler (0.5.0) xenial; urgency=medium
-
- * Complete rewrite of the entire code base!
- * Handle multiple Windows/Instances and multiple open connections.
- * Show Table schema, content, and constraint relationships.
- * Better error handling.
- * Bug fixes and improvements.
-
- -- Alessandro Castellani Sun, 18 Feb 2018 12:28:00 -0500
-
-com.github.alecaddd.sequeler (0.4.3) xenial; urgency=medium
-
- * Better error handling, less crashes!
- * The app doesn't crash when dealing with big values.
- * Handling errors related to columns.
- * Quicker response on big select queries.
- * Some small clean up.
- * Fixes issue with SQL Lite encrypted path.
-
- -- Alessandro Castellani Mon, 22 Jan 2018 16:28:00 -0500
-
-com.github.alecaddd.sequeler (0.4.2) xenial; urgency=medium
-
- * Better error handling, less crashes!
- * The app doesn't crash when dealing with big values.
- * Handling errors related to columns.
- * Quicker response on big select queries.
- * Some small clean up.
-
- -- Alessandro Castellani Sun, 21 Jan 2018 16:28:00 -0500
-
-com.github.alecaddd.sequeler (0.1) precise; urgency=low
-
- * Initial Release.
-
- -- Alessandro Castellani Sat, 5 Aug 2017 04:53:39 -0500
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index ec635144..00000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-9
diff --git a/debian/control b/debian/control
deleted file mode 100644
index 655fea37..00000000
--- a/debian/control
+++ /dev/null
@@ -1,29 +0,0 @@
-Source: com.github.alecaddd.sequeler
-Section: x11
-Priority: extra
-Maintainer: Alessandro Castellani
-Build-Depends: meson,
- debhelper (>= 10.5.1),
- libgtk-3-dev,
- valac (>= 0.26),
- libgranite-dev (>= 0.5),
- libjson-glib-dev,
- libgudev-1.0-dev,
- libevdev-dev,
- libgtksourceview-3.0-dev,
- libxml2-dev,
- libglib2.0-dev,
- libgda-5.0-dev,
- libmysqlclient-dev,
- libpq-dev,
- libgda-5.0-mysql,
- libgda-5.0-postgres,
- libsecret-1-dev,
- libssh2-1-dev
-Standards-Version: 4.1.1
-
-Package: com.github.alecaddd.sequeler
-Architecture: any
-Depends: ${misc:Depends}, ${shlibs:Depends}, libgda-5.0-mysql, libgda-5.0-postgres
-Description: Sequeler
- Friendly SQL Client
\ No newline at end of file
diff --git a/debian/copyright b/debian/copyright
deleted file mode 100644
index 8651841e..00000000
--- a/debian/copyright
+++ /dev/null
@@ -1,38 +0,0 @@
-Format: http://dep.debian.net/deps/dep5
-Upstream-Name: com.github.alecaddd.sequeler
-Source: https://github.com/Alecaddd/sequeler
-
-Files: src/* data/* cmake/* debian/* schemas/*
-
-Upstream Author(s):
-
- Alessandro Castellani
-
-
-Copyright:
-
- Copyright (C) 2017 Alessandro Castellani
-
-License:
-
- 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 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 program. If not, see .
-
-On Debian systems, the complete text of the GNU General
-Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
-
-The Debian packaging is:
-
- Copyright (C) 2014 Cody Garver
-
-and is licensed under the GPL version 3, see above.
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
deleted file mode 100755
index 46a69ee8..00000000
--- a/debian/rules
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-%:
- dh $@
-
-override_dh_auto_clean:
- rm -rf debian/build
-
-override_dh_auto_configure:
- mkdir -p debian/build
- cd debian/build && meson --prefix=/usr ../..
-
-override_dh_auto_build:
- cd debian/build && ninja -v
-
-override_dh_auto_test:
- cd debian/build && ninja test
-
-override_dh_auto_install:
- cd debian/build && DESTDIR=${CURDIR}/debian/com.github.alecaddd.sequeler ninja install
\ No newline at end of file
diff --git a/debian/source/format b/debian/source/format
deleted file mode 100644
index 89ae9db8..00000000
--- a/debian/source/format
+++ /dev/null
@@ -1 +0,0 @@
-3.0 (native)
diff --git a/meson.build b/meson.build
index e1f950de..9f4b6dfe 100644
--- a/meson.build
+++ b/meson.build
@@ -1,6 +1,6 @@
# project name and programming language
project('com.github.alecaddd.sequeler', 'vala', 'c',
- version: '0.8.0')
+ version: '0.8.1')
cc = meson.get_compiler('c')
m_dep = cc.find_library('m', required: true)