pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/appstream



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Apr 14 17:22:19 UTC 2024

Modified Files:
        pkgsrc/devel/appstream: Makefile PLIST buildlink3.mk distinfo
Removed Files:
        pkgsrc/devel/appstream/patches: patch-src_as-system-info.c

Log Message:
appstream: updated to 1.0.2

Version 1.0.2
~~~~~~~~~~~~~~
Released: 2024-02-24

Features:
 * qt: Allow building for multiple Qt major versions at once
 * Improve low-quality category check and extend its blacklist
 * validator: Add some limited developer-ID validation
 * validator: Emit an overridable warning if homepage URL was omitted
 * compose: Allow rendering vector graphics to HiDPI bitmaps unconditionally
 * compose: Allow setting a custom icon-policy on the command-line

Specification:
 * docs: Mention that <summary/> tag can be translated
 * docs: Generate validation issue tag documentation from code
 * docs: Add information on how to exclude elements from translation
 * spec: Recommend using rDNS strings or Fediverse handles as developer-ID
 * spec: Make launchable requirement for desktop-apps more strict

Bugfixes:
 * qt: Component::customValue should be const
 * validator: Remove mention of shorthands from relation-display-length-value-invalid
 * sysinfo: Swap arguments of g_pattern_match_simple
 * qt: Add missing screenshot sorting function
 * qt: pool: Add missing Q_EMIT keyword
 * validator: Improve error message if no valid categories were found
 * validator: Make some length limitations more strict
 * validator: Only emit developer-name-tag-deprecated once
 * validator: Ensure filename is properly included in location info again
 * validator: Improve error reporting on images with missing/bad locales
 * compose: Don't accidentally set icon scale to 0 in some cases
 * compose: Add heuristics to show out-of-scope errors if filters were set
 * Don't prematurely abort URL validity check during semi-large redirects
 * docs: Update supported hashsums to reflect reality
 * docs: Describe version comparison letters special case
 * docs: Clarify release descriptions *must not* contain embedded URL
 * docs: Explicitly mention /var/cache/swcatalog is a valid catalog data location
 * tests: Fix tests with old & new FontConfig
 * its: Allow untranslatable developer/name and agreement sections

Miscellaneous:
 * compose: Clarify that "no valid category" can mean bad ones were ignored
 * news-convert: Don't strip out the last text in brackets

Version 1.0.1
~~~~~~~~~~~~~~
Released: 2023-12-16

Bugfixes:
 * Fix lib name for Qt5 link target
 * meson: Pass -D_DARWIN_C_SOURCE on darwin
 * Fix macOS build
 * stemmer: Resolve potential issue where stemmer may never be initialized
 * cli: Don't fail what-provides if components were found
 * Fix query element order for what-provides queries
 * validator: Demote developer-name-tag-deprecated to info severity for now
 * content-rating: Fix missing or wrong value descriptions for rating IDs
 * curl: Add transfer speed timeouts for HTTP downloads
 * curl: Retry operations on potentially transient errors

Miscellaneous:
 * validator: Improve hint for content-attribute-value-invalid
 * Allow building without zstd temporarily

Version 1.0.0
~~~~~~~~~~~~~~
Released: 2023-11-11

Notes:
 * This version breaks API and bumps the SONAME of libappstream!
   Applications using AppStream will have to be ported to the new API.
   The 1.0 release is coinstallable with the stable 0.16.x series.

