Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] inkscape: update to 1.3
@ 2023-07-26 10:37 hervyqa
  2023-07-26 13:03 ` [PR PATCH] [Updated] " hervyqa
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: hervyqa @ 2023-07-26 10:37 UTC (permalink / raw)
  To: ml

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

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

https://github.com/hervyqa/void-packages inkscape
https://github.com/void-linux/void-packages/pull/45261

inkscape: update to 1.3
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### 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/45261.patch is attached

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

From 0920cdd05ff82d84d3ead11f3fa1717b0b7b31b5 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 26 Jul 2023 17:31:00 +0700
Subject: [PATCH] inkscape: update to 1.3

---
 srcpkgs/inkscape/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/inkscape/template b/srcpkgs/inkscape/template
index aa1ab218a442c..55092cf48888a 100644
--- a/srcpkgs/inkscape/template
+++ b/srcpkgs/inkscape/template
@@ -1,6 +1,6 @@
 # Template file for 'inkscape'
 pkgname=inkscape
-version=1.2.2
+version=1.3
 revision=1
 build_style=cmake
 # builds executables then runs checks
@@ -21,7 +21,7 @@ maintainer="Alex Lohr <alex.lohr@logmein.com>"
 license="GPL-2.0-only, LGPL-2.1-or-later"
 homepage="http://inkscape.org/"
 distfiles="https://media.inkscape.org/dl/resources/file/inkscape-${version}.tar.xz"
-checksum=a0c7fd0d03c0a21535e648ef301dcf80dd7cfc1f3545e51065fbf1ba3ee8a5c4
+checksum=bf4f286b025e0169b8948cc14d5199a9b4c204d761c894c4b48496571ec76307
 python_version=3
 
 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then

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

* Re: [PR PATCH] [Updated] inkscape: update to 1.3
  2023-07-26 10:37 [PR PATCH] inkscape: update to 1.3 hervyqa
@ 2023-07-26 13:03 ` hervyqa
  2023-07-26 13:19 ` hervyqa
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: hervyqa @ 2023-07-26 13:03 UTC (permalink / raw)
  To: ml

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

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

https://github.com/hervyqa/void-packages inkscape
https://github.com/void-linux/void-packages/pull/45261

inkscape: update to 1.3
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### 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/45261.patch is attached

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

From f27d1f910ef7f655f3211b202029a2f849fcd3d4 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 26 Jul 2023 20:03:10 +0700
Subject: [PATCH 1/2] New package: lib2geom-1.3

---
 srcpkgs/lib2geom-devel    |  1 +
 srcpkgs/lib2geom/template | 24 ++++++++++++++++++++++++
 2 files changed, 25 insertions(+)
 create mode 120000 srcpkgs/lib2geom-devel
 create mode 100644 srcpkgs/lib2geom/template

diff --git a/srcpkgs/lib2geom-devel b/srcpkgs/lib2geom-devel
new file mode 120000
index 0000000000000..8b9f3683b4e3a
--- /dev/null
+++ b/srcpkgs/lib2geom-devel
@@ -0,0 +1 @@
+lib2geom/
\ No newline at end of file
diff --git a/srcpkgs/lib2geom/template b/srcpkgs/lib2geom/template
new file mode 100644
index 0000000000000..b4106fe0d09d2
--- /dev/null
+++ b/srcpkgs/lib2geom/template
@@ -0,0 +1,24 @@
+# Template file for 'lib2geom'
+pkgname=lib2geom
+version=1.3
+revision=1
+build_style=cmake
+hostmakedepends="pkg-config python3-Cython ragel samurai"
+makedepends="boost-devel double-conversion-devel cairo-devel gtk+3-devel gsl-devel"
+checkdepends="gtest-devel"
+short_desc="Easy to use 2D geometry library for c++"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-or-later, MPL-1.1"
+homepage="https://gitlab.com/inkscape/lib2geom"
+distfiles="https://gitlab.com/inkscape/lib2geom/-/archive/${version}/lib2geom-${version}.tar.bz2"
+checksum=bd07f2a1322fcad16a55a1901207faa55dffdecebc56a00eabd4575f62e043c9
+
+lib2geom-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}-${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+	}
+}

From f84a8850066531edccdbc5db86a56c636987f2a2 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 26 Jul 2023 20:03:26 +0700
Subject: [PATCH 2/2] inkscape: update to 1.3

---
 srcpkgs/inkscape/template | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/inkscape/template b/srcpkgs/inkscape/template
index aa1ab218a442c..388f2c1c5a111 100644
--- a/srcpkgs/inkscape/template
+++ b/srcpkgs/inkscape/template
@@ -1,29 +1,34 @@
 # Template file for 'inkscape'
 pkgname=inkscape
-version=1.2.2
+version=1.3
 revision=1
 build_style=cmake
 # builds executables then runs checks
 # some tests still fail on musl: https://gitlab.com/inkscape/inkscape/-/issues/2241
 make_check_target=check
 hostmakedepends="automake gettext glib-devel intltool libmagick-devel libtool
- perl-XML-Parser pkg-config which"
+ libgraphicsmagick-devel perl-XML-Parser pkg-config which python3-Cython ragel"
 makedepends="aspell-devel cairomm-devel double-conversion-devel gc-devel
  gdl-devel gsl-devel gspell-devel gtkmm-devel gtkspell3-devel harfbuzz-devel
  hunspell-devel libatomic_ops-devel libcdr-devel libgomp-devel libsoup-devel
  libvisio-devel libwpd-devel libwpd-devel libwpg-devel libxslt-devel pango-devel
- poppler-devel poppler-glib-devel potrace-devel"
+ poppler-devel poppler-glib-devel potrace-devel gtest-devel gtksourceview4-devel
+ lib2geom-devel popt-devel readline-devel"
 depends="desktop-file-utils hicolor-icon-theme python3-Pillow python3-appdirs
  python3-cssselect python3-lxml python3-numpy python3-requests python3-scour"
-checkdepends="$depends ImageMagick cantarell-fonts gtest-devel"
+checkdepends="$depends GraphicsMagick ImageMagick cantarell-fonts gtest-devel"
 short_desc="Vector-based drawing program"
 maintainer="Alex Lohr <alex.lohr@logmein.com>"
 license="GPL-2.0-only, LGPL-2.1-or-later"
 homepage="http://inkscape.org/"
 distfiles="https://media.inkscape.org/dl/resources/file/inkscape-${version}.tar.xz"
-checksum=a0c7fd0d03c0a21535e648ef301dcf80dd7cfc1f3545e51065fbf1ba3ee8a5c4
+checksum=bf4f286b025e0169b8948cc14d5199a9b4c204d761c894c4b48496571ec76307
 python_version=3
 
+if [ -z "$XBPS_CHECK_PKGS" ]; then
+	configure_args+=" -DBUILD_TESTING=OFF"
+fi
+
 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 	makedepends+=" libatomic-devel"
 fi

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

* Re: [PR PATCH] [Updated] inkscape: update to 1.3
  2023-07-26 10:37 [PR PATCH] inkscape: update to 1.3 hervyqa
  2023-07-26 13:03 ` [PR PATCH] [Updated] " hervyqa
