Skip to content

Commit

Permalink
media-gfx/inkscape: disable the effects of USE=nls.
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
orlitzky committed Feb 21, 2020
1 parent 0b96412 commit a4603d7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion media-gfx/inkscape/inkscape-1.0_beta2-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -132,13 +132,20 @@ 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
}
Expand Down
9 changes: 8 additions & 1 deletion media-gfx/inkscape/inkscape-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,20 @@ 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
}
Expand Down

0 comments on commit a4603d7

Please sign in to comment.