;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013, 2014, 2015 Ludovic Courtès ;;; Copyright © 2014, 2015 Mark H Weaver ;;; Copyright © 2014 Eric Bavier ;;; Copyright © 2016 Efraim Flashner ;;; Copyright © 2016 Jan Nieuwenhuizen ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix 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. ;;; ;;; GNU Guix 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 GNU Guix. If not, see . (define-module (gnu packages tcl) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system gnu) #:use-module (guix build-system perl) #:use-module (gnu packages) #:use-module (gnu packages image) #:use-module (gnu packages fontutils) #:use-module (gnu packages perl) #:u
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-03-24 21:55:51 +0100
committerWojtek Kosior <koszko@koszko.org>2022-03-24 21:55:51 +0100
commitd911bf37a13a8bfddedd26b0e16d59e6fd4d229a (patch)
tree13c47a8ed32f2a0f118091878a89b3e72f31f280 /configure
parentb9a6179c1dbdc16860099bfb8831bf1f3d0f39a2 (diff)
downloadbrowser-extension-d911bf37a13a8bfddedd26b0e16d59e6fd4d229a.tar.gz
browser-extension-d911bf37a13a8bfddedd26b0e16d59e6fd4d229a.zip
fix encoding detection in StreamFilter
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions
'tk.pc' and ;; 'tkConfig.sh'. (let ((out (assoc-ref outputs "out")) (fontconfig (assoc-ref inputs "fontconfig"))) (substitute* (find-files out "^(tkConfig\\.sh|tk\\.pc)$") (("-lfontconfig") (string-append "-L" fontconfig "/lib -lfontconfig"))) #t)))) #:configure-flags (list (string-append "--with-tcl=" (assoc-ref %build-inputs "tcl") "/lib")) ;; The tests require a running X server, so we just skip them. #:tests? #f)) (native-inputs `(("pkg-config" ,pkg-config))) (inputs `(("libxft" ,libxft) ("fontconfig" ,fontconfig) ("tcl" ,tcl))) ;; tk.h refers to X11 headers, hence the propagation. (propagated-inputs `(("libx11" ,libx11) ("libxext" ,libxext))) (home-page "http://www.tcl.tk/") (synopsis "Graphical user interface toolkit for Tcl") (description "Tk is a graphical toolkit for building graphical user interfaces (GUIs) in the Tcl language.") (license (package-license tcl)))) (define-public perl-tk (package (name "perl-tk") (version "804.033") (source (origin (method url-fetch) (uri (string-append "mirror://cpan/authors/id/S/SR/SREZIC/Tk-" version ".tar.gz")) (sha256 (base32 "1bc8bacsf95598yimrxijymb3advrgan73pqxj75qmd20ydnwxc4")))) (build-system perl-build-system) (native-inputs `(("pkg-config" ,pkg-config))) (inputs `(("libx11" ,libx11) ("libpng" ,libpng) ("libjpeg" ,libjpeg))) (arguments `(#:make-maker-flags `(,(string-append "X11=" (assoc-ref %build-inputs "libx11"))) ;; Fails to build in parallel: . #:parallel-build? #f)) (synopsis "Graphical user interface toolkit for Perl") (description "Tk is a Graphical User Interface ToolKit.") (home-page (string-append "http://search.cpan.org/~srezic/Tk-" version)) ;; From the package README: "... you can redistribute it and/or modify it ;; under the same terms as Perl itself, with the exception of all the ;; files in the pTk sub-directory which have separate terms derived from ;; those of the orignal Tix4.1.3 or Tk8.4.* sources. See the files ;; pTk/license.terms, pTk/license.html_lib, and pTk/Tix.license for ;; details of this license." (license (package-license perl)))) (define-public tcllib (package (name "tcllib") (version "1.18") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/" name "/" name "-" version ".tar.gz")) (sha256 (base32 "05dmrk9qsryah2n17z6z85dj9l9lfyvnsd7faw0p9bs1pp5pwrkj")))) (build-system gnu-build-system) (native-inputs `(("tcl" ,tcl))) (native-search-paths (list (search-path-specification (variable "TCLLIBPATH") (separator " ") (files (list (string-append "lib/tcllib" version)))))) (home-page "https://core.tcl.tk/tcllib/home") (synopsis "Standard Tcl Library") (description "Tcllib, the standard Tcl library, is a collection of common utility functions and modules all written in high-level Tcl.") (license (package-license tcl)))) (define-public tclxml (package (name "tclxml") (version "3.2") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/" name "/" name "-" version ".tar.gz")) (sha256 (base32 "0ffb4aw63inig3aql33g4pk0kjk14dv238anp1scwjdjh1k6n4gl")) (patches (search-patches "tclxml-3.2-install.patch")))) (build-system gnu-build-system) (native-inputs `(("tcl" ,tcl) ("tcllib" ,tcllib) ("libxml2" ,libxml2) ("libxslt" ,libxslt))) (native-search-paths (list (search-path-specification (variable "TCLLIBPATH") (separator " ") (files (list (string-append "lib/Tclxml" version)))))) (arguments `(#:configure-flags (list (string-append "--exec-prefix=" (assoc-ref %outputs "out")) (string-append "--with-tclconfig=" (assoc-ref %build-inputs "tcl") "/lib") (string-append "--with-xml2-config=" (assoc-ref %build-inputs "libxml2") "/bin/xml2-config") (string-append "--with-xslt-config=" (assoc-ref %build-inputs "libxslt") "/bin/xslt-config")) #:test-target "test")) (home-page "http://tclxml.sourceforge.net/") (synopsis "Tcl library for XML parsing") (description "TclXML provides event-based parsing of XML documents. The application may register callback scripts for certain document features, and when the parser encounters those features while parsing the document the callback is evaluated.") (license (non-copyleft "file://LICENCE" "See LICENCE in the distribution."))))