Package Details: svg2tikz-git 3.2.1.r555.20240924.89d1721-2

Git Clone URL: https://aur.archlinux.org/svg2tikz-git.git (read-only, click to copy)
Package Base: svg2tikz-git
Description: Set of tools for converting SVG graphics to TikZ/PGF code.
Upstream URL: http://xyz2tex.github.io/svg2tikz/
Licenses: GPL-2.0-or-later
Conflicts: inkscape-tikz, python-svg2tikz, svg2tikz, svg2tikz-doc
Provides: inkscape-tikz, python-svg2tikz, svg2tikz, svg2tikz-doc
Replaces: inkscape-tikz-hg
Submitter: haawda
Maintainer: dreieck
Last Packager: dreieck
Votes: 17
Popularity: 0.000000
First Submitted: 2014-08-23 13:27 (UTC)
Last Updated: 2024-12-14 12:29 (UTC)

Latest Comments

1 2 3 4 Next › Last »

dreieck commented on 2024-12-14 12:30 (UTC)

Ahoj @carlosal1015,

after add these as makedependency compiles fine.

thanks for notifying. I added those to makedepends.

carlosal1015 commented on 2024-12-13 23:29 (UTC)

Hi @dreieck, - texlive-binextra contains latexmk, - texlive-latexrecommended contains cmap.sty, - texlive-fontsrecommended contains tgtermes.sty - texlive-latexextra contains fncychap.sty

after add these as makedependency compiles fine.

==> Making package: svg2tikz-git 3.2.1.r555.20240924.89d1721-1 (Fri Dec 13 18:13:20 2024)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Starting build()...
* Getting build dependencies for wheel...
* Building wheel...
Successfully built svg2tikz-3.2.0-py3-none-any.whl
sphinx-build -b latex -d _build/doctrees   . _build/latex
Running Sphinx v8.1.3
loading translations [en]... done
making output directory... done
WARNING: html_static_path entry '_static' does not exist
building [mo]: targets for 0 po files that are out of date
writing output... 
building [latex]: all documents
updating environment: [new config] 7 added, 0 changed, 0 removed
reading sources... [100%] moduleguide
/tmp/makepkg/svg2tikz-git/src/svg2tikz/docs/cmdlineguide.rst:6: ERROR: Failed to import "return_arg_parser_doc" from "svg2tikz.tikz_export".
No module named 'svg2tikz' [docutils]
WARNING: autodoc: failed to import function 'convert_file' from module 'svg2tikz'; the following exception was raised:
No module named 'svg2tikz' [autodoc.import_object]
WARNING: autodoc: failed to import function 'convert_svg' from module 'svg2tikz'; the following exception was raised:
No module named 'svg2tikz' [autodoc.import_object]
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets... 
copying TeX support files... Writing evaluated template result to /tmp/makepkg/svg2tikz-git/src/svg2tikz/docs/_build/latex/make.bat
Writing evaluated template result to /tmp/makepkg/svg2tikz-git/src/svg2tikz/docs/_build/latex/latexmkjarc
Writing evaluated template result to /tmp/makepkg/svg2tikz-git/src/svg2tikz/docs/_build/latex/latexmkrc
Writing evaluated template result to /tmp/makepkg/svg2tikz-git/src/svg2tikz/docs/_build/latex/Makefile
done
copying assets: done
processing svg2tikz.tex... 
index
 install
 example
 inkscapeguide
 cmdlineguide
 moduleguide
 contribute

resolving references...
processing svg2tikz.tex: done
writing... done
copying images... [100%] img/articulated_leg_angled.png
Writing evaluated template result to /tmp/makepkg/svg2tikz-git/src/svg2tikz/docs/_build/latex/sphinxmessages.sty
build succeeded, 4 warnings.

