Commit Graph

129 Commits

Author SHA256 Message Date
Dominique Leuenberger
8a067bb452 Accepting request 959403 from KDE:Frameworks5
- Don't refresh the system cache in %post. The user metadata cache
  works much better, rely on that instead.

OBS-URL: https://build.opensuse.org/request/show/959403
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/AppStream?expand=0&rev=27
2022-03-05 13:44:02 +00:00
3b26810f3f works much better, rely on that instead.
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/AppStream?expand=0&rev=72
2022-03-04 12:06:52 +00:00
Luca Beltrame
d63cba804d Accepting request 959356 from home:Vogtinator:branches:KDE:Frameworks5
- Don't refresh the system cache in %post. The user metadata cache
  work much better, rely on that instead.

OBS-URL: https://build.opensuse.org/request/show/959356
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/AppStream?expand=0&rev=71
2022-03-04 11:18:30 +00:00
Dominique Leuenberger
40382baa49 Accepting request 943291 from KDE:Frameworks5
OBS-URL: https://build.opensuse.org/request/show/943291
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/AppStream?expand=0&rev=26
2022-01-03 09:49:02 +00:00
Christophe Giboudeaux
62c7afc160 Accepting request 942349 from home:gmbr3:Active
- Update to version 0.15.1
  * compose: Port over font support from appstream-generator
  * compose: Allow overriding unit used for locale processing
  * compose: Refine legacy support for desktop-id launchables
  * compose: Allow setting the custom desktop-entry translation function
  * compose: Allow to run with threading (mostly) disabled
  * compose: Reorganize feature flags, allow to disable l10n
  * compose: Allow setting a screenshot file size limit
  * compose: Allow to disable screencast processing explicitly
  * compose: Allow to test whether result has a specific hint tag
  * news-convert: Support a "Translators" section
  * validator: Check that first rDNS component-ID parts are always lowercased
  * validator: Validate capitalization for some selected text blocks
  * vapi: Rename PoolFlag to PoolFlags to add the missing deprecated flags
  * Fix cache always getting updated even if unnacessary on Debian systems
  * Still verify download return codes if download was aborted intentionally
  * compose: Warn if metainfo files are missing and data was processed anyway
- Update to version 0.15.0
  * This release contains a complete rewrite of AppStream's
    caching code, making use of libxmlb instead of LMDB now.
    This will allow for more complex queries and simplifies the
    caching code a bit.
  * Allow clients to configure the addon autoresolve magic
  * Allow clients to control the local metainfo preference
  * qt: Add wrappers for new AsPool API
  * qt: Wrap the AsPool ::changed signal
  * Implement the new "Tags" tag
  * Make component-ID search case-insensitive
  * compose: Adjust to rsvg API changes
  * qt: Align API deprecations with C library API
  * Cache Flatpak data properly, and add some quirk fixes for it
- Add BuildRequires itstool
- Add BuildRequires xmlb >= 0.3.6
- Update BuildRequires glib-2.0 to >= 2.62
- Remove BuildRequires lmdb-devel

OBS-URL: https://build.opensuse.org/request/show/942349
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/AppStream?expand=0&rev=70
2021-12-31 09:37:41 +00:00
Dominique Leuenberger
e200020c13 Accepting request 927094 from KDE:Frameworks5
OBS-URL: https://build.opensuse.org/request/show/927094
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/AppStream?expand=0&rev=25
2021-10-26 18:13:29 +00:00
Christophe Giboudeaux
338100d779 Accepting request 926788 from home:cgiboudeaux:branches:KDE:Frameworks5
- Update to 0.14.6. Check the NEWS file for the list of changes.
- Only install the license files once.

OBS-URL: https://build.opensuse.org/request/show/926788
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/AppStream?expand=0&rev=69
2021-10-23 08:40:12 +00:00
Dominique Leuenberger
25b1f8fee6 Accepting request 915181 from KDE:Frameworks5
- Create and install a Vala API file

