Package Details: inkscape-git 5:1.5.0.r581.0d47833dcc-1

Git Clone URL: https://aur.archlinux.org/inkscape-git.git (read-only, click to copy)
Package Base: inkscape-git
Description: An Open Source vector graphics editor, using SVG file format, from git master
Upstream URL: https://gitlab.com/inkscape
Licenses: GPL, LGPL
Conflicts: inkscape
Provides: inkscape
Submitter: haawda
Maintainer: bartus
Last Packager: bartus
Votes: 9
Popularity: 0.172081
First Submitted: 2017-06-10 19:46 (UTC)
Last Updated: 2024-10-15 09:25 (UTC)

Dependencies (47)

Required by (168)

Sources (10)

Pinned Comments

bartus commented on 2023-11-11 20:47 (UTC) (edited on 2023-11-11 20:51 (UTC) by bartus)

This package is also hosted on GitHub.
Use env vars to control build process:
  • BITMAP_BACKEND={imagemagick,graphicsmagick} change bitmap filter backend (default imagemagick(libmagick6))
  • MAKEFLAGS="xxx" to override default make flags.
Usage cases:
  • makepkg BITMAP_BACKEND=graphicsmagick MAKEFLAGS=-j1
  • yay -S gimp-git --mflags "BITMAP_BACKEND=graphicsmagick;MAKEFLAGS=-j1"

Latest Comments

1 2 3 4 5 6 .. 8 Next › Last »

fbrennan commented on 2024-03-28 14:31 (UTC)

If you are getting failures to build due to cairomm or pangomm a possible solution exists at https://github.com/bartoszek/AUR-inkscape-git/issues/1.

bartus commented on 2023-11-11 20:47 (UTC) (edited on 2023-11-11 20:51 (UTC) by bartus)

This package is also hosted on GitHub.
Use env vars to control build process:
  • BITMAP_BACKEND={imagemagick,graphicsmagick} change bitmap filter backend (default imagemagick(libmagick6))
  • MAKEFLAGS="xxx" to override default make flags.
Usage cases:
  • makepkg BITMAP_BACKEND=graphicsmagick MAKEFLAGS=-j1
  • yay -S gimp-git --mflags "BITMAP_BACKEND=graphicsmagick;MAKEFLAGS=-j1"

fbrennan commented on 2023-10-23 04:45 (UTC)

Build is broken due to lib2geom inclusion weirdness. I think my patch is better than chasing the Inkscape developers around.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

- From 41bbe4f401f6ee06fabacadacfaafd5b18ffd25f Mon Sep 17 00:00:00 2001
From: Fredrick Brennan <copypaste@kittens.ph>
Date: Mon, 23 Oct 2023 00:39:59 -0400
Subject: [PATCH] Really fix lib2geom header location

Signed-off-by: Fredrick Brennan <copypaste@kittens.ph>
- ---
 .SRCINFO |  2 +-
 PKGBUILD | 10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 4fb013e..4b096fd 100644
- --- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = inkscape-git
    pkgdesc = An Open Source vector graphics editor, using SVG file format, from git master
- - pkgver = 1.3.alpha.r352.g5cf271997e
+   pkgver = 1.3.alpha.r769.g65818fdfbe
    pkgrel = 1
    epoch = 5
    url = https://gitlab.com/inkscape
diff --git a/PKGBUILD b/PKGBUILD
index d64aa33..553c2f9 100644
- --- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 # Co-Maintainer: bartus <arch-user-repo@bartus.33mail.com>

 pkgname=inkscape-git
- -pkgver=1.3.alpha.r352.g5cf271997e
+pkgver=1.3.alpha.r769.g65818fdfbe
 pkgrel=1
 epoch=5
 pkgdesc="An Open Source vector graphics editor, using SVG file format, from git master"
