Package Details: inkscape-git 5:1.1.alpha.r960.g4df970686a-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: 5
Popularity: 0.000000
First Submitted: 2017-06-10 19:46 (UTC)
Last Updated: 2021-11-25 09:00 (UTC)

Required by (166)

Sources (3)

Pinned Comments

bartus commented on 2022-03-14 10:34 (UTC)

Sorry lads, I'm at the Polish Ukraine border helping allocate refugees. Expect no update until this hell is over, wish us luck. Have no time nor access to my rig and AUR keys to test/post updates. If you have a patch, ping me on email - I'll add you as co-maintainer. Posted with my old script - https://github.com/bartoszek/aur-post

Latest Comments

bartus commented on 2022-03-14 10:34 (UTC)

Sorry lads, I'm at the Polish Ukraine border helping allocate refugees. Expect no update until this hell is over, wish us luck. Have no time nor access to my rig and AUR keys to test/post updates. If you have a patch, ping me on email - I'll add you as co-maintainer. Posted with my old script - https://github.com/bartoszek/aur-post

haawda commented on 2022-03-03 11:38 (UTC)

Again needs a poopler patch, see PKGBUILD of repo-package.

archisman commented on 2022-01-31 04:07 (UTC)

Please add python-cssselect to the dependencies (or, to optdepends), as some extensions do not work without it. https://gitlab.com/inkscape/inkscape/-/issues/2886

desaparecido commented on 2021-11-17 09:56 (UTC)

thanks for this package, now is needed to comment all about poppler 21.11 patch, is now merged in master and all build fine like that. My system is with testing repo enable

rutkowski.adrian commented on 2021-08-08 11:43 (UTC)

Hi, I have trouble comping latest Inkscape git snapshot, basically the error is mising glibmm headers, which I of course have installed (glibmm-2.66.1-2-x86_64 AND glibmm-2.68-2.68.1-2-x86_64).

compilation output is here: https://justpaste.it/6nlyf

also: pkg-config --cflags --libs glibmm-2.4 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -lglibmm-2.4 -lgobject-2.0 -lglib-2.0 -lsigc-2.0

haawda commented on 2021-07-03 09:29 (UTC)

I think we need thiss patch to build, which did not yet make it into master

https://gitlab.com/arkamar/inkscape/-/commit/72a0d5585d4fd592e398c943f4dd290ff621c7f5

haawda commented on 2021-01-28 15:15 (UTC)

According to the rebuild-detector script another file should be added to the package.

ldd /usr/lib/inkscape/libinkscape_base.so

        lib2geom.so.1.1.0 => not found

ldd /usr/bin/inkscape

        lib2geom.so.1.1.0 => not found

ldd /usr/bin/inkview

        lib2geom.so.1.1.0 => not found

This file is built from in the thirdparty subdir and can be added using

 install -Dm644 lib/lib2geom.so.1.1.0 "$pkgdir"/usr/lib/inkscape/lib2geom.so.1.1.0
}

haawda commented on 2021-01-17 15:19 (UTC)

Th version number now is no longer monotonously increasing. I get

1.1+devel.r0.g65d249ff00

now. This can be most easily solved by an epoch bump.

haawda commented on 2020-10-27 15:14 (UTC)

Needs explicitely set C-Compiler now.

build() {
  cd "$_gitname"
  [[ -d build ]] || mkdir build
  cd build
  export PKG_CONFIG_PATH="/usr/lib/imagemagick6/pkgconfig"
  export CXXFLAGS="${CXXFLAGS} -fpermissive"
  cmake .. \
    -DCMAKE_C_COMPILER=gcc \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=RELEASE 
  make 
}

ppenguin commented on 2020-08-04 21:14 (UTC)

@bartus

Could the dependency libmagick6 be changed to libmagic6 | imagemagick6 | imagemagick7?

libmagick6 makes digikam linking fail, because it is seen before imagemagick7. I could build inkscape-git sucessfully after removing libmagick6 (and the depend in the PKGBUILD) with imagemagick7 installed.

Cheers, ppenguin

spider-mario commented on 2020-05-12 16:29 (UTC)

The PKGBUILD is now missing a prepare() function with a git submodule update --init.

linkmauve commented on 2020-05-11 12:48 (UTC)