@ 2023-07-26 13:19 ` hervyqa
  2023-07-26 13:27 ` hervyqa
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: hervyqa @ 2023-07-26 13:19 UTC (permalink / raw)
  To: ml

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

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

https://github.com/hervyqa/void-packages inkscape
https://github.com/void-linux/void-packages/pull/45261

inkscape: update to 1.3
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### 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/45261.patch is attached

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

From 91d8bed549cf049274a98f36d2a45db90fa13919 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 26 Jul 2023 20:18:37 +0700
Subject: [PATCH 1/2] New package: lib2geom-1.3

---
 srcpkgs/lib2geom-devel    |  1 +
 srcpkgs/lib2geom/template | 24 ++++++++++++++++++++++++
 2 files changed, 25 insertions(+)
 create mode 120000 srcpkgs/lib2geom-devel
 create mode 100644 srcpkgs/lib2geom/template

diff --git a/srcpkgs/lib2geom-devel b/srcpkgs/lib2geom-devel
new file mode 120000
index 0000000000000..41abdb3cf7010
--- /dev/null
+++ b/srcpkgs/lib2geom-devel
@@ -0,0 +1 @@
+lib2geom
\ No newline at end of file
diff --git a/srcpkgs/lib2geom/template b/srcpkgs/lib2geom/template
new file mode 100644
index 0000000000000..b4106fe0d09d2
--- /dev/null
+++ b/srcpkgs/lib2geom/template
@@ -0,0 +1,24 @@
+# Template file for 'lib2geom'
+pkgname=lib2geom
+version=1.3
+revision=1
+build_style=cmake
+hostmakedepends="pkg-config python3-Cython ragel samurai"
+makedepends="boost-devel double-conversion-devel cairo-devel gtk+3-devel gsl-devel"
+checkdepends="gtest-devel"
+short_desc="Easy to use 2D geometry library for c++"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-or-later, MPL-1.1"
+homepage="https://gitlab.com/inkscape/lib2geom"
+distfiles="https://gitlab.com/inkscape/lib2geom/-/archive/${version}/lib2geom-${version}.tar.bz2"
+checksum=bd07f2a1322fcad16a55a1901207faa55dffdecebc56a00eabd4575f62e043c9
+
+lib2geom-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}-${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+	}
+}

From df4e980fdd8775b67d4912ced487fab166bc51e0 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 26 Jul 2023 20:18:52 +0700
Subject: [PATCH 2/2] inkscape: update to 1.3

---
 srcpkgs/inkscape/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/inkscape/template b/srcpkgs/inkscape/template
index aa1ab218a442c..cd6f08c7db810 100644
--- a/srcpkgs/inkscape/template
+++ b/srcpkgs/inkscape/template
@@ -1,27 +1,29 @@
 # Template file for 'inkscape'
 pkgname=inkscape
-version=1.2.2
+version=1.3
 revision=1
 build_style=cmake
+configure_args="-DBUILD_TESTING=OFF"
 # builds executables then runs checks
 # some tests still fail on musl: https://gitlab.com/inkscape/inkscape/-/issues/2241
 make_check_target=check
 hostmakedepends="automake gettext glib-devel intltool libmagick-devel libtool
- perl-XML-Parser pkg-config which"
+ libgraphicsmagick-devel perl-XML-Parser pkg-config which python3-Cython ragel"
 makedepends="aspell-devel cairomm-devel double-conversion-devel gc-devel
  gdl-devel gsl-devel gspell-devel gtkmm-devel gtkspell3-devel harfbuzz-devel
  hunspell-devel libatomic_ops-devel libcdr-devel libgomp-devel libsoup-devel
  libvisio-devel libwpd-devel libwpd-devel libwpg-devel libxslt-devel pango-devel
- poppler-devel poppler-glib-devel potrace-devel"
+ poppler-devel poppler-glib-devel potrace-devel gtest-devel gtksourceview4-devel
+ lib2geom-devel popt-devel readline-devel"
 depends="desktop-file-utils hicolor-icon-theme python3-Pillow python3-appdirs
  python3-cssselect python3-lxml python3-numpy python3-requests python3-scour"
-checkdepends="$depends ImageMagick cantarell-fonts gtest-devel"
+checkdepends="$depends GraphicsMagick ImageMagick cantarell-fonts gtest-devel"
 short_desc="Vector-based drawing program"
 maintainer="Alex Lohr <alex.lohr@logmein.com>"
 license="GPL-2.0-only, LGPL-2.1-or-later"
 homepage="http://inkscape.org/"
 distfiles="https://media.inkscape.org/dl/resources/file/inkscape-${version}.tar.xz"
