Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] librsvg: update to 2.55.1.
@ 2023-03-06 19:47 icp1994
  2023-06-05  2:04 ` github-actions
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: icp1994 @ 2023-03-06 19:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 477 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/42629

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

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

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

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

From 92aedd6b35004715fa6847d654ebc33a395b5403 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Mon, 6 Mar 2023 13:54:33 +0530
Subject: [PATCH] librsvg: update to 2.55.1.

---
 srcpkgs/librsvg/template | 36 +++++++++++++++++-------------------
 srcpkgs/librsvg/update   |  2 ++
 2 files changed, 19 insertions(+), 19 deletions(-)
 create mode 100644 srcpkgs/librsvg/update

diff --git a/srcpkgs/librsvg/template b/srcpkgs/librsvg/template
index cf46ef5d91b7..27606a530f75 100644
--- a/srcpkgs/librsvg/template
+++ b/srcpkgs/librsvg/template
@@ -1,36 +1,31 @@
 # Template file for 'librsvg'
 pkgname=librsvg
-version=2.52.2
+version=2.55.1
 revision=1
 build_style=gnu-configure
-build_helper="gir"
+build_helper="gir rust"
 configure_args="--disable-static --enable-introspection --enable-vala"
-hostmakedepends="cargo pkg-config glib-devel gdk-pixbuf-devel vala"
+hostmakedepends="cargo pkg-config glib-devel gdk-pixbuf-devel
+ gi-docgen python3-docutils"
 makedepends="cairo-devel freetype-devel gdk-pixbuf-devel libcroco-devel
- libglib-devel libxml2-devel pango-devel rust vala"
+ libglib-devel libxml2-devel pango-devel vala-devel"
 short_desc="SVG library for GNOME"
 maintainer="Érico Nogueira <ericonr@disroot.org>"
-license="GPL-2.0-or-later, LGPL-2.0-or-later"
+license="LGPL-2.1-or-later"
 homepage="https://wiki.gnome.org/Projects/LibRsvg"
 # update changelog when release series changes
-changelog="https://gitlab.gnome.org/GNOME/librsvg/-/raw/librsvg-2.50/NEWS"
-distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
-checksum=03d2887c18ffb906e1a60f97fe46a7169f69aa28d6db5d285748f3618b093427
+changelog="https://gitlab.gnome.org/GNOME/librsvg/-/raw/librsvg-2.55/NEWS"
+distfiles="${GNOME_SITE}/librsvg/${version%.*}/librsvg-${version}.tar.xz"
+checksum=6baf48a9d3a56fd13bbfbb9f1f76759b240b70a1fa220fd238474d66a926f98c
 
 # reference files are for specific pango and harfbuzz versions
 # the test suite isn't designed to be run by distros
 make_check=no
 
-pre_configure() {
-	# otherwise the final linking step uses "cc" instead of $CC
-	if [ "$CROSS_BUILD" ]; then
-		cat >> .cargo/config <<- EOF
-
-		[target.${RUST_TARGET}]
-		linker = "${CC}"
-		EOF
-	fi
-}
+if [ "$CROSS_BUILD" ]; then
+	hostmakedepends+=" vala"
+	makedepends+=" rust-std"
+fi
 
 librsvg-devel_package() {
 	depends="gdk-pixbuf-devel cairo-devel libcroco-devel ${sourcepkg}>=${version}_${revision}"
@@ -39,11 +34,14 @@ librsvg-devel_package() {
 		vmove usr/include
 		vmove usr/lib/pkgconfig
 		vmove "usr/lib/*.so"
-		vmove usr/share/gtk-doc
 		vmove usr/share/gir-1.0
 		vmove usr/share/vala
+
+		vmkdir usr/share/gtk-doc/html
+		mv ${DESTDIR}/usr/share/doc/Rsvg-2.0 ${PKGDESTDIR}/usr/share/gtk-doc/html/
 	}
 }
+
 librsvg-utils_package() {
 	short_desc+=" - utilities"
 	pkg_install() {
diff --git a/srcpkgs/librsvg/update b/srcpkgs/librsvg/update
new file mode 100644
index 000000000000..a8b303385110
--- /dev/null
+++ b/srcpkgs/librsvg/update
@@ -0,0 +1,2 @@
+site="https://gitlab.gnome.org/GNOME/librsvg/-/tags"
+pattern=">\K[\d.]+(?= - stable<)"

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

* Re: librsvg: update to 2.55.1.
  2023-03-06 19:47 [PR PATCH] librsvg: update to 2.55.1 icp1994
@ 2023-06-05  2:04 ` github-actions
  2023-06-07 18:02 ` [PR PATCH] [Updated] " icp1994
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: github-actions @ 2023-06-05  2:04 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/42629#issuecomment-1575930642

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

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

* Re: [PR PATCH] [Updated] librsvg: update to 2.55.1.
  2023-03-06 19:47 [PR PATCH] librsvg: update to 2.55.1 icp1994
  2023-06-05  2:04 ` github-actions
