Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] librsvg: update to 2.59.1.
@ 2024-10-04 18:35 icp1994
  2024-10-04 18:49 ` icp1994
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: icp1994 @ 2024-10-04 18:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 564 bytes --]

There is a new pull request by icp1994 against master on the void-packages repository

https://github.com/icp1994/void-packages librsvg
https://github.com/void-linux/void-packages/pull/52498

librsvg: update to 2.59.1.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture: **x86_64**

I am not sure if this warrants rebuilding revdeps, hopefully someone can opine on that.

A patch file from https://github.com/void-linux/void-packages/pull/52498.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-librsvg-52498.patch --]
[-- Type: text/x-diff, Size: 1759 bytes --]

From b957be134adad876a5c8775d1d65387b4d3d790c Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sun, 29 Sep 2024 14:04:25 +0530
Subject: [PATCH] librsvg: update to 2.59.1.

---
 srcpkgs/librsvg/template | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/librsvg/template b/srcpkgs/librsvg/template
index d16ad10f5527e4..18d6de7e495d45 100644
--- a/srcpkgs/librsvg/template
+++ b/srcpkgs/librsvg/template
@@ -1,21 +1,20 @@
 # Template file for 'librsvg'
 pkgname=librsvg
-version=2.58.3
+version=2.59.1
 revision=1
-build_style=gnu-configure
+build_style=meson
 build_helper="gir rust"
-configure_args="--disable-static --enable-introspection --enable-vala"
-hostmakedepends="cargo pkg-config glib-devel gdk-pixbuf-devel
+hostmakedepends="cargo cargo-c pkg-config glib-devel gdk-pixbuf-devel
  gi-docgen python3-docutils vala"
 makedepends="cairo-devel freetype-devel gdk-pixbuf-devel libcroco-devel
- libglib-devel libxml2-devel pango-devel vala-devel rust-std"
+ libglib-devel libxml2-devel pango-devel vala-devel libdav1d-devel rust-std"
 short_desc="SVG library for GNOME"
 maintainer="Érico Nogueira <ericonr@disroot.org>"
 license="LGPL-2.1-or-later"
 homepage="https://gitlab.gnome.org/GNOME/librsvg"
-changelog="https://gitlab.gnome.org/GNOME/librsvg/-/raw/librsvg-${version%.*}/NEWS"
+changelog="https://gitlab.gnome.org/GNOME/librsvg/-/raw/main/NEWS"
 distfiles="${GNOME_SITE}/librsvg/${version%.*}/librsvg-${version}.tar.xz"
-checksum=49f29a0a92f4c2d19a2cb41e96ab2fce7eb5bde41850c8a914fcf655e3110944
+checksum=6116267c7ddabfd4daaf1c341326da0a773139a7223e885ae40ee09bd6986ef6
 
 # reference files are for specific pango and harfbuzz versions
 # the test suite isn't designed to be run by distros

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: librsvg: update to 2.59.1.
  2024-10-04 18:35 [PR PATCH] librsvg: update to 2.59.1 icp1994
@ 2024-10-04 18:49 ` icp1994
  2024-10-10 19:44 ` chrysos349
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: icp1994 @ 2024-10-04 18:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 227 bytes --]

New comment by icp1994 on void-packages repository

https://github.com/void-linux/void-packages/pull/52498#issuecomment-2394369735

Comment:
If I'm reading the logs right, `/usr/bin/cargo` is not available in cross :thinking: 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: librsvg: update to 2.59.1.
  2024-10-04 18:35 [PR PATCH] librsvg: update to 2.59.1 icp1994
  2024-10-04 18:49 ` icp1994
@ 2024-10-10 19:44 ` chrysos349
  2024-10-11  7:01 ` [PR PATCH] [Updated] " icp1994
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: chrysos349 @ 2024-10-10 19:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

New comment by chrysos349 on void-packages repository

https://github.com/void-linux/void-packages/pull/52498#issuecomment-2405905230

Comment:
fix cross
```sh
if [ "$CROSS_BUILD" ]; then
	XBPS_CROSS_RUSTFLAGS+=" -L${XBPS_BUILDDIR}/${pkgname}-${version}/build/rsvg"
	configure_args="-Dtriplet=${XBPS_CROSS_RUST_TARGET}"
	post_patch() {
		vsed -i meson.build -e "s/not meson.is_cross_build() and //"
	}
fi
```

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR PATCH] [Updated] librsvg: update to 2.59.1.
  2024-10-04 18:35 [PR PATCH] librsvg: update to 2.59.1 icp1994
  2024-10-04 18:49 ` icp1994
  2024-10-10 19:44 ` chrysos349
@ 2024-10-11  7:01 ` icp1994
  2024-10-11  7:11 ` icp1994
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: icp1994 @ 2024-10-11  7:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 569 bytes --]

There is an updated pull request by icp1994 against master on the void-packages repository

https://github.com/icp1994/void-packages librsvg
https://github.com/void-linux/void-packages/pull/52498