Hi, Inkscape doesn’t depend on gtkspell3 anymore, it switched to gspell.

bartus commented on 2020-05-05 11:38 (UTC) (edited on 2020-05-05 11:40 (UTC) by bartus)

@Iviggiani

maybe something went wrong during acroread removal or installation

There's no such thing as something went wrong :) Pacman can't remove files needed for other packages. You just need to rebuild inkscape after libpopplr=99 update from 4 days ago

For the future, try rebuild-detector it will notify you during pacman -Suy about any AUR packages that requires a rebuild because it dependency got updated.

lviggiani commented on 2020-05-05 07:11 (UTC)

Hi, I'm getting this message since yesterday when trying to run inkscape:

inkscape: error while loading shared libraries: libpoppler.so.98: cannot open shared object file: No such file or directory

In the mean time I had installed and then removed "acroread" packages. AFAIK sience libpoppler has to do with XML rendering, maybe something went wrong during acroread removal or installation?

Soptik commented on 2020-04-27 10:45 (UTC)

Hi, what about adding -j 8 or something like that to that make command in build()? Are there any disadvantages of doing so? Doing it might speed up compilation a lot. I didn't time it but it feels faster when I'm compiling.

commented on 2020-01-18 18:56 (UTC)

@haawda : Ok, thanks. Wait and see then...

haawda commented on 2020-01-18 15:27 (UTC)

bitsandnumbers: Thanks for the report. I think this should be fixed upstream.

commented on 2020-01-14 22:41 (UTC)

EPS files are not opening when building this. Bug filed here : https://gitlab.com/inkscape/inbox/issues/860

Maybe something to do on your end @haawda ?

bartus commented on 2019-08-01 16:55 (UTC) (edited on 2019-08-01 16:57 (UTC) by bartus)

Yep, you will need to add -D default_library=both to arch-meson and options=(staticlibs) to pango PKGBUILD for this. Than move pango form deps to makedeps and force static linking to prevent conflict with system wide pango=144 ...

I've tried this, but thought quick patch would be simpler for common user to handle

haawda commented on 2019-08-01 15:38 (UTC)

Thanks, I was not even aware of the problem. And well, lilypond suffers of the same.

If upstream has no quick fix, someone should consider to provide a package pango143, which should be installable alongside pango.

bartus commented on 2019-08-01 12:36 (UTC) (edited on 2019-08-01 14:45 (UTC) by bartus)

@haawada: I've noticed, inkscape won't build against pango=1.44. I've made a hacky patch to resolve the issue...

bradst commented on 2019-06-01 11:47 (UTC)

Per http://wiki.inkscape.org/wiki/index.php/Release_notes/1.0:

"Inkscape now uses a git submodule for the extensions directory. If you have cloned the repository and are not building from the release source code tarball, please note the updated build instructions"

Currently the submodule is uninitialized. Adding this line to prepare() should fix it:

git submodule update --init --recursive

haawda commented on 2019-04-28 15:43 (UTC)

Applied, thanks.

lonaowna commented on 2019-04-28 14:22 (UTC) (edited on 2019-04-28 14:23 (UTC) by lonaowna)

Hi, can you please make these changes?

Update the url field (Launchpad is no longer used):

url="https://gitlab.com/inkscape/inkscape"

Change the python2 dependencies to python, since "Inkscape's stock extensions have been moved to their own repository and were updated for compatibility with Python 3".

Depau commented on 2019-04-19 23:38 (UTC)

@lugao feel free to add it to the AUR anyway

haawda commented on 2019-04-19 15:26 (UTC)

I do not think that shallow clones are a good idea at all. I will not incorporate your change. Feel free to keep your package in AUR.

lugao commented on 2019-04-19 12:30 (UTC) (edited on 2019-04-19 12:31 (UTC) by lugao)

I created a derived package called inkscape-shallow-git to only shallow clone the inkscape repository. The full clone downloads about 1.6 GiB and the shallow clone about 27.72 MiB.

@haawad: Do you think you could integrate it into your package? Thanks!

friday13 commented on 2019-02-13 09:09 (UTC)

(inkscape:1259): Gtk-WARNING **: 12:09:23.554: Unable to locate theme engine in module_path: "adwaita",

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

haawda commented on 2018-06-11 19:56 (UTC)

done

