all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add qscintilla.
@ 2016-09-12 17:31 Kei Kebreau
  2016-09-13 14:37 ` Kei Kebreau
  0 siblings, 1 reply; 35+ messages in thread
From: Kei Kebreau @ 2016-09-12 17:31 UTC (permalink / raw)
  To: guix-devel


[-- Attachment #1.1: Type: text/plain, Size: 62 bytes --]

A component necessary for GNU Octave's GUI.
How does it look?

[-- Attachment #1.2: 0001-gnu-Add-qscintilla.patch --]
[-- Type: text/plain, Size: 2921 bytes --]

From c6f182688ab5bd59aeca2e29d67bf527df869963 Mon Sep 17 00:00:00 2001
From: Kei Kebreau <kei@openmailbox.org>
Date: Mon, 12 Sep 2016 13:27:05 -0400
Subject: [PATCH] gnu: Add qscintilla.

* gnu/packages/qt.scm (qscintilla): New variable.
---
 gnu/packages/qt.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index a482d75..e87e2e3 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -4,6 +4,7 @@
 ;;; Copyright © 2015 Ludovic Courtès <ludo@gnu.org>
 ;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
+;;; Copyright © 2016 Kei Kebreau <kei@openmailbox.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1112,3 +1113,44 @@ contain over 620 classes.")
       "QtKeychain is a Qt library to store passwords and other secret data
 securely.  It will not store any data unencrypted unless explicitly requested.")
     (license license:bsd-3)))
+
+(define-public qscintilla
+  (package
+    (name "qscintilla")
+    (version "2.9.3")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://sourceforge/QScintilla2/QScintilla-"
+                                  version "/QScintilla_gpl-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0znvdncpj64zcpbkyvj11dm8bdc3nfn5girggj33ammhfcyvkalq"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'configure
+           (lambda _
+             (chdir "Qt4Qt5")
+             (zero? (system* "qmake" "qscintilla.pro"))))
+         (add-before 'install 'fix-Makefiles
+           (lambda* (#:key inputs outputs #:allow-other-keys)
+             (let ((out    (assoc-ref outputs "out"))
+                   (qtbase (assoc-ref inputs "qtbase")))
+               (substitute* (find-files "." "Makefile")
+                 (((string-append "INSTALL_ROOT)" qtbase))
+                  (string-append "INSTALL_ROOT)" out)))))))))
+    (native-inputs
+     `(("python-pyqt" ,python-pyqt)
+       ("qtbase" ,qtbase))) ; for qmake
+    (home-page "https://www.riverbankcomputing.com/software/qscintilla/intro")
+    (synopsis "Qt5 port of the Scintilla editing component")
+    (description
+     "QScintilla is a port to Qt of Neil Hodgson's Scintilla C++ editor control.
+As well as features found in standard text editing components, QScintilla
+includes features especially useful when editing and debugging source code.
+These include support for syntax styling, error indicators, code completion and
+call tips.")
+    (license (list license:bsd-2 ; Python/configure.py
+                   license:expat ; src/ and include/
+                   license:gpl3))))
-- 
2.10.0


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

^ permalink raw reply related	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2016-10-03 16:17 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-12 17:31 [PATCH] gnu: Add qscintilla Kei Kebreau
2016-09-13 14:37 ` Kei Kebreau
2016-09-13 17:05   ` Leo Famulari
2016-09-13 18:01     ` Kei Kebreau
2016-09-13 18:14       ` Leo Famulari
2016-09-13 18:59         ` Kei Kebreau
2016-09-13 19:04           ` Leo Famulari
2016-09-13 19:40             ` Kei Kebreau
2016-09-13 19:39       ` Efraim Flashner
2016-09-13 20:37         ` Kei Kebreau
2016-09-13 20:48           ` Efraim Flashner
2016-09-14 17:08             ` Leo Famulari
2016-09-14 18:11               ` Kei Kebreau
2016-09-14 18:56                 ` Leo Famulari
2016-09-14 20:37                   ` Kei Kebreau
2016-09-14 20:42                     ` Efraim Flashner
2016-09-15 14:20                       ` Kei Kebreau
2016-09-15 14:25                         ` Kei Kebreau
2016-09-18  8:36           ` Andreas Enge
2016-09-18 20:10             ` Kei Kebreau
2016-09-18 20:56               ` Leo Famulari
2016-09-18 21:02                 ` Efraim Flashner
2016-09-19 13:18                   ` Kei Kebreau
2016-09-19 13:25                     ` Ricardo Wurmus
2016-09-19 14:47                       ` Kei Kebreau
2016-09-19 21:32                         ` Leo Famulari
2016-09-19 21:45                           ` Kei Kebreau
2016-09-19 23:52                             ` Leo Famulari
2016-09-22 19:02                               ` Ricardo Wurmus
2016-09-24  3:30                                 ` Leo Famulari
2016-09-24  5:13                                   ` Kei Kebreau
2016-09-25 17:05                                     ` Leo Famulari
2016-09-25 19:25                                       ` Kei Kebreau
2016-10-03 16:17                             ` Ludovic Courtès
2016-09-19 13:30                     ` Andreas Enge

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.