OBS-URL: https://build.opensuse.org/request/show/915181
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/AppStream?expand=0&rev=24
2021-09-02 21:20:05 +00:00
Christophe Giboudeaux
6e5cf46ba3 Use %bcond_without vala instead
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/AppStream?expand=0&rev=68
2021-08-31 06:43:48 +00:00
Christophe Giboudeaux
940db3ae8b Accepting request 914874 from home:awissu:branches:openSUSE:Factory
- Create and install a Vala API file

OBS-URL: https://build.opensuse.org/request/show/914874
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/AppStream?expand=0&rev=67
2021-08-31 06:39:52 +00:00
Richard Brown
8a4c13b031 Accepting request 911010 from KDE:Frameworks5
Not yet built tested, beware.

- Update to version 0.14.4 (needed by future Discover versions)
 * qt: Expose setter and getter for pool cache location
 * utils: Use GLib's gstring_replace if available
 * its: Allow to mark release descriptions as non-translatable
 * compose: Point people at the specification if metadata license is invalid
 * docs: Clarify which metadata licenses are permitted
 * docs: Fix a typo on the icon cache page
 * spec: Add a paragraph about which license to put in <project_license>
 * Add documentation for YAML release type and urgency
 * Add documentation for YAML provides
 * component: Don't strip ";" from keywords before translating them
 * utils: Don't strip modifiers when stripping encoding
 * compose: Check optipng is there before we use it
 * Improve text line wrapping, especially if many newlines are present
 * Make word-wrap function unicode-aware
 * Make license_is_metadata_license parse more complex expressions
 * Improve cache refresh code, don't flag cache as updated if update failed
 * Use system cache even if we had to drop some invalid metadata
 * Assign more string class members safely
 * Fix flashed firmware generating incorrect XML
 * Fix YAML having wrong names for the firmware data (forwarded request 910733 from luca_b)

OBS-URL: https://build.opensuse.org/request/show/911010
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/AppStream?expand=0&rev=23
2021-08-12 07:01:08 +00:00
fbb2c6ab86 Accepting request 910733 from home:luca_b:branches:KDE:Frameworks5
Not yet built tested, beware.

- Update to version 0.14.4 (needed by future Discover versions)
 * qt: Expose setter and getter for pool cache location
 * utils: Use GLib's gstring_replace if available
 * its: Allow to mark release descriptions as non-translatable
 * compose: Point people at the specification if metadata license is invalid
 * docs: Clarify which metadata licenses are permitted
 * docs: Fix a typo on the icon cache page
 * spec: Add a paragraph about which license to put in <project_license>
 * Add documentation for YAML release type and urgency
 * Add documentation for YAML provides
 * component: Don't strip ";" from keywords before translating them
 * utils: Don't strip modifiers when stripping encoding
 * compose: Check optipng is there before we use it
 * Improve text line wrapping, especially if many newlines are present
 * Make word-wrap function unicode-aware
 * Make license_is_metadata_license parse more complex expressions
 * Improve cache refresh code, don't flag cache as updated if update failed
 * Use system cache even if we had to drop some invalid metadata
 * Assign more string class members safely
 * Fix flashed firmware generating incorrect XML
 * Fix YAML having wrong names for the firmware data

OBS-URL: https://build.opensuse.org/request/show/910733
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/AppStream?expand=0&rev=66
2021-08-09 13:19:24 +00:00
Dominique Leuenberger
403390514e Accepting request 885246 from KDE:Frameworks5
- Update to version 0.14.3
  * spec: Mention that license-IDs are case-sensitive
  * compose: Don't loop endlessly if external desktop l10n function
    is set
  * Never create a predictable dir in /tmp for caching
  * qt: Implement missing Pool::componentsByCategories
  * Share one user-owned read-only system metadata cache between all
    applications
  * pool: Clean up user sysdata caches if we start to use the system
    cache
  * Port over some parsing improvements for desktop-files from asgen
  * compose: Add helper for reading desktop-entry files
  * compose: Handle bad UTF-8 in desktop-entry files even better
  * search: Perform partial token matches instead of prefix matches
  * search: Unconditionally perform partial term matching after
    exact matching
  * news-to-metainfo: Recognize the "Contributors" section
  * Update our own metainfo file for appstreamcli
  * Read descriptions from collection XML correctly again
  * search: Make whole-search string matching a lot more strict
  * validator: Resolve false-positive when testing remote icon
    URL validity
  * utils: Improve textwrap if text is just one excessively
    long word
  * compose: Permit U+00AD SOFT HYPHEN in string values
  * Validate our own metainfo file
  * compose: Don't assume lowest priority for desktop-entry-only
    components
  * search: Only replace full words with greylist terms,
    not partial ones
  * ascli: Take all positional parameters as search terms when
    searching (forwarded request 885182 from susnux)