librsvg: update to 2.59.1.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture: **x86_64**

I am not sure if this warrants rebuilding revdeps, hopefully someone can opine on that.

A patch file from https://github.com/void-linux/void-packages/pull/52498.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-librsvg-52498.patch --]
[-- Type: text/x-diff, Size: 2234 bytes --]

From afaebc6ef98336fd44d11e12531f91cbac8a05e1 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sun, 29 Sep 2024 14:04:25 +0530
Subject: [PATCH] librsvg: update to 2.59.1.

---
 srcpkgs/librsvg/template | 26 +++++++++++++++++++-------
 1 file changed, 19 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/librsvg/template b/srcpkgs/librsvg/template
index d16ad10f5527e4..8f75e02841d3d8 100644
--- a/srcpkgs/librsvg/template
+++ b/srcpkgs/librsvg/template
@@ -1,26 +1,38 @@
 # Template file for 'librsvg'
 pkgname=librsvg
-version=2.58.3
+version=2.59.1
 revision=1
-build_style=gnu-configure
+build_style=meson
 build_helper="gir rust"
-configure_args="--disable-static --enable-introspection --enable-vala"
-hostmakedepends="cargo pkg-config glib-devel gdk-pixbuf-devel
+hostmakedepends="cargo cargo-c pkg-config glib-devel gdk-pixbuf-devel
  gi-docgen python3-docutils vala"
 makedepends="cairo-devel freetype-devel gdk-pixbuf-devel libcroco-devel
- libglib-devel libxml2-devel pango-devel vala-devel rust-std"
+ libglib-devel libxml2-devel pango-devel vala-devel libdav1d-devel rust-std"
 short_desc="SVG library for GNOME"
 maintainer="Érico Nogueira <ericonr@disroot.org>"
 license="LGPL-2.1-or-later"
 homepage="https://gitlab.gnome.org/GNOME/librsvg"
-changelog="https://gitlab.gnome.org/GNOME/librsvg/-/raw/librsvg-${version%.*}/NEWS"
+changelog="https://gitlab.gnome.org/GNOME/librsvg/-/raw/main/NEWS"
 distfiles="${GNOME_SITE}/librsvg/${version%.*}/librsvg-${version}.tar.xz"
-checksum=49f29a0a92f4c2d19a2cb41e96ab2fce7eb5bde41850c8a914fcf655e3110944
+checksum=6116267c7ddabfd4daaf1c341326da0a773139a7223e885ae40ee09bd6986ef6
 
 # reference files are for specific pango and harfbuzz versions
 # the test suite isn't designed to be run by distros
 make_check=no
 
+post_patch() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i meson.build -e "/not meson.is_cross_build() and /d"
+	fi
+}
+
+pre_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		XBPS_CROSS_RUSTFLAGS+=" -L${wrksrc}/build/rsvg"
+		configure_args+=" -Dtriplet=${XBPS_CROSS_RUST_TARGET}"
+	fi
+}
+
 librsvg-devel_package() {
 	depends="gdk-pixbuf-devel cairo-devel libcroco-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR PATCH] [Updated] librsvg: update to 2.59.1.
  2024-10-04 18:35 [PR PATCH] librsvg: update to 2.59.1 icp1994
                   ` (2 preceding siblings ...)
  2024-10-11  7:01 ` [PR PATCH] [Updated] " icp1994
@ 2024-10-11  7:11 ` icp1994
  2024-10-11  7:29 ` icp1994
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: icp1994 @ 2024-10-11  7:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 569 bytes --]

There is an updated pull request by icp1994 against master on the void-packages repository

https://github.com/icp1994/void-packages librsvg
https://github.com/void-linux/void-packages/pull/52498

librsvg: update to 2.59.1.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture: **x86_64**

I am not sure if this warrants rebuilding revdeps, hopefully someone can opine on that.

A patch file from https://github.com/void-linux/void-packages/pull/52498.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-librsvg-52498.patch --]
[-- Type: text/x-diff, Size: 2234 bytes --]

From b12ceccb09697e4fa492403d8881691345e5973b Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sun, 29 Sep 2024 14:04:25 +0530
Subject: [PATCH] librsvg: update to 2.59.1.

---
 srcpkgs/librsvg/template | 24 +++++++++++++++++-------
 1 file changed, 17 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/librsvg/template b/srcpkgs/librsvg/template
index d16ad10f5527e4..666854e08c5855 100644
--- a/srcpkgs/librsvg/template
+++ b/srcpkgs/librsvg/template
@@ -1,26 +1,36 @@
 # Template file for 'librsvg'
 pkgname=librsvg
-version=2.58.3
+version=2.59.1
 revision=1
-build_style=gnu-configure
+build_style=meson
 build_helper="gir rust"
-configure_args="--disable-static --enable-introspection --enable-vala"
-hostmakedepends="cargo pkg-config glib-devel gdk-pixbuf-devel
+hostmakedepends="cargo cargo-c pkg-config glib-devel gdk-pixbuf-devel
  gi-docgen python3-docutils vala"
 makedepends="cairo-devel freetype-devel gdk-pixbuf-devel libcroco-devel
