SHA256
1
0
forked from pool/AppStream
AppStream/0001-Fix-regression-from-153.patch
Fabian Vogt 26efb45f2c Accepting request 572093 from home:alarrosa:tests:appstream
- Now the appstream cache is refreshed in %post. The update to 0.11.8
  plus the refresh fixes kde#389531.
- Headers are now installed to /usr/include/appstream instead of 
  /usr/inlude/AppStream
- New package AppStream-doc with the html documentation for AppStream
- Use meson to build instead of cmake
- Update to version 0.11.8:
  Features:
   * validator: Emit a hint in case a discouraged AppStream ID style is used (Matthias Klumpp)
   * l10n: Renamed Norwegian Bokmål language file (Matthias Klumpp)
  Specification:
   * docs: Add quickstart instructions for intltool (David Steele)
   * spec: Discourage use of hyphens and digit-started segments for IDs (Matthias Klumpp)
  Bugfixes:
   * qt: Export the AppStreamQt target (Aleix Pol)
   * Various string improvements (Allan Nordhøy)
   * validator: Don't make HEAD requests for URL checks, fetch first byte instead (Matthias Klumpp)
   * Enforce a non-broken version of gobject-introspection (Matthias Klumpp)
   * Ensure LINGUAS update is only run explicitly (Matthias Klumpp)
   * Fix a minor memory and fd leak (Matthias Klumpp)
- Update to version 0.11.7:
  Notes:
   * The appstreamcli validation commands now use curl if it is available to check all
     URLs in the metadata for existence.
     If you don't want this behavior, pass "--nonet" to appstreamcli. There might also
     be false positives (one is known with the KDE bugtracker) that need to be investigated,
     so feedback on this new feature is welcome.
  
  Features:
   * validator: Check all urls for validity (Matthias Klumpp)

OBS-URL: https://build.opensuse.org/request/show/572093
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/AppStream?expand=0&rev=35
2018-02-02 17:16:49 +00:00

26 lines
1.2 KiB
Diff

From 3e58f9c97d95785b2bcab632871a59a04050a458 Mon Sep 17 00:00:00 2001
From: Gabriel Souza Franco <gabrielfrancosouza@gmail.com>
Date: Wed, 24 Jan 2018 14:26:28 +0100
Subject: [PATCH] qt: Fix regression from #153
Define location and soname for all configurations, not just Debug.
---
qt/cmake/AppStreamQtConfig.cmake.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/qt/cmake/AppStreamQtConfig.cmake.in b/qt/cmake/AppStreamQtConfig.cmake.in
index aa61e820..b64a4f57 100644
--- a/qt/cmake/AppStreamQtConfig.cmake.in
+++ b/qt/cmake/AppStreamQtConfig.cmake.in
@@ -32,8 +32,8 @@ add_library(AppStreamQt SHARED IMPORTED)
set_target_properties(AppStreamQt PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES "${PACKAGE_PREFIX_DIR}/include/"
INTERFACE_LINK_LIBRARIES "Qt5::Core"
- IMPORTED_LOCATION_DEBUG "@LIBDIR_FULL@/libAppStreamQt.so.${AppStreamQt_VERSION}"
- IMPORTED_SONAME_DEBUG "libAppStreamQt.${AppStreamQt_VERSION_MAJOR}"
+ IMPORTED_LOCATION "@LIBDIR_FULL@/libAppStreamQt.so.${AppStreamQt_VERSION}"
+ IMPORTED_SONAME "libAppStreamQt.${AppStreamQt_VERSION_MAJOR}"
)
####################################################################################