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: | 10 |
Popularity: | 0.82 |
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-lxml
- python-numpy (python-numpy-flameAUR, python-numpy-gitAUR, python-numpy1AUR, python-numpy-mkl-binAUR, python-numpy-mkl-tbbAUR, python-numpy-mklAUR)
- python-packaging
- python-pillow
- python-pyparsing
- python-pyserial (python-pyserial-labgrid-gitAUR)
- 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-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, ttf-paratypeAUR, ttf-plemoljp-binAUR, ttf-dejavu-emojilessAUR, ttf-lucida-fontsAUR, ttf-plemoljpAUR, ttf-juiseeAUR, ttf-ms-win10-autoAUR, ttf-karlaAUR, noto-fonts-latin-greek-cyrillicAUR, apple-fontsAUR, ttf-ms-win11-autoAUR, ttf-ms-win10-cdnAUR, noto-fonts-liteAUR, ttf-noto-sans-vfAUR, ttf-noto-serif-vfAUR, ttf-noto-sans-mono-vfAUR, ttf-ibm-plex-sans-scAUR, 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, noto-fonts-variable-liteAUR, 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 (169)
- 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)
- clearlooks-phenix-darkpurpy-gtk-theme (requires inkscape) (make)
- clearlooks-phenix-gtk-theme (requires inkscape) (make)
- context-lmtx-bin (requires inkscape) (optional)
- coreboot-configurator-git (requires inkscape) (make)
- cros-adapta-gtk-theme-git (requires inkscape) (make)
- deepinv20-dark-cursors-git (requires inkscape) (make)
- docx-you-want (requires inkscape)
- dune-common (requires inkscape) (optional)
- dune-geometry (requires inkscape) (make)
- dune-geometry (requires inkscape) (optional)
- elementary-icon-theme-git (requires inkscape) (make)
- fallout2-cursor-theme (requires inkscape) (make)
- faust-git (requires inkscape) (optional)
- fbsplash-theme-gen (requires inkscape)
- firefox-extension-tab-stash (requires inkscape) (make)
- freetz-ng-devel (requires inkscape)
- gnome-colors-icon-theme (requires inkscape) (make)
- grandorgue-git (requires inkscape) (make)
- gtk-arc-flatabulous-theme (requires inkscape) (make)
- gtk-arc-flatabulous-theme-git (requires inkscape) (make)
- gtk-theme-numix-solarized-git (requires inkscape) (make)
- gtk-theme-solarc-git (requires inkscape) (make)
- hardcode-tray (requires inkscape) (optional)
- hardcode-tray-git (requires inkscape) (optional)
- hydrogen-theme (requires inkscape) (make)
- icglue (requires inkscape) (make)
- inklingreader-git (requires inkscape) (optional)
- inkscape-applytransforms-git (requires inkscape)
- inkscape-axidraw-bin (requires inkscape)
- inkscape-download-palette (requires inkscape)
- inkscape-eggbot-git (requires inkscape)
- inkscape-generate-palette (requires inkscape)
- inkscape-inkcut (requires inkscape)
- inkscape-label-guides (requires inkscape)
- inkscape-multipage-export (requires inkscape)
- inkscape-open-symbols-git (requires inkscape)
- inkscape-openpaths-git (requires inkscape)
- inkscape-paths2openscad (requires inkscape)
- inkscape-silhouette-git (requires inkscape)
- inkslides-git (requires inkscape)
- inkstitch (requires inkscape)
- juno-mirage-gtk-theme-git (requires inkscape) (make)
- juno-mirage-standard-buttons-gtk-theme-git (requires inkscape) (make)
- juno-ocean-gtk-theme-git (requires inkscape) (make)
- juno-ocean-standard-buttons-gtk-theme-git (requires inkscape) (make)
- juno-palenight-gtk-theme-git (requires inkscape) (make)
- juno-palenight-standard-buttons-gtk-theme-git (requires inkscape) (make)
- juno-standard-buttons-gtk-theme-git (requires inkscape) (make)
- juno-theme-git (requires inkscape) (make)
- kabeljau (requires inkscape) (make)
- kimi-dark-gtk-theme-git (requires inkscape) (make)
- kimi-theme-git (requires inkscape) (make)
- kripton-theme-git (requires inkscape) (make)
- kvantum-theme-juno-ocean-git (requires inkscape) (make)
- latex-make (requires inkscape) (optional)
- latex-tuda-ci-logos-sanity (requires inkscape) (make)
- localplot-git (requires inkscape) (optional)
- maia-cursor-theme-git (requires inkscape) (make)
- marktex (requires inkscape)
- materia-custom-accent (requires inkscape) (make)
- materia-custom-accent-git (requires inkscape) (make)
- material-cursors-git (requires inkscape) (make)
- mojave-gtk-theme (requires inkscape) (make)
- mojave-gtk-theme-git (requires inkscape) (make)
- nordic-bluish-theme-git (requires inkscape) (make)
- nordic-darker-theme-git (requires inkscape) (make)
- nordic-polar-theme-git (requires inkscape) (make)
- nordic-theme-git (requires inkscape) (make)
- numix-cursor-theme-git (requires inkscape) (make)
- numix-icon-theme-pack-git (requires inkscape) (make)
- numix-themes-archblue (requires inkscape) (make)
- numix-themes-blue-git (requires inkscape) (make)
- numix-themes-electric (requires inkscape) (make)
- numix-themes-green (requires inkscape) (make)
- oreo-cursors-git (requires inkscape) (make)
- oreo-nord-cursors-git (requires inkscape) (make)
- otis-theme-git (requires inkscape) (make)
- oxygen-cursors-extra (requires inkscape) (make)
- pacemaker (requires inkscape) (make)
- pacemaker-git (requires inkscape) (make)
- pacgraph (requires inkscape) (optional)
- packetry (requires inkscape) (make)
- packetry-git (requires inkscape) (make)
- pandwaita (requires inkscape) (optional)
- pdfrankenstein (requires inkscape)
- plasma5-themes-juno-ocean-git (requires inkscape) (make)
- plasma5-themes-sweet-full-git (requires inkscape) (make)
- plata-theme (requires inkscape) (make)
- plata-theme-gnome (requires inkscape) (make)
- plata-theme-gs330 (requires inkscape) (make)
- plata-theme-osd-match (requires inkscape) (make)
- pop-gtk-theme-git (requires inkscape) (optional)
- python-matplotlib-git (requires inkscape) (check)
- python-sphinxcontrib-svg2pdfconverter (requires inkscape) (optional)
- qemu-android-cm-x86 (requires inkscape) (make)
- qemu-android-x86 (requires inkscape) (make)
- qucs-rflayout (requires inkscape) (optional)
- rosa-icons (requires inkscape) (make)
- snapchat-nativefier (requires inkscape) (make)
- snow-theme-git (requires inkscape) (make)
- sozi (requires inkscape) (optional)
- sozi-bin (requires inkscape) (optional)
- sozi-extras_media (requires inkscape)
- sozi-extras_texts2paths (requires inkscape)
- starlabstheme-backgrounds-git (requires inkscape) (make)
- starlabstheme-extensions-git (requires inkscape) (make)
- starlabstheme-font-git (requires inkscape) (make)
- starlabstheme-gnome-shell-git (requires inkscape) (make)
- starlabstheme-grub-git (requires inkscape) (make)
- starlabstheme-gtk-git (requires inkscape) (make)
- starlabstheme-icons-git (requires inkscape) (make)
- starlabstheme-plymouth-git (requires inkscape) (make)
- starlabstheme-session-git (requires inkscape) (make)
- starlabstheme-sounds-git (requires inkscape) (make)
- svetovid-lib (requires inkscape) (make)
- svetovid-lib-doc (requires inkscape) (make)
- svg2sif-git (requires inkscape)
- svg2tikz-git (requires inkscape) (optional)
- svglinkify-git (requires inkscape)
- svgtools (requires inkscape) (optional)
- sweet-cursors-hyprcursor-git (requires inkscape) (make)
- sweet-theme-git (requires inkscape) (make)
- texmacs-guile3-git (requires inkscape) (optional)
- textext (requires inkscape)
- textext-git (requires inkscape)
- themix-theme-materia-git (requires inkscape)
- ttf-twemoji-color-git (requires inkscape) (make)
- ttf-twemoji-git (requires inkscape) (make)
- ttfautohint-git (requires inkscape) (make)
- tumbler-folder-thumbnailer (requires inkscape) (optional)
- vinyl (requires inkscape)
- volantes-cursors (requires inkscape) (make)
- volantes-cursors-git (requires inkscape) (make)
- writetex (requires inkscape)
- xcursor-box-cursor (requires inkscape) (make)
- xcursor-cz-hickson (requires inkscape) (make)
- xcursor-cz-viator-hourglass-black (requires inkscape) (make)
- xcursor-cz-viator-hourglass-white (requires inkscape) (make)
- xcursor-cz-viator-ring-black (requires inkscape) (make)
- xcursor-cz-viator-ring-white (requires inkscape) (make)
- xcursor-cz-viator-rotor-black (requires inkscape) (make)
- xcursor-cz-viator-rotor-white (requires inkscape) (make)
- xcursor-cz-viator-windmill-black (requires inkscape) (make)
- xcursor-cz-viator-windmill-white (requires inkscape) (make)
- xcursor-hackneyed-dark (requires inkscape) (make)
- xcursor-hackneyed-light (requires inkscape) (make)
- xcursor-we10xos (requires inkscape) (make)
- xtrkcad-hg (requires inkscape) (make)
- yuyo-gtk-theme-git (requires inkscape) (optional)
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"