- libglib-devel libxml2-devel pango-devel vala-devel rust-std"
+ libglib-devel libxml2-devel pango-devel vala-devel libdav1d-devel rust-std"
 short_desc="SVG library for GNOME"
 maintainer="Érico Nogueira <ericonr@disroot.org>"
 license="LGPL-2.1-or-later"
 homepage="https://gitlab.gnome.org/GNOME/librsvg"
-changelog="https://gitlab.gnome.org/GNOME/librsvg/-/raw/librsvg-${version%.*}/NEWS"
+changelog="https://gitlab.gnome.org/GNOME/librsvg/-/raw/main/NEWS"
 distfiles="${GNOME_SITE}/librsvg/${version%.*}/librsvg-${version}.tar.xz"
-checksum=49f29a0a92f4c2d19a2cb41e96ab2fce7eb5bde41850c8a914fcf655e3110944
+checksum=6116267c7ddabfd4daaf1c341326da0a773139a7223e885ae40ee09bd6986ef6
 
 # reference files are for specific pango and harfbuzz versions
 # the test suite isn't designed to be run by distros
 make_check=no
 
+post_patch() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i meson.build -e "s/not meson.is_cross_build() and //"
+	fi
+}
+
+if [ "$CROSS_BUILD" ]; then
+	XBPS_CROSS_RUSTFLAGS+=" -L${XBPS_BUILDDIR}/${pkgname}-${version}/build/rsvg"
+	configure_args="-Dtriplet=${XBPS_CROSS_RUST_TARGET}"
+fi
+
 librsvg-devel_package() {
 	depends="gdk-pixbuf-devel cairo-devel libcroco-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: librsvg: update to 2.59.1.
  2024-10-04 18:35 [PR PATCH] librsvg: update to 2.59.1 icp1994
                   ` (3 preceding siblings ...)
  2024-10-11  7:11 ` icp1994
@ 2024-10-11  7:29 ` icp1994
  2024-10-13  8:29 ` [PR PATCH] [Closed]: " classabbyamp
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: icp1994 @ 2024-10-11  7:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 162 bytes --]

New comment by icp1994 on void-packages repository

https://github.com/void-linux/void-packages/pull/52498#issuecomment-2406722248

Comment:
Thanks, that worked.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR PATCH] [Closed]: librsvg: update to 2.59.1.
  2024-10-04 18:35 [PR PATCH] librsvg: update to 2.59.1 icp1994
                   ` (4 preceding siblings ...)
  2024-10-11  7:29 ` icp1994
@ 2024-10-13  8:29 ` classabbyamp
  2024-10-13  9:59 ` classabbyamp
  2024-10-13 12:20 ` classabbyamp
  7 siblings, 0 replies; 9+ messages in thread
From: classabbyamp @ 2024-10-13  8:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 413 bytes --]

There's a closed pull request on the void-packages repository

librsvg: update to 2.59.1.
https://github.com/void-linux/void-packages/pull/52498

Description:
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture: **x86_64**

I am not sure if this warrants rebuilding revdeps, hopefully someone can opine on that.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: librsvg: update to 2.59.1.
  2024-10-04 18:35 [PR PATCH] librsvg: update to 2.59.1 icp1994
                   ` (5 preceding siblings ...)
  2024-10-13  8:29 ` [PR PATCH] [Closed]: " classabbyamp
@ 2024-10-13  9:59 ` classabbyamp
  2024-10-13 12:20 ` classabbyamp
  7 siblings, 0 replies; 9+ messages in thread
From: classabbyamp @ 2024-10-13  9:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 205 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/52498#issuecomment-2408910474

Comment:
missing dependency: 7e715df772d, caused build fails in ART

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: librsvg: update to 2.59.1.
  2024-10-04 18:35 [PR PATCH] librsvg: update to 2.59.1 icp1994
                   ` (6 preceding siblings ...)
  2024-10-13  9:59 ` classabbyamp
@ 2024-10-13 12:20 ` classabbyamp
  7 siblings, 0 replies; 9+ messages in thread
From: classabbyamp @ 2024-10-13 12:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 239 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/52498#issuecomment-2408958184

Comment:
also, it seems the pkgconfig file is missing cflags on cross. this broke ART and appstream. 

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-10-13 12:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-04 18:35 [PR PATCH] librsvg: update to 2.59.1 icp1994
2024-10-04 18:49 ` icp1994
2024-10-10 19:44 ` chrysos349
2024-10-11  7:01 ` [PR PATCH] [Updated] " icp1994
2024-10-11  7:11 ` icp1994
2024-10-11  7:29 ` icp1994
2024-10-13  8:29 ` [PR PATCH] [Closed]: " classabbyamp
2024-10-13  9:59 ` classabbyamp
2024-10-13 12:20 ` classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).