OBS-URL: https://build.opensuse.org/request/show/885246
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/AppStream?expand=0&rev=22
2021-04-22 16:03:12 +00:00
Christophe Giboudeaux
1d473a54b2 Accepting request 885182 from home:susnux:branches:KDE:Frameworks5
- Update to version 0.14.3
  * spec: Mention that license-IDs are case-sensitive
  * compose: Don't loop endlessly if external desktop l10n function
    is set
  * Never create a predictable dir in /tmp for caching
  * qt: Implement missing Pool::componentsByCategories
  * Share one user-owned read-only system metadata cache between all
    applications
  * pool: Clean up user sysdata caches if we start to use the system
    cache
  * Port over some parsing improvements for desktop-files from asgen
  * compose: Add helper for reading desktop-entry files
  * compose: Handle bad UTF-8 in desktop-entry files even better
  * search: Perform partial token matches instead of prefix matches
  * search: Unconditionally perform partial term matching after
    exact matching
  * news-to-metainfo: Recognize the "Contributors" section
  * Update our own metainfo file for appstreamcli
  * Read descriptions from collection XML correctly again
  * search: Make whole-search string matching a lot more strict
  * validator: Resolve false-positive when testing remote icon
    URL validity
  * utils: Improve textwrap if text is just one excessively
    long word
  * compose: Permit U+00AD SOFT HYPHEN in string values
  * Validate our own metainfo file
  * compose: Don't assume lowest priority for desktop-entry-only
    components
  * search: Only replace full words with greylist terms,
    not partial ones
  * ascli: Take all positional parameters as search terms when
    searching

