The upstream build system is broken with USE=nls at the moment.
Rather than drop the USE flag entirely (which might lead users to
think that it's going away) this commit comments out the resulting
-DWITH_NLS parameter that gets passed to the build system. Thus
"USE=-nls" becomes a lie, but it should begin to work again once the
upstream bug is fixed. There is a highly visible comment in the ebuild
reminding the maintainers to check on the upstream bug periodically.
Bug: https://bugs.gentoo.org/699658
Inkscape-bug: https://gitlab.com/inkscape/inkscape/issues/168
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
-DWITH_GRAPHICS_MAGICK=$(usex graphicsmagick $(usex imagemagick)) # both must be enabled to use GraphicsMagick
-DWITH_JEMALLOC=$(usex jemalloc)
-DENABLE_LCMS=$(usex lcms)
- -DWITH_NLS=$(usex nls)
-DWITH_OPENMP=$(usex openmp)
-DBUILD_SHARED_LIBS=$(usex !static-libs)
-DWITH_SVG2=$(usex svg2)
-DWITH_LIBVISIO=$(usex visio)
-DWITH_LIBWPG=$(usex wpg)
)
+ # We should also have,
+ #
+ # -DWITH_NLS=$(usex nls)
+ #
+ # in this list, but it's broken upstream at the moment:
+ #
+ # * https://bugs.gentoo.org/699658
+ # * https://gitlab.com/inkscape/inkscape/issues/168
cmake_src_configure
}
-DWITH_GRAPHICS_MAGICK=$(usex graphicsmagick $(usex imagemagick)) # both must be enabled to use GraphicsMagick
-DWITH_JEMALLOC=$(usex jemalloc)
-DENABLE_LCMS=$(usex lcms)
- -DWITH_NLS=$(usex nls)
-DWITH_OPENMP=$(usex openmp)
-DBUILD_SHARED_LIBS=$(usex !static-libs)
-DWITH_SVG2=$(usex svg2)
-DWITH_LIBVISIO=$(usex visio)
-DWITH_LIBWPG=$(usex wpg)
)
+ # We should also have,
+ #
+ # -DWITH_NLS=$(usex nls)
+ #
+ # in this list, but it's broken upstream at the moment:
+ #
+ # * https://bugs.gentoo.org/699658
+ # * https://gitlab.com/inkscape/inkscape/issues/168
cmake_src_configure
}