Commit Graph

133 Commits

Author SHA1 Message Date
Robert Hensing
12490c8070
Merge pull request #121711 from raboof/inkscape-textext-init-at-1.3.1
inkscape/textext: init at 1.8.1
2023-11-22 16:18:07 +01:00
Weijia Wang
c5b219ec90 inkscape: fix runtime error on darwin 2023-11-06 12:56:50 +01:00
leiserfg
99ab0ebeab inkscape: 1.2.2 → 1.3
https://inkscape.org/doc/release_notes/1.3/Inkscape_1.3.html

libepoxy for experimental GPU-accelerated rendering.
pyparsing for HPGL support.

Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
2023-10-26 14:25:16 +02:00
Jan Tojnar
8913801669 inkscape: inherit filelock dependency from cachecontrol
The dependency is not imported anywhere in the Inkscape code so let’s make the requirement explicit.
2023-10-26 14:24:09 +02:00
Arnout Engelen
2c18352f1e
inkscape-extensions.textext: init at 1.8.1
Introduce the 'textext' extension for including LaTeX graphics in Inkscape

Test it with `nix-shell -p "inkscape-with-extensions.override {
inkscapeExtensions = [ inkscape-extensions.textext ]; }" --run inkscape`

Co-Authored-By: Jan Tojnar <jtojnar@gmail.com>
2023-10-04 20:43:00 +02:00
Vikram Narayanan
cb950973d3 hexmap: unstable-2020-06-06 -> unstable 2023-01-26 2023-10-03 17:36:15 -07:00
Vikram Narayanan
d5842eb2fa inkscape: fix manage extensions
Invoking "manage extensions" results in
```
ValueError: Namespace Gtk not available
```
and this requires gobject-introspection libraries.
2023-10-03 17:35:08 -07:00
Austin Horstman
0d6c907ba8
treewide: add meta.mainProgram to graphics 2023-08-04 10:36:02 -05:00
Nikolay Korotkiy
0db4b99569
inkscape: fix broken patching 2023-08-02 23:21:57 +04:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
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
Felix Buehler
e0476d93fe treewide: rename name to pname&version 2022-03-23 22:34:54 +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
AndersonTorres
9b2a54f7d6 treewide: change 0.0.0 to 0.pre in version attrs 2021-10-05 22:45:24 -03:00
Jan Tojnar
5efd65b2d9
inkscape-with-extension: make enabling all extensions easier
Previously, we needed something like

	inkscape-with-extensions.override { inkscapeExtensions = builtins.filter lib.isDerivation (builtins.attrValues inkscape-extensions); }

Now, we can just do

	inkscape-with-extensions.override { inkscapeExtensions = null; }
2021-06-25 12:41:11 +02:00
Jan Tojnar
75ea980211
inkscape-extensions.applytransforms: 0.0.0+unstable=2021-05-11 2021-06-25 12:41:11 +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
Ben Siraphob
e03c068af5 treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07: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
Arnout Engelen
297d1d6b83
inkscape: add inkcut extension 2020-11-24 19:35:15 +01:00
Jan Tojnar
35deaa45a1
inkscape_0: drop
Inkscape 1.0.1 re-added the old CLI flags:
3ca6a4ed08
2020-09-10 20:46:55 +02: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
Arnout Engelen
2e0a15fce1
inkscape-extensions.hexmap: init at 2020-06-06 2020-09-10 20:21:52 +02:00
Arnout Engelen
67b4880faa
inkscape: introduce a way to add external extensions
Co-Authored-By: Stefan Siegl <stesie@brokenpipe.de>
2020-09-10 09:17:49 +02:00
Pavol Rusnak
5107b24c83
inkscape: 0.92.5 -> 1.0 2020-07-19 13:10:16 +02:00
Pavol Rusnak
7eb4a0ae27
inkscape -> inkscape_0
We can't update inkscape to 1.0 without keeping 0.x in tree,
because the CLI interface has been changed and lots of packages
use this interface for SVG conversion.
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