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.
Search Criteria
Package Details: inkscape-git 5:1.5.0.r581.0d47833dcc-1
Package Actions
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)
- boost-libs
- dbus-glib
- double-conversion (double-conversion-gitAUR)
- gc (gc-gitAUR)
- gsl (gsl-gitAUR)
- gspell
- gtkmm-4.0
- gtksourceview5 (gtksourceview-gitAUR)
- lcms2 (lcms2-ff-gitAUR, lcms2-gitAUR, lcms2-ffAUR)
- lib2geom-gitAUR
- libcdr
- libjpeg-turbo (mozjpeg-gitAUR, libjpeg-turbo-gitAUR, mozjpegAUR)
- libmagick6AUR
- libsoup
- libspelling (libspelling-gitAUR)
- libvisio
- libwpg
- libxslt (libxslt-gitAUR)
- poppler-glib (poppler-glib-gitAUR)
- potrace
- python (python37AUR, python311AUR, python310AUR)
- python-appdirs (python-appdirs-gitAUR)
- python-beautifulsoup4
- python-cachecontrol
- python-cssselect
- python-gobject (python-gobject-gitAUR)
- python-lxml
- python-numpy (python-numpy-flameAUR, python-numpy-gitAUR, python-numpy1AUR, python-numpy-mkl-tbbAUR, python-numpy-mklAUR, python-numpy-mkl-binAUR)
- python-packaging
- python-pillow (python-pillow-gitAUR)
- python-pyparsing
- python-pyserial
- python-pytest
- python-requests
- python-tinycss2
- python-typing_extensions
- ttf-font (neuropol-ttfAUR, ttf-win7-fontsAUR, ttf-ms-win8AUR, ttf-ms-win8-arabicAUR, ttf-ms-win8-hebrewAUR, ttf-ms-win8-seaAUR, ttf-ms-win8-indicAUR, ttf-ms-win8-japaneseAUR, ttf-ms-win8-koreanAUR, ttf-ms-win8-zh_cnAUR, ttf-ms-win8-zh_twAUR, ttf-ms-win8-thaiAUR, ttf-ms-win8-otherAUR, ttf-kidsAUR, ttf-liberation-sans-narrowAUR, ttf-cavafy-scriptAUR, ttf-ms-fontsAUR, ttf-dejavu-ibAUR, ttf-zeldaAUR, ttf-oxygenAUR, ttf-oxygen-gfAUR, ttf-share-gfAUR, ttf-gostAUR, otf-inconsolata-dzAUR, ttf-d2codingAUR, ttf-agaveAUR, ttf-caracteresAUR, ttf-cuprumAUR, ttf-autour-oneAUR, ttf-impallari-milongaAUR, ttf-impallari-miltonianAUR, ttf-clarity-cityAUR, ttf-ms-win10AUR, ttf-ms-win10-japaneseAUR, ttf-ms-win10-koreanAUR, ttf-ms-win10-seaAUR, ttf-ms-win10-thaiAUR, ttf-ms-win10-zh_cnAUR, ttf-ms-win10-zh_twAUR, ttf-ms-win10-otherAUR, ttf-win10AUR, ttf-ms-win10-cdnAUR, ttf-bmonoAUR, ttf-pt-astra-factAUR, ttf-weblysleekuiAUR, ttf-pt-astra-sansAUR, ttf-pt-astra-serifAUR, ttf-pt-sansAUR, ttf-pt-serifAUR, ttf-pt-monoAUR, ttf-pt-root_uiAUR, ttf-xo-fontsAUR, noto-fonts-liteAUR, ttf-paratypeAUR, ttf-plemoljp-binAUR, ttf-dejavu-emojilessAUR, noto-fonts-variable-liteAUR, ttf-lucida-fontsAUR, ttf-plemoljpAUR, ttf-juiseeAUR, ttf-ms-win10-autoAUR, ttf-karlaAUR, noto-fonts-latin-greek-cyrillicAUR, apple-fontsAUR, ttf-noto-sans-vfAUR, ttf-noto-serif-vfAUR, ttf-noto-sans-mono-vfAUR, ttf-ms-win11AUR, ttf-ms-win11-japaneseAUR, ttf-ms-win11-koreanAUR, ttf-ms-win11-seaAUR, ttf-ms-win11-thaiAUR, ttf-ms-win11-zh_cnAUR, ttf-ms-win11-zh_twAUR, ttf-ms-win11-otherAUR, ttf-ms-win11-autoAUR, gnu-free-fonts, noto-fonts, ttf-bitstream-vera, ttf-croscore, ttf-dejavu, ttf-droid, ttf-ibm-plex, ttf-input, ttf-input-nerd, ttf-liberation)
- boost (boost-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- glib2-devel (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- fig2dev (fig2dev-gitAUR) (optional) – xfig input
- gvfs (gvfs-gitAUR) (optional) – import clip art
- pstoedit (pstoedit-nomagickAUR) (optional) – latex formulas
- scour (scour-gitAUR) (optional) – optimized SVG output, some extensions
- texlive-core (texlive-installerAUR, texlive-fullAUR, texlive-basic) (optional) – latex formulas
Required by (168)
- adapta-gtk-theme-git (requires inkscape) (make)
- adg-gtk-theme (requires inkscape) (optional)
- anja-git (requires inkscape) (make)
- ant-bloody-theme-git (requires inkscape) (make)
- ant-dracula-theme-git (requires inkscape) (make)
- ant-nebula-theme-git (requires inkscape) (make)
- ant-theme-git (requires inkscape) (make)
- arc-gtk-theme-colorpack (requires inkscape) (make)
- arc-gtk-theme-git (requires inkscape) (make)
- arc-solid-gtk-theme-git (requires inkscape) (make)
- arx-fatalis-data-copy (requires inkscape)
- beamerscape-git (requires inkscape)
- bibata-extra-cursor-git (requires inkscape) (make)
- breeze-hacked-cursor-theme-git (requires inkscape) (make)
- captain-frank-cursors-git (requires inkscape) (make)
- casile (requires inkscape)
- casile-git (requires inkscape)
- chicago95-plus (requires inkscape)
- chicago95-plus-git (requires inkscape)
- citramanik-qt-git (requires inkscape)
- Show 148 more...
Sources (10)
fbrennan commented on 2024-03-28 14:31 (UTC)
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.
-
Please report
issues
andpatches
to inkscape-git*github.com -
Travis CI Status: <img alt="Build Status" src="https://travis-ci.org/bartoszek/AUR-inkscape-git.svg?branch=master" />
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.
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.
Please report
issues
andpatches
to inkscape-git*github.comTravis CI Status: <img alt="Build Status" src="https://travis-ci.org/bartoszek/AUR-inkscape-git.svg?branch=master" />
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"