You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

409 lines
16 KiB

Use #:prefix instead of #:renamer with 'symbol-prefix-proc'. * gnu/packages/abiword.scm, gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/backup.scm, gnu/packages/bittorrent.scm, gnu/packages/boost.scm, gnu/packages/compression.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm, gnu/packages/cyrus-sasl.scm, gnu/packages/dc.scm, gnu/packages/emacs.scm, gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm, gnu/packages/gimp.scm, gnu/packages/gkrellm.scm, gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm, gnu/packages/gnutls.scm, gnu/packages/gnuzilla.scm, gnu/packages/gsasl.scm, gnu/packages/gtk.scm, gnu/packages/gv.scm, gnu/packages/image.scm, gnu/packages/indent.scm, gnu/packages/inkscape.scm, gnu/packages/lesstif.scm, gnu/packages/links.scm, gnu/packages/lisp.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm, gnu/packages/maths.scm, gnu/packages/mp3.scm, gnu/packages/openssl.scm, gnu/packages/ots.scm, gnu/packages/pciutils.scm, gnu/packages/pcre.scm, gnu/packages/pdf.scm, gnu/packages/pulseaudio.scm, gnu/packages/python.scm, gnu/packages/slim.scm, gnu/packages/ssh.scm, gnu/packages/texlive.scm, gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wv.scm, gnu/packages/xiph.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/yasm.scm, gnu/packages/zip.scm, guix/build/cmake-build-system.scm, guix/build/perl-build-system.scm, guix/build/python-build-system.scm, guix/download.scm: Replaces uses of #:renamer and 'symbol-prefix-proc' with #:prefix.
7 years ago
gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo'. * gnu/packages/abiword.scm (abiword)[inputs]: Change from LIBJPEG to LIBJPEG-TURBO. * gnu/packages/admin.scm (testdisk)[inputs]: Likewise. * gnu/packages/algebra.scm (giac)[inputs]: Likewise. * gnu/packages/animation.scm (synfig)[inputs]: Likewise. * gnu/packages/astronomy.scm (gnuastro, celestia)[inputs]: Likewise. * gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise. * gnu/packages/cran.scm (r-jpeg, r-tiff, r-readbitmap)[inputs]: Likewise. * gnu/packages/cups.scm (cups-filters, hplip)[inputs]: Likewise. * gnu/packages/display-managers.scm (slim)[inputs]: Likewise. * gnu/packages/ebook.scm (fbreader)[inputs]: Likewise. * gnu/packages/emacs.scm (emacs)[inputs]: Likewise. * gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise. * gnu/packages/fltk.scm (fltk, ntk)[inputs]: Likewise. * gnu/packages/fontutils.scm (fontforge)[inputs]: Likewise. * gnu/packages/freedesktop.scm (weston)[inputs]: Likewise. * gnu/packages/game-development.scm (sfml, allegro, aseprite, python-pygame, eureka, ioquake3)[inputs]: Likewise. * gnu/packages/games.scm (adanaxisgpl, freedroidrpg, irrlicht, minetest, fizmo, supertuxkart, gzdoom, xmoto, xonotic)[inputs]: Likewise. * gnu/packages/gd.scm (gd, perl-gd)[inputs]: Likewise. * gnu/packages/ghostscript.scm (lcms)[inputs]: Likewise. (ghostscript)[inputs, native-inputs]: Likewise. * gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise. * gnu/packages/gnome.scm (libgnomeui, eog, tracker-miners, gthumb)[inputs]: Likewise. * gnu/packages/gnunet.scm (libextractor)[inputs]: Likewise. * gnu/packages/gnustep.scm (windowmaker)[inputs]: Likewise. * gnu/packages/graphics.scm (blender, blender-2.79, openimageio, openscenegraph, openscenegraph-3.4, povray, fgallery)[inputs]: Likewise. * gnu/packages/graphviz.scm (graphviz)[inputs]: Likewise. * gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Likewise. * gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Likewise. * gnu/packages/image-processing.scm (dcmtk, mia, vtk, opencv, vips, nip2, vxl, insight-toolkit)[inputs]: Likewise. * gnu/packages/image-viewers.scm (gpicview, luminance-hdr)[inputs]: Likewise. * gnu/packages/image.scm (jpegoptim, libtiff, leptonica, imlib2, freeimage, vigra, libwebp, libmng, jasper, steghide, jp2a)[inputs]: Likewise. * gnu/packages/imagemagick.scm (imagemagick, graphicsmagick)[inputs]: Likewise. * gnu/packages/java.scm (icedtea-6, icedtea-7, openjdk9, openjdk11, openjdk12)[inputs]: Likewise. * gnu/packages/kde-frameworks.scm (khtml)[inputs]: Likewise. * gnu/packages/kodi.scm (kodi)[inputs]: Likewise. * gnu/packages/machine-learning.scm (dlib, tensorflow)[inputs]: Likewise. * gnu/packages/mate.scm (atril, eom)[inputs]: Likewise. * gnu/packages/maths.scm (hdf4, hdf-java, hdf-eos2, netcdf)[inputs]: Likewise. * gnu/packages/netpbm.scm (netpbm)[inputs]: Likewise. * gnu/packages/pdf.scm (zathura-pdf-mupdf, podofo, mupdf, fbida)[inputs]: Likewise. * gnu/packages/photo.scm (libraw, libpano13, enblend-enfuse, darktable, hugin, rawtherapee)[inputs]: Likewise. * gnu/packages/prolog.scm (swi-prolog)[native-inputs]: Likewise. * gnu/packages/python-xyz.scm (python-hdf4, python-pillow)[inputs]: Likewise. * gnu/packages/qt.scm (qtbase, qtwebkit)[inputs]: Likewise. * gnu/packages/rdesktop.scm (freerdp)[inputs]: Likewise. * gnu/packages/scanner.scm (sane-backends, xsane)[inputs]: Likewise. * gnu/packages/scheme.scm (racket)[inputs]: Likewise. * gnu/packages/scribus.scm (scribus)[inputs]: Likewise. * gnu/packages/sdl.scm (sdl-image)[propagated-inputs]: Likewise. (guile-sdl)[native-inputs]: Likewise. * gnu/packages/spice.scm (spice-gtk)[inputs]: Likewise. * gnu/packages/statistics.scm (r-with-tests)[inputs]: Likewise. * gnu/packages/tcl.scm (perl-tk)[inputs]: Likewise. * gnu/packages/upnp.scm (readymedia)[inputs]: Likewise. * gnu/packages/video.scm (mplayer, mpv, v4l-utils, motion)[inputs]: Likewise. * gnu/packages/web-browsers.scm (dillo, links)[inputs]: Likewise. * gnu/packages/web.scm (netsurf)[inputs]: Likewise. * gnu/packages/webkit.scm (webkitgtk)[inputs]: Likewise. * gnu/packages/wine.scm (wine)[inputs]: Likewise. * gnu/packages/wv.scm (wv)[inputs]: Likewise. * gnu/packages/wxwidgets.scm (wxwidgets, wxwidgets-2)[inputs]: Likewise. * gnu/packages/xdisorg.scm (xscreensaver)[inputs]: Likewise. * gnu/packages/xfce.scm (tumbler)[inputs]: Likewise. * gnu/packages/xfig.scm (xfig, transfig)[inputs]: Likewise. * gnu/packages/xorg.scm (xpra)[inputs]: Likewise.
2 years ago
gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo'. * gnu/packages/abiword.scm (abiword)[inputs]: Change from LIBJPEG to LIBJPEG-TURBO. * gnu/packages/admin.scm (testdisk)[inputs]: Likewise. * gnu/packages/algebra.scm (giac)[inputs]: Likewise. * gnu/packages/animation.scm (synfig)[inputs]: Likewise. * gnu/packages/astronomy.scm (gnuastro, celestia)[inputs]: Likewise. * gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise. * gnu/packages/cran.scm (r-jpeg, r-tiff, r-readbitmap)[inputs]: Likewise. * gnu/packages/cups.scm (cups-filters, hplip)[inputs]: Likewise. * gnu/packages/display-managers.scm (slim)[inputs]: Likewise. * gnu/packages/ebook.scm (fbreader)[inputs]: Likewise. * gnu/packages/emacs.scm (emacs)[inputs]: Likewise. * gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise. * gnu/packages/fltk.scm (fltk, ntk)[inputs]: Likewise. * gnu/packages/fontutils.scm (fontforge)[inputs]: Likewise. * gnu/packages/freedesktop.scm (weston)[inputs]: Likewise. * gnu/packages/game-development.scm (sfml, allegro, aseprite, python-pygame, eureka, ioquake3)[inputs]: Likewise. * gnu/packages/games.scm (adanaxisgpl, freedroidrpg, irrlicht, minetest, fizmo, supertuxkart, gzdoom, xmoto, xonotic)[inputs]: Likewise. * gnu/packages/gd.scm (gd, perl-gd)[inputs]: Likewise. * gnu/packages/ghostscript.scm (lcms)[inputs]: Likewise. (ghostscript)[inputs, native-inputs]: Likewise. * gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise. * gnu/packages/gnome.scm (libgnomeui, eog, tracker-miners, gthumb)[inputs]: Likewise. * gnu/packages/gnunet.scm (libextractor)[inputs]: Likewise. * gnu/packages/gnustep.scm (windowmaker)[inputs]: Likewise. * gnu/packages/graphics.scm (blender, blender-2.79, openimageio, openscenegraph, openscenegraph-3.4, povray, fgallery)[inputs]: Likewise. * gnu/packages/graphviz.scm (graphviz)[inputs]: Likewise. * gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Likewise. * gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Likewise. * gnu/packages/image-processing.scm (dcmtk, mia, vtk, opencv, vips, nip2, vxl, insight-toolkit)[inputs]: Likewise. * gnu/packages/image-viewers.scm (gpicview, luminance-hdr)[inputs]: Likewise. * gnu/packages/image.scm (jpegoptim, libtiff, leptonica, imlib2, freeimage, vigra, libwebp, libmng, jasper, steghide, jp2a)[inputs]: Likewise. * gnu/packages/imagemagick.scm (imagemagick, graphicsmagick)[inputs]: Likewise. * gnu/packages/java.scm (icedtea-6, icedtea-7, openjdk9, openjdk11, openjdk12)[inputs]: Likewise. * gnu/packages/kde-frameworks.scm (khtml)[inputs]: Likewise. * gnu/packages/kodi.scm (kodi)[inputs]: Likewise. * gnu/packages/machine-learning.scm (dlib, tensorflow)[inputs]: Likewise. * gnu/packages/mate.scm (atril, eom)[inputs]: Likewise. * gnu/packages/maths.scm (hdf4, hdf-java, hdf-eos2, netcdf)[inputs]: Likewise. * gnu/packages/netpbm.scm (netpbm)[inputs]: Likewise. * gnu/packages/pdf.scm (zathura-pdf-mupdf, podofo, mupdf, fbida)[inputs]: Likewise. * gnu/packages/photo.scm (libraw, libpano13, enblend-enfuse, darktable, hugin, rawtherapee)[inputs]: Likewise. * gnu/packages/prolog.scm (swi-prolog)[native-inputs]: Likewise. * gnu/packages/python-xyz.scm (python-hdf4, python-pillow)[inputs]: Likewise. * gnu/packages/qt.scm (qtbase, qtwebkit)[inputs]: Likewise. * gnu/packages/rdesktop.scm (freerdp)[inputs]: Likewise. * gnu/packages/scanner.scm (sane-backends, xsane)[inputs]: Likewise. * gnu/packages/scheme.scm (racket)[inputs]: Likewise. * gnu/packages/scribus.scm (scribus)[inputs]: Likewise. * gnu/packages/sdl.scm (sdl-image)[propagated-inputs]: Likewise. (guile-sdl)[native-inputs]: Likewise. * gnu/packages/spice.scm (spice-gtk)[inputs]: Likewise. * gnu/packages/statistics.scm (r-with-tests)[inputs]: Likewise. * gnu/packages/tcl.scm (perl-tk)[inputs]: Likewise. * gnu/packages/upnp.scm (readymedia)[inputs]: Likewise. * gnu/packages/video.scm (mplayer, mpv, v4l-utils, motion)[inputs]: Likewise. * gnu/packages/web-browsers.scm (dillo, links)[inputs]: Likewise. * gnu/packages/web.scm (netsurf)[inputs]: Likewise. * gnu/packages/webkit.scm (webkitgtk)[inputs]: Likewise. * gnu/packages/wine.scm (wine)[inputs]: Likewise. * gnu/packages/wv.scm (wv)[inputs]: Likewise. * gnu/packages/wxwidgets.scm (wxwidgets, wxwidgets-2)[inputs]: Likewise. * gnu/packages/xdisorg.scm (xscreensaver)[inputs]: Likewise. * gnu/packages/xfce.scm (tumbler)[inputs]: Likewise. * gnu/packages/xfig.scm (xfig, transfig)[inputs]: Likewise. * gnu/packages/xorg.scm (xpra)[inputs]: Likewise.
2 years ago
gnu: Fix common unquote typos. It's easy to mistype ‘("foo" foo)’ as ‘("foo", foo)’ (which also works). Fix such typos for the proper edification of our young. * gnu/packages/android.scm: Move unquotes to their operands. * gnu/packages/bootloaders.scm: Likewise. * gnu/packages/build-tools.scm: Likewise. * gnu/packages/chemistry.scm: Likewise. * gnu/packages/compression.scm: Likewise. * gnu/packages/connman.scm: Likewise. * gnu/packages/django.scm: Likewise. * gnu/packages/emulators.scm: Likewise. * gnu/packages/engineering.scm: Likewise. * gnu/packages/file-systems.scm: Likewise. * gnu/packages/freedesktop.scm: Likewise. * gnu/packages/games.scm: Likewise. * gnu/packages/gimp.scm: Likewise. * gnu/packages/gl.scm: Likewise. * gnu/packages/gnome.scm: Likewise. * gnu/packages/graphics.scm: Likewise. * gnu/packages/haskell.scm: Likewise. * gnu/packages/irc.scm: Likewise. * gnu/packages/julia.scm: Likewise. * gnu/packages/kde-frameworks.scm: Likewise. * gnu/packages/linux.scm: Likewise. * gnu/packages/lua.scm: Likewise. * gnu/packages/mail.scm: Likewise. * gnu/packages/make-bootstrap.scm: Likewise. * gnu/packages/messaging.scm: Likewise. * gnu/packages/music.scm: Likewise. * gnu/packages/networking.scm: Likewise. * gnu/packages/ocaml.scm: Likewise. * gnu/packages/perl.scm: Likewise. * gnu/packages/python.scm: Likewise. * gnu/packages/python-web.scm: Likewise. * gnu/packages/qt.scm: Likewise. * gnu/packages/ratpoison.scm: Likewise. * gnu/packages/sdl.scm: Likewise. * gnu/packages/sml.scm: Likewise. * gnu/packages/terminals.scm: Likewise. * gnu/packages/text-editors.scm: Likewise. * gnu/packages/video.scm: Likewise. * gnu/packages/virtualization.scm: Likewise. * gnu/packages/vulkan.scm: Likewise. * gnu/packages/wget.scm: Likewise. * gnu/packages/wine.scm: Likewise. * gnu/packages/wm.scm: Likewise. * gnu/packages/xdisorg.scm: Likewise. * gnu/packages/xml.scm: Likewise. * gnu/packages/xorg.scm: Likewise.
4 years ago
gnu: Fix common unquote typos. It's easy to mistype ‘("foo" foo)’ as ‘("foo", foo)’ (which also works). Fix such typos for the proper edification of our young. * gnu/packages/android.scm: Move unquotes to their operands. * gnu/packages/bootloaders.scm: Likewise. * gnu/packages/build-tools.scm: Likewise. * gnu/packages/chemistry.scm: Likewise. * gnu/packages/compression.scm: Likewise. * gnu/packages/connman.scm: Likewise. * gnu/packages/django.scm: Likewise. * gnu/packages/emulators.scm: Likewise. * gnu/packages/engineering.scm: Likewise. * gnu/packages/file-systems.scm: Likewise. * gnu/packages/freedesktop.scm: Likewise. * gnu/packages/games.scm: Likewise. * gnu/packages/gimp.scm: Likewise. * gnu/packages/gl.scm: Likewise. * gnu/packages/gnome.scm: Likewise. * gnu/packages/graphics.scm: Likewise. * gnu/packages/haskell.scm: Likewise. * gnu/packages/irc.scm: Likewise. * gnu/packages/julia.scm: Likewise. * gnu/packages/kde-frameworks.scm: Likewise. * gnu/packages/linux.scm: Likewise. * gnu/packages/lua.scm: Likewise. * gnu/packages/mail.scm: Likewise. * gnu/packages/make-bootstrap.scm: Likewise. * gnu/packages/messaging.scm: Likewise. * gnu/packages/music.scm: Likewise. * gnu/packages/networking.scm: Likewise. * gnu/packages/ocaml.scm: Likewise. * gnu/packages/perl.scm: Likewise. * gnu/packages/python.scm: Likewise. * gnu/packages/python-web.scm: Likewise. * gnu/packages/qt.scm: Likewise. * gnu/packages/ratpoison.scm: Likewise. * gnu/packages/sdl.scm: Likewise. * gnu/packages/sml.scm: Likewise. * gnu/packages/terminals.scm: Likewise. * gnu/packages/text-editors.scm: Likewise. * gnu/packages/video.scm: Likewise. * gnu/packages/virtualization.scm: Likewise. * gnu/packages/vulkan.scm: Likewise. * gnu/packages/wget.scm: Likewise. * gnu/packages/wine.scm: Likewise. * gnu/packages/wm.scm: Likewise. * gnu/packages/xdisorg.scm: Likewise. * gnu/packages/xml.scm: Likewise. * gnu/packages/xorg.scm: Likewise.
4 years ago
gnu: Remove ".git" from "https://github/…/….git". Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix swh) would sometimes return #f for these because the ".git" URLs are redirects to the non-".git" URLs. Consequently, 'guix lint -c archival' would keep saying "scheduled Software Heritage archival"; likewise, the fallback download code would fail. * gnu/packages/ada.scm, gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm, gnu/packages/android.scm, gnu/packages/animation.scm, gnu/packages/arcan.scm, gnu/packages/assembly.scm, gnu/packages/audio.scm, gnu/packages/authentication.scm, gnu/packages/avr.scm, gnu/packages/axoloti.scm, gnu/packages/backup.scm, gnu/packages/bash.scm, gnu/packages/benchmark.scm, gnu/packages/bioconductor.scm, gnu/packages/bioinformatics.scm, gnu/packages/bittorrent.scm, gnu/packages/boost.scm, gnu/packages/build-tools.scm, gnu/packages/c.scm, gnu/packages/calendar.scm, gnu/packages/cdrom.scm, gnu/packages/check.scm, gnu/packages/chemistry.scm, gnu/packages/chez.scm, gnu/packages/clojure.scm, gnu/packages/code.scm, gnu/packages/compression.scm, gnu/packages/compton.scm, gnu/packages/coq.scm, gnu/packages/cpp.scm, gnu/packages/cran.scm, gnu/packages/crypto.scm, gnu/packages/curl.scm, gnu/packages/databases.scm, gnu/packages/datastructures.scm, gnu/packages/debug.scm, gnu/packages/disk.scm, gnu/packages/distributed.scm, gnu/packages/django.scm, gnu/packages/dlang.scm, gnu/packages/dns.scm, gnu/packages/docker.scm, gnu/packages/education.scm, gnu/packages/efi.scm, gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/embedded.scm, gnu/packages/emulators.scm, gnu/packages/engineering.scm, gnu/packages/erlang.scm, gnu/packages/fabric-management.scm, gnu/packages/file-systems.scm, gnu/packages/finance.scm, gnu/packages/firmware.scm, gnu/packages/flashing-tools.scm, gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/fpga.scm, gnu/packages/game-development.scm, gnu/packages/games.scm, gnu/packages/genealogy.scm, gnu/packages/genimage.scm, gnu/packages/geo.scm, gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/gnome-xyz.scm, gnu/packages/gnome.scm, gnu/packages/gnuzilla.scm, gnu/packages/golang.scm, gnu/packages/gpodder.scm, gnu/packages/graph.scm, gnu/packages/graphics.scm, gnu/packages/graphviz.scm, gnu/packages/groff.scm, gnu/packages/groovy.scm, gnu/packages/gtk.scm, gnu/packages/guile-xyz.scm, gnu/packages/guile.scm, gnu/packages/hardware.scm, gnu/packages/haskell-apps.scm, gnu/packages/haskell-xyz.scm, gnu/packages/hexedit.scm, gnu/packages/i2p.scm, gnu/packages/ibus.scm, gnu/packages/image-processing.scm, gnu/packages/image-viewers.scm, gnu/packages/image.scm, gnu/packages/ipfs.scm, gnu/packages/java-graphics.scm, gnu/packages/java-maths.scm, gnu/packages/java.scm, gnu/packages/javascript.scm, gnu/packages/jrnl.scm, gnu/packages/julia.scm, gnu/packages/jupyter.scm, gnu/packages/kodi.scm, gnu/packages/language.scm, gnu/packages/lego.scm, gnu/packages/less.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm, gnu/packages/lirc.scm, gnu/packages/lisp-xyz.scm, gnu/packages/llvm.scm, gnu/packages/logging.scm, gnu/packages/lolcode.scm, gnu/packages/lua.scm, gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/machine-learning.scm, gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/maths.scm, gnu/packages/maven.scm, gnu/packages/mes.scm, gnu/packages/messaging.scm, gnu/packages/monitoring.scm, gnu/packages/mpd.scm, gnu/packages/music.scm, gnu/packages/networking.scm, gnu/packages/node-xyz.scm, gnu/packages/ocaml.scm, gnu/packages/ocr.scm, gnu/packages/onc-rpc.scm, gnu/packages/opencl.scm, gnu/packages/opencog.scm, gnu/packages/pantheon.scm, gnu/packages/password-utils.scm, gnu/packages/patchutils.scm, gnu/packages/pdf.scm, gnu/packages/perl6.scm, gnu/packages/phabricator.scm, gnu/packages/popt.scm, gnu/packages/printers.scm, gnu/packages/prolog.scm, gnu/packages/protobuf.scm, gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm, gnu/packages/python-web.scm, gnu/packages/python-xyz.scm, gnu/packages/qt.scm, gnu/packages/radio.scm, gnu/packages/rails.scm, gnu/packages/rdf.scm, gnu/packages/rednotebook.scm, gnu/packages/rpc.scm, gnu/packages/rsync.scm, gnu/packages/ruby.scm, gnu/packages/rust.scm, gnu/packages/scheme.scm, gnu/packages/screen.scm, gnu/packages/security-token.scm, gnu/packages/selinux.scm, gnu/packages/serialization.scm, gnu/packages/shells.scm, gnu/packages/shellutils.scm, gnu/packages/simh.scm, gnu/packages/sml.scm, gnu/packages/ssh.scm, gnu/packages/statistics.scm, gnu/packages/stenography.scm, gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/synergy.scm, gnu/packages/telephony.scm, gnu/packages/terminals.scm, gnu/packages/tex.scm, gnu/packages/texinfo.scm, gnu/packages/text-editors.scm, gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tmux.scm, gnu/packages/tor.scm, gnu/packages/toys.scm, gnu/packages/version-control.scm, gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/virtualization.scm, gnu/packages/vlang.scm, gnu/packages/vnc.scm, gnu/packages/vpn.scm, gnu/packages/web-browsers.scm, gnu/packages/web.scm, gnu/packages/wireservice.scm, gnu/packages/wm.scm, gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm, tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
1 year ago
gnu: Remove ".git" from "https://github/…/….git". Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix swh) would sometimes return #f for these because the ".git" URLs are redirects to the non-".git" URLs. Consequently, 'guix lint -c archival' would keep saying "scheduled Software Heritage archival"; likewise, the fallback download code would fail. * gnu/packages/ada.scm, gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm, gnu/packages/android.scm, gnu/packages/animation.scm, gnu/packages/arcan.scm, gnu/packages/assembly.scm, gnu/packages/audio.scm, gnu/packages/authentication.scm, gnu/packages/avr.scm, gnu/packages/axoloti.scm, gnu/packages/backup.scm, gnu/packages/bash.scm, gnu/packages/benchmark.scm, gnu/packages/bioconductor.scm, gnu/packages/bioinformatics.scm, gnu/packages/bittorrent.scm, gnu/packages/boost.scm, gnu/packages/build-tools.scm, gnu/packages/c.scm, gnu/packages/calendar.scm, gnu/packages/cdrom.scm, gnu/packages/check.scm, gnu/packages/chemistry.scm, gnu/packages/chez.scm, gnu/packages/clojure.scm, gnu/packages/code.scm, gnu/packages/compression.scm, gnu/packages/compton.scm, gnu/packages/coq.scm, gnu/packages/cpp.scm, gnu/packages/cran.scm, gnu/packages/crypto.scm, gnu/packages/curl.scm, gnu/packages/databases.scm, gnu/packages/datastructures.scm, gnu/packages/debug.scm, gnu/packages/disk.scm, gnu/packages/distributed.scm, gnu/packages/django.scm, gnu/packages/dlang.scm, gnu/packages/dns.scm, gnu/packages/docker.scm, gnu/packages/education.scm, gnu/packages/efi.scm, gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/embedded.scm, gnu/packages/emulators.scm, gnu/packages/engineering.scm, gnu/packages/erlang.scm, gnu/packages/fabric-management.scm, gnu/packages/file-systems.scm, gnu/packages/finance.scm, gnu/packages/firmware.scm, gnu/packages/flashing-tools.scm, gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/fpga.scm, gnu/packages/game-development.scm, gnu/packages/games.scm, gnu/packages/genealogy.scm, gnu/packages/genimage.scm, gnu/packages/geo.scm, gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/gnome-xyz.scm, gnu/packages/gnome.scm, gnu/packages/gnuzilla.scm, gnu/packages/golang.scm, gnu/packages/gpodder.scm, gnu/packages/graph.scm, gnu/packages/graphics.scm, gnu/packages/graphviz.scm, gnu/packages/groff.scm, gnu/packages/groovy.scm, gnu/packages/gtk.scm, gnu/packages/guile-xyz.scm, gnu/packages/guile.scm, gnu/packages/hardware.scm, gnu/packages/haskell-apps.scm, gnu/packages/haskell-xyz.scm, gnu/packages/hexedit.scm, gnu/packages/i2p.scm, gnu/packages/ibus.scm, gnu/packages/image-processing.scm, gnu/packages/image-viewers.scm, gnu/packages/image.scm, gnu/packages/ipfs.scm, gnu/packages/java-graphics.scm, gnu/packages/java-maths.scm, gnu/packages/java.scm, gnu/packages/javascript.scm, gnu/packages/jrnl.scm, gnu/packages/julia.scm, gnu/packages/jupyter.scm, gnu/packages/kodi.scm, gnu/packages/language.scm, gnu/packages/lego.scm, gnu/packages/less.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm, gnu/packages/lirc.scm, gnu/packages/lisp-xyz.scm, gnu/packages/llvm.scm, gnu/packages/logging.scm, gnu/packages/lolcode.scm, gnu/packages/lua.scm, gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/machine-learning.scm, gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/maths.scm, gnu/packages/maven.scm, gnu/packages/mes.scm, gnu/packages/messaging.scm, gnu/packages/monitoring.scm, gnu/packages/mpd.scm, gnu/packages/music.scm, gnu/packages/networking.scm, gnu/packages/node-xyz.scm, gnu/packages/ocaml.scm, gnu/packages/ocr.scm, gnu/packages/onc-rpc.scm, gnu/packages/opencl.scm, gnu/packages/opencog.scm, gnu/packages/pantheon.scm, gnu/packages/password-utils.scm, gnu/packages/patchutils.scm, gnu/packages/pdf.scm, gnu/packages/perl6.scm, gnu/packages/phabricator.scm, gnu/packages/popt.scm, gnu/packages/printers.scm, gnu/packages/prolog.scm, gnu/packages/protobuf.scm, gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm, gnu/packages/python-web.scm, gnu/packages/python-xyz.scm, gnu/packages/qt.scm, gnu/packages/radio.scm, gnu/packages/rails.scm, gnu/packages/rdf.scm, gnu/packages/rednotebook.scm, gnu/packages/rpc.scm, gnu/packages/rsync.scm, gnu/packages/ruby.scm, gnu/packages/rust.scm, gnu/packages/scheme.scm, gnu/packages/screen.scm, gnu/packages/security-token.scm, gnu/packages/selinux.scm, gnu/packages/serialization.scm, gnu/packages/shells.scm, gnu/packages/shellutils.scm, gnu/packages/simh.scm, gnu/packages/sml.scm, gnu/packages/ssh.scm, gnu/packages/statistics.scm, gnu/packages/stenography.scm, gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/synergy.scm, gnu/packages/telephony.scm, gnu/packages/terminals.scm, gnu/packages/tex.scm, gnu/packages/texinfo.scm, gnu/packages/text-editors.scm, gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tmux.scm, gnu/packages/tor.scm, gnu/packages/toys.scm, gnu/packages/version-control.scm, gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/virtualization.scm, gnu/packages/vlang.scm, gnu/packages/vnc.scm, gnu/packages/vpn.scm, gnu/packages/web-browsers.scm, gnu/packages/web.scm, gnu/packages/wireservice.scm, gnu/packages/wm.scm, gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm, tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
1 year ago
  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
  3. ;;; Copyright © 2016, 2018 Ricardo Wurmus <rekado@elephly.net>
  4. ;;; Copyright © 2016, 2017, 2018, 2020 Efraim Flashner <efraim@flashner.co.il>
  5. ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
  6. ;;; Copyright © 2018 Leo Famulari <leo@famulari.name>
  7. ;;; Copyright © 2018 Thorsten Wilms <t_w_@freenet.de>
  8. ;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
  9. ;;;
  10. ;;; This file is part of GNU Guix.
  11. ;;;
  12. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  13. ;;; under the terms of the GNU General Public License as published by
  14. ;;; the Free Software Foundation; either version 3 of the License, or (at
  15. ;;; your option) any later version.
  16. ;;;
  17. ;;; GNU Guix is distributed in the hope that it will be useful, but
  18. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  19. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  20. ;;; GNU General Public License for more details.
  21. ;;;
  22. ;;; You should have received a copy of the GNU General Public License
  23. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  24. (define-module (gnu packages gimp)
  25. #:use-module (guix packages)
  26. #:use-module (guix download)
  27. #:use-module (guix git-download)
  28. #:use-module (guix utils)
  29. #:use-module ((guix licenses) #:prefix license:)
  30. #:use-module (guix build-system gnu)
  31. #:use-module (guix build-system glib-or-gtk)
  32. #:use-module (guix build-system meson)
  33. #:use-module (gnu packages)
  34. #:use-module (gnu packages algebra)
  35. #:use-module (gnu packages autotools)
  36. #:use-module (gnu packages pkg-config)
  37. #:use-module (gnu packages glib)
  38. #:use-module (gnu packages gtk)
  39. #:use-module (gnu packages gnome)
  40. #:use-module (gnu packages image)
  41. #:use-module (gnu packages ghostscript)
  42. #:use-module (gnu packages compression)
  43. #:use-module (gnu packages xml)
  44. #:use-module (gnu packages pdf)
  45. #:use-module (gnu packages photo)
  46. #:use-module (gnu packages python)
  47. #:use-module (gnu packages web)
  48. #:use-module (gnu packages xorg))
  49. (define-public babl
  50. (package
  51. (name "babl")
  52. (version "0.1.78")
  53. (source (origin
  54. (method url-fetch)
  55. (uri (list (string-append "https://download.gimp.org/pub/babl/"
  56. (version-major+minor version)
  57. "/babl-" version ".tar.xz")
  58. (string-append "https://ftp.gtk.org/pub/babl/"
  59. (version-major+minor version)
  60. "/babl-" version ".tar.xz")
  61. (string-append "ftp://ftp.gtk.org/pub/babl/"
  62. (version-major+minor version)
  63. "/babl-" version ".tar.xz")))
  64. (sha256
  65. (base32
  66. "0fjjfb0pbgimlqi7rk8cqz8pq595b7gw8nrpkxfmixdz6cv4km8p"))))
  67. (build-system meson-build-system)
  68. (arguments
  69. `(#:configure-flags
  70. (list "-Denable-gir=false")))
  71. (native-inputs
  72. `(("pkg-config" ,pkg-config)))
  73. (propagated-inputs
  74. ;; Propagated to satisfy ‘babl.pc’.
  75. `(("lcms" ,lcms)))
  76. (home-page "http://gegl.org/babl/")
  77. (synopsis "Image pixel format conversion library")
  78. (description
  79. "Babl is a dynamic, any-to-any pixel format translation library.
  80. It allows converting between different methods of storing pixels, known as
  81. @dfn{pixel formats}, that have different bit depths and other data
  82. representations, color models, and component permutations.
  83. A vocabulary to formulate new pixel formats from existing primitives is
  84. provided, as well as a framework to add new color models and data types.")
  85. (license license:lgpl3+)))
  86. (define-public gegl
  87. (package
  88. (name "gegl")
  89. (version "0.4.24")
  90. (source (origin
  91. (method url-fetch)
  92. (uri (list (string-append "https://download.gimp.org/pub/gegl/"
  93. (string-take version 3)
  94. "/gegl-" version ".tar.xz")
  95. (string-append "https://ftp.gtk.org/pub/gegl/"
  96. (version-major+minor version)
  97. "/gegl-" version ".tar.xz")
  98. (string-append "ftp://ftp.gtk.org/pub/gegl/"
  99. (version-major+minor version)
  100. "/gegl-" version ".tar.xz")))
  101. (sha256
  102. (base32
  103. "0ji57s7cba94vzy49agn7x47ca61rccm6rif0cb0s6rl4ygljrbp"))))
  104. (build-system meson-build-system)
  105. (arguments
  106. `(#:configure-flags
  107. (list "-Dintrospection=false")))
  108. ;; These are propagated to satisfy 'gegl-0.4.pc'.
  109. (propagated-inputs
  110. `(("babl" ,babl)
  111. ("glib" ,glib)
  112. ("json-glib" ,json-glib)))
  113. (inputs
  114. `(("cairo" ,cairo)
  115. ("pango" ,pango)
  116. ("libpng" ,libpng)
  117. ("libjpeg" ,libjpeg-turbo)))
  118. (native-inputs
  119. `(("pkg-config" ,pkg-config)
  120. ("glib" ,glib "bin") ; for gtester
  121. ("intltool" ,intltool)))
  122. (home-page "http://gegl.org")
  123. (synopsis "Graph based image processing framework")
  124. (description "GEGL (Generic Graphics Library) provides infrastructure to
  125. do demand based cached non destructive image editing on larger than RAM
  126. buffers.")
  127. ;; The library itself is licensed under LGPL while the sample commandline
  128. ;; application and GUI binary gegl is licensed under GPL.
  129. (license (list license:lgpl3+ license:gpl3+))))
  130. (define-public gimp
  131. (package
  132. (name "gimp")
  133. (version "2.10.20")
  134. (source (origin
  135. (method url-fetch)
  136. (uri (string-append "https://download.gimp.org/pub/gimp/v"
  137. (version-major+minor version)
  138. "/gimp-" version ".tar.bz2"))
  139. (sha256
  140. (base32
  141. "0g3vzh1bjffqx94mfghmwvkhncv71cgah2mnfx17q00s9f3rybz1"))))
  142. (build-system gnu-build-system)
  143. (outputs '("out"
  144. "doc")) ; 9 MiB of gtk-doc HTML
  145. (arguments
  146. '(#:configure-flags
  147. (list (string-append "--with-html-dir="
  148. (assoc-ref %outputs "doc")
  149. "/share/gtk-doc/html")
  150. ;; Prevent the build system from running 'gtk-update-icon-cache'
  151. ;; which is not needed during the build because Guix runs it at
  152. ;; profile creation time.
  153. "ac_cv_path_GTK_UPDATE_ICON_CACHE=true"
  154. ;; Disable automatic network request on startup to check for
  155. ;; version updates.
  156. "--disable-check-update"
  157. ;; ./configure requests not to annoy upstream with packaging bugs.
  158. "--with-bug-report-url=https://bugs.gnu.org/guix")
  159. #:phases
  160. (modify-phases %standard-phases
  161. (add-after 'install 'install-sitecustomize.py
  162. ;; Install 'sitecustomize.py' into gimp's python directory to
  163. ;; add pygobject and pygtk to pygimp's search path.
  164. (lambda* (#:key outputs #:allow-other-keys)
  165. (let* ((pythonpath (getenv "PYTHONPATH"))
  166. (out (assoc-ref outputs "out"))
  167. (sitecustomize.py
  168. (string-append
  169. out "/lib/gimp/2.0/python/sitecustomize.py")))
  170. (call-with-output-file sitecustomize.py
  171. (lambda (port)
  172. (format port "import site~%")
  173. (format port "for dir in '~a'.split(':'):~%" pythonpath)
  174. (format port " site.addsitedir(dir)~%")))))))))
  175. (inputs
  176. `(("babl" ,babl)
  177. ("glib" ,glib)
  178. ("glib-networking" ,glib-networking)
  179. ("libtiff" ,libtiff)
  180. ("libwebp" ,libwebp)
  181. ("libjpeg" ,libjpeg-turbo)
  182. ("atk" ,atk)
  183. ("gexiv2" ,gexiv2)
  184. ("gtk+" ,gtk+-2)
  185. ("libmypaint" ,libmypaint)
  186. ("mypaint-brushes" ,mypaint-brushes-1.3)
  187. ("exif" ,libexif) ; optional, EXIF + XMP support
  188. ("lcms" ,lcms) ; optional, color management
  189. ("librsvg" ,librsvg) ; optional, SVG support
  190. ("poppler" ,poppler) ; optional, PDF support
  191. ("poppler-data" ,poppler-data)
  192. ("python" ,python-2) ; optional, Python support
  193. ("python2-pygtk" ,python2-pygtk) ; optional, Python support
  194. ("gegl" ,gegl)))
  195. (native-inputs
  196. `(("glib:bin" ,glib "bin") ; for glib-compile-resources and gdbus-codegen
  197. ("pkg-config" ,pkg-config)
  198. ("intltool" ,intltool)))
  199. (home-page "https://www.gimp.org")
  200. (synopsis "GNU Image Manipulation Program")
  201. (description
  202. "GIMP is an application for image manipulation tasks such as photo
  203. retouching, composition and authoring. It supports all common image formats
  204. as well as specialized ones. It features a highly customizable interface
  205. that is extensible via a plugin system.")
  206. (license license:gpl3+))) ; some files are lgplv3
  207. (define-public gimp-fourier
  208. (package
  209. (name "gimp-fourier")
  210. (version "0.4.3-2")
  211. (source (origin
  212. (method url-fetch)
  213. (uri (string-append "http://registry.gimp.org/files/fourier-"
  214. version ".tar.gz"))
  215. (sha256
  216. (base32
  217. "1rpacyad678lqgxa3hh2n0zpg4azs8dpa8q079bqsl12812k9184"))))
  218. (build-system gnu-build-system)
  219. (arguments
  220. `(#:tests? #f ;no tests
  221. #:phases
  222. (modify-phases %standard-phases
  223. ;; FIXME: The gegl package only installs "gegl-0.4.pc", but
  224. ;; "gimp-2.0.pc" requires "gegl-0.3.pc", so we just copy it.
  225. (replace 'configure
  226. (lambda* (#:key inputs #:allow-other-keys)
  227. (mkdir-p "tmppkgconfig")
  228. (copy-file (string-append (assoc-ref inputs "gegl")
  229. "/lib/pkgconfig/gegl-0.4.pc")
  230. "tmppkgconfig/gegl-0.3.pc")
  231. (setenv "PKG_CONFIG_PATH"
  232. (string-append "tmppkgconfig:"
  233. (or (getenv "PKG_CONFIG_PATH") "")))
  234. #t))
  235. (add-after 'unpack 'set-prefix
  236. (lambda* (#:key outputs #:allow-other-keys)
  237. ;; gimptool-2.0 does not allow us to install to any target
  238. ;; directory.
  239. (let ((target (string-append (assoc-ref outputs "out")
  240. "/lib/gimp/"
  241. (car (string-split ,(package-version gimp) #\.))
  242. ".0/plug-ins")))
  243. (substitute* "Makefile"
  244. (("\\$\\(PLUGIN_INSTALL\\) fourier")
  245. (string-append "cp fourier " target)))
  246. (mkdir-p target))
  247. #t)))))
  248. (inputs
  249. `(("fftw" ,fftw)
  250. ("gimp" ,gimp)
  251. ;; needed by gimp-2.0.pc
  252. ("gdk-pixbuf" ,gdk-pixbuf)
  253. ("gegl" ,gegl)
  254. ("cairo" ,cairo)
  255. ("glib" ,glib)
  256. ;; needed by gimpui-2.0.pc
  257. ("gtk+" ,gtk+-2)))
  258. (native-inputs
  259. `(("pkg-config" ,pkg-config)))
  260. (home-page "https://www.lprp.fr/gimp_plugin_en/#fourier")
  261. (synopsis "GIMP plug-in to edit image in fourier space")
  262. (description
  263. "This package provides a simple plug-in to apply the fourier transform on
  264. an image, allowing you to work with the transformed image inside GIMP. You
  265. can draw or apply filters in fourier space and get the modified image with an
  266. inverse fourier transform.")
  267. (license license:gpl3+)))
  268. (define-public libmypaint
  269. (package
  270. (name "libmypaint")
  271. (version "1.5.1")
  272. (source (origin
  273. (method url-fetch)
  274. (uri (string-append "https://github.com/mypaint/libmypaint/"
  275. "releases/download/v" version "/libmypaint-"
  276. version ".tar.xz"))
  277. (sha256
  278. (base32
  279. "0aqcv4fyscpfhknxgfpq0v84aj2nzigqvpi4zgv2zkl41h51by5f"))))
  280. (build-system gnu-build-system)
  281. (native-inputs
  282. `(("intltool" ,intltool)
  283. ("pkg-config" ,pkg-config)))
  284. ;; As needed by 'libmypaint.pc'.
  285. (propagated-inputs
  286. `(("json-c" ,json-c)
  287. ("gobject-introspection" ,gobject-introspection)))
  288. (inputs
  289. `(("glib" ,glib)))
  290. (synopsis "Artistic brushes library")
  291. (description "Libmypaint, also called \"brushlib\", is a library for making
  292. brushstrokes which is used by MyPaint and GIMP.")
  293. (home-page "http://mypaint.org")
  294. (license license:isc)))
  295. (define-public mypaint-brushes
  296. (package
  297. (name "mypaint-brushes")
  298. (version "2.0.2")
  299. (source
  300. (origin
  301. (method git-fetch)
  302. (uri (git-reference
  303. (url "https://github.com/mypaint/mypaint-brushes")
  304. (commit (string-append "v" version))))
  305. (file-name (git-file-name name version))
  306. (sha256
  307. (base32 "0kcqz13vzpy24dhmrx9hbs6s7hqb8y305vciznm15h277sabpmw9"))))
  308. (build-system gnu-build-system)
  309. (native-inputs
  310. `(("autoconf" ,autoconf)
  311. ("automake" ,automake)))
  312. (synopsis "Default brushes for MyPaint")
  313. (description "This package provides the default set of brushes for
  314. MyPaint.")
  315. (home-page "https://github.com/mypaint/mypaint-brushes/")
  316. ;; Scripts are distributed under GPL2+ terms, brushes are provided as
  317. ;; public domain or under CC0 terms.
  318. (license (list license:gpl2+ license:cc0 license:public-domain))))
  319. (define-public mypaint-brushes-1.3
  320. (package
  321. (inherit mypaint-brushes)
  322. (name "mypaint-brushes")
  323. (version "1.3.1")
  324. (source
  325. (origin
  326. (method git-fetch)
  327. (uri (git-reference
  328. (url "https://github.com/mypaint/mypaint-brushes")
  329. (commit (string-append "v" version))))
  330. (file-name (git-file-name name version))
  331. (sha256
  332. (base32 "1c95l1vfz7sbrdlzrbz7h1p6s1k113kyjfd9wfnxlm0p6562cz3j"))))))
  333. (define-public gimp-resynthesizer
  334. ;; GIMP does not respect any plugin search path environment variable, so after
  335. ;; installation users have to edit their GIMP settings to include
  336. ;; "$HOME/.guix-profile/lib/gimp/2.0/plug-ins/" in
  337. ;; “Edit->Preferences->Folders->Plug Ins”.
  338. (package
  339. (name "gimp-resynthesizer")
  340. (version "2.0.3")
  341. (source
  342. (origin
  343. (method git-fetch)
  344. (uri (git-reference
  345. (url "https://github.com/bootchk/resynthesizer")
  346. (commit (string-append "v" version))))
  347. (sha256
  348. (base32
  349. "1jwc8bhhm21xhrgw56nzbma6fwg59gc8anlmyns7jdiw83y0zx3j"))
  350. (file-name (git-file-name name version))))
  351. (build-system gnu-build-system)
  352. (arguments
  353. `( ;; Turn off tests to avoid:
  354. ;; make[1]: *** No rule to make target '../src/resynth-gui.c', needed by 'resynthesizer.pot'. Stop.
  355. #:tests? #f
  356. #:phases
  357. (modify-phases %standard-phases
  358. (add-after 'unpack 'set-env
  359. (lambda _
  360. (setenv "CONFIG_SHELL" (which "sh"))
  361. #t))
  362. (add-after 'configure 'set-prefix
  363. ;; Install plugin under $prefix, not under GIMP's libdir.
  364. (lambda* (#:key outputs #:allow-other-keys)
  365. (let ((target (string-append (assoc-ref outputs "out")
  366. "/lib/gimp/"
  367. ,(version-major
  368. (package-version gimp))
  369. ".0")))
  370. (substitute* (list "src/resynthesizer/Makefile"
  371. "src/resynthesizer-gui/Makefile")
  372. (("GIMP_LIBDIR = .*")
  373. (string-append "GIMP_LIBDIR = " target "\n")))
  374. (mkdir-p target)
  375. #t))))))
  376. (native-inputs
  377. `(("autoconf" ,autoconf-wrapper)
  378. ("automake" ,automake)
  379. ("glib" ,glib "bin") ; glib-gettextize
  380. ("intltool" ,intltool)
  381. ("pkg-config" ,pkg-config)))
  382. (inputs
  383. `(("gimp" ,gimp)
  384. ("gdk-pixbuf" ,gdk-pixbuf) ; needed by gimp-2.0.pc
  385. ("cairo" ,cairo)
  386. ("gegl" ,gegl)
  387. ("gtk+" ,gtk+-2) ; needed by gimpui-2.0.pc
  388. ("glib" ,glib)))
  389. (home-page "https://github.com/bootchk/resynthesizer")
  390. (synopsis "GIMP plugins for texture synthesis")
  391. (description
  392. "This package provides resynthesizer plugins for GIMP, which encompasses
  393. tools for healing selections (content-aware fill), enlarging the canvas and
  394. healing the border, increasing the resolution while adding detail, and
  395. transferring the style of an image.")
  396. (license license:gpl3+)))