From 786bd508ed5c85cdf012829cc45e744980f935ba2be7dbfb8e92306548249382 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sun, 20 Jul 2014 08:49:45 +0000 Subject: [PATCH 01/59] Accepting request 241005 from GNOME:Factory Addition of new appstream-glib library. Part of GNOME 3.14 stack, but as it is new, it does not hurt to already push it now to Factory... so we have it in time. @coolo: this package actually contains appstream-builder: just like createrepo, you can run it against a directory full of RPMs and it extracts a valid appstream.xml.gz (plus icons) from it, which we should get published in our repo metadata (for gnome-software and potentially other appstream based software centers). Once this is in place (currently, there is a hack in place for Factory, but only based on .desktop files, ignoring the actual shipped appdata.xml files), we will need zypper to have a hook to perform appstream-util install and enjoy the powers of it. OBS-URL: https://build.opensuse.org/request/show/241005 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=1 --- _service | 14 - _servicedata | 4 - appstream-glib-0.2.2.tar.xz | 3 + appstream-glib-0.7.5.tar.xz | 3 - appstream-glib.changes | 1449 ----------------------------------- appstream-glib.spec | 201 ++--- openSUSE-appstream-process | 73 -- 7 files changed, 66 insertions(+), 1681 deletions(-) delete mode 100644 _service delete mode 100644 _servicedata create mode 100644 appstream-glib-0.2.2.tar.xz delete mode 100644 appstream-glib-0.7.5.tar.xz delete mode 100644 openSUSE-appstream-process diff --git a/_service b/_service deleted file mode 100644 index ef5cd3a..0000000 --- a/_service +++ /dev/null @@ -1,14 +0,0 @@ - - - https://github.com/hughsie/appstream-glib.git - git - 0.7.5 - enable - appstream_glib_0_7_5 - - - *.tar - xz - - - diff --git a/_servicedata b/_servicedata deleted file mode 100644 index 0766db0..0000000 --- a/_servicedata +++ /dev/null @@ -1,4 +0,0 @@ - - - https://github.com/hughsie/appstream-glib.git - 92722fe24b0ba165a65efc565aa52a372b440604 \ No newline at end of file diff --git a/appstream-glib-0.2.2.tar.xz b/appstream-glib-0.2.2.tar.xz new file mode 100644 index 0000000..b9a54b0 --- /dev/null +++ b/appstream-glib-0.2.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:20e0464114d5ddea504f82dc5d5741ab02400d1691f58baa4b3d2101b842fb0a +size 1518664 diff --git a/appstream-glib-0.7.5.tar.xz b/appstream-glib-0.7.5.tar.xz deleted file mode 100644 index a5d4b03..0000000 --- a/appstream-glib-0.7.5.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eec264fd1b7acdf78bade15f6edcbfbcb3d1fced0251ecc3bbce8f558b6586d9 -size 2230288 diff --git a/appstream-glib.changes b/appstream-glib.changes index 997a539..07d407f 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,1452 +1,3 @@ -------------------------------------------------------------------- -Thu Jan 25 15:55:23 UTC 2018 - dimstar@opensuse.org - -- Update to version 0.7.5: - + Add as_app_parse_data(). - + Add as_store_get_apps_by_provide(). - + Add more GObject Introspection annotations for Python. - + Describe connection problems/HTTP errors when validating - images. - + Do not use an 'enable' prefix for meson arguments. - + Don't expect an enum when really passing a bitfield. - + Don’t fall back to en if other languages are available. - + Explicitly require a new enough json-glib. - + Fix a crash when calling as_release_add_location() directly. - + Fix appstream-compose when using new-style desktop IDs. - + Fix compile with GCab v1.0. - + Generate icons and samples for emoji fonts.. - + Never change the default screenshot when processing AppData. - + Support OARS v1.1 additions. - + Use pngquant to make the application icons take up less space. -- Add pngquant Requires: new runtime dependency to make the - application icons take up less space. - -------------------------------------------------------------------- -Mon Nov 13 11:08:55 UTC 2017 - dimstar@opensuse.org - -- Update to version 0.7.4+git.3: - + Do not try to extract duplicate files in the icon theme - packages. - + Fix the arithmetic when fitting an image in 16:9 - -------------------------------------------------------------------- -Fri Nov 10 06:59:27 UTC 2017 - fezhang@suse.com - -- Update to version 0.7.4: - + trivial: Disable the fonts self tests in the builder - -------------------------------------------------------------------- -Fri Nov 03 11:49:25 UTC 2017 - dimstar@opensuse.org - -- Update to version 0.7.3+git.20171103 (f230c8): - + Only try to set the file permissions on regular files. - + Add the 'hardware' requires type. - -------------------------------------------------------------------- -Tue Oct 24 13:09:40 UTC 2017 - dimstar@opensuse.org - -- Update to version 0.7.3: - + Add support for URL launchable types - + Prefer /usr/share/metainfo as default path for metainfo files - + Do not assign "flatpak" as an app's origin when no origin was - found. - + Add as_app_get_release_by_version(). - + lib/app-validate: Fix typo in variable name. - + Write XML for newer AppStream specification versions. - + Add as_app_get_screenshot_default(). - + Add AS_VERSION_PARSE_FLAG_USE_BCD when formatting version - strings. - + Add new launchable types from the 0.11 series of the spec. - + Fix the inode mode to be sane on extracted files. - -------------------------------------------------------------------- -Thu Sep 14 11:35:44 UTC 2017 - dimstar@opensuse.org - -- Update openSUSE-appstream-process: exit early if as-builder does - not end with exit 0. - -------------------------------------------------------------------- -Tue Sep 5 20:26:36 UTC 2017 - jengelh@inai.de - -- Trim and ensure neutrality of descriptions. - -------------------------------------------------------------------- -Mon Sep 4 10:52:58 UTC 2017 - dimstar@opensuse.org - -- Update License to "LGPL-2.1+ AND GPL-2.0+": the client tools - (builder, compose and util) are licenses GPL-2.0+, the library - is LGPL-2.1+. - -------------------------------------------------------------------- -Fri Sep 01 18:48:53 UTC 2017 - dimstar@opensuse.org - -- Update to version 0.7.2: - + Allow remote icon types for desktop AppData files. - + Do not check the suffix of tags. - + Prefer /usr/share/metainfo as default path for metainfo files. - + build: Enable C99 support in meson.build. - + build: Define _XOPEN_SOURCE in order to expose realpath() in - headers. - + libappstream-glib: Use g_ascii_strcasecmp() instead of - strcasecmp(). - + libappstream-builder/utils: Drop an unreachable branch. - + libappstream-glib/self-test: Add some additional checks. - -------------------------------------------------------------------- -Fri Sep 01 18:48:41 UTC 2017 - dimstar@opensuse.org - -- Update to version 0.7.1: - + Validate the format according to the spec. - + Add kinds for application provides. - + Skip loading desktop data from Snap directory. - + Update the SPDX license list to 2.6. - + Support CompulsoryForDesktops in YAML. - + Have plugins link with asglib along with asbuilder. - + meson: avoid unnecessary gdk dependency. - + meson: introspection optional. - + meson: Install appdata-xml.m4. - + build: Make gperf dependency fully required. - + Fail to validate if AppData screenshots are duplicated. - -------------------------------------------------------------------- -Mon Jun 26 06:56:38 UTC 2017 - zaitor@opensuse.org - -- Update to version 0.7.0: - + trivial: Fix a -Wpointer-sign warning. - + Switch to the meson build system. - + build: Improve build-api wrapper for Meson. - + build: Add options for building API docs and man pages. - + build: Conditionally generate man pages. - + build: Conditionally generate the API reference. - + trivial: Fix the autogenerated pkgconfig files. - + trivial: Add back the Requires and Requires.private in the .pc - files. - + Remove the cache-id functionality. - + trivial: Ensure HAVE_GCAB is set when libgcab is being used. - + Add as_store_get_apps_by_id_merge(). - + trivial: Try linking the GIR file with the local - appstream-glib. - + Show a warning if adding keywords after the keyword cache was - created. - + Fix the default plugin directory used by appstream-builder. - + Add the limits in the validation output messages. - + trivial: Prevent crash when a sanity check fails. - + trivial: Remove the ability to run threaded. - + Remove functionality processing an old metadata file. - + trivial: Fix a warning message to be more clear. - + trivial: Fix a variable with a misleading name. - + Actually return failure if the AsbTask fails. - + Add the missing shell-extension plugin. - + trivial: Remove autotools fixups no longer required. - + Do not enforce that the project_group is a valid - environment_id. - + Do not add the GNOME-Software-specific categories or icons by - default. - + Enable Travis CI for Fedora 25 and Debian Stretch. - + Allow compiling with newer versions of meson. - + trivial: Fix the meson version compare value. - + Fix regression when building component types without icons. - + as-app-builder: Don't cast gsize to guint32 when getting file - length. - + trivial: Fix an error message in news-to-appdata. - + Do not write a timestamp when using news-to-appdata. - + trivial: Ensure every app has format set before adding to - store. - + trivial: Fix up several small memory leaks. -- Add meson BuildRequires and switch autotools macros configure, - make and makeinstall to meson, meson_build and meson_install - following upstream switch to Meson build system. - -------------------------------------------------------------------- -Mon Jun 26 06:56:07 UTC 2017 - zaitor@opensuse.org - -- Update to version 0.6.13: - + Add functions for getting the AsApp search match. - + Add functions for getting the AsStore search match. - + Allow using the app origin as a search keyword. - + trivial: Use the new custom tag in the self tests. - + Add support for . - + trivial: Fix up some broken links in the generated - documentation. - + Add support for icon scaling. - + Add as_utils_guid_from_data(). - + Support non-numeric version numbers correctly. - + trivial: Do not store the .shell-extension prefix in the search - cache. - + Casefold all stemmed entries. - + trivial: Add a regex command to appstream-util for testing - firmware versions. - + Add a 'check-component' command to appstream-util. - + Add as_app_remove_category(). - + Add as_app_remove_kudo(). - -------------------------------------------------------------------- -Mon Apr 24 10:51:33 UTC 2017 - dimstar@opensuse.org - -- Update to version 0.6.12: - + Copy hash table keys from AsApp to avoid them being used after - they've been freed. - + Validate kudos in AppData and AppStream files. - + Fix the predicate comparison when using globs in metainfo - files. - -------------------------------------------------------------------- -Tue Mar 21 09:55:23 UTC 2017 - zaitor@opensuse.org - -- Update to version 0.6.11: - + Don't crash when using 'appstream-util show-search-tokens'. - + Fix a problem with appstream-compose with older AppData files. - + Make content_rating a requirement for any component with the - 'Game' category. - + trivial: Update app ID rename list. - + Revert "Enable the stack protection in local builds". - + Show a warning if a desktop file is not found when required. - + trivial: Report the archive filename if it cannot be opened. - + Fix compile with -Wdiscarded-qualifiers. - + Parse small version numbers correctly. - + trivial: Split out some common functionality. - + trivial: Find .pak translations in all libdirs. - + Add initial support for Mozilla .xpi translations. - -------------------------------------------------------------------- -Sat Mar 11 21:41:07 UTC 2017 - zaitor@opensuse.org - -- Update to version 0.6.10: - + trivial: post release version bump. - + Ignore

in AppStream markup. - + its: add to tags extracted for translation. - + as-node: Add back as_node_context_{get,set}_source_kind. - -------------------------------------------------------------------- -Tue Feb 28 11:48:25 UTC 2017 - dimstar@opensuse.org - -- Update to version 0.6.9: - + Revert "Require name and summary for validate-relax". - + Fail to validate if the release children are in the wrong - order. - + Fail to validate if any release is in the future. - + Add AsFormat object. - + Add new API to GsApp to handle AsFormat objects. - + Do not set the AsApp state using the AsRelease state. - + Recalculate the state when formats are added or removed from a - AsApp. - + Deprecate app_set_source_file() and app_set_source_kind(). - -------------------------------------------------------------------- -Thu Feb 02 14:37:24 UTC 2017 - zaitor@opensuse.org - -- Update to version 0.6.8: - + Do not ignore type=replace merge components. - + Tighten a rule that classifies apps as web-apps. - + Support reading metainfo.xml files when using - appstream-compose. - + Read and write the tag. - + appstream-compose: Support appdata with no desktop files. - + AsStore: hold a ref in hash_unique_id to avoid use-after-free. - + trivial: profile: Free mutex resources in finalize(). - + trivial: Update app ID rename list. - + store: Fix use after free with hash table keys. - + Add a destructor for AsRefString. - + Make gperf a hard dep. - + Fix the build with gperf 3.1. - + Ignore -Wconversion and -Wsign-conversion warnings from - generated file. - + Require name and summary for validate-relax. - + util: Add a dummy update_contact to appdata-from-desktop. - + trivial: Fix a crash when removing apps from the store. - + Release version 0.6.8. -- Add gperf BuildRequires: New dependency. - -------------------------------------------------------------------- -Thu Jan 12 11:10:26 UTC 2017 - dimstar@opensuse.org - -- Update to version 0.6.7: - + Scan /usr/share/metainfo as well when building appstream-data. - + Resolve relative symlinks when extracting archives. - + Add a test for extracting relative symlinks. - + Add AsRequire as a way to store runtime requirements. - + Support glob and regex matches in requires compare tags. - + Update the SPDX licence list to v2.5. - + Remove invalid SPDX licenses from content license lookup table. - + Revert "Remove invalid SPDX licenses from content license - lookup table". - + Add support for "+" operator at the end of SPDX license - identifiers. - + Fix dep extraction when multiple versions are available. - + Recursively add subpackage deps into the main package. - + Allow loading application XPM icons. - + Write log files in a better way. - + Fix a crash when using as_release_get_location_default(). - + build: Enable C99 support in configure.ac. - + Limit recursive deps lookup to the same source package. - + Only fail to validate in AppData desktop components. - + Release version 0.6.7. - -------------------------------------------------------------------- -Fri Dec 16 17:25:55 UTC 2016 - zaitor@opensuse.org - -- Update to version 0.6.6: - + trivial: - - Remove two unused variables. - - Use g_autoptr to avoid a Coverity warning. - - Do not leak the entry if the file cannot be read. - - Fix the self tests now we're stemming the tag cache. - - Show a total process time when using appstream-util - --profile. - - Don't split the text every time in the XML parsing hot path. - - Add as_ref_string_debug(). - - Add as_ref_string_new_static(). - - Fix a tiny memory leak when escaping cdata. - - Fix unused variable warnings. - - Use -Wunused. - - Remove an ununsed variable. - - Remove a tiny compiler warning. - - Do not attempt to parse unknown tags when converting. - - Don't include trailing whitespace from AppData files. - - Output the release state if the export is trusted - - Add some asserts to shut up clang. - + Check the return value of the stat call. - + Do not save the XML attributes if the node or parent node is - being ignored. - + Don't recommend use of DISTCHECK_CONFIGURE_FLAGS. - + Deduplicate the AsNode attribute key and value using a hash - table. - + Deduplicate common AsNode cdata sections for some tag types. - + Dedupliate nonstandard tag names using a hash table. - + Detect invalid files in the libyaml read handler. - + Don't export NULL tags from AppData file. - + Add a refcounted overloaded C string object. - + Use refcounted strings in all objects. - + Lazy load structures in AsRelease. - + Use refcounted strings as the localised key. - + Lazy load the screenshot captions storage. - + Allocate the release sizes at runtime. - + trivial: Use a finer threshold when performing massif. - + Cache the stemmer results in a hash table. - + Add support for ONLY_NATIVE_LANGS when parsing yaml files. - + Use full RELRO in the client executables. - + Enable the stack protection in local builds. - + Set a better icon for codecs. - + Make AsRefString thread safe. - + Fix one more thread safety issue with AsRefString. - + Don't regenerate .pot files with every build. - + Don't add for addons. - + Don't add for addons. - + Don't add for addons. - + Don't add for addons. - + Do not absorb core addons into the main application. - + Add Geary to the app id fallbacks. - + Add AS_APP_QUIRK_IS_PROXY. - + Add as_release_state_to_string(). - + Subsume the AppData releases into AppStream items. - -------------------------------------------------------------------- -Mon Nov 07 16:30:58 UTC 2016 - dimstar@opensuse.org - -- Update to version 0.6.5: - + Trivial changes: - - Allow the stemmer to be disabled at runtime for testing. - - Allow priming the search cache using a NULL search value. - - Allocate less strings when generating the token cache. - - Show threaded tasks in bold in the profile output. - - Speed up checking token validity by a few ms. - - Restore behaviour compatibility to fix self tests. - - Add API to set the smallest recorded delay time. - - Only load native languages from desktop files when the flag - is set. - - Output profiling infomation to stderr. - - Unsingleton AsStemmer and use a shared instance in AsStore. - + Do not sent a REMOVED signal when deleting a transient temp - file. - + Process file changes when an attribute changes. - + Handle files being moved into monitored AppStream directories. - + Add a 'watch' command to appstream-util. - + Monitor missing AppStream directories. - + Revert "trivial: Restrict the bundle kind when parsing local - files". - + Ensure the component scope is set when loading yaml files. - + Always copy the installed state when replacing AppData with - AppStream. - + Merge also the metadata when merging two apps. - + Add app-removed, app-added and app-changed signals to AsStore. - + Only transliterate when the locale requires it. - + Add as_store_load_search_cache(). - + Load the search token blacklist into a hash table. - + Use multiple threads to load the search cache. - + Only load native languages when parsing AppStream data. - + Allow the client to control what search fields are indexed. - -------------------------------------------------------------------- -Thu Oct 13 12:13:37 UTC 2016 - dimstar@opensuse.org - -- Update to version 0.6.4: - + trivial: - - post release version bump. - - Allow detailed profiling when using as_store_from_file(). - - Make as_profile_clear() threadsafe. - - Make as_profile_dump() threadsafe. - - Fix building AppStream metadata when using local files. - - Fix two potential deadlocks in the AsProfile code. - - Add some sanity checks to the unique-id hash tests. - - Fix a couple of warnings with -Wundef. - + Add support for AppImage bundles. - + Fix building metadata on repos with mixed architecture content. - + Add as_store_add_apps(). - + Add as_profile_prune() for limiting the profiling output. - + Add as_profile_set_autoprune() for automatically limiting the - profiling output. - + Fix the CSM rating age calculation. - + Add as_content_rating_get_value(). - + Fix setting the origin for Flatpak user repos. - + Never inhierit Name and Comment when using appstream-compose. - + Don't show a critical warning on invalid yaml file. - + Fix a small memory leak when parsing yaml files. - + Add functions to build and validate an AppStream ID. - + Add flag to only load uncompressed files into a store. - + Allow filtering applications based on merge type. - + Release version 0.6.4. - -------------------------------------------------------------------- -Mon Sep 19 12:44:38 UTC 2016 - dimstar@opensuse.org - -- Update openSUSE-appstream-process: do not rename the various - appstream files to contain the sha hash in their filename: zypp - is not (yet) able to cope with this (boo#999047). - -------------------------------------------------------------------- -Sun Sep 11 09:50:57 UTC 2016 - zaitor@opensuse.org - -- Update to version 0.6.3: - + trivial: - - Fix a -Wundef compiler warning. - - Sync example spec file with downstream. - - Do not write for unknown types. - - Fix up tests after the -lang auto-dep commit. - + Support components with merge=replace rules. - + Add a component kind of 'driver'. - + Refactor the desktop file icon loading code. - + Convert the built unknown icons to the correct kind depending - on the action. - + Add -lang package as a dependency in order to properly detect - translations (gh#hughsie/appstream-glib#135). - + Add an easy way to add a modalias to an existing file. - + Add an easy way to add a language to an existing file. -- Drop appstream-glib-lang.patch: Fixed upstream. - -------------------------------------------------------------------- -Thu Sep 8 07:59:12 UTC 2016 - dimstar@opensuse.org - -- Update openSUSE-appstream-process: - + Do not include -failed.xml.gz: people complain about the - additional ~ 100KB zypp downloads on a repodata refresh at 'no - value for them'. The failed.xml.gz is not needed for regular - operations, but was a great help for packagers to find out why - their app was vetoed. They will need to find different ways to - get this info. - + Rename appdata-screenshots.tar to appdata-screenshots-$HASH.tar - to help mirrorbrain offload this file to mirrors. - -------------------------------------------------------------------- -Mon Sep 5 14:24:27 UTC 2016 - dimstar@opensuse.org - -- Add appstream-glib-lang.patch: Add -lang package as a dependency - in order to properly detect translations. - -------------------------------------------------------------------- -Mon Sep 05 13:49:29 UTC 2016 - dimstar@opensuse.org - -- Update to version 0.6.2: - + New Features: - - Add a hash function specifically designed for unique-ids. - - Add AS_BUNDLE_KIND_CABINET. - - Remove the inf parsing from appstream-glib. - + Bugfixes: - - Check if icon name is unset before checking the prefix. - - Do not merge all LangPack entries. - - Do not require an icon from LOCALIZATION kind. - - Do not use the deprecated GNOME_COMPILE_WARNINGS. - - Do not use the prefix check when parsing YAML. - - Fix gcc shift warnings on 32 bit platforms. - - Ignore system datadirs that are actually per-user. - - Invalidate the unique-id if any of the parts are changed. - - Make upgrade check for SPDX license string. - - Pay attention to errors from libyaml - (gh#hughsie/appstream-glib#129). - -------------------------------------------------------------------- -Tue Aug 16 13:43:47 UTC 2016 - dimstar@opensuse.org - -- Update to version 0.6.1: - + trivial: post release version bump. - + Add Sugar as a valid desktop environment - (gh#highsie/appstream-glib#118). - + Do not save the 'X-' prefixed keys to the AppStream metadata. - + correct issue in transifex link - (gh#hughsie/appstream-glib#119). - + trivial: Factor out a soon-to-be-shared function. - + trivial: Add two more renamed desktop IDs. - + Add two new GCC warnings and fix up signed/unsigned issues. - + Be more careful choosing warning flags. - + trivial: Fix some gtk-doc markup. - + Add AsReview. - + trivial: Remove AsReview.karma as it's implementation specific. - + trivial: Update git.mk to latest upstream copy. - + Port away from intltool. - + Do not split up the main AudioVideo category. - + Don't change ABI when built with/without gperf - (gh#hughsie/appstream-glib#123). - + Avoid unsatisfiable development dependency when built without - libgcab (gh#hughsie/appstream-glib#122). - + trivial: Post branch version bump. - + Remove specific support for flatpak. - + trivial: Fix some gtk-doc markup. - + trivial: Add AS_BUNDLE_KIND_SNAP. - + trivial: Add AS_BUNDLE_KIND_PACKAGE. - + Add as_app_equal(). - + Add as_app_set_branch(). - + Include the architecture in the equality check. - + Include the origin in the equality check. - + Include the scope in the equality check. - + Include the distribution system in the equality check. - + trivial: Fix the origin name when using the symlink name. - + trivial: Fix the flatpak scope when using the symlink name. - + trivial: Show the unique ID when using 'appstream-util search'. - + Add as_store_get_app_by_unique_id(). - + Enable globbing in as_app_equal(). - + Restrict addons to the same scope and bundle kind. - + Include the version in the equality check. - + Add as_utils_unique_id_build(). - + Allow multiple components with the same AppStream ID in the - AsStore. - + trivial: Don't write invalid width and height properties. - + trivial: Add some initial self tests for - AS_STORE_ADD_FLAG_USE_UNIQUE_ID. - + Skip DEP-11 tests when DEP-11 is not enabled. - + as_store_from_file_internal: don't redundantly monitor files. - + as_store_from_file_internal: set up path data for the file - itself. - + Use an array of application objects in the ID hash. - + trivial: Use the unique ID in the dedupe logs. - + trivial: Fix critical warning when parsing qm files without a - domain. - + Add support for Google .PAK file to extract the data for - apps. - + Always use wildcards when adding apps to the store. - + Add a fast as_utils_unique_id_equal() to compare IDs for - equality. - + Add as_utils_unique_id_valid() and use it before parsing. - + trivial: Fix as_utils_unique_id_equal() to work with multiple - globs. - + Support merge components. - + Use a more relaxed unique-id match for merge components. - + Add some more validation checks for keywords. - + trivial: Use the existing quirk as it can be made useful again. - + trivial: Parse the unique_id correctly when searching. - + trivial: Check if the flatpak ID is valid before using. - + Only subsume a safe subset from merge components. - + trivial: Update to latest translations from transifex. - + trivial: Switch from Transifex to Zanata. - + trivial: Decompress .pak files when getting languages. - + Don't include the version in the unique ID. - + Don't include the architecture in the unique ID. - + Allow subsuming each property individually. - + Add SUSE-Public-Domain to License map - (gh#hughsie/appstream-glib#126). - + Add the TRANSLATE URL kind. - + trivial: Fix some gtk-doc markup. - + No validation failure for lots of releases. - + trivial: Be a bit more helpful when reporting validation - warnings. - + trivial: Fix the comment text for 'help' when upgrading. - + Print max caption length when validating. - + trivial: Allow setting the output trusted mode using an - environment variable. - + trivial: Don't add a duplicate when it exists - already. - + Ensure predictable output order of XML attributes. - + Support AppStream merge components. - + Add support for application suggestions. - + Make asglib read current component-type names. - + yaml: Read all component types, not just desktop-apps. - + Add console-app component type. - + trivial: Fix validation of console-application components. - + Release version 0.6.1. - -------------------------------------------------------------------- -Thu Jul 14 09:47:41 UTC 2016 - zaitor@opensuse.org - -- Update to version 0.5.17: - + trivial: post release version bump. - + Fix gtk-doc build when builddir != srcdir. - + Optionally use libstemmer for keyword stemming. - + trivial: Do not include the prefix in the id-filename. - + trivial: Disable libstemmer by default. - + trivial: Get rid of useless internal-only gtk-doc markup. - + trivial: Fix 'make check' without libstemmer. - + Fall back to the country code in as_app_get_language(). - + Add an AS_STATE_PURCHASABLE constant so we can support - purchasing apps. - + Add an AS_STATE_PURCHASING constant. - + monitor: Use non-deprecated glib API for monitoring renames. - + trivial: Fix a compiler warning with libstemmer disabled. - + store: Don't emit a warning when flatpak user directory doesn't - exist. - + Correct disabling of timestamps for gzip. - + trivial: Remove the X- hack from parsing the category list. - + Add external (X-*) keys of an app's desktop file as metadata - AsApp. - + Fix missing keywords in the previous commit. - + Don't add multiple categories for apps with AudioVideo. - + Release version 0.5.17 - -------------------------------------------------------------------- -Tue Jun 14 09:37:28 UTC 2016 - dimstar@opensuse.org - -- Update to version 0.5.16: - + Add yast2-branding-openSUSE if an app depends on yast2. - + trivial: post release version bump. - + Fix g_ptr_array_sort use. - + Do not rename a category ID in AsApp. - + Never allow NULL to be added to AsApp string array. - + Allow setting the id prefix and origin using a symlink file - name. - + trivial: Do not load Flatpak repos when searching. - + Correctly detect new AppStream applications in new directories. - + Add elementary to list of project groups. - + trivial: Fix make distcheck. - + trivial: Fix several issues to ensure changed signal are sent. - + Load metainfo files if present. - + Release version 0.5.16. -- Drop - 0001-Add-yast2-branding-openSUSE-if-an-app-depends-on-yas.patch: - fixed upstream. - -------------------------------------------------------------------- -Mon May 23 11:50:12 UTC 2016 - dimstar@opensuse.org - -- Update to version 0.5.15: - + trivial: post release version bump. - + Add AS_APP_QUIRK_HAS_SHORTCUT. - + trivial: Try to shut up libasn. - + Ignore files with invalid suffixes when building installed - stores. - + Add AS_APP_QUIRK_NOT_LAUNCHABLE. - + trivial: Add three more apps to the ID fallback table. - + trivial: Fix a critical warning when an AppData file has - invalid input. - + Fall back to the icon name for LOCAL icon types. - + yaml: Make icon parser spec compliant. - + trivial: Add a work-around for the new libreoffice in the - builder. - + trivial: Set missing icon prefix for cached YAML. - + Sort archive contents by name for repeatable results. - + Omit timestamp from gzip compressed files. - + README.md: add note for glob usage. - + README.md: wrap at 80 chars. - + trivial: Add some more debugging to debug an issue. - + Rename the xdg-app support to the new name: Flatpak. - + trivial: Add some support for flatpak self tests. - + Addons can have duplcate names. - + Show the app name when complaining about missing description in - the metadata. - + Revert "trivial: Add some support for flatpak self tests". - + Always add /var/lib/flatpak/appstream as a possible Flatpak - path. - + Add all applications for all architectures when loading - Flatpak. - + Set the architecture of discovered Flatpak apps. - + Correctly set the architecture on newly discovered - applications. - + Save the ID prefix in more places. - + Release version 0.5.15. -- Drop 0001-Omit-timestamp-from-gzip-compressed-files.patch and - 0001-Sort-archive-contents-by-name-for-repeatable-results.patch: - fixed upstream. - -------------------------------------------------------------------- -Thu May 19 19:40:59 CEST 2016 - hpj@suse.com - -- Update to GNOME 3.20.2 (FATE#318572). - -------------------------------------------------------------------- -Tue May 3 23:47:22 UTC 2016 - mgorse@suse.com - -- Update to GNOME 3.20 Fate#318572 - -------------------------------------------------------------------- -Mon May 2 13:29:57 UTC 2016 - stefan.bruens@rwth-aachen.de - -- Make output of appstream-builder repeatable (boo#977885): - + 0001-Sort-archive-contents-by-name-for-repeatable-results.patch - + 0001-Omit-timestamp-from-gzip-compressed-files.patch - -------------------------------------------------------------------- -Tue Apr 26 09:05:41 UTC 2016 - zaitor@opensuse.org - -- Update to version 0.5.14: - + Ignore desktop files with X-AppStream-Ignore. - + Add search-pkgname to appstream-glib. - + Add AS_APP_QUIRK_NEEDS_REBOOT. - + Fall back to searching in as_store_get_app_by_pkgname(). - + Add AS_APP_QUIRK_NOT_REVIEWABLE. - + Search /usr/share/metainfo for local files. - + trivial: Fix critical warning when validing broken AppStream - files. - + Add the Audio+Video categories from AppStream XML too. - + Add as_screenshot_get_image_for_locale(). - -------------------------------------------------------------------- -Thu Apr 14 16:17:34 UTC 2016 - dimstar@opensuse.org - -- Require the main-package by the -devel package: the AS-utils are - expected to be available to a developer. - -------------------------------------------------------------------- -Mon Apr 4 09:38:19 UTC 2016 - dleuenberger@suse.com - -- openSUSE-appstream-process: No longer pass --api-version to the - appstream-builder call (boo#973385). - -------------------------------------------------------------------- -Sat Apr 02 12:34:23 UTC 2016 - zaitor@opensuse.org - -- Update to version 0.5.13: - + trivial: post release version bump - + Also filter YAML apps before adding to the store - + trivial: Fix a gtk-doc markup warning - + Support more DEP11 YAML markup - + Always veto anything with X-Unity-Settings-Panel - + Use a wildcard for the font preview checksum - + Enforce the requirement of AppData for - 'Categories=DesktopSettings' - + Add as_store_remove_apps_with_veto() - + trivial: Only remove apps with a veto when specified - + Do not hardcode x86_64 when searching for xdg-app metadata - + Release version 0.5.13 - -------------------------------------------------------------------- -Sat Apr 02 12:34:03 UTC 2016 - zaitor@opensuse.org - -- Update to version 0.5.12: - + trivial: post release version bump - + trivial: Add missing gtk-doc - + Add support for content ratings - + trivial: Add some more OARS CSM ages - + Split up AudioVideo into two categories - + Add as_app_get_id_no_prefix() - + Add AS_APP_QUIRK_MATCH_ANY_PREFIX - + Add as_store_get_app_by_id_ignore_prefix() - + Add as_store_get_apps_by_id() - + Merge duplicate AppStream component entries - + Add as_app_has_compulsory_for_desktop() - + Add a merge-appstream command to appstream-util - + Release version 0.5.12 - -------------------------------------------------------------------- -Tue Mar 08 14:27:58 UTC 2016 - dimstar@opensuse.org - -- Update to version 0.5.11: - + trivial: post release version bump - + trivial: Do not require icons for generic component types. - + Fix ordering of parameters to as_store_search_app_info. - + Add AS_APP_KIND_LOCALIZATION. - + Fix crash when validating files containing invalid remote URIs. - + Add as_markup_import() - + Add support for GNOME Shell extensions.. - + Do not tokenize the application ID or package name. - + trivial: When searching look in the user app-info dirs too. - + Do not mark all subsumed applications as installed. - + trivial: Fix FALSE/NULL confusion spotted with GCC6. - + trivial: Fix a tiny introspection warning. - + trivial: Fix another compile warning with GCC6. - + Add a AsMarkupConvertFormat to as_markup_import(). - + Split out as-markup into a new source file. - + Add as_utils_string_replace(). - + trivial: Prefer
    over
      when the list start is unknown. - + Support importing HTML text using as_markup_import(). - + Add a 'markup-import' command to appstream-util for testing - text import. - + Implement DEP-11 MediaBaseUrl support. - + Tokenize names like 'half-life' into two tokens for searching. - + Release version 0.5.11. -- Add pkgconfig(json-glib-1.0) BuildRequires: new dependency. - -------------------------------------------------------------------- -Tue Mar 01 10:23:07 UTC 2016 - zaitor@opensuse.org - -- Update to version 0.5.10: - + Add AS_APP_KIND_SHELL_EXTENSION. - + Add AS_APP_KIND_OS_UPDATE. - + trivial: Display the search sort key in hex. - + Do not tokenize mimetypes. - + Support loading XML files using as_store_from_bytes(). - + trivial: Fix critical warning for xdg-app bundles. - + Add AsAppQuirk. - + trivial: Add AS_APP_QUIRK_HAS_SOURCE. - + Add a 'split-appstream' command to appstream-util. - + Release version 0.5.10. - -------------------------------------------------------------------- -Wed Feb 17 09:33:30 UTC 2016 - dimstar@opensuse.org - -- Update to version 0.5.9: - + trivial: post release version bump - + Fix dates in NEWS - It's 2016! - + Add missing G_BEGIN_DECLS in libappstream-glib/as-tag.h. - + Accept FSFAP as a valid metadata license - + Update the SPDX license list - + Fix a validation error for metainfo files with descriptions - + store: Keep track of which appinfo dirs are added and never - re-add them - + store: Pick up newly added appinfo dirs for xdg-app remotes - + trivial: Fix a couple of small memory leaks - + Release version 0.5.9 - -------------------------------------------------------------------- -Wed Feb 17 09:32:10 UTC 2016 - dimstar@opensuse.org - -- Update to version 0.5.8: - + trivial: post release version bump - + trivial: Remove the hardcoded hack for nautilus - + trivial: Remove some dead code - + trivial: Remove a warning for no recent upstream release - + trivial: Remove the veto for ConsoleOnly - + Use the project_group heuristics when parsing AppData files - + Remove the hardcoded rule for xfdashboard as it has been - reported upstream - + Only load supported icon kinds when using appstream-compose - + trivial: Remove support for old-style firmware GUIDS-as-IDs - + trivial: Relax the XML header requirement - + Reject an invalid project group when parsing - + Use heuristics when building metadata with an AppData file - + trivial: Fix linking error when building appstream-compose - + Add support for per-user and system-wide xdg-app installed - stores - + Set the xdg-app origin using the filename - + Add a modify command to appstream-util - + trivial: Add the missing AsBundle to gtk-doc - + Add AsTranslation to support tags in AppData - files - + Fix a regression in the icon_path logic from the xdg-app merge - + Support multi-line copyright statements - + Allow setting state on AsRelease objects - + Support the QT translation system - + Parse the sections in the QM file format - + trivial: Fix regression with AppStream metadata in xmls - + Add support for the GENERIC component kind - + Add a flag for skipping invalid AppStream files - + Remove support for Ubuntu app-install data - + Set the xdg-app origin on the store, and only set app origin to - the remote name - + trivial: Fix up self tests after generic kind - + Move the kudo and provides autodetection to libappstream-glib - + Use predictable sorting when outputting - + trivial: Do not require icons for generic or runtime kinds - + Show the source of the 'appstream-util check-root' failure - + Do not respect the icon_root when using as_store_from_file() - + Blacklist the xdg-app AppStream data as the correct data is - added manually - + trivial: Support loading the xdg-app AppStream data from inside - the sandbox - + trivial: Prefer the xmls icon rule over the xdg-app one - + dep11: Support stock icons - + Escape data before writing to an HTML file - + Ignore temp and hidden files in AsMonitor - + Release version 0.5.8 - -------------------------------------------------------------------- -Sat Feb 6 13:10:23 UTC 2016 - dimstar@opensuse.org - -- openSUSE-appstream-process: fix very stupid typo. 4 eyes is not - enough. - -------------------------------------------------------------------- -Fri Jan 29 16:02:58 UTC 2016 - dimstar@opensuse.org - -- openSUSE-appstream-process: use specific temporary/cache - directories between calls. Otherwise, icons extracted from a - previous run bleed into the next one. - -------------------------------------------------------------------- -Fri Jan 29 11:57:01 UTC 2016 - dimstar@opensuse.org - -- Update to version 0.5.7: - + trivial: post release version bump. - + Detect web-apps which are added as .desktop files. - + Make the check for screenshot equality more robust. - + trivial: Fix self tests after the xdg-app fixes. - + trivial: Never write empty tags. - + Move the blacklisted application list to the front-end client. - + ostree: Work around threadsafety issue with - g_get_language_names. - + ostree: Remove unnecessary workarounds for bundle paths. - + Move the gettext parsing to libappstream-glib. - + trivial: Use G_DEFINE_QUARK. - + Only build the test firmware files when using - --enable-firmware. - + Allow disabling font support with --disable-fonts. - + Allow multiple NLS domains to be specified when searching. - + Add as_image_load_filename_full(). - + Support date=iso8601 attributes in markup. - + Add appstream-compose. - + Remove all traces of ostree. - + Remove the GStreamer plugin. - + Remove the GIR and GResource, nm and KDE-specific plugins. - + trivial: Fix 'make distcheck' with the new gettext test files. - + trivial: Fix building firmware after the ostree removal. - + Release version 0.5.7. - -------------------------------------------------------------------- -Mon Jan 18 13:49:06 UTC 2016 - dimstar@opensuse.org - -- Update to version 0.5.6: - + trivial: post release version bump. - + Accept various 'or later' metadata content licenses. - + libappstream-glib: Add the runtime ID kind. - + trivial: Fix a small memory leak when parsing debs. - + Assume a release value of '0' when unset. - + Fix AppStream generation when using duplicate .deb packages. - + Check the project_group when validating. - + Check name uniqueness when validating AppStream data. - + trivial: Mark some more strings as translatable. - + Install gettext ITS rules. - + Cull the application blacklist now we depend on AppData files - for the builder. - + trivial: Add the gettext files to the example spec file. - + Set a validation failure for files using when - being strict. - + Allow dumping inf files using appstream-util. - + trivial: Fix the Since: value on as_utils_is_spdx_license(). - + Always blacklist desktop files for uninstalling software. - + Automatically add missing .inf types as required. - + trivial: Fix the self tests after the blacklist cull. - + Prefer stock icons when using as_app_get_icon_default(). - + package-ostree: Init NEVRA on open otherwise we don't get the - right tmpdir name. - + asb-package-ostree: Fix things up for xdg-app use. - + ostree: Allow specifying a particular arch only. - + Release version 0.5.6. - -------------------------------------------------------------------- -Sun Dec 20 16:36:23 UTC 2015 - zaitor@opensuse.org - -- Update to version 0.5.5: - + Add a AS_APP_STATE_UPDATABLE_LIVE constant so we can support - live updates. - + Allow update_contact to be output in very limited conditions. - + Log when we auto-add kudos or keywords. - + Add the package name as another application search token. - + Add as_utils_license_to_spdx(). - + Only use the package license when not provided by the AppData - file. - + trivial: Fix a compiler warning. - + Fix a crash when tokenizing a NULL string. - -------------------------------------------------------------------- -Wed Nov 25 20:17:28 UTC 2015 - zaitor@opensuse.org - -- Update to version 0.5.4: - + New Features: Add as_utils_version_from_uint16(). - + Bugfixes: Generate GUID values according to RFC4122. -- Add pkgconfig(uuid) BuildRequires: New dependency. - -------------------------------------------------------------------- -Tue Nov 17 17:13:46 UTC 2015 - dimstar@opensuse.org - -- Update to version 0.5.3: - + trivial: post release version bump. - + trivial: Sync example spec file with downstream. - + Strip Win32 and Linux paths when decompressing firmware. - + Return the correct error when the desktop file has no - [Desktop Entry] group. - -------------------------------------------------------------------- -Tue Nov 17 17:04:18 UTC 2015 - dimstar@opensuse.org - -- openSUSE-appstream-process: Do not produce html files; - the biggest chunks of apps are done and the few users still - caring can produce them anytime out of the provided .xml.gz - files. - -------------------------------------------------------------------- -Sat Nov 7 14:00:47 UTC 2015 - zaitor@opensuse.org - -- Add pkgconfig(libgcab-1.0) BuildRequires: New dependency. - -------------------------------------------------------------------- -Mon Nov 02 11:00:29 UTC 2015 - dimstar@opensuse.org - -- Update to version 0.5.2: - + Do not overwrite the AppData URL with the one from the package. - + Do not ever store the KDE x-test locale data. - + Require AppData files to be present in the AppStream metadata. - + Use a sensible warning when processing desktop files with - NoDisplay=true. - + Simplify veto messages for missing and . - + Fix a typo in command name. - + Support super-HiDPI icons like shipped in Hedgewars. - + trivial: Do not subsume vetos if AS_APP_SUBSUME_FLAG_PARTIAL is - used. - + Accept a '0x' hexidecimal prefix when parsing a component. - + Always use a dotted-decimal representation of the version. - + Add AsProfile for speed profiling. - + trivial: Show the path when profiling - as_store_load_installed(). - + as_profile: Non-void function should return a value. - + trivial: Symbolic stock icons are valid. - + Add an --enable-profile option to appstream-util. - + Remove the long-obsolete appdata-validate tool. - + Add as_profile_set_autodump(). - + Monitor /usr/share/applications for apps without AppData when - using watch flags. - + Add as_markup_validate() to check descriptions. - + Allow as_markup_convert() to ignore errors. - + Always escape AppStream descriptions when doing passthrough. - + Add support for . - + Add the ability to attach blobs of data to AsRelease objects. - + Add the ability to parse .cab archives as AppStream stores. - + Use AsStoreCab to read .cab files when building metadata. - + Fix crash in validator when processing '
    1. '. - + Do not fail to install firmware if DriverVer is not set. - + Use as_utils_vercmp() to be correctly check versions for - equality. - + Try harder to deal with icons that have extension or full path - listed. - + Only accept UNIX paths for files in cab files. - + Do not use the DriverVersion for the inf file version. - + Use a MS-style version number when parsing a hex version. - + libappstream-glib: Do not parse ISO dates as uint32 version - numbers. - + Do not attempt to parse the version in - as_release_set_version(). - + Use a wildcard in the self tests to ignore GCab-generated hash - differences. - -------------------------------------------------------------------- -Wed Sep 16 09:00:22 UTC 2015 - opensuse-packaging@opensuse.org - -- Update to version 0.5.1: - + trivial: post release version bump - + Do not blacklist the 'desktop' token as this is sometimes - legitimate - + Support SPDX IDs with the LicenseRef prefix - + Support the SPDX 'NONE' and 'NOASSERTION' keywords - + trivial: Fix build warning in make check - + trivial: Fix a build error when running under ninja - + trivial: Remove prototype with no method - + Allow a filter filename to be used with the builder - + Introduce _cleanup_free_libc_ cleanup attribute - + Avoid using PATH_MAX - + Revert "Allow a filter filename to be used with the builder" - + Ignore empty AppStream XML files - + Add a few KDE applications that have changed desktop ID - + Don't show mangled version numbers as negatives - + Add another GNOME application that changed IDs - + libappstream-glib: Port to G_DECLARE_DERIVABLE_TYPE macro - + libappstream-builder: Port to G_DECLARE_DERIVABLE_TYPE macro - + Use GLib's cleanup functions instead of libgsystem's - + trivial: Fix the build - + trivial: Remove any support for installed appdata-extra files - + trivial: Drop as-cleanup.h include where not needed - + Do not fail to validate firmware in AppStream with no - screenshots - + Use glib's cleanup functions for libsoup as well - + Use glib's cleanup functions for GString - + Add support for release urgency - + Don't reallocate malloc'd memory with g_malloc - + Use specific types to remove the last _cleanup_free usage - + Use the typedef'd name in the code to help readability - + trivial: Fix --enable-ostree build - + trivial: Fix gcab generated checksums - + Release version 0.5.1 - -------------------------------------------------------------------- -Tue Sep 1 06:55:23 UTC 2015 - dimstar@opensuse.org - -- openSUSE-appstream-process: compress the status html files - (boo#942985). - -------------------------------------------------------------------- -Thu Aug 13 19:11:12 UTC 2015 - zaitor@opensuse.org - -- Update to version 0.5.0: - + Show a better error message when there's not enough text - before
        . - + Add two functions from fwupd for checking GUID strings. - + Fix the name of the D-Bus session enum. - + trivial: Remove unused prototype. - + Add support for the flashed firmware provide kind. - + Find the application in a store by the provide value. - + trivial: Do not run the slow GFileMonitor tests by default. - + Remove support for lower than AppStream 0.8. - + Remove an unused exported method. -- Rename libappstream-builder7 to libappstream-builder8 and - libappstream-glib7 to libappstream-glib8, following upstreams - soname change. - -------------------------------------------------------------------- -Thu Jul 23 14:11:53 UTC 2015 - zaitor@opensuse.org - -- Update to version 0.4.1: - + New Features: - - Add a 'compare' command to appstream-util. - - Add a 'mirror-local-firmware' command to appstream-util. - - Add a flag to relax the AppData Category=Settings - requirement. - - Add a flag to use non-optimal data sources when building - metadata. - - Add am 'incorporate' command to appstream-util. - - Add two flags to veto-ignore to relax the requirements for - metadata. - + Bugfixes: - - Be less strict when loading incorrect AppData files. - - Do not duplicate tags within a release. - - Do not expect the INF ClassGuid to be the ESRT GUID. - - Don't crash when parsing a with no description. - - Fix a potential crash spotted by clang. - - Fix autogen with latest Intltool. - - Ignore the prefix when loading system-wide AppStream - information. - - Include when writing the ignored metadata. - - Only write the release timestamp if non-zero. - - Remove the AppData veto when incorporating metadata. - - Search harder when using AS_ICON_LOAD_FLAG_SEARCH_SIZE. - - Sort multiple entries by name. - - Update the SPDX licence list to v2.0. - - When building metadata with the use-fallback flag accept - legacy icon names. - -------------------------------------------------------------------- -Mon Jul 13 13:03:39 UTC 2015 - dimstar@opensuse.org - -- Failing the test suite is not fatal. - -------------------------------------------------------------------- -Wed May 27 09:49:34 UTC 2015 - dimstar@opensuse.org - -- Update to version 0.4.0: - + Version the builder plugin location. - + Show a warning when the origin or basename isn't specified. - + Do not use the cache location when using install-origin with a - DESTDIR. - + Release version 0.4.0. - -------------------------------------------------------------------- -Mon May 11 06:16:16 UTC 2015 - dimstar@opensuse.org - -- Update to version 0.3.6+git.20150506: - + trivial: Set the catalog basename as additional metadata. - + Remove overzealous blacklisting entry. - + Detect recolorable symbolic icons. - + Fix exo-web-browser blacklist entry. - + Add text icons and sample text for some languages. - + Have another go at fixing font previews. - -------------------------------------------------------------------- -Wed Apr 22 07:22:32 UTC 2015 - dimstar@opensuse.org - -- Update to version 0.3.6+git.20150414: - + trivial: post-branch version bump - + Use the sanitized font filename as the cache-id - + trivial: Never attempt to mirror generated screenshots - + Check for duplicate screenshots when adding fonts - + trivial: Convert the porting document to markdown - -------------------------------------------------------------------- -Fri Apr 10 11:01:21 UTC 2015 - dimstar@opensuse.org - -- Update to version 0.3.6+git.20150409: - + Fix a crash for an invalid AppData file - -------------------------------------------------------------------- -Tue Apr 7 11:20:30 UTC 2015 - dimstar@opensuse.org - -- Move openSUSE-appstream-process definition from - libzypp-plugin-appdata to appstream-glib: as appstream-glib - provides the actual code, it's much easier to update the - openSUSE-appstream-process script in the same package. - -------------------------------------------------------------------- -Tue Apr 07 07:55:56 UTC 2015 - dimstar@opensuse.org - -- Update to version 0.3.6+git.20150407: - + trivial: post release version bump. - + Build: link libasb_plugin_font.la with GTK3. - + Allow using as_node_get_localized_unwrap() on unwrapped - description markup. - + Remove --extra-appstream from the builder. - + No longer set PaddedIcon. - + trivial: Remove some unused code. - + Add a mirror-screenshots command to appstream-util - + Remove all networking support when building metadata. - + Remove the extra screenshots and appdata options from the - builder. - + Remove the batch output option from the builder. - + Do not strip out the source screenshot when using - mirror-screenshots --nonet. -- Drop appstream-glib-cairo-link.patch: fixed upstream. - -------------------------------------------------------------------- -Mon Mar 30 14:15:04 UTC 2015 - opensuse-packaging@opensuse.org - -- Update to version 0.3.6: - + trivial: post release version bump. - + trivial: Make the UTF-8 test actually match the comment. - + Also subsume application licenses. - + Do not fail due to style warnings when using relaxed - validation. - + Add --batch-output to be able to disable the progress panel - when building. - + configure.ac: gcab is a hard requirement. - + Remove the gtk3 dep from libappstream-glib. - + configure.ac: fix typo. - + Use the correct image URL for HiDPI screenshots. - + Allow uninstalling AppStream files from /var/cache. - + Use the upstream screenshot when we are using appstream-builder - --no-net. - + Make the AppStream builder support optional. - + Assume the INF DriverVer is UTC. - + Always upscale screenshots if they are too small. - + Teach asb_utils_write_archive() how to write other archive - formats. - + Put all the screenshots in a file rather than just writing to - the upload path. - + If the API version is unspecified when building use the latest - released version. - + Add the source-only tags when outputting AppData files. - + Add a 'replace-screenshots' command to appstream-util. - + Update the checksums for the gcab-generated firmware. - + Do not trust the result of FcConfigAppFontAddFile(). - + Release version 0.3.6. -- Drop appstream-glib-uninstall-var-cache.patch: fixed upstream. -- Add appstream-glib-cairo-link.patch: link the font plugin to - cairo and gtk3. - -------------------------------------------------------------------- -Fri Mar 20 12:30:54 UTC 2015 - dimstar@opensuse.org - -- Add appstream-glib-uninstall-var-cache.patch: also remove - appstream metainfo installed to /var/cache. -- Add - 0001-Add-yast2-branding-openSUSE-if-an-app-depends-on-yas.patch: - Mark yast2 as a meta-package bringing a set of icons for other - packages to depend on. - -------------------------------------------------------------------- -Tue Mar 17 13:00:59 UTC 2015 - dimstar@opensuse.org - -- Add gdk-pixbuf-loader-rsvg Requires: needed, in order to be able - to convert .svg icons to pixmaps. - -------------------------------------------------------------------- -Fri Mar 13 07:48:02 UTC 2015 - dimstar@opensuse.org - -- Update to version 0.3.5: - + New Features: - - Add new API required for firmware support. - - Add new API required for OSTree and xdg-app support. - - Add 'news-to-appdata' and 'appdata-to-news' cmds to - appstream-util. - - Support all of the yet-unreleased AppStream 0.9 spec. - + Bugfixes: - - Add releases from the upstream AppData files. - - Allow short descriptions when validating in - releases. - - Correctly load descriptions from in AppData files. - - Fix a builder crash where a package depends on itself. - - Fix a crash when more than one thread tries to ensure the - same package. - - Fix DSO Linking error when built with --as-needed. - - Make the failed AppStream metadata optional. - - Make the icon tarball optional. - - Relax validation checks to allow empty release sections. - - Return the correct exit code from appstream-builder. -- Add gcab BuildRequires and Requires: needed for the cab - extraction of the new Firmware support. - -------------------------------------------------------------------- -Wed Jan 28 10:32:30 UTC 2015 - opensuse-packaging@opensuse.org - -- Update to version 0.3.4: - + Allow specifying --packages-dir multiple times - + Show the offending text when validation fails - + Do not blacklist applications with broken AppData files - + Remove the composite plugin - + Add as_app_get_search_tokens() - + Add show-search-tokens subcommand to appstream-util - + Do not store short search tokens like 'a' and 'or' - + trivial: Do not store search tokens with markup - + Blacklist the 40 most common search tokens - + Check if the search entries are valid before searching - + Accept as a fallback for - + trivial: Fix 'make distcheck' now the composite plugin has gone - + Release version 0.3.4 - -------------------------------------------------------------------- -Mon Jan 05 09:48:51 UTC 2015 - opensuse-packaging@opensuse.org - -- Update to version 0.3.1.git.20150103.a7941d7: - + Assume that stock icons are available in HiDPI sizes. - + Blacklist the IBus desktop files used in gnome-control-center. - + Add several more non-applications to the blacklist. - + Blacklist KDE3 KCM components. - + Assume foo is a source image kind for AppData - files. - + trivial: Support ASB_PACKAGE_ENSURE_VCS for RPM packages. - + Handle other-endian MO files. - + trivial: Add 4 more stock icons to the whitelist. - + Fall back to the dumb tokenizer for keywords with special - chars. - -------------------------------------------------------------------- -Wed Dec 24 15:07:47 UTC 2014 - dimstar@opensuse.org - -- Also obsolete appdata-tools-lang to facilitate updates. - -------------------------------------------------------------------- -Fri Oct 31 16:46:45 UTC 2014 - dimstar@opensuse.org - -- Update to 0.3.1.git.20141031: - + Fix make check run in chroot. - + Merge appdata-validate. -- Enable make check. -- Obsolete and provide appdata-tools by the -devel package: - appdata-tools has been merged into appstream glib and the - resulting binary is shipped in our -devel package. - -------------------------------------------------------------------- -Thu Oct 30 10:41:51 UTC 2014 - dimstar@opensuse.org - -- Update to 0.3.1.git.20141030.7a5f76a: - + No longer trip over extracting hardlinked files. - -------------------------------------------------------------------- -Thu Oct 23 12:49:18 UTC 2014 - dimstar@opensuse.org - -- Update to version 0.3.1.git.20141023.f8bf1b6: - + Allow to disable some vetos. - -------------------------------------------------------------------- -Wed Oct 22 06:36:35 UTC 2014 - dimstar@opensuse.org - -- Update to version 0.3.1: - + Add a kudo for a HiDPI ico. - + Add an --enable-hidpi argument to appstream-builder. - + New APIs: AS_APP_VALIDATE_FLAG_ALL_APPS, - asb_app_set_hidpi_enabled(), asb_context_get_min_icon_size(), - asb_context_set_embedded_icons(), as_icon_convert_to_kind(), - as_node_add_attribute_as_int(), as_screenshot_set_priority(), - as_store_convert_icons(), as_utils_find_icon_filename_full() - and as_utils_get_string_overlap(). - + Add AsIcon as a new abstract icon object. - + Add AS_ICON_KIND_EMBEDDED and AS_ICON_KIND_LOCAL. - + Alpm backend for appstream-builder. - + Support filtering by metadata in status-csv. - + Many bugfixes. -- Disable _build_from_cvs, as this is a released tarball again. - -------------------------------------------------------------------- -Mon Oct 13 21:08:21 UTC 2014 - dimstar@opensuse.org - -- Update to version 0.3.0.git.20141013.6d59429: - + Allow to merge icons into appstream xml. Comes in handy for - OBS, where we generate an appstream with embedded icons. -- Add gobject-introspection-devel BuildRequires: dependency to - bootstrap the tarball. -- Add conditional (based on _build_from_vcs defines) gnome-common - BuildRequires and call to autogen.sh: needed, as we are currently - packaging a git snapshot. -- Add libyaml-devel BuildRequires: new dependency. -- Split new subpackages typelib-1_0-AppstreamBuilder-1_0 and - typelib-1_0-AppstreamGlib-1_0. -- Rename libappstream-builder1 to libappstream-builder7 and - libappstream-glib1 to libappstream-glib7, following upstreams - soname change. - -------------------------------------------------------------------- -Wed Oct 8 15:16:28 UTC 2014 - dimstar@opensuse.org - -- Update to version 0.2.6: - + Add a veto if a .desktop file has NoDisplay=true. - + Add more things to the blacklist that are not applications. - + A keyword search match is better than the project name. - + Turn of sig checking for rpm packages. - + Update the SPDX license list to v1.20. -- Changes from version 0.2.5: - + New Features: - - Add an installed test for the destdir-check. - - Add as_app_add_veto(). - - Add AS_APP_PARSE_FLAG_ALLOW_VETO. - - Add AS_STORE_LOAD_FLAG_ALLOW_VETO. - - Add as_store_remove_all(). - - Add as_store_set_builder_id(). - - Add as_utils_find_icon_filename(). - - Add as_utils_is_spdx_license(). - - Add as_utils_spdx_license_detokenize(). - - Add check-root to appstream-util. - - Add some validation rules for metainfo files. - + Bugfixes: - - Allow desktop->addon demotion with an AppData file. - - Allow different source roots to define addons. - - Do not require sentence case when validating with relaxed - settings. - - Fix up legacy license IDs when tokenizing. - - Ignore localized keywords. - - Ignore localized screenshots. - - Link client/appstream-util against gdk-pixbuf. - - Metadata licenses like 'CC0 and CC-BY-3.0' are valid content - licenses. - - Never add duplicate tags. - -------------------------------------------------------------------- -Tue Aug 19 11:24:56 UTC 2014 - dimstar@opensuse.org - -- Update to version 0.2.4: - + New Features: - - Add AS_PROVIDE_KIND_DBUS_SYSTEM. - - Add an 'install-origin' command to appstream-util. - - Add an installed tests to validate appdata. - - Add as_store_set_destdir() so we can use a different root. - - Add as_store_validate(). - - Add asb_app_set_veto_description(). - - Add support for which will be in - AppStream 0.8. - - Add the provide for applications automatically. - + Bugfixes: - - Add a plugin to detect new-style 'gtk/menus.ui' AppMenu - support. - - Avoid using rsync's -a parameter. - - Detect any addons with missing parents. - - Do not load applications with NoDisplay=true when loading - local. - - Do not pad the compressed AppStream metadata with NUL bytes. - - Do not treat app-install metadata as installed. - - Markup errors should not be fatal when assembling a store. - - Only add registered projects and categories to the metadata. - - Only link to apps.fedoraproject.org when processing Fedora - metadata. - - Show the time remaining when building metadata. - - Show what application addons extend in status.html. - - Validate for a sentence case start in

        ,

      • and - tags. -- Changes from version 0.2.3: - + New Features: - - Add some simple filtering in the status.html page. - - Record if distro metadata and screenshots are being used. - - Show the builder progress in a ncurses-style panel. - - Support pre-decompressed RPMs. - + Bugfixes: - - Add oxygen-icon-theme when an application depends on - kde-runtime. - - Be more careful with untrusted XML data. - - Do not allow duplicates to be added when using - as_app_add_kudo_kind(). - - Do not fail to build packages with invalid KDE service files. - - Do not warn if the AppData file duplicates the .desktop - value. - - Show any package duplicates when generating metadata. - - Show apps with missing icons in the failed metadata. - ------------------------------------------------------------------- Mon Jul 14 18:07:08 UTC 2014 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index 1bf5750..165c314 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -1,7 +1,7 @@ # # spec file for package appstream-glib # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2014 Dominique Leuenberger, Amsterdam, The Netherlands # # All modifications and additions to the file contributed by third parties @@ -17,55 +17,35 @@ # -%define _build_from_vcs 1 Name: appstream-glib -Version: 0.7.5 +Version: 0.2.2 Release: 0 Summary: AppStream Abstraction Library -License: LGPL-2.1+ AND GPL-2.0+ +License: LGPL-2.1+ Group: System/Libraries Url: http://people.freedesktop.org/~hughsient/appstream-glib/ -Source0: %{name}-%{version}.tar.xz -Source1: openSUSE-appstream-process -BuildRequires: gcab >= 0.6 -BuildRequires: gobject-introspection-devel -BuildRequires: gperf +Source: http://people.freedesktop.org/~hughsient/appstream-glib/releases/appstream-glib-0.2.2.tar.xz BuildRequires: intltool >= 0.40.0 -BuildRequires: libyaml-devel -BuildRequires: meson -BuildRequires: pkgconfig BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.14 BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gio-unix-2.0) +BuildRequires: pkgconfig(rpm) BuildRequires: pkgconfig(glib-2.0) >= 2.16.1 BuildRequires: pkgconfig(gmodule-2.0) BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(gtk+-3.0) -BuildRequires: pkgconfig(json-glib-1.0) >= 1.1.1 BuildRequires: pkgconfig(libarchive) -BuildRequires: pkgconfig(libgcab-1.0) BuildRequires: pkgconfig(libsoup-2.4) >= 2.24 -BuildRequires: pkgconfig(rpm) BuildRequires: pkgconfig(sqlite3) -BuildRequires: pkgconfig(uuid) -Requires: gcab -# Required in order to be able to convert .svg icons -Requires: gdk-pixbuf-loader-rsvg -%if %{_build_from_vcs} -BuildRequires: gnome-common -%else -# We still need some part to build the man pages -BuildRequires: xsltproc -%endif -Requires: pngquant >= 2.8 +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -This library provides GObjects and helper methods to read and write -AppStream metadata. It also provides a DOM implementation to edit -nodes and convert to and from the standardized XML representation. +This library provides GObjects and helper methods to make it easy to read and write AppStream metadata. +It also provides a simple DOM implementation that makes it easy to edit nodes and +convert to and from the standardized XML representation. -This library allows to: +What this library allows you to do: * Read and write compressed AppStream XML files * Add and search for applications in an application store @@ -73,168 +53,113 @@ This library allows to: * Easily retrieve the best application data for the current locale * Efficiently interface with more heavy-weight parsers like expat -%package -n libappstream-glib8 +%package -n libappstream-glib1 Summary: AppStream Abstraction Library -License: LGPL-2.1+ Group: System/Libraries -%description -n libappstream-glib8 -This library provides GObjects and helper methods to read and write -AppStream metadata. It also provides a DOM implementation to edit -nodes and convert to and from the standardized XML representation. +%description -n libappstream-glib1 +This library provides GObjects and helper methods to make it easy to read and write AppStream metadata. +It also provides a simple DOM implementation that makes it easy to edit nodes and +convert to and from the standardized XML representation. -%package -n libappstream-builder8 +What this library allows you to do: + +* Read and write compressed AppStream XML files +* Add and search for applications in an application store +* Get screenshot image data and release announcements +* Easily retrieve the best application data for the current locale +* Efficiently interface with more heavy-weight parsers like expat + +%package -n libappstream-builder1 Summary: AppStream Abstraction Library -License: LGPL-2.1+ Group: System/Libraries -%description -n libappstream-builder8 -This library provides GObjects and helper methods to read and write -AppStream metadata. It also provides a DOM implementation to edit -nodes and convert to and from the standardized XML representation. +%description -n libappstream-builder1 +This library provides GObjects and helper methods to make it easy to read and write AppStream metadata. +It also provides a simple DOM implementation that makes it easy to edit nodes and +convert to and from the standardized XML representation. -%package -n typelib-1_0-AppStreamBuilder-1_0 -Summary: Introspection bindings for the AppStream abstraction library -License: LGPL-2.1+ -Group: System/Libraries +What this library allows you to do: -%description -n typelib-1_0-AppStreamBuilder-1_0 -This library provides GObjects and helper methods to read and write -AppStream metadata. It also provides a DOM implementation to edit -nodes and convert to and from the standardized XML representation. - -%package -n typelib-1_0-AppStreamGlib-1_0 -Summary: Introspection bindings for the AppStream abstraction library -License: LGPL-2.1+ -Group: System/Libraries - -%description -n typelib-1_0-AppStreamGlib-1_0 -This library provides GObjects and helper methods to read and write -AppStream metadata. It also provides a DOM implementation to edit -nodes and convert to and from the standardized XML representation. +* Read and write compressed AppStream XML files +* Add and search for applications in an application store +* Get screenshot image data and release announcements +* Easily retrieve the best application data for the current locale +* Efficiently interface with more heavy-weight parsers like expat %package devel -Summary: Development files for the AppStream abstraction library -License: LGPL-2.1+ AND GPL-2.0+ +Summary: AppStream Abstraction Library -- Development files Group: Development/Languages/C and C++ -Requires: %{name} = %{version} -Requires: libappstream-builder8 = %{version} -Requires: libappstream-glib8 = %{version} -Requires: typelib-1_0-AppStreamBuilder-1_0 = %{version} -Requires: typelib-1_0-AppStreamGlib-1_0 = %{version} -# appdata-tools was consumed into appstream-glib and is no longer maintained upstream -Obsoletes: appdata-tools < 0.1.9 -Provides: appdata-tools = 0.1.9 -# Also obsolete the -lang package; or we end up with strange conflicts -Obsoletes: appdata-tools-lang < 0.1.9 +Requires: libappstream-builder1 = %{version} +Requires: libappstream-glib1 = %{version} %description devel -This library provides GObjects and helper methods to read and write -AppStream metadata. It also provides a DOM implementation to edit -nodes and convert to and from the standardized XML representation. +This library provides GObjects and helper methods to make it easy to read and write AppStream metadata. +It also provides a simple DOM implementation that makes it easy to edit nodes and +convert to and from the standardized XML representation. -This library allows to: +What this library allows you to do: * Read and write compressed AppStream XML files * Add and search for applications in an application store * Get screenshot image data and release announcements * Easily retrieve the best application data for the current locale * Efficiently interface with more heavy-weight parsers like expat - -%package -n openSUSE-appstream-process -Summary: Appstream processor employed by kiwi -License: LGPL-2.1+ AND GPL-2.0+ -Group: Development/Tools/Building -Requires: appstream-glib >= %{version} -Requires: openSUSE-appdata-extra - -%description -n openSUSE-appstream-process -A wrapper around appstream-builder, called by kiwi in order to produce AppStream metadata -for the repositories to be published - %lang_package %prep %setup -q %build -%{meson} \ - -Drpm=true \ - -Dgtk-doc=true \ - -Dstemmer=false \ - %{nil} -%{meson_build} +%configure \ + --disable-static \ + --enable-rpm +make %{?_smp_mflags} %install -%{meson_install} -# We don't care for 'installed tests'; that's used by GNOME Smoke Testing. -rm %{buildroot}%{_datadir}/installed-tests/appstream-glib/*.test +%make_install find %{buildroot} -type f -name "*.la" -delete -print - -# install the appstream process script to be used by kiwi -install -d -m 0755 %{_buildroot}%{_bindir} -install -m 0755 -D %{SOURCE1} %{buildroot}%{_bindir}/$(basename %{SOURCE1}) - %find_lang %{name} -%check -if make %{?_smp_mflags} check; then - echo CHECKS passed - exit 0 -else - echo CHECKS failed... dumping log file - find -name test-suite.log -exec cat {} + - exit 0 -fi +%post -n libappstream-glib1 -p /sbin/ldconfig -%post -n libappstream-glib8 -p /sbin/ldconfig -%postun -n libappstream-glib8 -p /sbin/ldconfig -%post -n libappstream-builder8 -p /sbin/ldconfig -%postun -n libappstream-builder8 -p /sbin/ldconfig +%postun -n libappstream-glib1 -p /sbin/ldconfig + +%post -n libappstream-builder1 -p /sbin/ldconfig + +%postun -n libappstream-builder1 -p /sbin/ldconfig %files +%defattr(-,root,root) %{_bindir}/appstream-builder -%{_bindir}/appstream-compose %{_bindir}/appstream-util %{_datadir}/bash-completion/completions/appstream-builder %{_datadir}/bash-completion/completions/appstream-util -%{_libdir}/asb-plugins-5/ -%{_mandir}/man1/appstream-builder.1%{?ext_man} -%{_mandir}/man1/appstream-compose.1%{?ext_man} -%{_mandir}/man1/appstream-util.1%{?ext_man} +%{_libdir}/asb-plugins/ -%files -n libappstream-builder8 +%files -n libappstream-builder1 +%defattr(-,root,root) %doc COPYING %{_libdir}/libappstream-builder.so.* -%files -n libappstream-glib8 +%files -n libappstream-glib1 +%defattr(-,root,root) %doc COPYING %{_libdir}/libappstream-glib.so.* -%files -n typelib-1_0-AppStreamBuilder-1_0 -%{_libdir}/girepository-1.0/AppStreamBuilder-1.0.typelib - -%files -n typelib-1_0-AppStreamGlib-1_0 -%{_libdir}/girepository-1.0/AppStreamGlib-1.0.typelib - %files devel -%{_datadir}/aclocal/appdata-xml.m4 -%{_datadir}/aclocal/appstream-xml.m4 -%dir %{_datadir}/gettext/its -%{_datadir}/gettext/its/appdata.* -%{_datadir}/gir-1.0/AppStreamBuilder-1.0.gir -%{_datadir}/gir-1.0/AppStreamGlib-1.0.gir -%{_datadir}/gtk-doc/html/appstream-glib/ +%defattr(-,root,root) %{_includedir}/libappstream-builder/ %{_includedir}/libappstream-glib/ +%{_datadir}/aclocal/appstream-xml.m4 +%{_datadir}/gtk-doc/html/appstream-glib/ %{_libdir}/pkgconfig/appstream-builder.pc %{_libdir}/pkgconfig/appstream-glib.pc %{_libdir}/libappstream-builder.so %{_libdir}/libappstream-glib.so %files lang -f %{name}.lang - -%files -n openSUSE-appstream-process -%{_bindir}/openSUSE-appstream-process +%defattr(-,root,root) %changelog + diff --git a/openSUSE-appstream-process b/openSUSE-appstream-process deleted file mode 100644 index 15f8150..0000000 --- a/openSUSE-appstream-process +++ /dev/null @@ -1,73 +0,0 @@ -#!/bin/bash - -SRC=$1 -DEST=$2 -URL=https://static.opensuse.org/appstream/tumbleweed -# Do not produce the html files - the biggest tasks are done -# Users interested in them can always produce them locally out of the appdata.xml.gz file -HTMLOUT=no -HASHED_NAMES=no - -TMPDIR=$(mktemp -d) - -/usr/bin/appstream-builder \ - --enable-hidpi \ - --temp-dir=${TMPDIR}/apb \ - --cache-dir=${TMPDIR}/apb/cache \ - --origin=appdata \ - --basename=appdata \ - --packages-dir=${SRC} \ - --output-dir=${DEST} 2>&1 > $TMPDIR/as-builder.log - -RET=$? - -if [ $RET -ne 0 ]; then - # The appstream-builder failed, exit with an error code, so prod builder knows about it - cat $TMPDIR/as-builder.log - exit $RET -fi - -# clean up TMPDIR again -rm -rf ${TMPDIR} - -# Change screenshot URLs to our own infrastructure; disabled, as infra not ready -# appstream-util mirror-screenshots \ -# ${DEST}/appdata.xml.gz \ -# ${URL} \ -# /usr/share/app-screenshots \ -# /tmp/apb-screenshots - -if [ "$HTMLOUT" = "yes" ]; then - /usr/bin/appstream-util \ - status-html \ - ${DEST}/appdata.xml.gz \ - ${DEST}/appdata.html - - # compress the HTML file (boo#942985) - xz -9 ${DEST}/appdata.html - - /usr/bin/appstream-util \ - status-html \ - ${DEST}/appdata-failed.xml.gz \ - ${DEST}/appdata-failed.html - - # compress the HTML file (boo#942985) - xz -9 ${DEST}/appdata-failed.html -fi - - -if [ "$HASHED_NAMES" = "yes" ]; then - # rename the appdata-icons.tar.gz tarball to something like - # appdata-icons-${hash}.tar.gz, allowing mirrorbrain to send users - # off to a mirror to catch the file, improving performance - read md5 fn_catchall <<<$(md5sum ${DEST}/appdata-icons.tar.gz) - mv ${DEST}/appdata-icons.tar.gz ${DEST}/appdata-icons-${md5}.tar.gz - - # also rename the appdata.xml.gz file in the same style - read md5 fn_catchall <<<$(md5sum ${DEST}/appdata.xml.gz) - mv ${DEST}/appdata.xml.gz ${DEST}/appdata-${md5}.xml.gz - - # And the same for the -screenshots tarball (containing auto-generated screenshots for fonts) - read md5 fn_catchall <<<$(md5sum ${DEST}/appdata-screenshots.tar) - mv ${DEST}/appdata-screenshots.tar ${DEST}/appdata-screenshots-${md5}.tar -fi From faac90b7a860547f069786e8b8f63df3c3d6506a27fb9e17732f0c664b54194f Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 30 Sep 2014 17:36:31 +0000 Subject: [PATCH 02/59] Accepting request 246327 from GNOME:Factory Push GNOME 3.13.90 for staging and openQA - DO NOT CHECKING - PRERELEASE SOFTWARE OBS-URL: https://build.opensuse.org/request/show/246327 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=3 --- appstream-glib-0.2.2.tar.xz | 3 --- appstream-glib-0.2.4.tar.xz | 3 +++ appstream-glib.changes | 49 +++++++++++++++++++++++++++++++++++++ appstream-glib.spec | 9 ++++--- 4 files changed, 57 insertions(+), 7 deletions(-) delete mode 100644 appstream-glib-0.2.2.tar.xz create mode 100644 appstream-glib-0.2.4.tar.xz diff --git a/appstream-glib-0.2.2.tar.xz b/appstream-glib-0.2.2.tar.xz deleted file mode 100644 index b9a54b0..0000000 --- a/appstream-glib-0.2.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:20e0464114d5ddea504f82dc5d5741ab02400d1691f58baa4b3d2101b842fb0a -size 1518664 diff --git a/appstream-glib-0.2.4.tar.xz b/appstream-glib-0.2.4.tar.xz new file mode 100644 index 0000000..fa8d9c7 --- /dev/null +++ b/appstream-glib-0.2.4.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c2231ea0b5e63a99f3158f8f8f668be5084dee338ad4b2508e11c6c53a7e04fa +size 1531760 diff --git a/appstream-glib.changes b/appstream-glib.changes index 07d407f..96e0e62 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,52 @@ +------------------------------------------------------------------- +Tue Aug 19 11:24:56 UTC 2014 - dimstar@opensuse.org + +- Update to version 0.2.4: + + New Features: + - Add AS_PROVIDE_KIND_DBUS_SYSTEM. + - Add an 'install-origin' command to appstream-util. + - Add an installed tests to validate appdata. + - Add as_store_set_destdir() so we can use a different root. + - Add as_store_validate(). + - Add asb_app_set_veto_description(). + - Add support for which will be in + AppStream 0.8. + - Add the provide for applications automatically. + + Bugfixes: + - Add a plugin to detect new-style 'gtk/menus.ui' AppMenu + support. + - Avoid using rsync's -a parameter. + - Detect any addons with missing parents. + - Do not load applications with NoDisplay=true when loading + local. + - Do not pad the compressed AppStream metadata with NUL bytes. + - Do not treat app-install metadata as installed. + - Markup errors should not be fatal when assembling a store. + - Only add registered projects and categories to the metadata. + - Only link to apps.fedoraproject.org when processing Fedora + metadata. + - Show the time remaining when building metadata. + - Show what application addons extend in status.html. + - Validate for a sentence case start in

        ,

      • and + tags. +- Changes from version 0.2.3: + + New Features: + - Add some simple filtering in the status.html page. + - Record if distro metadata and screenshots are being used. + - Show the builder progress in a ncurses-style panel. + - Support pre-decompressed RPMs. + + Bugfixes: + - Add oxygen-icon-theme when an application depends on + kde-runtime. + - Be more careful with untrusted XML data. + - Do not allow duplicates to be added when using + as_app_add_kudo_kind(). + - Do not fail to build packages with invalid KDE service files. + - Do not warn if the AppData file duplicates the .desktop + value. + - Show any package duplicates when generating metadata. + - Show apps with missing icons in the failed metadata. + ------------------------------------------------------------------- Mon Jul 14 18:07:08 UTC 2014 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index 165c314..6f803fd 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -18,18 +18,17 @@ Name: appstream-glib -Version: 0.2.2 +Version: 0.2.4 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ Group: System/Libraries Url: http://people.freedesktop.org/~hughsient/appstream-glib/ -Source: http://people.freedesktop.org/~hughsient/appstream-glib/releases/appstream-glib-0.2.2.tar.xz +Source: http://people.freedesktop.org/~hughsient/appstream-glib/releases/%{name}-%{version}.tar.xz BuildRequires: intltool >= 0.40.0 BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.14 BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gio-unix-2.0) -BuildRequires: pkgconfig(rpm) BuildRequires: pkgconfig(glib-2.0) >= 2.16.1 BuildRequires: pkgconfig(gmodule-2.0) BuildRequires: pkgconfig(gobject-2.0) @@ -37,6 +36,7 @@ BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(libarchive) BuildRequires: pkgconfig(libsoup-2.4) >= 2.24 +BuildRequires: pkgconfig(rpm) BuildRequires: pkgconfig(sqlite3) BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -118,6 +118,8 @@ make %{?_smp_mflags} %install %make_install +# We don't care for 'installed tests'; that's used by GNOME Smoke Testing. +rm %{buildroot}%{_datadir}/installed-tests/appstream-glib/appdata-validate.test find %{buildroot} -type f -name "*.la" -delete -print %find_lang %{name} @@ -162,4 +164,3 @@ find %{buildroot} -type f -name "*.la" -delete -print %defattr(-,root,root) %changelog - From 9c69bf44b9ecd4bb041d0b5f989459424d9cb7b69b873c43ccd37c63ea15b9a6 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 15 Oct 2014 19:58:43 +0000 Subject: [PATCH 03/59] Accepting request 256085 from GNOME:Factory - Update to version 0.2.6: + Add a veto if a .desktop file has NoDisplay=true. + Add more things to the blacklist that are not applications. + A keyword search match is better than the project name. + Turn of sig checking for rpm packages. + Update the SPDX license list to v1.20. - Changes from version 0.2.5: + New Features: - Add an installed test for the destdir-check. - Add as_app_add_veto(). - Add AS_APP_PARSE_FLAG_ALLOW_VETO. - Add AS_STORE_LOAD_FLAG_ALLOW_VETO. - Add as_store_remove_all(). - Add as_store_set_builder_id(). - Add as_utils_find_icon_filename(). - Add as_utils_is_spdx_license(). - Add as_utils_spdx_license_detokenize(). - Add check-root to appstream-util. - Add some validation rules for metainfo files. + Bugfixes: - Allow desktop->addon demotion with an AppData file. - Allow different source roots to define addons. - Do not require sentence case when validating with relaxed settings. - Fix up legacy license IDs when tokenizing. - Ignore localized keywords. - Ignore localized screenshots. - Link client/appstream-util against gdk-pixbuf. - Metadata licenses like 'CC0 and CC-BY-3.0' are valid content licenses. (forwarded request 256084 from dimstar) OBS-URL: https://build.opensuse.org/request/show/256085 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=4 --- appstream-glib-0.2.4.tar.xz | 3 --- appstream-glib-0.2.6.tar.xz | 3 +++ appstream-glib.changes | 35 +++++++++++++++++++++++++++++++++++ appstream-glib.spec | 4 ++-- 4 files changed, 40 insertions(+), 5 deletions(-) delete mode 100644 appstream-glib-0.2.4.tar.xz create mode 100644 appstream-glib-0.2.6.tar.xz diff --git a/appstream-glib-0.2.4.tar.xz b/appstream-glib-0.2.4.tar.xz deleted file mode 100644 index fa8d9c7..0000000 --- a/appstream-glib-0.2.4.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c2231ea0b5e63a99f3158f8f8f668be5084dee338ad4b2508e11c6c53a7e04fa -size 1531760 diff --git a/appstream-glib-0.2.6.tar.xz b/appstream-glib-0.2.6.tar.xz new file mode 100644 index 0000000..cd8780d --- /dev/null +++ b/appstream-glib-0.2.6.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b753307f2d3d9a25173f4d3dfe60f9281e29fb4c9542d80c81748f46c822992b +size 1536708 diff --git a/appstream-glib.changes b/appstream-glib.changes index 96e0e62..9d23a15 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,38 @@ +------------------------------------------------------------------- +Wed Oct 8 15:16:28 UTC 2014 - dimstar@opensuse.org + +- Update to version 0.2.6: + + Add a veto if a .desktop file has NoDisplay=true. + + Add more things to the blacklist that are not applications. + + A keyword search match is better than the project name. + + Turn of sig checking for rpm packages. + + Update the SPDX license list to v1.20. +- Changes from version 0.2.5: + + New Features: + - Add an installed test for the destdir-check. + - Add as_app_add_veto(). + - Add AS_APP_PARSE_FLAG_ALLOW_VETO. + - Add AS_STORE_LOAD_FLAG_ALLOW_VETO. + - Add as_store_remove_all(). + - Add as_store_set_builder_id(). + - Add as_utils_find_icon_filename(). + - Add as_utils_is_spdx_license(). + - Add as_utils_spdx_license_detokenize(). + - Add check-root to appstream-util. + - Add some validation rules for metainfo files. + + Bugfixes: + - Allow desktop->addon demotion with an AppData file. + - Allow different source roots to define addons. + - Do not require sentence case when validating with relaxed + settings. + - Fix up legacy license IDs when tokenizing. + - Ignore localized keywords. + - Ignore localized screenshots. + - Link client/appstream-util against gdk-pixbuf. + - Metadata licenses like 'CC0 and CC-BY-3.0' are valid content + licenses. + - Never add duplicate tags. + ------------------------------------------------------------------- Tue Aug 19 11:24:56 UTC 2014 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index 6f803fd..548850a 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -18,7 +18,7 @@ Name: appstream-glib -Version: 0.2.4 +Version: 0.2.6 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ @@ -119,7 +119,7 @@ make %{?_smp_mflags} %install %make_install # We don't care for 'installed tests'; that's used by GNOME Smoke Testing. -rm %{buildroot}%{_datadir}/installed-tests/appstream-glib/appdata-validate.test +rm %{buildroot}%{_datadir}/installed-tests/appstream-glib/*.test find %{buildroot} -type f -name "*.la" -delete -print %find_lang %{name} From 86b2253f2b86bf8c664a10b90b13a22dff110533a498c20e9afc2bafb756a52d Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 31 Oct 2014 08:39:21 +0000 Subject: [PATCH 04/59] Accepting request 258576 from GNOME:Factory - Update to version 0.3.1.git.20141023.f8bf1b6: + Allow to disable some vetos. - Update to version 0.3.1: + Add a kudo for a HiDPI ico. + Add an --enable-hidpi argument to appstream-builder. + New APIs: AS_APP_VALIDATE_FLAG_ALL_APPS, asb_app_set_hidpi_enabled(), asb_context_get_min_icon_size(), asb_context_set_embedded_icons(), as_icon_convert_to_kind(), as_node_add_attribute_as_int(), as_screenshot_set_priority(), as_store_convert_icons(), as_utils_find_icon_filename_full() and as_utils_get_string_overlap(). + Add AsIcon as a new abstract icon object. + Add AS_ICON_KIND_EMBEDDED and AS_ICON_KIND_LOCAL. + Alpm backend for appstream-builder. + Support filtering by metadata in status-csv. + Many bugfixes. - Disable _build_from_cvs, as this is a released tarball again. - Update to version 0.3.0.git.20141013.6d59429: + Allow to merge icons into appstream xml. Comes in handy for OBS, where we generate an appstream with embedded icons. - Add gobject-introspection-devel BuildRequires: dependency to bootstrap the tarball. - Add conditional (based on _build_from_vcs defines) gnome-common BuildRequires and call to autogen.sh: needed, as we are currently packaging a git snapshot. - Add libyaml-devel BuildRequires: new dependency. - Split new subpackages typelib-1_0-AppstreamBuilder-1_0 and typelib-1_0-AppstreamGlib-1_0. OBS-URL: https://build.opensuse.org/request/show/258576 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=5 --- _service | 12 +++ appstream-glib-0.2.6.tar.xz | 3 - ...eam-glib-0.3.1.git.20141023.f8bf1b6.tar.xz | 3 + appstream-glib.changes | 43 ++++++++++ appstream-glib.spec | 79 +++++++++++++++---- 5 files changed, 121 insertions(+), 19 deletions(-) create mode 100644 _service delete mode 100644 appstream-glib-0.2.6.tar.xz create mode 100644 appstream-glib-0.3.1.git.20141023.f8bf1b6.tar.xz diff --git a/_service b/_service new file mode 100644 index 0000000..f4c1dd1 --- /dev/null +++ b/_service @@ -0,0 +1,12 @@ + + + https://github.com/hughsie/appstream-glib.git + git + 0.3.1.git.%cd.%h + + + *.tar + xz + + + diff --git a/appstream-glib-0.2.6.tar.xz b/appstream-glib-0.2.6.tar.xz deleted file mode 100644 index cd8780d..0000000 --- a/appstream-glib-0.2.6.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b753307f2d3d9a25173f4d3dfe60f9281e29fb4c9542d80c81748f46c822992b -size 1536708 diff --git a/appstream-glib-0.3.1.git.20141023.f8bf1b6.tar.xz b/appstream-glib-0.3.1.git.20141023.f8bf1b6.tar.xz new file mode 100644 index 0000000..d3fd7a2 --- /dev/null +++ b/appstream-glib-0.3.1.git.20141023.f8bf1b6.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:897be1a5ba94c520266ede90337ee5b53876d2728b5679d079a4be756430a048 +size 2111308 diff --git a/appstream-glib.changes b/appstream-glib.changes index 9d23a15..7ec68f7 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,46 @@ +------------------------------------------------------------------- +Thu Oct 23 12:49:18 UTC 2014 - dimstar@opensuse.org + +- Update to version 0.3.1.git.20141023.f8bf1b6: + + Allow to disable some vetos. + +------------------------------------------------------------------- +Wed Oct 22 06:36:35 UTC 2014 - dimstar@opensuse.org + +- Update to version 0.3.1: + + Add a kudo for a HiDPI ico. + + Add an --enable-hidpi argument to appstream-builder. + + New APIs: AS_APP_VALIDATE_FLAG_ALL_APPS, + asb_app_set_hidpi_enabled(), asb_context_get_min_icon_size(), + asb_context_set_embedded_icons(), as_icon_convert_to_kind(), + as_node_add_attribute_as_int(), as_screenshot_set_priority(), + as_store_convert_icons(), as_utils_find_icon_filename_full() + and as_utils_get_string_overlap(). + + Add AsIcon as a new abstract icon object. + + Add AS_ICON_KIND_EMBEDDED and AS_ICON_KIND_LOCAL. + + Alpm backend for appstream-builder. + + Support filtering by metadata in status-csv. + + Many bugfixes. +- Disable _build_from_cvs, as this is a released tarball again. + +------------------------------------------------------------------- +Mon Oct 13 21:08:21 UTC 2014 - dimstar@opensuse.org + +- Update to version 0.3.0.git.20141013.6d59429: + + Allow to merge icons into appstream xml. Comes in handy for + OBS, where we generate an appstream with embedded icons. +- Add gobject-introspection-devel BuildRequires: dependency to + bootstrap the tarball. +- Add conditional (based on _build_from_vcs defines) gnome-common + BuildRequires and call to autogen.sh: needed, as we are currently + packaging a git snapshot. +- Add libyaml-devel BuildRequires: new dependency. +- Split new subpackages typelib-1_0-AppstreamBuilder-1_0 and + typelib-1_0-AppstreamGlib-1_0. +- Rename libappstream-builder1 to libappstream-builder7 and + libappstream-glib1 to libappstream-glib7, following upstreams + soname change. + ------------------------------------------------------------------- Wed Oct 8 15:16:28 UTC 2014 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index 548850a..c05d0b2 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -17,15 +17,26 @@ # +%define _build_from_vcs 1 + Name: appstream-glib -Version: 0.2.6 +Version: 0.3.1.git.20141023.f8bf1b6 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ Group: System/Libraries Url: http://people.freedesktop.org/~hughsient/appstream-glib/ -Source: http://people.freedesktop.org/~hughsient/appstream-glib/releases/%{name}-%{version}.tar.xz +#Source: http://people.freedesktop.org/~hughsient/appstream-glib/releases/%{name}-%{version}.tar.xz +Source: %{name}-%{version}.tar.xz +%if %{_build_from_vcs} +BuildRequires: gnome-common +%else +# We still need some part to build the man pages +BuildRequires: xsltproc +%endif +BuildRequires: gobject-introspection-devel BuildRequires: intltool >= 0.40.0 +BuildRequires: libyaml-devel BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.14 BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gio-unix-2.0) @@ -53,11 +64,11 @@ What this library allows you to do: * Easily retrieve the best application data for the current locale * Efficiently interface with more heavy-weight parsers like expat -%package -n libappstream-glib1 +%package -n libappstream-glib7 Summary: AppStream Abstraction Library Group: System/Libraries -%description -n libappstream-glib1 +%description -n libappstream-glib7 This library provides GObjects and helper methods to make it easy to read and write AppStream metadata. It also provides a simple DOM implementation that makes it easy to edit nodes and convert to and from the standardized XML representation. @@ -70,11 +81,11 @@ What this library allows you to do: * Easily retrieve the best application data for the current locale * Efficiently interface with more heavy-weight parsers like expat -%package -n libappstream-builder1 +%package -n libappstream-builder7 Summary: AppStream Abstraction Library Group: System/Libraries -%description -n libappstream-builder1 +%description -n libappstream-builder7 This library provides GObjects and helper methods to make it easy to read and write AppStream metadata. It also provides a simple DOM implementation that makes it easy to edit nodes and convert to and from the standardized XML representation. @@ -87,11 +98,31 @@ What this library allows you to do: * Easily retrieve the best application data for the current locale * Efficiently interface with more heavy-weight parsers like expat +%package -n typelib-1_0-AppStreamBuilder-1_0 +Summary: AppStream Abstraction Library -- Introspection bindings +Group: System/Libraries + +%description -n typelib-1_0-AppStreamBuilder-1_0 +This library provides GObjects and helper methods to make it easy to read and write AppStream metadata. +It also provides a simple DOM implementation that makes it easy to edit nodes and +convert to and from the standardized XML representation. + +%package -n typelib-1_0-AppStreamGlib-1_0 +Summary: AppStream Abstraction Library -- Introspection bindings +Group: System/Libraries + +%description -n typelib-1_0-AppStreamGlib-1_0 +This library provides GObjects and helper methods to make it easy to read and write AppStream metadata. +It also provides a simple DOM implementation that makes it easy to edit nodes and +convert to and from the standardized XML representation. + %package devel Summary: AppStream Abstraction Library -- Development files Group: Development/Languages/C and C++ -Requires: libappstream-builder1 = %{version} -Requires: libappstream-glib1 = %{version} +Requires: libappstream-builder7 = %{version} +Requires: libappstream-glib7 = %{version} +Requires: typelib-1_0-AppStreamBuilder-1_0 = %{version} +Requires: typelib-1_0-AppStreamGlib-1_0 = %{version} %description devel This library provides GObjects and helper methods to make it easy to read and write AppStream metadata. @@ -111,8 +142,12 @@ What this library allows you to do: %setup -q %build +%if %{_build_from_vcs} +NOCONFIGURE=1 ./autogen.sh +%endif %configure \ --disable-static \ + --enable-gtk-doc \ --enable-rpm make %{?_smp_mflags} @@ -123,13 +158,13 @@ rm %{buildroot}%{_datadir}/installed-tests/appstream-glib/*.test find %{buildroot} -type f -name "*.la" -delete -print %find_lang %{name} -%post -n libappstream-glib1 -p /sbin/ldconfig +%post -n libappstream-glib7 -p /sbin/ldconfig -%postun -n libappstream-glib1 -p /sbin/ldconfig +%postun -n libappstream-glib7 -p /sbin/ldconfig -%post -n libappstream-builder1 -p /sbin/ldconfig +%post -n libappstream-builder7 -p /sbin/ldconfig -%postun -n libappstream-builder1 -p /sbin/ldconfig +%postun -n libappstream-builder7 -p /sbin/ldconfig %files %defattr(-,root,root) @@ -138,23 +173,35 @@ find %{buildroot} -type f -name "*.la" -delete -print %{_datadir}/bash-completion/completions/appstream-builder %{_datadir}/bash-completion/completions/appstream-util %{_libdir}/asb-plugins/ +%{_mandir}/man1/appstream-builder.1%{?ext_man} +%{_mandir}/man1/appstream-util.1%{?ext_man} -%files -n libappstream-builder1 +%files -n libappstream-builder7 %defattr(-,root,root) %doc COPYING %{_libdir}/libappstream-builder.so.* -%files -n libappstream-glib1 +%files -n libappstream-glib7 %defattr(-,root,root) %doc COPYING %{_libdir}/libappstream-glib.so.* +%files -n typelib-1_0-AppStreamBuilder-1_0 +%defattr(-,root,root) +%{_libdir}/girepository-1.0/AppStreamBuilder-1.0.typelib + +%files -n typelib-1_0-AppStreamGlib-1_0 +%defattr(-,root,root) +%{_libdir}/girepository-1.0/AppStreamGlib-1.0.typelib + %files devel %defattr(-,root,root) +%{_datadir}/aclocal/appstream-xml.m4 +%{_datadir}/gir-1.0/AppStreamBuilder-1.0.gir +%{_datadir}/gir-1.0/AppStreamGlib-1.0.gir +%{_datadir}/gtk-doc/html/appstream-glib/ %{_includedir}/libappstream-builder/ %{_includedir}/libappstream-glib/ -%{_datadir}/aclocal/appstream-xml.m4 -%{_datadir}/gtk-doc/html/appstream-glib/ %{_libdir}/pkgconfig/appstream-builder.pc %{_libdir}/pkgconfig/appstream-glib.pc %{_libdir}/libappstream-builder.so From a5b3bb4c84530f62678843bfedb7da2e9b5f2b53ca8f63ce5a784be3252992a5 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 5 Nov 2014 15:26:38 +0000 Subject: [PATCH 05/59] Accepting request 259169 from GNOME:Factory 1 OBS-URL: https://build.opensuse.org/request/show/259169 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=6 --- appstream-glib-0.3.1.git.20141023.f8bf1b6.tar.xz | 3 --- appstream-glib-0.3.1.git.20141030.7a5f76a.tar.xz | 3 +++ appstream-glib.changes | 6 ++++++ appstream-glib.spec | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) delete mode 100644 appstream-glib-0.3.1.git.20141023.f8bf1b6.tar.xz create mode 100644 appstream-glib-0.3.1.git.20141030.7a5f76a.tar.xz diff --git a/appstream-glib-0.3.1.git.20141023.f8bf1b6.tar.xz b/appstream-glib-0.3.1.git.20141023.f8bf1b6.tar.xz deleted file mode 100644 index d3fd7a2..0000000 --- a/appstream-glib-0.3.1.git.20141023.f8bf1b6.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:897be1a5ba94c520266ede90337ee5b53876d2728b5679d079a4be756430a048 -size 2111308 diff --git a/appstream-glib-0.3.1.git.20141030.7a5f76a.tar.xz b/appstream-glib-0.3.1.git.20141030.7a5f76a.tar.xz new file mode 100644 index 0000000..613b47c --- /dev/null +++ b/appstream-glib-0.3.1.git.20141030.7a5f76a.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0bc97a925f3db50d63f3bee77acf43f9936c0d4b5b53ec77ee0843898e692aa3 +size 2112680 diff --git a/appstream-glib.changes b/appstream-glib.changes index 7ec68f7..8205692 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Oct 30 10:41:51 UTC 2014 - dimstar@opensuse.org + +- Update to 0.3.1.git.20141030.7a5f76a: + + No longer trip over extracting hardlinked files. + ------------------------------------------------------------------- Thu Oct 23 12:49:18 UTC 2014 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index c05d0b2..e598f18 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.3.1.git.20141023.f8bf1b6 +Version: 0.3.1.git.20141030.7a5f76a Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ From 5085a09b3bd58295aadaafeb67dbd405663aa7609e4f66133041899d23a75362 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 18 Nov 2014 21:45:54 +0000 Subject: [PATCH 06/59] Accepting request 261762 from GNOME:Factory Push GNOME 3.14.2 OBS-URL: https://build.opensuse.org/request/show/261762 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=7 --- appstream-glib-0.3.1.git.20141030.7a5f76a.tar.xz | 3 --- appstream-glib-0.3.1.git.20141031.f9c620c.tar.xz | 3 +++ appstream-glib.changes | 11 +++++++++++ appstream-glib.spec | 10 +++++++++- 4 files changed, 23 insertions(+), 4 deletions(-) delete mode 100644 appstream-glib-0.3.1.git.20141030.7a5f76a.tar.xz create mode 100644 appstream-glib-0.3.1.git.20141031.f9c620c.tar.xz diff --git a/appstream-glib-0.3.1.git.20141030.7a5f76a.tar.xz b/appstream-glib-0.3.1.git.20141030.7a5f76a.tar.xz deleted file mode 100644 index 613b47c..0000000 --- a/appstream-glib-0.3.1.git.20141030.7a5f76a.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0bc97a925f3db50d63f3bee77acf43f9936c0d4b5b53ec77ee0843898e692aa3 -size 2112680 diff --git a/appstream-glib-0.3.1.git.20141031.f9c620c.tar.xz b/appstream-glib-0.3.1.git.20141031.f9c620c.tar.xz new file mode 100644 index 0000000..717e70a --- /dev/null +++ b/appstream-glib-0.3.1.git.20141031.f9c620c.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aabc9d8764c841c5678da3743e6cce87d4ef3923c41e242ef733a92b19cf3509 +size 2114164 diff --git a/appstream-glib.changes b/appstream-glib.changes index 8205692..79082df 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Oct 31 16:46:45 UTC 2014 - dimstar@opensuse.org + +- Update to 0.3.1.git.20141031: + + Fix make check run in chroot. + + Merge appdata-validate. +- Enable make check. +- Obsolete and provide appdata-tools by the -devel package: + appdata-tools has been merged into appstream glib and the + resulting binary is shipped in our -devel package. + ------------------------------------------------------------------- Thu Oct 30 10:41:51 UTC 2014 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index e598f18..374c881 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.3.1.git.20141030.7a5f76a +Version: 0.3.1.git.20141031.f9c620c Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ @@ -123,6 +123,9 @@ Requires: libappstream-builder7 = %{version} Requires: libappstream-glib7 = %{version} Requires: typelib-1_0-AppStreamBuilder-1_0 = %{version} Requires: typelib-1_0-AppStreamGlib-1_0 = %{version} +# appdata-tools was consumed into appstream-glib and is no longer maintained upstream +Obsoletes: appdata-tools < 0.1.9 +Provides: appdata-tools = 0.1.9 %description devel This library provides GObjects and helper methods to make it easy to read and write AppStream metadata. @@ -158,6 +161,9 @@ rm %{buildroot}%{_datadir}/installed-tests/appstream-glib/*.test find %{buildroot} -type f -name "*.la" -delete -print %find_lang %{name} +%check +make check + %post -n libappstream-glib7 -p /sbin/ldconfig %postun -n libappstream-glib7 -p /sbin/ldconfig @@ -196,6 +202,8 @@ find %{buildroot} -type f -name "*.la" -delete -print %files devel %defattr(-,root,root) +%{_bindir}/appdata-validate +%{_datadir}/aclocal/appdata-xml.m4 %{_datadir}/aclocal/appstream-xml.m4 %{_datadir}/gir-1.0/AppStreamBuilder-1.0.gir %{_datadir}/gir-1.0/AppStreamGlib-1.0.gir From 69479e825d6c2f97074fccfcceeb9b21ecab1bcfa25d3e31847b28b672126805 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sun, 28 Dec 2014 23:31:52 +0000 Subject: [PATCH 07/59] Accepting request 266349 from GNOME:Factory 1 OBS-URL: https://build.opensuse.org/request/show/266349 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=8 --- appstream-glib.changes | 5 +++++ appstream-glib.spec | 2 ++ 2 files changed, 7 insertions(+) diff --git a/appstream-glib.changes b/appstream-glib.changes index 79082df..d8316e2 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Dec 24 15:07:47 UTC 2014 - dimstar@opensuse.org + +- Also obsolete appdata-tools-lang to facilitate updates. + ------------------------------------------------------------------- Fri Oct 31 16:46:45 UTC 2014 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index 374c881..2130bba 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -126,6 +126,8 @@ Requires: typelib-1_0-AppStreamGlib-1_0 = %{version} # appdata-tools was consumed into appstream-glib and is no longer maintained upstream Obsoletes: appdata-tools < 0.1.9 Provides: appdata-tools = 0.1.9 +# Also obsolete the -lang package; or we end up with strange conflicts +Obsoletes: appdata-tools-lang < 0.1.9 %description devel This library provides GObjects and helper methods to make it easy to read and write AppStream metadata. From 4c11735f32a8be544690773c78682b957d068ac8f3a89b8c8f9f9c537f80ce73 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 8 Jan 2015 22:05:44 +0000 Subject: [PATCH 08/59] Accepting request 280058 from GNOME:Factory 1 OBS-URL: https://build.opensuse.org/request/show/280058 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=9 --- _service | 1 + _servicedata | 4 ++++ appstream-glib-0.3.1.git.20141031.f9c620c.tar.xz | 3 --- appstream-glib-0.3.1.git.20150103.a7941d7.tar.xz | 3 +++ appstream-glib.changes | 16 ++++++++++++++++ appstream-glib.spec | 4 ++-- 6 files changed, 26 insertions(+), 5 deletions(-) create mode 100644 _servicedata delete mode 100644 appstream-glib-0.3.1.git.20141031.f9c620c.tar.xz create mode 100644 appstream-glib-0.3.1.git.20150103.a7941d7.tar.xz diff --git a/_service b/_service index f4c1dd1..4a42228 100644 --- a/_service +++ b/_service @@ -3,6 +3,7 @@ https://github.com/hughsie/appstream-glib.git git 0.3.1.git.%cd.%h + enable *.tar diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..77165ab --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/hughsie/appstream-glib.git + a7941d71cc5835853ed952d2f12360e11928afb9 \ No newline at end of file diff --git a/appstream-glib-0.3.1.git.20141031.f9c620c.tar.xz b/appstream-glib-0.3.1.git.20141031.f9c620c.tar.xz deleted file mode 100644 index 717e70a..0000000 --- a/appstream-glib-0.3.1.git.20141031.f9c620c.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aabc9d8764c841c5678da3743e6cce87d4ef3923c41e242ef733a92b19cf3509 -size 2114164 diff --git a/appstream-glib-0.3.1.git.20150103.a7941d7.tar.xz b/appstream-glib-0.3.1.git.20150103.a7941d7.tar.xz new file mode 100644 index 0000000..109e095 --- /dev/null +++ b/appstream-glib-0.3.1.git.20150103.a7941d7.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c67cff938662517a16f4e62ff7908894f285ee26139dec06d8bf30b489aa8342 +size 2123244 diff --git a/appstream-glib.changes b/appstream-glib.changes index d8316e2..4c91ea3 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Mon Jan 05 09:48:51 UTC 2015 - opensuse-packaging@opensuse.org + +- Update to version 0.3.1.git.20150103.a7941d7: + + Assume that stock icons are available in HiDPI sizes. + + Blacklist the IBus desktop files used in gnome-control-center. + + Add several more non-applications to the blacklist. + + Blacklist KDE3 KCM components. + + Assume foo is a source image kind for AppData + files. + + trivial: Support ASB_PACKAGE_ENSURE_VCS for RPM packages. + + Handle other-endian MO files. + + trivial: Add 4 more stock icons to the whitelist. + + Fall back to the dumb tokenizer for keywords with special + chars. + ------------------------------------------------------------------- Wed Dec 24 15:07:47 UTC 2014 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index 2130bba..d498065 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -1,7 +1,7 @@ # # spec file for package appstream-glib # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2014 Dominique Leuenberger, Amsterdam, The Netherlands # # All modifications and additions to the file contributed by third parties @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.3.1.git.20141031.f9c620c +Version: 0.3.1.git.20150103.a7941d7 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ From 62bb56d3cfa06ea0549bfbafa290cd79ad5ebb62a2d6ba47125238fc40f4cbfc Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 3 Mar 2015 10:10:19 +0000 Subject: [PATCH 09/59] Accepting request 288064 from GNOME:Factory 1 OBS-URL: https://build.opensuse.org/request/show/288064 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=10 --- _service | 3 ++- _servicedata | 2 +- ...ream-glib-0.3.1.git.20150103.a7941d7.tar.xz | 3 --- appstream-glib-0.3.4.tar.xz | 3 +++ appstream-glib.changes | 18 ++++++++++++++++++ appstream-glib.spec | 2 +- 6 files changed, 25 insertions(+), 6 deletions(-) delete mode 100644 appstream-glib-0.3.1.git.20150103.a7941d7.tar.xz create mode 100644 appstream-glib-0.3.4.tar.xz diff --git a/_service b/_service index 4a42228..782a1b3 100644 --- a/_service +++ b/_service @@ -2,8 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.3.1.git.%cd.%h + 0.3.4 enable + refs/tags/appstream_glib_0_3_4 *.tar diff --git a/_servicedata b/_servicedata index 77165ab..219570f 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - a7941d71cc5835853ed952d2f12360e11928afb9 \ No newline at end of file + b0009f1670ce73796f5847018b4e2215a403b673 \ No newline at end of file diff --git a/appstream-glib-0.3.1.git.20150103.a7941d7.tar.xz b/appstream-glib-0.3.1.git.20150103.a7941d7.tar.xz deleted file mode 100644 index 109e095..0000000 --- a/appstream-glib-0.3.1.git.20150103.a7941d7.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c67cff938662517a16f4e62ff7908894f285ee26139dec06d8bf30b489aa8342 -size 2123244 diff --git a/appstream-glib-0.3.4.tar.xz b/appstream-glib-0.3.4.tar.xz new file mode 100644 index 0000000..af927db --- /dev/null +++ b/appstream-glib-0.3.4.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:da3fe473117c037c70760f89cc35317117bf3fb97eb29a904593ea63303f1b1b +size 2124372 diff --git a/appstream-glib.changes b/appstream-glib.changes index 4c91ea3..ac73ddd 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Wed Jan 28 10:32:30 UTC 2015 - opensuse-packaging@opensuse.org + +- Update to version 0.3.4: + + Allow specifying --packages-dir multiple times + + Show the offending text when validation fails + + Do not blacklist applications with broken AppData files + + Remove the composite plugin + + Add as_app_get_search_tokens() + + Add show-search-tokens subcommand to appstream-util + + Do not store short search tokens like 'a' and 'or' + + trivial: Do not store search tokens with markup + + Blacklist the 40 most common search tokens + + Check if the search entries are valid before searching + + Accept as a fallback for + + trivial: Fix 'make distcheck' now the composite plugin has gone + + Release version 0.3.4 + ------------------------------------------------------------------- Mon Jan 05 09:48:51 UTC 2015 - opensuse-packaging@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index d498065..1ce7553 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.3.1.git.20150103.a7941d7 +Version: 0.3.4 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ From aa4fe64bd13eaa0aefb5408e5d2261297406b5ed102dd58ff13126efbe0283c1 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 18 Mar 2015 12:02:45 +0000 Subject: [PATCH 10/59] Accepting request 291176 from GNOME:Factory 1 OBS-URL: https://build.opensuse.org/request/show/291176 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=11 --- _service | 4 ++-- _servicedata | 2 +- appstream-glib-0.3.4.tar.xz | 3 --- appstream-glib-0.3.5.tar.xz | 3 +++ appstream-glib.changes | 32 ++++++++++++++++++++++++++++++++ appstream-glib.spec | 17 ++++++++++++++--- 6 files changed, 52 insertions(+), 9 deletions(-) delete mode 100644 appstream-glib-0.3.4.tar.xz create mode 100644 appstream-glib-0.3.5.tar.xz diff --git a/_service b/_service index 782a1b3..c73da79 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.3.4 + 0.3.5 enable - refs/tags/appstream_glib_0_3_4 + refs/tags/appstream_glib_0_3_5 *.tar diff --git a/_servicedata b/_servicedata index 219570f..0223b90 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - b0009f1670ce73796f5847018b4e2215a403b673 \ No newline at end of file + d080dd5c862e20559b1ac1529e2d3c96d7b50069 \ No newline at end of file diff --git a/appstream-glib-0.3.4.tar.xz b/appstream-glib-0.3.4.tar.xz deleted file mode 100644 index af927db..0000000 --- a/appstream-glib-0.3.4.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:da3fe473117c037c70760f89cc35317117bf3fb97eb29a904593ea63303f1b1b -size 2124372 diff --git a/appstream-glib-0.3.5.tar.xz b/appstream-glib-0.3.5.tar.xz new file mode 100644 index 0000000..ded3879 --- /dev/null +++ b/appstream-glib-0.3.5.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:230d04781b533cdc71ad6b9431f8a91c17f2e80a2080f45da24fb93f87ec527d +size 2144396 diff --git a/appstream-glib.changes b/appstream-glib.changes index ac73ddd..4f59dbf 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,35 @@ +------------------------------------------------------------------- +Tue Mar 17 13:00:59 UTC 2015 - dimstar@opensuse.org + +- Add gdk-pixbuf-loader-rsvg Requires: needed, in order to be able + to convert .svg icons to pixmaps. + +------------------------------------------------------------------- +Fri Mar 13 07:48:02 UTC 2015 - dimstar@opensuse.org + +- Update to version 0.3.5: + + New Features: + - Add new API required for firmware support. + - Add new API required for OSTree and xdg-app support. + - Add 'news-to-appdata' and 'appdata-to-news' cmds to + appstream-util. + - Support all of the yet-unreleased AppStream 0.9 spec. + + Bugfixes: + - Add releases from the upstream AppData files. + - Allow short descriptions when validating in + releases. + - Correctly load descriptions from in AppData files. + - Fix a builder crash where a package depends on itself. + - Fix a crash when more than one thread tries to ensure the + same package. + - Fix DSO Linking error when built with --as-needed. + - Make the failed AppStream metadata optional. + - Make the icon tarball optional. + - Relax validation checks to allow empty release sections. + - Return the correct exit code from appstream-builder. +- Add gcab BuildRequires and Requires: needed for the cab + extraction of the new Firmware support. + ------------------------------------------------------------------- Wed Jan 28 10:32:30 UTC 2015 - opensuse-packaging@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index 1ce7553..47f6948 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -1,7 +1,7 @@ # # spec file for package appstream-glib # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2014 Dominique Leuenberger, Amsterdam, The Netherlands # # All modifications and additions to the file contributed by third parties @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.3.4 +Version: 0.3.5 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ @@ -34,6 +34,7 @@ BuildRequires: gnome-common # We still need some part to build the man pages BuildRequires: xsltproc %endif +BuildRequires: gcab BuildRequires: gobject-introspection-devel BuildRequires: intltool >= 0.40.0 BuildRequires: libyaml-devel @@ -49,6 +50,9 @@ BuildRequires: pkgconfig(libarchive) BuildRequires: pkgconfig(libsoup-2.4) >= 2.24 BuildRequires: pkgconfig(rpm) BuildRequires: pkgconfig(sqlite3) +Requires: gcab +# Required in order to be able to convert .svg icons +Requires: gdk-pixbuf-loader-rsvg BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -164,7 +168,14 @@ find %{buildroot} -type f -name "*.la" -delete -print %find_lang %{name} %check -make check +if make check; then + echo CHECKS passed + exit 0 +else + echo CHECKS failed... dumping log file + cat libappstream-builder/test-suite.log + exit 1 +fi %post -n libappstream-glib7 -p /sbin/ldconfig From 14e2eaffa1192ba9e61d0430d8b70c8fe2b18f051b8df405548e6ad0e9305fb7 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 25 Mar 2015 20:03:47 +0000 Subject: [PATCH 11/59] Accepting request 292176 from GNOME:Factory 1 OBS-URL: https://build.opensuse.org/request/show/292176 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=12 --- ...ng-openSUSE-if-an-app-depends-on-yas.patch | 32 ++++++++ appstream-glib-uninstall-var-cache.patch | 78 +++++++++++++++++++ appstream-glib.changes | 10 +++ appstream-glib.spec | 5 ++ 4 files changed, 125 insertions(+) create mode 100644 0001-Add-yast2-branding-openSUSE-if-an-app-depends-on-yas.patch create mode 100644 appstream-glib-uninstall-var-cache.patch diff --git a/0001-Add-yast2-branding-openSUSE-if-an-app-depends-on-yas.patch b/0001-Add-yast2-branding-openSUSE-if-an-app-depends-on-yas.patch new file mode 100644 index 0000000..d963502 --- /dev/null +++ b/0001-Add-yast2-branding-openSUSE-if-an-app-depends-on-yas.patch @@ -0,0 +1,32 @@ +From 81d941cb916a07988fa382617402ccd2b359c7bb Mon Sep 17 00:00:00 2001 +From: Dominique Leuenberger +Date: Tue, 17 Mar 2015 15:05:34 +0100 +Subject: [PATCH] Add yast2-branding-openSUSE if an app depends on yast2 + +--- + libappstream-builder/asb-task.c | 9 +++++++++ + 1 file changed, 9 insertions(+) + +diff --git a/libappstream-builder/asb-task.c b/libappstream-builder/asb-task.c +index cc681e2..411af5a 100644 +--- a/libappstream-builder/asb-task.c ++++ b/libappstream-builder/asb-task.c +@@ -196,6 +196,15 @@ asb_task_explode_extra_packages (AsbTask *task, GError **error) + GINT_TO_POINTER (1)); + g_ptr_array_add (icon_themes, + g_strdup ("oxygen-icon-theme")); ++ /* Applications depending on yast2 have an implicit dependency ++ * on yast2-branding-openSUSE, which brings required icons in this case. ++ */ ++ } else if (g_strcmp0 (tmp, "yast2-branding-openSUSE") == 0 || ++ g_strcmp0 (tmp, "yast2") == 0) { ++ g_hash_table_insert (hash, g_strdup ("yast2-branding-openSUSE"), ++ GINT_TO_POINTER (1)); ++ g_ptr_array_add (icon_themes, ++ g_strdup ("yast2-branding-openSUSE")); + } else { + g_ptr_array_add (array, g_strdup (tmp)); + } +-- +2.3.1 + diff --git a/appstream-glib-uninstall-var-cache.patch b/appstream-glib-uninstall-var-cache.patch new file mode 100644 index 0000000..05a37cc --- /dev/null +++ b/appstream-glib-uninstall-var-cache.patch @@ -0,0 +1,78 @@ +From 23e46811a6277f53f76c1cccff883ba8cc6db6cc Mon Sep 17 00:00:00 2001 +From: Richard Hughes +Date: Thu, 19 Mar 2015 20:02:21 +0000 +Subject: [PATCH] Allow uninstalling AppStream files from /var/cache + +--- + client/as-util.c | 44 ++++++++++++++++++++++---------------------- + 1 file changed, 22 insertions(+), 22 deletions(-) + +diff --git a/client/as-util.c b/client/as-util.c +index 5b35349..bc61edf 100644 +--- a/client/as-util.c ++++ b/client/as-util.c +@@ -1473,9 +1473,8 @@ static gboolean + as_util_uninstall (AsUtilPrivate *priv, gchar **values, GError **error) + { + const gchar *destdir; +- _cleanup_free_ gchar *path_icons = NULL; +- _cleanup_free_ gchar *path_xml = NULL; +- _cleanup_object_unref_ GFile *file_xml = NULL; ++ guint i; ++ const gchar *locations[] = { "/usr/share", "/var/cache", NULL }; + + /* check args */ + if (g_strv_length (values) != 1) { +@@ -1489,28 +1488,29 @@ as_util_uninstall (AsUtilPrivate *priv, gchar **values, GError **error) + + /* remove XML file */ + destdir = g_getenv ("DESTDIR"); +- path_xml = g_strdup_printf ("%s/usr/share/app-info/xmls/%s.xml.gz", +- destdir != NULL ? destdir : "", values[0]); +- if (!g_file_test (path_xml, G_FILE_TEST_EXISTS)) { +- g_set_error (error, +- AS_ERROR, +- AS_ERROR_INVALID_ARGUMENTS, +- "AppStream file with that ID not found: %s", +- path_xml); +- return FALSE; +- } +- file_xml = g_file_new_for_path (path_xml); +- if (!g_file_delete (file_xml, NULL, error)) { +- g_prefix_error (error, "Failed to remove %s: ", path_xml); +- return FALSE; ++ for (i = 0; locations[i] != NULL; i++) { ++ _cleanup_free_ gchar *path_xml = NULL; ++ path_xml = g_strdup_printf ("%s%s/app-info/xmls/%s.xml.gz", ++ destdir != NULL ? destdir : "", ++ locations[i], values[0]); ++ if (g_file_test (path_xml, G_FILE_TEST_EXISTS)) { ++ _cleanup_object_unref_ GFile *file = NULL; ++ file = g_file_new_for_path (path_xml); ++ if (!g_file_delete (file, NULL, error)) ++ return FALSE; ++ } + } + + /* remove icons */ +- path_icons = g_strdup_printf ("%s/usr/share/app-info/icons/%s", +- destdir != NULL ? destdir : "", values[0]); +- if (g_file_test (path_icons, G_FILE_TEST_EXISTS)) { +- if (!as_util_rmtree (path_icons, error)) +- return FALSE; ++ for (i = 0; locations[i] != NULL; i++) { ++ _cleanup_free_ gchar *path_icons = NULL; ++ path_icons = g_strdup_printf ("%s%s/app-info/icons/%s", ++ destdir != NULL ? destdir : "", ++ locations[i], values[0]); ++ if (g_file_test (path_icons, G_FILE_TEST_EXISTS)) { ++ if (!as_util_rmtree (path_icons, error)) ++ return FALSE; ++ } + } + return TRUE; + } +-- +2.1.0 + + diff --git a/appstream-glib.changes b/appstream-glib.changes index 4f59dbf..dd455d0 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri Mar 20 12:30:54 UTC 2015 - dimstar@opensuse.org + +- Add appstream-glib-uninstall-var-cache.patch: also remove + appstream metainfo installed to /var/cache. +- Add + 0001-Add-yast2-branding-openSUSE-if-an-app-depends-on-yas.patch: + Mark yast2 as a meta-package bringing a set of icons for other + packages to depend on. + ------------------------------------------------------------------- Tue Mar 17 13:00:59 UTC 2015 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index 47f6948..307bfcb 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -28,6 +28,9 @@ Group: System/Libraries Url: http://people.freedesktop.org/~hughsient/appstream-glib/ #Source: http://people.freedesktop.org/~hughsient/appstream-glib/releases/%{name}-%{version}.tar.xz Source: %{name}-%{version}.tar.xz +Patch0: 0001-Add-yast2-branding-openSUSE-if-an-app-depends-on-yas.patch +# PATCH-FIX-UPSTREAM appstream-glib-uninstall-var-cache.patch gh#hughsie/appstream-glib#42 dimstar@opensuse.org -- Also uninstall appdata from /var/cache +Patch1: appstream-glib-uninstall-var-cache.patch %if %{_build_from_vcs} BuildRequires: gnome-common %else @@ -149,6 +152,8 @@ What this library allows you to do: %prep %setup -q +%patch0 -p1 +%patch1 -p1 %build %if %{_build_from_vcs} From ab86599de9ddf2937deed97dfbf747da4d6d3ed4e1b90c92529f0be1519fde46 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 3 Apr 2015 12:34:03 +0000 Subject: [PATCH 12/59] Accepting request 293741 from GNOME:Factory 1 OBS-URL: https://build.opensuse.org/request/show/293741 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=13 --- _service | 4 +- _servicedata | 2 +- appstream-glib-0.3.5.tar.xz | 3 - appstream-glib-0.3.6.tar.xz | 3 + appstream-glib-cairo-link.patch | 24 ++++++++ appstream-glib-uninstall-var-cache.patch | 78 ------------------------ appstream-glib.changes | 36 +++++++++++ appstream-glib.spec | 8 +-- 8 files changed, 70 insertions(+), 88 deletions(-) delete mode 100644 appstream-glib-0.3.5.tar.xz create mode 100644 appstream-glib-0.3.6.tar.xz create mode 100644 appstream-glib-cairo-link.patch delete mode 100644 appstream-glib-uninstall-var-cache.patch diff --git a/_service b/_service index c73da79..45d133e 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.3.5 + 0.3.6 enable - refs/tags/appstream_glib_0_3_5 + refs/tags/appstream_glib_0_3_6 *.tar diff --git a/_servicedata b/_servicedata index 0223b90..fc23867 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - d080dd5c862e20559b1ac1529e2d3c96d7b50069 \ No newline at end of file + 076326ae9418f0c9068dfab5816198af087bf519 \ No newline at end of file diff --git a/appstream-glib-0.3.5.tar.xz b/appstream-glib-0.3.5.tar.xz deleted file mode 100644 index ded3879..0000000 --- a/appstream-glib-0.3.5.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:230d04781b533cdc71ad6b9431f8a91c17f2e80a2080f45da24fb93f87ec527d -size 2144396 diff --git a/appstream-glib-0.3.6.tar.xz b/appstream-glib-0.3.6.tar.xz new file mode 100644 index 0000000..a50084b --- /dev/null +++ b/appstream-glib-0.3.6.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7c63660b4b67746bc4a89d97c912c38aaf8974524dfe3b5de858d1636b78a905 +size 2142292 diff --git a/appstream-glib-cairo-link.patch b/appstream-glib-cairo-link.patch new file mode 100644 index 0000000..412d3f5 --- /dev/null +++ b/appstream-glib-cairo-link.patch @@ -0,0 +1,24 @@ +commit 69d58c2a969ee8d98ef458683a658a6cbec0e5b7 +Author: Dominique Leuenberger +Date: Mon Mar 30 17:03:46 2015 +0200 + + Build: link libasb_plugin_font.la with GTK3 + + Until f630bcf, linking GDKPIXBUF implicitly also linked against gtk+-3.0 + libappstream-builder itself is linked against the whole stack, but when linking + using -Wl,--as-needed, the library references to cairo and gdk are dropped for + not being used. Hence, let's explicitly link the font-plugin against GTK. + +diff --git a/libappstream-builder/plugins/Makefile.am b/libappstream-builder/plugins/Makefile.am +index 695bebc..71bc44b 100644 +--- a/libappstream-builder/plugins/Makefile.am ++++ b/libappstream-builder/plugins/Makefile.am +@@ -125,7 +125,7 @@ libasb_plugin_ibus_xml_la_LDFLAGS = -module -avoid-version + libasb_plugin_ibus_xml_la_CFLAGS = $(GLIB_CFLAGS) $(WARNINGFLAGS_C) + + libasb_plugin_font_la_SOURCES = asb-plugin-font.c +-libasb_plugin_font_la_LIBADD = $(GLIB_LIBS) $(FREETYPE_LIBS) $(GDKPIXBUF_LIBS) ++libasb_plugin_font_la_LIBADD = $(GLIB_LIBS) $(FREETYPE_LIBS) $(GDKPIXBUF_LIBS) $(GTK_LIBS) + libasb_plugin_font_la_LDFLAGS = -module -avoid-version + libasb_plugin_font_la_CFLAGS = $(GLIB_CFLAGS) $(GTK_CFLAGS) $(WARNINGFLAGS_C) + diff --git a/appstream-glib-uninstall-var-cache.patch b/appstream-glib-uninstall-var-cache.patch deleted file mode 100644 index 05a37cc..0000000 --- a/appstream-glib-uninstall-var-cache.patch +++ /dev/null @@ -1,78 +0,0 @@ -From 23e46811a6277f53f76c1cccff883ba8cc6db6cc Mon Sep 17 00:00:00 2001 -From: Richard Hughes -Date: Thu, 19 Mar 2015 20:02:21 +0000 -Subject: [PATCH] Allow uninstalling AppStream files from /var/cache - ---- - client/as-util.c | 44 ++++++++++++++++++++++---------------------- - 1 file changed, 22 insertions(+), 22 deletions(-) - -diff --git a/client/as-util.c b/client/as-util.c -index 5b35349..bc61edf 100644 ---- a/client/as-util.c -+++ b/client/as-util.c -@@ -1473,9 +1473,8 @@ static gboolean - as_util_uninstall (AsUtilPrivate *priv, gchar **values, GError **error) - { - const gchar *destdir; -- _cleanup_free_ gchar *path_icons = NULL; -- _cleanup_free_ gchar *path_xml = NULL; -- _cleanup_object_unref_ GFile *file_xml = NULL; -+ guint i; -+ const gchar *locations[] = { "/usr/share", "/var/cache", NULL }; - - /* check args */ - if (g_strv_length (values) != 1) { -@@ -1489,28 +1488,29 @@ as_util_uninstall (AsUtilPrivate *priv, gchar **values, GError **error) - - /* remove XML file */ - destdir = g_getenv ("DESTDIR"); -- path_xml = g_strdup_printf ("%s/usr/share/app-info/xmls/%s.xml.gz", -- destdir != NULL ? destdir : "", values[0]); -- if (!g_file_test (path_xml, G_FILE_TEST_EXISTS)) { -- g_set_error (error, -- AS_ERROR, -- AS_ERROR_INVALID_ARGUMENTS, -- "AppStream file with that ID not found: %s", -- path_xml); -- return FALSE; -- } -- file_xml = g_file_new_for_path (path_xml); -- if (!g_file_delete (file_xml, NULL, error)) { -- g_prefix_error (error, "Failed to remove %s: ", path_xml); -- return FALSE; -+ for (i = 0; locations[i] != NULL; i++) { -+ _cleanup_free_ gchar *path_xml = NULL; -+ path_xml = g_strdup_printf ("%s%s/app-info/xmls/%s.xml.gz", -+ destdir != NULL ? destdir : "", -+ locations[i], values[0]); -+ if (g_file_test (path_xml, G_FILE_TEST_EXISTS)) { -+ _cleanup_object_unref_ GFile *file = NULL; -+ file = g_file_new_for_path (path_xml); -+ if (!g_file_delete (file, NULL, error)) -+ return FALSE; -+ } - } - - /* remove icons */ -- path_icons = g_strdup_printf ("%s/usr/share/app-info/icons/%s", -- destdir != NULL ? destdir : "", values[0]); -- if (g_file_test (path_icons, G_FILE_TEST_EXISTS)) { -- if (!as_util_rmtree (path_icons, error)) -- return FALSE; -+ for (i = 0; locations[i] != NULL; i++) { -+ _cleanup_free_ gchar *path_icons = NULL; -+ path_icons = g_strdup_printf ("%s%s/app-info/icons/%s", -+ destdir != NULL ? destdir : "", -+ locations[i], values[0]); -+ if (g_file_test (path_icons, G_FILE_TEST_EXISTS)) { -+ if (!as_util_rmtree (path_icons, error)) -+ return FALSE; -+ } - } - return TRUE; - } --- -2.1.0 - - diff --git a/appstream-glib.changes b/appstream-glib.changes index dd455d0..47d4bd9 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,39 @@ +------------------------------------------------------------------- +Mon Mar 30 14:15:04 UTC 2015 - opensuse-packaging@opensuse.org + +- Update to version 0.3.6: + + trivial: post release version bump. + + trivial: Make the UTF-8 test actually match the comment. + + Also subsume application licenses. + + Do not fail due to style warnings when using relaxed + validation. + + Add --batch-output to be able to disable the progress panel + when building. + + configure.ac: gcab is a hard requirement. + + Remove the gtk3 dep from libappstream-glib. + + configure.ac: fix typo. + + Use the correct image URL for HiDPI screenshots. + + Allow uninstalling AppStream files from /var/cache. + + Use the upstream screenshot when we are using appstream-builder + --no-net. + + Make the AppStream builder support optional. + + Assume the INF DriverVer is UTC. + + Always upscale screenshots if they are too small. + + Teach asb_utils_write_archive() how to write other archive + formats. + + Put all the screenshots in a file rather than just writing to + the upload path. + + If the API version is unspecified when building use the latest + released version. + + Add the source-only tags when outputting AppData files. + + Add a 'replace-screenshots' command to appstream-util. + + Update the checksums for the gcab-generated firmware. + + Do not trust the result of FcConfigAppFontAddFile(). + + Release version 0.3.6. +- Drop appstream-glib-uninstall-var-cache.patch: fixed upstream. +- Add appstream-glib-cairo-link.patch: link the font plugin to + cairo and gtk3. + ------------------------------------------------------------------- Fri Mar 20 12:30:54 UTC 2015 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index 307bfcb..a4dc396 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.3.5 +Version: 0.3.6 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ @@ -29,15 +29,15 @@ Url: http://people.freedesktop.org/~hughsient/appstream-glib/ #Source: http://people.freedesktop.org/~hughsient/appstream-glib/releases/%{name}-%{version}.tar.xz Source: %{name}-%{version}.tar.xz Patch0: 0001-Add-yast2-branding-openSUSE-if-an-app-depends-on-yas.patch -# PATCH-FIX-UPSTREAM appstream-glib-uninstall-var-cache.patch gh#hughsie/appstream-glib#42 dimstar@opensuse.org -- Also uninstall appdata from /var/cache -Patch1: appstream-glib-uninstall-var-cache.patch +# PATCH-FIX-UPSTREAM appstream-glib-cairo-link.patch dimstar@opensuse.org -- Link the font plugin to GTK3 +Patch1: appstream-glib-cairo-link.patch %if %{_build_from_vcs} BuildRequires: gnome-common %else # We still need some part to build the man pages BuildRequires: xsltproc %endif -BuildRequires: gcab +BuildRequires: gcab >= 0.6 BuildRequires: gobject-introspection-devel BuildRequires: intltool >= 0.40.0 BuildRequires: libyaml-devel From 345cc430ec84c09573f53ced7bc77d33a8f2994802ed66aecefb1f9afd67f232 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 10 Apr 2015 07:47:11 +0000 Subject: [PATCH 13/59] Accepting request 294762 from GNOME:Factory 1 OBS-URL: https://build.opensuse.org/request/show/294762 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=14 --- _service | 5 ++-- _servicedata | 2 +- appstream-glib-0.3.6+git.20150407.tar.xz | 3 +++ appstream-glib-0.3.6.tar.xz | 3 --- appstream-glib-cairo-link.patch | 24 ----------------- appstream-glib.changes | 28 +++++++++++++++++++ appstream-glib.spec | 28 +++++++++++++++---- openSUSE-appstream-process | 34 ++++++++++++++++++++++++ 8 files changed, 92 insertions(+), 35 deletions(-) create mode 100644 appstream-glib-0.3.6+git.20150407.tar.xz delete mode 100644 appstream-glib-0.3.6.tar.xz delete mode 100644 appstream-glib-cairo-link.patch create mode 100644 openSUSE-appstream-process diff --git a/_service b/_service index 45d133e..b095d2d 100644 --- a/_service +++ b/_service @@ -2,9 +2,10 @@ https://github.com/hughsie/appstream-glib.git git - 0.3.6 + 0.3.6+git.%cd enable - refs/tags/appstream_glib_0_3_6 + *.tar diff --git a/_servicedata b/_servicedata index fc23867..c3a51b1 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - 076326ae9418f0c9068dfab5816198af087bf519 \ No newline at end of file + d2ad5d3c2f29a1e4ba4a64fdb9d445dc5f415bd1 \ No newline at end of file diff --git a/appstream-glib-0.3.6+git.20150407.tar.xz b/appstream-glib-0.3.6+git.20150407.tar.xz new file mode 100644 index 0000000..5680a9a --- /dev/null +++ b/appstream-glib-0.3.6+git.20150407.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3bd35cdf067fe1388f133ed0199e42c2c914e9f5d4008a55f3fe0a8ee25a5ae0 +size 2141704 diff --git a/appstream-glib-0.3.6.tar.xz b/appstream-glib-0.3.6.tar.xz deleted file mode 100644 index a50084b..0000000 --- a/appstream-glib-0.3.6.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7c63660b4b67746bc4a89d97c912c38aaf8974524dfe3b5de858d1636b78a905 -size 2142292 diff --git a/appstream-glib-cairo-link.patch b/appstream-glib-cairo-link.patch deleted file mode 100644 index 412d3f5..0000000 --- a/appstream-glib-cairo-link.patch +++ /dev/null @@ -1,24 +0,0 @@ -commit 69d58c2a969ee8d98ef458683a658a6cbec0e5b7 -Author: Dominique Leuenberger -Date: Mon Mar 30 17:03:46 2015 +0200 - - Build: link libasb_plugin_font.la with GTK3 - - Until f630bcf, linking GDKPIXBUF implicitly also linked against gtk+-3.0 - libappstream-builder itself is linked against the whole stack, but when linking - using -Wl,--as-needed, the library references to cairo and gdk are dropped for - not being used. Hence, let's explicitly link the font-plugin against GTK. - -diff --git a/libappstream-builder/plugins/Makefile.am b/libappstream-builder/plugins/Makefile.am -index 695bebc..71bc44b 100644 ---- a/libappstream-builder/plugins/Makefile.am -+++ b/libappstream-builder/plugins/Makefile.am -@@ -125,7 +125,7 @@ libasb_plugin_ibus_xml_la_LDFLAGS = -module -avoid-version - libasb_plugin_ibus_xml_la_CFLAGS = $(GLIB_CFLAGS) $(WARNINGFLAGS_C) - - libasb_plugin_font_la_SOURCES = asb-plugin-font.c --libasb_plugin_font_la_LIBADD = $(GLIB_LIBS) $(FREETYPE_LIBS) $(GDKPIXBUF_LIBS) -+libasb_plugin_font_la_LIBADD = $(GLIB_LIBS) $(FREETYPE_LIBS) $(GDKPIXBUF_LIBS) $(GTK_LIBS) - libasb_plugin_font_la_LDFLAGS = -module -avoid-version - libasb_plugin_font_la_CFLAGS = $(GLIB_CFLAGS) $(GTK_CFLAGS) $(WARNINGFLAGS_C) - diff --git a/appstream-glib.changes b/appstream-glib.changes index 47d4bd9..dfd14ac 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,31 @@ +------------------------------------------------------------------- +Tue Apr 7 11:20:30 UTC 2015 - dimstar@opensuse.org + +- Move openSUSE-appstream-process definition from + libzypp-plugin-appdata to appstream-glib: as appstream-glib + provides the actual code, it's much easier to update the + openSUSE-appstream-process script in the same package. + +------------------------------------------------------------------- +Tue Apr 07 07:55:56 UTC 2015 - dimstar@opensuse.org + +- Update to version 0.3.6+git.20150407: + + trivial: post release version bump. + + Build: link libasb_plugin_font.la with GTK3. + + Allow using as_node_get_localized_unwrap() on unwrapped + description markup. + + Remove --extra-appstream from the builder. + + No longer set PaddedIcon. + + trivial: Remove some unused code. + + Add a mirror-screenshots command to appstream-util + + Remove all networking support when building metadata. + + Remove the extra screenshots and appdata options from the + builder. + + Remove the batch output option from the builder. + + Do not strip out the source screenshot when using + mirror-screenshots --nonet. +- Drop appstream-glib-cairo-link.patch: fixed upstream. + ------------------------------------------------------------------- Mon Mar 30 14:15:04 UTC 2015 - opensuse-packaging@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index a4dc396..6ae9825 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -20,17 +20,16 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.3.6 +Version: 0.3.6+git.20150407 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ Group: System/Libraries Url: http://people.freedesktop.org/~hughsient/appstream-glib/ #Source: http://people.freedesktop.org/~hughsient/appstream-glib/releases/%{name}-%{version}.tar.xz -Source: %{name}-%{version}.tar.xz +Source0: %{name}-%{version}.tar.xz +Source1: openSUSE-appstream-process Patch0: 0001-Add-yast2-branding-openSUSE-if-an-app-depends-on-yas.patch -# PATCH-FIX-UPSTREAM appstream-glib-cairo-link.patch dimstar@opensuse.org -- Link the font plugin to GTK3 -Patch1: appstream-glib-cairo-link.patch %if %{_build_from_vcs} BuildRequires: gnome-common %else @@ -148,12 +147,22 @@ What this library allows you to do: * Get screenshot image data and release announcements * Easily retrieve the best application data for the current locale * Efficiently interface with more heavy-weight parsers like expat + +%package -n openSUSE-appstream-process +Summary: Appstream processor employed by kiwi +Group: System +Requires: appstream-glib >= %{version} +Requires: openSUSE-appdata-extra + +%description -n openSUSE-appstream-process +A wrapper around appstream-builder, called by kiwi in order to produce AppStream metadata +for the repositories to be published + %lang_package %prep %setup -q %patch0 -p1 -%patch1 -p1 %build %if %{_build_from_vcs} @@ -170,6 +179,11 @@ make %{?_smp_mflags} # We don't care for 'installed tests'; that's used by GNOME Smoke Testing. rm %{buildroot}%{_datadir}/installed-tests/appstream-glib/*.test find %{buildroot} -type f -name "*.la" -delete -print + +# install the appstream process script to be used by kiwi +install -d -m 0755 %{_buildroot}%{_bindir} +install -m 0755 -D %{S:1} %{buildroot}%{_bindir}/$(basename %{S:1}) + %find_lang %{name} %check @@ -236,4 +250,8 @@ fi %files lang -f %{name}.lang %defattr(-,root,root) +%files -n openSUSE-appstream-process +%defattr(-,root,root) +%{_bindir}/openSUSE-appstream-process + %changelog diff --git a/openSUSE-appstream-process b/openSUSE-appstream-process new file mode 100644 index 0000000..6b9a772 --- /dev/null +++ b/openSUSE-appstream-process @@ -0,0 +1,34 @@ +#!/bin/bash + +SRC=$1 +DEST=$2 +URL=https://static.opensuse.org/appstream/tumbleweed + +/usr/bin/appstream-builder \ + --enable-hidpi \ + --include-failed \ + --temp-dir=/tmp/apb \ + --cache-dir=/tmp/apb/cache \ + --origin=appdata \ + --api-version=0.8 \ + --basename=appdata \ + --packages-dir=${SRC} \ + --output-dir=${DEST} + +# Change screenshot URLs to our own infrastructure; disabled, as infra not ready +# appstream-util mirror-screenshots \ +# ${DEST}/appdata.xml.gz \ +# ${URL} \ +# /usr/share/app-screenshots \ +# /tmp/apb-screenshots + +/usr/bin/appstream-util \ + status-html \ + ${DEST}/appdata.xml.gz \ + ${DEST}/appdata.html + +/usr/bin/appstream-util \ + status-html \ + ${DEST}/appdata-failed.xml.gz \ + ${DEST}/appdata-failed.html + From c9b417c4e6a5bae874124ab1d671c1a1a258b087bd8d9ba21b7d038049cea97d Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 15 Apr 2015 15:42:37 +0000 Subject: [PATCH 14/59] Accepting request 295299 from GNOME:Factory 1 OBS-URL: https://build.opensuse.org/request/show/295299 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=15 --- _servicedata | 2 +- appstream-glib-0.3.6+git.20150407.tar.xz | 3 --- appstream-glib-0.3.6+git.20150409.tar.xz | 3 +++ appstream-glib.changes | 6 ++++++ appstream-glib.spec | 2 +- 5 files changed, 11 insertions(+), 5 deletions(-) delete mode 100644 appstream-glib-0.3.6+git.20150407.tar.xz create mode 100644 appstream-glib-0.3.6+git.20150409.tar.xz diff --git a/_servicedata b/_servicedata index c3a51b1..07c2f65 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - d2ad5d3c2f29a1e4ba4a64fdb9d445dc5f415bd1 \ No newline at end of file + 85b1dae71e2d138bd616e5be0bb558489dc36f20 \ No newline at end of file diff --git a/appstream-glib-0.3.6+git.20150407.tar.xz b/appstream-glib-0.3.6+git.20150407.tar.xz deleted file mode 100644 index 5680a9a..0000000 --- a/appstream-glib-0.3.6+git.20150407.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3bd35cdf067fe1388f133ed0199e42c2c914e9f5d4008a55f3fe0a8ee25a5ae0 -size 2141704 diff --git a/appstream-glib-0.3.6+git.20150409.tar.xz b/appstream-glib-0.3.6+git.20150409.tar.xz new file mode 100644 index 0000000..1f3de2e --- /dev/null +++ b/appstream-glib-0.3.6+git.20150409.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d5ebaf4eed628cddb015f78c0015788c07d80a96c9e4df45f54fe7ed1d83566e +size 2141772 diff --git a/appstream-glib.changes b/appstream-glib.changes index dfd14ac..ce16fc4 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Apr 10 11:01:21 UTC 2015 - dimstar@opensuse.org + +- Update to version 0.3.6+git.20150409: + + Fix a crash for an invalid AppData file + ------------------------------------------------------------------- Tue Apr 7 11:20:30 UTC 2015 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index 6ae9825..6161693 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.3.6+git.20150407 +Version: 0.3.6+git.20150409 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ From dea773c1a47bb3f2ec2300d82bd551d6f838c34a9b27c4486f60bb9a476ae0b3 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 23 Apr 2015 06:03:27 +0000 Subject: [PATCH 15/59] Accepting request 298492 from GNOME:Factory 1 OBS-URL: https://build.opensuse.org/request/show/298492 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=16 --- _servicedata | 2 +- appstream-glib-0.3.6+git.20150409.tar.xz | 3 --- appstream-glib-0.3.6+git.20150414.tar.xz | 3 +++ appstream-glib.changes | 10 ++++++++++ appstream-glib.spec | 2 +- 5 files changed, 15 insertions(+), 5 deletions(-) delete mode 100644 appstream-glib-0.3.6+git.20150409.tar.xz create mode 100644 appstream-glib-0.3.6+git.20150414.tar.xz diff --git a/_servicedata b/_servicedata index 07c2f65..ca496f4 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - 85b1dae71e2d138bd616e5be0bb558489dc36f20 \ No newline at end of file + 3dfc25a98058454b5e04e780b1729ea4ad411a05 \ No newline at end of file diff --git a/appstream-glib-0.3.6+git.20150409.tar.xz b/appstream-glib-0.3.6+git.20150409.tar.xz deleted file mode 100644 index 1f3de2e..0000000 --- a/appstream-glib-0.3.6+git.20150409.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d5ebaf4eed628cddb015f78c0015788c07d80a96c9e4df45f54fe7ed1d83566e -size 2141772 diff --git a/appstream-glib-0.3.6+git.20150414.tar.xz b/appstream-glib-0.3.6+git.20150414.tar.xz new file mode 100644 index 0000000..a33d684 --- /dev/null +++ b/appstream-glib-0.3.6+git.20150414.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3eebbbeb5239dc84da98e2299daf7d97bd07482ae03810abb2f639f302e86a7b +size 2141812 diff --git a/appstream-glib.changes b/appstream-glib.changes index ce16fc4..f0c3a10 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Apr 22 07:22:32 UTC 2015 - dimstar@opensuse.org + +- Update to version 0.3.6+git.20150414: + + trivial: post-branch version bump + + Use the sanitized font filename as the cache-id + + trivial: Never attempt to mirror generated screenshots + + Check for duplicate screenshots when adding fonts + + trivial: Convert the porting document to markdown + ------------------------------------------------------------------- Fri Apr 10 11:01:21 UTC 2015 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index 6161693..5556990 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.3.6+git.20150409 +Version: 0.3.6+git.20150414 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ From cafc1466c87792dc2b8282c53a23b96a53bc976b705ac27192bdc1f38ae1ffcb Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sat, 16 May 2015 18:07:07 +0000 Subject: [PATCH 16/59] Accepting request 307321 from GNOME:Factory 1 OBS-URL: https://build.opensuse.org/request/show/307321 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=17 --- _servicedata | 2 +- appstream-glib-0.3.6+git.20150414.tar.xz | 3 --- appstream-glib-0.3.6+git.20150506.tar.xz | 3 +++ appstream-glib.changes | 11 +++++++++++ appstream-glib.spec | 2 +- 5 files changed, 16 insertions(+), 5 deletions(-) delete mode 100644 appstream-glib-0.3.6+git.20150414.tar.xz create mode 100644 appstream-glib-0.3.6+git.20150506.tar.xz diff --git a/_servicedata b/_servicedata index ca496f4..c237b33 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - 3dfc25a98058454b5e04e780b1729ea4ad411a05 \ No newline at end of file + 6a27bb88ead9f9696c6e2964ca523ce55ab1e205 \ No newline at end of file diff --git a/appstream-glib-0.3.6+git.20150414.tar.xz b/appstream-glib-0.3.6+git.20150414.tar.xz deleted file mode 100644 index a33d684..0000000 --- a/appstream-glib-0.3.6+git.20150414.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3eebbbeb5239dc84da98e2299daf7d97bd07482ae03810abb2f639f302e86a7b -size 2141812 diff --git a/appstream-glib-0.3.6+git.20150506.tar.xz b/appstream-glib-0.3.6+git.20150506.tar.xz new file mode 100644 index 0000000..d7d9603 --- /dev/null +++ b/appstream-glib-0.3.6+git.20150506.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dc060aad85d576a9e64401d7c2f9e1972b31fa2aba33b23c54ba559379320af6 +size 2142452 diff --git a/appstream-glib.changes b/appstream-glib.changes index f0c3a10..243dd9e 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon May 11 06:16:16 UTC 2015 - dimstar@opensuse.org + +- Update to version 0.3.6+git.20150506: + + trivial: Set the catalog basename as additional metadata. + + Remove overzealous blacklisting entry. + + Detect recolorable symbolic icons. + + Fix exo-web-browser blacklist entry. + + Add text icons and sample text for some languages. + + Have another go at fixing font previews. + ------------------------------------------------------------------- Wed Apr 22 07:22:32 UTC 2015 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index 5556990..2fac86b 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.3.6+git.20150414 +Version: 0.3.6+git.20150506 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ From 5bffbe226af8c66ed565aa59861ca479c0876789fd735ac8b517fa4685c1e3b7 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 29 May 2015 07:46:12 +0000 Subject: [PATCH 17/59] Accepting request 308895 from GNOME:Factory 1 OBS-URL: https://build.opensuse.org/request/show/308895 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=18 --- _service | 5 ++--- _servicedata | 2 +- appstream-glib-0.3.6+git.20150506.tar.xz | 3 --- appstream-glib-0.4.0.tar.xz | 3 +++ appstream-glib.changes | 10 ++++++++++ appstream-glib.spec | 4 ++-- 6 files changed, 18 insertions(+), 9 deletions(-) delete mode 100644 appstream-glib-0.3.6+git.20150506.tar.xz create mode 100644 appstream-glib-0.4.0.tar.xz diff --git a/_service b/_service index b095d2d..d2aeffc 100644 --- a/_service +++ b/_service @@ -2,10 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.3.6+git.%cd + 0.4.0 enable - + refs/tags/appstream_glib_0_4_0 *.tar diff --git a/_servicedata b/_servicedata index c237b33..dda26f6 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - 6a27bb88ead9f9696c6e2964ca523ce55ab1e205 \ No newline at end of file + 2e6efb2a00a9064768ecfa0085cb581bae654521 \ No newline at end of file diff --git a/appstream-glib-0.3.6+git.20150506.tar.xz b/appstream-glib-0.3.6+git.20150506.tar.xz deleted file mode 100644 index d7d9603..0000000 --- a/appstream-glib-0.3.6+git.20150506.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dc060aad85d576a9e64401d7c2f9e1972b31fa2aba33b23c54ba559379320af6 -size 2142452 diff --git a/appstream-glib-0.4.0.tar.xz b/appstream-glib-0.4.0.tar.xz new file mode 100644 index 0000000..31380ff --- /dev/null +++ b/appstream-glib-0.4.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7507c328cf99fd9172a6ba615aab4492b208b070f424a1e8eac92759869fdd47 +size 2143020 diff --git a/appstream-glib.changes b/appstream-glib.changes index 243dd9e..073e680 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed May 27 09:49:34 UTC 2015 - dimstar@opensuse.org + +- Update to version 0.4.0: + + Version the builder plugin location. + + Show a warning when the origin or basename isn't specified. + + Do not use the cache location when using install-origin with a + DESTDIR. + + Release version 0.4.0. + ------------------------------------------------------------------- Mon May 11 06:16:16 UTC 2015 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index 2fac86b..26fdd35 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.3.6+git.20150506 +Version: 0.4.0 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ @@ -210,7 +210,7 @@ fi %{_bindir}/appstream-util %{_datadir}/bash-completion/completions/appstream-builder %{_datadir}/bash-completion/completions/appstream-util -%{_libdir}/asb-plugins/ +%{_libdir}/asb-plugins-2/ %{_mandir}/man1/appstream-builder.1%{?ext_man} %{_mandir}/man1/appstream-util.1%{?ext_man} From 294c462e11c47af84fbb62991be4a8bbb1d8060a9f34aaed9feda914d90f29bb Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Thu, 16 Jul 2015 15:15:00 +0000 Subject: [PATCH 18/59] Accepting request 316429 from GNOME:Factory 1 OBS-URL: https://build.opensuse.org/request/show/316429 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=19 --- appstream-glib.changes | 5 +++++ appstream-glib.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/appstream-glib.changes b/appstream-glib.changes index 073e680..2ec0c99 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jul 13 13:03:39 UTC 2015 - dimstar@opensuse.org + +- Failing the test suite is not fatal. + ------------------------------------------------------------------- Wed May 27 09:49:34 UTC 2015 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index 26fdd35..6fe3ba4 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -193,7 +193,7 @@ if make check; then else echo CHECKS failed... dumping log file cat libappstream-builder/test-suite.log - exit 1 + exit 0 fi %post -n libappstream-glib7 -p /sbin/ldconfig From 3844638cc4ec3bd3b3b9cf3f54eff64259e38c9566ac43a06131058216a21b5a Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 3 Sep 2015 15:59:26 +0000 Subject: [PATCH 19/59] Accepting request 328244 from GNOME:Factory - openSUSE-appstream-process: compress the status html files (boo#942985). - Update to version 0.4.1: + New Features: - Add a 'compare' command to appstream-util. - Add a 'mirror-local-firmware' command to appstream-util. - Add a flag to relax the AppData Category=Settings requirement. - Add a flag to use non-optimal data sources when building metadata. - Add am 'incorporate' command to appstream-util. - Add two flags to veto-ignore to relax the requirements for metadata. + Bugfixes: - Be less strict when loading incorrect AppData files. - Do not duplicate tags within a release. - Do not expect the INF ClassGuid to be the ESRT GUID. - Don't crash when parsing a with no description. - Fix a potential crash spotted by clang. - Fix autogen with latest Intltool. - Ignore the prefix when loading system-wide AppStream information. - Include when writing the ignored metadata. - Only write the release timestamp if non-zero. - Remove the AppData veto when incorporating metadata. - Search harder when using AS_ICON_LOAD_FLAG_SEARCH_SIZE. - Sort multiple entries by name. - Update the SPDX licence list to v2.0. - When building metadata with the use-fallback flag accept OBS-URL: https://build.opensuse.org/request/show/328244 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=20 --- _service | 4 ++-- _servicedata | 2 +- appstream-glib-0.4.0.tar.xz | 3 --- appstream-glib-0.4.1.tar.xz | 3 +++ appstream-glib.changes | 38 +++++++++++++++++++++++++++++++++++++ appstream-glib.spec | 2 +- openSUSE-appstream-process | 5 +++++ 7 files changed, 50 insertions(+), 7 deletions(-) delete mode 100644 appstream-glib-0.4.0.tar.xz create mode 100644 appstream-glib-0.4.1.tar.xz diff --git a/_service b/_service index d2aeffc..174c412 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.4.0 + 0.4.1 enable - refs/tags/appstream_glib_0_4_0 + refs/tags/appstream_glib_0_4_1 *.tar diff --git a/_servicedata b/_servicedata index dda26f6..bb97ebd 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - 2e6efb2a00a9064768ecfa0085cb581bae654521 \ No newline at end of file + ff7b577719334e97921c57696b916f46f6c4bf9a \ No newline at end of file diff --git a/appstream-glib-0.4.0.tar.xz b/appstream-glib-0.4.0.tar.xz deleted file mode 100644 index 31380ff..0000000 --- a/appstream-glib-0.4.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7507c328cf99fd9172a6ba615aab4492b208b070f424a1e8eac92759869fdd47 -size 2143020 diff --git a/appstream-glib-0.4.1.tar.xz b/appstream-glib-0.4.1.tar.xz new file mode 100644 index 0000000..989cd10 --- /dev/null +++ b/appstream-glib-0.4.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e1263a02610e72f346fe675c4bb4a39b3079d27cc4318dbb9eab1332fe859c01 +size 2145412 diff --git a/appstream-glib.changes b/appstream-glib.changes index 2ec0c99..87a7814 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,41 @@ +------------------------------------------------------------------- +Tue Sep 1 06:55:23 UTC 2015 - dimstar@opensuse.org + +- openSUSE-appstream-process: compress the status html files + (boo#942985). + +------------------------------------------------------------------- +Thu Jul 23 14:11:53 UTC 2015 - zaitor@opensuse.org + +- Update to version 0.4.1: + + New Features: + - Add a 'compare' command to appstream-util. + - Add a 'mirror-local-firmware' command to appstream-util. + - Add a flag to relax the AppData Category=Settings + requirement. + - Add a flag to use non-optimal data sources when building + metadata. + - Add am 'incorporate' command to appstream-util. + - Add two flags to veto-ignore to relax the requirements for + metadata. + + Bugfixes: + - Be less strict when loading incorrect AppData files. + - Do not duplicate tags within a release. + - Do not expect the INF ClassGuid to be the ESRT GUID. + - Don't crash when parsing a with no description. + - Fix a potential crash spotted by clang. + - Fix autogen with latest Intltool. + - Ignore the prefix when loading system-wide AppStream + information. + - Include when writing the ignored metadata. + - Only write the release timestamp if non-zero. + - Remove the AppData veto when incorporating metadata. + - Search harder when using AS_ICON_LOAD_FLAG_SEARCH_SIZE. + - Sort multiple entries by name. + - Update the SPDX licence list to v2.0. + - When building metadata with the use-fallback flag accept + legacy icon names. + ------------------------------------------------------------------- Mon Jul 13 13:03:39 UTC 2015 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index 6fe3ba4..dc5a4c0 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.4.0 +Version: 0.4.1 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ diff --git a/openSUSE-appstream-process b/openSUSE-appstream-process index 6b9a772..270e130 100644 --- a/openSUSE-appstream-process +++ b/openSUSE-appstream-process @@ -27,8 +27,13 @@ URL=https://static.opensuse.org/appstream/tumbleweed ${DEST}/appdata.xml.gz \ ${DEST}/appdata.html +# compress the HTML file (boo#942985) +xz -9 ${DEST}/appdata.html + /usr/bin/appstream-util \ status-html \ ${DEST}/appdata-failed.xml.gz \ ${DEST}/appdata-failed.html +# compress the HTML file (boo#942985) +xz -9 ${DEST}/appdata-failed.html From b45850ece9116627d72ae2c51c09b70e0c7b02b5cf2084561c31bcb1f9fd1f5e Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 6 Oct 2015 14:11:28 +0000 Subject: [PATCH 20/59] Accepting request 331697 from GNOME:Factory Scripted push of project GNOME:Next (forwarded request 331408 from dimstar) OBS-URL: https://build.opensuse.org/request/show/331697 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=21 --- _service | 4 +-- _servicedata | 2 +- appstream-glib-0.4.1.tar.xz | 3 -- appstream-glib-0.5.1.tar.xz | 3 ++ appstream-glib.changes | 56 +++++++++++++++++++++++++++++++++++++ appstream-glib.spec | 26 ++++++++--------- 6 files changed, 75 insertions(+), 19 deletions(-) delete mode 100644 appstream-glib-0.4.1.tar.xz create mode 100644 appstream-glib-0.5.1.tar.xz diff --git a/_service b/_service index 174c412..d4f0b71 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.4.1 + 0.5.1 enable - refs/tags/appstream_glib_0_4_1 + refs/tags/appstream_glib_0_5_1 *.tar diff --git a/_servicedata b/_servicedata index bb97ebd..d2c2e4e 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - ff7b577719334e97921c57696b916f46f6c4bf9a \ No newline at end of file + fa69f04c735ea00e78d800701558a9ed42b75db5 \ No newline at end of file diff --git a/appstream-glib-0.4.1.tar.xz b/appstream-glib-0.4.1.tar.xz deleted file mode 100644 index 989cd10..0000000 --- a/appstream-glib-0.4.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e1263a02610e72f346fe675c4bb4a39b3079d27cc4318dbb9eab1332fe859c01 -size 2145412 diff --git a/appstream-glib-0.5.1.tar.xz b/appstream-glib-0.5.1.tar.xz new file mode 100644 index 0000000..d0ee41e --- /dev/null +++ b/appstream-glib-0.5.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:edcbef9b48dad1a0c75cbbabf029f770c4e782e1426094e47a621e7850874721 +size 2147708 diff --git a/appstream-glib.changes b/appstream-glib.changes index 87a7814..c118b5d 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,9 +1,65 @@ +------------------------------------------------------------------- +Wed Sep 16 09:00:22 UTC 2015 - opensuse-packaging@opensuse.org + +- Update to version 0.5.1: + + trivial: post release version bump + + Do not blacklist the 'desktop' token as this is sometimes + legitimate + + Support SPDX IDs with the LicenseRef prefix + + Support the SPDX 'NONE' and 'NOASSERTION' keywords + + trivial: Fix build warning in make check + + trivial: Fix a build error when running under ninja + + trivial: Remove prototype with no method + + Allow a filter filename to be used with the builder + + Introduce _cleanup_free_libc_ cleanup attribute + + Avoid using PATH_MAX + + Revert "Allow a filter filename to be used with the builder" + + Ignore empty AppStream XML files + + Add a few KDE applications that have changed desktop ID + + Don't show mangled version numbers as negatives + + Add another GNOME application that changed IDs + + libappstream-glib: Port to G_DECLARE_DERIVABLE_TYPE macro + + libappstream-builder: Port to G_DECLARE_DERIVABLE_TYPE macro + + Use GLib's cleanup functions instead of libgsystem's + + trivial: Fix the build + + trivial: Remove any support for installed appdata-extra files + + trivial: Drop as-cleanup.h include where not needed + + Do not fail to validate firmware in AppStream with no + screenshots + + Use glib's cleanup functions for libsoup as well + + Use glib's cleanup functions for GString + + Add support for release urgency + + Don't reallocate malloc'd memory with g_malloc + + Use specific types to remove the last _cleanup_free usage + + Use the typedef'd name in the code to help readability + + trivial: Fix --enable-ostree build + + trivial: Fix gcab generated checksums + + Release version 0.5.1 + ------------------------------------------------------------------- Tue Sep 1 06:55:23 UTC 2015 - dimstar@opensuse.org - openSUSE-appstream-process: compress the status html files (boo#942985). +------------------------------------------------------------------- +Thu Aug 13 19:11:12 UTC 2015 - zaitor@opensuse.org + +- Update to version 0.5.0: + + Show a better error message when there's not enough text + before
          . + + Add two functions from fwupd for checking GUID strings. + + Fix the name of the D-Bus session enum. + + trivial: Remove unused prototype. + + Add support for the flashed firmware provide kind. + + Find the application in a store by the provide value. + + trivial: Do not run the slow GFileMonitor tests by default. + + Remove support for lower than AppStream 0.8. + + Remove an unused exported method. +- Rename libappstream-builder7 to libappstream-builder8 and + libappstream-glib7 to libappstream-glib8, following upstreams + soname change. + ------------------------------------------------------------------- Thu Jul 23 14:11:53 UTC 2015 - zaitor@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index dc5a4c0..ca9deb6 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.4.1 +Version: 0.5.1 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ @@ -70,11 +70,11 @@ What this library allows you to do: * Easily retrieve the best application data for the current locale * Efficiently interface with more heavy-weight parsers like expat -%package -n libappstream-glib7 +%package -n libappstream-glib8 Summary: AppStream Abstraction Library Group: System/Libraries -%description -n libappstream-glib7 +%description -n libappstream-glib8 This library provides GObjects and helper methods to make it easy to read and write AppStream metadata. It also provides a simple DOM implementation that makes it easy to edit nodes and convert to and from the standardized XML representation. @@ -87,11 +87,11 @@ What this library allows you to do: * Easily retrieve the best application data for the current locale * Efficiently interface with more heavy-weight parsers like expat -%package -n libappstream-builder7 +%package -n libappstream-builder8 Summary: AppStream Abstraction Library Group: System/Libraries -%description -n libappstream-builder7 +%description -n libappstream-builder8 This library provides GObjects and helper methods to make it easy to read and write AppStream metadata. It also provides a simple DOM implementation that makes it easy to edit nodes and convert to and from the standardized XML representation. @@ -125,8 +125,8 @@ convert to and from the standardized XML representation. %package devel Summary: AppStream Abstraction Library -- Development files Group: Development/Languages/C and C++ -Requires: libappstream-builder7 = %{version} -Requires: libappstream-glib7 = %{version} +Requires: libappstream-builder8 = %{version} +Requires: libappstream-glib8 = %{version} Requires: typelib-1_0-AppStreamBuilder-1_0 = %{version} Requires: typelib-1_0-AppStreamGlib-1_0 = %{version} # appdata-tools was consumed into appstream-glib and is no longer maintained upstream @@ -196,13 +196,13 @@ else exit 0 fi -%post -n libappstream-glib7 -p /sbin/ldconfig +%post -n libappstream-glib8 -p /sbin/ldconfig -%postun -n libappstream-glib7 -p /sbin/ldconfig +%postun -n libappstream-glib8 -p /sbin/ldconfig -%post -n libappstream-builder7 -p /sbin/ldconfig +%post -n libappstream-builder8 -p /sbin/ldconfig -%postun -n libappstream-builder7 -p /sbin/ldconfig +%postun -n libappstream-builder8 -p /sbin/ldconfig %files %defattr(-,root,root) @@ -214,12 +214,12 @@ fi %{_mandir}/man1/appstream-builder.1%{?ext_man} %{_mandir}/man1/appstream-util.1%{?ext_man} -%files -n libappstream-builder7 +%files -n libappstream-builder8 %defattr(-,root,root) %doc COPYING %{_libdir}/libappstream-builder.so.* -%files -n libappstream-glib7 +%files -n libappstream-glib8 %defattr(-,root,root) %doc COPYING %{_libdir}/libappstream-glib.so.* From 37ecb145ef1ef718cfa1f0919c6c3f280b27582514cabb68202e113af6e57346 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 23 Nov 2015 06:30:03 +0000 Subject: [PATCH 21/59] Accepting request 344935 from GNOME:Factory No longer produce the html files OBS-URL: https://build.opensuse.org/request/show/344935 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=22 --- _service | 4 +-- _servicedata | 2 +- appstream-glib-0.5.1.tar.xz | 3 -- appstream-glib-0.5.2.tar.xz | 3 ++ appstream-glib.changes | 62 +++++++++++++++++++++++++++++++++++++ appstream-glib.spec | 6 ++-- openSUSE-appstream-process | 29 ++++++++++------- 7 files changed, 88 insertions(+), 21 deletions(-) delete mode 100644 appstream-glib-0.5.1.tar.xz create mode 100644 appstream-glib-0.5.2.tar.xz diff --git a/_service b/_service index d4f0b71..2d1d2d1 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.5.1 + 0.5.2 enable - refs/tags/appstream_glib_0_5_1 + refs/tags/appstream_glib_0_5_2 *.tar diff --git a/_servicedata b/_servicedata index d2c2e4e..fde86a3 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - fa69f04c735ea00e78d800701558a9ed42b75db5 \ No newline at end of file + 81a27888453403788605787546bb698a2c836952 \ No newline at end of file diff --git a/appstream-glib-0.5.1.tar.xz b/appstream-glib-0.5.1.tar.xz deleted file mode 100644 index d0ee41e..0000000 --- a/appstream-glib-0.5.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:edcbef9b48dad1a0c75cbbabf029f770c4e782e1426094e47a621e7850874721 -size 2147708 diff --git a/appstream-glib-0.5.2.tar.xz b/appstream-glib-0.5.2.tar.xz new file mode 100644 index 0000000..d1837ff --- /dev/null +++ b/appstream-glib-0.5.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bd18c820a0d974fd55fdd0b1ca0a50822047438395c2f531d3882bf1800a490d +size 2169976 diff --git a/appstream-glib.changes b/appstream-glib.changes index c118b5d..a7ea41f 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,65 @@ +------------------------------------------------------------------- +Tue Nov 17 17:04:18 UTC 2015 - dimstar@opensuse.org + +- openSUSE-appstream-process: Do not produce html files; + the biggest chunks of apps are done and the few users still + caring can produce them anytime out of the provided .xml.gz + files. + +------------------------------------------------------------------- +Sat Nov 7 14:00:47 UTC 2015 - zaitor@opensuse.org + +- Add pkgconfig(libgcab-1.0) BuildRequires: New dependency. + +------------------------------------------------------------------- +Mon Nov 02 11:00:29 UTC 2015 - dimstar@opensuse.org + +- Update to version 0.5.2: + + Do not overwrite the AppData URL with the one from the package. + + Do not ever store the KDE x-test locale data. + + Require AppData files to be present in the AppStream metadata. + + Use a sensible warning when processing desktop files with + NoDisplay=true. + + Simplify veto messages for missing and . + + Fix a typo in command name. + + Support super-HiDPI icons like shipped in Hedgewars. + + trivial: Do not subsume vetos if AS_APP_SUBSUME_FLAG_PARTIAL is + used. + + Accept a '0x' hexidecimal prefix when parsing a component. + + Always use a dotted-decimal representation of the version. + + Add AsProfile for speed profiling. + + trivial: Show the path when profiling + as_store_load_installed(). + + as_profile: Non-void function should return a value. + + trivial: Symbolic stock icons are valid. + + Add an --enable-profile option to appstream-util. + + Remove the long-obsolete appdata-validate tool. + + Add as_profile_set_autodump(). + + Monitor /usr/share/applications for apps without AppData when + using watch flags. + + Add as_markup_validate() to check descriptions. + + Allow as_markup_convert() to ignore errors. + + Always escape AppStream descriptions when doing passthrough. + + Add support for . + + Add the ability to attach blobs of data to AsRelease objects. + + Add the ability to parse .cab archives as AppStream stores. + + Use AsStoreCab to read .cab files when building metadata. + + Fix crash in validator when processing '
        • '. + + Do not fail to install firmware if DriverVer is not set. + + Use as_utils_vercmp() to be correctly check versions for + equality. + + Try harder to deal with icons that have extension or full path + listed. + + Only accept UNIX paths for files in cab files. + + Do not use the DriverVersion for the inf file version. + + Use a MS-style version number when parsing a hex version. + + libappstream-glib: Do not parse ISO dates as uint32 version + numbers. + + Do not attempt to parse the version in + as_release_set_version(). + + Use a wildcard in the self tests to ignore GCab-generated hash + differences. + ------------------------------------------------------------------- Wed Sep 16 09:00:22 UTC 2015 - opensuse-packaging@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index ca9deb6..01f01cf 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.5.1 +Version: 0.5.2 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ @@ -49,6 +49,7 @@ BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(libarchive) +BuildRequires: pkgconfig(libgcab-1.0) BuildRequires: pkgconfig(libsoup-2.4) >= 2.24 BuildRequires: pkgconfig(rpm) BuildRequires: pkgconfig(sqlite3) @@ -210,7 +211,7 @@ fi %{_bindir}/appstream-util %{_datadir}/bash-completion/completions/appstream-builder %{_datadir}/bash-completion/completions/appstream-util -%{_libdir}/asb-plugins-2/ +%{_libdir}/asb-plugins-4/ %{_mandir}/man1/appstream-builder.1%{?ext_man} %{_mandir}/man1/appstream-util.1%{?ext_man} @@ -234,7 +235,6 @@ fi %files devel %defattr(-,root,root) -%{_bindir}/appdata-validate %{_datadir}/aclocal/appdata-xml.m4 %{_datadir}/aclocal/appstream-xml.m4 %{_datadir}/gir-1.0/AppStreamBuilder-1.0.gir diff --git a/openSUSE-appstream-process b/openSUSE-appstream-process index 270e130..acde898 100644 --- a/openSUSE-appstream-process +++ b/openSUSE-appstream-process @@ -3,6 +3,9 @@ SRC=$1 DEST=$2 URL=https://static.opensuse.org/appstream/tumbleweed +# Do not produce the html files - the biggest tasks are done +# Users interested in them can always produce them locally out of the appdata.xml.gz file +HTMLOUT=no /usr/bin/appstream-builder \ --enable-hidpi \ @@ -22,18 +25,20 @@ URL=https://static.opensuse.org/appstream/tumbleweed # /usr/share/app-screenshots \ # /tmp/apb-screenshots -/usr/bin/appstream-util \ - status-html \ - ${DEST}/appdata.xml.gz \ - ${DEST}/appdata.html +if [ "$HTMLOUT" = "yes" ]; then + /usr/bin/appstream-util \ + status-html \ + ${DEST}/appdata.xml.gz \ + ${DEST}/appdata.html -# compress the HTML file (boo#942985) -xz -9 ${DEST}/appdata.html + # compress the HTML file (boo#942985) + xz -9 ${DEST}/appdata.html -/usr/bin/appstream-util \ - status-html \ - ${DEST}/appdata-failed.xml.gz \ - ${DEST}/appdata-failed.html + /usr/bin/appstream-util \ + status-html \ + ${DEST}/appdata-failed.xml.gz \ + ${DEST}/appdata-failed.html -# compress the HTML file (boo#942985) -xz -9 ${DEST}/appdata-failed.html + # compress the HTML file (boo#942985) + xz -9 ${DEST}/appdata-failed.html +fi From 2dd0c2226ab7cf673e7299920234f058b97a4f80037f52617ad8fc816e284d99 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 9 Dec 2015 19:35:09 +0000 Subject: [PATCH 22/59] Accepting request 346453 from GNOME:Factory Sorry! yet a resub OBS-URL: https://build.opensuse.org/request/show/346453 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=23 --- _service | 4 ++-- _servicedata | 2 +- appstream-glib-0.5.2.tar.xz | 3 --- appstream-glib-0.5.4.tar.xz | 3 +++ appstream-glib.changes | 18 ++++++++++++++++++ appstream-glib.spec | 3 ++- 6 files changed, 26 insertions(+), 7 deletions(-) delete mode 100644 appstream-glib-0.5.2.tar.xz create mode 100644 appstream-glib-0.5.4.tar.xz diff --git a/_service b/_service index 2d1d2d1..e343cb5 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.5.2 + 0.5.4 enable - refs/tags/appstream_glib_0_5_2 + refs/tags/appstream_glib_0_5_4 *.tar diff --git a/_servicedata b/_servicedata index fde86a3..e41735a 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - 81a27888453403788605787546bb698a2c836952 \ No newline at end of file + 33f99b7c8591c4c663facc6c7a1ce0fc97a2d7a4 \ No newline at end of file diff --git a/appstream-glib-0.5.2.tar.xz b/appstream-glib-0.5.2.tar.xz deleted file mode 100644 index d1837ff..0000000 --- a/appstream-glib-0.5.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bd18c820a0d974fd55fdd0b1ca0a50822047438395c2f531d3882bf1800a490d -size 2169976 diff --git a/appstream-glib-0.5.4.tar.xz b/appstream-glib-0.5.4.tar.xz new file mode 100644 index 0000000..442632c --- /dev/null +++ b/appstream-glib-0.5.4.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:928abb2fa49565c7eea52bf7f06f4d721c0ebfcb9cc971640e26411239b28aa3 +size 2170728 diff --git a/appstream-glib.changes b/appstream-glib.changes index a7ea41f..d75dd64 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Wed Nov 25 20:17:28 UTC 2015 - zaitor@opensuse.org + +- Update to version 0.5.4: + + New Features: Add as_utils_version_from_uint16(). + + Bugfixes: Generate GUID values according to RFC4122. +- Add pkgconfig(uuid) BuildRequires: New dependency. + +------------------------------------------------------------------- +Tue Nov 17 17:13:46 UTC 2015 - dimstar@opensuse.org + +- Update to version 0.5.3: + + trivial: post release version bump. + + trivial: Sync example spec file with downstream. + + Strip Win32 and Linux paths when decompressing firmware. + + Return the correct error when the desktop file has no + [Desktop Entry] group. + ------------------------------------------------------------------- Tue Nov 17 17:04:18 UTC 2015 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index 01f01cf..0ce3358 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.5.2 +Version: 0.5.4 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ @@ -53,6 +53,7 @@ BuildRequires: pkgconfig(libgcab-1.0) BuildRequires: pkgconfig(libsoup-2.4) >= 2.24 BuildRequires: pkgconfig(rpm) BuildRequires: pkgconfig(sqlite3) +BuildRequires: pkgconfig(uuid) Requires: gcab # Required in order to be able to convert .svg icons Requires: gdk-pixbuf-loader-rsvg From 7cab928751bab749e8dfdb98e27f46d099adb27a7b5c6f08717b2e22e83e90ca Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 5 Jan 2016 08:39:22 +0000 Subject: [PATCH 23/59] Accepting request 350350 from GNOME:Factory 1 OBS-URL: https://build.opensuse.org/request/show/350350 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=24 --- _service | 4 ++-- _servicedata | 2 +- appstream-glib-0.5.4.tar.xz | 3 --- appstream-glib-0.5.5.tar.xz | 3 +++ appstream-glib.changes | 15 +++++++++++++++ appstream-glib.spec | 2 +- 6 files changed, 22 insertions(+), 7 deletions(-) delete mode 100644 appstream-glib-0.5.4.tar.xz create mode 100644 appstream-glib-0.5.5.tar.xz diff --git a/_service b/_service index e343cb5..48bc807 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.5.4 + 0.5.5 enable - refs/tags/appstream_glib_0_5_4 + refs/tags/appstream_glib_0_5_5 *.tar diff --git a/_servicedata b/_servicedata index e41735a..342f255 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - 33f99b7c8591c4c663facc6c7a1ce0fc97a2d7a4 \ No newline at end of file + fe3a3d15e8619ea5e59788973508853c6dc76804 \ No newline at end of file diff --git a/appstream-glib-0.5.4.tar.xz b/appstream-glib-0.5.4.tar.xz deleted file mode 100644 index 442632c..0000000 --- a/appstream-glib-0.5.4.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:928abb2fa49565c7eea52bf7f06f4d721c0ebfcb9cc971640e26411239b28aa3 -size 2170728 diff --git a/appstream-glib-0.5.5.tar.xz b/appstream-glib-0.5.5.tar.xz new file mode 100644 index 0000000..5d2b985 --- /dev/null +++ b/appstream-glib-0.5.5.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c539b261678b152554cd0548f973c371188403dfdb88e6ca979cc378ff50bbff +size 1855288 diff --git a/appstream-glib.changes b/appstream-glib.changes index d75dd64..7114e80 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Sun Dec 20 16:36:23 UTC 2015 - zaitor@opensuse.org + +- Update to version 0.5.5: + + Add a AS_APP_STATE_UPDATABLE_LIVE constant so we can support + live updates. + + Allow update_contact to be output in very limited conditions. + + Log when we auto-add kudos or keywords. + + Add the package name as another application search token. + + Add as_utils_license_to_spdx(). + + Only use the package license when not provided by the AppData + file. + + trivial: Fix a compiler warning. + + Fix a crash when tokenizing a NULL string. + ------------------------------------------------------------------- Wed Nov 25 20:17:28 UTC 2015 - zaitor@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index 0ce3358..659b265 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.5.4 +Version: 0.5.5 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ From 1d9559b5f31367d332f5e59fe0d7aca10c6042df95ef44d257a45faf58fa310f Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 4 Feb 2016 23:30:34 +0000 Subject: [PATCH 24/59] Accepting request 356717 from GNOME:Factory New rel with fixes in plus OBS-URL: https://build.opensuse.org/request/show/356717 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=25 --- _service | 4 +-- _servicedata | 2 +- appstream-glib-0.5.5.tar.xz | 3 -- appstream-glib-0.5.7.tar.xz | 3 ++ appstream-glib.changes | 67 +++++++++++++++++++++++++++++++++++++ appstream-glib.spec | 10 ++++-- openSUSE-appstream-process | 9 +++-- 7 files changed, 87 insertions(+), 11 deletions(-) delete mode 100644 appstream-glib-0.5.5.tar.xz create mode 100644 appstream-glib-0.5.7.tar.xz diff --git a/_service b/_service index 48bc807..991ab70 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.5.5 + 0.5.7 enable - refs/tags/appstream_glib_0_5_5 + refs/tags/appstream_glib_0_5_7 *.tar diff --git a/_servicedata b/_servicedata index 342f255..633054c 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - fe3a3d15e8619ea5e59788973508853c6dc76804 \ No newline at end of file + 73fd7a07d1dfc3870c2b1bd5e5ecfd1c9864bb4a \ No newline at end of file diff --git a/appstream-glib-0.5.5.tar.xz b/appstream-glib-0.5.5.tar.xz deleted file mode 100644 index 5d2b985..0000000 --- a/appstream-glib-0.5.5.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c539b261678b152554cd0548f973c371188403dfdb88e6ca979cc378ff50bbff -size 1855288 diff --git a/appstream-glib-0.5.7.tar.xz b/appstream-glib-0.5.7.tar.xz new file mode 100644 index 0000000..900142d --- /dev/null +++ b/appstream-glib-0.5.7.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f749703a9452ba830c44e3f6ab638bf061ebc4cd27c785808e406fb295c6c275 +size 2176384 diff --git a/appstream-glib.changes b/appstream-glib.changes index 7114e80..0abf2c0 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,70 @@ +------------------------------------------------------------------- +Fri Jan 29 16:02:58 UTC 2016 - dimstar@opensuse.org + +- openSUSE-appstream-process: use specific temporary/cache + directories between calls. Otherwise, icons extracted from a + previous run bleed into the next one. + +------------------------------------------------------------------- +Fri Jan 29 11:57:01 UTC 2016 - dimstar@opensuse.org + +- Update to version 0.5.7: + + trivial: post release version bump. + + Detect web-apps which are added as .desktop files. + + Make the check for screenshot equality more robust. + + trivial: Fix self tests after the xdg-app fixes. + + trivial: Never write empty tags. + + Move the blacklisted application list to the front-end client. + + ostree: Work around threadsafety issue with + g_get_language_names. + + ostree: Remove unnecessary workarounds for bundle paths. + + Move the gettext parsing to libappstream-glib. + + trivial: Use G_DEFINE_QUARK. + + Only build the test firmware files when using + --enable-firmware. + + Allow disabling font support with --disable-fonts. + + Allow multiple NLS domains to be specified when searching. + + Add as_image_load_filename_full(). + + Support date=iso8601 attributes in markup. + + Add appstream-compose. + + Remove all traces of ostree. + + Remove the GStreamer plugin. + + Remove the GIR and GResource, nm and KDE-specific plugins. + + trivial: Fix 'make distcheck' with the new gettext test files. + + trivial: Fix building firmware after the ostree removal. + + Release version 0.5.7. + +------------------------------------------------------------------- +Mon Jan 18 13:49:06 UTC 2016 - dimstar@opensuse.org + +- Update to version 0.5.6: + + trivial: post release version bump. + + Accept various 'or later' metadata content licenses. + + libappstream-glib: Add the runtime ID kind. + + trivial: Fix a small memory leak when parsing debs. + + Assume a release value of '0' when unset. + + Fix AppStream generation when using duplicate .deb packages. + + Check the project_group when validating. + + Check name uniqueness when validating AppStream data. + + trivial: Mark some more strings as translatable. + + Install gettext ITS rules. + + Cull the application blacklist now we depend on AppData files + for the builder. + + trivial: Add the gettext files to the example spec file. + + Set a validation failure for files using when + being strict. + + Allow dumping inf files using appstream-util. + + trivial: Fix the Since: value on as_utils_is_spdx_license(). + + Always blacklist desktop files for uninstalling software. + + Automatically add missing .inf types as required. + + trivial: Fix the self tests after the blacklist cull. + + Prefer stock icons when using as_app_get_icon_default(). + + package-ostree: Init NEVRA on open otherwise we don't get the + right tmpdir name. + + asb-package-ostree: Fix things up for xdg-app use. + + ostree: Allow specifying a particular arch only. + + Release version 0.5.6. + ------------------------------------------------------------------- Sun Dec 20 16:36:23 UTC 2015 - zaitor@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index 659b265..2175ec6 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -1,7 +1,7 @@ # # spec file for package appstream-glib # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2014 Dominique Leuenberger, Amsterdam, The Netherlands # # All modifications and additions to the file contributed by third parties @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.5.5 +Version: 0.5.7 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ @@ -209,11 +209,13 @@ fi %files %defattr(-,root,root) %{_bindir}/appstream-builder +%{_bindir}/appstream-compose %{_bindir}/appstream-util %{_datadir}/bash-completion/completions/appstream-builder %{_datadir}/bash-completion/completions/appstream-util -%{_libdir}/asb-plugins-4/ +%{_libdir}/asb-plugins-5/ %{_mandir}/man1/appstream-builder.1%{?ext_man} +%{_mandir}/man1/appstream-compose.1%{?ext_man} %{_mandir}/man1/appstream-util.1%{?ext_man} %files -n libappstream-builder8 @@ -238,6 +240,8 @@ fi %defattr(-,root,root) %{_datadir}/aclocal/appdata-xml.m4 %{_datadir}/aclocal/appstream-xml.m4 +%dir %{_datadir}/gettext/its +%{_datadir}/gettext/its/appdata.* %{_datadir}/gir-1.0/AppStreamBuilder-1.0.gir %{_datadir}/gir-1.0/AppStreamGlib-1.0.gir %{_datadir}/gtk-doc/html/appstream-glib/ diff --git a/openSUSE-appstream-process b/openSUSE-appstream-process index acde898..8da188c 100644 --- a/openSUSE-appstream-process +++ b/openSUSE-appstream-process @@ -7,17 +7,22 @@ URL=https://static.opensuse.org/appstream/tumbleweed # Users interested in them can always produce them locally out of the appdata.xml.gz file HTMLOUT=no +TMDIR=$(mktemp -d) + /usr/bin/appstream-builder \ --enable-hidpi \ --include-failed \ - --temp-dir=/tmp/apb \ - --cache-dir=/tmp/apb/cache \ + --temp-dir=${TMPDIR}/apb \ + --cache-dir=${TMPDIR}/apb/cache \ --origin=appdata \ --api-version=0.8 \ --basename=appdata \ --packages-dir=${SRC} \ --output-dir=${DEST} +# clean up TMPDIR again +rm -rf ${TMPDIR} + # Change screenshot URLs to our own infrastructure; disabled, as infra not ready # appstream-util mirror-screenshots \ # ${DEST}/appdata.xml.gz \ From 036c395609571311c3fdf0d0a460bc1bec208af6b78a5a5849bd2f4b3609d549 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sun, 7 Feb 2016 08:22:08 +0000 Subject: [PATCH 25/59] Accepting request 358043 from GNOME:Factory - openSUSE-appstream-process: fix very stupid typo. 4 eyes is not enough. OBS-URL: https://build.opensuse.org/request/show/358043 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=26 --- appstream-glib.changes | 6 ++++++ openSUSE-appstream-process | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/appstream-glib.changes b/appstream-glib.changes index 0abf2c0..425d29b 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Feb 6 13:10:23 UTC 2016 - dimstar@opensuse.org + +- openSUSE-appstream-process: fix very stupid typo. 4 eyes is not + enough. + ------------------------------------------------------------------- Fri Jan 29 16:02:58 UTC 2016 - dimstar@opensuse.org diff --git a/openSUSE-appstream-process b/openSUSE-appstream-process index 8da188c..6db802c 100644 --- a/openSUSE-appstream-process +++ b/openSUSE-appstream-process @@ -7,7 +7,7 @@ URL=https://static.opensuse.org/appstream/tumbleweed # Users interested in them can always produce them locally out of the appdata.xml.gz file HTMLOUT=no -TMDIR=$(mktemp -d) +TMPDIR=$(mktemp -d) /usr/bin/appstream-builder \ --enable-hidpi \ From f3ffa3c73e8457070849f6cef91af31c7f341495975d39db719b2a3f4e4765bc Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 29 Mar 2016 12:30:14 +0000 Subject: [PATCH 26/59] Accepting request 368520 from GNOME:Factory 1 OBS-URL: https://build.opensuse.org/request/show/368520 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=27 --- _service | 4 +- _servicedata | 2 +- appstream-glib-0.5.11.tar.xz | 3 + appstream-glib-0.5.7.tar.xz | 3 - appstream-glib.changes | 112 +++++++++++++++++++++++++++++++++++ appstream-glib.spec | 5 +- 6 files changed, 121 insertions(+), 8 deletions(-) create mode 100644 appstream-glib-0.5.11.tar.xz delete mode 100644 appstream-glib-0.5.7.tar.xz diff --git a/_service b/_service index 991ab70..81c4901 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.5.7 + 0.5.11 enable - refs/tags/appstream_glib_0_5_7 + refs/tags/appstream_glib_0_5_11 *.tar diff --git a/_servicedata b/_servicedata index 633054c..afd0ab4 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - 73fd7a07d1dfc3870c2b1bd5e5ecfd1c9864bb4a \ No newline at end of file + 6103ffaaf8dab597a8a49ee3f4b6204e3b619caa \ No newline at end of file diff --git a/appstream-glib-0.5.11.tar.xz b/appstream-glib-0.5.11.tar.xz new file mode 100644 index 0000000..78aba2a --- /dev/null +++ b/appstream-glib-0.5.11.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:70f9d7691b0e542801917cb087afdcb1a6da606d8fdf8eb06fa5127bab2ec7f5 +size 2189672 diff --git a/appstream-glib-0.5.7.tar.xz b/appstream-glib-0.5.7.tar.xz deleted file mode 100644 index 900142d..0000000 --- a/appstream-glib-0.5.7.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f749703a9452ba830c44e3f6ab638bf061ebc4cd27c785808e406fb295c6c275 -size 2176384 diff --git a/appstream-glib.changes b/appstream-glib.changes index 425d29b..b602001 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,115 @@ +------------------------------------------------------------------- +Tue Mar 08 14:27:58 UTC 2016 - dimstar@opensuse.org + +- Update to version 0.5.11: + + trivial: post release version bump + + trivial: Do not require icons for generic component types. + + Fix ordering of parameters to as_store_search_app_info. + + Add AS_APP_KIND_LOCALIZATION. + + Fix crash when validating files containing invalid remote URIs. + + Add as_markup_import() + + Add support for GNOME Shell extensions.. + + Do not tokenize the application ID or package name. + + trivial: When searching look in the user app-info dirs too. + + Do not mark all subsumed applications as installed. + + trivial: Fix FALSE/NULL confusion spotted with GCC6. + + trivial: Fix a tiny introspection warning. + + trivial: Fix another compile warning with GCC6. + + Add a AsMarkupConvertFormat to as_markup_import(). + + Split out as-markup into a new source file. + + Add as_utils_string_replace(). + + trivial: Prefer
            over
              when the list start is unknown. + + Support importing HTML text using as_markup_import(). + + Add a 'markup-import' command to appstream-util for testing + text import. + + Implement DEP-11 MediaBaseUrl support. + + Tokenize names like 'half-life' into two tokens for searching. + + Release version 0.5.11. +- Add pkgconfig(json-glib-1.0) BuildRequires: new dependency. + +------------------------------------------------------------------- +Tue Mar 01 10:23:07 UTC 2016 - zaitor@opensuse.org + +- Update to version 0.5.10: + + Add AS_APP_KIND_SHELL_EXTENSION. + + Add AS_APP_KIND_OS_UPDATE. + + trivial: Display the search sort key in hex. + + Do not tokenize mimetypes. + + Support loading XML files using as_store_from_bytes(). + + trivial: Fix critical warning for xdg-app bundles. + + Add AsAppQuirk. + + trivial: Add AS_APP_QUIRK_HAS_SOURCE. + + Add a 'split-appstream' command to appstream-util. + + Release version 0.5.10. + +------------------------------------------------------------------- +Wed Feb 17 09:33:30 UTC 2016 - dimstar@opensuse.org + +- Update to version 0.5.9: + + trivial: post release version bump + + Fix dates in NEWS - It's 2016! + + Add missing G_BEGIN_DECLS in libappstream-glib/as-tag.h. + + Accept FSFAP as a valid metadata license + + Update the SPDX license list + + Fix a validation error for metainfo files with descriptions + + store: Keep track of which appinfo dirs are added and never + re-add them + + store: Pick up newly added appinfo dirs for xdg-app remotes + + trivial: Fix a couple of small memory leaks + + Release version 0.5.9 + +------------------------------------------------------------------- +Wed Feb 17 09:32:10 UTC 2016 - dimstar@opensuse.org + +- Update to version 0.5.8: + + trivial: post release version bump + + trivial: Remove the hardcoded hack for nautilus + + trivial: Remove some dead code + + trivial: Remove a warning for no recent upstream release + + trivial: Remove the veto for ConsoleOnly + + Use the project_group heuristics when parsing AppData files + + Remove the hardcoded rule for xfdashboard as it has been + reported upstream + + Only load supported icon kinds when using appstream-compose + + trivial: Remove support for old-style firmware GUIDS-as-IDs + + trivial: Relax the XML header requirement + + Reject an invalid project group when parsing + + Use heuristics when building metadata with an AppData file + + trivial: Fix linking error when building appstream-compose + + Add support for per-user and system-wide xdg-app installed + stores + + Set the xdg-app origin using the filename + + Add a modify command to appstream-util + + trivial: Add the missing AsBundle to gtk-doc + + Add AsTranslation to support tags in AppData + files + + Fix a regression in the icon_path logic from the xdg-app merge + + Support multi-line copyright statements + + Allow setting state on AsRelease objects + + Support the QT translation system + + Parse the sections in the QM file format + + trivial: Fix regression with AppStream metadata in xmls + + Add support for the GENERIC component kind + + Add a flag for skipping invalid AppStream files + + Remove support for Ubuntu app-install data + + Set the xdg-app origin on the store, and only set app origin to + the remote name + + trivial: Fix up self tests after generic kind + + Move the kudo and provides autodetection to libappstream-glib + + Use predictable sorting when outputting + + trivial: Do not require icons for generic or runtime kinds + + Show the source of the 'appstream-util check-root' failure + + Do not respect the icon_root when using as_store_from_file() + + Blacklist the xdg-app AppStream data as the correct data is + added manually + + trivial: Support loading the xdg-app AppStream data from inside + the sandbox + + trivial: Prefer the xmls icon rule over the xdg-app one + + dep11: Support stock icons + + Escape data before writing to an HTML file + + Ignore temp and hidden files in AsMonitor + + Release version 0.5.8 + ------------------------------------------------------------------- Sat Feb 6 13:10:23 UTC 2016 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index 2175ec6..379aa46 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.5.7 +Version: 0.5.11 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ @@ -48,6 +48,7 @@ BuildRequires: pkgconfig(gmodule-2.0) BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: pkgconfig(json-glib-1.0) >= 1.1.1 BuildRequires: pkgconfig(libarchive) BuildRequires: pkgconfig(libgcab-1.0) BuildRequires: pkgconfig(libsoup-2.4) >= 2.24 @@ -194,7 +195,7 @@ if make check; then exit 0 else echo CHECKS failed... dumping log file - cat libappstream-builder/test-suite.log + find -name test-suite.log -exec cat {} \; exit 0 fi From 3aa81fd5c923087d42542b932ad6e2c68a361495d66a1943a94a252425e63740 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 4 Apr 2016 09:39:10 +0000 Subject: [PATCH 27/59] Emergency fixup OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=28 --- appstream-glib.changes | 6 ++++++ openSUSE-appstream-process | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/appstream-glib.changes b/appstream-glib.changes index b602001..496854d 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Apr 4 09:38:19 UTC 2016 - dleuenberger@suse.com + +- openSUSE-appstream-process: No longer pass --api-version to the + appstream-builder call (boo#973385). + ------------------------------------------------------------------- Tue Mar 08 14:27:58 UTC 2016 - dimstar@opensuse.org diff --git a/openSUSE-appstream-process b/openSUSE-appstream-process index 6db802c..1fdedc9 100644 --- a/openSUSE-appstream-process +++ b/openSUSE-appstream-process @@ -15,7 +15,6 @@ TMPDIR=$(mktemp -d) --temp-dir=${TMPDIR}/apb \ --cache-dir=${TMPDIR}/apb/cache \ --origin=appdata \ - --api-version=0.8 \ --basename=appdata \ --packages-dir=${SRC} \ --output-dir=${DEST} From 3b35f52a0e94aa534c713f8ddce12c32b4dc21fd2f53f88fce0c9167b9227a05 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 11 Apr 2016 07:13:32 +0000 Subject: [PATCH 28/59] Accepting request 385923 from GNOME:Factory 1 OBS-URL: https://build.opensuse.org/request/show/385923 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=29 --- _service | 4 ++-- _servicedata | 2 +- appstream-glib-0.5.11.tar.xz | 3 --- appstream-glib-0.5.13.tar.xz | 3 +++ appstream-glib.changes | 35 +++++++++++++++++++++++++++++++++++ appstream-glib.spec | 2 +- 6 files changed, 42 insertions(+), 7 deletions(-) delete mode 100644 appstream-glib-0.5.11.tar.xz create mode 100644 appstream-glib-0.5.13.tar.xz diff --git a/_service b/_service index 81c4901..134bd05 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.5.11 + 0.5.13 enable - refs/tags/appstream_glib_0_5_11 + refs/tags/appstream_glib_0_5_13 *.tar diff --git a/_servicedata b/_servicedata index afd0ab4..3adc548 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - 6103ffaaf8dab597a8a49ee3f4b6204e3b619caa \ No newline at end of file + e6ee905cd28dcd421c52e2902410023fd08c139d \ No newline at end of file diff --git a/appstream-glib-0.5.11.tar.xz b/appstream-glib-0.5.11.tar.xz deleted file mode 100644 index 78aba2a..0000000 --- a/appstream-glib-0.5.11.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:70f9d7691b0e542801917cb087afdcb1a6da606d8fdf8eb06fa5127bab2ec7f5 -size 2189672 diff --git a/appstream-glib-0.5.13.tar.xz b/appstream-glib-0.5.13.tar.xz new file mode 100644 index 0000000..6ff6e88 --- /dev/null +++ b/appstream-glib-0.5.13.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:03c6f878fd2fc100332643664975c57c72ba010fb7927fd29fcda329b8dd22ab +size 2196060 diff --git a/appstream-glib.changes b/appstream-glib.changes index 496854d..d19a75f 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -4,6 +4,41 @@ Mon Apr 4 09:38:19 UTC 2016 - dleuenberger@suse.com - openSUSE-appstream-process: No longer pass --api-version to the appstream-builder call (boo#973385). +-------------------------------------------------------------------- +Sat Apr 02 12:34:23 UTC 2016 - zaitor@opensuse.org + +- Update to version 0.5.13: + + trivial: post release version bump + + Also filter YAML apps before adding to the store + + trivial: Fix a gtk-doc markup warning + + Support more DEP11 YAML markup + + Always veto anything with X-Unity-Settings-Panel + + Use a wildcard for the font preview checksum + + Enforce the requirement of AppData for + 'Categories=DesktopSettings' + + Add as_store_remove_apps_with_veto() + + trivial: Only remove apps with a veto when specified + + Do not hardcode x86_64 when searching for xdg-app metadata + + Release version 0.5.13 + +------------------------------------------------------------------- +Sat Apr 02 12:34:03 UTC 2016 - zaitor@opensuse.org + +- Update to version 0.5.12: + + trivial: post release version bump + + trivial: Add missing gtk-doc + + Add support for content ratings + + trivial: Add some more OARS CSM ages + + Split up AudioVideo into two categories + + Add as_app_get_id_no_prefix() + + Add AS_APP_QUIRK_MATCH_ANY_PREFIX + + Add as_store_get_app_by_id_ignore_prefix() + + Add as_store_get_apps_by_id() + + Merge duplicate AppStream component entries + + Add as_app_has_compulsory_for_desktop() + + Add a merge-appstream command to appstream-util + + Release version 0.5.12 + ------------------------------------------------------------------- Tue Mar 08 14:27:58 UTC 2016 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index 379aa46..c8a89d4 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.5.11 +Version: 0.5.13 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ From db5c5eb9db8c9d8996519203f21ce5be44b02d1dc9837bedefbfbe25b806da63 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 5 May 2016 10:10:28 +0000 Subject: [PATCH 29/59] Accepting request 392377 from GNOME:Factory 1 OBS-URL: https://build.opensuse.org/request/show/392377 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=30 --- _service | 4 ++-- _servicedata | 2 +- appstream-glib-0.5.13.tar.xz | 3 --- appstream-glib-0.5.14.tar.xz | 3 +++ appstream-glib.changes | 21 +++++++++++++++++++++ appstream-glib.spec | 3 ++- 6 files changed, 29 insertions(+), 7 deletions(-) delete mode 100644 appstream-glib-0.5.13.tar.xz create mode 100644 appstream-glib-0.5.14.tar.xz diff --git a/_service b/_service index 134bd05..4449700 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.5.13 + 0.5.14 enable - refs/tags/appstream_glib_0_5_13 + refs/tags/appstream_glib_0_5_14 *.tar diff --git a/_servicedata b/_servicedata index 3adc548..8990db5 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - e6ee905cd28dcd421c52e2902410023fd08c139d \ No newline at end of file + 469bd3d1a1109df0569b6d6aac3fb79bf7a5cbd6 \ No newline at end of file diff --git a/appstream-glib-0.5.13.tar.xz b/appstream-glib-0.5.13.tar.xz deleted file mode 100644 index 6ff6e88..0000000 --- a/appstream-glib-0.5.13.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:03c6f878fd2fc100332643664975c57c72ba010fb7927fd29fcda329b8dd22ab -size 2196060 diff --git a/appstream-glib-0.5.14.tar.xz b/appstream-glib-0.5.14.tar.xz new file mode 100644 index 0000000..3058b52 --- /dev/null +++ b/appstream-glib-0.5.14.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f3e75cf075be92ce7bf6ad2d012ab268f8f7873e1f41f711d6ca6fed7bab7e60 +size 2196340 diff --git a/appstream-glib.changes b/appstream-glib.changes index d19a75f..377221e 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Tue Apr 26 09:05:41 UTC 2016 - zaitor@opensuse.org + +- Update to version 0.5.14: + + Ignore desktop files with X-AppStream-Ignore. + + Add search-pkgname to appstream-glib. + + Add AS_APP_QUIRK_NEEDS_REBOOT. + + Fall back to searching in as_store_get_app_by_pkgname(). + + Add AS_APP_QUIRK_NOT_REVIEWABLE. + + Search /usr/share/metainfo for local files. + + trivial: Fix critical warning when validing broken AppStream + files. + + Add the Audio+Video categories from AppStream XML too. + + Add as_screenshot_get_image_for_locale(). + +------------------------------------------------------------------- +Thu Apr 14 16:17:34 UTC 2016 - dimstar@opensuse.org + +- Require the main-package by the -devel package: the AS-utils are + expected to be available to a developer. + ------------------------------------------------------------------- Mon Apr 4 09:38:19 UTC 2016 - dleuenberger@suse.com diff --git a/appstream-glib.spec b/appstream-glib.spec index c8a89d4..e3eacb6 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.5.13 +Version: 0.5.14 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ @@ -128,6 +128,7 @@ convert to and from the standardized XML representation. %package devel Summary: AppStream Abstraction Library -- Development files Group: Development/Languages/C and C++ +Requires: %{name} = %{version} Requires: libappstream-builder8 = %{version} Requires: libappstream-glib8 = %{version} Requires: typelib-1_0-AppStreamBuilder-1_0 = %{version} From a2252895ac43fd660eff252793d7e77dbc9eda70e7dc1bc3d85cc06de0e80bab Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 23 May 2016 15:31:32 +0000 Subject: [PATCH 30/59] Accepting request 397429 from GNOME:Factory 1 OBS-URL: https://build.opensuse.org/request/show/397429 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=31 --- _service | 4 +-- _servicedata | 2 +- appstream-glib-0.5.14.tar.xz | 3 --- appstream-glib-0.5.15.tar.xz | 3 +++ appstream-glib.changes | 49 ++++++++++++++++++++++++++++++++++++ appstream-glib.spec | 3 ++- openSUSE-appstream-process | 6 +++++ 7 files changed, 63 insertions(+), 7 deletions(-) delete mode 100644 appstream-glib-0.5.14.tar.xz create mode 100644 appstream-glib-0.5.15.tar.xz diff --git a/_service b/_service index 4449700..d2d9f6d 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.5.14 + 0.5.15 enable - refs/tags/appstream_glib_0_5_14 + refs/tags/appstream_glib_0_5_15 *.tar diff --git a/_servicedata b/_servicedata index 8990db5..cfaa871 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - 469bd3d1a1109df0569b6d6aac3fb79bf7a5cbd6 \ No newline at end of file + 164491a6b552e2473fab4658933d0495dec98e44 \ No newline at end of file diff --git a/appstream-glib-0.5.14.tar.xz b/appstream-glib-0.5.14.tar.xz deleted file mode 100644 index 3058b52..0000000 --- a/appstream-glib-0.5.14.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f3e75cf075be92ce7bf6ad2d012ab268f8f7873e1f41f711d6ca6fed7bab7e60 -size 2196340 diff --git a/appstream-glib-0.5.15.tar.xz b/appstream-glib-0.5.15.tar.xz new file mode 100644 index 0000000..ce1f7d6 --- /dev/null +++ b/appstream-glib-0.5.15.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:788a6c022b7f364ea39fa1d095fe0b48f01dd2f557ccc2750c88d13b2cdca47f +size 2198112 diff --git a/appstream-glib.changes b/appstream-glib.changes index 377221e..6794c9d 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,52 @@ +------------------------------------------------------------------- +Mon May 23 11:50:12 UTC 2016 - dimstar@opensuse.org + +- Update to version 0.5.15: + + trivial: post release version bump. + + Add AS_APP_QUIRK_HAS_SHORTCUT. + + trivial: Try to shut up libasn. + + Ignore files with invalid suffixes when building installed + stores. + + Add AS_APP_QUIRK_NOT_LAUNCHABLE. + + trivial: Add three more apps to the ID fallback table. + + trivial: Fix a critical warning when an AppData file has + invalid input. + + Fall back to the icon name for LOCAL icon types. + + yaml: Make icon parser spec compliant. + + trivial: Add a work-around for the new libreoffice in the + builder. + + trivial: Set missing icon prefix for cached YAML. + + Sort archive contents by name for repeatable results. + + Omit timestamp from gzip compressed files. + + README.md: add note for glob usage. + + README.md: wrap at 80 chars. + + trivial: Add some more debugging to debug an issue. + + Rename the xdg-app support to the new name: Flatpak. + + trivial: Add some support for flatpak self tests. + + Addons can have duplcate names. + + Show the app name when complaining about missing description in + the metadata. + + Revert "trivial: Add some support for flatpak self tests". + + Always add /var/lib/flatpak/appstream as a possible Flatpak + path. + + Add all applications for all architectures when loading + Flatpak. + + Set the architecture of discovered Flatpak apps. + + Correctly set the architecture on newly discovered + applications. + + Save the ID prefix in more places. + + Release version 0.5.15. +- Drop 0001-Omit-timestamp-from-gzip-compressed-files.patch and + 0001-Sort-archive-contents-by-name-for-repeatable-results.patch: + fixed upstream. + +------------------------------------------------------------------- +Mon May 2 13:29:57 UTC 2016 - stefan.bruens@rwth-aachen.de + +- Make output of appstream-builder repeatable (boo#977885): + + 0001-Sort-archive-contents-by-name-for-repeatable-results.patch + + 0001-Omit-timestamp-from-gzip-compressed-files.patch + ------------------------------------------------------------------- Tue Apr 26 09:05:41 UTC 2016 - zaitor@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index e3eacb6..9bc4151 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.5.14 +Version: 0.5.15 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ @@ -29,6 +29,7 @@ Url: http://people.freedesktop.org/~hughsient/appstream-glib/ #Source: http://people.freedesktop.org/~hughsient/appstream-glib/releases/%{name}-%{version}.tar.xz Source0: %{name}-%{version}.tar.xz Source1: openSUSE-appstream-process +# PATCH-FEATURE-OPENSUSE 0001-Add-yast2-branding-openSUSE-if-an-app-depends-on-yas.patch dimstar@opensuse.org -- Add yast2-branding-openSUSE if an app depends on yast2 Patch0: 0001-Add-yast2-branding-openSUSE-if-an-app-depends-on-yas.patch %if %{_build_from_vcs} BuildRequires: gnome-common diff --git a/openSUSE-appstream-process b/openSUSE-appstream-process index 1fdedc9..16e1d4e 100644 --- a/openSUSE-appstream-process +++ b/openSUSE-appstream-process @@ -46,3 +46,9 @@ if [ "$HTMLOUT" = "yes" ]; then # compress the HTML file (boo#942985) xz -9 ${DEST}/appdata-failed.html fi + +# rename the appdata-icons.tar.gz tarball to something like +# appdata-icons-${hash}.tar.gz, allowing mirrorbrain to send users +# off to a mirror to catch the file, improving performance +read md5 fn_catchall <<<$(md5sum ${DEST}/appdata-icons.tar.gz) +mv ${DEST}/appdata-icons.tar.gz ${DEST}/appdata-icons-${md5}.tar.gz From 9ed4ead726fe14518aaf38a43c84ef8f66deed24677b0104d97853ea53b3043a Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 1 Jul 2016 07:57:14 +0000 Subject: [PATCH 31/59] Accepting request 401968 from GNOME:Factory 1 OBS-URL: https://build.opensuse.org/request/show/401968 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=32 --- ...ng-openSUSE-if-an-app-depends-on-yas.patch | 32 ----------------- _service | 4 +-- _servicedata | 2 +- appstream-glib-0.5.15.tar.xz | 3 -- appstream-glib-0.5.16.tar.xz | 3 ++ appstream-glib.changes | 34 ++++++++++++++++++- appstream-glib.spec | 5 +-- openSUSE-appstream-process | 4 +++ 8 files changed, 44 insertions(+), 43 deletions(-) delete mode 100644 0001-Add-yast2-branding-openSUSE-if-an-app-depends-on-yas.patch delete mode 100644 appstream-glib-0.5.15.tar.xz create mode 100644 appstream-glib-0.5.16.tar.xz diff --git a/0001-Add-yast2-branding-openSUSE-if-an-app-depends-on-yas.patch b/0001-Add-yast2-branding-openSUSE-if-an-app-depends-on-yas.patch deleted file mode 100644 index d963502..0000000 --- a/0001-Add-yast2-branding-openSUSE-if-an-app-depends-on-yas.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 81d941cb916a07988fa382617402ccd2b359c7bb Mon Sep 17 00:00:00 2001 -From: Dominique Leuenberger -Date: Tue, 17 Mar 2015 15:05:34 +0100 -Subject: [PATCH] Add yast2-branding-openSUSE if an app depends on yast2 - ---- - libappstream-builder/asb-task.c | 9 +++++++++ - 1 file changed, 9 insertions(+) - -diff --git a/libappstream-builder/asb-task.c b/libappstream-builder/asb-task.c -index cc681e2..411af5a 100644 ---- a/libappstream-builder/asb-task.c -+++ b/libappstream-builder/asb-task.c -@@ -196,6 +196,15 @@ asb_task_explode_extra_packages (AsbTask *task, GError **error) - GINT_TO_POINTER (1)); - g_ptr_array_add (icon_themes, - g_strdup ("oxygen-icon-theme")); -+ /* Applications depending on yast2 have an implicit dependency -+ * on yast2-branding-openSUSE, which brings required icons in this case. -+ */ -+ } else if (g_strcmp0 (tmp, "yast2-branding-openSUSE") == 0 || -+ g_strcmp0 (tmp, "yast2") == 0) { -+ g_hash_table_insert (hash, g_strdup ("yast2-branding-openSUSE"), -+ GINT_TO_POINTER (1)); -+ g_ptr_array_add (icon_themes, -+ g_strdup ("yast2-branding-openSUSE")); - } else { - g_ptr_array_add (array, g_strdup (tmp)); - } --- -2.3.1 - diff --git a/_service b/_service index d2d9f6d..96585ed 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.5.15 + 0.5.16 enable - refs/tags/appstream_glib_0_5_15 + refs/tags/appstream_glib_0_5_16 *.tar diff --git a/_servicedata b/_servicedata index cfaa871..abed6b9 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - 164491a6b552e2473fab4658933d0495dec98e44 \ No newline at end of file + dc5963fd88b49324b8b4579bbe9199a1a6336f54 \ No newline at end of file diff --git a/appstream-glib-0.5.15.tar.xz b/appstream-glib-0.5.15.tar.xz deleted file mode 100644 index ce1f7d6..0000000 --- a/appstream-glib-0.5.15.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:788a6c022b7f364ea39fa1d095fe0b48f01dd2f557ccc2750c88d13b2cdca47f -size 2198112 diff --git a/appstream-glib-0.5.16.tar.xz b/appstream-glib-0.5.16.tar.xz new file mode 100644 index 0000000..6fb9369 --- /dev/null +++ b/appstream-glib-0.5.16.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a8e1d964ed7ae5743936764fe5e6ae269067ec268f3e593b4db32401aeb6bfc9 +size 2199140 diff --git a/appstream-glib.changes b/appstream-glib.changes index 6794c9d..0156373 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Tue Jun 14 09:37:28 UTC 2016 - dimstar@opensuse.org + +- Update to version 0.5.16: + + Add yast2-branding-openSUSE if an app depends on yast2. + + trivial: post release version bump. + + Fix g_ptr_array_sort use. + + Do not rename a category ID in AsApp. + + Never allow NULL to be added to AsApp string array. + + Allow setting the id prefix and origin using a symlink file + name. + + trivial: Do not load Flatpak repos when searching. + + Correctly detect new AppStream applications in new directories. + + Add elementary to list of project groups. + + trivial: Fix make distcheck. + + trivial: Fix several issues to ensure changed signal are sent. + + Load metainfo files if present. + + Release version 0.5.16. +- Drop + 0001-Add-yast2-branding-openSUSE-if-an-app-depends-on-yas.patch: + fixed upstream. + ------------------------------------------------------------------- Mon May 23 11:50:12 UTC 2016 - dimstar@opensuse.org @@ -40,6 +62,16 @@ Mon May 23 11:50:12 UTC 2016 - dimstar@opensuse.org 0001-Sort-archive-contents-by-name-for-repeatable-results.patch: fixed upstream. +------------------------------------------------------------------- +Thu May 19 19:40:59 CEST 2016 - hpj@suse.com + +- Update to GNOME 3.20.2 (FATE#318572). + +------------------------------------------------------------------- +Tue May 3 23:47:22 UTC 2016 - mgorse@suse.com + +- Update to GNOME 3.20 Fate#318572 + ------------------------------------------------------------------- Mon May 2 13:29:57 UTC 2016 - stefan.bruens@rwth-aachen.de @@ -74,7 +106,7 @@ Mon Apr 4 09:38:19 UTC 2016 - dleuenberger@suse.com - openSUSE-appstream-process: No longer pass --api-version to the appstream-builder call (boo#973385). --------------------------------------------------------------------- +------------------------------------------------------------------- Sat Apr 02 12:34:23 UTC 2016 - zaitor@opensuse.org - Update to version 0.5.13: diff --git a/appstream-glib.spec b/appstream-glib.spec index 9bc4151..e3fcc02 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.5.15 +Version: 0.5.16 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ @@ -29,8 +29,6 @@ Url: http://people.freedesktop.org/~hughsient/appstream-glib/ #Source: http://people.freedesktop.org/~hughsient/appstream-glib/releases/%{name}-%{version}.tar.xz Source0: %{name}-%{version}.tar.xz Source1: openSUSE-appstream-process -# PATCH-FEATURE-OPENSUSE 0001-Add-yast2-branding-openSUSE-if-an-app-depends-on-yas.patch dimstar@opensuse.org -- Add yast2-branding-openSUSE if an app depends on yast2 -Patch0: 0001-Add-yast2-branding-openSUSE-if-an-app-depends-on-yas.patch %if %{_build_from_vcs} BuildRequires: gnome-common %else @@ -167,7 +165,6 @@ for the repositories to be published %prep %setup -q -%patch0 -p1 %build %if %{_build_from_vcs} diff --git a/openSUSE-appstream-process b/openSUSE-appstream-process index 16e1d4e..f1471be 100644 --- a/openSUSE-appstream-process +++ b/openSUSE-appstream-process @@ -52,3 +52,7 @@ fi # off to a mirror to catch the file, improving performance read md5 fn_catchall <<<$(md5sum ${DEST}/appdata-icons.tar.gz) mv ${DEST}/appdata-icons.tar.gz ${DEST}/appdata-icons-${md5}.tar.gz + +# also rename the appdata.xml.gz file in the same style +read md5 fn_catchall <<<$(md5sum ${DEST}/appdata.xml.gz) +mv ${DEST}/appdata.xml.gz ${DEST}/appdata-${md5}.xml.gz From b10f504a4b145fb538e0c4ad322bac07276c22ebbf54d47281d568ab8a62bf63 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sun, 17 Jul 2016 09:54:01 +0000 Subject: [PATCH 32/59] Attempt to quick-fix software.o.o with next snapshot OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=33 --- openSUSE-appstream-process | 1 + 1 file changed, 1 insertion(+) diff --git a/openSUSE-appstream-process b/openSUSE-appstream-process index f1471be..cfe5b31 100644 --- a/openSUSE-appstream-process +++ b/openSUSE-appstream-process @@ -56,3 +56,4 @@ mv ${DEST}/appdata-icons.tar.gz ${DEST}/appdata-icons-${md5}.tar.gz # also rename the appdata.xml.gz file in the same style read md5 fn_catchall <<<$(md5sum ${DEST}/appdata.xml.gz) mv ${DEST}/appdata.xml.gz ${DEST}/appdata-${md5}.xml.gz +ln -s ${DEST}/appdata-${md5}.xml.gz ${DEST}/appdata.xml.gz From a8fb7689b96f211e5f714764417e4d8396c5636aed8d9a2a877747c6c3144e7e Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 18 Jul 2016 09:38:45 +0000 Subject: [PATCH 33/59] Fixup OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=34 --- openSUSE-appstream-process | 1 - 1 file changed, 1 deletion(-) diff --git a/openSUSE-appstream-process b/openSUSE-appstream-process index cfe5b31..f1471be 100644 --- a/openSUSE-appstream-process +++ b/openSUSE-appstream-process @@ -56,4 +56,3 @@ mv ${DEST}/appdata-icons.tar.gz ${DEST}/appdata-icons-${md5}.tar.gz # also rename the appdata.xml.gz file in the same style read md5 fn_catchall <<<$(md5sum ${DEST}/appdata.xml.gz) mv ${DEST}/appdata.xml.gz ${DEST}/appdata-${md5}.xml.gz -ln -s ${DEST}/appdata-${md5}.xml.gz ${DEST}/appdata.xml.gz From 26b2fff17fef065afbf0dd0f8864328dd833952b97ae6485a737b4e438e92b2a Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 27 Jul 2016 14:29:41 +0000 Subject: [PATCH 34/59] Accepting request 408659 from GNOME:Factory New upstream release OBS-URL: https://build.opensuse.org/request/show/408659 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=35 --- _service | 4 ++-- _servicedata | 2 +- appstream-glib-0.5.16.tar.xz | 3 --- appstream-glib-0.5.17.tar.xz | 3 +++ appstream-glib.changes | 27 +++++++++++++++++++++++++++ appstream-glib.spec | 2 +- 6 files changed, 34 insertions(+), 7 deletions(-) delete mode 100644 appstream-glib-0.5.16.tar.xz create mode 100644 appstream-glib-0.5.17.tar.xz diff --git a/_service b/_service index 96585ed..7acb39c 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.5.16 + 0.5.17 enable - refs/tags/appstream_glib_0_5_16 + refs/tags/appstream_glib_0_5_17 *.tar diff --git a/_servicedata b/_servicedata index abed6b9..3eab97a 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - dc5963fd88b49324b8b4579bbe9199a1a6336f54 \ No newline at end of file + 7f0946df15140bb67074d430d50fb55a1dfa9f65 \ No newline at end of file diff --git a/appstream-glib-0.5.16.tar.xz b/appstream-glib-0.5.16.tar.xz deleted file mode 100644 index 6fb9369..0000000 --- a/appstream-glib-0.5.16.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a8e1d964ed7ae5743936764fe5e6ae269067ec268f3e593b4db32401aeb6bfc9 -size 2199140 diff --git a/appstream-glib-0.5.17.tar.xz b/appstream-glib-0.5.17.tar.xz new file mode 100644 index 0000000..b238eb9 --- /dev/null +++ b/appstream-glib-0.5.17.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:71e3c432cd59c0ab51439c99676e3e86ef4ef2ebfd31c6f49cd6384b99c3c953 +size 2198652 diff --git a/appstream-glib.changes b/appstream-glib.changes index 0156373..9048d3d 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Thu Jul 14 09:47:41 UTC 2016 - zaitor@opensuse.org + +- Update to version 0.5.17: + + trivial: post release version bump. + + Fix gtk-doc build when builddir != srcdir. + + Optionally use libstemmer for keyword stemming. + + trivial: Do not include the prefix in the id-filename. + + trivial: Disable libstemmer by default. + + trivial: Get rid of useless internal-only gtk-doc markup. + + trivial: Fix 'make check' without libstemmer. + + Fall back to the country code in as_app_get_language(). + + Add an AS_STATE_PURCHASABLE constant so we can support + purchasing apps. + + Add an AS_STATE_PURCHASING constant. + + monitor: Use non-deprecated glib API for monitoring renames. + + trivial: Fix a compiler warning with libstemmer disabled. + + store: Don't emit a warning when flatpak user directory doesn't + exist. + + Correct disabling of timestamps for gzip. + + trivial: Remove the X- hack from parsing the category list. + + Add external (X-*) keys of an app's desktop file as metadata + AsApp. + + Fix missing keywords in the previous commit. + + Don't add multiple categories for apps with AudioVideo. + + Release version 0.5.17 + ------------------------------------------------------------------- Tue Jun 14 09:37:28 UTC 2016 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index e3fcc02..a6d4819 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.5.16 +Version: 0.5.17 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ From 8af93f4b9aab289516a33ed2f7c9eeed8283f7118ed29359b6819cae8420df31 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 9 Sep 2016 08:18:29 +0000 Subject: [PATCH 35/59] Accepting request 425616 from GNOME:Factory 1 OBS-URL: https://build.opensuse.org/request/show/425616 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=36 --- _service | 4 +- _servicedata | 2 +- appstream-glib-0.5.17.tar.xz | 3 - appstream-glib-0.6.2.tar.xz | 3 + appstream-glib-lang.patch | 34 +++++++++ appstream-glib.changes | 139 +++++++++++++++++++++++++++++++++++ appstream-glib.spec | 6 +- openSUSE-appstream-process | 5 +- 8 files changed, 187 insertions(+), 9 deletions(-) delete mode 100644 appstream-glib-0.5.17.tar.xz create mode 100644 appstream-glib-0.6.2.tar.xz create mode 100644 appstream-glib-lang.patch diff --git a/_service b/_service index 7acb39c..5a9fbda 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.5.17 + 0.6.2 enable - refs/tags/appstream_glib_0_5_17 + refs/tags/appstream_glib_0.6.2 *.tar diff --git a/_servicedata b/_servicedata index 3eab97a..14abaa3 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - 7f0946df15140bb67074d430d50fb55a1dfa9f65 \ No newline at end of file + b05f647c162e809f18261e8cdca40c031be2dbb6 \ No newline at end of file diff --git a/appstream-glib-0.5.17.tar.xz b/appstream-glib-0.5.17.tar.xz deleted file mode 100644 index b238eb9..0000000 --- a/appstream-glib-0.5.17.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:71e3c432cd59c0ab51439c99676e3e86ef4ef2ebfd31c6f49cd6384b99c3c953 -size 2198652 diff --git a/appstream-glib-0.6.2.tar.xz b/appstream-glib-0.6.2.tar.xz new file mode 100644 index 0000000..1af9863 --- /dev/null +++ b/appstream-glib-0.6.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3586b48c367eca571d53f3f839225838eb81f3c86897a2d0e2a97a810e406fd1 +size 2211024 diff --git a/appstream-glib-lang.patch b/appstream-glib-lang.patch new file mode 100644 index 0000000..8817ca6 --- /dev/null +++ b/appstream-glib-lang.patch @@ -0,0 +1,34 @@ +From bbc53c914bcb04970b1b34079783d541f71c65a8 Mon Sep 17 00:00:00 2001 +From: Dominique Leuenberger +Date: Mon, 5 Sep 2016 15:06:19 +0200 +Subject: [PATCH] Add -lang package as a dependency in order to properly detect + translations + +In openSUSE, the -lang package is 'only' recommended, so that users CAN save the +space if they don't need them (and using bundles there is also a method to only install +one language instead of all supported ones). + +Unfortunately, with this technique, gnome-software keeps on pretending that no application +is localized in openSUSE. +--- + libappstream-builder/asb-package-rpm.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/libappstream-builder/asb-package-rpm.c b/libappstream-builder/asb-package-rpm.c +index ef80584..3937535 100644 +--- a/libappstream-builder/asb-package-rpm.c ++++ b/libappstream-builder/asb-package-rpm.c +@@ -333,6 +333,10 @@ asb_package_rpm_ensure_deps (AsbPackage *pkg, GError **error) + *tmp = '\0'; + asb_package_add_dep (pkg, dep_no_qual); + } ++ /* Add the corresponding -lang package as a dependency */ ++ tmp = g_strconcat (asb_package_get_name (pkg), "-lang", NULL); ++ asb_package_add_dep (pkg, tmp); ++ g_free (tmp); + out: + rpmtdFreeData (td); + rpmtdFree (td); +-- +2.9.3 + diff --git a/appstream-glib.changes b/appstream-glib.changes index 9048d3d..dbe181d 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,142 @@ +------------------------------------------------------------------- +Thu Sep 8 07:59:12 UTC 2016 - dimstar@opensuse.org + +- Update openSUSE-appstream-process: + + Do not include -failed.xml.gz: people complain about the + additional ~ 100KB zypp downloads on a repodata refresh at 'no + value for them'. The failed.xml.gz is not needed for regular + operations, but was a great help for packagers to find out why + their app was vetoed. They will need to find different ways to + get this info. + + Rename appdata-screenshots.tar to appdata-screenshots-$HASH.tar + to help mirrorbrain offload this file to mirrors. + +------------------------------------------------------------------- +Mon Sep 5 14:24:27 UTC 2016 - dimstar@opensuse.org + +- Add appstream-glib-lang.patch: Add -lang package as a dependency + in order to properly detect translations. + +------------------------------------------------------------------- +Mon Sep 05 13:49:29 UTC 2016 - dimstar@opensuse.org + +- Update to version 0.6.2: + + New Features: + - Add a hash function specifically designed for unique-ids. + - Add AS_BUNDLE_KIND_CABINET. + - Remove the inf parsing from appstream-glib. + + Bugfixes: + - Check if icon name is unset before checking the prefix. + - Do not merge all LangPack entries. + - Do not require an icon from LOCALIZATION kind. + - Do not use the deprecated GNOME_COMPILE_WARNINGS. + - Do not use the prefix check when parsing YAML. + - Fix gcc shift warnings on 32 bit platforms. + - Ignore system datadirs that are actually per-user. + - Invalidate the unique-id if any of the parts are changed. + - Make upgrade check for SPDX license string. + - Pay attention to errors from libyaml + (gh#hughsie/appstream-glib#129). + +------------------------------------------------------------------- +Tue Aug 16 13:43:47 UTC 2016 - dimstar@opensuse.org + +- Update to version 0.6.1: + + trivial: post release version bump. + + Add Sugar as a valid desktop environment + (gh#highsie/appstream-glib#118). + + Do not save the 'X-' prefixed keys to the AppStream metadata. + + correct issue in transifex link + (gh#hughsie/appstream-glib#119). + + trivial: Factor out a soon-to-be-shared function. + + trivial: Add two more renamed desktop IDs. + + Add two new GCC warnings and fix up signed/unsigned issues. + + Be more careful choosing warning flags. + + trivial: Fix some gtk-doc markup. + + Add AsReview. + + trivial: Remove AsReview.karma as it's implementation specific. + + trivial: Update git.mk to latest upstream copy. + + Port away from intltool. + + Do not split up the main AudioVideo category. + + Don't change ABI when built with/without gperf + (gh#hughsie/appstream-glib#123). + + Avoid unsatisfiable development dependency when built without + libgcab (gh#hughsie/appstream-glib#122). + + trivial: Post branch version bump. + + Remove specific support for flatpak. + + trivial: Fix some gtk-doc markup. + + trivial: Add AS_BUNDLE_KIND_SNAP. + + trivial: Add AS_BUNDLE_KIND_PACKAGE. + + Add as_app_equal(). + + Add as_app_set_branch(). + + Include the architecture in the equality check. + + Include the origin in the equality check. + + Include the scope in the equality check. + + Include the distribution system in the equality check. + + trivial: Fix the origin name when using the symlink name. + + trivial: Fix the flatpak scope when using the symlink name. + + trivial: Show the unique ID when using 'appstream-util search'. + + Add as_store_get_app_by_unique_id(). + + Enable globbing in as_app_equal(). + + Restrict addons to the same scope and bundle kind. + + Include the version in the equality check. + + Add as_utils_unique_id_build(). + + Allow multiple components with the same AppStream ID in the + AsStore. + + trivial: Don't write invalid width and height properties. + + trivial: Add some initial self tests for + AS_STORE_ADD_FLAG_USE_UNIQUE_ID. + + Skip DEP-11 tests when DEP-11 is not enabled. + + as_store_from_file_internal: don't redundantly monitor files. + + as_store_from_file_internal: set up path data for the file + itself. + + Use an array of application objects in the ID hash. + + trivial: Use the unique ID in the dedupe logs. + + trivial: Fix critical warning when parsing qm files without a + domain. + + Add support for Google .PAK file to extract the data for + apps. + + Always use wildcards when adding apps to the store. + + Add a fast as_utils_unique_id_equal() to compare IDs for + equality. + + Add as_utils_unique_id_valid() and use it before parsing. + + trivial: Fix as_utils_unique_id_equal() to work with multiple + globs. + + Support merge components. + + Use a more relaxed unique-id match for merge components. + + Add some more validation checks for keywords. + + trivial: Use the existing quirk as it can be made useful again. + + trivial: Parse the unique_id correctly when searching. + + trivial: Check if the flatpak ID is valid before using. + + Only subsume a safe subset from merge components. + + trivial: Update to latest translations from transifex. + + trivial: Switch from Transifex to Zanata. + + trivial: Decompress .pak files when getting languages. + + Don't include the version in the unique ID. + + Don't include the architecture in the unique ID. + + Allow subsuming each property individually. + + Add SUSE-Public-Domain to License map + (gh#hughsie/appstream-glib#126). + + Add the TRANSLATE URL kind. + + trivial: Fix some gtk-doc markup. + + No validation failure for lots of releases. + + trivial: Be a bit more helpful when reporting validation + warnings. + + trivial: Fix the comment text for 'help' when upgrading. + + Print max caption length when validating. + + trivial: Allow setting the output trusted mode using an + environment variable. + + trivial: Don't add a duplicate when it exists + already. + + Ensure predictable output order of XML attributes. + + Support AppStream merge components. + + Add support for application suggestions. + + Make asglib read current component-type names. + + yaml: Read all component types, not just desktop-apps. + + Add console-app component type. + + trivial: Fix validation of console-application components. + + Release version 0.6.1. + ------------------------------------------------------------------- Thu Jul 14 09:47:41 UTC 2016 - zaitor@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index a6d4819..fdaa6b8 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -20,15 +20,16 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.5.17 +Version: 0.6.2 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ Group: System/Libraries Url: http://people.freedesktop.org/~hughsient/appstream-glib/ -#Source: http://people.freedesktop.org/~hughsient/appstream-glib/releases/%{name}-%{version}.tar.xz Source0: %{name}-%{version}.tar.xz Source1: openSUSE-appstream-process +# PATCH-FEATURE-UPSTREAM appstream-glib-lang.patch gh#hughsie/appstream-glib#135 dimstar@opensuse.org -- Add -lang packages as internal deps. This helps us to show apps as localized +Patch0: appstream-glib-lang.patch %if %{_build_from_vcs} BuildRequires: gnome-common %else @@ -165,6 +166,7 @@ for the repositories to be published %prep %setup -q +%patch0 -p1 %build %if %{_build_from_vcs} diff --git a/openSUSE-appstream-process b/openSUSE-appstream-process index f1471be..7aa7d40 100644 --- a/openSUSE-appstream-process +++ b/openSUSE-appstream-process @@ -11,7 +11,6 @@ TMPDIR=$(mktemp -d) /usr/bin/appstream-builder \ --enable-hidpi \ - --include-failed \ --temp-dir=${TMPDIR}/apb \ --cache-dir=${TMPDIR}/apb/cache \ --origin=appdata \ @@ -56,3 +55,7 @@ mv ${DEST}/appdata-icons.tar.gz ${DEST}/appdata-icons-${md5}.tar.gz # also rename the appdata.xml.gz file in the same style read md5 fn_catchall <<<$(md5sum ${DEST}/appdata.xml.gz) mv ${DEST}/appdata.xml.gz ${DEST}/appdata-${md5}.xml.gz + +# And the same for the -screenshots tarball (containing auto-generated screenshots for fonts) +read md5 fn_catchall <<<$(md5sum ${DEST}/appdata-screenshots.tar) +mv ${DEST}/appdata-screenshots.tar ${DEST}/appdata-screenshots-${md5}.tar From 02ee9bc0ecb9e02096fa38c929c36134c758f4ff11f94e118b3755a8d8c0503d Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 21 Sep 2016 16:25:47 +0000 Subject: [PATCH 36/59] Accepting request 428988 from GNOME:Factory - Update openSUSE-appstream-process: do not rename the various appstream files to contain the sha hash in their filename: zypp is not (yet) able to cope with this (boo#999047). (forwarded request 428684 from dimstar) OBS-URL: https://build.opensuse.org/request/show/428988 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=37 --- _service | 4 ++-- _servicedata | 2 +- appstream-glib-0.6.2.tar.xz | 3 --- appstream-glib-0.6.3.tar.xz | 3 +++ appstream-glib-lang.patch | 34 ---------------------------------- appstream-glib.changes | 27 +++++++++++++++++++++++++++ appstream-glib.spec | 5 +---- openSUSE-appstream-process | 26 +++++++++++++++----------- 8 files changed, 49 insertions(+), 55 deletions(-) delete mode 100644 appstream-glib-0.6.2.tar.xz create mode 100644 appstream-glib-0.6.3.tar.xz delete mode 100644 appstream-glib-lang.patch diff --git a/_service b/_service index 5a9fbda..7afa3d1 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.6.2 + 0.6.3 enable - refs/tags/appstream_glib_0.6.2 + refs/tags/appstream_glib_0_6_3 *.tar diff --git a/_servicedata b/_servicedata index 14abaa3..3078097 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - b05f647c162e809f18261e8cdca40c031be2dbb6 \ No newline at end of file + 9745dabb0b3ca2de17e74e97aa54e181d65f76a7 \ No newline at end of file diff --git a/appstream-glib-0.6.2.tar.xz b/appstream-glib-0.6.2.tar.xz deleted file mode 100644 index 1af9863..0000000 --- a/appstream-glib-0.6.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3586b48c367eca571d53f3f839225838eb81f3c86897a2d0e2a97a810e406fd1 -size 2211024 diff --git a/appstream-glib-0.6.3.tar.xz b/appstream-glib-0.6.3.tar.xz new file mode 100644 index 0000000..ee54378 --- /dev/null +++ b/appstream-glib-0.6.3.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6727e6188cf4cde23830c862ce0e22827b38770c17d78f0fc0b05d2f28dc0da3 +size 2213776 diff --git a/appstream-glib-lang.patch b/appstream-glib-lang.patch deleted file mode 100644 index 8817ca6..0000000 --- a/appstream-glib-lang.patch +++ /dev/null @@ -1,34 +0,0 @@ -From bbc53c914bcb04970b1b34079783d541f71c65a8 Mon Sep 17 00:00:00 2001 -From: Dominique Leuenberger -Date: Mon, 5 Sep 2016 15:06:19 +0200 -Subject: [PATCH] Add -lang package as a dependency in order to properly detect - translations - -In openSUSE, the -lang package is 'only' recommended, so that users CAN save the -space if they don't need them (and using bundles there is also a method to only install -one language instead of all supported ones). - -Unfortunately, with this technique, gnome-software keeps on pretending that no application -is localized in openSUSE. ---- - libappstream-builder/asb-package-rpm.c | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/libappstream-builder/asb-package-rpm.c b/libappstream-builder/asb-package-rpm.c -index ef80584..3937535 100644 ---- a/libappstream-builder/asb-package-rpm.c -+++ b/libappstream-builder/asb-package-rpm.c -@@ -333,6 +333,10 @@ asb_package_rpm_ensure_deps (AsbPackage *pkg, GError **error) - *tmp = '\0'; - asb_package_add_dep (pkg, dep_no_qual); - } -+ /* Add the corresponding -lang package as a dependency */ -+ tmp = g_strconcat (asb_package_get_name (pkg), "-lang", NULL); -+ asb_package_add_dep (pkg, tmp); -+ g_free (tmp); - out: - rpmtdFreeData (td); - rpmtdFree (td); --- -2.9.3 - diff --git a/appstream-glib.changes b/appstream-glib.changes index dbe181d..4cf4930 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Mon Sep 19 12:44:38 UTC 2016 - dimstar@opensuse.org + +- Update openSUSE-appstream-process: do not rename the various + appstream files to contain the sha hash in their filename: zypp + is not (yet) able to cope with this (boo#999047). + +------------------------------------------------------------------- +Sun Sep 11 09:50:57 UTC 2016 - zaitor@opensuse.org + +- Update to version 0.6.3: + + trivial: + - Fix a -Wundef compiler warning. + - Sync example spec file with downstream. + - Do not write for unknown types. + - Fix up tests after the -lang auto-dep commit. + + Support components with merge=replace rules. + + Add a component kind of 'driver'. + + Refactor the desktop file icon loading code. + + Convert the built unknown icons to the correct kind depending + on the action. + + Add -lang package as a dependency in order to properly detect + translations (gh#hughsie/appstream-glib#135). + + Add an easy way to add a modalias to an existing file. + + Add an easy way to add a language to an existing file. +- Drop appstream-glib-lang.patch: Fixed upstream. + ------------------------------------------------------------------- Thu Sep 8 07:59:12 UTC 2016 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index fdaa6b8..75a7251 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.6.2 +Version: 0.6.3 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ @@ -28,8 +28,6 @@ Group: System/Libraries Url: http://people.freedesktop.org/~hughsient/appstream-glib/ Source0: %{name}-%{version}.tar.xz Source1: openSUSE-appstream-process -# PATCH-FEATURE-UPSTREAM appstream-glib-lang.patch gh#hughsie/appstream-glib#135 dimstar@opensuse.org -- Add -lang packages as internal deps. This helps us to show apps as localized -Patch0: appstream-glib-lang.patch %if %{_build_from_vcs} BuildRequires: gnome-common %else @@ -166,7 +164,6 @@ for the repositories to be published %prep %setup -q -%patch0 -p1 %build %if %{_build_from_vcs} diff --git a/openSUSE-appstream-process b/openSUSE-appstream-process index 7aa7d40..c642e9b 100644 --- a/openSUSE-appstream-process +++ b/openSUSE-appstream-process @@ -6,6 +6,7 @@ URL=https://static.opensuse.org/appstream/tumbleweed # Do not produce the html files - the biggest tasks are done # Users interested in them can always produce them locally out of the appdata.xml.gz file HTMLOUT=no +HASHED_NAMES=no TMPDIR=$(mktemp -d) @@ -46,16 +47,19 @@ if [ "$HTMLOUT" = "yes" ]; then xz -9 ${DEST}/appdata-failed.html fi -# rename the appdata-icons.tar.gz tarball to something like -# appdata-icons-${hash}.tar.gz, allowing mirrorbrain to send users -# off to a mirror to catch the file, improving performance -read md5 fn_catchall <<<$(md5sum ${DEST}/appdata-icons.tar.gz) -mv ${DEST}/appdata-icons.tar.gz ${DEST}/appdata-icons-${md5}.tar.gz -# also rename the appdata.xml.gz file in the same style -read md5 fn_catchall <<<$(md5sum ${DEST}/appdata.xml.gz) -mv ${DEST}/appdata.xml.gz ${DEST}/appdata-${md5}.xml.gz +if [ "$HASHED_NAMES" = "yes" ]; then + # rename the appdata-icons.tar.gz tarball to something like + # appdata-icons-${hash}.tar.gz, allowing mirrorbrain to send users + # off to a mirror to catch the file, improving performance + read md5 fn_catchall <<<$(md5sum ${DEST}/appdata-icons.tar.gz) + mv ${DEST}/appdata-icons.tar.gz ${DEST}/appdata-icons-${md5}.tar.gz -# And the same for the -screenshots tarball (containing auto-generated screenshots for fonts) -read md5 fn_catchall <<<$(md5sum ${DEST}/appdata-screenshots.tar) -mv ${DEST}/appdata-screenshots.tar ${DEST}/appdata-screenshots-${md5}.tar + # also rename the appdata.xml.gz file in the same style + read md5 fn_catchall <<<$(md5sum ${DEST}/appdata.xml.gz) + mv ${DEST}/appdata.xml.gz ${DEST}/appdata-${md5}.xml.gz + + # And the same for the -screenshots tarball (containing auto-generated screenshots for fonts) + read md5 fn_catchall <<<$(md5sum ${DEST}/appdata-screenshots.tar) + mv ${DEST}/appdata-screenshots.tar ${DEST}/appdata-screenshots-${md5}.tar +fi From ba6bf3374f540906de04e59fb81d065390c1e23d3d04ba1ca087ee981ff93264 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 18 Oct 2016 08:34:11 +0000 Subject: [PATCH 37/59] Accepting request 435412 from GNOME:Factory 1 OBS-URL: https://build.opensuse.org/request/show/435412 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=38 --- _service | 4 ++-- _servicedata | 2 +- appstream-glib-0.6.3.tar.xz | 3 --- appstream-glib-0.6.4.tar.xz | 3 +++ appstream-glib.changes | 30 ++++++++++++++++++++++++++++++ appstream-glib.spec | 2 +- 6 files changed, 37 insertions(+), 7 deletions(-) delete mode 100644 appstream-glib-0.6.3.tar.xz create mode 100644 appstream-glib-0.6.4.tar.xz diff --git a/_service b/_service index 7afa3d1..86ad4e8 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.6.3 + 0.6.4 enable - refs/tags/appstream_glib_0_6_3 + refs/tags/appstream_glib_0_6_4 *.tar diff --git a/_servicedata b/_servicedata index 3078097..a6c7f88 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - 9745dabb0b3ca2de17e74e97aa54e181d65f76a7 \ No newline at end of file + 21d0a0322989c3ef64dd11907be6bebdfc9d20d5 \ No newline at end of file diff --git a/appstream-glib-0.6.3.tar.xz b/appstream-glib-0.6.3.tar.xz deleted file mode 100644 index ee54378..0000000 --- a/appstream-glib-0.6.3.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6727e6188cf4cde23830c862ce0e22827b38770c17d78f0fc0b05d2f28dc0da3 -size 2213776 diff --git a/appstream-glib-0.6.4.tar.xz b/appstream-glib-0.6.4.tar.xz new file mode 100644 index 0000000..387e667 --- /dev/null +++ b/appstream-glib-0.6.4.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:91c1e6ccd07f540fd65fe0c92980ce94cc348ca9e44f34bb0fb55360a414d0bd +size 2213744 diff --git a/appstream-glib.changes b/appstream-glib.changes index 4cf4930..0f20418 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,33 @@ +------------------------------------------------------------------- +Thu Oct 13 12:13:37 UTC 2016 - dimstar@opensuse.org + +- Update to version 0.6.4: + + trivial: + - post release version bump. + - Allow detailed profiling when using as_store_from_file(). + - Make as_profile_clear() threadsafe. + - Make as_profile_dump() threadsafe. + - Fix building AppStream metadata when using local files. + - Fix two potential deadlocks in the AsProfile code. + - Add some sanity checks to the unique-id hash tests. + - Fix a couple of warnings with -Wundef. + + Add support for AppImage bundles. + + Fix building metadata on repos with mixed architecture content. + + Add as_store_add_apps(). + + Add as_profile_prune() for limiting the profiling output. + + Add as_profile_set_autoprune() for automatically limiting the + profiling output. + + Fix the CSM rating age calculation. + + Add as_content_rating_get_value(). + + Fix setting the origin for Flatpak user repos. + + Never inhierit Name and Comment when using appstream-compose. + + Don't show a critical warning on invalid yaml file. + + Fix a small memory leak when parsing yaml files. + + Add functions to build and validate an AppStream ID. + + Add flag to only load uncompressed files into a store. + + Allow filtering applications based on merge type. + + Release version 0.6.4. + ------------------------------------------------------------------- Mon Sep 19 12:44:38 UTC 2016 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index 75a7251..dc6fd6b 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.6.3 +Version: 0.6.4 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ From 95d1b51ea5182595cc07c8fbcc75c1f7029ad6fb75242829629fe98ac0e326b2 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 10 Nov 2016 12:13:46 +0000 Subject: [PATCH 38/59] Accepting request 439262 from GNOME:Factory Update to 0.6.5 (forwarded request 439247 from dimstar) OBS-URL: https://build.opensuse.org/request/show/439262 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=39 --- _service | 4 ++-- _servicedata | 2 +- appstream-glib-0.6.4.tar.xz | 3 --- appstream-glib-0.6.5.tar.xz | 3 +++ appstream-glib.changes | 36 ++++++++++++++++++++++++++++++++++++ appstream-glib.spec | 2 +- 6 files changed, 43 insertions(+), 7 deletions(-) delete mode 100644 appstream-glib-0.6.4.tar.xz create mode 100644 appstream-glib-0.6.5.tar.xz diff --git a/_service b/_service index 86ad4e8..aa91621 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.6.4 + 0.6.5 enable - refs/tags/appstream_glib_0_6_4 + refs/tags/appstream_glib_0_6_5 *.tar diff --git a/_servicedata b/_servicedata index a6c7f88..8eef3ab 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - 21d0a0322989c3ef64dd11907be6bebdfc9d20d5 \ No newline at end of file + df67bd4d9da7dd58fe5628f758bf229417f2c38c \ No newline at end of file diff --git a/appstream-glib-0.6.4.tar.xz b/appstream-glib-0.6.4.tar.xz deleted file mode 100644 index 387e667..0000000 --- a/appstream-glib-0.6.4.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:91c1e6ccd07f540fd65fe0c92980ce94cc348ca9e44f34bb0fb55360a414d0bd -size 2213744 diff --git a/appstream-glib-0.6.5.tar.xz b/appstream-glib-0.6.5.tar.xz new file mode 100644 index 0000000..8dcfc43 --- /dev/null +++ b/appstream-glib-0.6.5.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:27d8141af0d525de40b6aca148fbb94a8493542fbf2db1ac5a5608c7eb76449e +size 2216176 diff --git a/appstream-glib.changes b/appstream-glib.changes index 0f20418..09cc1fc 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,39 @@ +------------------------------------------------------------------- +Mon Nov 07 16:30:58 UTC 2016 - dimstar@opensuse.org + +- Update to version 0.6.5: + + Trivial changes: + - Allow the stemmer to be disabled at runtime for testing. + - Allow priming the search cache using a NULL search value. + - Allocate less strings when generating the token cache. + - Show threaded tasks in bold in the profile output. + - Speed up checking token validity by a few ms. + - Restore behaviour compatibility to fix self tests. + - Add API to set the smallest recorded delay time. + - Only load native languages from desktop files when the flag + is set. + - Output profiling infomation to stderr. + - Unsingleton AsStemmer and use a shared instance in AsStore. + + Do not sent a REMOVED signal when deleting a transient temp + file. + + Process file changes when an attribute changes. + + Handle files being moved into monitored AppStream directories. + + Add a 'watch' command to appstream-util. + + Monitor missing AppStream directories. + + Revert "trivial: Restrict the bundle kind when parsing local + files". + + Ensure the component scope is set when loading yaml files. + + Always copy the installed state when replacing AppData with + AppStream. + + Merge also the metadata when merging two apps. + + Add app-removed, app-added and app-changed signals to AsStore. + + Only transliterate when the locale requires it. + + Add as_store_load_search_cache(). + + Load the search token blacklist into a hash table. + + Use multiple threads to load the search cache. + + Only load native languages when parsing AppStream data. + + Allow the client to control what search fields are indexed. + ------------------------------------------------------------------- Thu Oct 13 12:13:37 UTC 2016 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index dc6fd6b..027534d 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.6.4 +Version: 0.6.5 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ From 49301216e80f04806d4ce4f0c62f9fc2db4b79649789ff15079b7f586304443c Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Mon, 26 Dec 2016 20:43:01 +0000 Subject: [PATCH 39/59] Accepting request 447051 from GNOME:Factory 1 OBS-URL: https://build.opensuse.org/request/show/447051 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=40 --- _service | 4 +-- _servicedata | 2 +- appstream-glib-0.6.5.tar.xz | 3 -- appstream-glib-0.6.6.tar.xz | 3 ++ appstream-glib.changes | 58 +++++++++++++++++++++++++++++++++++++ appstream-glib.spec | 2 +- 6 files changed, 65 insertions(+), 7 deletions(-) delete mode 100644 appstream-glib-0.6.5.tar.xz create mode 100644 appstream-glib-0.6.6.tar.xz diff --git a/_service b/_service index aa91621..2cbf17f 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.6.5 + 0.6.6 enable - refs/tags/appstream_glib_0_6_5 + refs/tags/appstream_glib_0_6_6 *.tar diff --git a/_servicedata b/_servicedata index 8eef3ab..753d013 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - df67bd4d9da7dd58fe5628f758bf229417f2c38c \ No newline at end of file + b006ed551ef9296342bf695d3d0b2bab69beb63b \ No newline at end of file diff --git a/appstream-glib-0.6.5.tar.xz b/appstream-glib-0.6.5.tar.xz deleted file mode 100644 index 8dcfc43..0000000 --- a/appstream-glib-0.6.5.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:27d8141af0d525de40b6aca148fbb94a8493542fbf2db1ac5a5608c7eb76449e -size 2216176 diff --git a/appstream-glib-0.6.6.tar.xz b/appstream-glib-0.6.6.tar.xz new file mode 100644 index 0000000..f96ebcc --- /dev/null +++ b/appstream-glib-0.6.6.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e67c3fff26ca82f0471b30c61fc0c4d644b08648627900a0e3cf6771f6802cd5 +size 2222016 diff --git a/appstream-glib.changes b/appstream-glib.changes index 09cc1fc..efc2eef 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,61 @@ +------------------------------------------------------------------- +Fri Dec 16 17:25:55 UTC 2016 - zaitor@opensuse.org + +- Update to version 0.6.6: + + trivial: + - Remove two unused variables. + - Use g_autoptr to avoid a Coverity warning. + - Do not leak the entry if the file cannot be read. + - Fix the self tests now we're stemming the tag cache. + - Show a total process time when using appstream-util + --profile. + - Don't split the text every time in the XML parsing hot path. + - Add as_ref_string_debug(). + - Add as_ref_string_new_static(). + - Fix a tiny memory leak when escaping cdata. + - Fix unused variable warnings. + - Use -Wunused. + - Remove an ununsed variable. + - Remove a tiny compiler warning. + - Do not attempt to parse unknown tags when converting. + - Don't include trailing whitespace from AppData files. + - Output the release state if the export is trusted + - Add some asserts to shut up clang. + + Check the return value of the stat call. + + Do not save the XML attributes if the node or parent node is + being ignored. + + Don't recommend use of DISTCHECK_CONFIGURE_FLAGS. + + Deduplicate the AsNode attribute key and value using a hash + table. + + Deduplicate common AsNode cdata sections for some tag types. + + Dedupliate nonstandard tag names using a hash table. + + Detect invalid files in the libyaml read handler. + + Don't export NULL tags from AppData file. + + Add a refcounted overloaded C string object. + + Use refcounted strings in all objects. + + Lazy load structures in AsRelease. + + Use refcounted strings as the localised key. + + Lazy load the screenshot captions storage. + + Allocate the release sizes at runtime. + + trivial: Use a finer threshold when performing massif. + + Cache the stemmer results in a hash table. + + Add support for ONLY_NATIVE_LANGS when parsing yaml files. + + Use full RELRO in the client executables. + + Enable the stack protection in local builds. + + Set a better icon for codecs. + + Make AsRefString thread safe. + + Fix one more thread safety issue with AsRefString. + + Don't regenerate .pot files with every build. + + Don't add for addons. + + Don't add for addons. + + Don't add for addons. + + Don't add for addons. + + Do not absorb core addons into the main application. + + Add Geary to the app id fallbacks. + + Add AS_APP_QUIRK_IS_PROXY. + + Add as_release_state_to_string(). + + Subsume the AppData releases into AppStream items. + ------------------------------------------------------------------- Mon Nov 07 16:30:58 UTC 2016 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index 027534d..811d650 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.6.5 +Version: 0.6.6 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ From 13f62c006defa4a6bb9afc34eb8474d69f52a5da48696d28cfd8ad46a5fe7809 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sun, 15 Jan 2017 10:08:49 +0000 Subject: [PATCH 40/59] Accepting request 449829 from GNOME:Factory 1 OBS-URL: https://build.opensuse.org/request/show/449829 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=41 --- _service | 4 ++-- _servicedata | 2 +- appstream-glib-0.6.6.tar.xz | 3 --- appstream-glib-0.6.7.tar.xz | 3 +++ appstream-glib.changes | 25 +++++++++++++++++++++++++ appstream-glib.spec | 4 ++-- 6 files changed, 33 insertions(+), 8 deletions(-) delete mode 100644 appstream-glib-0.6.6.tar.xz create mode 100644 appstream-glib-0.6.7.tar.xz diff --git a/_service b/_service index 2cbf17f..39b4145 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.6.6 + 0.6.7 enable - refs/tags/appstream_glib_0_6_6 + refs/tags/appstream_glib_0_6_7 *.tar diff --git a/_servicedata b/_servicedata index 753d013..3b8b90c 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - b006ed551ef9296342bf695d3d0b2bab69beb63b \ No newline at end of file + 329a4aa5e0421a49d339d22f61f755a2a8fa21d0 \ No newline at end of file diff --git a/appstream-glib-0.6.6.tar.xz b/appstream-glib-0.6.6.tar.xz deleted file mode 100644 index f96ebcc..0000000 --- a/appstream-glib-0.6.6.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e67c3fff26ca82f0471b30c61fc0c4d644b08648627900a0e3cf6771f6802cd5 -size 2222016 diff --git a/appstream-glib-0.6.7.tar.xz b/appstream-glib-0.6.7.tar.xz new file mode 100644 index 0000000..a6bf23f --- /dev/null +++ b/appstream-glib-0.6.7.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6528b724f5636a69530ca6b073aceaf8e35640dbf6a3a9b132790fa33e2df4f8 +size 2225740 diff --git a/appstream-glib.changes b/appstream-glib.changes index efc2eef..fede842 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Thu Jan 12 11:10:26 UTC 2017 - dimstar@opensuse.org + +- Update to version 0.6.7: + + Scan /usr/share/metainfo as well when building appstream-data. + + Resolve relative symlinks when extracting archives. + + Add a test for extracting relative symlinks. + + Add AsRequire as a way to store runtime requirements. + + Support glob and regex matches in requires compare tags. + + Update the SPDX licence list to v2.5. + + Remove invalid SPDX licenses from content license lookup table. + + Revert "Remove invalid SPDX licenses from content license + lookup table". + + Add support for "+" operator at the end of SPDX license + identifiers. + + Fix dep extraction when multiple versions are available. + + Recursively add subpackage deps into the main package. + + Allow loading application XPM icons. + + Write log files in a better way. + + Fix a crash when using as_release_get_location_default(). + + build: Enable C99 support in configure.ac. + + Limit recursive deps lookup to the same source package. + + Only fail to validate in AppData desktop components. + + Release version 0.6.7. + ------------------------------------------------------------------- Fri Dec 16 17:25:55 UTC 2016 - zaitor@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index 811d650..ece7102 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -1,7 +1,7 @@ # # spec file for package appstream-glib # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2014 Dominique Leuenberger, Amsterdam, The Netherlands # # All modifications and additions to the file contributed by third parties @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.6.6 +Version: 0.6.7 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ From 9af1fe201949dd6c237e212f5359a3c972d0cd0f7d31a3ff8af100344f88c9fa Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 10 Feb 2017 08:48:43 +0000 Subject: [PATCH 41/59] Accepting request 455171 from GNOME:Factory 1 OBS-URL: https://build.opensuse.org/request/show/455171 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=42 --- _service | 4 ++-- _servicedata | 2 +- appstream-glib-0.6.7.tar.xz | 3 --- appstream-glib-0.6.8.tar.xz | 3 +++ appstream-glib.changes | 25 +++++++++++++++++++++++++ appstream-glib.spec | 3 ++- 6 files changed, 33 insertions(+), 7 deletions(-) delete mode 100644 appstream-glib-0.6.7.tar.xz create mode 100644 appstream-glib-0.6.8.tar.xz diff --git a/_service b/_service index 39b4145..9b9471c 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.6.7 + 0.6.8 enable - refs/tags/appstream_glib_0_6_7 + refs/tags/appstream_glib_0_6_8 *.tar diff --git a/_servicedata b/_servicedata index 3b8b90c..5186597 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - 329a4aa5e0421a49d339d22f61f755a2a8fa21d0 \ No newline at end of file + 509db34f8cde654a05847c7f403b427682297fc0 \ No newline at end of file diff --git a/appstream-glib-0.6.7.tar.xz b/appstream-glib-0.6.7.tar.xz deleted file mode 100644 index a6bf23f..0000000 --- a/appstream-glib-0.6.7.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6528b724f5636a69530ca6b073aceaf8e35640dbf6a3a9b132790fa33e2df4f8 -size 2225740 diff --git a/appstream-glib-0.6.8.tar.xz b/appstream-glib-0.6.8.tar.xz new file mode 100644 index 0000000..3f8d4d5 --- /dev/null +++ b/appstream-glib-0.6.8.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c5bdcf068d175151e16718936d2263b91c0e52805179d4a8bbefb0be9a19e8c +size 2228232 diff --git a/appstream-glib.changes b/appstream-glib.changes index fede842..4832bd1 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Thu Feb 02 14:37:24 UTC 2017 - zaitor@opensuse.org + +- Update to version 0.6.8: + + Do not ignore type=replace merge components. + + Tighten a rule that classifies apps as web-apps. + + Support reading metainfo.xml files when using + appstream-compose. + + Read and write the tag. + + appstream-compose: Support appdata with no desktop files. + + AsStore: hold a ref in hash_unique_id to avoid use-after-free. + + trivial: profile: Free mutex resources in finalize(). + + trivial: Update app ID rename list. + + store: Fix use after free with hash table keys. + + Add a destructor for AsRefString. + + Make gperf a hard dep. + + Fix the build with gperf 3.1. + + Ignore -Wconversion and -Wsign-conversion warnings from + generated file. + + Require name and summary for validate-relax. + + util: Add a dummy update_contact to appdata-from-desktop. + + trivial: Fix a crash when removing apps from the store. + + Release version 0.6.8. +- Add gperf BuildRequires: New dependency. + ------------------------------------------------------------------- Thu Jan 12 11:10:26 UTC 2017 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index ece7102..d0db734 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.6.7 +Version: 0.6.8 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ @@ -36,6 +36,7 @@ BuildRequires: xsltproc %endif BuildRequires: gcab >= 0.6 BuildRequires: gobject-introspection-devel +BuildRequires: gperf BuildRequires: intltool >= 0.40.0 BuildRequires: libyaml-devel BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.14 From a9fc639f0d663c01e98a63bb12aceb43e5e6b1a4d7c6fb4d43b76b1e5e104626 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 22 Mar 2017 22:14:02 +0000 Subject: [PATCH 42/59] Accepting request 481741 from GNOME:Factory New upstream release (forwarded request 481704 from Zaitor) OBS-URL: https://build.opensuse.org/request/show/481741 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=43 --- _service | 4 ++-- _servicedata | 2 +- appstream-glib-0.6.11.tar.xz | 3 +++ appstream-glib-0.6.8.tar.xz | 3 --- appstream-glib.changes | 42 ++++++++++++++++++++++++++++++++++++ appstream-glib.spec | 2 +- 6 files changed, 49 insertions(+), 7 deletions(-) create mode 100644 appstream-glib-0.6.11.tar.xz delete mode 100644 appstream-glib-0.6.8.tar.xz diff --git a/_service b/_service index 9b9471c..52214d3 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.6.8 + 0.6.11 enable - refs/tags/appstream_glib_0_6_8 + refs/tags/appstream_glib_0_6_11 *.tar diff --git a/_servicedata b/_servicedata index 5186597..f69e9b4 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - 509db34f8cde654a05847c7f403b427682297fc0 \ No newline at end of file + 093f296a9f8d8c58f5ea8ff2d117dd1efe19a9be \ No newline at end of file diff --git a/appstream-glib-0.6.11.tar.xz b/appstream-glib-0.6.11.tar.xz new file mode 100644 index 0000000..ae13dda --- /dev/null +++ b/appstream-glib-0.6.11.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5efcac85fde11186614c97e512f16293d55b11be3bc6bc035b0e1ff2513543ca +size 2231688 diff --git a/appstream-glib-0.6.8.tar.xz b/appstream-glib-0.6.8.tar.xz deleted file mode 100644 index 3f8d4d5..0000000 --- a/appstream-glib-0.6.8.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1c5bdcf068d175151e16718936d2263b91c0e52805179d4a8bbefb0be9a19e8c -size 2228232 diff --git a/appstream-glib.changes b/appstream-glib.changes index 4832bd1..280dff3 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,45 @@ +------------------------------------------------------------------- +Tue Mar 21 09:55:23 UTC 2017 - zaitor@opensuse.org + +- Update to version 0.6.11: + + Don't crash when using 'appstream-util show-search-tokens'. + + Fix a problem with appstream-compose with older AppData files. + + Make content_rating a requirement for any component with the + 'Game' category. + + trivial: Update app ID rename list. + + Revert "Enable the stack protection in local builds". + + Show a warning if a desktop file is not found when required. + + trivial: Report the archive filename if it cannot be opened. + + Fix compile with -Wdiscarded-qualifiers. + + Parse small version numbers correctly. + + trivial: Split out some common functionality. + + trivial: Find .pak translations in all libdirs. + + Add initial support for Mozilla .xpi translations. + +------------------------------------------------------------------- +Sat Mar 11 21:41:07 UTC 2017 - zaitor@opensuse.org + +- Update to version 0.6.10: + + trivial: post release version bump. + + Ignore

              in AppStream markup. + + its: add to tags extracted for translation. + + as-node: Add back as_node_context_{get,set}_source_kind. + +------------------------------------------------------------------- +Tue Feb 28 11:48:25 UTC 2017 - dimstar@opensuse.org + +- Update to version 0.6.9: + + Revert "Require name and summary for validate-relax". + + Fail to validate if the release children are in the wrong + order. + + Fail to validate if any release is in the future. + + Add AsFormat object. + + Add new API to GsApp to handle AsFormat objects. + + Do not set the AsApp state using the AsRelease state. + + Recalculate the state when formats are added or removed from a + AsApp. + + Deprecate app_set_source_file() and app_set_source_kind(). + ------------------------------------------------------------------- Thu Feb 02 14:37:24 UTC 2017 - zaitor@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index d0db734..32c5a94 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.6.8 +Version: 0.6.11 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ From f986a556131424fc3f2464b6a02915c27e8bc391484799e4eac4dfef86bcd109 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sat, 29 Apr 2017 08:50:15 +0000 Subject: [PATCH 43/59] Accepting request 490920 from GNOME:Factory Update to 0.6.12 (forwarded request 490259 from dimstar) OBS-URL: https://build.opensuse.org/request/show/490920 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=44 --- _service | 4 ++-- _servicedata | 2 +- appstream-glib-0.6.11.tar.xz | 3 --- appstream-glib-0.6.12.tar.xz | 3 +++ appstream-glib.changes | 10 ++++++++++ appstream-glib.spec | 2 +- 6 files changed, 17 insertions(+), 7 deletions(-) delete mode 100644 appstream-glib-0.6.11.tar.xz create mode 100644 appstream-glib-0.6.12.tar.xz diff --git a/_service b/_service index 52214d3..97a935c 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.6.11 + 0.6.12 enable - refs/tags/appstream_glib_0_6_11 + refs/tags/appstream_glib_0_6_12 *.tar diff --git a/_servicedata b/_servicedata index f69e9b4..a25ea0e 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - 093f296a9f8d8c58f5ea8ff2d117dd1efe19a9be \ No newline at end of file + ab7b5a089ce01fd90ac53bf100d143eacca73c9c \ No newline at end of file diff --git a/appstream-glib-0.6.11.tar.xz b/appstream-glib-0.6.11.tar.xz deleted file mode 100644 index ae13dda..0000000 --- a/appstream-glib-0.6.11.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5efcac85fde11186614c97e512f16293d55b11be3bc6bc035b0e1ff2513543ca -size 2231688 diff --git a/appstream-glib-0.6.12.tar.xz b/appstream-glib-0.6.12.tar.xz new file mode 100644 index 0000000..3ace834 --- /dev/null +++ b/appstream-glib-0.6.12.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fff01ac092e04fb229f979a11fa007fce366989a67b9fe46b03421c2d5bc53be +size 2230060 diff --git a/appstream-glib.changes b/appstream-glib.changes index 280dff3..b8960b6 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Apr 24 10:51:33 UTC 2017 - dimstar@opensuse.org + +- Update to version 0.6.12: + + Copy hash table keys from AsApp to avoid them being used after + they've been freed. + + Validate kudos in AppData and AppStream files. + + Fix the predicate comparison when using globs in metainfo + files. + ------------------------------------------------------------------- Tue Mar 21 09:55:23 UTC 2017 - zaitor@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index 32c5a94..66363b3 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.6.11 +Version: 0.6.12 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ From 149b94947339e8b1f2b3dc5b0e4f5f8c67a03e9faaf35ece75e70904d308a16e Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 4 Sep 2017 10:24:43 +0000 Subject: [PATCH 44/59] Accepting request 520145 from GNOME:Factory - Update to version 0.7.0: + trivial: Fix a -Wpointer-sign warning. + Switch to the meson build system. + build: Improve build-api wrapper for Meson. + build: Add options for building API docs and man pages. + build: Conditionally generate man pages. + build: Conditionally generate the API reference. + trivial: Fix the autogenerated pkgconfig files. + trivial: Add back the Requires and Requires.private in the .pc files. + Remove the cache-id functionality. + trivial: Ensure HAVE_GCAB is set when libgcab is being used. + Add as_store_get_apps_by_id_merge(). + trivial: Try linking the GIR file with the local appstream-glib. + Show a warning if adding keywords after the keyword cache was created. + Fix the default plugin directory used by appstream-builder. + Add the limits in the validation output messages. + trivial: Prevent crash when a sanity check fails. + trivial: Remove the ability to run threaded. + Remove functionality processing an old metadata file. + trivial: Fix a warning message to be more clear. + trivial: Fix a variable with a misleading name. + Actually return failure if the AsbTask fails. + Add the missing shell-extension plugin. + trivial: Remove autotools fixups no longer required. + Do not enforce that the project_group is a valid environment_id. + Do not add the GNOME-Software-specific categories or icons by default. + Enable Travis CI for Fedora 25 and Debian Stretch. + Allow compiling with newer versions of meson. + trivial: Fix the meson version compare value. + Fix regression when building component types without icons. + as-app-builder: Don't cast gsize to guint32 when getting file length. + trivial: Fix an error message in news-to-appdata. + Do not write a timestamp when using news-to-appdata. + trivial: Ensure every app has format set before adding to store. + trivial: Fix up several small memory leaks. - Add meson BuildRequires and switch autotools macros configure, make and makeinstall to meson, meson_build and meson_install following upstream switch to Meson build system. - Update to version 0.6.13: + Add functions for getting the AsApp search match. + Add functions for getting the AsStore search match. + Allow using the app origin as a search keyword. + trivial: Use the new custom tag in the self tests. + Add support for . + trivial: Fix up some broken links in the generated documentation. + Add support for icon scaling. + Add as_utils_guid_from_data(). + Support non-numeric version numbers correctly. + trivial: Do not store the .shell-extension prefix in the search cache. + Casefold all stemmed entries. + trivial: Add a regex command to appstream-util for testing firmware versions. + Add a 'check-component' command to appstream-util. + Add as_app_remove_category(). + Add as_app_remove_kudo(). OBS-URL: https://build.opensuse.org/request/show/520145 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=45 --- _service | 4 +- _servicedata | 2 +- appstream-glib-0.6.12.tar.xz | 3 -- appstream-glib-0.7.0.tar.xz | 3 ++ appstream-glib.changes | 72 ++++++++++++++++++++++++++++++++++++ appstream-glib.spec | 20 +++++----- 6 files changed, 87 insertions(+), 17 deletions(-) delete mode 100644 appstream-glib-0.6.12.tar.xz create mode 100644 appstream-glib-0.7.0.tar.xz diff --git a/_service b/_service index 97a935c..c4444a4 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.6.12 + 0.7.0 enable - refs/tags/appstream_glib_0_6_12 + refs/tags/appstream_glib_0_7_0 *.tar diff --git a/_servicedata b/_servicedata index a25ea0e..b0e1632 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - ab7b5a089ce01fd90ac53bf100d143eacca73c9c \ No newline at end of file + 9ca9447929d8b15703c91946026534585826ab13 \ No newline at end of file diff --git a/appstream-glib-0.6.12.tar.xz b/appstream-glib-0.6.12.tar.xz deleted file mode 100644 index 3ace834..0000000 --- a/appstream-glib-0.6.12.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fff01ac092e04fb229f979a11fa007fce366989a67b9fe46b03421c2d5bc53be -size 2230060 diff --git a/appstream-glib-0.7.0.tar.xz b/appstream-glib-0.7.0.tar.xz new file mode 100644 index 0000000..7867e2f --- /dev/null +++ b/appstream-glib-0.7.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a58f7e8de9f89d51e45e80098b47e858ef8d7fd850ff47013994edff2dc6510 +size 2228112 diff --git a/appstream-glib.changes b/appstream-glib.changes index b8960b6..e0cafe2 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,75 @@ +------------------------------------------------------------------- +Mon Jun 26 06:56:38 UTC 2017 - zaitor@opensuse.org + +- Update to version 0.7.0: + + trivial: Fix a -Wpointer-sign warning. + + Switch to the meson build system. + + build: Improve build-api wrapper for Meson. + + build: Add options for building API docs and man pages. + + build: Conditionally generate man pages. + + build: Conditionally generate the API reference. + + trivial: Fix the autogenerated pkgconfig files. + + trivial: Add back the Requires and Requires.private in the .pc + files. + + Remove the cache-id functionality. + + trivial: Ensure HAVE_GCAB is set when libgcab is being used. + + Add as_store_get_apps_by_id_merge(). + + trivial: Try linking the GIR file with the local + appstream-glib. + + Show a warning if adding keywords after the keyword cache was + created. + + Fix the default plugin directory used by appstream-builder. + + Add the limits in the validation output messages. + + trivial: Prevent crash when a sanity check fails. + + trivial: Remove the ability to run threaded. + + Remove functionality processing an old metadata file. + + trivial: Fix a warning message to be more clear. + + trivial: Fix a variable with a misleading name. + + Actually return failure if the AsbTask fails. + + Add the missing shell-extension plugin. + + trivial: Remove autotools fixups no longer required. + + Do not enforce that the project_group is a valid + environment_id. + + Do not add the GNOME-Software-specific categories or icons by + default. + + Enable Travis CI for Fedora 25 and Debian Stretch. + + Allow compiling with newer versions of meson. + + trivial: Fix the meson version compare value. + + Fix regression when building component types without icons. + + as-app-builder: Don't cast gsize to guint32 when getting file + length. + + trivial: Fix an error message in news-to-appdata. + + Do not write a timestamp when using news-to-appdata. + + trivial: Ensure every app has format set before adding to + store. + + trivial: Fix up several small memory leaks. +- Add meson BuildRequires and switch autotools macros configure, + make and makeinstall to meson, meson_build and meson_install + following upstream switch to Meson build system. + +------------------------------------------------------------------- +Mon Jun 26 06:56:07 UTC 2017 - zaitor@opensuse.org + +- Update to version 0.6.13: + + Add functions for getting the AsApp search match. + + Add functions for getting the AsStore search match. + + Allow using the app origin as a search keyword. + + trivial: Use the new custom tag in the self tests. + + Add support for . + + trivial: Fix up some broken links in the generated + documentation. + + Add support for icon scaling. + + Add as_utils_guid_from_data(). + + Support non-numeric version numbers correctly. + + trivial: Do not store the .shell-extension prefix in the search + cache. + + Casefold all stemmed entries. + + trivial: Add a regex command to appstream-util for testing + firmware versions. + + Add a 'check-component' command to appstream-util. + + Add as_app_remove_category(). + + Add as_app_remove_kudo(). + ------------------------------------------------------------------- Mon Apr 24 10:51:33 UTC 2017 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index 66363b3..03be1ce 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.6.12 +Version: 0.7.0 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ @@ -39,6 +39,7 @@ BuildRequires: gobject-introspection-devel BuildRequires: gperf BuildRequires: intltool >= 0.40.0 BuildRequires: libyaml-devel +BuildRequires: meson BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.14 BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gio-unix-2.0) @@ -167,17 +168,15 @@ for the repositories to be published %setup -q %build -%if %{_build_from_vcs} -NOCONFIGURE=1 ./autogen.sh -%endif -%configure \ - --disable-static \ - --enable-gtk-doc \ - --enable-rpm -make %{?_smp_mflags} +%meson \ + -Denable-rpm=true \ + -Denable-gtk-doc=true \ + -Denable-stemmer=false \ + %{nil} +%meson_build %install -%make_install +%meson_install # We don't care for 'installed tests'; that's used by GNOME Smoke Testing. rm %{buildroot}%{_datadir}/installed-tests/appstream-glib/*.test find %{buildroot} -type f -name "*.la" -delete -print @@ -238,7 +237,6 @@ fi %files devel %defattr(-,root,root) -%{_datadir}/aclocal/appdata-xml.m4 %{_datadir}/aclocal/appstream-xml.m4 %dir %{_datadir}/gettext/its %{_datadir}/gettext/its/appdata.* From 4dc128e23ca40f8fdbb01686c9e36433dccf15fa5a55e5f03070c0191a3518e2 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 8 Sep 2017 11:33:07 +0000 Subject: [PATCH 45/59] Revert to 0.6.x - verification if that upgrade killed appdata.xml.gz generation OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=47 --- _service | 4 +- _servicedata | 2 +- appstream-glib-0.6.12.tar.xz | 3 ++ appstream-glib-0.7.0.tar.xz | 3 -- appstream-glib.changes | 72 ------------------------------------ appstream-glib.spec | 20 +++++----- 6 files changed, 17 insertions(+), 87 deletions(-) create mode 100644 appstream-glib-0.6.12.tar.xz delete mode 100644 appstream-glib-0.7.0.tar.xz diff --git a/_service b/_service index c4444a4..97a935c 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.7.0 + 0.6.12 enable - refs/tags/appstream_glib_0_7_0 + refs/tags/appstream_glib_0_6_12 *.tar diff --git a/_servicedata b/_servicedata index b0e1632..a25ea0e 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - 9ca9447929d8b15703c91946026534585826ab13 \ No newline at end of file + ab7b5a089ce01fd90ac53bf100d143eacca73c9c \ No newline at end of file diff --git a/appstream-glib-0.6.12.tar.xz b/appstream-glib-0.6.12.tar.xz new file mode 100644 index 0000000..3ace834 --- /dev/null +++ b/appstream-glib-0.6.12.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fff01ac092e04fb229f979a11fa007fce366989a67b9fe46b03421c2d5bc53be +size 2230060 diff --git a/appstream-glib-0.7.0.tar.xz b/appstream-glib-0.7.0.tar.xz deleted file mode 100644 index 7867e2f..0000000 --- a/appstream-glib-0.7.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4a58f7e8de9f89d51e45e80098b47e858ef8d7fd850ff47013994edff2dc6510 -size 2228112 diff --git a/appstream-glib.changes b/appstream-glib.changes index e0cafe2..b8960b6 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,75 +1,3 @@ -------------------------------------------------------------------- -Mon Jun 26 06:56:38 UTC 2017 - zaitor@opensuse.org - -- Update to version 0.7.0: - + trivial: Fix a -Wpointer-sign warning. - + Switch to the meson build system. - + build: Improve build-api wrapper for Meson. - + build: Add options for building API docs and man pages. - + build: Conditionally generate man pages. - + build: Conditionally generate the API reference. - + trivial: Fix the autogenerated pkgconfig files. - + trivial: Add back the Requires and Requires.private in the .pc - files. - + Remove the cache-id functionality. - + trivial: Ensure HAVE_GCAB is set when libgcab is being used. - + Add as_store_get_apps_by_id_merge(). - + trivial: Try linking the GIR file with the local - appstream-glib. - + Show a warning if adding keywords after the keyword cache was - created. - + Fix the default plugin directory used by appstream-builder. - + Add the limits in the validation output messages. - + trivial: Prevent crash when a sanity check fails. - + trivial: Remove the ability to run threaded. - + Remove functionality processing an old metadata file. - + trivial: Fix a warning message to be more clear. - + trivial: Fix a variable with a misleading name. - + Actually return failure if the AsbTask fails. - + Add the missing shell-extension plugin. - + trivial: Remove autotools fixups no longer required. - + Do not enforce that the project_group is a valid - environment_id. - + Do not add the GNOME-Software-specific categories or icons by - default. - + Enable Travis CI for Fedora 25 and Debian Stretch. - + Allow compiling with newer versions of meson. - + trivial: Fix the meson version compare value. - + Fix regression when building component types without icons. - + as-app-builder: Don't cast gsize to guint32 when getting file - length. - + trivial: Fix an error message in news-to-appdata. - + Do not write a timestamp when using news-to-appdata. - + trivial: Ensure every app has format set before adding to - store. - + trivial: Fix up several small memory leaks. -- Add meson BuildRequires and switch autotools macros configure, - make and makeinstall to meson, meson_build and meson_install - following upstream switch to Meson build system. - -------------------------------------------------------------------- -Mon Jun 26 06:56:07 UTC 2017 - zaitor@opensuse.org - -- Update to version 0.6.13: - + Add functions for getting the AsApp search match. - + Add functions for getting the AsStore search match. - + Allow using the app origin as a search keyword. - + trivial: Use the new custom tag in the self tests. - + Add support for . - + trivial: Fix up some broken links in the generated - documentation. - + Add support for icon scaling. - + Add as_utils_guid_from_data(). - + Support non-numeric version numbers correctly. - + trivial: Do not store the .shell-extension prefix in the search - cache. - + Casefold all stemmed entries. - + trivial: Add a regex command to appstream-util for testing - firmware versions. - + Add a 'check-component' command to appstream-util. - + Add as_app_remove_category(). - + Add as_app_remove_kudo(). - ------------------------------------------------------------------- Mon Apr 24 10:51:33 UTC 2017 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index 03be1ce..66363b3 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.7.0 +Version: 0.6.12 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ @@ -39,7 +39,6 @@ BuildRequires: gobject-introspection-devel BuildRequires: gperf BuildRequires: intltool >= 0.40.0 BuildRequires: libyaml-devel -BuildRequires: meson BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.14 BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gio-unix-2.0) @@ -168,15 +167,17 @@ for the repositories to be published %setup -q %build -%meson \ - -Denable-rpm=true \ - -Denable-gtk-doc=true \ - -Denable-stemmer=false \ - %{nil} -%meson_build +%if %{_build_from_vcs} +NOCONFIGURE=1 ./autogen.sh +%endif +%configure \ + --disable-static \ + --enable-gtk-doc \ + --enable-rpm +make %{?_smp_mflags} %install -%meson_install +%make_install # We don't care for 'installed tests'; that's used by GNOME Smoke Testing. rm %{buildroot}%{_datadir}/installed-tests/appstream-glib/*.test find %{buildroot} -type f -name "*.la" -delete -print @@ -237,6 +238,7 @@ fi %files devel %defattr(-,root,root) +%{_datadir}/aclocal/appdata-xml.m4 %{_datadir}/aclocal/appstream-xml.m4 %dir %{_datadir}/gettext/its %{_datadir}/gettext/its/appdata.* From f43830cef1ec62d4d7d3ac9d9325c6643dd1dc147bd03be2df568bcb454504ca Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 13 Sep 2017 19:43:48 +0000 Subject: [PATCH 46/59] Accepting request 522284 from GNOME:Factory - Trim and ensure neutrality of descriptions. - Update License to "LGPL-2.1+ AND GPL-2.0+": the client tools (builder, compose and util) are licenses GPL-2.0+, the library is LGPL-2.1+. - Update to version 0.7.2: + Allow remote icon types for desktop AppData files. + Do not check the suffix of tags. + Prefer /usr/share/metainfo as default path for metainfo files. + build: Enable C99 support in meson.build. + build: Define _XOPEN_SOURCE in order to expose realpath() in headers. + libappstream-glib: Use g_ascii_strcasecmp() instead of strcasecmp(). + libappstream-builder/utils: Drop an unreachable branch. + libappstream-glib/self-test: Add some additional checks. - Update to version 0.7.1: + Validate the format according to the spec. + Add kinds for application provides. + Skip loading desktop data from Snap directory. + Update the SPDX license list to 2.6. + Support CompulsoryForDesktops in YAML. + Have plugins link with asglib along with asbuilder. + meson: avoid unnecessary gdk dependency. + meson: introspection optional. + meson: Install appdata-xml.m4. + build: Make gperf dependency fully required. + Fail to validate if AppData screenshots are duplicated. OBS-URL: https://build.opensuse.org/request/show/522284 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=48 --- _service | 4 +- _servicedata | 2 +- appstream-glib-0.6.12.tar.xz | 3 - appstream-glib-0.7.2.tar.xz | 3 + appstream-glib.changes | 115 ++++++++++++++++++++++++++++++++ appstream-glib.spec | 123 ++++++++++++++--------------------- 6 files changed, 171 insertions(+), 79 deletions(-) delete mode 100644 appstream-glib-0.6.12.tar.xz create mode 100644 appstream-glib-0.7.2.tar.xz diff --git a/_service b/_service index 97a935c..e8761f5 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.6.12 + 0.7.2 enable - refs/tags/appstream_glib_0_6_12 + refs/tags/appstream_glib_0_7_2 *.tar diff --git a/_servicedata b/_servicedata index a25ea0e..1b4db3c 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - ab7b5a089ce01fd90ac53bf100d143eacca73c9c \ No newline at end of file + 6149f7eb067c4d267738fd5e7ea5c0cc1be7bc5b \ No newline at end of file diff --git a/appstream-glib-0.6.12.tar.xz b/appstream-glib-0.6.12.tar.xz deleted file mode 100644 index 3ace834..0000000 --- a/appstream-glib-0.6.12.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fff01ac092e04fb229f979a11fa007fce366989a67b9fe46b03421c2d5bc53be -size 2230060 diff --git a/appstream-glib-0.7.2.tar.xz b/appstream-glib-0.7.2.tar.xz new file mode 100644 index 0000000..4713358 --- /dev/null +++ b/appstream-glib-0.7.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6d5aba36189bc64e6aaf62282ab357ecaa61bc9f1645fa4bf21b9dc8bfc1feea +size 2227404 diff --git a/appstream-glib.changes b/appstream-glib.changes index b8960b6..b195225 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,118 @@ +------------------------------------------------------------------- +Tue Sep 5 20:26:36 UTC 2017 - jengelh@inai.de + +- Trim and ensure neutrality of descriptions. + +------------------------------------------------------------------- +Mon Sep 4 10:52:58 UTC 2017 - dimstar@opensuse.org + +- Update License to "LGPL-2.1+ AND GPL-2.0+": the client tools + (builder, compose and util) are licenses GPL-2.0+, the library + is LGPL-2.1+. + +------------------------------------------------------------------- +Fri Sep 01 18:48:53 UTC 2017 - dimstar@opensuse.org + +- Update to version 0.7.2: + + Allow remote icon types for desktop AppData files. + + Do not check the suffix of tags. + + Prefer /usr/share/metainfo as default path for metainfo files. + + build: Enable C99 support in meson.build. + + build: Define _XOPEN_SOURCE in order to expose realpath() in + headers. + + libappstream-glib: Use g_ascii_strcasecmp() instead of + strcasecmp(). + + libappstream-builder/utils: Drop an unreachable branch. + + libappstream-glib/self-test: Add some additional checks. + +------------------------------------------------------------------- +Fri Sep 01 18:48:41 UTC 2017 - dimstar@opensuse.org + +- Update to version 0.7.1: + + Validate the format according to the spec. + + Add kinds for application provides. + + Skip loading desktop data from Snap directory. + + Update the SPDX license list to 2.6. + + Support CompulsoryForDesktops in YAML. + + Have plugins link with asglib along with asbuilder. + + meson: avoid unnecessary gdk dependency. + + meson: introspection optional. + + meson: Install appdata-xml.m4. + + build: Make gperf dependency fully required. + + Fail to validate if AppData screenshots are duplicated. + +------------------------------------------------------------------- +Mon Jun 26 06:56:38 UTC 2017 - zaitor@opensuse.org + +- Update to version 0.7.0: + + trivial: Fix a -Wpointer-sign warning. + + Switch to the meson build system. + + build: Improve build-api wrapper for Meson. + + build: Add options for building API docs and man pages. + + build: Conditionally generate man pages. + + build: Conditionally generate the API reference. + + trivial: Fix the autogenerated pkgconfig files. + + trivial: Add back the Requires and Requires.private in the .pc + files. + + Remove the cache-id functionality. + + trivial: Ensure HAVE_GCAB is set when libgcab is being used. + + Add as_store_get_apps_by_id_merge(). + + trivial: Try linking the GIR file with the local + appstream-glib. + + Show a warning if adding keywords after the keyword cache was + created. + + Fix the default plugin directory used by appstream-builder. + + Add the limits in the validation output messages. + + trivial: Prevent crash when a sanity check fails. + + trivial: Remove the ability to run threaded. + + Remove functionality processing an old metadata file. + + trivial: Fix a warning message to be more clear. + + trivial: Fix a variable with a misleading name. + + Actually return failure if the AsbTask fails. + + Add the missing shell-extension plugin. + + trivial: Remove autotools fixups no longer required. + + Do not enforce that the project_group is a valid + environment_id. + + Do not add the GNOME-Software-specific categories or icons by + default. + + Enable Travis CI for Fedora 25 and Debian Stretch. + + Allow compiling with newer versions of meson. + + trivial: Fix the meson version compare value. + + Fix regression when building component types without icons. + + as-app-builder: Don't cast gsize to guint32 when getting file + length. + + trivial: Fix an error message in news-to-appdata. + + Do not write a timestamp when using news-to-appdata. + + trivial: Ensure every app has format set before adding to + store. + + trivial: Fix up several small memory leaks. +- Add meson BuildRequires and switch autotools macros configure, + make and makeinstall to meson, meson_build and meson_install + following upstream switch to Meson build system. + +------------------------------------------------------------------- +Mon Jun 26 06:56:07 UTC 2017 - zaitor@opensuse.org + +- Update to version 0.6.13: + + Add functions for getting the AsApp search match. + + Add functions for getting the AsStore search match. + + Allow using the app origin as a search keyword. + + trivial: Use the new custom tag in the self tests. + + Add support for . + + trivial: Fix up some broken links in the generated + documentation. + + Add support for icon scaling. + + Add as_utils_guid_from_data(). + + Support non-numeric version numbers correctly. + + trivial: Do not store the .shell-extension prefix in the search + cache. + + Casefold all stemmed entries. + + trivial: Add a regex command to appstream-util for testing + firmware versions. + + Add a 'check-component' command to appstream-util. + + Add as_app_remove_category(). + + Add as_app_remove_kudo(). + ------------------------------------------------------------------- Mon Apr 24 10:51:33 UTC 2017 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index 66363b3..b04d099 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -18,27 +18,22 @@ %define _build_from_vcs 1 - Name: appstream-glib -Version: 0.6.12 +Version: 0.7.2 Release: 0 Summary: AppStream Abstraction Library -License: LGPL-2.1+ +License: LGPL-2.1+ AND GPL-2.0+ Group: System/Libraries Url: http://people.freedesktop.org/~hughsient/appstream-glib/ Source0: %{name}-%{version}.tar.xz Source1: openSUSE-appstream-process -%if %{_build_from_vcs} -BuildRequires: gnome-common -%else -# We still need some part to build the man pages -BuildRequires: xsltproc -%endif BuildRequires: gcab >= 0.6 BuildRequires: gobject-introspection-devel BuildRequires: gperf BuildRequires: intltool >= 0.40.0 BuildRequires: libyaml-devel +BuildRequires: meson +BuildRequires: pkgconfig BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.14 BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gio-unix-2.0) @@ -57,14 +52,19 @@ BuildRequires: pkgconfig(uuid) Requires: gcab # Required in order to be able to convert .svg icons Requires: gdk-pixbuf-loader-rsvg -BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if %{_build_from_vcs} +BuildRequires: gnome-common +%else +# We still need some part to build the man pages +BuildRequires: xsltproc +%endif %description -This library provides GObjects and helper methods to make it easy to read and write AppStream metadata. -It also provides a simple DOM implementation that makes it easy to edit nodes and -convert to and from the standardized XML representation. +This library provides GObjects and helper methods to read and write +AppStream metadata. It also provides a DOM implementation to edit +nodes and convert to and from the standardized XML representation. -What this library allows you to do: +This library allows to: * Read and write compressed AppStream XML files * Add and search for applications in an application store @@ -74,58 +74,47 @@ What this library allows you to do: %package -n libappstream-glib8 Summary: AppStream Abstraction Library +License: LGPL-2.1+ Group: System/Libraries %description -n libappstream-glib8 -This library provides GObjects and helper methods to make it easy to read and write AppStream metadata. -It also provides a simple DOM implementation that makes it easy to edit nodes and -convert to and from the standardized XML representation. - -What this library allows you to do: - -* Read and write compressed AppStream XML files -* Add and search for applications in an application store -* Get screenshot image data and release announcements -* Easily retrieve the best application data for the current locale -* Efficiently interface with more heavy-weight parsers like expat +This library provides GObjects and helper methods to read and write +AppStream metadata. It also provides a DOM implementation to edit +nodes and convert to and from the standardized XML representation. %package -n libappstream-builder8 Summary: AppStream Abstraction Library +License: LGPL-2.1+ Group: System/Libraries %description -n libappstream-builder8 -This library provides GObjects and helper methods to make it easy to read and write AppStream metadata. -It also provides a simple DOM implementation that makes it easy to edit nodes and -convert to and from the standardized XML representation. - -What this library allows you to do: - -* Read and write compressed AppStream XML files -* Add and search for applications in an application store -* Get screenshot image data and release announcements -* Easily retrieve the best application data for the current locale -* Efficiently interface with more heavy-weight parsers like expat +This library provides GObjects and helper methods to read and write +AppStream metadata. It also provides a DOM implementation to edit +nodes and convert to and from the standardized XML representation. %package -n typelib-1_0-AppStreamBuilder-1_0 -Summary: AppStream Abstraction Library -- Introspection bindings +Summary: Introspection bindings for the AppStream abstraction library +License: LGPL-2.1+ Group: System/Libraries %description -n typelib-1_0-AppStreamBuilder-1_0 -This library provides GObjects and helper methods to make it easy to read and write AppStream metadata. -It also provides a simple DOM implementation that makes it easy to edit nodes and -convert to and from the standardized XML representation. +This library provides GObjects and helper methods to read and write +AppStream metadata. It also provides a DOM implementation to edit +nodes and convert to and from the standardized XML representation. %package -n typelib-1_0-AppStreamGlib-1_0 -Summary: AppStream Abstraction Library -- Introspection bindings +Summary: Introspection bindings for the AppStream abstraction library +License: LGPL-2.1+ Group: System/Libraries %description -n typelib-1_0-AppStreamGlib-1_0 -This library provides GObjects and helper methods to make it easy to read and write AppStream metadata. -It also provides a simple DOM implementation that makes it easy to edit nodes and -convert to and from the standardized XML representation. +This library provides GObjects and helper methods to read and write +AppStream metadata. It also provides a DOM implementation to edit +nodes and convert to and from the standardized XML representation. %package devel -Summary: AppStream Abstraction Library -- Development files +Summary: Development files for the AppStream abstraction library +License: LGPL-2.1+ AND GPL-2.0+ Group: Development/Languages/C and C++ Requires: %{name} = %{version} Requires: libappstream-builder8 = %{version} @@ -139,11 +128,11 @@ Provides: appdata-tools = 0.1.9 Obsoletes: appdata-tools-lang < 0.1.9 %description devel -This library provides GObjects and helper methods to make it easy to read and write AppStream metadata. -It also provides a simple DOM implementation that makes it easy to edit nodes and -convert to and from the standardized XML representation. +This library provides GObjects and helper methods to read and write +AppStream metadata. It also provides a DOM implementation to edit +nodes and convert to and from the standardized XML representation. -What this library allows you to do: +This library allows to: * Read and write compressed AppStream XML files * Add and search for applications in an application store @@ -153,7 +142,8 @@ What this library allows you to do: %package -n openSUSE-appstream-process Summary: Appstream processor employed by kiwi -Group: System +License: LGPL-2.1+ AND GPL-2.0+ +Group: Development/Tools/Building Requires: appstream-glib >= %{version} Requires: openSUSE-appdata-extra @@ -167,47 +157,41 @@ for the repositories to be published %setup -q %build -%if %{_build_from_vcs} -NOCONFIGURE=1 ./autogen.sh -%endif -%configure \ - --disable-static \ - --enable-gtk-doc \ - --enable-rpm -make %{?_smp_mflags} +%{meson} \ + -Denable-rpm=true \ + -Denable-gtk-doc=true \ + -Denable-stemmer=false \ + %{nil} +%{meson_build} %install -%make_install +%{meson_install} # We don't care for 'installed tests'; that's used by GNOME Smoke Testing. rm %{buildroot}%{_datadir}/installed-tests/appstream-glib/*.test find %{buildroot} -type f -name "*.la" -delete -print # install the appstream process script to be used by kiwi install -d -m 0755 %{_buildroot}%{_bindir} -install -m 0755 -D %{S:1} %{buildroot}%{_bindir}/$(basename %{S:1}) +install -m 0755 -D %{SOURCE1} %{buildroot}%{_bindir}/$(basename %{SOURCE1}) %find_lang %{name} %check -if make check; then +if make %{?_smp_mflags} check; then echo CHECKS passed exit 0 else echo CHECKS failed... dumping log file - find -name test-suite.log -exec cat {} \; + find -name test-suite.log -exec cat {} + exit 0 fi %post -n libappstream-glib8 -p /sbin/ldconfig - %postun -n libappstream-glib8 -p /sbin/ldconfig - %post -n libappstream-builder8 -p /sbin/ldconfig - %postun -n libappstream-builder8 -p /sbin/ldconfig %files -%defattr(-,root,root) %{_bindir}/appstream-builder %{_bindir}/appstream-compose %{_bindir}/appstream-util @@ -219,25 +203,20 @@ fi %{_mandir}/man1/appstream-util.1%{?ext_man} %files -n libappstream-builder8 -%defattr(-,root,root) %doc COPYING %{_libdir}/libappstream-builder.so.* %files -n libappstream-glib8 -%defattr(-,root,root) %doc COPYING %{_libdir}/libappstream-glib.so.* %files -n typelib-1_0-AppStreamBuilder-1_0 -%defattr(-,root,root) %{_libdir}/girepository-1.0/AppStreamBuilder-1.0.typelib %files -n typelib-1_0-AppStreamGlib-1_0 -%defattr(-,root,root) %{_libdir}/girepository-1.0/AppStreamGlib-1.0.typelib %files devel -%defattr(-,root,root) %{_datadir}/aclocal/appdata-xml.m4 %{_datadir}/aclocal/appstream-xml.m4 %dir %{_datadir}/gettext/its @@ -253,10 +232,8 @@ fi %{_libdir}/libappstream-glib.so %files lang -f %{name}.lang -%defattr(-,root,root) %files -n openSUSE-appstream-process -%defattr(-,root,root) %{_bindir}/openSUSE-appstream-process %changelog From 2b59c5d528e6e3ae6dc3d26768493f5ec68c93d269fcbf77f6ba885deaba3a52 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 15 Sep 2017 13:12:38 +0000 Subject: [PATCH 47/59] Accepting request 526064 from GNOME:Factory 1 OBS-URL: https://build.opensuse.org/request/show/526064 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=49 --- appstream-glib.changes | 6 ++++++ openSUSE-appstream-process | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/appstream-glib.changes b/appstream-glib.changes index b195225..31670e0 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Sep 14 11:35:44 UTC 2017 - dimstar@opensuse.org + +- Update openSUSE-appstream-process: exit early if as-builder does + not end with exit 0. + ------------------------------------------------------------------- Tue Sep 5 20:26:36 UTC 2017 - jengelh@inai.de diff --git a/openSUSE-appstream-process b/openSUSE-appstream-process index c642e9b..7fe1b84 100644 --- a/openSUSE-appstream-process +++ b/openSUSE-appstream-process @@ -19,6 +19,11 @@ TMPDIR=$(mktemp -d) --packages-dir=${SRC} \ --output-dir=${DEST} +if [ $? -ne 0 ]; then + # The appstream-builder failed, exit with an error code, so prod builder knows about it + exit 1 +fi + # clean up TMPDIR again rm -rf ${TMPDIR} From a50541894b4d35f11ce835ca6b5a68f1e4635ea329aa42a6adc31311f7ae06cc Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 15 Sep 2017 14:56:36 +0000 Subject: [PATCH 48/59] Exit with a better error code OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=50 --- openSUSE-appstream-process | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/openSUSE-appstream-process b/openSUSE-appstream-process index 7fe1b84..50c0dd0 100644 --- a/openSUSE-appstream-process +++ b/openSUSE-appstream-process @@ -19,9 +19,11 @@ TMPDIR=$(mktemp -d) --packages-dir=${SRC} \ --output-dir=${DEST} -if [ $? -ne 0 ]; then +RET=$? + +if [ $RET -ne 0 ]; then # The appstream-builder failed, exit with an error code, so prod builder knows about it - exit 1 + exit $RET fi # clean up TMPDIR again From c43d0c2cf4eeabebfed5bd5a09e4153fec7a84271603cb7a81396918017b7b45 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 15 Sep 2017 15:00:09 +0000 Subject: [PATCH 49/59] Swamp the log with debug OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=51 --- openSUSE-appstream-process | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openSUSE-appstream-process b/openSUSE-appstream-process index 50c0dd0..32d06eb 100644 --- a/openSUSE-appstream-process +++ b/openSUSE-appstream-process @@ -17,12 +17,13 @@ TMPDIR=$(mktemp -d) --origin=appdata \ --basename=appdata \ --packages-dir=${SRC} \ - --output-dir=${DEST} + --output-dir=${DEST} 2>&1 | tee $TMPDIR/as-builder.log RET=$? if [ $RET -ne 0 ]; then # The appstream-builder failed, exit with an error code, so prod builder knows about it + cat $TMPDIR/as-builder.log exit $RET fi From 665b3cc6a5bd94164dc87ce6022bdcf2660c40b82c0f719566e449bdab81f8cc Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 15 Sep 2017 19:14:04 +0000 Subject: [PATCH 50/59] no use of tee, or return value of tee is exposed OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=52 --- openSUSE-appstream-process | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openSUSE-appstream-process b/openSUSE-appstream-process index 32d06eb..15f8150 100644 --- a/openSUSE-appstream-process +++ b/openSUSE-appstream-process @@ -17,7 +17,7 @@ TMPDIR=$(mktemp -d) --origin=appdata \ --basename=appdata \ --packages-dir=${SRC} \ - --output-dir=${DEST} 2>&1 | tee $TMPDIR/as-builder.log + --output-dir=${DEST} 2>&1 > $TMPDIR/as-builder.log RET=$? From a7681f78e3429bcdf7e4456e4e1a87fae2eb67fb5805357ecfb4256a4490d394 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 1 Nov 2017 10:08:52 +0000 Subject: [PATCH 51/59] Accepting request 537525 from GNOME:Factory Update to 0.7.3 (forwarded request 536379 from dimstar) OBS-URL: https://build.opensuse.org/request/show/537525 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=53 --- _service | 4 ++-- _servicedata | 2 +- appstream-glib-0.7.2.tar.xz | 3 --- appstream-glib-0.7.3.tar.xz | 3 +++ appstream-glib.changes | 17 +++++++++++++++++ appstream-glib.spec | 2 +- 6 files changed, 24 insertions(+), 7 deletions(-) delete mode 100644 appstream-glib-0.7.2.tar.xz create mode 100644 appstream-glib-0.7.3.tar.xz diff --git a/_service b/_service index e8761f5..d584ebf 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.7.2 + 0.7.3 enable - refs/tags/appstream_glib_0_7_2 + refs/tags/appstream_glib_0_7_3 *.tar diff --git a/_servicedata b/_servicedata index 1b4db3c..049a055 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - 6149f7eb067c4d267738fd5e7ea5c0cc1be7bc5b \ No newline at end of file + 9783a5357a33d4eb945eba9f2b9a4da4535a46e9 \ No newline at end of file diff --git a/appstream-glib-0.7.2.tar.xz b/appstream-glib-0.7.2.tar.xz deleted file mode 100644 index 4713358..0000000 --- a/appstream-glib-0.7.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6d5aba36189bc64e6aaf62282ab357ecaa61bc9f1645fa4bf21b9dc8bfc1feea -size 2227404 diff --git a/appstream-glib-0.7.3.tar.xz b/appstream-glib-0.7.3.tar.xz new file mode 100644 index 0000000..52cf715 --- /dev/null +++ b/appstream-glib-0.7.3.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e6a8ad7b7b88027d368ed312f35d024a5956fe2e894fef81867e3153ae762ac7 +size 2227288 diff --git a/appstream-glib.changes b/appstream-glib.changes index 31670e0..c5b8650 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Tue Oct 24 13:09:40 UTC 2017 - dimstar@opensuse.org + +- Update to version 0.7.3: + + Add support for URL launchable types + + Prefer /usr/share/metainfo as default path for metainfo files + + Do not assign "flatpak" as an app's origin when no origin was + found. + + Add as_app_get_release_by_version(). + + lib/app-validate: Fix typo in variable name. + + Write XML for newer AppStream specification versions. + + Add as_app_get_screenshot_default(). + + Add AS_VERSION_PARSE_FLAG_USE_BCD when formatting version + strings. + + Add new launchable types from the 0.11 series of the spec. + + Fix the inode mode to be sane on extracted files. + ------------------------------------------------------------------- Thu Sep 14 11:35:44 UTC 2017 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index b04d099..438d8d8 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -19,7 +19,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.7.2 +Version: 0.7.3 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ AND GPL-2.0+ From 06211f02f18350c3556f3e4ff6034d673ab6b7874147623d7a25ba5664f8b7c4 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 3 Nov 2017 10:10:43 +0000 Subject: [PATCH 52/59] Revert to 0.7.2 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=54 --- _service | 4 ++-- _servicedata | 2 +- appstream-glib-0.7.2.tar.xz | 3 +++ appstream-glib-0.7.3.tar.xz | 3 --- appstream-glib.changes | 17 ----------------- appstream-glib.spec | 2 +- 6 files changed, 7 insertions(+), 24 deletions(-) create mode 100644 appstream-glib-0.7.2.tar.xz delete mode 100644 appstream-glib-0.7.3.tar.xz diff --git a/_service b/_service index d584ebf..e8761f5 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.7.3 + 0.7.2 enable - refs/tags/appstream_glib_0_7_3 + refs/tags/appstream_glib_0_7_2 *.tar diff --git a/_servicedata b/_servicedata index 049a055..1b4db3c 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - 9783a5357a33d4eb945eba9f2b9a4da4535a46e9 \ No newline at end of file + 6149f7eb067c4d267738fd5e7ea5c0cc1be7bc5b \ No newline at end of file diff --git a/appstream-glib-0.7.2.tar.xz b/appstream-glib-0.7.2.tar.xz new file mode 100644 index 0000000..4713358 --- /dev/null +++ b/appstream-glib-0.7.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6d5aba36189bc64e6aaf62282ab357ecaa61bc9f1645fa4bf21b9dc8bfc1feea +size 2227404 diff --git a/appstream-glib-0.7.3.tar.xz b/appstream-glib-0.7.3.tar.xz deleted file mode 100644 index 52cf715..0000000 --- a/appstream-glib-0.7.3.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e6a8ad7b7b88027d368ed312f35d024a5956fe2e894fef81867e3153ae762ac7 -size 2227288 diff --git a/appstream-glib.changes b/appstream-glib.changes index c5b8650..31670e0 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,20 +1,3 @@ -------------------------------------------------------------------- -Tue Oct 24 13:09:40 UTC 2017 - dimstar@opensuse.org - -- Update to version 0.7.3: - + Add support for URL launchable types - + Prefer /usr/share/metainfo as default path for metainfo files - + Do not assign "flatpak" as an app's origin when no origin was - found. - + Add as_app_get_release_by_version(). - + lib/app-validate: Fix typo in variable name. - + Write XML for newer AppStream specification versions. - + Add as_app_get_screenshot_default(). - + Add AS_VERSION_PARSE_FLAG_USE_BCD when formatting version - strings. - + Add new launchable types from the 0.11 series of the spec. - + Fix the inode mode to be sane on extracted files. - ------------------------------------------------------------------- Thu Sep 14 11:35:44 UTC 2017 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index 438d8d8..b04d099 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -19,7 +19,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.7.3 +Version: 0.7.2 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ AND GPL-2.0+ From 670dfbdf5290a22aee6b623afb917e986b9f5ebfb109fbb2da2f7d66a10cfa14 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 10 Nov 2017 13:44:50 +0000 Subject: [PATCH 53/59] Accepting request 539466 from GNOME:Factory - Update to version 0.7.3+git.20171103 (f230c8): + Only try to set the file permissions on regular files. + Add the 'hardware' requires type. (forwarded request 538773 from dimstar) OBS-URL: https://build.opensuse.org/request/show/539466 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=55 --- _service | 4 ++-- _servicedata | 2 +- appstream-glib-0.7.2.tar.xz | 3 --- appstream-glib-0.7.3+git.20171103.tar.xz | 3 +++ appstream-glib.changes | 24 ++++++++++++++++++++++++ appstream-glib.spec | 2 +- 6 files changed, 31 insertions(+), 7 deletions(-) delete mode 100644 appstream-glib-0.7.2.tar.xz create mode 100644 appstream-glib-0.7.3+git.20171103.tar.xz diff --git a/_service b/_service index e8761f5..bd92343 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.7.2 + 0.7.3+git.%cd enable - refs/tags/appstream_glib_0_7_2 + f230c8d6c82868843b5d5ed6351249846883ef7f *.tar diff --git a/_servicedata b/_servicedata index 1b4db3c..b15cdd3 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - 6149f7eb067c4d267738fd5e7ea5c0cc1be7bc5b \ No newline at end of file + f230c8d6c82868843b5d5ed6351249846883ef7f \ No newline at end of file diff --git a/appstream-glib-0.7.2.tar.xz b/appstream-glib-0.7.2.tar.xz deleted file mode 100644 index 4713358..0000000 --- a/appstream-glib-0.7.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6d5aba36189bc64e6aaf62282ab357ecaa61bc9f1645fa4bf21b9dc8bfc1feea -size 2227404 diff --git a/appstream-glib-0.7.3+git.20171103.tar.xz b/appstream-glib-0.7.3+git.20171103.tar.xz new file mode 100644 index 0000000..0122094 --- /dev/null +++ b/appstream-glib-0.7.3+git.20171103.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8601f92208f453eaba38594f8511c1f5002467ae45d66ab2c663506b29060096 +size 2227452 diff --git a/appstream-glib.changes b/appstream-glib.changes index 31670e0..1806434 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Fri Nov 03 11:49:25 UTC 2017 - dimstar@opensuse.org + +- Update to version 0.7.3+git.20171103 (f230c8): + + Only try to set the file permissions on regular files. + + Add the 'hardware' requires type. + +------------------------------------------------------------------- +Tue Oct 24 13:09:40 UTC 2017 - dimstar@opensuse.org + +- Update to version 0.7.3: + + Add support for URL launchable types + + Prefer /usr/share/metainfo as default path for metainfo files + + Do not assign "flatpak" as an app's origin when no origin was + found. + + Add as_app_get_release_by_version(). + + lib/app-validate: Fix typo in variable name. + + Write XML for newer AppStream specification versions. + + Add as_app_get_screenshot_default(). + + Add AS_VERSION_PARSE_FLAG_USE_BCD when formatting version + strings. + + Add new launchable types from the 0.11 series of the spec. + + Fix the inode mode to be sane on extracted files. + ------------------------------------------------------------------- Thu Sep 14 11:35:44 UTC 2017 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index b04d099..93e2716 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -19,7 +19,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.7.2 +Version: 0.7.3+git.20171103 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ AND GPL-2.0+ From b8dd40edaa26cfba6710f76a1b44672904c13b8c19f1a7064272d980d2c4db1c Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sat, 11 Nov 2017 13:05:40 +0000 Subject: [PATCH 54/59] Revert (again) to 0.7.2 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=56 --- _service | 4 ++-- _servicedata | 2 +- appstream-glib-0.7.2.tar.xz | 3 +++ appstream-glib-0.7.3+git.20171103.tar.xz | 3 --- appstream-glib.changes | 24 ------------------------ appstream-glib.spec | 2 +- 6 files changed, 7 insertions(+), 31 deletions(-) create mode 100644 appstream-glib-0.7.2.tar.xz delete mode 100644 appstream-glib-0.7.3+git.20171103.tar.xz diff --git a/_service b/_service index bd92343..e8761f5 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.7.3+git.%cd + 0.7.2 enable - f230c8d6c82868843b5d5ed6351249846883ef7f + refs/tags/appstream_glib_0_7_2 *.tar diff --git a/_servicedata b/_servicedata index b15cdd3..1b4db3c 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - f230c8d6c82868843b5d5ed6351249846883ef7f \ No newline at end of file + 6149f7eb067c4d267738fd5e7ea5c0cc1be7bc5b \ No newline at end of file diff --git a/appstream-glib-0.7.2.tar.xz b/appstream-glib-0.7.2.tar.xz new file mode 100644 index 0000000..4713358 --- /dev/null +++ b/appstream-glib-0.7.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6d5aba36189bc64e6aaf62282ab357ecaa61bc9f1645fa4bf21b9dc8bfc1feea +size 2227404 diff --git a/appstream-glib-0.7.3+git.20171103.tar.xz b/appstream-glib-0.7.3+git.20171103.tar.xz deleted file mode 100644 index 0122094..0000000 --- a/appstream-glib-0.7.3+git.20171103.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8601f92208f453eaba38594f8511c1f5002467ae45d66ab2c663506b29060096 -size 2227452 diff --git a/appstream-glib.changes b/appstream-glib.changes index 1806434..31670e0 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,27 +1,3 @@ -------------------------------------------------------------------- -Fri Nov 03 11:49:25 UTC 2017 - dimstar@opensuse.org - -- Update to version 0.7.3+git.20171103 (f230c8): - + Only try to set the file permissions on regular files. - + Add the 'hardware' requires type. - -------------------------------------------------------------------- -Tue Oct 24 13:09:40 UTC 2017 - dimstar@opensuse.org - -- Update to version 0.7.3: - + Add support for URL launchable types - + Prefer /usr/share/metainfo as default path for metainfo files - + Do not assign "flatpak" as an app's origin when no origin was - found. - + Add as_app_get_release_by_version(). - + lib/app-validate: Fix typo in variable name. - + Write XML for newer AppStream specification versions. - + Add as_app_get_screenshot_default(). - + Add AS_VERSION_PARSE_FLAG_USE_BCD when formatting version - strings. - + Add new launchable types from the 0.11 series of the spec. - + Fix the inode mode to be sane on extracted files. - ------------------------------------------------------------------- Thu Sep 14 11:35:44 UTC 2017 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index 93e2716..b04d099 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -19,7 +19,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.7.3+git.20171103 +Version: 0.7.2 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ AND GPL-2.0+ From aaaa4a5b1723c256375980ebdc9aa5bb226fb979c9eb608d2302f5d34ca2b493 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 13 Nov 2017 09:49:13 +0000 Subject: [PATCH 55/59] Forward to git snapshot - retesting together with upstream OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=57 --- _service | 4 ++-- _servicedata | 2 +- appstream-glib-0.7.2.tar.xz | 3 --- appstream-glib-0.7.3+git.20171103.tar.xz | 3 +++ appstream-glib.changes | 24 ++++++++++++++++++++++++ appstream-glib.spec | 2 +- 6 files changed, 31 insertions(+), 7 deletions(-) delete mode 100644 appstream-glib-0.7.2.tar.xz create mode 100644 appstream-glib-0.7.3+git.20171103.tar.xz diff --git a/_service b/_service index e8761f5..bd92343 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.7.2 + 0.7.3+git.%cd enable - refs/tags/appstream_glib_0_7_2 + f230c8d6c82868843b5d5ed6351249846883ef7f *.tar diff --git a/_servicedata b/_servicedata index 1b4db3c..b15cdd3 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - 6149f7eb067c4d267738fd5e7ea5c0cc1be7bc5b \ No newline at end of file + f230c8d6c82868843b5d5ed6351249846883ef7f \ No newline at end of file diff --git a/appstream-glib-0.7.2.tar.xz b/appstream-glib-0.7.2.tar.xz deleted file mode 100644 index 4713358..0000000 --- a/appstream-glib-0.7.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6d5aba36189bc64e6aaf62282ab357ecaa61bc9f1645fa4bf21b9dc8bfc1feea -size 2227404 diff --git a/appstream-glib-0.7.3+git.20171103.tar.xz b/appstream-glib-0.7.3+git.20171103.tar.xz new file mode 100644 index 0000000..0122094 --- /dev/null +++ b/appstream-glib-0.7.3+git.20171103.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8601f92208f453eaba38594f8511c1f5002467ae45d66ab2c663506b29060096 +size 2227452 diff --git a/appstream-glib.changes b/appstream-glib.changes index 31670e0..1806434 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Fri Nov 03 11:49:25 UTC 2017 - dimstar@opensuse.org + +- Update to version 0.7.3+git.20171103 (f230c8): + + Only try to set the file permissions on regular files. + + Add the 'hardware' requires type. + +------------------------------------------------------------------- +Tue Oct 24 13:09:40 UTC 2017 - dimstar@opensuse.org + +- Update to version 0.7.3: + + Add support for URL launchable types + + Prefer /usr/share/metainfo as default path for metainfo files + + Do not assign "flatpak" as an app's origin when no origin was + found. + + Add as_app_get_release_by_version(). + + lib/app-validate: Fix typo in variable name. + + Write XML for newer AppStream specification versions. + + Add as_app_get_screenshot_default(). + + Add AS_VERSION_PARSE_FLAG_USE_BCD when formatting version + strings. + + Add new launchable types from the 0.11 series of the spec. + + Fix the inode mode to be sane on extracted files. + ------------------------------------------------------------------- Thu Sep 14 11:35:44 UTC 2017 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index b04d099..93e2716 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -19,7 +19,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.7.2 +Version: 0.7.3+git.20171103 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ AND GPL-2.0+ From 42d7d3003f784124bab8c2ff20b3eefebc05f3fea5c7b9ef686d44a07b531e08 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 13 Nov 2017 10:14:01 +0000 Subject: [PATCH 56/59] Revert (again) to 0.7.2 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=58 --- _service | 4 ++-- _servicedata | 2 +- appstream-glib-0.7.2.tar.xz | 3 +++ appstream-glib-0.7.3+git.20171103.tar.xz | 3 --- appstream-glib.changes | 24 ------------------------ appstream-glib.spec | 2 +- 6 files changed, 7 insertions(+), 31 deletions(-) create mode 100644 appstream-glib-0.7.2.tar.xz delete mode 100644 appstream-glib-0.7.3+git.20171103.tar.xz diff --git a/_service b/_service index bd92343..e8761f5 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.7.3+git.%cd + 0.7.2 enable - f230c8d6c82868843b5d5ed6351249846883ef7f + refs/tags/appstream_glib_0_7_2 *.tar diff --git a/_servicedata b/_servicedata index b15cdd3..1b4db3c 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - f230c8d6c82868843b5d5ed6351249846883ef7f \ No newline at end of file + 6149f7eb067c4d267738fd5e7ea5c0cc1be7bc5b \ No newline at end of file diff --git a/appstream-glib-0.7.2.tar.xz b/appstream-glib-0.7.2.tar.xz new file mode 100644 index 0000000..4713358 --- /dev/null +++ b/appstream-glib-0.7.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6d5aba36189bc64e6aaf62282ab357ecaa61bc9f1645fa4bf21b9dc8bfc1feea +size 2227404 diff --git a/appstream-glib-0.7.3+git.20171103.tar.xz b/appstream-glib-0.7.3+git.20171103.tar.xz deleted file mode 100644 index 0122094..0000000 --- a/appstream-glib-0.7.3+git.20171103.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8601f92208f453eaba38594f8511c1f5002467ae45d66ab2c663506b29060096 -size 2227452 diff --git a/appstream-glib.changes b/appstream-glib.changes index 1806434..31670e0 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,27 +1,3 @@ -------------------------------------------------------------------- -Fri Nov 03 11:49:25 UTC 2017 - dimstar@opensuse.org - -- Update to version 0.7.3+git.20171103 (f230c8): - + Only try to set the file permissions on regular files. - + Add the 'hardware' requires type. - -------------------------------------------------------------------- -Tue Oct 24 13:09:40 UTC 2017 - dimstar@opensuse.org - -- Update to version 0.7.3: - + Add support for URL launchable types - + Prefer /usr/share/metainfo as default path for metainfo files - + Do not assign "flatpak" as an app's origin when no origin was - found. - + Add as_app_get_release_by_version(). - + lib/app-validate: Fix typo in variable name. - + Write XML for newer AppStream specification versions. - + Add as_app_get_screenshot_default(). - + Add AS_VERSION_PARSE_FLAG_USE_BCD when formatting version - strings. - + Add new launchable types from the 0.11 series of the spec. - + Fix the inode mode to be sane on extracted files. - ------------------------------------------------------------------- Thu Sep 14 11:35:44 UTC 2017 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index 93e2716..b04d099 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -19,7 +19,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.7.3+git.20171103 +Version: 0.7.2 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ AND GPL-2.0+ From 3df6cd135567c4bc978bd6fdd905d782d8740478be58c9eb12cca0dc4eaa14e7 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 30 Nov 2017 15:31:02 +0000 Subject: [PATCH 57/59] Accepting request 544205 from GNOME:Factory Upstream fix commited (forwarded request 541263 from dimstar) OBS-URL: https://build.opensuse.org/request/show/544205 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=59 --- _service | 4 ++-- _servicedata | 2 +- appstream-glib-0.7.2.tar.xz | 3 --- appstream-glib-0.7.4+git.3.tar.xz | 3 +++ appstream-glib.changes | 40 ++++++++++++++++++++++++++++++- appstream-glib.spec | 2 +- 6 files changed, 46 insertions(+), 8 deletions(-) delete mode 100644 appstream-glib-0.7.2.tar.xz create mode 100644 appstream-glib-0.7.4+git.3.tar.xz diff --git a/_service b/_service index e8761f5..3d38dfa 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.7.2 + 0.7.4+git.@TAG_OFFSET@ enable - refs/tags/appstream_glib_0_7_2 + 473f3ab19f91e13014d6cefdbf57209337a6d407 *.tar diff --git a/_servicedata b/_servicedata index 1b4db3c..9700501 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - 6149f7eb067c4d267738fd5e7ea5c0cc1be7bc5b \ No newline at end of file + 473f3ab19f91e13014d6cefdbf57209337a6d407 \ No newline at end of file diff --git a/appstream-glib-0.7.2.tar.xz b/appstream-glib-0.7.2.tar.xz deleted file mode 100644 index 4713358..0000000 --- a/appstream-glib-0.7.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6d5aba36189bc64e6aaf62282ab357ecaa61bc9f1645fa4bf21b9dc8bfc1feea -size 2227404 diff --git a/appstream-glib-0.7.4+git.3.tar.xz b/appstream-glib-0.7.4+git.3.tar.xz new file mode 100644 index 0000000..46f1466 --- /dev/null +++ b/appstream-glib-0.7.4+git.3.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7de97ff555ecd83b25427916e51712226370db4e5a0744d33f770a0c850b4038 +size 2227548 diff --git a/appstream-glib.changes b/appstream-glib.changes index 31670e0..ae38eb1 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,41 @@ +------------------------------------------------------------------- +Mon Nov 13 11:08:55 UTC 2017 - dimstar@opensuse.org + +- Update to version 0.7.4+git.3: + + Do not try to extract duplicate files in the icon theme + packages. + + Fix the arithmetic when fitting an image in 16:9 + +------------------------------------------------------------------- +Fri Nov 10 06:59:27 UTC 2017 - fezhang@suse.com + +- Update to version 0.7.4: + + trivial: Disable the fonts self tests in the builder + +------------------------------------------------------------------- +Fri Nov 03 11:49:25 UTC 2017 - dimstar@opensuse.org + +- Update to version 0.7.3+git.20171103 (f230c8): + + Only try to set the file permissions on regular files. + + Add the 'hardware' requires type. + +------------------------------------------------------------------- +Tue Oct 24 13:09:40 UTC 2017 - dimstar@opensuse.org + +- Update to version 0.7.3: + + Add support for URL launchable types + + Prefer /usr/share/metainfo as default path for metainfo files + + Do not assign "flatpak" as an app's origin when no origin was + found. + + Add as_app_get_release_by_version(). + + lib/app-validate: Fix typo in variable name. + + Write XML for newer AppStream specification versions. + + Add as_app_get_screenshot_default(). + + Add AS_VERSION_PARSE_FLAG_USE_BCD when formatting version + strings. + + Add new launchable types from the 0.11 series of the spec. + + Fix the inode mode to be sane on extracted files. + ------------------------------------------------------------------- Thu Sep 14 11:35:44 UTC 2017 - dimstar@opensuse.org @@ -1003,7 +1041,7 @@ Wed Sep 16 09:00:22 UTC 2015 - opensuse-packaging@opensuse.org Tue Sep 1 06:55:23 UTC 2015 - dimstar@opensuse.org - openSUSE-appstream-process: compress the status html files - (boo#942985). + (boo#942985). ------------------------------------------------------------------- Thu Aug 13 19:11:12 UTC 2015 - zaitor@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index b04d099..fcdf0de 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -19,7 +19,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.7.2 +Version: 0.7.4+git.3 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ AND GPL-2.0+ From f60f0bc92772a1bc7b3488918f4a467695dd1f432fac3305680c0a0b18690827 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 16 Feb 2018 20:37:50 +0000 Subject: [PATCH 58/59] Accepting request 576844 from GNOME:Factory Update to 0.7.5 (forwarded request 575331 from luc14n0) OBS-URL: https://build.opensuse.org/request/show/576844 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=60 --- _service | 4 ++-- _servicedata | 2 +- appstream-glib-0.7.4+git.3.tar.xz | 3 --- appstream-glib-0.7.5.tar.xz | 3 +++ appstream-glib.changes | 23 +++++++++++++++++++++++ appstream-glib.spec | 11 ++++++----- 6 files changed, 35 insertions(+), 11 deletions(-) delete mode 100644 appstream-glib-0.7.4+git.3.tar.xz create mode 100644 appstream-glib-0.7.5.tar.xz diff --git a/_service b/_service index 3d38dfa..ef5cd3a 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.7.4+git.@TAG_OFFSET@ + 0.7.5 enable - 473f3ab19f91e13014d6cefdbf57209337a6d407 + appstream_glib_0_7_5 *.tar diff --git a/_servicedata b/_servicedata index 9700501..0766db0 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - 473f3ab19f91e13014d6cefdbf57209337a6d407 \ No newline at end of file + 92722fe24b0ba165a65efc565aa52a372b440604 \ No newline at end of file diff --git a/appstream-glib-0.7.4+git.3.tar.xz b/appstream-glib-0.7.4+git.3.tar.xz deleted file mode 100644 index 46f1466..0000000 --- a/appstream-glib-0.7.4+git.3.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7de97ff555ecd83b25427916e51712226370db4e5a0744d33f770a0c850b4038 -size 2227548 diff --git a/appstream-glib-0.7.5.tar.xz b/appstream-glib-0.7.5.tar.xz new file mode 100644 index 0000000..a5d4b03 --- /dev/null +++ b/appstream-glib-0.7.5.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eec264fd1b7acdf78bade15f6edcbfbcb3d1fced0251ecc3bbce8f558b6586d9 +size 2230288 diff --git a/appstream-glib.changes b/appstream-glib.changes index ae38eb1..997a539 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Thu Jan 25 15:55:23 UTC 2018 - dimstar@opensuse.org + +- Update to version 0.7.5: + + Add as_app_parse_data(). + + Add as_store_get_apps_by_provide(). + + Add more GObject Introspection annotations for Python. + + Describe connection problems/HTTP errors when validating + images. + + Do not use an 'enable' prefix for meson arguments. + + Don't expect an enum when really passing a bitfield. + + Don’t fall back to en if other languages are available. + + Explicitly require a new enough json-glib. + + Fix a crash when calling as_release_add_location() directly. + + Fix appstream-compose when using new-style desktop IDs. + + Fix compile with GCab v1.0. + + Generate icons and samples for emoji fonts.. + + Never change the default screenshot when processing AppData. + + Support OARS v1.1 additions. + + Use pngquant to make the application icons take up less space. +- Add pngquant Requires: new runtime dependency to make the + application icons take up less space. + ------------------------------------------------------------------- Mon Nov 13 11:08:55 UTC 2017 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index fcdf0de..1bf5750 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -1,7 +1,7 @@ # # spec file for package appstream-glib # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2014 Dominique Leuenberger, Amsterdam, The Netherlands # # All modifications and additions to the file contributed by third parties @@ -19,7 +19,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.7.4+git.3 +Version: 0.7.5 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ AND GPL-2.0+ @@ -58,6 +58,7 @@ BuildRequires: gnome-common # We still need some part to build the man pages BuildRequires: xsltproc %endif +Requires: pngquant >= 2.8 %description This library provides GObjects and helper methods to read and write @@ -158,9 +159,9 @@ for the repositories to be published %build %{meson} \ - -Denable-rpm=true \ - -Denable-gtk-doc=true \ - -Denable-stemmer=false \ + -Drpm=true \ + -Dgtk-doc=true \ + -Dstemmer=false \ %{nil} %{meson_build} From 45b7fe77ebc2120edf19a75f505cbdca58eaac30459076f0241234348ca27c4b Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 19 Feb 2018 17:16:14 +0000 Subject: [PATCH 59/59] Accepting request 578159 from openSUSE:Factory Revert to pre-0.7.5, without pngquant OBS-URL: https://build.opensuse.org/request/show/578159 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=61 --- _service | 4 ++-- _servicedata | 2 +- appstream-glib-0.7.4+git.3.tar.xz | 3 +++ appstream-glib-0.7.5.tar.xz | 3 --- appstream-glib.changes | 23 ----------------------- appstream-glib.spec | 11 +++++------ 6 files changed, 11 insertions(+), 35 deletions(-) create mode 100644 appstream-glib-0.7.4+git.3.tar.xz delete mode 100644 appstream-glib-0.7.5.tar.xz diff --git a/_service b/_service index ef5cd3a..3d38dfa 100644 --- a/_service +++ b/_service @@ -2,9 +2,9 @@ https://github.com/hughsie/appstream-glib.git git - 0.7.5 + 0.7.4+git.@TAG_OFFSET@ enable - appstream_glib_0_7_5 + 473f3ab19f91e13014d6cefdbf57209337a6d407 *.tar diff --git a/_servicedata b/_servicedata index 0766db0..9700501 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/hughsie/appstream-glib.git - 92722fe24b0ba165a65efc565aa52a372b440604 \ No newline at end of file + 473f3ab19f91e13014d6cefdbf57209337a6d407 \ No newline at end of file diff --git a/appstream-glib-0.7.4+git.3.tar.xz b/appstream-glib-0.7.4+git.3.tar.xz new file mode 100644 index 0000000..46f1466 --- /dev/null +++ b/appstream-glib-0.7.4+git.3.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7de97ff555ecd83b25427916e51712226370db4e5a0744d33f770a0c850b4038 +size 2227548 diff --git a/appstream-glib-0.7.5.tar.xz b/appstream-glib-0.7.5.tar.xz deleted file mode 100644 index a5d4b03..0000000 --- a/appstream-glib-0.7.5.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eec264fd1b7acdf78bade15f6edcbfbcb3d1fced0251ecc3bbce8f558b6586d9 -size 2230288 diff --git a/appstream-glib.changes b/appstream-glib.changes index 997a539..ae38eb1 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,26 +1,3 @@ -------------------------------------------------------------------- -Thu Jan 25 15:55:23 UTC 2018 - dimstar@opensuse.org - -- Update to version 0.7.5: - + Add as_app_parse_data(). - + Add as_store_get_apps_by_provide(). - + Add more GObject Introspection annotations for Python. - + Describe connection problems/HTTP errors when validating - images. - + Do not use an 'enable' prefix for meson arguments. - + Don't expect an enum when really passing a bitfield. - + Don’t fall back to en if other languages are available. - + Explicitly require a new enough json-glib. - + Fix a crash when calling as_release_add_location() directly. - + Fix appstream-compose when using new-style desktop IDs. - + Fix compile with GCab v1.0. - + Generate icons and samples for emoji fonts.. - + Never change the default screenshot when processing AppData. - + Support OARS v1.1 additions. - + Use pngquant to make the application icons take up less space. -- Add pngquant Requires: new runtime dependency to make the - application icons take up less space. - ------------------------------------------------------------------- Mon Nov 13 11:08:55 UTC 2017 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index 1bf5750..fcdf0de 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -1,7 +1,7 @@ # # spec file for package appstream-glib # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2014 Dominique Leuenberger, Amsterdam, The Netherlands # # All modifications and additions to the file contributed by third parties @@ -19,7 +19,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.7.5 +Version: 0.7.4+git.3 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ AND GPL-2.0+ @@ -58,7 +58,6 @@ BuildRequires: gnome-common # We still need some part to build the man pages BuildRequires: xsltproc %endif -Requires: pngquant >= 2.8 %description This library provides GObjects and helper methods to read and write @@ -159,9 +158,9 @@ for the repositories to be published %build %{meson} \ - -Drpm=true \ - -Dgtk-doc=true \ - -Dstemmer=false \ + -Denable-rpm=true \ + -Denable-gtk-doc=true \ + -Denable-stemmer=false \ %{nil} %{meson_build}