Commit Graph

111 Commits

Author SHA1 Message Date
Jan Tojnar
3b3f77b181 inkscape: 1.2.1 → 1.2.2
https://inkscape.org/news/2022/12/05/download-inkscape-122/
2022-12-13 01:19:00 +01:00
Yannik Rödel
085e1f9e3f inkscape: fix for Poppler 22.09 2022-11-02 13:14:43 +01:00
kilianar
f9a39878f8 inkscape: fix bug when saving as an optimized svg
When saving an optimized svg, inkscape failed with a
ModuleNotFoundError: No module named 'packaging'. To fix this issue we
add packaging to python3Env.
2022-08-11 12:08:40 +02:00
Jan Tojnar
b775740ba2 inkscape: 1.2 → 1.2.1
https://inkscape.org/news/2022/07/14/important-release-inkscape-version-121-fixes-data/
2022-07-16 08:34:33 +02:00
Matt Huszagh
c1e680f8da inkscape: 1.1.2 → 1.2
https://inkscape.org/news/2022/05/16/inkscape-12/
https://media.inkscape.org/media/doc/release_notes/1.2/Inkscape_1.2.html

Needed to add some Python dependencies:
- appdirs, beautifulsoup4, cachecontrol, requests and pygobject3 (gi) for clipart importer
- cssselect and numpy for inkex
- pygobject3 for inkex.gui

Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
2022-06-08 04:32:19 +02:00
Jan Tojnar
1cc16e71e1
Merge pull request #167372 from r-ryantm/auto-update/poppler-glib
poppler: 22.03.0 -> 22.04.0
2022-05-06 00:47:20 +02:00
tilcreator
6efbfd12e7 inkscape: add pyserial 2022-04-20 04:39:59 +02:00
Jan Tojnar
556edebe3c inkscape: Fix build with poppler 22.04 2022-04-09 00:39:42 +02:00
Jan Tojnar
534a73511e inkscape: fix build with poppler 22.03 2022-03-25 19:02:30 +01:00
Jan Tojnar
8d21cfcf7f inkscape: 1.1.1 → 1.1.2
https://inkscape.org/release/inkscape-1.1.2/
2022-02-09 23:55:55 +01:00
Jan Tojnar
c4b9851332 inkscape: fix build with Poppler 21.11.0 2022-01-27 17:49:12 +01:00
Sergei Trofimovich
5f12173f81 inkscape: fix build against upcoming gcc-12
Without the change build fails as:

    src/io/file.h:29:63: error: use of deleted function
      'std::__cxx11::basic_string<...>::basic_string(std::nullptr_t) [...]'
       29 | SPDocument* ink_file_new(const std::string &Template = nullptr);
          |                                                               ^
2022-01-19 08:19:24 +00:00
Michal Sojka
a6f6108149 inkscape: fix line spacing problem
Inkscape does not work well with with Pango 1.49+ (nixpkgs has Pango
1.50.0). An upstream commit with the fix will be a part of upcomming
1.1.2 release due in a month. Until than, let's apply the fix in
nixpkgs.
2022-01-17 12:33:57 +01:00
Max Hausch
a3d54a465d
inkscape: Remove networkmanager as an inkscape dependency 2022-01-10 15:07:21 +01:00
Jan Tojnar
9a6f220ab9 inkscape: 1.0 → 1.1.1
https://gitlab.com/inkscape/inkscape/-/tags/INKSCAPE_1_1_1
https://wiki.inkscape.org/wiki/index.php/Release_notes/1.1.1
2021-10-29 04:54:53 +02:00
Jan Tojnar
a5252d1f00
inkscape: Fix parsing paths by Python extensions 2021-06-25 01:20:07 +02:00
Jordan Justen
413d927150
inkscape: 1.0.2 -> 1.1
Reworks:
 * Remove fetchpatch
 * Remove gdl (jtojnar)
 * gtkspell -> gspell (jtojnar)
 * Add pillow to fix jpg export (jtojnar)
 * Remove double-conversion, add substituteInPlace (jtojnar)
2021-05-26 00:20:44 -07:00
Jan Tojnar
1a7ac9640a
inkscape: Fix build with glib 2.68 2021-05-05 22:42:54 +02:00
Arnout Engelen
4fb94610d9
inkscape: ps and eps import
There are a number of extensions, like the eps import,
that only become available when ps2pdf is available.
https://gitlab.com/inkscape/extensions/-/blob/master/eps_input.inx#L6

This is not so obvious, and this PR adds ghostscript (which provides ps2pdf)
explicitly so those extensions are always available and using a stable
version instead of relying on the PATH.

