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 (167)

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

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

bartus commented on 2018-11-18 13:05 (UTC) (edited on 2018-11-18 13:05 (UTC) by bartus)

Ok, I pushed second ver string - it's closest to inkscape --version and doesn't need extra deps to calculate.

bartus commented on 2018-11-17 11:44 (UTC) (edited on 2018-11-17 11:57 (UTC) by bartus)

According to Inkscape versioning convention, for main/master branches you have:

INKSCAPE_VERSION:        0.92+devel
INKSCAPE_DIST_PREFIX:    inkscape-0.92+devel
INKSCAPE_CPACK_PREFIX:   inkscape-0.92+devel_2018-11-16_e1eae41f45

for 0.92.x branche there is:

INKSCAPE_VERSION:        0.92.3
INKSCAPE_DIST_PREFIX:    inkscape-0.92.3

We can either pop versin minor: 0.93.r3569.ge1eae41f45

or add devel suffix: 0.92.devel.r3569.ge1eae41f45

or pop patch version: 0.92.4.r3569.ge1eae41f45

For me, last one looks okish, but revision counter is somewhat arbitrary as it counts commits from the last tag in master branch...

printf %s.%s.%s.r%s.g%s $(git show remotes/origin/0.92.x:CMakeLists.txt|grep -oP -e "INKSCAPE_VERSION_(MAJOR|MINOR|PATCH) +\K[0-9]+"|awk 'NR==3{print ++$1};NR!=3{print}') $(git rev-list $(git describe --tag --abbrev=0)..HEAD --count) $(git log --pretty=format:'%h' -n 1);

0.92.4.r3569.ge1eae41f45

first two are more hacky, but also good.

printf %s.%s.r%s.g%s $(grep -oP -e "INKSCAPE_VERSION_(MAJOR|MINOR) +\K[0-9]+" CMakeLists.txt|awk 'NR==2{print ++$1};NR!=2{print}') $(git rev-list $(git describe --tag --abbrev=0)..HEAD --count) $(git log --pretty=format:'%h' -n 1)

0.93.r3569.ge1eae41f45

printf %s.%s+devel.r%s.g%s $(grep -oP -e "INKSCAPE_VERSION_(MAJOR|MINOR) +\K[0-9]+" CMakeLists.txt) $(git rev-list $(git describe --tag --abbrev=0)..HEAD --count) $(git log --pretty=format:'%h' -n 1)

0.92+devel.r3569.ge1eae41f45

haawda commented on 2018-11-17 09:54 (UTC) (edited on 2018-11-17 10:21 (UTC) by haawda)

I think this would need an epoch, too. I made you a co-maintainer.

But I do not like 0.92.pre1.r3569.ge1eae41f45. This is not a pre release of 0.92 but for the upcoming version.

bartus commented on 2018-11-16 19:24 (UTC)

@haawad: Could we also have accurate pkgver ? my proposition:

 git describe --long --tags | sed 's/^INKSCAPE_//;s/\([^-]*-g\)/r\1/;s/[-_]/./g;s/\(.*\)/\L\1/'

witch produces: 0.92.pre1.r3569.ge1eae41f45

haawda commented on 2018-11-14 21:06 (UTC)

!makeflags dropped

bartus commented on 2018-11-14 15:54 (UTC) (edited on 2018-11-14 15:54 (UTC) by bartus)

@haawda: can you drop !makeflags from options - single-threaded build took ages ;/

haawda commented on 2018-11-09 05:47 (UTC)

thanks, applied, but I had to turn off dbus support.

z3ntu commented on 2018-11-08 20:29 (UTC)

diff --git a/PKGBUILD b/PKGBUILD
index bb25b9b..2ae6c2c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -31,13 +31,9 @@ pkgver() {

 prepare() {
   cd "$_gitname"
-  sed -i 's|"python"|"python2"|g' src/main.cpp
   find share -type f -name "*.py" -exec \
-       sed -i '1s|/usr/bin/env python\>|/usr/bin/env python2|g' {} \;
-  sed -i '1s|/usr/bin/env python3\>|/usr/bin/env python2|g' CMakeScripts/cmake_consistency_check.py
+       sed -i '1s|/usr/bin/env python$|/usr/bin/env python2|g' {} \;
   sed -i 's|"python" },|"python2" },|g' src/extension/implementation/script.cpp
-  sed -i 's|"python"|"python2"|g' src/main.cpp
-  sed -i -e 's|GBool|bool|g' -e 's|gTrue|true|g' -e 's|gFalse|false|g' src/extension/internal/pdfinput/pdf-parser.{h,cpp}
 }

 build() {

This patch should get rid of outdated replacements (e.g. poppler patch is upstream, don't switch python3 scripts to python2)

bartus commented on 2018-11-04 21:57 (UTC) (edited on 2018-11-04 22:44 (UTC) by bartus)

poppler=0.71.0 introduces some naming scheme changes, need a patch or sed substitution.

sed -i -e 's|GBool|bool|g' -e 's|gTrue|true|g' -e 's|gFalse|false|g' src/extension/internal/pdfinput/pdf-parser.{h,cpp}

ooo commented on 2018-09-11 23:56 (UTC) (edited on 2018-09-11 23:58 (UTC) by ooo)

Build fails on prepare:

==> Starting prepare()...
sed: can't read share/*/test/*.py: No such file or directory
==> ERROR: A failure occurred in prepare().
Aborting...

If you comment out the sed line, build finishes succesfully. Although there's also a warning about reference to $srcdir:

==> WARNING: Package contains reference to $srcdir
usr/lib/inkscape/libinkscape_base.so