From patchwork Wed Jun 5 21:01:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Nicolas Goaziou X-Patchwork-Id: 14241 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 217D6170B8; Wed, 5 Jun 2019 22:03:14 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 8817B170B6 for ; Wed, 5 Jun 2019 22:03:13 +0100 (BST) Received: from localhost ([127.0.0.1]:49981 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYd3v-0002n3-NT for patchwork@mira.cbaines.net; Wed, 05 Jun 2019 17:03:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50130) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYd3p-0002kO-LD for guix-patches@gnu.org; Wed, 05 Jun 2019 17:03:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hYd3n-0004jl-CD for guix-patches@gnu.org; Wed, 05 Jun 2019 17:03:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34762) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hYd3l-0004hs-TR for guix-patches@gnu.org; Wed, 05 Jun 2019 17:03:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hYd3l-00067H-Lj for guix-patches@gnu.org; Wed, 05 Jun 2019 17:03:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36043] [PATCH] Add Geany Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 05 Jun 2019 21:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36043 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Arun Isaac Received: via spool by 36043-submit@debbugs.gnu.org id=B36043.155976852523444 (code B ref 36043); Wed, 05 Jun 2019 21:03:01 +0000 Received: (at 36043) by debbugs.gnu.org; 5 Jun 2019 21:02:05 +0000 Received: from localhost ([127.0.0.1]:48305 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYd2l-00065i-JY for submit@debbugs.gnu.org; Wed, 05 Jun 2019 17:02:04 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:44719) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYd2i-00065X-5V for 36043@debbugs.gnu.org; Wed, 05 Jun 2019 17:01:57 -0400 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 83E07FF805; Wed, 5 Jun 2019 21:01:47 +0000 (UTC) From: Nicolas Goaziou References: <87muj1vvds.fsf@nicolasgoaziou.fr> Date: Wed, 05 Jun 2019 23:01:45 +0200 In-Reply-To: (Arun Isaac's message of "Tue, 04 Jun 2019 17:55:57 +0530") Message-ID: <877e9zu4p2.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 36043@debbugs.gnu.org Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hello, Thank you for the feedback. Arun Isaac writes: > Please add a copyright header with your name and email address. > > The scintilla library comes bundled with geany. Is it possible to > unbundle it? Guix doesn't provide the scintilla library. I tried to package it, but failed. I can send my latest attempt, if you want to give it a spin. Meanwhile, I added this as a TODO in the package definition. >> + (inputs >> + `(("gtk2" ,gtk+-2))) > > Geany supports gtk3. Could you build with that? Done. > Perhaps rewrite this as: > > Geany is a small and fast Integrated Development Environment (IDE) that > only has a few dependencies on other packages and is as independent as > possible from special desktop environments like KDE or GNOME. OK. >> Geany only requires the GTK2 runtime libraries. > > I think we should not mention this in the description, especially if we > are building with gtk3. OK. > >> +Some basic features of Geany: >> +@itemize >> +@item Syntax highlighting >> +@item Code folding >> +@item Symbol name auto-completion >> +@item Construct completion/snippets >> +@item Auto-closing of XML and HTML tags >> +@item Call tips >> +@item Many supported filetypes including C, Java, PHP, HTML, Python, >> + Perl, Pascal (full list) > > What is (full list) ? I don't know. I changed the description, and added more inputs to build documentation. Here is the updated patch. Let me know if you want the scintilla draft. WDYT? Regards, From 520bfc8dc2eed15b4835c641d6645e5790341af6 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 1 Jun 2019 23:37:24 +0200 Subject: [PATCH] gnu: Add geany. * gnu/packages/text-editors.scm (geany): New variable. --- gnu/packages/text-editors.scm | 42 +++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index 534934dfd1..824a2aea5f 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2014 Taylan Ulrich Bayırlı/Kammer ;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice ;;; Copyright © 2019 Efraim Flashner +;;; Copyright © 2019 Nicolas Goaziou ;;; ;;; This file is part of GNU Guix. ;;; @@ -389,3 +390,44 @@ projects. The EditorConfig project maintains a file format and plugins for various text editors which allow this file format to be read and used by those editors.") (license license:bsd-2))) + +(define-public geany + (package + (name "geany") + (version "1.35") + (source (origin + (method url-fetch) + (uri (string-append "https://download.geany.org/" + "geany-" version ".tar.bz2")) + (sha256 + (base32 + "179xfnvhcxsv54v2mlrhykqv2j7klniln5sffvqqpjmdvwyivvim")))) + (build-system gnu-build-system) + (native-inputs + `(("doxygen" ,doxygen) + ("intltool" ,intltool) + ("pkg-config" ,pkg-config) + ("python-docutils" ,python-docutils))) ;for rst2html + ;; TODO: Unbundle scintilla when packaged. + (inputs + `(("gtk+" ,gtk+))) + (home-page "https://www.geany.org") + (synopsis "Fast and lightweight IDE") + (description "Geany is a small and fast Integrated Development +Environment (IDE) that only has a few dependencies on other packages and is as +independent as possible from special desktop environments like KDE or GNOME. + +The basic features of Geany are: +@itemize +@item syntax highlighting +@item code completion +@item auto completion of often constructed constructs like if, for and while +@item auto completion of XML and HTML tags +@item call tips +@item folding +@item many supported filetypes like C, Java, PHP, HTML, Python, Perl, Pascal +@item symbol lists +@item embedded terminal emulation +@item extensibility through plugins +@end itemize") + (license license:gpl2+))) -- 2.21.0