From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uIyeK46R9mCZ3AAAgWs5BA (envelope-from ) for ; Tue, 20 Jul 2021 11:04:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id oB1hJ46R9mDENwAAB5/wlQ (envelope-from ) for ; Tue, 20 Jul 2021 09:04:14 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id ED7124095 for ; Tue, 20 Jul 2021 11:04:13 +0200 (CEST) Received: from localhost ([::1]:45634 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m5lfg-0007JX-K5 for larch@yhetil.org; Tue, 20 Jul 2021 05:04:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35718) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5lfW-0007Ha-HX for guix-patches@gnu.org; Tue, 20 Jul 2021 05:04:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49453) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m5lfV-0006WW-Vt for guix-patches@gnu.org; Tue, 20 Jul 2021 05:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m5lfV-0001hY-TC for guix-patches@gnu.org; Tue, 20 Jul 2021 05:04:01 -0400 Subject: bug#49614: [PATCH] gnu: Add sequeler. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Tue, 20 Jul 2021 09:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 49614 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Alexandre Hannud Abdo Cc: 49614-done@debbugs.gnu.org Received: via spool by 49614-done@debbugs.gnu.org id=D49614.16267717876451 (code D ref 49614); Tue, 20 Jul 2021 09:04:01 +0000 Received: (at 49614-done) by debbugs.gnu.org; 20 Jul 2021 09:03:07 +0000 Received: from localhost ([127.0.0.1]:60988 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5leZ-0001fn-R6 for submit@debbugs.gnu.org; Tue, 20 Jul 2021 05:03:07 -0400 Received: from flashner.co.il ([178.62.234.194]:43784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5leY-0001fJ-CT for 49614-done@debbugs.gnu.org; Tue, 20 Jul 2021 05:03:03 -0400 Received: from localhost (unknown [31.210.177.125]) by flashner.co.il (Postfix) with ESMTPSA id 70D4A40092; Tue, 20 Jul 2021 09:02:56 +0000 (UTC) Date: Tue, 20 Jul 2021 12:02:01 +0300 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , Alexandre Hannud Abdo , 49614-done@debbugs.gnu.org References: <6440c80b-558a-9593-abf5-be0d7c948c10@member.fsf.org> <3318b0c0-526d-b0a7-9c57-f81dc8df54bc@member.fsf.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="9ggQoCV6FenQWBc8" Content-Disposition: inline In-Reply-To: <3318b0c0-526d-b0a7-9c57-f81dc8df54bc@member.fsf.org> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626771854; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-to:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=PMsR8VlaMJZf6g/Np6BkWAtVSCn9JBNOlMLRPSJ2ZEo=; b=ifvGt8NtOULeIBPaXa+OLfTj8bJ3oVzZFw9rIwaa7Z7mMJ/f9S/WqnS67RRQqMrOv+rYLo Y1eIJDXZeZBJ/GAVc2Jto1WlS4EjGoAc7u1KETZ1RUYlpPZAB9+IDETdwRUD5I9yRj5ZK6 n16WHZec+Q6dsPNs5t7VxCo0L46tyFni1oBsXxQNnyq2nUOtJ80eQ6eGfp22W+DCvoLdW3 6xzVAAzhlZtc3ng/d3rJpgFWHxiC74ojrhXUfkTf5b8KMl9GV/GMC5GRxdLOnTMZ0tYxh+ tItcL0XSTUGO3rTU8LereSRM73zRxJrS1m479dBqdhKnefW9xd53e/mKpTqIKQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626771854; a=rsa-sha256; cv=none; b=QmAPCkjGwVpTqnKmPGD0ieltdepMx82z67ylNCbK97zhagy9muDzhoqPTPflzDQjQsNejv OqAWh/qay4rntvktJ2h6e/fplhgBR/B4fKGyP5R8w4iz22oKWZ+NQ1SlqfXXCtNUPQRJ4H glPw0KiEdWQjrr7LPtYPG+7UMdl7RyORGKFeuRorrG72aThi1/4JX6gXy4QtOnQeNEIsus ko8IWtRPZB2FFSHb57D8hRgrRNjnn7e/7BfD9mWKQkGbwT7pr50C6nwWE21XsZvoLfkZre 7nXg1Fy6n6f7lVg5OsGjK2O0uir99249Wi9JI/tF9k32fyjIORFHWNCl2Pruuw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -4.02 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: ED7124095 X-Spam-Score: -4.02 X-Migadu-Scanner: scn1.migadu.com X-TUID: CTYokISuT8gu --9ggQoCV6FenQWBc8 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Not using a GTK based desktop I was able to make some changes to make sure it ran smoothly. On Mon, Jul 19, 2021 at 02:47:03PM +0200, Alexandre Hannud Abdo wrote: > * gnu/packages/databases.scm (sequeler): New variable. > --- > gnu/packages/databases.scm | 49 ++++++++++++++++++++++++++++++++++++++ > 1 file changed, 49 insertions(+) >=20 > diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm > index 28832041ed..19c720a94a 100644 > --- a/gnu/packages/databases.scm > +++ b/gnu/packages/databases.scm > @@ -52,6 +52,7 @@ > ;;; Copyright =C2=A9 2021 Pjotr Prins > ;;; Copyright =C2=A9 2021 Bonface Munyoki Kilyungi > ;;; Copyright =C2=A9 2021 Simon Streit > +;;; Copyright =C2=A9 2021 Alexandre Hannud Abdo > ;;; > ;;; This file is part of GNU Guix. > ;;; > @@ -78,6 +79,7 @@ > #:use-module (gnu packages bash) > #:use-module (gnu packages bison) > #:use-module (gnu packages boost) > + #:use-module (gnu packages build-tools) > #:use-module (gnu packages check) > #:use-module (gnu packages cmake) > #:use-module (gnu packages compression) > @@ -88,11 +90,14 @@ > #:use-module (gnu packages dbm) > #:use-module (gnu packages emacs) > #:use-module (gnu packages flex) > + #:use-module (gnu packages freedesktop) > #:use-module (gnu packages gcc) > #:use-module (gnu packages gettext) > #:use-module (gnu packages glib) > + #:use-module (gnu packages gnome) > #:use-module (gnu packages gnupg) > #:use-module (gnu packages golang) > + #:use-module (gnu packages gtk) > #:use-module (gnu packages guile) > #:use-module (gnu packages icu4c) > #:use-module (gnu packages jemalloc) > @@ -109,6 +114,7 @@ > #:use-module (gnu packages multiprecision) > #:use-module (gnu packages ncurses) > #:use-module (gnu packages onc-rpc) > + #:use-module (gnu packages pantheon) > #:use-module (gnu packages parallel) > #:use-module (gnu packages pcre) > #:use-module (gnu packages perl) > @@ -130,6 +136,7 @@ > #:use-module (gnu packages ruby) > #:use-module (gnu packages serialization) > #:use-module (gnu packages sphinx) > + #:use-module (gnu packages ssh) > #:use-module (gnu packages sqlite) > #:use-module (gnu packages tcl) > #:use-module (gnu packages terminals) > @@ -148,6 +155,7 @@ > #:use-module (guix build-system emacs) > #:use-module (guix build-system gnu) > #:use-module (guix build-system go) > + #:use-module (guix build-system meson) > #:use-module (guix build-system perl) > #:use-module (guix build-system python) > #:use-module (guix build-system ruby) > @@ -3983,3 +3991,44 @@ PostreSQL, SQLite, ODBC and MySQL.") > "FreeTDS is an implementation of the Tabular DataStream protocol, u= sed for > connecting to MS SQL and Sybase servers over TCP/IP.") > (license license:lgpl2.0+))) > + > +(define-public sequeler > + (package > + (name "sequeler") > + (version "0.8.1") > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/Alecaddd/sequeler") > + (commit (string-append "v" version)))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 > + "1q1vzc3likpiwfh6blkyiz0wr0aarj9xrm8gbi7m3p1wslkpah7c"))= )) > + (build-system meson-build-system) I added some boilerplate here to wrap the gtk variables and to not build the icon-cache since it's built at profile-creation time. > + (native-inputs > + `(("pkg-config" ,pkg-config) > + ("meson" ,meson) > + ("vala" ,vala) > + ("desktop-file-utils" ,desktop-file-utils) > + ;; ("appstream-glib" ,appstream-glib) ; validation fails for lack= of network > + ("glib:bin" ,glib "bin") ; for glib-compile-resources > + ("gtk+" ,gtk+ "bin"))) meson isn't needed because it's included by default with the meson-build-system. I took out the desktop-file-utils since we weren't updating the desktop database. > + (inputs > + `(("gtk+" ,gtk+) > + ("granite" ,granite) > + ("libgee" ,libgee) > + ("glib" ,glib) > + ("libxml2" ,libxml2) > + ("libgda" ,libgda) > + ("gtksourceview-3" ,gtksourceview-3) > + ("libsecret" ,libsecret) > + ("libssh2" ,libssh2) > + ("gettext-minimal" ,gettext-minimal))) gettext-minimal I moved to native-inputs. I also added gsettings-desktop-schemas to inputs since it complained (at me) when I tried to run sequeler without including it. > + (synopsis "Friendly SQL Client") > + (description "Sequeler is a native Linux SQL client built in Vala and > +Gtk. It allows you to connect to your local and remote databases, write= SQL in > +a handy text editor with language recognition, and visualize SELECT resu= lts in > +a Gtk.Grid Widget.") > + (home-page "https://github.com/Alecaddd/sequeler") > + (license license:lgpl3+))) Looking at the source code headers it looks like it's gpl2+, so I changed the license. > --=20 > 2.32.0 >=20 Thanks for the patch! Pushed. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --9ggQoCV6FenQWBc8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmD2kQkACgkQQarn3Mo9 g1Hk9RAAhFggR1fiO6UCMcs54l8pQfdlsa9G1ierGo/EGdH0fuqZuykp1fJNmWtR ytiK4Ecyg+QMbLKBOThwXI7zEI0C/wWXUMlQ8uO2U1y7+0V/ek9JXwfduHmj8lYl Y/6xaXeQgzoU/VWMpgOHh6FJkhhdnkcZeX3VmHZe0i+LuwR1M3dMLXee+Rwgz4j6 06FB1mp8YKOqonCA/7+54HG82QeUEFuIElW2lg8VzpUK9NeLcTB164eyj1LVPNX0 3ClD93RfqngJsZ2KnDmiQCB/d1oW2eCgKW+d2JNonR6EcJ/kFyuTFVMSr5mxKqQo oFgx2zFAKGx4kAeA+PMEP7RidMpKBK1xBVBW6QS9CJJFkkhuEEH4IwMoV5Dr0FEW fLnIgAtdUTrAD/Rr/k2kx9HgviqUr3Y3evWtb/LU3jYpg+vKpGoR4aHdhP6uIpTD CFL8ajdtvKQMHDGLwZmTcrYNbNLpL/6HA2U4RNFhCB0prtGHNZ36qBBivgg63DxB 0nd7x+EphkZv5c1ZBa9QrYTCAAAzoT/LMJOkAP4MVcqRrsQK9M7aYycpm4LkV9bk 76JTQBECfqs5LImHCggMO84yVAVgdCtc7f5Tn8Xc3H2IyNn869DUI2o88lRRADL6 S1xu0MfQWE0aKs/w1zHRMpmRF8GYwrSby371VuQdSV7voEXZ2ng= =23+S -----END PGP SIGNATURE----- --9ggQoCV6FenQWBc8--