Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package hyprgraphics for openSUSE:Factory checked in at 2026-11-04 19:44:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/hyprgraphics (Old) and /work/SRC/openSUSE:Factory/.hyprgraphics.new.3759290 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hyprgraphics" Wed Nov 4 19:44:27 2026 rev:7 rq:1394766 version:0.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/hyprgraphics/hyprgraphics.changes 2026-05-10 16:48:18.768751024 +0200 +++ /work/SRC/openSUSE:Factory/.hyprgraphics.new.3759290/hyprgraphics.changes 2026-11-04 19:44:51.594904464 +0100 @@ -1,0 +2,13 @@ +Tue Nov 3 18:34:38 UTC 2026 - Nassim Lhadj <[email protected]> + +- Update to version 0.6.0: + - ABI breaking update: + * resource/text: remove dep on pango + * Add missing include for uint8_t + * egl: add XRGB16161616F and ARGB16161616F to formats + * render: add missing weight and italic to STextResourceData + * packaging: add Requires to pkgconfig for automatic make cflags + * packaging: make optional pkg-config deps conditional + - Add pkgconfig(libheif) as build dep to enable HEIF/AVIF support + +------------------------------------------------------------------- Old: ---- hyprgraphics-0.5.1.tar.xz New: ---- hyprgraphics-0.6.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hyprgraphics.spec ++++++ --- /var/tmp/diff_new_pack.wV1HZE/_old 2026-11-04 19:44:52.424939208 +0100 +++ /var/tmp/diff_new_pack.wV1HZE/_new 2026-11-04 19:44:52.428939376 +0100 @@ -17,10 +17,10 @@ # -%define sover 4 +%define sover 5 Name: hyprgraphics -Version: 0.5.1 +Version: 0.6.0 Release: 0 Summary: Hyprland graphics / resource utilities License: BSD-3-Clause @@ -34,6 +34,7 @@ BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(hyprutils) >= 0.8.0 BuildRequires: pkgconfig(libdrm) +BuildRequires: pkgconfig(libheif) BuildRequires: pkgconfig(libjpeg) BuildRequires: pkgconfig(libjxl) BuildRequires: pkgconfig(libjxl_cms) ++++++ hyprgraphics-0.5.1.tar.xz -> hyprgraphics-0.6.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hyprgraphics-0.5.1/.github/vouch_pr_message.md new/hyprgraphics-0.6.0/.github/vouch_pr_message.md --- old/hyprgraphics-0.5.1/.github/vouch_pr_message.md 1970-01-01 01:00:00.000000000 +0100 +++ new/hyprgraphics-0.6.0/.github/vouch_pr_message.md 2026-11-01 19:13:52.000000000 +0100 @@ -0,0 +1,8 @@ +Hi @{author}, + +Thanks for your contribution! Unfortunately, Hyprland and hypr* no longer +accept contributions from unvouched contributors. + +To get vouched, please see our contributing guide at [wiki.hypr.land/Contributing-and-Debugging](https://wiki.hypr.land/Contributing-and-Debugging/) + +This PR has been closed automatically and will not be re-opened. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hyprgraphics-0.5.1/.github/workflows/nix.yml new/hyprgraphics-0.6.0/.github/workflows/nix.yml --- old/hyprgraphics-0.5.1/.github/workflows/nix.yml 2026-04-06 01:14:16.000000000 +0200 +++ new/hyprgraphics-0.6.0/.github/workflows/nix.yml 2026-11-01 19:13:52.000000000 +0100 @@ -1,6 +1,7 @@ name: Build & Test on: [push, pull_request, workflow_dispatch] + jobs: nix: strategy: @@ -9,46 +10,8 @@ - hyprgraphics - hyprgraphics-with-tests - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - name: Install Nix - uses: nixbuild/nix-quick-install-action@v31 - with: - nix_conf: | - keep-env-derivations = true - keep-outputs = true - - - name: Restore and save Nix store - uses: nix-community/cache-nix-action@v6 - with: - # restore and save a cache using this key - primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', '**/flake.lock') }} - # if there's no cache hit, restore a cache by this prefix - restore-prefixes-first-match: nix-${{ runner.os }}- - # collect garbage until the Nix store size (in bytes) is at most this number - # before trying to save a new cache - # 1G = 1073741824 - gc-max-store-size-linux: 1G - # do purge caches - purge: true - # purge all versions of the cache - purge-prefixes: nix-${{ runner.os }}- - # created more than this number of seconds ago - purge-created: 0 - # or, last accessed more than this number of seconds ago - # relative to the start of the `Post Restore and save Nix store` phase - purge-last-accessed: 0 - # except any version with the key that is the same as the `primary-key` - purge-primary-key: never - - # not needed (yet) - # - uses: cachix/cachix-action@v12 - # with: - # name: hyprland - # authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' - - - name: Build & Test - run: nix build .#${{ matrix.package }} --print-build-logs - + if: (github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork) + uses: hyprwm/actions/.github/workflows/nix.yml@main + secrets: inherit + with: + command: nix build .#${{ matrix.package }} --print-build-logs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hyprgraphics-0.5.1/.github/workflows/vouch-prs.yml new/hyprgraphics-0.6.0/.github/workflows/vouch-prs.yml --- old/hyprgraphics-0.5.1/.github/workflows/vouch-prs.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/hyprgraphics-0.6.0/.github/workflows/vouch-prs.yml 2026-11-01 19:13:52.000000000 +0100 @@ -0,0 +1,41 @@ +name: Vouch MR Check + +on: + pull_request_target: + types: [opened, reopened] + +permissions: + contents: read + pull-requests: write + +jobs: + check-vouch: + runs-on: ubuntu-latest + + steps: + - name: Check out template + uses: actions/checkout@v6 + with: + persist-credentials: false + + - name: Verify central Vouch list + env: + GH_TOKEN: ${{ github.token }} + run: | + gh api \ + "/repos/${{ github.repository_owner }}/.github/contents/vouch/VOUCHED.td?ref=${{ github.event.repository.default_branch }}" \ + >/dev/null + + - name: Enforce central Vouch list + uses: mitchellh/vouch/action/check-pr@v1 + with: + pr-number: ${{ github.event.pull_request.number }} + repo: ${{ github.repository }} + vouched-repo: ${{ github.repository_owner }}/.github + vouched-file: vouch/VOUCHED.td + template-file: .github/vouch_pr_message.md + require-vouch: true + auto-close: true + dry-run: false + env: + GITHUB_TOKEN: ${{ github.token }} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hyprgraphics-0.5.1/.gitignore new/hyprgraphics-0.6.0/.gitignore --- old/hyprgraphics-0.5.1/.gitignore 2026-04-06 01:14:16.000000000 +0200 +++ new/hyprgraphics-0.6.0/.gitignore 2026-11-01 19:13:52.000000000 +0100 @@ -35,6 +35,9 @@ .vscode/ .cache/ +.envrc +.direnv/ + .cmake/ CMakeCache.txt CMakeFiles/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hyprgraphics-0.5.1/CMakeLists.txt new/hyprgraphics-0.6.0/CMakeLists.txt --- old/hyprgraphics-0.5.1/CMakeLists.txt 2026-04-06 01:14:16.000000000 +0200 +++ new/hyprgraphics-0.6.0/CMakeLists.txt 2026-11-01 19:13:52.000000000 +0100 @@ -18,8 +18,6 @@ set(INCLUDE ${CMAKE_INSTALL_FULL_INCLUDEDIR}) set(LIBDIR ${CMAKE_INSTALL_FULL_LIBDIR}) -configure_file(hyprgraphics.pc.in hyprgraphics.pc @ONLY) - set(CMAKE_CXX_STANDARD 26) set(CMAKE_EXPORT_COMPILE_COMMANDS TRUE) # -Wno-missing-braces for clang @@ -93,13 +91,26 @@ add_compile_definitions(HEIF_FOUND) endif() +# Build the pkg-config Requires.private list, only advertising optional deps +# that were actually found and linked, so downstream pkg-config resolution +# does not fail on systems where e.g. libheif / libjxl are absent. +set(HYPRGRAPHICS_PRIVATE_REQUIRES "libdrm pixman-1 libpng libjpeg libwebp librsvg-2.0 libmagic") +if(JXL_FOUND) + string(APPEND HYPRGRAPHICS_PRIVATE_REQUIRES " libjxl libjxl_cms libjxl_threads") +endif() +if(HEIF_FOUND) + string(APPEND HYPRGRAPHICS_PRIVATE_REQUIRES " libheif") +endif() + +configure_file(hyprgraphics.pc.in hyprgraphics.pc @ONLY) + add_library(hyprgraphics SHARED ${SRCFILES}) target_include_directories( hyprgraphics PUBLIC "./include" PRIVATE "./src") set_target_properties(hyprgraphics PROPERTIES VERSION ${HYPRGRAPHICS_VERSION} - SOVERSION 4) + SOVERSION 5) target_link_libraries(hyprgraphics PkgConfig::deps) if(JXL_FOUND) target_link_libraries(hyprgraphics PkgConfig::JXL) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hyprgraphics-0.5.1/VERSION new/hyprgraphics-0.6.0/VERSION --- old/hyprgraphics-0.5.1/VERSION 2026-04-06 01:14:16.000000000 +0200 +++ new/hyprgraphics-0.6.0/VERSION 2026-11-01 19:13:52.000000000 +0100 @@ -1 +1 @@ -0.5.1 +0.6.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hyprgraphics-0.5.1/flake.lock new/hyprgraphics-0.6.0/flake.lock --- old/hyprgraphics-0.5.1/flake.lock 2026-04-06 01:14:16.000000000 +0200 +++ new/hyprgraphics-0.6.0/flake.lock 2026-11-01 19:13:52.000000000 +0100 @@ -10,11 +10,11 @@ ] }, "locked": { - "lastModified": 1772459870, - "narHash": "sha256-xxkK2Cvqxpf/4UGcJ/TyCwrvmiNWsKsJfFzHMp2bxis=", + "lastModified": 1786464080, + "narHash": "sha256-W1hxvumEM57yV+QwsZ4QdAHEqOkr7e4S8VAkLX60qDE=", "owner": "hyprwm", "repo": "hyprutils", - "rev": "e63f3a79334dec49f8eb1691f66f18115df04085", + "rev": "c157fe1e3092b980cc69315a6631f89aff09dcce", "type": "github" }, "original": { @@ -25,11 +25,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1772198003, - "narHash": "sha256-I45esRSssFtJ8p/gLHUZ1OUaaTaVLluNkABkk6arQwE=", + "lastModified": 1786247143, + "narHash": "sha256-8S3Kcxs7D4UtxJxSJZz0m14CGhuW0MxfrIwJxeGWGnQ=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "dd9b079222d43e1943b6ebd802f04fd959dc8e61", + "rev": "279b4a8275f032c566576b3f181fa0f27197f588", "type": "github" }, "original": { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hyprgraphics-0.5.1/hyprgraphics.pc.in new/hyprgraphics-0.6.0/hyprgraphics.pc.in --- old/hyprgraphics-0.5.1/hyprgraphics.pc.in 2026-04-06 01:14:16.000000000 +0200 +++ new/hyprgraphics-0.6.0/hyprgraphics.pc.in 2026-11-01 19:13:52.000000000 +0100 @@ -4,7 +4,9 @@ Name: hyprgraphics URL: https://github.com/hyprwm/hyprgraphics -Description: Hyprland graphics utilities library used across the ecosystem +Description: Hyprland graphics utilities library used across the ecosystem Version: @HYPRGRAPHICS_VERSION@ +Requires: cairo hyprutils pangocairo glesv2 +Requires.private: @HYPRGRAPHICS_PRIVATE_REQUIRES@ Cflags: -I${includedir} Libs: -L${libdir} -lhyprgraphics diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hyprgraphics-0.5.1/include/hyprgraphics/resource/resources/TextResource.hpp new/hyprgraphics-0.6.0/include/hyprgraphics/resource/resources/TextResource.hpp --- old/hyprgraphics-0.5.1/include/hyprgraphics/resource/resources/TextResource.hpp 2026-04-06 01:14:16.000000000 +0200 +++ new/hyprgraphics-0.6.0/include/hyprgraphics/resource/resources/TextResource.hpp 2026-11-01 19:13:52.000000000 +0100 @@ -29,6 +29,8 @@ cairo_hint_style_t hintStyle = CAIRO_HINT_STYLE_SLIGHT; bool ellipsize = false; bool wrap = true; + int weight = 400; + bool italic = false; }; CTextResource(STextResourceData&& data); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hyprgraphics-0.5.1/nix/default.nix new/hyprgraphics-0.6.0/nix/default.nix --- old/hyprgraphics-0.5.1/nix/default.nix 2026-04-06 01:14:16.000000000 +0200 +++ new/hyprgraphics-0.6.0/nix/default.nix 2026-11-01 19:13:52.000000000 +0100 @@ -53,19 +53,22 @@ pkg-config ]; - buildInputs = [ + propagatedBuildInputs = [ cairo - file - hyprutils - libGL + pango libdrm + libGL + ]; + + buildInputs = [ + file libheif libjpeg libjxl librsvg libspng libwebp - pango + hyprutils pixman ]; @@ -74,6 +77,8 @@ "dev" ]; + strictDeps = true; + cmakeBuildType = if debug then "Debug" else "RelWithDebInfo"; meta = with lib; { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hyprgraphics-0.5.1/nix/overlays.nix new/hyprgraphics-0.6.0/nix/overlays.nix --- old/hyprgraphics-0.5.1/nix/overlays.nix 2026-04-06 01:14:16.000000000 +0200 +++ new/hyprgraphics-0.6.0/nix/overlays.nix 2026-11-01 19:13:52.000000000 +0100 @@ -26,7 +26,7 @@ hyprgraphics = final: prev: { hyprgraphics = final.callPackage ./default.nix { - stdenv = final.gcc15Stdenv; + stdenv = final.gcc16Stdenv; version = version + "+date=" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hyprgraphics-0.5.1/src/egl/Egl.cpp new/hyprgraphics-0.6.0/src/egl/Egl.cpp --- old/hyprgraphics-0.5.1/src/egl/Egl.cpp 2026-04-06 01:14:16.000000000 +0200 +++ new/hyprgraphics-0.6.0/src/egl/Egl.cpp 2026-11-01 19:13:52.000000000 +0100 @@ -151,6 +151,26 @@ .swizzle = {SWIZZLE_BGRA}, }, { + .drmFormat = DRM_FORMAT_XRGB16161616F, + .glInternalFormat = GL_RGBA16F, + .glFormat = GL_RGBA, + .glType = GL_HALF_FLOAT, + .withAlpha = false, + .alphaStripped = DRM_FORMAT_XRGB16161616F, + .bytesPerBlock = 8, + .swizzle = {SWIZZLE_BGR1}, + }, + { + .drmFormat = DRM_FORMAT_ARGB16161616F, + .glInternalFormat = GL_RGBA16F, + .glFormat = GL_RGBA, + .glType = GL_HALF_FLOAT, + .withAlpha = true, + .alphaStripped = DRM_FORMAT_XRGB16161616F, + .bytesPerBlock = 8, + .swizzle = {SWIZZLE_BGRA}, + }, + { .drmFormat = DRM_FORMAT_XBGR16161616F, .glInternalFormat = GL_RGBA16F, .glFormat = GL_RGBA, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hyprgraphics-0.5.1/src/image/formats/Svg.hpp new/hyprgraphics-0.6.0/src/image/formats/Svg.hpp --- old/hyprgraphics-0.5.1/src/image/formats/Svg.hpp 2026-04-06 01:14:16.000000000 +0200 +++ new/hyprgraphics-0.6.0/src/image/formats/Svg.hpp 2026-11-01 19:13:52.000000000 +0100 @@ -1,5 +1,6 @@ #pragma once +#include <cstdint> #include <cairo/cairo.h> #include <string> #include <expected> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hyprgraphics-0.5.1/src/resource/resources/TextResource.cpp new/hyprgraphics-0.6.0/src/resource/resources/TextResource.cpp --- old/hyprgraphics-0.5.1/src/resource/resources/TextResource.cpp 2026-04-06 01:14:16.000000000 +0200 +++ new/hyprgraphics-0.6.0/src/resource/resources/TextResource.cpp 2026-11-01 19:13:52.000000000 +0100 @@ -20,6 +20,8 @@ PangoFontDescription* fontDesc = pango_font_description_from_string(m_data.font.c_str()); pango_font_description_set_size(fontDesc, m_data.fontSize * PANGO_SCALE); + pango_font_description_set_weight(fontDesc, static_cast<PangoWeight>(m_data.weight)); + pango_font_description_set_style(fontDesc, m_data.italic ? PANGO_STYLE_ITALIC : PANGO_STYLE_NORMAL); pango_layout_set_font_description(layout, fontDesc); pango_font_description_free(fontDesc);