The LaTeX files are in _build/latex.
Run 'make' in that directory to run these through (pdf)latex
(use `make latexpdf' here to do that automatically).

Build finished; the LaTeX files are in _build/latex.
Run `make all-pdf' or `make all-ps' in that directory to run these through (pdf)latex.
make: Entering directory '/tmp/makepkg/svg2tikz-git/src/svg2tikz/docs/_build/latex'
latexmk -pdf -dvi- -ps-  'svg2tikz.tex'
make: latexmk: No such file or directory
make: *** [Makefile:29: svg2tikz.pdf] Error 127
make: Leaving directory '/tmp/makepkg/svg2tikz-git/src/svg2tikz/docs/_build/latex'
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: svg2tikz-git-exit status 4
checking dependencies...

dreieck commented on 2024-06-02 21:50 (UTC)

@lamarpaval wrote:

The packages I listed were all thrown at me in tracebacks

↗ Upstream states that only inkex and lxml are direct dependencies.

So maybe missing dependencies should be directed to python-inkex and python-lxml?

Regards!

dreieck commented on 2024-06-02 14:33 (UTC) (edited on 2024-06-02 14:58 (UTC) by dreieck)

Yes, I do have it on python3.11

And if your python version is 3.12 then it won't find inkex.

Is your Python version on 3.12, or 3.11 (python --version)?


The packages I listed were all thrown at me in tracebacks

I have ↗ asked upstream.

AlbertoAru commented on 2024-06-01 20:51 (UTC)

I mean, I removed everything on ~/.cache and updated again. I've just done it again, but I don't know if that's what you mean by rebuilding it.

Yes, I do have it on python3.11: https://pastebin.com/raw/HLSSpPwH

dreieck commented on 2024-05-31 07:48 (UTC) (edited on 2024-05-31 07:48 (UTC) by dreieck)

@AlbertuAru:

I am still having these issues for some reason

With inkex?
Just a guess: have you not re-built it after the latest python update?

Does it have file (pacman -Ql python-inkex) in /usr/lib/python3.11/ or any other python version directory that is not 3.12 (the up to date python version)?

In that case, you need (and do it also with all other packages for which this holds true) to rebuild it.

lamarpavel commented on 2024-05-31 06:42 (UTC)

But I could not find the string numpy or classpath in any file in the downloaded source directory. How you come that they are needed?, or did you list them just as examples?

The packages I listed were all thrown at me in tracebacks like the one I posted for lxml. I tried building the package in a clean chroot (using aurutils) with nothing installed except base-devel and the dependencies explicitly named in the PKGBUILD.

Every package ever imported by any file needs to be in the dependencies, but as you said there is no mention of numpy in the python code itself. It appears that "poetry" is a dependency management system for python (yet another one...) and while I have never seen it before, looking at poetry.lock that looks like a list of packages that are required.

I gave up manually adding all the names I encountered in the traceback to the checkdepends and simply removed the check() function in the PKGBUILD. That allowed me to build the package, but it's probably bad practice for a package maintainer to do so.

furthermore pyproject.toml has as overall software version version = "3.0.1", but upstream is already at 3.1.0, so I do not know how up to date the dependency information in pyproject.toml is. Can you enlighten me about it?

Sorry, but I don't really know my way around python build tools either. The documentation of the module at https://xyz2tex.github.io/svg2tikz/install.html is not very helpful to me either. It's an unfortunate reality that many projects in the python world only give instructions on how to install them with pip and disregard package manager agnostic usage.

AlbertoAru commented on 2024-05-30 17:58 (UTC)

I am still having these issues for some reason :\

dreieck commented on 2024-05-30 08:30 (UTC)

Ahoj,

The tests are failing due to missing dependencies:
[…]
If the tests are enabled by default in the PKGBUILD, python-lxml should be in checkdepends. Same for python-cssselect, numpy and whichever other modules are needed.`

Thanks for noticing python-lxml.

I have added it to checkdepends.

But I could not find the string numpy or classpath in any file in the downloaded source directory. How you come that they are needed?, or did you list them just as examples?

poetry.lock contains reference to numpy, but also many, many other packages.

I do not know what that means.

I also added a couple of more python-phinx* packages to makedepends since pyproject.toml lists them under [tool.poetry.group.docs.dependencies]. But build so far has also worked for me without them, so I am not sure; furthermore pyproject.toml has as overall software version version = "3.0.1", but upstream is already at 3.1.0, so I do not know how up to date the dependency information in pyproject.toml is. Can you enlighten me about it?
I do not know how python-own packaging works and what the metadata means. The only packaging format I know about is Arch Linux.

Regards!