Commit Graph

154 Commits

Author SHA1 Message Date
Johannes Jöns
ce0f4dd670
inkscape-extensions.silhouette: 1.28 -> 1.29 (#342343) 2024-10-31 14:36:17 +01:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
R. Ryantm
85367ef231 inkscape-extensions.silhouette: 1.28 -> 1.29 2024-09-16 16:21:23 +00:00
Jan Tojnar
c8ceed2cf3 inkscape: Improve precision of distribute along path
We are already applying this patch to inkex.
2024-07-09 23:46:13 +02:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Alexis Hildebrandt
bf995e3641 treewide: Remove ending period from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*".*\.";' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*)\.";/\1";/'
2024-06-09 23:04:51 +02:00
Jan Tojnar
c7535769b8
Merge pull request #303748 from TuxCoder/inkscape_eps
inkscape: fix path patch
2024-06-01 09:40:24 +02:00
Jan Tojnar
eb04659fc2 treewide: wrapGAppsHook → wrapGAppsHook3
This was achieved using the following command:

    sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b')

And then manually reverted the following changes:

- alias in top-level.nix
- function name in wrap-gapps-hook.sh
- comment in postFixup of at-spi2-core
- comment in gtk4
- comment in preFixup of 1password-gui/linux.nix
- comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix
- comment in postFixup of telegram-desktop
- comment in postFixup of fwupd
- buildCommand of mongodb-compass
- postFixup of xflux-gui
- comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config
- description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
2024-04-27 02:23:22 +02:00
tuxcoder
fae8ec30ea inkscape: add unit test for ps2pdf plugin
to prevent future regressen add a smal test,
to check if ps2pdf plugin is working
by createing a .ps / .eps file and converting it back to svg
2024-04-19 11:07:14 +02:00
tuxcoder
9bf31eaba0 inkscape: fix path patch
fix a bug introduced in 0db4b99569
by missing the change from `path` to `absolute` for the `location` argument
2024-04-14 00:08:08 +02:00
R. Ryantm
0b52d7ec90 inkscape-extensions.textext: 1.10.1 -> 1.10.2 2024-02-22 21:01:54 +00:00
K900
9e0000be28 Merge branch 'master' into staging-next 2024-01-08 00:51:35 +03:00
Felix Buehler
2adcc8846a python311Packages.wxpython: rename from wxPython_4_2 2024-01-07 21:16:47 +01:00
github-actions[bot]
65cbf5e637
Merge master into staging-next 2023-12-31 18:01:09 +00:00
Arnout Engelen
215202e570
Merge pull request #277217 from taha-yassine/update-textext
inkscape/textext: 1.8.1 -> 1.10.1
2023-12-31 14:11:13 +01:00
Arnout Engelen
77e107f0d1
Merge pull request #239349 from jfly/inkscape-silhouette-init-at-1.28.pre
inkscape/silhouette: init at 1.28
2023-12-31 13:17:27 +01:00
Jeremy Fleischman
3fffe22f0f
inkscape/silhouette: init at 1.28
Introduce the 'silhouette' extension for printing to Silhouette vinyl
cutters in Inkscape.

Tested with `nix-build -E "with import ./. { }; inkscape-with-extensions.override { inkscapeExtensions = [ inkscape-extensions.silhouette ]; }"`.

This completes https://github.com/NixOS/nixpkgs/issues/224852
2023-12-30 19:24:59 -08:00
Taha YASSINE
ff0dc63ab8 inkscape/textext: 1.8.1 -> 1.10.1 2023-12-28 02:01:29 +01:00
Jan Tojnar
12afad98bc inkscape: Fix build with libxml2 2.12 2023-12-24 13:54:04 +01:00
Jan Tojnar
4ce29f6c8b inkscape: 1.3.1 → 1.3.2
https://inkscape.org/news/2023/12/01/Inkscape-1-3-2-solves-data-loss-bug/
https://gitlab.com/inkscape/inkscape/-/compare/INKSCAPE_1_3_1...INKSCAPE_1_3_2
2023-12-01 20:21:07 +01:00
Jan Tojnar
8f7dd88eeb inkscape: 1.3 → 1.3.1
https://inkscape.org/news/2023/11/18/big-small-release-inkscape-131-is-out/
https://media.inkscape.org/media/doc/release_notes/1.3.1/Inkscape_1.3.1.html
https://gitlab.com/inkscape/inkscape/-/compare/INKSCAPE_1_3...INKSCAPE_1_3_1
b4b9cbbb9f...e014a9958a
18fc32f997...cf523857e4

No build changes; lib2geom submodule, picking the patches in parent commit.
2023-11-26 18:10:59 +01:00
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