@@ -59,12 +59,9 @@ prepare() {
   git config submodule.share/extensions.url "${srcdir}"/extensions.git
   git config submodule.src/3rdparty/2geom.url "${srcdir}"/lib2geom.git
   git -c protocol.file.allow=always submodule update --init --remote
+  git reset --hard
 # fix track_obj deprecated in libsigc
   sed '/DSIGCXX_DISABLE_DEPRECATED/d' -i CMakeScripts/DefineDependsandFlags.cmake
- -# fix lib2geom header location
- -  sed -E '/^#include/s/"(point.h)/"2geom\/\1/' -i src/path/splinefit/bezier-fit.cpp src/ui/{tool/path-manipulator,dialog/{symbols,extensions-gallery}}.cpp
- -  sed -E '/^#include/s/"(rect.h)/"2geom\/\1/' -i src/ui/dialog/{object-attributes,extensions-gallery}.cpp
- -  sed -E '/^#include/s/"(transforms.h)/"2geom\/\1/' -i src/ui/widget/gradient-editor.cpp
 }

 pkgver() {
@@ -73,8 +70,11 @@ pkgver() {
 }

 build() {
+  LIB2GEOM_INCLUDE_DIR=`find /usr/include -maxdepth 1 -mindepth 1 -name '2geom-*'|head -n1`/2geom
+  >&2 echo "LIB2GEOM_INCLUDE_DIR: ${LIB2GEOM_INCLUDE_DIR}"
   cmake -S "${_gitname}" -B build -G Ninja \
         -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_CXX_FLAGS="${CXXFLAGS} -I${LIB2GEOM_INCLUDE_DIR}" \
         -DCMAKE_BUILD_TYPE=RELEASE 
   cmake --build build
 }
- -- 
2.42.0

-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQS1rLeeEfG/f0nzK7hYUwVpYvFOWAUCZTX6XwAKCRBYUwVpYvFO
WJF8AP9EO+3XA8ZQqcGnEJ1D+zFA5A+LCWxqmqBnmQ+CVmTY8AD/dCfA1g1iiwAa
JsKrb3bWVwaReuMR8JpG/CHWC7MuAA4=
=yP0z
-----END PGP SIGNATURE-----

grandchild commented on 2023-09-19 09:37 (UTC)

@impulse: This is a problem with libmagick6 then, not this package.

impulse commented on 2023-09-19 05:28 (UTC) (edited on 2023-09-19 05:28 (UTC) by impulse)

error with libmagick6 dependency:

Q16HDRI.xs: In function ‘XS_Image__Magick__Q16HDRI_Mogrify’:
Q16HDRI.xs:10846:38: error: expected expression before ‘)’ token
10846 |             method=(MorphologyMethod)) argument_list[2].integer_reference;
      |                                      ^
Q16HDRI.xs:10846:38: error: expected statement before ‘)’ token
Q16HDRI.xs:10846:56: warning: statement with no effect [-Wunused-value]
10846 |             method=(MorphologyMethod)) argument_list[2].integer_reference;
      |               
                         ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~

Fails to build.

haawda commented on 2023-07-14 17:52 (UTC)

The problem with the vanishing header files reappeared.

sed -i 42d src/ui/widget/gradient-editor.cpp

grandchild commented on 2023-06-20 17:17 (UTC)

/home/user/.cache/yay/inkscape-git/src/inkscape.git/src/ui/tool/path-manipulator.cpp:24:10: fatal error: 2geom/2geom/forward.h: No such file or directory
   24 | #include <2geom/2geom/forward.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

the quick and dirty fix:

sudo ln -s /usr/include/2geom-1.3.0 /usr/include/2geom

(but you should remove that symlink after the build)

haawda commented on 2023-06-16 13:39 (UTC)

The fixes for lib2geom no longer work. Without them, the build succeeds.

haawda commented on 2023-02-27 13:52 (UTC)

It is an upstream issue, which should be reported there, but it has an easy fix: point.h does not exist in src/ui/dialog directory.

diff --git a/src/ui/dialog/symbols.cpp b/src/ui/dialog/symbols.cpp
index fe1ccc0233..6621c59f55 100644
--- a/src/ui/dialog/symbols.cpp
+++ b/src/ui/dialog/symbols.cpp
@@ -42,7 +42,6 @@
 #include <pangomm/layout.h>
 #include <string>
 #include <vector>
-#include "point.h"
 #include "preferences.h"
 #include "ui/builder-utils.h"
 #include "ui/dialog/messages.h"

ooo commented on 2022-08-22 12:01 (UTC) (edited on 2022-08-22 12:50 (UTC) by ooo)

Is there a specific reason for still depending on libmagick6?

If imagemagick6 is missing, it will use graphicsmagick instead, which is already a dependency for this package. The package builds and works just fine without IM6, and this is what inkscape package in [extra] does as well.

Dropping it from depends would get rid of unnecessary AUR dependency, which is always nice.