Features:
 * Autoformat C and C++ sources
 * Remove all deprecated symbols
 * Drop support for many deprecated AppStream XML features
 * Use GPtrArray to expose keywords list
 * Add length argument to raw metadata parsing functions
 * Add component array container class
 * Remove named values for display_length relations
 * Make AsPool only accept/return component boxes
 * Port all API away from per-entity locale overrides
 * Reduce appstream.conf to its essentials, make it work on stateless systems
 * Hide search engine details from public API
 * Wrap release entries in AsReleaseList container class
 * Make AsMetadata handle AsReleaseList objects
 * Refactor is_satisfied result into new RelationCheckResult class
 * Add a method to check all relations of a component and get the result
 * Add algorithm to score compatibility with a system, add chassis templates
 * ascli: Add new check-syscompat command to check chassis compatibility
 * Implement environment property for component screenshots
 * Autogenerate translatable DE and gui-environment-style C arrays
 * Expose more advanced markup conversion function, update function names
 * Allow BLAKE3 and SHA512 checksums for release artifacts
 * Stop supporting mailto: URLs in <url/> tags
 * validator: Improve API and simplify it
 * validator: Parse XML in pedantic mode when validating
 * validator: Check screenshot environment property
 * validator: Only apply summary-has-dot-suffix check to untranslated strings
 * compose: Allow creating metadata with complete URLs and no base URL
 * spdx: Add API to retrieve a translated license name from an SPDX ID
 * qt: Switch to building with Qt6
 * qt: Make it possible to iterate ComponentBox
 * qt: Implement AppStream::ComponentBox::erase
 * qt: Allow concatenating two ComponentBoxes
 * qt: Allow loading Pool asynchronously
 * qt: Use ComponentBox/Releases in Qt bindings as well
 * qt: Add support for the new API to check relation satisfaction
 * qt: Maintenance and namespace fixes, use cPtr() to get C pointers everywhere
 * bundle: Add linglong as a new type of bundle
 * Add GUI environment IDs for macOS and Microsoft Windows
 * validator: Check if Release Description is inside description tag
 * validator: Add validation for content_rating
 * Add support for building on Win32
 * win32: change some file/path-related code for portability
 * Implement the developer element for unique developer IDs
 * Implement scaling factor for screenshots
 * component-box: Allow removal of components by-index
 * Implement support for external references and citations
 * Implement usertags for release data as well
 * Move ValueFlags to the context, instead of tieing them to components
 * pool: search: Add additional weight for exact substring matches on names
 * sysinfo: Add memory size detection support for macOS
 * Add support for Zstd for on-disk data compression
 * utils: Make tar unpacker independent of zstd binary presence
 * Drop Python2 provided tag support
 * data: Add ‘Endless’ to the list of desktops
 * Add NetBSD support

Specification:
 * Drop (most) deprecated information
 * docs: Clarify environment-based screenshot ordering
 * Add new  'snapshot' release kind
 * docs: Build all API documentation with gi-docgen
 * spec: Document the new "developer" element
 * spec: Document the "reference" tag for registry references
 * docs: Add example of YAML for references elements
 * Allow hyphens in the last segment of a component-ID
 * docs: Drop outdated information from l10n quickstart guide

Bugfixes:
 * meson: check for docbook xsl stylesheets
 * Fix tweaking of appstream.pc when building as subproject
 * Fix crash in asc_l10n_search_translations_qt()
 * qt: Make Qt6 dependency a system dependency.
 * meson: do not rely on an exe wrapper
 * meson: do not -I/usr/include when !stemmer
 * meson: Prevent building attempts with MSVC
 * meson: Use an SPDX license indentifier in project(license:)
 * Add meson overrides
 * compose: Set lower-cased CID for synthesized components again
 * compose: Set lower-cased CID in desktop-entry parse function
 * compose: Honor prefix in font search
 * compose: Select the correct default icon glyphs for fonts
 * Don't crash when non-YAML documents are read as YAML
 * Do not override default-priority when parsing multiple metadata files
 * Ensure stemmer always has the right locale and token-search works
 * Require a more recent libxmlb to avoid crashes
 * Rename component get_releases to indicate that releases may not be loaded from the web
 * Prevent string-id validation functions from matching source comments
 * Don't define _POSIX_C_SOURCE when building for NetBSD

Miscellaneous:
 * Explain metainfo-ancient error in more detail
 * Make sed invocation more portable
 * Add FreeBSD CI
 * Allow variable shadowing in C++ code
 * Drop the catchall as-enums unit
 * vapi: Drop unneeded metadata
 * Make AsMetadata return a component box for multiple components
 * apt: Make item descriptions more human-friendly
 * Streamline README


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/appstream/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/appstream/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/appstream/buildlink3.mk
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/appstream/distinfo
cvs rdiff -u -r1.2 -r0 \
    pkgsrc/devel/appstream/patches/patch-src_as-system-info.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/appstream/Makefile
