inkscape/fix_install_targets.patch
OBS User mrdocs 9fad6bc6e9 Accepting request 600763 from home:StefanBruens:branches:graphics
- Omit translations from appdata on Leap 42.x/SLE12, merging
  translations in XML requires msgfmt >= 0.19.7
- Update to 0.92.3, a stability and bugfix release
  * new CLI options --export-area-{drawing,page}, --export-margin
  * Text tool, switching between RTL/LTR writing
  * Circle/Ellipse tool, toolbar fields for Rx, Ry radius
  * PDF+LaTeX export, basic linespacing support
  * Preferences option for number of rendering tiles
  * Various bug fixes, for details see:
    https://inkscape.org/en/release/0.92.3/
- Drop obsolete inkscape-poppler058-fix.patch
- Use cmake instead of autoconf
  * Add build_internal_libraries_as_static.patch
  * Add fix_install_targets.patch
- Spec file cleanup
  * Remove conditionals for EOLed distributions
  * Remove ghostscript-fonts-std dependency
  * Add libjpeg build dependency
  * Do not package extension unittests
  * Move all extensions with ghostscript or pstoedit dependency
    to extensions-extra subpackage
- Correct License, original inkscape code is GPL-2.0 or later, but 
  the binary contains code from Gimp (GPL-3.0), see COPYING

OBS-URL: https://build.opensuse.org/request/show/600763
OBS-URL: https://build.opensuse.org/package/show/graphics/inkscape?expand=0&rev=34
2018-04-26 00:34:58 +00:00

26 lines
1005 B
Diff

--- inkscape-0.92.3/CMakeScripts/HelperMacros.cmake_orig 2018-04-24 21:28:19.299976294 +0200
+++ inkscape-0.92.3/CMakeScripts/HelperMacros.cmake 2018-04-24 21:00:30.300534272 +0200
@@ -37,7 +37,7 @@
# static libraries are probably not useful on Windows
# (if we ever build shared libraries those would use the RUNTIME target and we might have to revisit this)
- if(NOT WIN32)
+ if(0)
install(TARGETS ${name}
LIBRARY DESTINATION lib/inkscape
ARCHIVE DESTINATION lib/inkscape
--- inkscape-0.92.3/src/CMakeLists.txt_orig 2018-04-24 21:21:17.069106797 +0200
+++ inkscape-0.92.3/src/CMakeLists.txt 2018-04-24 21:26:42.844223886 +0200
@@ -575,9 +575,8 @@
inkscape_base
inkscape
inkview
- RUNTIME DESTINATION bin
- LIBRARY DESTINATION lib/inkscape
- ARCHIVE DESTINATION lib/inkscape)
+ RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
else()
install(TARGETS
inkscape_base