-checksum=a0c7fd0d03c0a21535e648ef301dcf80dd7cfc1f3545e51065fbf1ba3ee8a5c4
+checksum=bf4f286b025e0169b8948cc14d5199a9b4c204d761c894c4b48496571ec76307
 python_version=3
 
 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then

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

* Re: [PR PATCH] [Updated] inkscape: update to 1.3
  2023-07-26 10:37 [PR PATCH] inkscape: update to 1.3 hervyqa
  2023-07-26 13:03 ` [PR PATCH] [Updated] " hervyqa
  2023-07-26 13:19 ` hervyqa
@ 2023-07-26 13:27 ` hervyqa
  2023-07-26 13:36 ` hervyqa
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: hervyqa @ 2023-07-26 13:27 UTC (permalink / raw)
  To: ml

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

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

https://github.com/hervyqa/void-packages inkscape
https://github.com/void-linux/void-packages/pull/45261

inkscape: update to 1.3
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### 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/45261.patch is attached

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

From 524a158b772cc02de1eaf72954910a7c70981885 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 26 Jul 2023 20:27:03 +0700
Subject: [PATCH 1/2] New package: lib2geom-1.3

---
 srcpkgs/lib2geom-devel    |  1 +
 srcpkgs/lib2geom/template | 25 +++++++++++++++++++++++++
 2 files changed, 26 insertions(+)
 create mode 120000 srcpkgs/lib2geom-devel
 create mode 100644 srcpkgs/lib2geom/template

diff --git a/srcpkgs/lib2geom-devel b/srcpkgs/lib2geom-devel
new file mode 120000
index 0000000000000..41abdb3cf7010
--- /dev/null
+++ b/srcpkgs/lib2geom-devel
@@ -0,0 +1 @@
+lib2geom
\ No newline at end of file
diff --git a/srcpkgs/lib2geom/template b/srcpkgs/lib2geom/template
new file mode 100644
index 0000000000000..f618b087ce014
--- /dev/null
+++ b/srcpkgs/lib2geom/template
@@ -0,0 +1,25 @@
+# Template file for 'lib2geom'
+pkgname=lib2geom
+version=1.3
+revision=1
+build_style=cmake
+configure_args="-DBUILD_TESTING=OFF"
+hostmakedepends="pkg-config python3-Cython ragel samurai"
+makedepends="boost-devel double-conversion-devel cairo-devel gtk+3-devel gsl-devel"
+checkdepends="gtest-devel"
+short_desc="Easy to use 2D geometry library for c++"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-or-later, MPL-1.1"
+homepage="https://gitlab.com/inkscape/lib2geom"
+distfiles="https://gitlab.com/inkscape/lib2geom/-/archive/${version}/lib2geom-${version}.tar.bz2"
+checksum=bd07f2a1322fcad16a55a1901207faa55dffdecebc56a00eabd4575f62e043c9
+
+lib2geom-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}-${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+	}
+}

From 77c257cc8abaff96b937bc7796fc2120a844ea49 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 26 Jul 2023 20:27:17 +0700
Subject: [PATCH 2/2] inkscape: update to 1.3

---
 srcpkgs/inkscape/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/inkscape/template b/srcpkgs/inkscape/template
index aa1ab218a442c..cd6f08c7db810 100644
--- a/srcpkgs/inkscape/template
+++ b/srcpkgs/inkscape/template
@@ -1,27 +1,29 @@
 # Template file for 'inkscape'
 pkgname=inkscape
-version=1.2.2
+version=1.3
 revision=1
 build_style=cmake
+configure_args="-DBUILD_TESTING=OFF"
 # builds executables then runs checks
 # some tests still fail on musl: https://gitlab.com/inkscape/inkscape/-/issues/2241
 make_check_target=check
 hostmakedepends="automake gettext glib-devel intltool libmagick-devel libtool
- perl-XML-Parser pkg-config which"
+ libgraphicsmagick-devel perl-XML-Parser pkg-config which python3-Cython ragel"
 makedepends="aspell-devel cairomm-devel double-conversion-devel gc-devel
  gdl-devel gsl-devel gspell-devel gtkmm-devel gtkspell3-devel harfbuzz-devel
  hunspell-devel libatomic_ops-devel libcdr-devel libgomp-devel libsoup-devel
  libvisio-devel libwpd-devel libwpd-devel libwpg-devel libxslt-devel pango-devel
- poppler-devel poppler-glib-devel potrace-devel"
+ poppler-devel poppler-glib-devel potrace-devel gtest-devel gtksourceview4-devel
+ lib2geom-devel popt-devel readline-devel"
 depends="desktop-file-utils hicolor-icon-theme python3-Pillow python3-appdirs
  python3-cssselect python3-lxml python3-numpy python3-requests python3-scour"
-checkdepends="$depends ImageMagick cantarell-fonts gtest-devel"
+checkdepends="$depends GraphicsMagick ImageMagick cantarell-fonts gtest-devel"
 short_desc="Vector-based drawing program"
 maintainer="Alex Lohr <alex.lohr@logmein.com>"
 license="GPL-2.0-only, LGPL-2.1-or-later"
 homepage="http://inkscape.org/"
 distfiles="https://media.inkscape.org/dl/resources/file/inkscape-${version}.tar.xz"
-checksum=a0c7fd0d03c0a21535e648ef301dcf80dd7cfc1f3545e51065fbf1ba3ee8a5c4
+checksum=bf4f286b025e0169b8948cc14d5199a9b4c204d761c894c4b48496571ec76307
 python_version=3
 
 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then

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

* Re: [PR PATCH] [Updated] inkscape: update to 1.3
  2023-07-26 10:37 [PR PATCH] inkscape: update to 1.3 hervyqa
                   ` (2 preceding siblings ...)
  2023-07-26 13:27 ` hervyqa