diff -u pkgsrc/devel/appstream/Makefile:1.4 pkgsrc/devel/appstream/Makefile:1.5
--- pkgsrc/devel/appstream/Makefile:1.4 Wed Nov  8 13:18:40 2023
+++ pkgsrc/devel/appstream/Makefile     Sun Apr 14 17:22:19 2024
@@ -1,41 +1,43 @@
-# $NetBSD: Makefile,v 1.4 2023/11/08 13:18:40 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2024/04/14 17:22:19 adam Exp $
 
-DISTNAME=      appstream-0.16.3
-PKGREVISION=   2
+DISTNAME=      appstream-1.0.2
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=ximion/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://github.com/ximion/appstream/
+HOMEPAGE=      https://github.com/ximion/appstream
 COMMENT=       Tools and libraries to work with AppStream metadata
 LICENSE=       gnu-lgpl-v2.1
 
 TOOL_DEPENDS+= gperf-[0-9]*:../../devel/gperf
 TOOL_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
-TOOL_DEPENDS+= gtk-doc-[0-9]*:../../textproc/gtk-doc
 
-USE_PKGLOCALEDIR=      yes
 USE_LANGUAGES=         c c++
+USE_PKGLOCALEDIR=      yes
 USE_TOOLS+=            itstool pkg-config
 
+MESON_ARGS+=   -Dapidocs=false
 MESON_ARGS+=   -Dsystemd=false
 # for running a tool during the build
 MAKE_ENV+=     LD_LIBRARY_PATH=${WRKSRC}/output/src
+# for Darwin
+MAKE_ENV+=     DYLD_LIBRARY_PATH=${WRKSRC}/output/src
 
 PKGCONFIG_OVERRIDE+=           output/meson-private/appstream.pc
 PKGCONFIG_OVERRIDE_STAGE=      post-configure
 
-INSTALLATION_DIRS+=    share/examples/appstream
-
-CONF_FILES+=   ${PREFIX}/share/examples/appstream/appstream.conf ${PKG_SYSCONFDIR}/appstream.conf
+# Hard-coded path to /usr/include for libstemmer.h.
+SUBST_CLASSES+=                paths
+SUBST_STAGE.paths=     pre-configure
+SUBST_MESSAGE.paths=   Fixing absolute paths.
+SUBST_FILES.paths=     meson.build
+SUBST_SED.paths=       -e 's,/usr/include,${PREFIX}/include,g'
 
-post-install:
-       ${MV} ${DESTDIR}${PKG_SYSCONFDIR}/appstream.conf ${DESTDIR}${PREFIX}/share/examples/appstream
-
-.include "../../devel/meson/build.mk"
+.include "../../archivers/zstd/buildlink3.mk"
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../devel/gobject-introspection/buildlink3.mk"
+.include "../../devel/meson/build.mk"
 .include "../../textproc/libstemmer/buildlink3.mk"
 .include "../../textproc/libxmlb/buildlink3.mk"
 .include "../../textproc/libyaml/buildlink3.mk"

Index: pkgsrc/devel/appstream/PLIST
diff -u pkgsrc/devel/appstream/PLIST:1.1 pkgsrc/devel/appstream/PLIST:1.2
--- pkgsrc/devel/appstream/PLIST:1.1    Sun Oct 15 08:00:14 2023
+++ pkgsrc/devel/appstream/PLIST        Sun Apr 14 17:22:19 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2023/10/15 08:00:14 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2024/04/14 17:22:19 adam Exp $
 bin/appstreamcli
 include/appstream/appstream.h
 include/appstream/as-agreement-section.h
@@ -6,24 +6,27 @@ include/appstream/as-agreement.h
 include/appstream/as-artifact.h
 include/appstream/as-branding.h
 include/appstream/as-bundle.h