This will increase the inkscape closure by about 60MB,
which is quite a chunk, but perhaps not too bad on a
total of 1100MB.
2021-02-17 23:16:04 +01:00
R. RyanTM
699052ed8c inkscape: 1.0.1 -> 1.0.2 2021-01-30 17:32:51 +01:00
Ben Siraphob
badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Jan Tojnar
a45e68be36
inkscape: 1.0 → 1.0.1
https://inkscape.org/news/2020/09/06/inkscape-version-101-patches-crashes-bugs/
https://inkscape.org/release/inkscape-1.0.1/
2020-09-10 20:35:33 +02:00
Pavol Rusnak
5107b24c83
inkscape: 0.92.5 -> 1.0 2020-07-19 13:10:16 +02:00
Daiderd Jordan
7b3a2963d1
treewide: replace base64 encoded hashes 2020-06-03 18:35:19 +02:00
Jan Tojnar
a725962ae9
inkscape: drop redundant enableParallelBuilding
With CMake it is on by default.
2020-04-14 11:32:41 +02:00
Jan Tojnar
a926e7358f
inkscape: add jtojnar as maintainer 2020-04-14 02:05:49 +02:00
Jan Tojnar
a48d86e851
inkscape: 0.92.4 → 0.92.5
https://gitlab.com/inkscape/inkscape/-/tags/INKSCAPE_0_92_5
2020-04-14 02:05:49 +02:00
Jan Tojnar
eff936e8b9
inkscape: format with nixpkgs-fmt
Also order the build inputs alphabetically and switch to pname+version.
2020-04-14 02:05:33 +02:00
Jan Tojnar
38e316d398
inkscape: clean up
The unpackPhase override was only needed when the download server mangled the file extension:

https://github.com/NixOS/nixpkgs/pull/23652
2020-04-14 02:05:12 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Jan Tojnar
65952e7d27
inkscape: fix build with Poppler 0.83.0 2019-12-03 14:50:49 +01:00
Dmitry Kalinkin
81f6fbdb0a
inkscape: add compatibility with poppler 0.76.0+ 2019-11-06 15:43:54 -05:00
Daiderd Jordan
9b773fd98a
inkscape: fix darwin build
Cairo is also a dependency now.

    /tmp/nix-build-inkscape-0.92.4.drv-0/inkscape-0.92.4/src/display/drawing-context.h:20:10: fatal error: 'cairo.h' file not found
    #include <cairo.h>
             ^~~~~~~~~
    1 error generated.
2019-11-04 16:03:18 +01:00
Yury G. Kudryashov
ba0a68c45b inkscape: use latest poppler, use gtkspell2, drop -fpermissive
It seems that `inkscape-0.9.4` builds with the latest poppler and
without the `-fpermissive` workaround.
2019-11-02 17:47:15 -04:00
worldofpeace
b0c2aea20b
treewide: drop adding hicolor-icon-theme where possible
This was either for the setup-hook to remove caches or added
even though the respective icon theme propagated it.
2019-09-18 22:47:26 +02:00
Riley Inman
cd04b610ba inkscape: add wrapGAppsHook for icons (fixed for strictDeps)
Resolves #68185.
The icons in Inkscape depend on gdk-pixbuf loaders, but because
strictDeps is set to true to fix some macOS issues it doesn't work
(see #56943). Adding librsvg to buildInputs explicitly fixes the issue.
2019-09-08 14:51:12 -04:00
Will Dietz
c01c16f09a inkscape: 0.92.3 -> 0.92.4
https://inkscape.org/news/2019/01/17/inkscape-launches-version-0924/
2019-01-31 18:18:56 -06:00
Frederik Rietdijk
e343a85cfb Merge master into staging-next 2018-11-19 09:55:32 +01:00
Matthew Bauer
e2817a270b inkscape: make python & perl runtime deps
These two interpreters are needed for some runtime scripts.

Fixes #50570
2018-11-18 18:47:02 -06:00
Ben Backhouse
fca9a06c2e inkscape: add scour as dependency 2018-11-18 13:40:54 +01:00
volth
c0fed1ba77 perlXMLParser -> perlPackages.XMLParser 2018-10-12 22:56:15 +00:00
Frederik Rietdijk
3209775495 Merge master into staging 2018-07-22 11:14:41 +02:00
volth
983abe10e2 "rm $out/share/icons/hicolor/icon-theme.cache" -> hicolor-icon-theme setup-hook 2018-07-21 21:47:26 +00:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Matthew Justin Bauer
912e60f929
inkscape: add perl to nativeBuildInputs
This should fix the issue in Linux sandbox.
2018-06-19 15:43:36 -04:00
Matthew Bauer
1f8f89d309 inkscape: work around ARGMAX limit
This uses strictDeps to get our args passed to the linker low enough
to enable building inkscape. With strictDeps we need to correctly use
nativeBuildInputs to avoid an issue.
2018-06-18 18:42:21 -04:00
Matthew Bauer
95f9171531 Revert "inkscape: fix on Darwin"
This reverts commit a276d5160c.
2018-05-31 12:34:15 -04:00
Matthew Bauer
012a3a3f9b Revert "inkscape: typo"
This reverts commit 0a8c91a931.
2018-05-31 12:34:15 -04:00
Matthew Bauer
9e04546809 Revert "inkscape: Fix build on NixOS"
This reverts commit 6c748ae749.
2018-05-31 12:34:15 -04:00