@ 2023-07-26 13:36 ` hervyqa
  2023-07-26 14:34 ` hervyqa
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: hervyqa @ 2023-07-26 13:36 UTC (permalink / raw)
  To: ml

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

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

https://github.com/hervyqa/void-packages inkscape
https://github.com/void-linux/void-packages/pull/45261

inkscape: update to 1.3
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### 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/45261.patch is attached

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

From 84ce31cd829539a17d3d8b740277ac3045b6c898 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 26 Jul 2023 20:36:10 +0700
Subject: [PATCH 1/2] New package: lib2geom-1.3

---
 srcpkgs/lib2geom-devel    |  1 +
 srcpkgs/lib2geom/template | 26 ++++++++++++++++++++++++++
 2 files changed, 27 insertions(+)
 create mode 120000 srcpkgs/lib2geom-devel
 create mode 100644 srcpkgs/lib2geom/template

diff --git a/srcpkgs/lib2geom-devel b/srcpkgs/lib2geom-devel
new file mode 120000
index 0000000000000..41abdb3cf7010
--- /dev/null
+++ b/srcpkgs/lib2geom-devel
@@ -0,0 +1 @@
+lib2geom
\ No newline at end of file
diff --git a/srcpkgs/lib2geom/template b/srcpkgs/lib2geom/template
new file mode 100644
index 0000000000000..c966e4bd9773a
--- /dev/null
+++ b/srcpkgs/lib2geom/template
@@ -0,0 +1,26 @@
+# Template file for 'lib2geom'
+pkgname=lib2geom
+version=1.3
+revision=1
+build_style=cmake
+configure_args="-DBUILD_TESTING=OFF"
+hostmakedepends="pkg-config python3-Cython ragel samurai"
+makedepends="boost-devel double-conversion-devel cairo-devel gtk+3-devel gsl-devel"
+checkdepends="gtest-devel"
+short_desc="Easy to use 2D geometry library for c++"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-or-later, MPL-1.1"
+homepage="https://gitlab.com/inkscape/lib2geom"
+distfiles="https://gitlab.com/inkscape/lib2geom/-/archive/${version}/lib2geom-${version}.tar.bz2"
+checksum=bd07f2a1322fcad16a55a1901207faa55dffdecebc56a00eabd4575f62e043c9
+
+lib2geom-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}-${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.a"
+	}
+}

From 5d09fc71a0dfa270e3aed329548eae6970a7ab4d Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 26 Jul 2023 20:36:21 +0700
Subject: [PATCH 2/2] inkscape: update to 1.3

---
 srcpkgs/inkscape/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/inkscape/template b/srcpkgs/inkscape/template
index aa1ab218a442c..cd6f08c7db810 100644
--- a/srcpkgs/inkscape/template
+++ b/srcpkgs/inkscape/template
@@ -1,27 +1,29 @@
 # Template file for 'inkscape'
 pkgname=inkscape
-version=1.2.2
+version=1.3
 revision=1
 build_style=cmake
+configure_args="-DBUILD_TESTING=OFF"
 # builds executables then runs checks
 # some tests still fail on musl: https://gitlab.com/inkscape/inkscape/-/issues/2241
 make_check_target=check
 hostmakedepends="automake gettext glib-devel intltool libmagick-devel libtool
- perl-XML-Parser pkg-config which"
+ libgraphicsmagick-devel perl-XML-Parser pkg-config which python3-Cython ragel"
 makedepends="aspell-devel cairomm-devel double-conversion-devel gc-devel
  gdl-devel gsl-devel gspell-devel gtkmm-devel gtkspell3-devel harfbuzz-devel
  hunspell-devel libatomic_ops-devel libcdr-devel libgomp-devel libsoup-devel
  libvisio-devel libwpd-devel libwpd-devel libwpg-devel libxslt-devel pango-devel
- poppler-devel poppler-glib-devel potrace-devel"
+ poppler-devel poppler-glib-devel potrace-devel gtest-devel gtksourceview4-devel
+ lib2geom-devel popt-devel readline-devel"
 depends="desktop-file-utils hicolor-icon-theme python3-Pillow python3-appdirs
  python3-cssselect python3-lxml python3-numpy python3-requests python3-scour"
-checkdepends="$depends ImageMagick cantarell-fonts gtest-devel"
+checkdepends="$depends GraphicsMagick ImageMagick cantarell-fonts gtest-devel"
 short_desc="Vector-based drawing program"
 maintainer="Alex Lohr <alex.lohr@logmein.com>"
 license="GPL-2.0-only, LGPL-2.1-or-later"
 homepage="http://inkscape.org/"
 distfiles="https://media.inkscape.org/dl/resources/file/inkscape-${version}.tar.xz"
-checksum=a0c7fd0d03c0a21535e648ef301dcf80dd7cfc1f3545e51065fbf1ba3ee8a5c4
+checksum=bf4f286b025e0169b8948cc14d5199a9b4c204d761c894c4b48496571ec76307
 python_version=3
 
 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then

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

* Re: [PR PATCH] [Updated] inkscape: update to 1.3
  2023-07-26 10:37 [PR PATCH] inkscape: update to 1.3 hervyqa
                   ` (3 preceding siblings ...)
  2023-07-26 13:36 ` hervyqa
@ 2023-07-26 14:34 ` hervyqa
  2023-07-30  1:41 ` hervyqa
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: hervyqa @ 2023-07-26 14:34 UTC (permalink / raw)
  To: ml

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

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

https://github.com/hervyqa/void-packages inkscape
https://github.com/void-linux/void-packages/pull/45261

inkscape: update to 1.3
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### 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/45261.patch is attached

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

From de4a72237cf9fa8cdf358fecf65406ea64f3abf3 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 26 Jul 2023 21:33:31 +0700
Subject: [PATCH 1/2] New package: lib2geom-1.3

