SHA256
1
0
forked from pool/AppStream
AppStream/find-lmdb.patch

19 lines
672 B
Diff
Raw Normal View History

Accepting request 710906 from home:Vogtinator:branches:KDE:Frameworks5 - Update to 0.12.7: Notes: * This release changes the way AsPool caches components and will also permanently keep components in an LMDB-based cache. Additionally, the GVariant AsComponent serialization was removed. Features: * Depend on LMDB (Matthias Klumpp) * tests: Test pool cache and XML read performance separately (Matthias Klumpp) * Improvements to data caching and fulltext search (Matthias Klumpp) * Add new LMDB based component cache (Matthias Klumpp) * cache: Implicitly hash keys if they are too long for the database (Matthias Klumpp) * cache: Implement all supported search modes (Matthias Klumpp) * cache: Implement various performance optimizations and helpers (Matthias Klumpp) * cache: Allow switch to nosync mode, make insertions threadsafe (Matthias Klumpp) * Refactor component pool to make use of the mmap'ed caches by default (Matthias Klumpp) * Don't limit term length in user search queries (Matthias Klumpp) * Ignore one-letter search terms (Matthias Klumpp) * pool: Mask removed components in readonly caches so they can not be queried (Matthias Klumpp) * Remove component GVariant serialization (Matthias Klumpp) * cache: Use binary representations for cache values (Matthias Klumpp) * cache: Always refine launchable entries, to make them searchable (Matthias Klumpp) * Make component scope API public (Matthias Klumpp) * Handle LicenseRef URLs explicitly when extracing a license URL (Matthias Klumpp) * Update static data (Matthias Klumpp) * tests: Update perf test with test for the new cache implementation (Matthias Klumpp) * its: Add "translatable" option in metainfo.its (fujiwarat) Specification: * Add a note about not dropping .desktop suffix from existing IDs (Kalev Lember) * spec: clarify <translation/> purpose (Kamil Páral) * docs: Explicitly rule out nested lists (Marius Vollmer) OBS-URL: https://build.opensuse.org/request/show/710906 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/AppStream?expand=0&rev=47
2019-06-19 15:11:50 +02:00
From: Fabian Vogt <fabian@ritter-vogt.de>
Subject: Find LMDB without pkg-config or CMake
Upstream LMDB provides neither.
Index: AppStream-0.12.7/meson.build
===================================================================
--- AppStream-0.12.7.orig/meson.build
+++ AppStream-0.12.7/meson.build
@@ -66,7 +66,7 @@ gio_dep = dependency('gio-2.0', version
gio_unix_dep = dependency('gio-unix-2.0', version : '>=2.54')
xml2_dep = dependency('libxml-2.0')
yaml_dep = dependency('yaml-0.1')
-lmdb_dep = dependency('lmdb')
+lmdb_dep = meson.get_compiler('c').find_library('lmdb')
if get_option ('gir')
# ensure we have a version of GIR that isn't broken with Meson