OBS-URL: https://build.opensuse.org/request/show/885182
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/AppStream?expand=0&rev=64
2021-04-14 06:27:38 +00:00
Dominique Leuenberger
57f88e6fc8 Accepting request 873084 from KDE:Frameworks5
- Update to version 0.14.1: (forwarded request 873077 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/873084
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/AppStream?expand=0&rev=21
2021-02-23 19:18:53 +00:00
3b8124fb72 Accepting request 873077 from GNOME:Next
- Update to version 0.14.1:

OBS-URL: https://build.opensuse.org/request/show/873077
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/AppStream?expand=0&rev=62
2021-02-17 10:46:51 +00:00
Dominique Leuenberger
ec778a615d Accepting request 862279 from KDE:Frameworks5
OBS-URL: https://build.opensuse.org/request/show/862279
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/AppStream?expand=0&rev=20
2021-01-15 18:44:21 +00:00
Luca Beltrame
3df78c6705 Accepting request 862246 from home:Vogtinator:branches:KDE:Frameworks5
- Disable vala bindings, fails to build on Leap 15.2 because
  g-ir-scanner emits the return type before parameters, which vapigen does not like
- Update to 0.13.1:
  Bugfixes:
   * Install enum types headers to the right location
   * qt: Construct library using libappstream dependency object
   * validator: Improve check for invalid hyperlinks to reduce false-positives
- Update to 0.13.0:
  Notes:
   * This release introduces a new library, libappstream-compose, designed to
     provide building blocks for composing AppStream metadata. This includes GUI
     stuff like font and SVG rendering, which libappstream deliberately does not
     provide. The new compose library is not API/ABI stable and should - for now -
     only be used by appstream-generator.
  Features:
   * qt: add missing Provided::KindId enum (Aleix Pol)
   * Add experimental libappstream-compose (Matthias Klumpp)
   * Implement support for display_length relation kind (Matthias Klumpp)
   * Implement "tv-remote" input control kind (Matthias Klumpp)
   * Refactor AsRelation to use GVariant internally (Matthias Klumpp)
   * content-rating: Align the OARS/CSM mappings of sex-* (Philip Withnall)
   * content-rating: Add content rating system APIs from gnome-software (Philip Withnall)
   * content-rating: Expand translator comments to link to OARS website (Philip Withnall)
  Specification:
   * spec: Specify display_length requires/recommends item (Matthias Klumpp)
   * spec: Add tv-remote user input control type (Matthias Klumpp)
  Bugfixes:
   * Use glib-mkenums to create the GType of all the available enums (Corentin Noël)
   * Set FD_CLOEXEC on the LMDB FD manually (Fabian Vogt)
   * Never ship with an embedded convenience copy of Highlight.js (Matthias Klumpp)

OBS-URL: https://build.opensuse.org/request/show/862246
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/AppStream?expand=0&rev=60
2021-01-11 12:18:17 +00:00
Dominique Leuenberger
51b1d81c5a Accepting request 848417 from KDE:Frameworks5
OBS-URL: https://build.opensuse.org/request/show/848417
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/AppStream?expand=0&rev=19
2020-11-19 10:49:23 +00:00
Christophe Giboudeaux
d8bd612992 Accepting request 848029 from home:Vogtinator:branches:KDE:Frameworks5
- Add patch to avoid FD leak:
  * 0001-Set-FD_CLOEXEC-on-the-LMDB-FD-manually.patch

OBS-URL: https://build.opensuse.org/request/show/848029
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/AppStream?expand=0&rev=58
2020-11-13 20:36:23 +00:00
Dominique Leuenberger
1f02a97a65 Accepting request 818429 from KDE:Frameworks5
OBS-URL: https://build.opensuse.org/request/show/818429
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/AppStream?expand=0&rev=18
2020-07-06 14:17:08 +00:00
Luca Beltrame
ce9ccab169 Accepting request 818388 from home:Vogtinator:branches:KDE:Frameworks5
- Update to 0.12.11:
  Features:
   * Auto-update static category data from fd.o
   * Implement support for input control relations
   * validator: Validate input control relations
   * validator: Put AppStream technical terms and tag names in backticks in
     explanation texts
   * Modernize the README
   * validator: Check for uppercase letters in cids
   * Strip beginning/trailing newlines in a number of places
   * Make AsContext getter for AsComponent public API
   * qt: Add support for name_variant_suffix
   * Make component sort-score API public API
   * Implement a YAML representation of release artifact information  
  Specification:
   * Build specification and docs with DAPS
   * docs: Add (HTML) anchors for requires/recommends items
   * spec: Specify user input control recommendations
   * docs: Don't show reference to nonexistent provides->service tag for services
   * spec: Encourage the use of only lowercase letters for component-IDs
   * docs: Document --explain flag in ascli manual page as well
   * docs: Add permalink anchors to some list entries
   * Formally support BLAKE2b/s as hash functions for release artifacts
   * docs: Link to the MetaInfo Creator webapp in a few places
  Bugfixes:
   * Be less noisy about ignoring excessively long search tokens
   * Tighten the "free license" check and prevent false positives
   * cache: Use correct fts value per result (David Hewitt)
   * validator: Control items can't have a version
   * validator: Reduce download timeout

OBS-URL: https://build.opensuse.org/request/show/818388
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/AppStream?expand=0&rev=56
2020-07-03 04:56:09 +00:00
Dominique Leuenberger
461fa41e42 Accepting request 779429 from KDE:Frameworks5
OBS-URL: https://build.opensuse.org/request/show/779429
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/AppStream?expand=0&rev=17
2020-02-28 14:19:15 +00:00
Luca Beltrame
be9e22b92e Accepting request 779425 from home:cgiboudeaux:branches:KDE:Frameworks5
- Update to 0.12.10. Check the NEWS file for the complete changelog.
- Drop patches. Issues fixed upstream:
  * 0001-Restore-compatibility-with-GLib-2.58.patch
  * 0001-Fix-possible-NULL-dereference.patch
  * 0002-Don-t-ignore-xmlNodeDump-return-code.patch
  * 0003-Fix-infinite-recursion-if-component-has-itself-liste.patch
  * find-lmdb.patch

OBS-URL: https://build.opensuse.org/request/show/779425
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/AppStream?expand=0&rev=54
2020-02-26 13:54:35 +00:00
Dominique Leuenberger
01b0e45975 Accepting request 758447 from KDE:Frameworks5
OBS-URL: https://build.opensuse.org/request/show/758447
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/AppStream?expand=0&rev=16
2020-01-02 13:39:55 +00:00
Luca Beltrame
b143c2ae4e Accepting request 758041 from home:StefanBruens:branches:KDE:Frameworks5
- Drop itstools BuildRequires, not required for either building or testing.
- xsltproc is no longer invoked via xmlto, drop xmlto, explicitly
  add required xsltproc and docbook-xsl-stylesheets.

OBS-URL: https://build.opensuse.org/request/show/758041
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/AppStream?expand=0&rev=52
2019-12-20 08:13:17 +00:00
Dominique Leuenberger
bcdb9822ce Accepting request 719784 from KDE:Frameworks5
OBS-URL: https://build.opensuse.org/request/show/719784
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/AppStream?expand=0&rev=15
2019-08-05 08:29:02 +00:00
Christophe Giboudeaux
58c1118431 Accepting request 719783 from home:Vogtinator:boo1139463
- Add patches to fix crash with some invalid metainfo (boo#1139463):
  * 0001-Fix-possible-NULL-dereference.patch
  * 0002-Don-t-ignore-xmlNodeDump-return-code.patch
  * 0003-Fix-infinite-recursion-if-component-has-itself-liste.patch
- Update build requirements
- Add %check section

OBS-URL: https://build.opensuse.org/request/show/719783
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/AppStream?expand=0&rev=50
2019-07-30 08:48:39 +00:00
e6f2b0f97f - Update summary and description
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/AppStream?expand=0&rev=49
2019-07-29 18:53:19 +00:00
Dominique Leuenberger
604d1f64af Accepting request 710910 from KDE:Frameworks5
OBS-URL: https://build.opensuse.org/request/show/710910
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/AppStream?expand=0&rev=14
2019-06-22 09:16:44 +00:00
Christophe Giboudeaux
66a87a2cfa 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 13:11:50 +00:00
Dominique Leuenberger
18a361c473 Accepting request 685760 from KDE:Frameworks5
OBS-URL: https://build.opensuse.org/request/show/685760
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/AppStream?expand=0&rev=13
2019-03-21 08:42:17 +00:00
84df02c58d Accepting request 685758 from home:jengelh:sct
- Replace boilerplate and em-dash summaries.

OBS-URL: https://build.opensuse.org/request/show/685758
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/AppStream?expand=0&rev=45
2019-03-17 10:28:35 +00:00
Dominique Leuenberger
198f8dd10e Accepting request 681643 from KDE:Frameworks5
OBS-URL: https://build.opensuse.org/request/show/681643
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/AppStream?expand=0&rev=12
2019-03-08 12:29:40 +00:00
Luca Beltrame
e3cffceaee Accepting request 681558 from home:elimat:branches:KDE:Frameworks5
- Update to 0.12.6:
  Features:
   * Implement artifacts (Matthias Klumpp)
   * Search improvements (Matthias Klumpp)
  Specification:
   * doc: help distinguish the 2 'languages' tags (Beuc)
   * spec: Document the new artifacts tag (Matthias Klumpp)
- Update to 0.12.5:
  Features:
   * qt: expose the spdx parser to Qt users (Aleix Pol)
   * Implement operating-system component and add convenience functions (Matthias Klumpp)
   * qt: Add operating-system component type and a few utility functions (Matthias Klumpp)
   * Allow fetching the ISO8601 date directly alongside the timestamp in AsRelease (Matthias Klumpp)
   * Implement date_eol for AsRelease (Matthias Klumpp)
   * Add convenience methods for retrieving date_eol as UNIX timestamp (Matthias Klumpp)
   * qt: Allow retrieving the EOL timestamp for releases (Matthias Klumpp)
   * Implement new release details URL (Matthias Klumpp)
   * Make rDNS conversion function more generic and add more extensive tests (Matthias Klumpp)
  Specification:
   * docs: <release> tag can have details url (Jehan)
   * spec: Specify the operating-system component (Matthias Klumpp)
   * spec: Specify date_eol for releases (Matthias Klumpp)
   * docs: Explicitly state list items are allowed in ol/ul lists (Matthias Klumpp)
  Bugfixes:
   * Don't warn about issues in a cache refresh if there weren't any (Matthias Klumpp)
   * Ensure releases are always sorted in descending order (Matthias Klumpp)
   * pool: Fix g-i for get_components_*() while GPtrArray owns its elements (Rico Tzschichholz)
- Update to 0.12.4:
  Features:
   * pool: Be a lot more forgiving when encountering invalid components (Matthias Klumpp)
   * Implement component removal via remove-component merges (Matthias Klumpp)
   * validator: Warn about insecure URLs, handle mailto: URLs (Matthias Klumpp)
   * Add a contact URL type (Robert Ancell)
  Specification:
   * Document new remove-component merge type (Matthias Klumpp)
  Bugfixes:
   * as-pool: fix GObject annotation for GPtrArray owning the elements (Corentin Noël)
   * Make invalid components ratio check more accurate (Matthias Klumpp)
   * Ensure description paragraphs contain no invalid XML tags (Matthias Klumpp)
- Update to 0.12.3:
  Notes:
   * Beginning with this release, data from local .desktop files will not be loaded into
     the pool automatically, unless a metainfo file also exists.
     This should ensure less duplicated components in general higher-quality data to be
     displayed. It also provides another incentive to add/fix metainfo files.
     If you prefer the previous behavior, set the AS_POOL_FLAG_READ_DESKTOP_FILES flag
     on your AsPool instance.
  Features:
   * apt: Ignore errors post-update (Matthias Klumpp)
   * validator: Allow content_rating to be empty (Matthias Klumpp)
   * ascli: Display stock icon name if no suitable icon was found for details view (Matthias Klumpp)
   * Refactor loading of local metainfo files (Matthias Klumpp)
  Specification:
   * spec: Clarify the requirement for content_attribute tags in content_rating (Matthias Klumpp)
   * docs: Write intro for addon quickstart (Matthias Klumpp)
   * docs: Replace hyphens in component-IDs of XML examples (Matthias Klumpp)
  Bugfixes:
   * Ensure all addons are linked to a component (David Hewitt)
   * Annotate nullable return types (David Hewitt)
   * cache: Set explicit variant types for cases where they can not be inferred (Matthias Klumpp)
   * utils: Handle NULL strings when comparing versions (Matthias Klumpp)
   * Explicitly include string.h in as-tag.c (Matthias Klumpp)
   * Properly ignore desktop-entry components if we have better data (Matthias Klumpp)
   * Remove AppStream XSD schema (Matthias Klumpp)
   * Update static data (Matthias Klumpp)
   * Set error variable if there were some errors during refinement (Stefan Bruens)
- Remove patches, now upstream:
  * explicit-variant-types.patch
  * workaround-hidden-symbols.patch

OBS-URL: https://build.opensuse.org/request/show/681558
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/AppStream?expand=0&rev=43
2019-03-05 08:57:48 +00:00
Dominique Leuenberger
37e7ce5fe0 Accepting request 642265 from KDE:Frameworks5
OBS-URL: https://build.opensuse.org/request/show/642265
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/AppStream?expand=0&rev=11
2018-10-22 09:07:07 +00:00
Luca Beltrame
7b2f1bdcda Accepting request 642258 from home:Vogtinator:branches:KDE:Frameworks5
- Update to 0.12.2:
  * Fix a couple of incorrect g_ptr_array_unrefs (Iain Lane)
  * Use autofree functions instead of freeing resources
    explicitly (Matthias Klumpp)
  * Add missing const (Matthias Klumpp)
  * Ensure we don't produce a .pc file with unnecessary
    Requires.private lines (Matthias Klumpp)
  * Stop leaking local GVariantDict instance contents (Phil Miller)
  * Drop leaked references to container items (Phil Miller)
- Update to 0.12.1:
  Features:
   * ascli: Add command to compare version numbers (Matthias Klumpp)
   * yaml: Allow reading multiple localized strings from YAML data
  (Matthias Klumpp)
   * yaml: Always include the untranslated strings (Matthias Klumpp)
   * Allow to ignore media_baseurl when parsing metadata (Matthias Klumpp)
   * xml: Add implementation of the agreement tag (Matthias Klumpp)
   * Add new "repository" component type (Matthias Klumpp)
   * yaml: Implement Agreements field (Matthias Klumpp)
   * cache: Implement support for agreements (Matthias Klumpp)
   * tests: Improve cache data tests, add agreement tag test (Matthias Klumpp)
   * Use gperf for perfect hash generation for some tags (Matthias Klumpp)
   * tests: Add rundimentary performance test (Matthias Klumpp)
   * its: Mark agreement sections as translatable (Matthias Klumpp)
   * qt: Add support for service/repository component types (Matthias Klumpp)
  Specification:
   * docs: Describe the custom tag (Matthias Klumpp)
   * spec: Describe the new agreement tag (Matthias Klumpp)
   * docs: Clarify that the /usr/share/appdata/ path is legacy and should
     not be used (Matthias Klumpp)

OBS-URL: https://build.opensuse.org/request/show/642258
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/AppStream?expand=0&rev=41
2018-10-16 11:58:35 +00:00
Dominique Leuenberger
8501e14642 Accepting request 611760 from KDE:Frameworks5
OBS-URL: https://build.opensuse.org/request/show/611760
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/AppStream?expand=0&rev=10
2018-06-02 09:52:31 +00:00
Luca Beltrame
7e3dc7be07 Accepting request 611715 from home:kbabioch:branches:KDE:Frameworks5
- Use OpenPGP signature provided upstream
- Added AppStream.keyring, which contains the key from the author 
- Use %license macro for license files

OBS-URL: https://build.opensuse.org/request/show/611715
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/AppStream?expand=0&rev=39
2018-05-23 21:16:20 +00:00
Dominique Leuenberger
36743d696c Accepting request 575384 from KDE:Frameworks5
- appstreamcli can use curl for some checks, so recommend it (boo#1080446)

OBS-URL: https://build.opensuse.org/request/show/575384
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/AppStream?expand=0&rev=9
2018-02-12 09:06:09 +00:00
d49e1d9d32 - appstreamcli can use curl for some checks, so recommend it (boo#1080446)
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/AppStream?expand=0&rev=37
2018-02-11 12:02:28 +00:00
Dominique Leuenberger
19a9d5ba48 Accepting request 572099 from KDE:Frameworks5
- 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/572099
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/AppStream?expand=0&rev=8
2018-02-03 14:40:26 +00:00
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
858d238d41 Accepting request 571361 from KDE:Frameworks5
Revert version upgrade, it breaks package builds.

OBS-URL: https://build.opensuse.org/request/show/571361
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/AppStream?expand=0&rev=34
2018-01-31 12:12:40 +00:00
12d5c4fef4 Accepting request 570912 from home:alarrosa:branches:KDE:Frameworks5
- 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/570912
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/AppStream?expand=0&rev=33
2018-01-30 11:58:10 +00:00
d4c003dee3 Fix urls of some packages. No idea why sed didn't work for them :-/
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/AppStream?expand=0&rev=32
2018-01-17 17:48:17 +00:00
Dominique Leuenberger
b26743bf7a Accepting request 508299 from KDE:Frameworks5
1

OBS-URL: https://build.opensuse.org/request/show/508299
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/AppStream?expand=0&rev=7
2017-07-07 08:15:52 +00:00
Luca Beltrame
eb2b88bf78 Accepting request 508298 from home:Vogtinator:branches:KDE:Frameworks5
- Update to version 0.11.1:
  Notes:
   * This release contains refactoring of the XML/YAML parsers and some other changes that are more invasive
     than usual.
  
  Features:
   * qt: Add new getters/setters and classes to be on par with the GObject library (Jan Grulich)
   * qt: Add AS::Metadata class used for parsing desktop and appstream metadata files (Jan Grulich)
   * Refactor the XML parser and serialization code (Matthias Klumpp)
   * Refactor the YAML parser and emitter code (Matthias Klumpp)
   * Implement 'service' component type (Matthias Klumpp)
   * Improve speed of metainfo description parsing slightly (Matthias Klumpp)
   * test: Add additional testcase for reading metainfo description tags (Matthias Klumpp)
   * test: Test metainfo descriptions starting with enumerations (Matthias Klumpp)
  
  Specification:
   * doc: Add Distro Packaging page (Jeremy Bicha)
   * doc: Add "service" components and their launchables (Marius Vollmer)
   * Allow components to provide other components (provides -> id) (Matthias Klumpp)
  
  Bugfixes:
   * doc: Uncomment line in middle of paragraph (Jeremy Bicha)
   * doc: A releases tag is not essential for components, but summary is (Matthias Klumpp)
   * Allow descriptions to start with an enumeration (Matthias Klumpp)
   * Ensure we always update with fresh data when refreshing the cache (Matthias Klumpp)
   * Replace invalid components in the pool with new ones of the same name (Matthias Klumpp)
   * Resolve a few potential bugs (found by static checks) (Matthias Klumpp)
   * xml: Check if we are trying to parse a real component (Matthias Klumpp)
- Update to version 0.11.0:
  Features:

OBS-URL: https://build.opensuse.org/request/show/508298
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/AppStream?expand=0&rev=30
2017-07-05 09:23:36 +00:00
Dominique Leuenberger
ecb8c1e05e Accepting request 450495 from KDE:Frameworks5
Update to latest version, needed by plasma5-desktop and discover. Renames the library name and a lot of internals, have fun...

OBS-URL: https://build.opensuse.org/request/show/450495
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/AppStream?expand=0&rev=6
2017-01-31 10:53:07 +00:00
bde1c8b5d3 - Update to version 0.10.5:
Features:
   * Match modalias wildcards on regular searches (Matthias Klumpp)
   * xml: Add methods to get/set custom data in metainfo/collection files (Matthias Klumpp)
   * Make cache update issue messages slightly more verbose (Matthias Klumpp)
   * Add preliminary code for reading metainfo files in addition to .desktop files (Matthias Klumpp)
   * cache: Cache custom fields as well (Matthias Klumpp)
  Bugfixes:
   * qt: Make sure dependencies are fetched when looking for the package (Aleix Pol)
   * yaml: Consistently read/write the Suggests field (Matthias Klumpp)
   * Correctly read bundle kind from XML data (Matthias Klumpp)
  Features:
   * qt: Introduce AppStream::Suggested in the Qt frontend (Aleix Pol)
  Bugfixes:
   * Properly validate suggests tag (Matthias Klumpp)
   * qt: Add an empty check to Provided and return it if necessary (Matthias Klumpp)
   * Add path search to find libstemmer headers (#91) (Neal Gompa)
  Notes:
   * The release breaks the Qt library API. Patches to make KDE Discover use the new API exist
     in its Git master branch, and will be available with Plasma 5.9.
     The patches will likely not enter the stable branch, so if you want to upgrade AppStream,
     you might need to ship patches for Discover downstream to use the new API.
  Features:
   * qt: Update API to reflect more recent AppStream features, be easier to
     extend and also a bit faster due to removing needless data conversions.
     (Matthias Klumpp, Aleix Pol)
   * Make components record their origin kind internally (Matthias Klumpp)
   * Provide a file:/ URL for icons when we know a file name (Matthias Klumpp)
   * Add support for Snappy/Snap bundles (Matthias Klumpp)
  Specification:

OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/AppStream?expand=0&rev=28
2017-01-16 11:39:47 +00:00