---
 srcpkgs/lib2geom-devel    |  1 +
 srcpkgs/lib2geom/template | 26 ++++++++++++++++++++++++++
 2 files changed, 27 insertions(+)
 create mode 120000 srcpkgs/lib2geom-devel
 create mode 100644 srcpkgs/lib2geom/template

diff --git a/srcpkgs/lib2geom-devel b/srcpkgs/lib2geom-devel
new file mode 120000
index 0000000000000..41abdb3cf7010
--- /dev/null
+++ b/srcpkgs/lib2geom-devel
@@ -0,0 +1 @@
+lib2geom
\ No newline at end of file
diff --git a/srcpkgs/lib2geom/template b/srcpkgs/lib2geom/template
new file mode 100644
index 0000000000000..eb1712bfe49dd
--- /dev/null
+++ b/srcpkgs/lib2geom/template
@@ -0,0 +1,26 @@
+# Template file for 'lib2geom'
+pkgname=lib2geom
+version=1.3
+revision=1
+build_style=cmake
+configure_args="-D2GEOM_TESTING=OFF"
+hostmakedepends="pkg-config python3-Cython ragel samurai"
+makedepends="boost-devel double-conversion-devel cairo-devel gtk+3-devel gsl-devel"
+checkdepends="gtest-devel"
+short_desc="Easy to use 2D geometry library for c++"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-or-later, MPL-1.1"
+homepage="https://gitlab.com/inkscape/lib2geom"
+distfiles="https://gitlab.com/inkscape/lib2geom/-/archive/${version}/lib2geom-${version}.tar.bz2"
+checksum=bd07f2a1322fcad16a55a1901207faa55dffdecebc56a00eabd4575f62e043c9
+
+lib2geom-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}-${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.a"
+	}
+}

From adfa4aeac39cf8cb56992004237a1e8f61e6676a Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 26 Jul 2023 21:33:47 +0700
Subject: [PATCH 2/2] inkscape: update to 1.3

---
 srcpkgs/inkscape/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/inkscape/template b/srcpkgs/inkscape/template
index aa1ab218a442c..cd6f08c7db810 100644
--- a/srcpkgs/inkscape/template
+++ b/srcpkgs/inkscape/template
@@ -1,27 +1,29 @@
 # Template file for 'inkscape'
 pkgname=inkscape
-version=1.2.2
+version=1.3
 revision=1
 build_style=cmake
+configure_args="-DBUILD_TESTING=OFF"
 # builds executables then runs checks
 # some tests still fail on musl: https://gitlab.com/inkscape/inkscape/-/issues/2241
 make_check_target=check
 hostmakedepends="automake gettext glib-devel intltool libmagick-devel libtool
- perl-XML-Parser pkg-config which"
+ libgraphicsmagick-devel perl-XML-Parser pkg-config which python3-Cython ragel"
 makedepends="aspell-devel cairomm-devel double-conversion-devel gc-devel
  gdl-devel gsl-devel gspell-devel gtkmm-devel gtkspell3-devel harfbuzz-devel
  hunspell-devel libatomic_ops-devel libcdr-devel libgomp-devel libsoup-devel
  libvisio-devel libwpd-devel libwpd-devel libwpg-devel libxslt-devel pango-devel
- poppler-devel poppler-glib-devel potrace-devel"
+ poppler-devel poppler-glib-devel potrace-devel gtest-devel gtksourceview4-devel
+ lib2geom-devel popt-devel readline-devel"
 depends="desktop-file-utils hicolor-icon-theme python3-Pillow python3-appdirs
  python3-cssselect python3-lxml python3-numpy python3-requests python3-scour"
-checkdepends="$depends ImageMagick cantarell-fonts gtest-devel"
+checkdepends="$depends GraphicsMagick ImageMagick cantarell-fonts gtest-devel"
 short_desc="Vector-based drawing program"
 maintainer="Alex Lohr <alex.lohr@logmein.com>"
 license="GPL-2.0-only, LGPL-2.1-or-later"
 homepage="http://inkscape.org/"
 distfiles="https://media.inkscape.org/dl/resources/file/inkscape-${version}.tar.xz"
-checksum=a0c7fd0d03c0a21535e648ef301dcf80dd7cfc1f3545e51065fbf1ba3ee8a5c4
+checksum=bf4f286b025e0169b8948cc14d5199a9b4c204d761c894c4b48496571ec76307
 python_version=3
 
 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then

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

* Re: [PR PATCH] [Updated] inkscape: update to 1.3
  2023-07-26 10:37 [PR PATCH] inkscape: update to 1.3 hervyqa
                   ` (4 preceding siblings ...)
  2023-07-26 14:34 ` hervyqa
@ 2023-07-30  1:41 ` hervyqa
  2023-08-06  2:48 ` classabbyamp
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: hervyqa @ 2023-07-30  1:41 UTC (permalink / raw)
  To: ml

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

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

https://github.com/hervyqa/void-packages inkscape
https://github.com/void-linux/void-packages/pull/45261

inkscape: update to 1.3
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### 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/45261.patch is attached

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

From 09cb3bcac271e8a7af4caa3747e665dd92e39b10 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Sun, 30 Jul 2023 08:40:36 +0700
Subject: [PATCH 1/2] New package: lib2geom-1.3

---
 srcpkgs/lib2geom-devel    |  1 +
 srcpkgs/lib2geom/template | 25 +++++++++++++++++++++++++
 2 files changed, 26 insertions(+)
 create mode 120000 srcpkgs/lib2geom-devel
 create mode 100644 srcpkgs/lib2geom/template