-include/appstream/as-category-gir.h
+include/appstream/as-category-gi.h
 include/appstream/as-category.h
 include/appstream/as-checksum.h
+include/appstream/as-component-box.h
 include/appstream/as-component.h
 include/appstream/as-content-rating.h
 include/appstream/as-context.h
-include/appstream/as-distro-details.h
+include/appstream/as-developer.h
 include/appstream/as-enum-types.h
-include/appstream/as-enums.h
 include/appstream/as-icon.h
 include/appstream/as-image.h
 include/appstream/as-issue.h
 include/appstream/as-launchable.h
+include/appstream/as-macros.h
 include/appstream/as-metadata.h
-include/appstream/as-pool-gir.h
 include/appstream/as-pool.h
 include/appstream/as-provided.h
+include/appstream/as-reference.h
+include/appstream/as-relation-check-result.h
 include/appstream/as-relation.h
+include/appstream/as-release-list.h
 include/appstream/as-release.h
 include/appstream/as-review.h
 include/appstream/as-screenshot.h
@@ -40,62 +43,13 @@ include/appstream/as-video.h
 lib/girepository-1.0/AppStream-1.0.typelib
 lib/libappstream.so
 lib/libappstream.so.${PKGVERSION}
-lib/libappstream.so.4
+lib/libappstream.so.5
 lib/pkgconfig/appstream.pc
 man/man1/appstreamcli.1
-share/doc/appstream/html/api/annotation-glossary.html
-share/doc/appstream/html/api/api-index-full.html
-share/doc/appstream/html/api/appstream-AsAgreement.html
-share/doc/appstream/html/api/appstream-AsAgreementSection.html
-share/doc/appstream/html/api/appstream-AsArtifact.html
-share/doc/appstream/html/api/appstream-AsBranding.html
-share/doc/appstream/html/api/appstream-AsBundle.html
-share/doc/appstream/html/api/appstream-AsCategory.html
-share/doc/appstream/html/api/appstream-AsChecksum.html
-share/doc/appstream/html/api/appstream-AsComponent.html
-share/doc/appstream/html/api/appstream-AsContentRating.html
-share/doc/appstream/html/api/appstream-AsContext.html
-share/doc/appstream/html/api/appstream-AsDistroDetails.html
-share/doc/appstream/html/api/appstream-AsIcon.html
-share/doc/appstream/html/api/appstream-AsImage.html
-share/doc/appstream/html/api/appstream-AsIssue.html
-share/doc/appstream/html/api/appstream-AsLaunchable.html
-share/doc/appstream/html/api/appstream-AsMetadata.html
-share/doc/appstream/html/api/appstream-AsPool.html
-share/doc/appstream/html/api/appstream-AsProvided.html
-share/doc/appstream/html/api/appstream-AsRelation.html
-share/doc/appstream/html/api/appstream-AsRelease.html
-share/doc/appstream/html/api/appstream-AsReview.html
-share/doc/appstream/html/api/appstream-AsScreenshot.html
-share/doc/appstream/html/api/appstream-AsSuggested.html
-share/doc/appstream/html/api/appstream-AsSystemInfo.html
-share/doc/appstream/html/api/appstream-AsTranslation.html
-share/doc/appstream/html/api/appstream-AsValidator.html
-share/doc/appstream/html/api/appstream-AsValidatorIssue.html
-share/doc/appstream/html/api/appstream-AsVideo.html
-share/doc/appstream/html/api/appstream-as-enums.html
-share/doc/appstream/html/api/appstream-as-spdx.html
-share/doc/appstream/html/api/appstream-as-utils.html
-share/doc/appstream/html/api/appstream.devhelp2
-share/doc/appstream/html/api/ch01.html
-share/doc/appstream/html/api/deprecated-api-index.html
-share/doc/appstream/html/api/home.png
-share/doc/appstream/html/api/index.html
-share/doc/appstream/html/api/left-insensitive.png
-share/doc/appstream/html/api/left.png
-share/doc/appstream/html/api/manpages.html
-share/doc/appstream/html/api/re32.html
-share/doc/appstream/html/api/re33.html
-share/doc/appstream/html/api/right-insensitive.png
-share/doc/appstream/html/api/right.png
-share/doc/appstream/html/api/style.css
-share/doc/appstream/html/api/up-insensitive.png
-share/doc/appstream/html/api/up.png
-share/examples/appstream/appstream.conf
+share/appstream/appstream.conf
 share/gettext/its/metainfo.its
 share/gettext/its/metainfo.loc
 share/gir-1.0/AppStream-1.0.gir
