From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kei Kebreau Subject: [PATCH] gnu: Add qscintilla. Date: Mon, 12 Sep 2016 13:31:33 -0400 Message-ID: <87a8fddnyi.fsf@openmailbox.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54350) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjV58-0006v1-8J for guix-devel@gnu.org; Mon, 12 Sep 2016 13:31:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjV54-0005Gm-AD for guix-devel@gnu.org; Mon, 12 Sep 2016 13:31:46 -0400 Received: from smtp29.openmailbox.org ([62.4.1.63]:55192 helo=smtp14.openmailbox.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjV53-0005Fl-W8 for guix-devel@gnu.org; Mon, 12 Sep 2016 13:31:42 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain A component necessary for GNU Octave's GUI. How does it look? --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-qscintilla.patch Content-Transfer-Encoding: quoted-printable From=20c6f182688ab5bd59aeca2e29d67bf527df869963 Mon Sep 17 00:00:00 2001 From: Kei Kebreau Date: Mon, 12 Sep 2016 13:27:05 -0400 Subject: [PATCH] gnu: Add qscintilla. * gnu/packages/qt.scm (qscintilla): New variable. =2D-- 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 =2D-- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -4,6 +4,7 @@ ;;; Copyright =C2=A9 2015 Ludovic Court=C3=A8s ;;; Copyright =C2=A9 2015, 2016 Efraim Flashner ;;; Copyright =C2=A9 2016 ng0 +;;; Copyright =C2=A9 2016 Kei Kebreau ;;; ;;; 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 reques= ted.") (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/QScint= illa-" + 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/int= ro") + (synopsis "Qt5 port of the Scintilla editing component") + (description + "QScintilla is a port to Qt of Neil Hodgson's Scintilla C++ editor co= ntrol. +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 completio= n and +call tips.") + (license (list license:bsd-2 ; Python/configure.py + license:expat ; src/ and include/ + license:gpl3)))) =2D-=20 2.10.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJX1uZ2AAoJEOal7jwZRnoNXaEP/2RlEqyU8Q8Zf7T7N9ltMO3e O6padVglOv1LqNeXy9kCZDiOlAZEkeZ/IID6RD7fOMWZSXGEWYJ0e/fXMmY8jzmr Og5gk0BvAUZpyAAsovthTChlC+7ELGYxaqoalMHpuCr8zSr85upUyGR/c2bIrVpU eReF/82xgt3404fYJyxTAK+GjnTNBTZZZimXXC+nQrI2hp4qwNLf1qjTzws4xezP u2lHp1ApS7/QTfZm2CtPQxHCoP3Na1K/3MGyW4NyBnh9zliZQRTRdhrV1YHBXIP0 IwANefZkQu85MV+vTdJxpCop0652g5lEVFswwjS6KKw5HEjZwuu0EGdHZlsF0cva IP/TvhWXKUcrk0QJn/m2D+jmLNy2/wbSp/L6cEKR72ZIxIG+6j8J7GmfxibAb8GW ZMdQkCtLSG9lB5JVolqmLj8Gh5jvD6we2Z6MdNkSSuuomk4eaNBDlZQBkyKWrbkb MLWUufrCF+E07nxRXykzS9ej54o0xzRj6WSOgcEAC2TDKNxWH8oD9NkXUR4Sypuw xGYAsxAnSlNkygh8i1/mKlRy/10oFxi6cjJDIco7xjRxUaWJaeZGg3iBdIo9gtB2 YzjOu5xKeej03gfBDxmCUrnPHnYypToMk2uub7VTSQbGwYs22xGmxZV/9ydJRxjJ BE9UlAjKF34EMbyKVgof =CXUx -----END PGP SIGNATURE----- --==-=-=--