aboutsummaryrefslogtreecommitdiff
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2018, 2021 Marius Bakke <marius@gnu.org>
;;; Copyright © 2019, 2023 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; 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 <http://www.gnu.org/licenses/>.

(define-module (gnu packages swig)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix licenses)
  #:use-module (guix build-system gnu)
  #:use-module (guix utils)
  #:use-module (gnu packages)
  #:use-module (gnu packages boost)
  #:use-module (gnu packages guile)
  #:use-module (gnu packages pcre)
  #:use-module (gnu packages perl)
  #:use-module (gnu packages python))

(define-public swig
  (package
    (name "swig")
    (version "4.0.2")
    (source (origin
             (method url-fetch)
             (uri (string-append "mirror://sourceforge/" name "/" name "/"
                                 name "-" version "/"
                                 name "-" version ".tar.gz"))
             (sha256
              (base32
               "1z06m5zv87mha6hvys1iay810ghc1jngilfby1ms2n4d1mryjfym"))
             ;; Remove with next release.
             (patches (search-patches "swig-support-gcc-12.patch"))))
    (build-system gnu-build-system)
    (native-inputs (list boost
                         `(,pcre "bin") ;for 'pcre-config'
                         ;; The following are for tests and examples:
                         guile-3.0
                         perl))
                     ;;("python" ,python-wrapper)
    (inputs (list pcre))
    (arguments (list #:tests? (not (or (target-hurd?)
                                       (%current-target-system)))))
    (home-page "https://swig.org/")
    (synopsis
     "Interface compiler that connects C/C++ code to higher-level languages")
    (description
     "SWIG is an interface compiler that connects programs written in C and
C++ with languages such as Perl, Python, Ruby, Scheme, and Tcl.  It works by
taking the declarations found in C/C++ header files and using them to generate
the wrapper code that scripting languages need to access the underlying C/C++
code.  In addition, SWIG provides a variety of customization features that let
you tailor the wrapping process to suit your application.")

    ;; See http://www.swig.org/Release/LICENSE for details.
    (license gpl3+)))

(define-public swig-next
  ;; a number of packages using swig do not build with this version
  ;; so we need to keep swig 4.0.2 above and place the current release
  ;; as swig-next
  (package
    (inherit swig)
    (name "swig")
    (version "4.2.1")
    (source (origin
              (method url-fetch)
              (uri (string-append "mirror://sourceforge/" name "/" name "/"
                                 name "-" version "/"
                                 name "-" version ".tar.gz"))
              (sha256
               (base32
                "1n5pb77hwadjpbqgqn28i5v4cp94ar19wmv9vk6v4j6hw9a5617s"))))
    (inputs (list pcre2))))
cross-base.scm gnu/packages/gimp.scm gnu/packages/java.scm gnu/packages/mail.scm gnu/packages/sdl.scm gnu/packages/texinfo.scm gnu/packages/tls.scm gnu/packages/version-control.scm Marius Bakke 2020-04-05gnu: mate: Make some inputs native....* gnu/packages/mate.scm (mate)[inputs]: Move desktop-files-utils from here... [native-inputs]: ...to this new field. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org> Vincent Legoll 2020-04-02gnu: mate-session-manager: Actually build with elogind support....Fixes <https://bugs.gnu.org/40327>. Reported by Jonathan Brielmaier <jonathan.brielmaier@web.de>. This ensures one gets a "Shut Down" entry in the "System" menu. * gnu/packages/mate.scm (mate-session-manager)[arguments]: Pass "--with-elogind" instead of "--enable-elogind". Remove 'pre-configure' phase. Ludovic Courtès 2020-04-02gnu: mate-control-center: Fix file name in polkit rule....* gnu/packages/mate.scm (mate-control-center)[arguments]: New field. Ludovic Courtès 2020-04-02gnu: mate: Add glib:bin to propagated-inputs....This is a fix for https://issues.guix.gnu.org/issue/38135 until the proper fix from core-updates is merged. * gnu/packages/mate.scm (mate)[propagated-inputs]: Add glib:bin. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jonathan Brielmaier 2020-04-02gnu: mate-themes: Update to 3.22.21....* gnu/packages/mate.scm (mate-themes): Update to 3.22.21. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jonathan Brielmaier 2020-04-02gnu: mate-power-manager: Update to 1.24.1....* gnu/packages/mate.scm (mate-power-manager): Update to 1.24.1. [native-inputs]: Switch from intltool to gettext as upstream. Add polkit for ITS rules. Libtool is generated during build, so we can remove the external one. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jonathan Brielmaier 2020-04-02gnu: mate-polkit: Update to 1.24.0....* gnu/packages/mate.scm (mate-polkit): Update to 1.24.0. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jonathan Brielmaier 2020-04-02gnu: mate-system-monitor: Update to 1.24.0....* gnu/packages/mate.scm (mate-system-monitor): Update to 1.24.0. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jonathan Brielmaier 2020-04-02gnu: pluma: Update to 1.24.0....* gnu/packages/mate.scm (pluma): Update to 1.24.0. [inputs]: Switch from python-2 to python(3) like upstream. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jonathan Brielmaier 2020-04-02gnu: engrampa: Update to 1.24.0....* gnu/packages/mate.scm (engrampa): Update to 1.24.0. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jonathan Brielmaier 2020-04-02gnu: eom: Update to 1.24.0....* gnu/packages/mate.scm (eom): Update to 1.24.0. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jonathan Brielmaier 2020-04-02gnu: mate-utils: Update to 1.24.0....* gnu/packages/mate.scm (mate-utils): Update to 1.24.0. [inputs]: Add udisks. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jonathan Brielmaier 2020-04-02gnu: mate-screensaver: Update to 1.24.0....* gnu/packages/mate.scm (mate-screensaver): Update to 1.24.0. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jonathan Brielmaier 2020-04-02gnu: mate-netbook: Update to 1.24.0....* gnu/packages/mate.scm (mate-netbook): Update to 1.24.0. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jonathan Brielmaier 2020-04-02gnu: mate-backgrounds: Update to 1.24.1....* gnu/packages/mate.scm (mate-backgrounds): Update to 1.24.1. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jonathan Brielmaier 2020-04-02gnu: mate-calc: Update to 1.24.0....* gnu/packages/mate.scm (mate-calc): Update to 1.24.0. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jonathan Brielmaier 2020-04-02gnu: mate-user-guide: Update to 1.24.0....* gnu/packages/mate.scm (mate-user-guide): Update to 1.24.0. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jonathan Brielmaier 2020-04-02gnu: mate-control-center: Update to 1.24.0....* gnu/packages/mate.scm (mate-control-center): Update to 1.24.0. [inputs]: Add polkit. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jonathan Brielmaier 2020-04-02gnu: caja-extensions: Update to 1.24.0....* gnu/packages/mate.scm (caja-extensions): Update to 1.24.0. [native-inputs]: Add xmllint provided by the libxml2 package. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jonathan Brielmaier 2020-04-02gnu: marco: Update to 1.24.0....* gnu/packages/mate.scm (marco): Update to 1.24.0. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jonathan Brielmaier 2020-04-02gnu: caja: Update to 1.24.0....* gnu/packages/mate.scm (caja): Update to 1.24.0. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jonathan Brielmaier 2020-04-02gnu: mate-panel: Update to 1.24.0....* gnu/packages/mate.scm (mate-panel): Update to 1.24.0. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jonathan Brielmaier 2020-04-02gnu: mate-media: Update to 1.24.0....* gnu/packages/mate.scm (mate-media): Update to 1.24.0. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jonathan Brielmaier 2020-04-02gnu: mate-applets: Update to 1.24.0....* gnu/packages/mate.scm (mate-applets): Update to 1.24.0. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jonathan Brielmaier 2020-04-02gnu: mate-menus: Update to 1.24.0....* gnu/packages/mate.scm (mate-menus): Update to 1.24.0. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jonathan Brielmaier 2020-04-02gnu: libmatekbd: Update to 1.24.0....* gnu/packages/mate.scm (libmatekbd): Update to 1.24.0. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jonathan Brielmaier 2020-04-02gnu: libmatemixer: Update to 1.24.0....* gnu/packages/mate.scm (libmatemixer): Update to 1.24.0. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jonathan Brielmaier 2020-04-02gnu: mate-settings-daemon: Update to 1.24.0....* gnu/packages/mate.scm (mate-settings-daemon): Update to 1.24.0. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jonathan Brielmaier 2020-04-02gnu: mate-session-manager: Update to 1.24.0....* gnu/packages/mate.scm (mate-session-manager): Update to 1.24.0. [native-inputs]: Add now required libxcomposite. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jonathan Brielmaier 2020-04-02gnu: mate-terminal: Update to 1.24.0....* gnu/packages/mate.scm (mate-terminal): Update to 1.24.0. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jonathan Brielmaier 2020-04-02gnu: libmateweather: Update to 1.24.0....* gnu/packages/mate.scm (libmateweather): Update to 1.24.0. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jonathan Brielmaier 2020-04-02gnu: mate-desktop: Update to 1.24.0....* gnu/packages/mate.scm (mate-desktop): Update to 1.24.0. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jonathan Brielmaier 2020-04-02gnu: mate-icon-theme: Update to 1.24.0....* gnu/packages/mate.scm (mate-icon-theme): Update to 1.24.0. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jonathan Brielmaier