-share/gtk-doc/html/appstream
 share/installed-tests/appstream/metainfo-validate.test
 share/locale/ain/LC_MESSAGES/appstream.mo
 share/locale/ar/LC_MESSAGES/appstream.mo

Index: pkgsrc/devel/appstream/buildlink3.mk
diff -u pkgsrc/devel/appstream/buildlink3.mk:1.3 pkgsrc/devel/appstream/buildlink3.mk:1.4
--- pkgsrc/devel/appstream/buildlink3.mk:1.3    Wed Nov  8 13:18:40 2023
+++ pkgsrc/devel/appstream/buildlink3.mk        Sun Apr 14 17:22:19 2024
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2023/11/08 13:18:40 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2024/04/14 17:22:19 adam Exp $
 
 BUILDLINK_TREE+=       appstream
 
@@ -6,9 +6,10 @@ BUILDLINK_TREE+=       appstream
 APPSTREAM_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.appstream+=      appstream>=0.16.3
-BUILDLINK_ABI_DEPENDS.appstream?=              appstream>=0.16.3nb2
+BUILDLINK_ABI_DEPENDS.appstream+=      appstream>=0.16.3nb2
 BUILDLINK_PKGSRCDIR.appstream?=                ../../devel/appstream
 
+.include "../../archivers/zstd/buildlink3.mk"
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../textproc/libstemmer/buildlink3.mk"
 .include "../../textproc/libxmlb/buildlink3.mk"

Index: pkgsrc/devel/appstream/distinfo
diff -u pkgsrc/devel/appstream/distinfo:1.2 pkgsrc/devel/appstream/distinfo:1.3
--- pkgsrc/devel/appstream/distinfo:1.2 Sun Oct 15 08:08:17 2023
+++ pkgsrc/devel/appstream/distinfo     Sun Apr 14 17:22:19 2024
@@ -1,7 +1,5 @@
-$NetBSD: distinfo,v 1.2 2023/10/15 08:08:17 wiz Exp $
+$NetBSD: distinfo,v 1.3 2024/04/14 17:22:19 adam Exp $
 
-BLAKE2s (appstream-0.16.3.tar.gz) = c724e52e9194151ebf057155d3c4949f9e49321944ad1261535423dd8dc344df
-SHA512 (appstream-0.16.3.tar.gz) = c40897811e6ab47e919dca761d1a4ed9c30664b29d126358176995c80400997de61403d59ddcfac1fbdd2d946cb0cd62fed00e8249184bb713867ce7439b6c32
-Size (appstream-0.16.3.tar.gz) = 3724307 bytes
-SHA1 (patch-meson.build) = 7943a0cc531bbcbb45a1d7f549ae974cf085fa02
-SHA1 (patch-src_as-system-info.c) = 13904684a91b1ea37b7ee3ac1fc7b720431bcc8a
+BLAKE2s (appstream-1.0.2.tar.gz) = 9928e23674657e8ab99b6d6ad4a6d53c8d814216d8d0e4598f700a2eb169fdb6
+SHA512 (appstream-1.0.2.tar.gz) = d7e49242c0e623944545e14e995d756832d2bbf8bd5d1237dd2b76c388cd8a30fd5f159ebf9430c010345f2e55260bf433d3ded108cce587c3f052a967dac54c
+Size (appstream-1.0.2.tar.gz) = 3920089 bytes



Home | Main Index | Thread Index | Old Index