Cmakefied GTK3 (neither is an option any more) inkscape-1.0_beta1 ebuild, does not contain extensions as of now, since I haven't found a distribution mechanism yet besides the raw devel repository. Reproducible: Always
Created attachment 591904 [details] ebuild for inkscape-1.0beta1
Comment on attachment 591904 [details] ebuild for inkscape-1.0beta1 Updated deps according to http://wiki.inkscape.org/wiki/index.php/Release_notes/1.0 Dropped uniconvertor Added libsoup, double-conversion
Created attachment 591936 [details] ebuild for inkscape-1.0beta1, updated deps [Actually upload updated ebuild this time rather than just comment]
This might be marked a blocker for bug 694800 since all other inkscape in the tree still depend on python2_7
Created attachment 595178 [details] build log I am getting errors, see attachment. emerge -pqv '=media-gfx/inkscape-1.0_beta1::testing' [ebuild N ] media-gfx/inkscape-1.0_beta1 USE="cdr exif imagemagick jpeg lcms openmp spell -dbus -dia -gnome -graphicsmagick -inkjar -jemalloc -nls -postscript -static-libs -svg2 -visio -wpg" PYTHON_TARGETS="python3_6"
Created attachment 595180 [details] emerge --info
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c54596c57dbf28c6338e16fc9c2273f0600fa47a commit c54596c57dbf28c6338e16fc9c2273f0600fa47a Author: Miroslav Šulc <fordfrog@gentoo.org> AuthorDate: 2019-11-06 21:07:18 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2019-11-06 21:07:37 +0000 media-gfx/inkscape-1.0_beta1: bump (bug #696794) dropped arm due to missing arm on dev-libs/gdl:3 Bug: https://bugs.gentoo.org/696794 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> media-gfx/inkscape/Manifest | 1 + .../inkscape-1.0_beta1-detect-imagemagick.patch | 13 ++ .../inkscape-1.0_beta1-do-not-compress-man.patch | 13 ++ media-gfx/inkscape/inkscape-1.0_beta1.ebuild | 168 +++++++++++++++++++++ media-gfx/inkscape/metadata.xml | 1 + 5 files changed, 196 insertions(+)
@AE: thanks for the initial ebuild! i've updated and fixed the ebuild that is attached to this bug and committed it to the main tree. please report back any issues with the ebuild. issues with inkscape should be reported to inkscape.org. keeping this bug open until we have a version that could go stable.
Created attachment 595204 [details] build log
Created attachment 595206 [details] emerge --info
>>> Install media-gfx/inkscape-1.0_beta1 into /var/tmp/portage/media-gfx/inkscape-1.0_beta1/image find: ‘/var/tmp/portage/media-gfx/inkscape-1.0_beta1/image/usr/share/inkscape/extensions’: No such file or directory Can't list '/var/tmp/portage/media-gfx/inkscape-1.0_beta1/image/usr/share/inkscape/extensions' Can't list '/var/tmp/portage/media-gfx/inkscape-1.0_beta1/image/usr/share/inkscape/extensions' Can't list '/var/tmp/portage/media-gfx/inkscape-1.0_beta1/image/usr/share/inkscape/extensions' >>> Working in BUILD_DIR: "/var/tmp/portage/media-gfx/inkscape-1.0_beta1/work/inkscape-1.0_beta1_build" ^M[0/6] Generating inkscape-version.cpp^M[1/6] Generating inkscape-version.cpp revision is fe3e306978, 2019-09-17 ^M[1/2] Install the project... -- Install configuration: "Gentoo" -- Installing: /var/tmp/portage/media-gfx/inkscape-1.0_beta1/image/usr/share/inkscape/doc/AUTHORS -- Installing: /var/tmp/portage/media-gfx/inkscape-1.0_beta1/image/usr/share/inkscape/doc/TRANSLATORS CMake Error at cmake_install.cmake:48 (file): file INSTALL cannot find "/var/tmp/portage/media-gfx/inkscape-1.0_beta1/work/inkscape-1.0_beta1_build/org.inkscape.Inkscape.desktop". FAILED: CMakeFiles/install.util cd /var/tmp/portage/media-gfx/inkscape-1.0_beta1/work/inkscape-1.0_beta1_build && /usr/bin/cmake -P cmake_install.cmake ninja: build stopped: subcommand failed.
Is it correct that the ebuild with USE=-imagemagick forces me to enable USE=graphicsmagick but it doesn't depend on it and moreover inkscape-1.0_beta1-detect-imagemagick.patch disables graphicsmagick support in any case?
(In reply to Tomasz Golinski from comment #12) > Is it correct that the ebuild with USE=-imagemagick forces me to enable > USE=graphicsmagick but it doesn't depend on it and moreover > inkscape-1.0_beta1-detect-imagemagick.patch disables graphicsmagick support > in any case? maybe it could be possible to build inkscape without support for any of these. you are right that the dependency is missing. for me this works as follows: [ebuild R ] media-gfx/inkscape-1.0_beta1::gentoo USE="cdr dbus dia exif graphicsmagick inkjar jpeg lcms nls openmp postscript spell svg2 visio -gnome -imagemagick -jemalloc -static-libs -wpg" PYTHON_SINGLE_TARGET="python3_6 -python3_5" PYTHON_TARGETS="python3_5 python3_6" 30 368 KiB ... -- Checking for module 'GraphicsMagick++' -- Found GraphicsMagick++, version 1.3.33 ... ------------------------------------------------------------------------ Configuration Summary ------------------------------------------------------------------------ PROJECT_NAME: inkscape INKSCAPE_VERSION: 1.0beta1 INKSCAPE_DIST_PREFIX: inkscape-1.0beta1 INKSCAPE_CPACK_PREFIX: inkscape-1.0beta1__ CMAKE_BINARY_DIR: /var/tmp/portage/media-gfx/inkscape-1.0_beta1/work/inkscape-1.0_beta1_build CMAKE_INSTALL_PREFIX: /usr CMAKE_INSTALL_LIBDIR: lib64 PACKAGE_LOCALE_DIR share/locale CMAKE_SYSTEM_NAME: Linux CMAKE_SYSTEM_VERSION: 5.3.8-gentoo CMAKE_SYSTEM_PROCESSOR: x86_64 CMAKE_C_COMPILER: /usr/bin/x86_64-pc-linux-gnu-gcc CMAKE_CXX_COMPILER: /usr/bin/x86_64-pc-linux-gnu-g++ CMAKE_BUILD_TYPE: Gentoo ENABLE_LCMS: ON ENABLE_POPPLER: ON ENABLE_POPPLER_CAIRO: ON GMOCK_PRESENT: ON WITH_DBUS: ON WITH_GTKSPELL: ON WITH_IMAGE_MAGICK: OFF WITH_GRAPHICS_MAGICK: ON WITH_LIBCDR: ON WITH_LIBVISIO: ON WITH_LIBWPG: OFF WITH_NLS: ON WITH_OPENMP: ON WITH_PROFILING: OFF WITH_JEMALLOC: OFF ------------------------------------------------------------------------
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd7400e52f9798aca7296e6b850f5ee323f71a0f commit dd7400e52f9798aca7296e6b850f5ee323f71a0f Author: Miroslav Šulc <fordfrog@gentoo.org> AuthorDate: 2019-11-07 09:56:59 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2019-11-07 09:57:15 +0000 media-gfx/inkscape-1.0_beta1: fixes 1) fixed REQUIRED_USE 2) added missing dependency (graphicsmagick) Bug: https://bugs.gentoo.org/696794 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> media-gfx/inkscape/inkscape-1.0_beta1.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Is it really true, that this new version really needs <media-gfx/imagemagick-7 ?
(In reply to Helmut Jarausch from comment #15) > Is it really true, that this new version really needs > <media-gfx/imagemagick-7 ? yes, i tested that and it failed with mattesomething... but you can give it a try yourself: emerge -1 --nodeps =imagemagick-7* (if you do not have it installed yet) USE="imagemagick" emerge -1 --nodeps =inkscape-1* (if you have all needed deps already installed) maybe you (or somebody else) could come up with inkscape patch for imagemagick-7 if the changes are not huge. i solved <imagemagick-7 dependency for myself by USE="-imagemagick graphicsmagick".
the bug with (In reply to Helmut Jarausch from comment #15) > Is it really true, that this new version really needs > <media-gfx/imagemagick-7 ? the bug with imagemagick-7 is bug #663468 iirc. and if you wanna try to compile inkscape with imagemagick-7*, there is one more thing that you have to do. media-gfx/inkscape/files/inkscape-1.0_beta1-detect-imagemagick.patch has to be modified to allow higher versions of imagemagick, for example: + pkg_check_modules(MAGICK Magick++<=7.1) otherwise inkscape will ignore the installed imagemagick.
Is there any reason, why the ebuild does not support python-3.7? I think upstream now ships with python-3.7, so that should work. Maybe I'll have a look at the ImageMagick thing to provide an updated patch.
(In reply to Ingo Brunberg from comment #18) > Is there any reason, why the ebuild does not support python-3.7? I think > upstream now ships with python-3.7, so that should work. > > Maybe I'll have a look at the ImageMagick thing to provide an updated patch. I would be glad if I could install it at all. Presently still suffering from the extensions problem in #c9 - #c11
(In reply to charles17 from comment #19) > (In reply to Ingo Brunberg from comment #18) > > Is there any reason, why the ebuild does not support python-3.7? I think > > upstream now ships with python-3.7, so that should work. > > > > Maybe I'll have a look at the ImageMagick thing to provide an updated patch. > > I would be glad if I could install it at all. Presently still suffering > from the extensions problem in #c9 - #c11 it's weird it does not fail for me. do you have some debug variable in your make.conf or something like that that could cause it to fail instead of silently passing it?
(In reply to Ingo Brunberg from comment #18) > Is there any reason, why the ebuild does not support python-3.7? I think > upstream now ships with python-3.7, so that should work. > > Maybe I'll have a look at the ImageMagick thing to provide an updated patch. probably the only reason is that media-gfx/scour does not have python_targets_python3_7 use flag.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9de3532d41e84af2920e3a9997f41d94776f774 commit f9de3532d41e84af2920e3a9997f41d94776f774 Author: Miroslav Šulc <fordfrog@gentoo.org> AuthorDate: 2019-11-07 13:46:45 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2019-11-07 13:47:02 +0000 media-gfx/inkscape-1.0_beta1: enabled python3_7 Bug: https://bugs.gentoo.org/696794 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> media-gfx/inkscape/inkscape-1.0_beta1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
I have filed bug #699532 to address the problem with scour.
(In reply to Miroslav Šulc from comment #20) > [...] > it's weird it does not fail for me. do you have some debug variable in your > make.conf or something like that that could cause it to fail instead of > silently passing it? Nothing such in make.conf but I am blocking python_targets_python2_7 in /etc/portage/profile/use.mask and I have gcc:9.2.0 Is it normal to have this directory structure in work directory? /var/tmp/portage/media-gfx/inkscape-1.0_beta1/work/ ├── inkscape-1.0beta1 └── inkscape-1.0_beta1_build
(In reply to charles17 from comment #24) > (In reply to Miroslav Šulc from comment #20) > > [...] > > it's weird it does not fail for me. do you have some debug variable in your > > make.conf or something like that that could cause it to fail instead of > > silently passing it? > > Nothing such in make.conf but I am blocking python_targets_python2_7 in > /etc/portage/profile/use.mask and I have gcc:9.2.0 > > Is it normal to have this directory structure in work directory? > > /var/tmp/portage/media-gfx/inkscape-1.0_beta1/work/ > ├── inkscape-1.0beta1 > └── inkscape-1.0_beta1_build this is what is in my build.log: ... [1/2] Install the project... -- Install configuration: "Gentoo" -- Installing: /var/tmp/portage/media-gfx/inkscape-1.0_beta1/image/usr/share/inkscape/doc/AUTHORS -- Installing: /var/tmp/portage/media-gfx/inkscape-1.0_beta1/image/usr/share/inkscape/doc/TRANSLATORS -- Installing: /var/tmp/portage/media-gfx/inkscape-1.0_beta1/image/usr/share/applications/org.inkscape.Inkscape.desktop -- Installing: /var/tmp/portage/media-gfx/inkscape-1.0_beta1/image/usr/share/metainfo/org.inkscape.Inkscape.appdata.xml -- Installing: /var/tmp/portage/media-gfx/inkscape-1.0_beta1/image/usr/share/doc/inkscape-1.0_beta1/copyright -- Installing: /var/tmp/portage/media-gfx/inkscape-1.0_beta1/image/usr/bin/inkscape ... does the file /var/tmp/portage/media-gfx/inkscape-1.0_beta1/work/inkscape-1.0_beta1_build/org.inkscape.Inkscape.desktop exist on your system? wrt directory structure, inkscape-1.0beta1 are the sources and inkscape-1.0_beta1_build is for building.
(In reply to Miroslav Šulc from comment #25) > [...] > does the file > /var/tmp/portage/media-gfx/inkscape-1.0_beta1/work/inkscape-1.0_beta1_build/ > org.inkscape.Inkscape.desktop exist on your system? > > wrt directory structure, inkscape-1.0beta1 are the sources and > inkscape-1.0_beta1_build is for building. What I have in image is only: /var/tmp/portage/media-gfx/inkscape-1.0_beta1/image/ └── usr └── share ├── applications ├── doc │ └── inkscape-1.0_beta1 │ ├── AUTHORS │ └── README.md └── inkscape └── doc ├── AUTHORS └── TRANSLATORS and /var/tmp/portage/media-gfx/inkscape-1.0_beta1/work/inkscape-1.0_beta1_build/ ├── bin ├── build.ninja ├── CMakeCache.txt ├── CMakeFiles ├── cmake_install.cmake ├── CMakeScripts ├── cmake_uninstall.cmake ├── CPackConfig.cmake ├── CPackSourceConfig.cmake ├── gentoo_common_config.cmake ├── gentoo_rules.cmake ├── gentoo_toolchain.cmake ├── include ├── lib64 ├── man ├── rules.ninja ├── share └── src there is no .desktop
(In reply to charles17 from comment #26) > (In reply to Miroslav Šulc from comment #25) > > [...] > > does the file > > /var/tmp/portage/media-gfx/inkscape-1.0_beta1/work/inkscape-1.0_beta1_build/ > > org.inkscape.Inkscape.desktop exist on your system? > > > > wrt directory structure, inkscape-1.0beta1 are the sources and > > inkscape-1.0_beta1_build is for building. > > > What I have in image is only: > > /var/tmp/portage/media-gfx/inkscape-1.0_beta1/image/ > └── usr > └── share > ├── applications > ├── doc > │ └── inkscape-1.0_beta1 > │ ├── AUTHORS > │ └── README.md > └── inkscape > └── doc > ├── AUTHORS > └── TRANSLATORS > > > and > > /var/tmp/portage/media-gfx/inkscape-1.0_beta1/work/inkscape-1.0_beta1_build/ > ├── bin > ├── build.ninja > ├── CMakeCache.txt > ├── CMakeFiles > ├── cmake_install.cmake > ├── CMakeScripts > ├── cmake_uninstall.cmake > ├── CPackConfig.cmake > ├── CPackSourceConfig.cmake > ├── gentoo_common_config.cmake > ├── gentoo_rules.cmake > ├── gentoo_toolchain.cmake > ├── include > ├── lib64 > ├── man > ├── rules.ninja > ├── share > └── src > > there is no .desktop i tried your use flags and it really does not generate the desktop file. i suppose this is the cmake file that takes care of generating it: inkscape-1.0beta1/CMakeScripts/inkscape-desktop.cmake. but with the setup you have, it's not generated. i suppose it is an upstream bug to not generate the file and then try to copy it.
@charles17: i enabled nls use flag in your setup and inkscape emerged fine.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f6bfc2b4f44aca16ac86201f0df82bf3599cffe commit 6f6bfc2b4f44aca16ac86201f0df82bf3599cffe Author: Miroslav Šulc <fordfrog@gentoo.org> AuthorDate: 2019-11-07 15:54:37 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2019-11-07 15:54:52 +0000 media-gfx/inkscape-1.0_beta1: improved extensions check Bug: https://bugs.gentoo.org/696794 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> media-gfx/inkscape/inkscape-1.0_beta1.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
(In reply to Miroslav Šulc from comment #28) > @charles17: i enabled nls use flag in your setup and inkscape emerged fine. I confirm: Now it works for me. Thank you for fast solution.
(In reply to charles17 from comment #30) > (In reply to Miroslav Šulc from comment #28) > > @charles17: i enabled nls use flag in your setup and inkscape emerged fine. > > I confirm: Now it works for me. Thank you for fast solution. But the there is no menu entry in fluxbox panel for inkscape.
(In reply to charles17 from comment #31) > (In reply to charles17 from comment #30) > > (In reply to Miroslav Šulc from comment #28) > > > @charles17: i enabled nls use flag in your setup and inkscape emerged fine. > > > > I confirm: Now it works for me. Thank you for fast solution. > > But the there is no menu entry in fluxbox panel for inkscape. Please forget, it works. Sorry for wrong post!!
FYI beta2 has been release on 2019-12-01
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f7e9907cbdc7b5b2a620ed93b092693de1cf43c commit 8f7e9907cbdc7b5b2a620ed93b092693de1cf43c Author: Miroslav Šulc <fordfrog@gentoo.org> AuthorDate: 2019-12-11 09:20:34 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2019-12-11 09:20:48 +0000 media-gfx/inkscape-1.0_beta2: bump removed patches that are already applied by upstream Bug: https://bugs.gentoo.org/696794 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> media-gfx/inkscape/Manifest | 2 +- ....0_beta1-avoid-reordering-cmake-cxx-flags.patch | 130 --------------------- .../files/inkscape-1.0_beta1-poppler-0.82.patch | 70 ----------- ...-1.0_beta1.ebuild => inkscape-1.0_beta2.ebuild} | 12 +- 4 files changed, 6 insertions(+), 208 deletions(-)
I guess this can be closed.