diff --git a/srcpkgs/lib2geom-devel b/srcpkgs/lib2geom-devel
new file mode 120000
index 000000000000..41abdb3cf701
--- /dev/null
+++ b/srcpkgs/lib2geom-devel
@@ -0,0 +1 @@
+lib2geom
\ No newline at end of file
diff --git a/srcpkgs/lib2geom/template b/srcpkgs/lib2geom/template
new file mode 100644
index 000000000000..b25e3489af85
--- /dev/null
+++ b/srcpkgs/lib2geom/template
@@ -0,0 +1,25 @@
+# Template file for 'lib2geom'
+pkgname=lib2geom
+version=1.3
+revision=1
+build_style=cmake
+configure_args="-D2GEOM_TESTING=OFF"
+hostmakedepends="pkg-config python3-Cython ragel samurai"
+makedepends="boost-devel double-conversion-devel cairo-devel gtk+3-devel gsl-devel"
+checkdepends="gtest-devel"
+short_desc="Easy to use 2D geometry library for c++"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-or-later, MPL-1.1"
+homepage="https://gitlab.com/inkscape/lib2geom"
+distfiles="https://gitlab.com/inkscape/lib2geom/-/archive/${version}/lib2geom-${version}.tar.bz2"
+checksum=bd07f2a1322fcad16a55a1901207faa55dffdecebc56a00eabd4575f62e043c9
+
+lib2geom-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}-${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove usr/lib/pkgconfig
+	}
+}

From ead99c223fe019bf55fd9fe2a5de6e8c496ab3af Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Sun, 30 Jul 2023 08:40:52 +0700
Subject: [PATCH 2/2] inkscape: update to 1.3

---
 srcpkgs/inkscape/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/inkscape/template b/srcpkgs/inkscape/template
index 49633b61fd86..c0a14009686d 100644
--- a/srcpkgs/inkscape/template
+++ b/srcpkgs/inkscape/template
@@ -1,27 +1,29 @@
 # Template file for 'inkscape'
 pkgname=inkscape
-version=1.2.2
+version=1.3
 revision=1
 build_style=cmake
+configure_args="-DBUILD_TESTING=OFF"
 # builds executables then runs checks
 # some tests still fail on musl: https://gitlab.com/inkscape/inkscape/-/issues/2241
 make_check_target=check
 hostmakedepends="automake gettext glib-devel intltool libmagick-devel libtool
- perl-XML-Parser pkg-config which"
+ libgraphicsmagick-devel perl-XML-Parser pkg-config which python3-Cython ragel"
 makedepends="aspell-devel cairomm-devel double-conversion-devel gc-devel
  gdl-devel gsl-devel gspell-devel gtkmm-devel gtkspell3-devel harfbuzz-devel
  hunspell-devel libatomic_ops-devel libcdr-devel libgomp-devel libsoup-devel
  libvisio-devel libwpd-devel libwpd-devel libwpg-devel libxslt-devel pango-devel
- poppler-devel poppler-glib-devel potrace-devel"
+ poppler-devel poppler-glib-devel potrace-devel gtest-devel gtksourceview4-devel
+ lib2geom-devel popt-devel readline-devel"
 depends="desktop-file-utils hicolor-icon-theme python3-Pillow python3-appdirs
  python3-cssselect python3-lxml python3-numpy python3-requests python3-scour"
-checkdepends="$depends ImageMagick cantarell-fonts gtest-devel"
+checkdepends="$depends GraphicsMagick ImageMagick cantarell-fonts gtest-devel"
 short_desc="Vector-based drawing program"
 maintainer="Alex Lohr <alex.lohr@logmein.com>"
 license="GPL-2.0-only, LGPL-2.1-or-later"
 homepage="http://inkscape.org/"
 distfiles="https://media.inkscape.org/dl/resources/file/inkscape-${version}.tar.xz"
-checksum=a0c7fd0d03c0a21535e648ef301dcf80dd7cfc1f3545e51065fbf1ba3ee8a5c4
+checksum=bf4f286b025e0169b8948cc14d5199a9b4c204d761c894c4b48496571ec76307
 python_version=3
 
 post_patch() {

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

* Re: [PR PATCH] [Updated] inkscape: update to 1.3
  2023-07-26 10:37 [PR PATCH] inkscape: update to 1.3 hervyqa
                   ` (5 preceding siblings ...)
  2023-07-30  1:41 ` hervyqa
@ 2023-08-06  2:48 ` classabbyamp
  2023-08-06  2:48 ` [PR PATCH] [Merged]: " classabbyamp
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: classabbyamp @ 2023-08-06  2:48 UTC (permalink / raw)
  To: ml

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

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

https://github.com/hervyqa/void-packages inkscape
https://github.com/void-linux/void-packages/pull/45261

inkscape: update to 1.3
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### 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/45261.patch is attached

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

From 496d3dbcbd4335f46c2ba492f9895a4ed6dba76c Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Sun, 30 Jul 2023 08:40:36 +0700
Subject: [PATCH 1/2] New package: lib2geom-1.3

---
 common/shlibs             |  1 +
 srcpkgs/lib2geom-devel    |  1 +
 srcpkgs/lib2geom/template | 40 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 42 insertions(+)
 create mode 120000 srcpkgs/lib2geom-devel
 create mode 100644 srcpkgs/lib2geom/template

diff --git a/common/shlibs b/common/shlibs
index 9f4553e6ccc2b..ddb0e8ab87091 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4326,3 +4326,4 @@ libtext-engine-0.1.so.0 text-engine-0.1.1_1
 libvmaf.so.1 vmaf-2.3.1_1
 liblc3.so.1 liblc3-1.0.3_1
 libmimalloc.so.2 mimalloc-2.1.2_1
+lib2geom.so.1.3.0 lib2geom-1.3_1
diff --git a/srcpkgs/lib2geom-devel b/srcpkgs/lib2geom-devel
new file mode 120000
index 0000000000000..41abdb3cf7010
--- /dev/null
+++ b/srcpkgs/lib2geom-devel
@@ -0,0 +1 @@
+lib2geom
\ No newline at end of file
diff --git a/srcpkgs/lib2geom/template b/srcpkgs/lib2geom/template
new file mode 100644
index 0000000000000..b5ca3f0d614ab
--- /dev/null
+++ b/srcpkgs/lib2geom/template
@@ -0,0 +1,40 @@
+# Template file for 'lib2geom'
+pkgname=lib2geom
+version=1.3
+revision=1
+build_style=cmake
+configure_args="-D2GEOM_BUILD_SHARED=ON"
+hostmakedepends="pkg-config python3-Cython ragel samurai"
+makedepends="boost-devel double-conversion-devel cairo-devel gtk+3-devel gsl-devel"
+checkdepends="gtest-devel"
+short_desc="Easy to use 2D geometry library for c++"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-or-later, MPL-1.1"
+homepage="https://gitlab.com/inkscape/lib2geom"
+distfiles="https://gitlab.com/inkscape/lib2geom/-/archive/${version}/lib2geom-${version}.tar.bz2"
+checksum=bd07f2a1322fcad16a55a1901207faa55dffdecebc56a00eabd4575f62e043c9
+
+if [ -n "$XBPS_CHECK_PKGS" ]; then
+	configure_args+=" -D2GEOM_TESTING=ON"
+else
+	configure_args+=" -D2GEOM_TESTING=OFF"
+fi
+
+do_check() {
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64-musl) _fail='circle-test' ;;
+		i686) _fail='(ellipse-test|elliptical-arc-test|self-intersections-test)' ;;
+	esac
+	ctest --test-dir build --output-on-failure "$makejobs" -E "$_fail"
+}
+
+lib2geom-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}-${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.so"
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+	}
+}

