aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/sdcc.scm
blob: 6d054701012ca53016b8b774ad19f20648c50958 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016 David Craven <david@craven.ch>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;;
;;; 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 sdcc)
  #:use-module (gnu packages bison)
  #:use-module (gnu packages boost)
  #:use-module (gnu packages flex)
  #:use-module (gnu packages python)
  #:use-module (gnu packages texinfo)
  #:use-module (guix build-system gnu)
  #:use-module (guix download)
  #:use-module (guix packages)
  #:use-module ((guix licenses) #:prefix license:))

(define-public sdcc
  (package
    (name "sdcc")
    (version "3.7.0")
    (source (origin
              (method url-fetch)
              (uri (string-append
                    "mirror://sourceforge/sdcc/sdcc"
                    "/" version "/sdcc-src-" version ".tar.bz2"))
              (sha256
               (base32
                "13llvx0j3v5qa7qd4fh7nix4j3alpd3ccprxvx163c4q8q4lfkc5"))))
    (build-system gnu-build-system)
    (native-inputs
     `(("bison" ,bison)
       ("boost" ,boost)
       ("flex" ,flex)
       ("python-2" ,python-2)
       ("texinfo" ,texinfo)))
    (arguments
     `(;; gputils is required for PIC ports
       #:configure-flags
       '("--disable-pic14-port" "--disable-pic16-port" "--enable-ucsim")
       #:phases
       (modify-phases %standard-phases
         (add-after 'unpack 'patch-makefile
           (lambda _
             (substitute* (find-files "." "(\\.mk$|\\.in$)")
               (("/bin/sh") (which "sh")))
             #t)))))
    (home-page "http://sdcc.sourceforge.net")
    (synopsis "Small devices C compiler")
    (description "SDCC is a retargetable, optimizing Standard C compiler suite
that targets the Intel MCS51-based microprocessors (8031, 8032, 8051, 8052, ...),
Maxim (formerly Dallas) DS80C390 variants, Freescale (formerly Motorola)
HC08-based (hc08, s08), Zilog Z80-based MCUs (z80, z180, gbz80, Rabbit
2000/3000, Rabbit 3000A, TLCS-90) and STMicroelectronics STM8.
Work is in progress on supporting the Microchip PIC16 and PIC18 targets.
It can be retargeted for other microprocessors.")
    (license license:gpl2+)))
packages/cdrom.scm?id=1d86b05618a063378d7ffc89a9b4c33dd65a760c'>vm: Create installation media with MBR and HFS only, no GPT....* gnu/build/vm.scm (make-iso9660-image): Accept XORRISO, GRUB-MKRESCUE-ENVIRONMENT. * gnu/system/vm.scm (iso9660-image): Pass XORRISO; accept GRUB-MKRESCUE-ENVIRONMENT. (system-disk-image): Pass GRUB-MKRESCUE-ENVIRONMENT. * gnu/packages/patches/xorriso-no-mbr-in-inner-efi.patch: New file. * gnu/packages/patches/xorriso-no-partition-table-in-inner-efi.patch: New file. * gnu/local.mk (dist_patch_DATA): Add them. * gnu/packages/cdrom.scm (xorriso)[source]: Add patches. [arguments]<#:phases>[install-frontends]: Add phase. Danny Milosavljevic 2019-05-17gnu: ripit: Use archived source and home page....* gnu/packages/cdrom.scm (ripit)[source, home-page]: Use archived URLs. Tobias Geerinckx-Rice 2019-05-09gnu: cdemu-client: Update to 3.2.1....* gnu/packages/cdrom.scm (cdemu-client): Update to 3.2.1. Tobias Geerinckx-Rice 2019-05-09gnu: cdemu-daemon: Update to 3.2.2....* gnu/packages/cdrom.scm (cdemu-daemon): Update to 3.2.2. Tobias Geerinckx-Rice 2019-05-09gnu: libmirage: Update to 3.2.2....* gnu/packages/cdrom.scm (libmirage): Update to 3.2.2. Tobias Geerinckx-Rice 2019-04-14gnu: Add cdemu-client....* gnu/packages/cdrom.scm (cdemu-client): New variable. Pierre Neidhardt 2019-04-14gnu: Add cdemu-daemon....* gnu/packages/cdrom.scm (cdemu-daemon): New variable. Pierre Neidhardt 2019-04-14gnu: Add libmirage....* gnu/packages/cdrom.scm (libmirage): New variable. Pierre Neidhardt 2019-03-28gnu: dvdisaster: Use archived source and home page....* gnu/packages/cdrom.scm (dvdisaster)[source, home-page]: Use archive.org mirror. Tobias Geerinckx-Rice 2019-03-24gnu: asunder: Update to 2.9.3....* gnu/packages/cdrom.scm (asunder): Update to 2.9.3. Tobias Geerinckx-Rice 2019-03-18Correct name and email address for ng0....* .mailmap, Makefile.am, doc/guix.de.texi, doc/guix.fr.texi, doc/guix.texi, etc/completion/fish/guix.fish, gnu/packages/accessibility.scm, gnu/packages/admin.scm, gnu/packages/audio.scm, gnu/packages/autotools.scm, gnu/packages/cdrom.scm, gnu/packages/check.scm, gnu/packages/cinnamon.scm, gnu/packages/compression.scm, gnu/packages/crypto.scm, gnu/packages/databases.scm, gnu/packages/django.scm, gnu/packages/dns.scm, gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/emacs.scm, gnu/packages/enlightenment.scm, gnu/packages/erlang.scm, gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/forth.scm, gnu/packages/fvwm.scm, gnu/packages/games.scm, gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/gtk.scm, gnu/packages/guile-wm.scm,gnu/packages/guile-xyz.scm, gnu/packages/haskell-check.scm, gnu/packages/haskell-crypto.scm, gnu/packages/haskell.scm, gnu/packages/image-viewers.scm, gnu/packages/image.scm, gnu/packages/irc.scm, gnu/packages/language.scm, gnu/packages/libcanberra.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/lolcode.scm, gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/maths.scm, gnu/packages/mc.scm, gnu/packages/messaging.scm, gnu/packages/music.scm, gnu/packages/ncurses.scm, gnu/packages/networking.scm, gnu/packages/nickle.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm, gnu/packages/perl-check.scm, gnu/packages/perl.scm, gnu/packages/python-compression.scm, gnu/packages/python-crypto.scm, gnu/packages/python-web.scm, gnu/packages/python-xyz.scm, gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/ruby.scm, gnu/packages/rust.scm, gnu/packages/scheme.scm, gnu/packages/serialization.scm, gnu/packages/shells.scm, gnu/packages/ssh.scm, gnu/packages/suckless.scm, gnu/packages/tbb.scm, gnu/packages/telephony.scm, gnu/packages/text-editors.scm, gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm, gnu/packages/tor.scm, gnu/packages/version-control.scm, gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/web.scm, gnu/packages/wm.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/services/certbot.scm, gnu/services/desktop.scm, gnu/services/version-control.scm, gnu/services/web.scm, guix/import/hackage.scm, guix/licenses.scm: Correct name and email address for ng0. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr> ng0 2019-02-21gnu: cdrtools: Disable build parallelism....* gnu/packages/cdrom.scm (cdrtools)[arguments]: Add '#:parallel-build? #f'. Eric Bavier 2019-02-06gnu: abcde: Update to 2.9.3....* gnu/packages/cdrom.scm (abcde): Update to 2.9.3. [source]: Update snippet. Kei Kebreau 2019-01-23gnu: cdrtools: Remove custom build and install phases....* gnu/packages/cdrom.scm (cdrtools)[arguments]: Add make-flags; remove custom "build" and "install" phases. Ricardo Wurmus 2019-01-08gnu: dvdisaster: Run regression tests....* gnu/packages/cdrom.scm (dvdisaster)[arguments]: Remove #:tests? argument. Add 'check' phase. Eric Bavier 2019-01-08gnu: dvdisaster: Install desktop file....* gnu/packages/cdrom.scm (dvdisaster)[arguments]: Add 'install-desktop phase. Eric Bavier 2018-12-28gnu: cdrtools: Do not record the kernel version....This allows for reproducible builds across machines running different versions of the kernel Linux. * gnu/packages/cdrom.scm (cdrtools)[source](modules, snippet): New fields. Ludovic Courtès 2018-12-20gnu: abcde: Return #t from all phases....* gnu/packages/cdrom.scm (abcde)[arguments]: Return #t from all phases. Efraim Flashner 2018-12-03Merge branch 'core-updates'Ludovic Courtès 2018-11-29gnu: libcue: Fetch sources from git....* gnu/packages/cdrom.scm (libcue)[source]: Fetch from git. Ricardo Wurmus 2018-11-10gnu: dvd+rw-tools: Use invoke....* gnu/packages/cdrom.scm (dvd+rw-tools): Use 'invoke'. Efraim Flashner 2018-11-10gnu: dvd+rw-tools: Fix building with glibc@2.28....* gnu/packages/cdrom.scm (dvd+rw-tools)[arguments]: Add custom phase to add missing import. Efraim Flashner 2018-09-18gnu: xorriso: Update to 1.5.0....* gnu/packages/cdrom.scm (xorriso): Update to 1.5.0. Tobias Geerinckx-Rice 2018-09-18gnu: libisofs: Update to 1.5.0....* gnu/packages/cdrom.scm (libisofs): Update to 1.5.0. Tobias Geerinckx-Rice 2018-09-18gnu: libburn: Update to 1.5.0....* gnu/packages/cdrom.scm (libburn): Update to 1.5.0. Tobias Geerinckx-Rice 2018-08-16gnu: abcde: Update to 2.9.2....* gnu/packages/cdrom.scm (abcde): Update to 2.9.2. [source]: Patch correct version number in snippet. Tobias Geerinckx-Rice 2018-08-01gnu: Add cdrkit-libre....* gnu/packages/cdrom.scm (cdrkit-libre): New variable. Oleg Pykhalov 2018-07-18gnu: libcue: Update to 2.2.1....* gnu/packages/cdrom.scm (libcue): Update to 2.2.1. [arguments]: Add #:configure-flags for building shared library, since the package defaults to static since this version. Marius Bakke 2018-06-30gnu: abcde: Add missing Perl dependencies....* gnu/packages/cdrom.scm (abcde)[inputs]: Add perl-musicbrainz-discid, perl-webservice-musicbrainz, and perl-mojolicious. [arguments] <wrap>: Define PERL5LIB in the wrapper. Ludovic Courtès 2018-04-30Merge branch 'master' into core-updatesMark H Weaver 2018-04-23gnu: Use ffmpeg@3.4 in packages not ready for 4.0....* gnu/packages/cdrom.scm (dvdstyler)[inputs]: Change FFMPEG with FFMPEG-3.4. * gnu/packages/video.scm (mlt, motion, simplescreenrecorder)[inputs]: Likewise. * gnu/packages/music.scm (moc, pianobar)[inputs]: Likewise. Marius Bakke 2018-04-21Merge branch 'master' into core-updatesMark H Weaver