linkmauve commented on 2018-06-10 23:09 (UTC)

Hi, the WITH_GNOME_VFS option has been removed in commit 5433ac0513099a4a12caba0cda8a2a9d30e13a22, please remove it from the build() function.

z3ntu commented on 2018-05-12 21:46 (UTC)

libmagick6 is a runtime dependency otherwise you get "inkscape: error while loading shared libraries: libMagick++-6.Q16HDRI.so.8: cannot open shared object file: No such file or directory"

bm456 commented on 2018-01-30 17:41 (UTC)

it has a build error

this will fix it https://p.teknik.io/OtxSe

z3ntu commented on 2018-01-14 17:54 (UTC)

@haawda: pkgver bumping is exactly what the pkgver() function is used for. (in reply to your answer to @sl1pkn07)

archboy commented on 2018-01-03 11:06 (UTC)

GCC 8 bug: https://www.mail-archive.com/gcc-bugs@gcc.gnu.org/msg552768.html

In file included from /usr/include/glibmm-2.4/glibmm.h:90, from /opt/aur/inkscape-git/src/inkscape.git/src/libdepixelize/kopftracer2011.cpp:29: /usr/include/glibmm-2.4/glibmm/threads.h: In member function 'GPrivate Glib::Threads::Private<t>::gobj()': /usr/include/glibmm-2.4/glibmm/threads.h:660:29: error: cannot convert 'GPrivate' {aka '_GPrivate'} to 'GPrivate</t>' {aka 'GPrivate'} in return GPrivate gobj() { return gobject; } ^~~~~~~~ make[2]: [src/libdepixelize/CMakeFiles/depixelize_LIB.dir/build.make:63: src/libdepixelize/CMakeFiles/depixelize_LIB.dir/kopftracer2011.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:1311: src/libdepixelize/CMakeFiles/depixelize_LIB.dir/all] Error 2 make: *** [Makefile:141: all] Error 2

bm456 commented on 2017-12-13 17:38 (UTC)

please add this before run configure (at build)

export PKG_CONFIG_PATH="/usr/lib/imagemagick6/pkgconfig"

source https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/inkscape

bm456 commented on 2017-11-22 16:11 (UTC)

pleasee make it use python2 (without it you cant import eps) https://p.teknik.io/Radmv

haawda commented on 2017-08-14 20:31 (UTC)

sl1pkn07: it is not forbidden and it suits my workflow.

haawda commented on 2017-08-14 20:29 (UTC)

Fixed in pkgrel -2

midgard commented on 2017-08-13 13:28 (UTC)

There's an unquoted $pkgdir on line 55 of the PKGBUILD.

sl1pkn07 commented on 2017-08-13 07:22 (UTC)

Hi why update the pkgbuild in every upstream commit? greetings

haawda commented on 2017-08-03 21:18 (UTC)

There was a poppler update, rebuild inkscape.

lviggiani commented on 2017-08-03 14:05 (UTC)

Since yesterday I get inkscape: error while loading shared libraries: libpoppler.so.67: cannot open shared object file: No such file or directory

ngoonee commented on 2017-07-11 22:06 (UTC)

Doesn't seem to allow import of eps, I get a ps2pdf.ext exception when I try that.

haawda commented on 2017-02-17 17:53 (UTC)

http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk is not in my PKGBUILD. What is the problem? http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/ with the slash at the end does not get redirected.

lazyboy commented on 2017-02-16 17:07 (UTC)

http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk is permanently redirected to http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/changes

colinkeenan commented on 2017-01-26 02:43 (UTC)

Missing make dependency: popt

colinkeenan commented on 2017-01-26 01:15 (UTC)

. . . ==> Installing missing dependencies... error: target not found: gnome-vfs ==> ERROR: 'pacman' failed to install missing dependencies. . . . gnome-vfs isn't available anymore

haawda commented on 2016-12-29 21:08 (UTC) (edited on 2017-08-14 20:18 (UTC) by haawda)

bzr is not compatible with python2 2.7.13. Downgrade python to build this. Edit: this comment was for the now merged-in inkscape-bzr package. No relevance anymore.

colinkeenan commented on 2016-09-14 19:53 (UTC)

Thanks for putting this back. (See comments on https://aur.archlinux.org/packages/inkscape-092-bzr/)