From f1a1b646ff0ac0a84d44acf288312c4a6d9ee710 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Sun, 30 Jul 2023 08:40:52 +0700
Subject: [PATCH 2/2] inkscape: update to 1.3

---
 srcpkgs/inkscape/patches/musl_page_size.patch | 51 +++++++++++++++++++
 srcpkgs/inkscape/template                     | 31 ++++++-----
 2 files changed, 70 insertions(+), 12 deletions(-)
 create mode 100644 srcpkgs/inkscape/patches/musl_page_size.patch

diff --git a/srcpkgs/inkscape/patches/musl_page_size.patch b/srcpkgs/inkscape/patches/musl_page_size.patch
new file mode 100644
index 0000000000000..15fcfb4705d71
--- /dev/null
+++ b/srcpkgs/inkscape/patches/musl_page_size.patch
@@ -0,0 +1,51 @@
+PAGE_SIZE is a reserved identifier, but we should be abnle to safely rename it
+in the enum without breaking anything to still build against musl
+--
+diff --git a/src/attributes.cpp b/src/attributes.cpp
+index e5abed3..9e0c459 100644
+--- a/src/attributes.cpp
++++ b/src/attributes.cpp
+@@ -142,7 +142,7 @@ static SPStyleProp const props[] = {
+     /* SPPage */
+     {SPAttr::PAGE_MARGIN, "margin"},
+     {SPAttr::PAGE_BLEED, "bleed"},
+-    {SPAttr::PAGE_SIZE, "page-size"},
++    {SPAttr::PAGE_SIZEx, "page-size"},
+     /* SPGrid */
+     {SPAttr::ORIGINX, "originx"},
+     {SPAttr::ORIGINY, "originy"},
+diff --git a/src/attributes.h b/src/attributes.h
+index 2b17b09..4e8470a 100644
+--- a/src/attributes.h
++++ b/src/attributes.h
+@@ -141,7 +141,7 @@ enum class SPAttr {
+     /* SPPage */
+     PAGE_MARGIN,
+     PAGE_BLEED,
+-    PAGE_SIZE,
++    PAGE_SIZEx,
+     /* SPGrid */
+     ORIGINX,
+     ORIGINY,
+diff --git a/src/object/sp-page.cpp b/src/object/sp-page.cpp
+index cc5c41f..4d0a1fc 100644
+--- a/src/object/sp-page.cpp
++++ b/src/object/sp-page.cpp
+@@ -42,7 +42,7 @@ void SPPage::build(SPDocument *document, Inkscape::XML::Node *repr)
+     SPObject::build(document, repr);
+ 
+     this->readAttr(SPAttr::INKSCAPE_LABEL);
+-    this->readAttr(SPAttr::PAGE_SIZE);
++    this->readAttr(SPAttr::PAGE_SIZEx);
+     this->readAttr(SPAttr::X);
+     this->readAttr(SPAttr::Y);
+     this->readAttr(SPAttr::WIDTH);
+@@ -85,7 +85,7 @@ void SPPage::set(SPAttr key, const gchar *value)
+         case SPAttr::PAGE_BLEED:
+             this->bleed.readOrUnset(value);
+             break;
+-        case SPAttr::PAGE_SIZE:
++        case SPAttr::PAGE_SIZEx:
+             this->_size_label = value ? std::string(value) : "";
+             break;
+         default:
diff --git a/srcpkgs/inkscape/template b/srcpkgs/inkscape/template
index 49633b61fd861..b6b29f0790ed1 100644
--- a/srcpkgs/inkscape/template
+++ b/srcpkgs/inkscape/template
@@ -1,28 +1,35 @@
 # Template file for 'inkscape'
 pkgname=inkscape
-version=1.2.2
+version=1.3
 revision=1
 build_style=cmake
-# builds executables then runs checks
-# some tests still fail on musl: https://gitlab.com/inkscape/inkscape/-/issues/2241
-make_check_target=check
-hostmakedepends="automake gettext glib-devel intltool libmagick-devel libtool
- perl-XML-Parser pkg-config which"
+make_check_target="check"
+hostmakedepends="automake gettext glib-devel intltool libgraphicsmagick-devel
+ libtool perl-XML-Parser pkg-config which python3-Cython ragel"
 makedepends="aspell-devel cairomm-devel double-conversion-devel gc-devel
  gdl-devel gsl-devel gspell-devel gtkmm-devel gtkspell3-devel harfbuzz-devel
  hunspell-devel libatomic_ops-devel libcdr-devel libgomp-devel libsoup-devel
  libvisio-devel libwpd-devel libwpd-devel libwpg-devel libxslt-devel pango-devel
- poppler-devel poppler-glib-devel potrace-devel"
+ poppler-devel poppler-glib-devel potrace-devel gtest-devel gtksourceview4-devel
+ lib2geom-devel popt-devel readline-devel"
 depends="desktop-file-utils hicolor-icon-theme python3-Pillow python3-appdirs
  python3-cssselect python3-lxml python3-numpy python3-requests python3-scour"
-checkdepends="$depends ImageMagick cantarell-fonts gtest-devel"
+checkdepends="$depends GraphicsMagick ImageMagick cantarell-fonts gtest-devel"
 short_desc="Vector-based drawing program"
 maintainer="Alex Lohr <alex.lohr@logmein.com>"
 license="GPL-2.0-only, LGPL-2.1-or-later"
-homepage="http://inkscape.org/"
+homepage="https://inkscape.org/"
 distfiles="https://media.inkscape.org/dl/resources/file/inkscape-${version}.tar.xz"
-checksum=a0c7fd0d03c0a21535e648ef301dcf80dd7cfc1f3545e51065fbf1ba3ee8a5c4
+checksum=bf4f286b025e0169b8948cc14d5199a9b4c204d761c894c4b48496571ec76307
 python_version=3
+# some tests still fail on musl: https://gitlab.com/inkscape/inkscape/-/issues/2241
+make_check=no
+
+if [ -n "$XBPS_CHECK_PKGS" ]; then
+	configure_args+=" -DBUILD_TESTING=ON"
+else
+	configure_args+=" -DBUILD_TESTING=OFF"
+fi
 
 post_patch() {
 	if [ "$XBPS_TARGET_LIBC" = musl ]; then
@@ -32,6 +39,6 @@ post_patch() {
 	fi
 	# disable glyph tests that fail due to different hinting
 	vsed -e \
-		"s/\(test-glyph-y-pos\|test-rtl-vertical\|text-glyphs-combining\|text-glyphs-vertical\)/# \1 - skipped due to hinting issues/" \
-		-i testfiles/rendering_tests/CMakeLists.txt
+		"s/add_subdirectory(rendering_tests)/# \0 - skipped due to hinting issues/" \
+		-i testfiles//CMakeLists.txt
 }

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

* Re: [PR PATCH] [Merged]: inkscape: update to 1.3
  2023-07-26 10:37 [PR PATCH] inkscape: update to 1.3 hervyqa
                   ` (6 preceding siblings ...)
  2023-08-06  2:48 ` classabbyamp
@ 2023-08-06  2:48 ` classabbyamp
  2023-08-06  2:48 ` classabbyamp
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: classabbyamp @ 2023-08-06  2:48 UTC (permalink / raw)
  To: ml

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

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

inkscape: update to 1.3
https://github.com/void-linux/void-packages/pull/45261

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### 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] 12+ messages in thread

* Re: inkscape: update to 1.3
  2023-07-26 10:37 [PR PATCH] inkscape: update to 1.3 hervyqa
                   ` (7 preceding siblings ...)
  2023-08-06  2:48 ` [PR PATCH] [Merged]: " classabbyamp
@ 2023-08-06  2:48 ` classabbyamp
  2023-08-06  2:54 ` hervyqa
  2023-08-06  2:58 ` classabbyamp
  10 siblings, 0 replies; 12+ messages in thread
From: classabbyamp @ 2023-08-06  2:48 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/45261#issuecomment-1666687854

Comment:
fixed and tested locally

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

* Re: inkscape: update to 1.3
  2023-07-26 10:37 [PR PATCH] inkscape: update to 1.3 hervyqa
                   ` (8 preceding siblings ...)
  2023-08-06  2:48 ` classabbyamp
@ 2023-08-06  2:54 ` hervyqa
  2023-08-06  2:58 ` classabbyamp
  10 siblings, 0 replies; 12+ messages in thread
From: hervyqa @ 2023-08-06  2:54 UTC (permalink / raw)
  To: ml

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

New comment by hervyqa on void-packages repository

https://github.com/void-linux/void-packages/pull/45261#issuecomment-1666688896

Comment:
@classabbyamp  Thank you so much 😄😄

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

* Re: inkscape: update to 1.3
  2023-07-26 10:37 [PR PATCH] inkscape: update to 1.3 hervyqa
                   ` (9 preceding siblings ...)
  2023-08-06  2:54 ` hervyqa
@ 2023-08-06  2:58 ` classabbyamp
  10 siblings, 0 replies; 12+ messages in thread
From: classabbyamp @ 2023-08-06  2:58 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/45261#issuecomment-1666689578

Comment:
the main failure was caused by lib2geom being built statically... shared libs should be preferred over static

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

end of thread, other threads:[~2023-08-06  2:58 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-26 10:37 [PR PATCH] inkscape: update to 1.3 hervyqa
2023-07-26 13:03 ` [PR PATCH] [Updated] " hervyqa
2023-07-26 13:19 ` hervyqa
2023-07-26 13:27 ` hervyqa
2023-07-26 13:36 ` hervyqa
2023-07-26 14:34 ` hervyqa
2023-07-30  1:41 ` hervyqa
2023-08-06  2:48 ` classabbyamp
2023-08-06  2:48 ` [PR PATCH] [Merged]: " classabbyamp
2023-08-06  2:48 ` classabbyamp
2023-08-06  2:54 ` hervyqa
2023-08-06  2:58 ` 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).