Github messages for voidlinux
 help / color / mirror / Atom feed
From: hervyqa <hervyqa@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] inkscape: update to 1.2
Date: Thu, 23 Jun 2022 13:24:15 +0200	[thread overview]
Message-ID: <20220623112415.e9lWOxpdFh2nIgNisOwjx3LP2b0rm8uL_5StPXtCmbI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35454@inbox.vuxu.org>

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

inkscape: update to 1.2
add `python3-cssselect` to open "Manage Extensions" dialog.

#### 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, x86_64-musl)

#### 1.1.2 (x86_64)

![image](https://user-images.githubusercontent.com/45872139/152723191-4f9a8384-fedb-48e5-8989-fc0a52eda812.png)

### Update:
#### 1.2 (x86_64)

![Screenshot_20220518_144113](https://user-images.githubusercontent.com/45872139/168985134-2279a126-8c42-4fcc-8d33-21bef08be529.png)

#### 1.2 (x86_64-musl)

![Screenshot_20220518_090746](https://user-images.githubusercontent.com/45872139/169003017-2cfe0bbc-d002-4390-9316-f7eb816e4a20.png)

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

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

From 0b60df78096f6bc4279d086e50b20075d1342b47 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@pm.me>
Date: Mon, 7 Feb 2022 11:09:12 +0700
Subject: [PATCH] inkscape: update to 1.2

---
 srcpkgs/inkscape/patches/fix-Werror.patch | 20 ++++++++++++++++++++
 srcpkgs/inkscape/template                 | 14 ++++++++------
 2 files changed, 28 insertions(+), 6 deletions(-)
 create mode 100644 srcpkgs/inkscape/patches/fix-Werror.patch

diff --git a/srcpkgs/inkscape/patches/fix-Werror.patch b/srcpkgs/inkscape/patches/fix-Werror.patch
new file mode 100644
index 000000000000..f2751c9ad037
--- /dev/null
+++ b/srcpkgs/inkscape/patches/fix-Werror.patch
@@ -0,0 +1,20 @@
+diff --git a/community/inkscape/fix-Werror.patch b/community/inkscape/fix-Werror.patch
+index a718973d77..cea18d1887 100644
+--- a/community/inkscape/fix-Werror.patch
++++ b/community/inkscape/fix-Werror.patch
+@@ -2,12 +2,12 @@ Fix -Werror flags, build fails with them
+
+ --- a/CMakeScripts/DefineDependsandFlags.cmake
+ +++ b/CMakeScripts/DefineDependsandFlags.cmake
+-@@ -32,8 +32,6 @@
++@@ -39,8 +39,6 @@
+
+  # Errors for common mistakes
+  list(APPEND INKSCAPE_CXX_FLAGS "-fstack-protector-strong")
+ -list(APPEND INKSCAPE_CXX_FLAGS "-Werror=format")                # e.g.: printf("%s", std::string("foo"))
+ -list(APPEND INKSCAPE_CXX_FLAGS "-Werror=format-security")       # e.g.: printf(variable);
++ list(APPEND INKSCAPE_CXX_FLAGS "-Werror=ignored-qualifiers")    # e.g.: const int foo();
++ list(APPEND INKSCAPE_CXX_FLAGS "-Werror=return-type")           # non-void functions that don't return a value
+  list(APPEND INKSCAPE_CXX_FLAGS "-Wno-switch")                   # See !849 for discussion
+- list(APPEND INKSCAPE_CXX_FLAGS_DEBUG "-Og")                     # -Og for _FORTIFY_SOURCE. One could add -Weffc++ here to see approx. 6000 warnings
+- list(APPEND INKSCAPE_CXX_FLAGS_DEBUG "-Wcomment")
diff --git a/srcpkgs/inkscape/template b/srcpkgs/inkscape/template
index 45f48ccda0dc..da137acea880 100644
--- a/srcpkgs/inkscape/template
+++ b/srcpkgs/inkscape/template
@@ -1,8 +1,10 @@
 # Template file for 'inkscape'
 pkgname=inkscape
-version=1.1.1
-revision=3
-wrksrc="inkscape-${version}_2021-09-20_3bf5ae0d25"
+version=1.2
+revision=1
+_pkgdate="2022-05-15"
+_pkgcommit="dc2aedaf03"
+wrksrc="inkscape-${version}_${_pkgdate}_${_pkgcommit}"
 build_style=cmake
 # builds executables then runs checks
 # some tests still fail on musl: https://gitlab.com/inkscape/inkscape/-/issues/2241
@@ -13,15 +15,15 @@ makedepends="harfbuzz-devel libsoup-devel gsl-devel pango-devel libatomic_ops-de
  double-conversion-devel gc-devel libwpd-devel libcdr-devel libvisio-devel
  poppler-devel libwpd-devel potrace-devel gtkmm-devel gdl-devel gtkspell3-devel
  aspell-devel libxslt-devel libgomp-devel libwpg-devel poppler-glib-devel"
-depends="desktop-file-utils hicolor-icon-theme python3-appdirs python3-lxml python3-numpy
- python3-scour python3-Pillow"
+depends="desktop-file-utils hicolor-icon-theme python3-appdirs python3-cssselect
+ python3-lxml python3-numpy python3-scour python3-Pillow"
 checkdepends="$depends gtest-devel ImageMagick cantarell-fonts"
 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=aeca0b9d33b5b1cfa9aa70433bdee6a8c3d020ffafc2e6f0c9a60eed7a7978af
+checksum=8d9b31142554945664edfefe2d6b55910a5099765f7176a71107c34f1dcde6ad
 python_version=3
 
 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then

  parent reply	other threads:[~2022-06-23 11:24 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-07  4:11 [PR PATCH] inkscape: update to 1.1.2 hervyqa
2022-02-07  5:15 ` hervyqa
2022-02-23 16:11 ` tibequadorian
2022-02-23 23:32 ` hervyqa
2022-02-23 23:33 ` hervyqa
2022-02-23 23:38 ` hervyqa
2022-05-18  3:41 ` [PR PATCH] [Updated] " hervyqa
2022-05-18  3:59 ` [PR PATCH] [Updated] inkscape: update to 1.2 hervyqa
2022-05-18  4:12 ` hervyqa
2022-05-18  5:05 ` hervyqa
2022-05-18  5:38 ` hervyqa
2022-05-18  8:52 ` [PR PATCH] [Updated] " hervyqa
2022-05-19 14:50 ` ericonr
2022-05-20  4:34 ` hervyqa
2022-05-21 15:54 ` ericonr
2022-05-21 15:55 ` ericonr
2022-05-21 23:05 ` hervyqa
2022-05-21 23:11 ` [PR PATCH] [Updated] " hervyqa
2022-05-21 23:19 ` hervyqa
2022-05-22  1:59 ` ericonr
2022-05-23 14:10 ` hervyqa
2022-05-23 14:12 ` hervyqa
2022-05-25  1:46 ` ericonr
2022-05-27 15:33 ` hsnfirdaus
2022-05-27 18:52 ` hervyqa
2022-05-31 23:36 ` hervyqa
2022-05-31 23:36 ` hervyqa
2022-06-23 10:13 ` [PR PATCH] [Updated] " hervyqa
2022-06-23 11:24 ` hervyqa [this message]
2022-06-23 11:44 ` hervyqa
2022-06-23 11:59 ` hervyqa
2022-06-30 18:53 ` [PR REVIEW] " ericonr
2022-06-30 20:05 ` hervyqa
2022-06-30 20:17 ` [PR PATCH] [Updated] " hervyqa
2022-06-30 20:27 ` hervyqa
2022-07-07  6:25 ` hervyqa
2022-07-09 13:09 ` hervyqa
2022-07-09 13:11 ` hervyqa
2022-07-09 19:00 ` oreo639
2022-07-09 19:01 ` oreo639
2022-07-09 19:09 ` oreo639
2022-07-10  0:01 ` [PR PATCH] [Updated] " hervyqa
2022-07-15  1:43 ` hervyqa
2022-07-15  2:24 ` inkscape: update to 1.2.1 hervyqa
2022-07-16  7:24 ` paper42
2022-07-16  8:50 ` [PR PATCH] [Updated] " hervyqa
2022-07-16  8:55 ` hervyqa
2022-07-17 20:15 ` [PR PATCH] [Updated] " hervyqa
2022-09-25  0:16 ` dmarto
2022-09-25  7:59 ` [PR PATCH] [Updated] " hervyqa
2022-09-25  8:40 ` hervyqa
2022-12-07  5:43 ` [PR PATCH] [Updated] " hervyqa
2022-12-07  6:12 ` [PR PATCH] [Updated] inkscape: update to 1.2.2 hervyqa
2023-01-08 22:16 ` manfredu
2023-01-08 22:17 ` manfredu
2023-01-08 22:27 ` paper42
2023-01-08 22:43 ` manfredu
2023-02-14 15:46 ` [PR PATCH] [Updated] " hervyqa
2023-02-14 15:49 ` hervyqa
2023-04-08 12:23 ` 1is7ac3
2023-04-28 15:42 ` [PR PATCH] [Updated] " hervyqa
2023-06-16  2:44 ` hervyqa
2023-06-26  0:42 ` [PR PATCH] [Closed]: " classabbyamp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220623112415.e9lWOxpdFh2nIgNisOwjx3LP2b0rm8uL_5StPXtCmbI@z \
    --to=hervyqa@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).