@ 2023-06-07 18:02 ` icp1994
  2023-06-09  8:03 ` librsvg: update to 2.56.1 fanyx
  2023-06-24 14:47 ` [PR PATCH] [Merged]: " Duncaen
  3 siblings, 0 replies; 5+ messages in thread
From: icp1994 @ 2023-06-07 18:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 482 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/42629

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

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

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

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

From e45bf569fb753486f8ae9322e1cfa7259df89513 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Mon, 6 Mar 2023 13:54:33 +0530
Subject: [PATCH] librsvg: update to 2.56.1.

---
 srcpkgs/librsvg/template | 38 ++++++++++++++++++--------------------
 srcpkgs/librsvg/update   |  2 ++
 2 files changed, 20 insertions(+), 20 deletions(-)
 create mode 100644 srcpkgs/librsvg/update

diff --git a/srcpkgs/librsvg/template b/srcpkgs/librsvg/template
index 83aec008a129..a70f0061afa3 100644
--- a/srcpkgs/librsvg/template
+++ b/srcpkgs/librsvg/template
@@ -1,36 +1,31 @@
 # Template file for 'librsvg'
 pkgname=librsvg
-version=2.52.2
-revision=2
+version=2.56.1
+revision=1
 build_style=gnu-configure
-build_helper="gir"
+build_helper="gir rust"
 configure_args="--disable-static --enable-introspection --enable-vala"
-hostmakedepends="cargo pkg-config glib-devel gdk-pixbuf-devel vala"
+hostmakedepends="cargo pkg-config glib-devel gdk-pixbuf-devel
+ gi-docgen python3-docutils"
 makedepends="cairo-devel freetype-devel gdk-pixbuf-devel libcroco-devel
- libglib-devel libxml2-devel pango-devel rust vala"
+ libglib-devel libxml2-devel pango-devel vala-devel"
 short_desc="SVG library for GNOME"
 maintainer="Érico Nogueira <ericonr@disroot.org>"
-license="GPL-2.0-or-later, LGPL-2.0-or-later"
+license="LGPL-2.1-or-later"
 homepage="https://wiki.gnome.org/Projects/LibRsvg"
 # update changelog when release series changes
-changelog="https://gitlab.gnome.org/GNOME/librsvg/-/raw/librsvg-2.50/NEWS"
-distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
-checksum=03d2887c18ffb906e1a60f97fe46a7169f69aa28d6db5d285748f3618b093427
+changelog="https://gitlab.gnome.org/GNOME/librsvg/-/raw/librsvg-2.55/NEWS"
+distfiles="${GNOME_SITE}/librsvg/${version%.*}/librsvg-${version}.tar.xz"
+checksum=1685aeacae9a441dcb12c0c3ec63706172a2f52705dafbefb8e7311d4d5e430b
 
 # reference files are for specific pango and harfbuzz versions
 # the test suite isn't designed to be run by distros
 make_check=no
 
-pre_configure() {
-	# otherwise the final linking step uses "cc" instead of $CC
-	if [ "$CROSS_BUILD" ]; then
-		cat >> .cargo/config <<- EOF
-
-		[target.${RUST_TARGET}]
-		linker = "${CC}"
-		EOF
-	fi
-}
+if [ "$CROSS_BUILD" ]; then
+	hostmakedepends+=" vala"
+	makedepends+=" rust-std"
+fi
 
 librsvg-devel_package() {
 	depends="gdk-pixbuf-devel cairo-devel libcroco-devel ${sourcepkg}>=${version}_${revision}"
@@ -39,11 +34,14 @@ librsvg-devel_package() {
 		vmove usr/include
 		vmove usr/lib/pkgconfig
 		vmove "usr/lib/*.so"
-		vmove usr/share/gtk-doc
 		vmove usr/share/gir-1.0
 		vmove usr/share/vala
+
+		vmkdir usr/share/gtk-doc/html
+		mv ${DESTDIR}/usr/share/doc/Rsvg-2.0 ${PKGDESTDIR}/usr/share/gtk-doc/html/
 	}
 }
+
 librsvg-utils_package() {
 	short_desc+=" - utilities"
 	pkg_install() {
diff --git a/srcpkgs/librsvg/update b/srcpkgs/librsvg/update
new file mode 100644
index 000000000000..a8b303385110
--- /dev/null
+++ b/srcpkgs/librsvg/update
@@ -0,0 +1,2 @@
+site="https://gitlab.gnome.org/GNOME/librsvg/-/tags"
+pattern=">\K[\d.]+(?= - stable<)"

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

* Re: librsvg: update to 2.56.1.
  2023-03-06 19:47 [PR PATCH] librsvg: update to 2.55.1 icp1994
  2023-06-05  2:04 ` github-actions
  2023-06-07 18:02 ` [PR PATCH] [Updated] " icp1994
@ 2023-06-09  8:03 ` fanyx
  2023-06-24 14:47 ` [PR PATCH] [Merged]: " Duncaen
  3 siblings, 0 replies; 5+ messages in thread
From: fanyx @ 2023-06-09  8:03 UTC (permalink / raw)
  To: ml

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

New comment by fanyx on void-packages repository

https://github.com/void-linux/void-packages/pull/42629#issuecomment-1584147883

Comment:
works for me
needed for #41807 

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

* Re: [PR PATCH] [Merged]: librsvg: update to 2.56.1.
  2023-03-06 19:47 [PR PATCH] librsvg: update to 2.55.1 icp1994
                   ` (2 preceding siblings ...)
  2023-06-09  8:03 ` librsvg: update to 2.56.1 fanyx
@ 2023-06-24 14:47 ` Duncaen
  3 siblings, 0 replies; 5+ messages in thread
From: Duncaen @ 2023-06-24 14:47 UTC (permalink / raw)
  To: ml

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

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

librsvg: update to 2.56.1.
https://github.com/void-linux/void-packages/pull/42629

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

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

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

end of thread, other threads:[~2023-06-24 14:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-06 19:47 [PR PATCH] librsvg: update to 2.55.1 icp1994
2023-06-05  2:04 ` github-actions
2023-06-07 18:02 ` [PR PATCH] [Updated] " icp1994
2023-06-09  8:03 ` librsvg: update to 2.56.1 fanyx
2023-06-24 14:47 ` [PR PATCH] [Merged]: " Duncaen

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).