Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: frescobaldi-3.2
@ 2022-09-19 18:02 dexgs
  2022-09-19 23:08 ` [PR PATCH] [Updated] " dexgs
                   ` (40 more replies)
  0 siblings, 41 replies; 42+ messages in thread
From: dexgs @ 2022-09-19 18:02 UTC (permalink / raw)
  To: ml

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

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

https://github.com/dexgs/void-packages frescobaldi
https://github.com/void-linux/void-packages/pull/39374

New package: frescobaldi-3.2
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

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

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

From fd614b8adc285aefd3afed5f42b92988ee940d38 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:16 -0400
Subject: [PATCH 1/4] New package: python3-ly-0.9.7

---
 srcpkgs/python3-ly/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/python3-ly/template

diff --git a/srcpkgs/python3-ly/template b/srcpkgs/python3-ly/template
new file mode 100644
index 000000000000..a795013096db
--- /dev/null
+++ b/srcpkgs/python3-ly/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-ly'
+pkgname=python3-ly
+version=0.9.7
+revision=1
+wrksrc="python-ly-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Modules to parse, manipulate or create documents in LilyPond format"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/frescobaldi/python-ly"
+changelog="https://github.com/frescobaldi/python-ly/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-ly/python-ly-${version}.tar.gz"
+checksum=d4d2b68eb0ef8073200154247cc9bd91ed7fb2671ac966ef3d2853281c15d7a8

From 4bfb59011c93b203d8af95b5c12f63e3d1234bb4 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:47 -0400
Subject: [PATCH 2/4] New package: python3-poppler-qt5-0.75.0

---
 srcpkgs/python3-poppler-qt5/template | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 srcpkgs/python3-poppler-qt5/template

diff --git a/srcpkgs/python3-poppler-qt5/template b/srcpkgs/python3-poppler-qt5/template
new file mode 100644
index 000000000000..cd2188eb4ef1
--- /dev/null
+++ b/srcpkgs/python3-poppler-qt5/template
@@ -0,0 +1,28 @@
+# Template file for 'python3-poppler-qt5'
+pkgname=python3-poppler-qt5
+version=0.75.0
+revision=1
+wrksrc="python-poppler-qt5-${version}"
+build_style=python3-module
+hostmakedepends="python3-sip-devel pkg-config qt5-devel poppler-qt5-devel
+ python3-PyQt5-devel python3-devel"
+makedepends="python3-sip-devel pkg-config qt5-devel poppler-qt5-devel
+ python3-PyQt5-devel python3-devel"
+depends="poppler-qt5 python3-PyQt5"
+short_desc="Python bindings for libpoppler-qt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="LGPL-3.0-or-later"
+homepage="https://github.com/frescobaldi/python-poppler-qt5"
+changelog="https://github.com/frescobaldi/python-poppler-qt5/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-poppler-qt5/python-poppler-qt5-${version}.tar.gz"
+checksum=ea0ec9ebe995705ab19a301290365652e62bab5c9b05db5697c7bf2173335107
+
+do_build() {
+	# Cludge to fix build under armv7l, armv6l
+	if [[ $XBPS_TARGET_MACHINE == arm* ]]; then
+		  export CFLAGS="-mtune=generic-armv7-a "
+		  export CFLAGS+="-I${XBPS_CROSS_BASE}/${py3_inc}"
+	fi
+
+	python setup.py build_ext --pyqt-sip-dir=/${py3_sitelib}/PyQt5/bindings
+}

From 85d0aa9d4b6f98217b6e8d655aaf37a53e13a571 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:12 -0400
Subject: [PATCH 3/4] New package: python3-qpageview-0.6.2

---
 srcpkgs/python3-qpageview/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-qpageview/template

diff --git a/srcpkgs/python3-qpageview/template b/srcpkgs/python3-qpageview/template
new file mode 100644
index 000000000000..16f86e173104
--- /dev/null
+++ b/srcpkgs/python3-qpageview/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-qpageview'
+pkgname=python3-qpageview
+version=0.6.2
+revision=1
+wrksrc="qpageview-${version}"
+build_style=python3-module
+hostmakedepends="python3 python3-PyQt5-devel python3-PyQt5-svg"
+makedepends="qt5-devel"
+depends="qt5 python3-PyQt5-svg python3-poppler-qt5"
+short_desc="Page based document viewer widget for Qt5/PyQt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-3.0-only"
+homepage="https://qpageview.org/"
+changelog="https://raw.githubusercontent.com/frescobaldi/qpageview/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/qpageview/archive/v${version}.tar.gz"
+checksum=5ac3140396f11b15d6438ce34d5ce77f8b7e76f7dcd4c0439c85740d9e5d3674

From 63a4f1bd1e94f157824d2534a4da94f2b93bc973 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:51 -0400
Subject: [PATCH 4/4] New package: frescobaldi-3.2

---
 srcpkgs/frescobaldi/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/frescobaldi/template

diff --git a/srcpkgs/frescobaldi/template b/srcpkgs/frescobaldi/template
new file mode 100644
index 000000000000..e9874763b01a
--- /dev/null
+++ b/srcpkgs/frescobaldi/template
@@ -0,0 +1,20 @@
+# Template file for 'frescobaldi'
+pkgname=frescobaldi
+version=3.2
+revision=1
+build_style=python3-module
+make_check_target="check"
+hostmakedepends="python3-setuptools gettext"
+depends="python3-PyQt5 python3-PyQt5-svg poppler-qt5 portmidi
+ python3-cups python3-ly lilypond python3-qpageview"
+short_desc="Powerful, lightweight and easy to use LilyPond sheet music text editor"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://frescobaldi.org/"
+changelog="https://github.com/frescobaldi/frescobaldi/blob/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/frescobaldi/archive/v${version}.tar.gz"
+checksum=f7bb9b5f708f902f8f512ab6f0de1a6272d9e176f678027e576b06e5ceec8fe8
+
+pre_build() {
+	make -C linux
+}

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

* Re: [PR PATCH] [Updated] New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
@ 2022-09-19 23:08 ` dexgs
  2022-09-20  1:14 ` dexgs
                   ` (39 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: dexgs @ 2022-09-19 23:08 UTC (permalink / raw)
  To: ml

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

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

https://github.com/dexgs/void-packages frescobaldi
https://github.com/void-linux/void-packages/pull/39374

New package: frescobaldi-3.2
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

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

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

From fd614b8adc285aefd3afed5f42b92988ee940d38 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:16 -0400
Subject: [PATCH 1/4] New package: python3-ly-0.9.7

---
 srcpkgs/python3-ly/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/python3-ly/template

diff --git a/srcpkgs/python3-ly/template b/srcpkgs/python3-ly/template
new file mode 100644
index 000000000000..a795013096db
--- /dev/null
+++ b/srcpkgs/python3-ly/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-ly'
+pkgname=python3-ly
+version=0.9.7
+revision=1
+wrksrc="python-ly-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Modules to parse, manipulate or create documents in LilyPond format"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/frescobaldi/python-ly"
+changelog="https://github.com/frescobaldi/python-ly/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-ly/python-ly-${version}.tar.gz"
+checksum=d4d2b68eb0ef8073200154247cc9bd91ed7fb2671ac966ef3d2853281c15d7a8

From 47a2a7900eee276569e8ed841b4cbd1738027328 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:47 -0400
Subject: [PATCH 2/4] New package: python3-poppler-qt5-0.75.0

---
 srcpkgs/python3-poppler-qt5/template | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 srcpkgs/python3-poppler-qt5/template

diff --git a/srcpkgs/python3-poppler-qt5/template b/srcpkgs/python3-poppler-qt5/template
new file mode 100644
index 000000000000..b932e2ea3387
--- /dev/null
+++ b/srcpkgs/python3-poppler-qt5/template
@@ -0,0 +1,26 @@
+# Template file for 'python3-poppler-qt5'
+pkgname=python3-poppler-qt5
+version=21.3.0
+revision=1
+wrksrc="python-poppler-qt5-${version}"
+build_style=sip-build
+hostmakedepends="sip pkg-config qt5-devel poppler-qt5-devel
+ python3-PyQt-builder python3-PyQt5-devel python3-devel"
+makedepends="python3-sip-devel pkg-config qt5-devel poppler-qt5-devel
+ python3-PyQt5-devel python3-devel"
+depends="poppler-qt5 python3-PyQt5"
+short_desc="Python bindings for libpoppler-qt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="LGPL-3.0-or-later"
+homepage="https://github.com/frescobaldi/python-poppler-qt5"
+changelog="https://github.com/frescobaldi/python-poppler-qt5/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-poppler-qt5/python-poppler-qt5-${version}.tar.gz"
+checksum=b477e8841f0ea0e09fdab6f2f305cf38df977d9e142e5693a374605d75dd6fe0
+
+pre_build() {
+	# Cludge to fix build under armv7l, armv6l
+	if [[ $XBPS_TARGET_MACHINE == arm* ]]; then
+		  export CFLAGS="-mtune=generic-armv7-a "
+		  export CFLAGS+="-I${XBPS_CROSS_BASE}/${py3_inc}"
+	fi
+}

From e983d8c673e7d5d22b4f70c5b88b5b82612f5259 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:12 -0400
Subject: [PATCH 3/4] New package: python3-qpageview-0.6.2

---
 srcpkgs/python3-qpageview/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-qpageview/template

diff --git a/srcpkgs/python3-qpageview/template b/srcpkgs/python3-qpageview/template
new file mode 100644
index 000000000000..16f86e173104
--- /dev/null
+++ b/srcpkgs/python3-qpageview/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-qpageview'
+pkgname=python3-qpageview
+version=0.6.2
+revision=1
+wrksrc="qpageview-${version}"
+build_style=python3-module
+hostmakedepends="python3 python3-PyQt5-devel python3-PyQt5-svg"
+makedepends="qt5-devel"
+depends="qt5 python3-PyQt5-svg python3-poppler-qt5"
+short_desc="Page based document viewer widget for Qt5/PyQt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-3.0-only"
+homepage="https://qpageview.org/"
+changelog="https://raw.githubusercontent.com/frescobaldi/qpageview/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/qpageview/archive/v${version}.tar.gz"
+checksum=5ac3140396f11b15d6438ce34d5ce77f8b7e76f7dcd4c0439c85740d9e5d3674

From 3b18f3e26d151ef5c7931085df3345328d1360be Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:51 -0400
Subject: [PATCH 4/4] New package: frescobaldi-3.2

---
 srcpkgs/frescobaldi/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/frescobaldi/template

diff --git a/srcpkgs/frescobaldi/template b/srcpkgs/frescobaldi/template
new file mode 100644
index 000000000000..e9874763b01a
--- /dev/null
+++ b/srcpkgs/frescobaldi/template
@@ -0,0 +1,20 @@
+# Template file for 'frescobaldi'
+pkgname=frescobaldi
+version=3.2
+revision=1
+build_style=python3-module
+make_check_target="check"
+hostmakedepends="python3-setuptools gettext"
+depends="python3-PyQt5 python3-PyQt5-svg poppler-qt5 portmidi
+ python3-cups python3-ly lilypond python3-qpageview"
+short_desc="Powerful, lightweight and easy to use LilyPond sheet music text editor"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://frescobaldi.org/"
+changelog="https://github.com/frescobaldi/frescobaldi/blob/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/frescobaldi/archive/v${version}.tar.gz"
+checksum=f7bb9b5f708f902f8f512ab6f0de1a6272d9e176f678027e576b06e5ceec8fe8
+
+pre_build() {
+	make -C linux
+}

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

* Re: [PR PATCH] [Updated] New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
  2022-09-19 23:08 ` [PR PATCH] [Updated] " dexgs
@ 2022-09-20  1:14 ` dexgs
  2022-09-20  1:46 ` dexgs
                   ` (38 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: dexgs @ 2022-09-20  1:14 UTC (permalink / raw)
  To: ml

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

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

https://github.com/dexgs/void-packages frescobaldi
https://github.com/void-linux/void-packages/pull/39374

New package: frescobaldi-3.2
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

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

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

From fd614b8adc285aefd3afed5f42b92988ee940d38 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:16 -0400
Subject: [PATCH 1/4] New package: python3-ly-0.9.7

---
 srcpkgs/python3-ly/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/python3-ly/template

diff --git a/srcpkgs/python3-ly/template b/srcpkgs/python3-ly/template
new file mode 100644
index 000000000000..a795013096db
--- /dev/null
+++ b/srcpkgs/python3-ly/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-ly'
+pkgname=python3-ly
+version=0.9.7
+revision=1
+wrksrc="python-ly-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Modules to parse, manipulate or create documents in LilyPond format"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/frescobaldi/python-ly"
+changelog="https://github.com/frescobaldi/python-ly/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-ly/python-ly-${version}.tar.gz"
+checksum=d4d2b68eb0ef8073200154247cc9bd91ed7fb2671ac966ef3d2853281c15d7a8

From 836d08b298991a7f135c9a1761cf1b6852c89b69 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:47 -0400
Subject: [PATCH 2/4] New package: python3-poppler-qt5-21.3.0

---
 srcpkgs/python3-poppler-qt5/template | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 srcpkgs/python3-poppler-qt5/template

diff --git a/srcpkgs/python3-poppler-qt5/template b/srcpkgs/python3-poppler-qt5/template
new file mode 100644
index 000000000000..bffa98e24cc9
--- /dev/null
+++ b/srcpkgs/python3-poppler-qt5/template
@@ -0,0 +1,27 @@
+# Template file for 'python3-poppler-qt5'
+pkgname=python3-poppler-qt5
+version=21.3.0
+revision=1
+wrksrc="python-poppler-qt5-${version}"
+build_style=sip-build
+hostmakedepends="sip pkg-config qt5-devel poppler-qt5-devel
+ python3-PyQt-builder python3-PyQt5-devel python3-devel"
+makedepends="python3-sip-devel pkg-config qt5-devel poppler-qt5-devel
+ python3-PyQt5-devel python3-devel"
+depends="poppler-qt5 python3-PyQt5"
+short_desc="Python bindings for libpoppler-qt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="LGPL-3.0-or-later"
+homepage="https://github.com/frescobaldi/python-poppler-qt5"
+changelog="https://github.com/frescobaldi/python-poppler-qt5/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-poppler-qt5/python-poppler-qt5-${version}.tar.gz"
+checksum=b477e8841f0ea0e09fdab6f2f305cf38df977d9e142e5693a374605d75dd6fe0
+
+pre_build() {
+	# Cludge to fix build under armv7l, armv6l
+	if [[ $XBPS_TARGET_MACHINE == arm* ]]; then
+		cd build
+		sed -i 's/-mtune=generic/-mtune=generic-armv7-a/g' Makefile
+		export CFLAGS+="-I${XBPS_CROSS_BASE}/${py3_inc}"
+	fi
+}

From bb8da6b173180b46c91b1434ce95da6d3a362ef0 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:12 -0400
Subject: [PATCH 3/4] New package: python3-qpageview-0.6.2

---
 srcpkgs/python3-qpageview/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-qpageview/template

diff --git a/srcpkgs/python3-qpageview/template b/srcpkgs/python3-qpageview/template
new file mode 100644
index 000000000000..16f86e173104
--- /dev/null
+++ b/srcpkgs/python3-qpageview/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-qpageview'
+pkgname=python3-qpageview
+version=0.6.2
+revision=1
+wrksrc="qpageview-${version}"
+build_style=python3-module
+hostmakedepends="python3 python3-PyQt5-devel python3-PyQt5-svg"
+makedepends="qt5-devel"
+depends="qt5 python3-PyQt5-svg python3-poppler-qt5"
+short_desc="Page based document viewer widget for Qt5/PyQt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-3.0-only"
+homepage="https://qpageview.org/"
+changelog="https://raw.githubusercontent.com/frescobaldi/qpageview/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/qpageview/archive/v${version}.tar.gz"
+checksum=5ac3140396f11b15d6438ce34d5ce77f8b7e76f7dcd4c0439c85740d9e5d3674

From 461368022fc512ddf612bd667015f14ee022ad0f Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:51 -0400
Subject: [PATCH 4/4] New package: frescobaldi-3.2

---
 srcpkgs/frescobaldi/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/frescobaldi/template

diff --git a/srcpkgs/frescobaldi/template b/srcpkgs/frescobaldi/template
new file mode 100644
index 000000000000..e9874763b01a
--- /dev/null
+++ b/srcpkgs/frescobaldi/template
@@ -0,0 +1,20 @@
+# Template file for 'frescobaldi'
+pkgname=frescobaldi
+version=3.2
+revision=1
+build_style=python3-module
+make_check_target="check"
+hostmakedepends="python3-setuptools gettext"
+depends="python3-PyQt5 python3-PyQt5-svg poppler-qt5 portmidi
+ python3-cups python3-ly lilypond python3-qpageview"
+short_desc="Powerful, lightweight and easy to use LilyPond sheet music text editor"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://frescobaldi.org/"
+changelog="https://github.com/frescobaldi/frescobaldi/blob/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/frescobaldi/archive/v${version}.tar.gz"
+checksum=f7bb9b5f708f902f8f512ab6f0de1a6272d9e176f678027e576b06e5ceec8fe8
+
+pre_build() {
+	make -C linux
+}

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

* Re: [PR PATCH] [Updated] New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
  2022-09-19 23:08 ` [PR PATCH] [Updated] " dexgs
  2022-09-20  1:14 ` dexgs
@ 2022-09-20  1:46 ` dexgs
  2022-09-20  2:48 ` [PR REVIEW] " sgn
                   ` (37 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: dexgs @ 2022-09-20  1:46 UTC (permalink / raw)
  To: ml

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

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

https://github.com/dexgs/void-packages frescobaldi
https://github.com/void-linux/void-packages/pull/39374

New package: frescobaldi-3.2
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

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

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

From fd614b8adc285aefd3afed5f42b92988ee940d38 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:16 -0400
Subject: [PATCH 1/4] New package: python3-ly-0.9.7

---
 srcpkgs/python3-ly/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/python3-ly/template

diff --git a/srcpkgs/python3-ly/template b/srcpkgs/python3-ly/template
new file mode 100644
index 000000000000..a795013096db
--- /dev/null
+++ b/srcpkgs/python3-ly/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-ly'
+pkgname=python3-ly
+version=0.9.7
+revision=1
+wrksrc="python-ly-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Modules to parse, manipulate or create documents in LilyPond format"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/frescobaldi/python-ly"
+changelog="https://github.com/frescobaldi/python-ly/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-ly/python-ly-${version}.tar.gz"
+checksum=d4d2b68eb0ef8073200154247cc9bd91ed7fb2671ac966ef3d2853281c15d7a8

From 2eeeb579e2fb7dd075d63b374089a35d26178fac Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:47 -0400
Subject: [PATCH 2/4] New package: python3-poppler-qt5-21.3.0

---
 srcpkgs/python3-poppler-qt5/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-poppler-qt5/template

diff --git a/srcpkgs/python3-poppler-qt5/template b/srcpkgs/python3-poppler-qt5/template
new file mode 100644
index 000000000000..4393032e246e
--- /dev/null
+++ b/srcpkgs/python3-poppler-qt5/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-poppler-qt5'
+pkgname=python3-poppler-qt5
+version=21.3.0
+revision=1
+wrksrc="python-poppler-qt5-${version}"
+build_style=sip-build
+hostmakedepends="pkg-config qt5-devel poppler-qt5-devel
+ python3-PyQt-builder python3-PyQt5-devel python3-devel"
+makedepends="pkg-config qt5-devel poppler-qt5-devel
+ python3-PyQt5-devel python3-devel"
+depends="poppler-qt5 python3-PyQt5"
+short_desc="Python bindings for libpoppler-qt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="LGPL-3.0-or-later"
+homepage="https://github.com/frescobaldi/python-poppler-qt5"
+changelog="https://github.com/frescobaldi/python-poppler-qt5/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-poppler-qt5/python-poppler-qt5-${version}.tar.gz"
+checksum=b477e8841f0ea0e09fdab6f2f305cf38df977d9e142e5693a374605d75dd6fe0

From a2d51293c849456e72b944d70677ad877f3cf450 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:12 -0400
Subject: [PATCH 3/4] New package: python3-qpageview-0.6.2

---
 srcpkgs/python3-qpageview/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-qpageview/template

diff --git a/srcpkgs/python3-qpageview/template b/srcpkgs/python3-qpageview/template
new file mode 100644
index 000000000000..16f86e173104
--- /dev/null
+++ b/srcpkgs/python3-qpageview/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-qpageview'
+pkgname=python3-qpageview
+version=0.6.2
+revision=1
+wrksrc="qpageview-${version}"
+build_style=python3-module
+hostmakedepends="python3 python3-PyQt5-devel python3-PyQt5-svg"
+makedepends="qt5-devel"
+depends="qt5 python3-PyQt5-svg python3-poppler-qt5"
+short_desc="Page based document viewer widget for Qt5/PyQt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-3.0-only"
+homepage="https://qpageview.org/"
+changelog="https://raw.githubusercontent.com/frescobaldi/qpageview/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/qpageview/archive/v${version}.tar.gz"
+checksum=5ac3140396f11b15d6438ce34d5ce77f8b7e76f7dcd4c0439c85740d9e5d3674

From 1ea74f08268d58e73eb130929c2cafbc24a090ee Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:51 -0400
Subject: [PATCH 4/4] New package: frescobaldi-3.2

---
 srcpkgs/frescobaldi/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/frescobaldi/template

diff --git a/srcpkgs/frescobaldi/template b/srcpkgs/frescobaldi/template
new file mode 100644
index 000000000000..e9874763b01a
--- /dev/null
+++ b/srcpkgs/frescobaldi/template
@@ -0,0 +1,20 @@
+# Template file for 'frescobaldi'
+pkgname=frescobaldi
+version=3.2
+revision=1
+build_style=python3-module
+make_check_target="check"
+hostmakedepends="python3-setuptools gettext"
+depends="python3-PyQt5 python3-PyQt5-svg poppler-qt5 portmidi
+ python3-cups python3-ly lilypond python3-qpageview"
+short_desc="Powerful, lightweight and easy to use LilyPond sheet music text editor"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://frescobaldi.org/"
+changelog="https://github.com/frescobaldi/frescobaldi/blob/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/frescobaldi/archive/v${version}.tar.gz"
+checksum=f7bb9b5f708f902f8f512ab6f0de1a6272d9e176f678027e576b06e5ceec8fe8
+
+pre_build() {
+	make -C linux
+}

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

* Re: [PR REVIEW] New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (3 preceding siblings ...)
  2022-09-20  2:48 ` [PR REVIEW] " sgn
@ 2022-09-20  2:48 ` sgn
  2022-09-20  2:52 ` sgn
                   ` (35 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: sgn @ 2022-09-20  2:48 UTC (permalink / raw)
  To: ml

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

New review comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/39374#discussion_r974793649

Comment:
I don't think `-devel` should go in `hostmakedepends` in this case.

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

* Re: [PR REVIEW] New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (2 preceding siblings ...)
  2022-09-20  1:46 ` dexgs
@ 2022-09-20  2:48 ` sgn
  2022-09-20  2:48 ` sgn
                   ` (36 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: sgn @ 2022-09-20  2:48 UTC (permalink / raw)
  To: ml

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

New review comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/39374#discussion_r974793244

Comment:
Why does it need this things? Something is wrong?

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

* Re: [PR REVIEW] New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (4 preceding siblings ...)
  2022-09-20  2:48 ` sgn
@ 2022-09-20  2:52 ` sgn
  2022-09-20 12:06 ` [PR PATCH] [Updated] " dexgs
                   ` (34 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: sgn @ 2022-09-20  2:52 UTC (permalink / raw)
  To: ml

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

New review comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/39374#discussion_r974838751

Comment:
Please remove qt5

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

* Re: [PR PATCH] [Updated] New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (5 preceding siblings ...)
  2022-09-20  2:52 ` sgn
@ 2022-09-20 12:06 ` dexgs
  2022-09-20 12:27 ` [PR REVIEW] " dexgs
                   ` (33 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: dexgs @ 2022-09-20 12:06 UTC (permalink / raw)
  To: ml

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

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

https://github.com/dexgs/void-packages frescobaldi
https://github.com/void-linux/void-packages/pull/39374

New package: frescobaldi-3.2
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

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

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

From fd614b8adc285aefd3afed5f42b92988ee940d38 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:16 -0400
Subject: [PATCH 1/4] New package: python3-ly-0.9.7

---
 srcpkgs/python3-ly/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/python3-ly/template

diff --git a/srcpkgs/python3-ly/template b/srcpkgs/python3-ly/template
new file mode 100644
index 000000000000..a795013096db
--- /dev/null
+++ b/srcpkgs/python3-ly/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-ly'
+pkgname=python3-ly
+version=0.9.7
+revision=1
+wrksrc="python-ly-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Modules to parse, manipulate or create documents in LilyPond format"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/frescobaldi/python-ly"
+changelog="https://github.com/frescobaldi/python-ly/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-ly/python-ly-${version}.tar.gz"
+checksum=d4d2b68eb0ef8073200154247cc9bd91ed7fb2671ac966ef3d2853281c15d7a8

From 2eeeb579e2fb7dd075d63b374089a35d26178fac Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:47 -0400
Subject: [PATCH 2/4] New package: python3-poppler-qt5-21.3.0

---
 srcpkgs/python3-poppler-qt5/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-poppler-qt5/template

diff --git a/srcpkgs/python3-poppler-qt5/template b/srcpkgs/python3-poppler-qt5/template
new file mode 100644
index 000000000000..4393032e246e
--- /dev/null
+++ b/srcpkgs/python3-poppler-qt5/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-poppler-qt5'
+pkgname=python3-poppler-qt5
+version=21.3.0
+revision=1
+wrksrc="python-poppler-qt5-${version}"
+build_style=sip-build
+hostmakedepends="pkg-config qt5-devel poppler-qt5-devel
+ python3-PyQt-builder python3-PyQt5-devel python3-devel"
+makedepends="pkg-config qt5-devel poppler-qt5-devel
+ python3-PyQt5-devel python3-devel"
+depends="poppler-qt5 python3-PyQt5"
+short_desc="Python bindings for libpoppler-qt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="LGPL-3.0-or-later"
+homepage="https://github.com/frescobaldi/python-poppler-qt5"
+changelog="https://github.com/frescobaldi/python-poppler-qt5/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-poppler-qt5/python-poppler-qt5-${version}.tar.gz"
+checksum=b477e8841f0ea0e09fdab6f2f305cf38df977d9e142e5693a374605d75dd6fe0

From b32661070bb81c5d5d23b9836e59af187ff31b03 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:12 -0400
Subject: [PATCH 3/4] New package: python3-qpageview-0.6.2

---
 srcpkgs/python3-qpageview/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-qpageview/template

diff --git a/srcpkgs/python3-qpageview/template b/srcpkgs/python3-qpageview/template
new file mode 100644
index 000000000000..bab74f41eeb1
--- /dev/null
+++ b/srcpkgs/python3-qpageview/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-qpageview'
+pkgname=python3-qpageview
+version=0.6.2
+revision=1
+wrksrc="qpageview-${version}"
+build_style=python3-module
+hostmakedepends="python3 python3-PyQt5-svg"
+makedepends="qt5-devel python3-PyQt5-devel"
+depends="python3-PyQt5-svg python3-poppler-qt5"
+short_desc="Page based document viewer widget for Qt5/PyQt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-3.0-only"
+homepage="https://qpageview.org/"
+changelog="https://raw.githubusercontent.com/frescobaldi/qpageview/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/qpageview/archive/v${version}.tar.gz"
+checksum=5ac3140396f11b15d6438ce34d5ce77f8b7e76f7dcd4c0439c85740d9e5d3674

From e85d63e4d9669c038c1d94c0152240708daad012 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:51 -0400
Subject: [PATCH 4/4] New package: frescobaldi-3.2

---
 srcpkgs/frescobaldi/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/frescobaldi/template

diff --git a/srcpkgs/frescobaldi/template b/srcpkgs/frescobaldi/template
new file mode 100644
index 000000000000..e9874763b01a
--- /dev/null
+++ b/srcpkgs/frescobaldi/template
@@ -0,0 +1,20 @@
+# Template file for 'frescobaldi'
+pkgname=frescobaldi
+version=3.2
+revision=1
+build_style=python3-module
+make_check_target="check"
+hostmakedepends="python3-setuptools gettext"
+depends="python3-PyQt5 python3-PyQt5-svg poppler-qt5 portmidi
+ python3-cups python3-ly lilypond python3-qpageview"
+short_desc="Powerful, lightweight and easy to use LilyPond sheet music text editor"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://frescobaldi.org/"
+changelog="https://github.com/frescobaldi/frescobaldi/blob/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/frescobaldi/archive/v${version}.tar.gz"
+checksum=f7bb9b5f708f902f8f512ab6f0de1a6272d9e176f678027e576b06e5ceec8fe8
+
+pre_build() {
+	make -C linux
+}

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

* Re: [PR REVIEW] New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (6 preceding siblings ...)
  2022-09-20 12:06 ` [PR PATCH] [Updated] " dexgs
@ 2022-09-20 12:27 ` dexgs
  2022-09-20 12:27 ` dexgs
                   ` (32 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: dexgs @ 2022-09-20 12:27 UTC (permalink / raw)
  To: ml

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

New review comment by dexgs on void-packages repository

https://github.com/void-linux/void-packages/pull/39374#discussion_r975296158

Comment:
done

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

* Re: [PR REVIEW] New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (7 preceding siblings ...)
  2022-09-20 12:27 ` [PR REVIEW] " dexgs
@ 2022-09-20 12:27 ` dexgs
  2022-09-21 13:50 ` dexgs
                   ` (31 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: dexgs @ 2022-09-20 12:27 UTC (permalink / raw)
  To: ml

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

New review comment by dexgs on void-packages repository

https://github.com/void-linux/void-packages/pull/39374#discussion_r975296265

Comment:
done

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

* Re: [PR REVIEW] New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (8 preceding siblings ...)
  2022-09-20 12:27 ` dexgs
@ 2022-09-21 13:50 ` dexgs
  2022-12-21  1:55 ` github-actions
                   ` (30 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: dexgs @ 2022-09-21 13:50 UTC (permalink / raw)
  To: ml

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

New review comment by dexgs on void-packages repository

https://github.com/void-linux/void-packages/pull/39374#discussion_r976536965

Comment:
When using the setup.py build it would set those flags incorrectly on arm. The latest version supprorts the sip-build build style which doesn't have any such problem so I've removed this.

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

* Re: New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (9 preceding siblings ...)
  2022-09-21 13:50 ` dexgs
@ 2022-12-21  1:55 ` github-actions
  2022-12-25 19:52 ` dexgs
                   ` (29 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: github-actions @ 2022-12-21  1:55 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/39374#issuecomment-1360673852

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

* Re: New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (10 preceding siblings ...)
  2022-12-21  1:55 ` github-actions
@ 2022-12-25 19:52 ` dexgs
  2022-12-26  1:48 ` [PR REVIEW] " sgn
                   ` (28 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: dexgs @ 2022-12-25 19:52 UTC (permalink / raw)
  To: ml

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

New comment by dexgs on void-packages repository

https://github.com/void-linux/void-packages/pull/39374#issuecomment-1364730738

Comment:
bump

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

* Re: [PR REVIEW] New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (15 preceding siblings ...)
  2022-12-26  1:48 ` sgn
@ 2022-12-26  1:48 ` sgn
  2022-12-26  1:48 ` sgn
                   ` (23 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: sgn @ 2022-12-26  1:48 UTC (permalink / raw)
  To: ml

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

New review comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/39374#discussion_r1057024509

Comment:
```suggestion
revision=1
```

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

* Re: [PR REVIEW] New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (12 preceding siblings ...)
  2022-12-26  1:48 ` [PR REVIEW] " sgn
@ 2022-12-26  1:48 ` sgn
  2022-12-26  1:48 ` sgn
                   ` (26 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: sgn @ 2022-12-26  1:48 UTC (permalink / raw)
  To: ml

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

New review comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/39374#discussion_r1057024647

Comment:
```suggestion
license="GPL-3.0-or-later"
```

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

* Re: [PR REVIEW] New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (17 preceding siblings ...)
  2022-12-26  1:48 ` sgn
@ 2022-12-26  1:48 ` sgn
  2022-12-26  2:52 ` [PR PATCH] [Updated] " dexgs
                   ` (21 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: sgn @ 2022-12-26  1:48 UTC (permalink / raw)
  To: ml

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

New review comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/39374#discussion_r1057024247

Comment:
Remove `wrksrc=`

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

* Re: [PR REVIEW] New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (11 preceding siblings ...)
  2022-12-25 19:52 ` dexgs
@ 2022-12-26  1:48 ` sgn
  2022-12-26  1:48 ` sgn
                   ` (27 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: sgn @ 2022-12-26  1:48 UTC (permalink / raw)
  To: ml

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

New review comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/39374#discussion_r1057024417

Comment:
```suggestion
revision=1
```

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

* Re: [PR REVIEW] New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (16 preceding siblings ...)
  2022-12-26  1:48 ` sgn
@ 2022-12-26  1:48 ` sgn
  2022-12-26  1:48 ` sgn
                   ` (22 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: sgn @ 2022-12-26  1:48 UTC (permalink / raw)
  To: ml

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

New review comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/39374#discussion_r1057024396

Comment:
```suggestion
license="LGPL-2.1-or-later"
```

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

* Re: [PR REVIEW] New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (14 preceding siblings ...)
  2022-12-26  1:48 ` sgn
@ 2022-12-26  1:48 ` sgn
  2022-12-26  1:48 ` sgn
                   ` (24 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: sgn @ 2022-12-26  1:48 UTC (permalink / raw)
  To: ml

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

New review comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/39374#discussion_r1057024857

Comment:
```suggestion
license="GPL-2.0-or-later"
```

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

* Re: [PR REVIEW] New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (13 preceding siblings ...)
  2022-12-26  1:48 ` sgn
@ 2022-12-26  1:48 ` sgn
  2022-12-26  1:48 ` sgn
                   ` (25 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: sgn @ 2022-12-26  1:48 UTC (permalink / raw)
  To: ml

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

New review comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/39374#discussion_r1057024195

Comment:
remove `wrksrc=`

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

* Re: [PR PATCH] [Updated] New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (18 preceding siblings ...)
  2022-12-26  1:48 ` sgn
@ 2022-12-26  2:52 ` dexgs
  2022-12-26 17:45 ` dexgs
                   ` (20 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: dexgs @ 2022-12-26  2:52 UTC (permalink / raw)
  To: ml

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

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

https://github.com/dexgs/void-packages frescobaldi
https://github.com/void-linux/void-packages/pull/39374

New package: frescobaldi-3.2
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

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

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

From 0dc931b0c83df552dbe51244a14b7fffa8bbfb2c Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:16 -0400
Subject: [PATCH 1/4] New package: python3-ly-0.9.7

---
 srcpkgs/python3-ly/template | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/python3-ly/template

diff --git a/srcpkgs/python3-ly/template b/srcpkgs/python3-ly/template
new file mode 100644
index 000000000000..4cc0d2c5fdba
--- /dev/null
+++ b/srcpkgs/python3-ly/template
@@ -0,0 +1,13 @@
+# Template file for 'python3-ly'
+pkgname=python3-ly
+version=0.9.7
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Modules to parse, manipulate or create documents in LilyPond format"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/frescobaldi/python-ly"
+changelog="https://github.com/frescobaldi/python-ly/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-ly/python-ly-${version}.tar.gz"
+checksum=d4d2b68eb0ef8073200154247cc9bd91ed7fb2671ac966ef3d2853281c15d7a8

From 92f73df01d3afc057a52c89f7a15d1f7ab6ccda0 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:47 -0400
Subject: [PATCH 2/4] New package: python3-poppler-qt5-21.3.0

---
 srcpkgs/python3-poppler-qt5/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-poppler-qt5/template

diff --git a/srcpkgs/python3-poppler-qt5/template b/srcpkgs/python3-poppler-qt5/template
new file mode 100644
index 000000000000..7f9832182c55
--- /dev/null
+++ b/srcpkgs/python3-poppler-qt5/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-poppler-qt5'
+pkgname=python3-poppler-qt5
+version=21.3.0
+revision=1
+build_style=sip-build
+hostmakedepends="pkg-config qt5-devel poppler-qt5-devel
+ python3-PyQt-builder python3-PyQt5-devel python3-devel"
+makedepends="pkg-config qt5-devel poppler-qt5-devel
+ python3-PyQt5-devel python3-devel"
+depends="poppler-qt5 python3-PyQt5"
+short_desc="Python bindings for libpoppler-qt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="LGPL-3.0-or-later"
+homepage="https://github.com/frescobaldi/python-poppler-qt5"
+changelog="https://github.com/frescobaldi/python-poppler-qt5/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-poppler-qt5/python-poppler-qt5-${version}.tar.gz"
+checksum=b477e8841f0ea0e09fdab6f2f305cf38df977d9e142e5693a374605d75dd6fe0

From 10e16ef4a942a9dcdd818d772043e013dedce446 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:12 -0400
Subject: [PATCH 3/4] New package: python3-qpageview-0.6.2

---
 srcpkgs/python3-qpageview/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/python3-qpageview/template

diff --git a/srcpkgs/python3-qpageview/template b/srcpkgs/python3-qpageview/template
new file mode 100644
index 000000000000..8be10f520d00
--- /dev/null
+++ b/srcpkgs/python3-qpageview/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-qpageview'
+pkgname=python3-qpageview
+version=0.6.2
+revision=1
+build_style=python3-module
+makedepends="qt5-devel python3-PyQt5-devel python3-PyQt5-svg"
+depends="qt5 python3-PyQt5-svg python3-poppler-qt5"
+short_desc="Page based document viewer widget for Qt5/PyQt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://qpageview.org/"
+changelog="https://raw.githubusercontent.com/frescobaldi/qpageview/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/qpageview/archive/v${version}.tar.gz"
+checksum=5ac3140396f11b15d6438ce34d5ce77f8b7e76f7dcd4c0439c85740d9e5d3674

From 86fd7f4092453c26a8a14d17bd202f27ce2e759a Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:51 -0400
Subject: [PATCH 4/4] New package: frescobaldi-3.2

---
 ...r-when-treating-Type-as-QKeySequence.patch | 60 +++++++++++++++++++
 srcpkgs/frescobaldi/template                  | 20 +++++++
 2 files changed, 80 insertions(+)
 create mode 100644 srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
 create mode 100644 srcpkgs/frescobaldi/template

diff --git a/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch b/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
new file mode 100644
index 000000000000..a5b74f33bede
--- /dev/null
+++ b/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
@@ -0,0 +1,60 @@
+From ac002d5534c57f2e2f86fbde0ece166a90c4b7e0 Mon Sep 17 00:00:00 2001
+From: Dexter Gaon-Shatford <dexter@gaonshatford.ca>
+Date: Fri, 11 Nov 2022 15:23:41 -0500
+Subject: [PATCH] fix: TypeError when treating Type as QKeySequence
+
+Removed code which treats instances of QEvent.Type as QKeySequence as
+they result in a TypeError on Python 3.11
+---
+ frescobaldi_app/search/__init__.py |  6 +-----
+ frescobaldi_app/view.py            | 14 --------------
+ 2 files changed, 1 insertion(+), 19 deletions(-)
+
+diff --git a/frescobaldi_app/search/__init__.py b/frescobaldi_app/search/__init__.py
+index ea184506..448c2d3a 100644
+--- a/frescobaldi_app/search/__init__.py
++++ b/frescobaldi_app/search/__init__.py
+@@ -357,11 +357,7 @@ class Search(plugin.MainWindowPlugin, QWidget):
+ 
+     def event(self, ev):
+         """Reimplemented to catch F1 for help and Tab so it does not reach the View."""
+-        if ev == QKeySequence.HelpContents:
+-            userguide.show("search_replace")
+-            ev.accept()
+-            return True
+-        elif ev.type() == QEvent.KeyPress:
++        if ev.type() == QEvent.KeyPress:
+             modifiers = int(ev.modifiers() & (Qt.SHIFT | Qt.CTRL | Qt.ALT | Qt.META))
+             if ev.key() == Qt.Key_Tab and modifiers == 0:
+                 # prevent Tab from reaching the View widget
+diff --git a/frescobaldi_app/view.py b/frescobaldi_app/view.py
+index 245847b2..69de7330 100644
+--- a/frescobaldi_app/view.py
++++ b/frescobaldi_app/view.py
+@@ -86,23 +86,9 @@ class View(QPlainTextEdit):
+ 
+         This is reimplemented to:
+ 
+-        - prevent inserting the hard line separator, which makes no sense in
+-          plain text
+-
+-        - prevent handling Undo and Redo, they work better via the menu actions
+-
+         - handle Tab and Backtab to change the indent
+ 
+         """
+-        if ev in (
+-                # avoid the line separator, makes no sense in plain text
+-                QKeySequence.InsertLineSeparator,
+-                # those can better be called via the menu actions, then they
+-                # work better
+-                QKeySequence.Undo,
+-                QKeySequence.Redo,
+-            ):
+-            return False
+         # handle Tab and Backtab
+         if ev.type() == QEvent.KeyPress:
+             cursor = self.textCursor()
+-- 
+2.38.1
+
diff --git a/srcpkgs/frescobaldi/template b/srcpkgs/frescobaldi/template
new file mode 100644
index 000000000000..e9874763b01a
--- /dev/null
+++ b/srcpkgs/frescobaldi/template
@@ -0,0 +1,20 @@
+# Template file for 'frescobaldi'
+pkgname=frescobaldi
+version=3.2
+revision=1
+build_style=python3-module
+make_check_target="check"
+hostmakedepends="python3-setuptools gettext"
+depends="python3-PyQt5 python3-PyQt5-svg poppler-qt5 portmidi
+ python3-cups python3-ly lilypond python3-qpageview"
+short_desc="Powerful, lightweight and easy to use LilyPond sheet music text editor"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://frescobaldi.org/"
+changelog="https://github.com/frescobaldi/frescobaldi/blob/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/frescobaldi/archive/v${version}.tar.gz"
+checksum=f7bb9b5f708f902f8f512ab6f0de1a6272d9e176f678027e576b06e5ceec8fe8
+
+pre_build() {
+	make -C linux
+}

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

* Re: [PR PATCH] [Updated] New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (19 preceding siblings ...)
  2022-12-26  2:52 ` [PR PATCH] [Updated] " dexgs
@ 2022-12-26 17:45 ` dexgs
  2022-12-26 19:42 ` dexgs
                   ` (19 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: dexgs @ 2022-12-26 17:45 UTC (permalink / raw)
  To: ml

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

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

https://github.com/dexgs/void-packages frescobaldi
https://github.com/void-linux/void-packages/pull/39374

New package: frescobaldi-3.2
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

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

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

From 0dc931b0c83df552dbe51244a14b7fffa8bbfb2c Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:16 -0400
Subject: [PATCH 1/4] New package: python3-ly-0.9.7

---
 srcpkgs/python3-ly/template | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/python3-ly/template

diff --git a/srcpkgs/python3-ly/template b/srcpkgs/python3-ly/template
new file mode 100644
index 000000000000..4cc0d2c5fdba
--- /dev/null
+++ b/srcpkgs/python3-ly/template
@@ -0,0 +1,13 @@
+# Template file for 'python3-ly'
+pkgname=python3-ly
+version=0.9.7
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Modules to parse, manipulate or create documents in LilyPond format"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/frescobaldi/python-ly"
+changelog="https://github.com/frescobaldi/python-ly/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-ly/python-ly-${version}.tar.gz"
+checksum=d4d2b68eb0ef8073200154247cc9bd91ed7fb2671ac966ef3d2853281c15d7a8

From 92f73df01d3afc057a52c89f7a15d1f7ab6ccda0 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:47 -0400
Subject: [PATCH 2/4] New package: python3-poppler-qt5-21.3.0

---
 srcpkgs/python3-poppler-qt5/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-poppler-qt5/template

diff --git a/srcpkgs/python3-poppler-qt5/template b/srcpkgs/python3-poppler-qt5/template
new file mode 100644
index 000000000000..7f9832182c55
--- /dev/null
+++ b/srcpkgs/python3-poppler-qt5/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-poppler-qt5'
+pkgname=python3-poppler-qt5
+version=21.3.0
+revision=1
+build_style=sip-build
+hostmakedepends="pkg-config qt5-devel poppler-qt5-devel
+ python3-PyQt-builder python3-PyQt5-devel python3-devel"
+makedepends="pkg-config qt5-devel poppler-qt5-devel
+ python3-PyQt5-devel python3-devel"
+depends="poppler-qt5 python3-PyQt5"
+short_desc="Python bindings for libpoppler-qt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="LGPL-3.0-or-later"
+homepage="https://github.com/frescobaldi/python-poppler-qt5"
+changelog="https://github.com/frescobaldi/python-poppler-qt5/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-poppler-qt5/python-poppler-qt5-${version}.tar.gz"
+checksum=b477e8841f0ea0e09fdab6f2f305cf38df977d9e142e5693a374605d75dd6fe0

From 10e16ef4a942a9dcdd818d772043e013dedce446 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:12 -0400
Subject: [PATCH 3/4] New package: python3-qpageview-0.6.2

---
 srcpkgs/python3-qpageview/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/python3-qpageview/template

diff --git a/srcpkgs/python3-qpageview/template b/srcpkgs/python3-qpageview/template
new file mode 100644
index 000000000000..8be10f520d00
--- /dev/null
+++ b/srcpkgs/python3-qpageview/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-qpageview'
+pkgname=python3-qpageview
+version=0.6.2
+revision=1
+build_style=python3-module
+makedepends="qt5-devel python3-PyQt5-devel python3-PyQt5-svg"
+depends="qt5 python3-PyQt5-svg python3-poppler-qt5"
+short_desc="Page based document viewer widget for Qt5/PyQt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://qpageview.org/"
+changelog="https://raw.githubusercontent.com/frescobaldi/qpageview/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/qpageview/archive/v${version}.tar.gz"
+checksum=5ac3140396f11b15d6438ce34d5ce77f8b7e76f7dcd4c0439c85740d9e5d3674

From d45568ba8142ca57ad5d6cd0830ce03f87b46db8 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:51 -0400
Subject: [PATCH 4/4] New package: frescobaldi-3.2

---
 ...r-when-treating-Type-as-QKeySequence.patch | 60 +++++++++++++++++++
 srcpkgs/frescobaldi/template                  | 20 +++++++
 2 files changed, 80 insertions(+)
 create mode 100644 srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
 create mode 100644 srcpkgs/frescobaldi/template

diff --git a/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch b/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
new file mode 100644
index 000000000000..a5b74f33bede
--- /dev/null
+++ b/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
@@ -0,0 +1,60 @@
+From ac002d5534c57f2e2f86fbde0ece166a90c4b7e0 Mon Sep 17 00:00:00 2001
+From: Dexter Gaon-Shatford <dexter@gaonshatford.ca>
+Date: Fri, 11 Nov 2022 15:23:41 -0500
+Subject: [PATCH] fix: TypeError when treating Type as QKeySequence
+
+Removed code which treats instances of QEvent.Type as QKeySequence as
+they result in a TypeError on Python 3.11
+---
+ frescobaldi_app/search/__init__.py |  6 +-----
+ frescobaldi_app/view.py            | 14 --------------
+ 2 files changed, 1 insertion(+), 19 deletions(-)
+
+diff --git a/frescobaldi_app/search/__init__.py b/frescobaldi_app/search/__init__.py
+index ea184506..448c2d3a 100644
+--- a/frescobaldi_app/search/__init__.py
++++ b/frescobaldi_app/search/__init__.py
+@@ -357,11 +357,7 @@ class Search(plugin.MainWindowPlugin, QWidget):
+ 
+     def event(self, ev):
+         """Reimplemented to catch F1 for help and Tab so it does not reach the View."""
+-        if ev == QKeySequence.HelpContents:
+-            userguide.show("search_replace")
+-            ev.accept()
+-            return True
+-        elif ev.type() == QEvent.KeyPress:
++        if ev.type() == QEvent.KeyPress:
+             modifiers = int(ev.modifiers() & (Qt.SHIFT | Qt.CTRL | Qt.ALT | Qt.META))
+             if ev.key() == Qt.Key_Tab and modifiers == 0:
+                 # prevent Tab from reaching the View widget
+diff --git a/frescobaldi_app/view.py b/frescobaldi_app/view.py
+index 245847b2..69de7330 100644
+--- a/frescobaldi_app/view.py
++++ b/frescobaldi_app/view.py
+@@ -86,23 +86,9 @@ class View(QPlainTextEdit):
+ 
+         This is reimplemented to:
+ 
+-        - prevent inserting the hard line separator, which makes no sense in
+-          plain text
+-
+-        - prevent handling Undo and Redo, they work better via the menu actions
+-
+         - handle Tab and Backtab to change the indent
+ 
+         """
+-        if ev in (
+-                # avoid the line separator, makes no sense in plain text
+-                QKeySequence.InsertLineSeparator,
+-                # those can better be called via the menu actions, then they
+-                # work better
+-                QKeySequence.Undo,
+-                QKeySequence.Redo,
+-            ):
+-            return False
+         # handle Tab and Backtab
+         if ev.type() == QEvent.KeyPress:
+             cursor = self.textCursor()
+-- 
+2.38.1
+
diff --git a/srcpkgs/frescobaldi/template b/srcpkgs/frescobaldi/template
new file mode 100644
index 000000000000..e9874763b01a
--- /dev/null
+++ b/srcpkgs/frescobaldi/template
@@ -0,0 +1,20 @@
+# Template file for 'frescobaldi'
+pkgname=frescobaldi
+version=3.2
+revision=1
+build_style=python3-module
+make_check_target="check"
+hostmakedepends="python3-setuptools gettext"
+depends="python3-PyQt5 python3-PyQt5-svg poppler-qt5 portmidi
+ python3-cups python3-ly lilypond python3-qpageview"
+short_desc="Powerful, lightweight and easy to use LilyPond sheet music text editor"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://frescobaldi.org/"
+changelog="https://github.com/frescobaldi/frescobaldi/blob/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/frescobaldi/archive/v${version}.tar.gz"
+checksum=f7bb9b5f708f902f8f512ab6f0de1a6272d9e176f678027e576b06e5ceec8fe8
+
+pre_build() {
+	make -C linux
+}

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

* Re: [PR PATCH] [Updated] New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (20 preceding siblings ...)
  2022-12-26 17:45 ` dexgs
@ 2022-12-26 19:42 ` dexgs
  2022-12-26 19:44 ` dexgs
                   ` (18 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: dexgs @ 2022-12-26 19:42 UTC (permalink / raw)
  To: ml

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

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

https://github.com/dexgs/void-packages frescobaldi
https://github.com/void-linux/void-packages/pull/39374

New package: frescobaldi-3.2
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

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

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

From a49272d73505621724274885bbde249c7626c603 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:16 -0400
Subject: [PATCH 1/4] New package: python3-ly-0.9.7

---
 srcpkgs/python3-ly/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-ly/template

diff --git a/srcpkgs/python3-ly/template b/srcpkgs/python3-ly/template
new file mode 100644
index 000000000000..c173c38979f7
--- /dev/null
+++ b/srcpkgs/python3-ly/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-ly'
+pkgname=python3-ly
+version=0.9.7
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Modules to parse, manipulate or create documents in LilyPond format"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/frescobaldi/python-ly"
+changelog="https://github.com/frescobaldi/python-ly/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-ly/python-ly-${version}.tar.gz"
+checksum=d4d2b68eb0ef8073200154247cc9bd91ed7fb2671ac966ef3d2853281c15d7a8
+
+do_check() {
+    exit 0
+}

From f21ea817afc2fd795e77331511ee012a7352bbff Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:47 -0400
Subject: [PATCH 2/4] New package: python3-poppler-qt5-21.3.0

---
 srcpkgs/python3-poppler-qt5/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-poppler-qt5/template

diff --git a/srcpkgs/python3-poppler-qt5/template b/srcpkgs/python3-poppler-qt5/template
new file mode 100644
index 000000000000..7f9832182c55
--- /dev/null
+++ b/srcpkgs/python3-poppler-qt5/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-poppler-qt5'
+pkgname=python3-poppler-qt5
+version=21.3.0
+revision=1
+build_style=sip-build
+hostmakedepends="pkg-config qt5-devel poppler-qt5-devel
+ python3-PyQt-builder python3-PyQt5-devel python3-devel"
+makedepends="pkg-config qt5-devel poppler-qt5-devel
+ python3-PyQt5-devel python3-devel"
+depends="poppler-qt5 python3-PyQt5"
+short_desc="Python bindings for libpoppler-qt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="LGPL-3.0-or-later"
+homepage="https://github.com/frescobaldi/python-poppler-qt5"
+changelog="https://github.com/frescobaldi/python-poppler-qt5/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-poppler-qt5/python-poppler-qt5-${version}.tar.gz"
+checksum=b477e8841f0ea0e09fdab6f2f305cf38df977d9e142e5693a374605d75dd6fe0

From c41049888050150f1f505209f5037a9650c83741 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:12 -0400
Subject: [PATCH 3/4] New package: python3-qpageview-0.6.2

---
 srcpkgs/python3-qpageview/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/python3-qpageview/template

diff --git a/srcpkgs/python3-qpageview/template b/srcpkgs/python3-qpageview/template
new file mode 100644
index 000000000000..8be10f520d00
--- /dev/null
+++ b/srcpkgs/python3-qpageview/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-qpageview'
+pkgname=python3-qpageview
+version=0.6.2
+revision=1
+build_style=python3-module
+makedepends="qt5-devel python3-PyQt5-devel python3-PyQt5-svg"
+depends="qt5 python3-PyQt5-svg python3-poppler-qt5"
+short_desc="Page based document viewer widget for Qt5/PyQt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://qpageview.org/"
+changelog="https://raw.githubusercontent.com/frescobaldi/qpageview/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/qpageview/archive/v${version}.tar.gz"
+checksum=5ac3140396f11b15d6438ce34d5ce77f8b7e76f7dcd4c0439c85740d9e5d3674

From d8a519260c73129cc65c1de42d13eb3efc964a22 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:51 -0400
Subject: [PATCH 4/4] New package: frescobaldi-3.2

---
 ...r-when-treating-Type-as-QKeySequence.patch | 60 +++++++++++++++++++
 srcpkgs/frescobaldi/template                  | 20 +++++++
 2 files changed, 80 insertions(+)
 create mode 100644 srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
 create mode 100644 srcpkgs/frescobaldi/template

diff --git a/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch b/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
new file mode 100644
index 000000000000..a5b74f33bede
--- /dev/null
+++ b/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
@@ -0,0 +1,60 @@
+From ac002d5534c57f2e2f86fbde0ece166a90c4b7e0 Mon Sep 17 00:00:00 2001
+From: Dexter Gaon-Shatford <dexter@gaonshatford.ca>
+Date: Fri, 11 Nov 2022 15:23:41 -0500
+Subject: [PATCH] fix: TypeError when treating Type as QKeySequence
+
+Removed code which treats instances of QEvent.Type as QKeySequence as
+they result in a TypeError on Python 3.11
+---
+ frescobaldi_app/search/__init__.py |  6 +-----
+ frescobaldi_app/view.py            | 14 --------------
+ 2 files changed, 1 insertion(+), 19 deletions(-)
+
+diff --git a/frescobaldi_app/search/__init__.py b/frescobaldi_app/search/__init__.py
+index ea184506..448c2d3a 100644
+--- a/frescobaldi_app/search/__init__.py
++++ b/frescobaldi_app/search/__init__.py
+@@ -357,11 +357,7 @@ class Search(plugin.MainWindowPlugin, QWidget):
+ 
+     def event(self, ev):
+         """Reimplemented to catch F1 for help and Tab so it does not reach the View."""
+-        if ev == QKeySequence.HelpContents:
+-            userguide.show("search_replace")
+-            ev.accept()
+-            return True
+-        elif ev.type() == QEvent.KeyPress:
++        if ev.type() == QEvent.KeyPress:
+             modifiers = int(ev.modifiers() & (Qt.SHIFT | Qt.CTRL | Qt.ALT | Qt.META))
+             if ev.key() == Qt.Key_Tab and modifiers == 0:
+                 # prevent Tab from reaching the View widget
+diff --git a/frescobaldi_app/view.py b/frescobaldi_app/view.py
+index 245847b2..69de7330 100644
+--- a/frescobaldi_app/view.py
++++ b/frescobaldi_app/view.py
+@@ -86,23 +86,9 @@ class View(QPlainTextEdit):
+ 
+         This is reimplemented to:
+ 
+-        - prevent inserting the hard line separator, which makes no sense in
+-          plain text
+-
+-        - prevent handling Undo and Redo, they work better via the menu actions
+-
+         - handle Tab and Backtab to change the indent
+ 
+         """
+-        if ev in (
+-                # avoid the line separator, makes no sense in plain text
+-                QKeySequence.InsertLineSeparator,
+-                # those can better be called via the menu actions, then they
+-                # work better
+-                QKeySequence.Undo,
+-                QKeySequence.Redo,
+-            ):
+-            return False
+         # handle Tab and Backtab
+         if ev.type() == QEvent.KeyPress:
+             cursor = self.textCursor()
+-- 
+2.38.1
+
diff --git a/srcpkgs/frescobaldi/template b/srcpkgs/frescobaldi/template
new file mode 100644
index 000000000000..e9874763b01a
--- /dev/null
+++ b/srcpkgs/frescobaldi/template
@@ -0,0 +1,20 @@
+# Template file for 'frescobaldi'
+pkgname=frescobaldi
+version=3.2
+revision=1
+build_style=python3-module
+make_check_target="check"
+hostmakedepends="python3-setuptools gettext"
+depends="python3-PyQt5 python3-PyQt5-svg poppler-qt5 portmidi
+ python3-cups python3-ly lilypond python3-qpageview"
+short_desc="Powerful, lightweight and easy to use LilyPond sheet music text editor"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://frescobaldi.org/"
+changelog="https://github.com/frescobaldi/frescobaldi/blob/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/frescobaldi/archive/v${version}.tar.gz"
+checksum=f7bb9b5f708f902f8f512ab6f0de1a6272d9e176f678027e576b06e5ceec8fe8
+
+pre_build() {
+	make -C linux
+}

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

* Re: [PR PATCH] [Updated] New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (21 preceding siblings ...)
  2022-12-26 19:42 ` dexgs
@ 2022-12-26 19:44 ` dexgs
  2022-12-26 20:43 ` dexgs
                   ` (17 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: dexgs @ 2022-12-26 19:44 UTC (permalink / raw)
  To: ml

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

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

https://github.com/dexgs/void-packages frescobaldi
https://github.com/void-linux/void-packages/pull/39374

New package: frescobaldi-3.2
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

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

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

From 422ef5b15a4564ac8c39b989a4dba1eb6d56575c Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:16 -0400
Subject: [PATCH 1/4] New package: python3-ly-0.9.7

---
 srcpkgs/python3-ly/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-ly/template

diff --git a/srcpkgs/python3-ly/template b/srcpkgs/python3-ly/template
new file mode 100644
index 000000000000..a03907908343
--- /dev/null
+++ b/srcpkgs/python3-ly/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-ly'
+pkgname=python3-ly
+version=0.9.7
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Modules to parse, manipulate or create documents in LilyPond format"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/frescobaldi/python-ly"
+changelog="https://github.com/frescobaldi/python-ly/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-ly/python-ly-${version}.tar.gz"
+checksum=d4d2b68eb0ef8073200154247cc9bd91ed7fb2671ac966ef3d2853281c15d7a8
+
+do_check() {
+	exit 0
+}

From 50c19f86f6fcca52e5c02530fb0ae1290634ee2d Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:47 -0400
Subject: [PATCH 2/4] New package: python3-poppler-qt5-21.3.0

---
 srcpkgs/python3-poppler-qt5/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-poppler-qt5/template

diff --git a/srcpkgs/python3-poppler-qt5/template b/srcpkgs/python3-poppler-qt5/template
new file mode 100644
index 000000000000..7f9832182c55
--- /dev/null
+++ b/srcpkgs/python3-poppler-qt5/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-poppler-qt5'
+pkgname=python3-poppler-qt5
+version=21.3.0
+revision=1
+build_style=sip-build
+hostmakedepends="pkg-config qt5-devel poppler-qt5-devel
+ python3-PyQt-builder python3-PyQt5-devel python3-devel"
+makedepends="pkg-config qt5-devel poppler-qt5-devel
+ python3-PyQt5-devel python3-devel"
+depends="poppler-qt5 python3-PyQt5"
+short_desc="Python bindings for libpoppler-qt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="LGPL-3.0-or-later"
+homepage="https://github.com/frescobaldi/python-poppler-qt5"
+changelog="https://github.com/frescobaldi/python-poppler-qt5/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-poppler-qt5/python-poppler-qt5-${version}.tar.gz"
+checksum=b477e8841f0ea0e09fdab6f2f305cf38df977d9e142e5693a374605d75dd6fe0

From bac20d11c1271e0099cf81a000c6fdf4fdebc162 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:12 -0400
Subject: [PATCH 3/4] New package: python3-qpageview-0.6.2

---
 srcpkgs/python3-qpageview/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/python3-qpageview/template

diff --git a/srcpkgs/python3-qpageview/template b/srcpkgs/python3-qpageview/template
new file mode 100644
index 000000000000..8be10f520d00
--- /dev/null
+++ b/srcpkgs/python3-qpageview/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-qpageview'
+pkgname=python3-qpageview
+version=0.6.2
+revision=1
+build_style=python3-module
+makedepends="qt5-devel python3-PyQt5-devel python3-PyQt5-svg"
+depends="qt5 python3-PyQt5-svg python3-poppler-qt5"
+short_desc="Page based document viewer widget for Qt5/PyQt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://qpageview.org/"
+changelog="https://raw.githubusercontent.com/frescobaldi/qpageview/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/qpageview/archive/v${version}.tar.gz"
+checksum=5ac3140396f11b15d6438ce34d5ce77f8b7e76f7dcd4c0439c85740d9e5d3674

From ae3b7d623b9b098f117ccd07b1f24de703e24569 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:51 -0400
Subject: [PATCH 4/4] New package: frescobaldi-3.2

---
 ...r-when-treating-Type-as-QKeySequence.patch | 60 +++++++++++++++++++
 srcpkgs/frescobaldi/template                  | 20 +++++++
 2 files changed, 80 insertions(+)
 create mode 100644 srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
 create mode 100644 srcpkgs/frescobaldi/template

diff --git a/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch b/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
new file mode 100644
index 000000000000..a5b74f33bede
--- /dev/null
+++ b/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
@@ -0,0 +1,60 @@
+From ac002d5534c57f2e2f86fbde0ece166a90c4b7e0 Mon Sep 17 00:00:00 2001
+From: Dexter Gaon-Shatford <dexter@gaonshatford.ca>
+Date: Fri, 11 Nov 2022 15:23:41 -0500
+Subject: [PATCH] fix: TypeError when treating Type as QKeySequence
+
+Removed code which treats instances of QEvent.Type as QKeySequence as
+they result in a TypeError on Python 3.11
+---
+ frescobaldi_app/search/__init__.py |  6 +-----
+ frescobaldi_app/view.py            | 14 --------------
+ 2 files changed, 1 insertion(+), 19 deletions(-)
+
+diff --git a/frescobaldi_app/search/__init__.py b/frescobaldi_app/search/__init__.py
+index ea184506..448c2d3a 100644
+--- a/frescobaldi_app/search/__init__.py
++++ b/frescobaldi_app/search/__init__.py
+@@ -357,11 +357,7 @@ class Search(plugin.MainWindowPlugin, QWidget):
+ 
+     def event(self, ev):
+         """Reimplemented to catch F1 for help and Tab so it does not reach the View."""
+-        if ev == QKeySequence.HelpContents:
+-            userguide.show("search_replace")
+-            ev.accept()
+-            return True
+-        elif ev.type() == QEvent.KeyPress:
++        if ev.type() == QEvent.KeyPress:
+             modifiers = int(ev.modifiers() & (Qt.SHIFT | Qt.CTRL | Qt.ALT | Qt.META))
+             if ev.key() == Qt.Key_Tab and modifiers == 0:
+                 # prevent Tab from reaching the View widget
+diff --git a/frescobaldi_app/view.py b/frescobaldi_app/view.py
+index 245847b2..69de7330 100644
+--- a/frescobaldi_app/view.py
++++ b/frescobaldi_app/view.py
+@@ -86,23 +86,9 @@ class View(QPlainTextEdit):
+ 
+         This is reimplemented to:
+ 
+-        - prevent inserting the hard line separator, which makes no sense in
+-          plain text
+-
+-        - prevent handling Undo and Redo, they work better via the menu actions
+-
+         - handle Tab and Backtab to change the indent
+ 
+         """
+-        if ev in (
+-                # avoid the line separator, makes no sense in plain text
+-                QKeySequence.InsertLineSeparator,
+-                # those can better be called via the menu actions, then they
+-                # work better
+-                QKeySequence.Undo,
+-                QKeySequence.Redo,
+-            ):
+-            return False
+         # handle Tab and Backtab
+         if ev.type() == QEvent.KeyPress:
+             cursor = self.textCursor()
+-- 
+2.38.1
+
diff --git a/srcpkgs/frescobaldi/template b/srcpkgs/frescobaldi/template
new file mode 100644
index 000000000000..e9874763b01a
--- /dev/null
+++ b/srcpkgs/frescobaldi/template
@@ -0,0 +1,20 @@
+# Template file for 'frescobaldi'
+pkgname=frescobaldi
+version=3.2
+revision=1
+build_style=python3-module
+make_check_target="check"
+hostmakedepends="python3-setuptools gettext"
+depends="python3-PyQt5 python3-PyQt5-svg poppler-qt5 portmidi
+ python3-cups python3-ly lilypond python3-qpageview"
+short_desc="Powerful, lightweight and easy to use LilyPond sheet music text editor"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://frescobaldi.org/"
+changelog="https://github.com/frescobaldi/frescobaldi/blob/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/frescobaldi/archive/v${version}.tar.gz"
+checksum=f7bb9b5f708f902f8f512ab6f0de1a6272d9e176f678027e576b06e5ceec8fe8
+
+pre_build() {
+	make -C linux
+}

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

* Re: [PR PATCH] [Updated] New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (22 preceding siblings ...)
  2022-12-26 19:44 ` dexgs
@ 2022-12-26 20:43 ` dexgs
  2022-12-27  2:01 ` dexgs
                   ` (16 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: dexgs @ 2022-12-26 20:43 UTC (permalink / raw)
  To: ml

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

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

https://github.com/dexgs/void-packages frescobaldi
https://github.com/void-linux/void-packages/pull/39374

New package: frescobaldi-3.2
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

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

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

From 422ef5b15a4564ac8c39b989a4dba1eb6d56575c Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:16 -0400
Subject: [PATCH 1/4] New package: python3-ly-0.9.7

---
 srcpkgs/python3-ly/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-ly/template

diff --git a/srcpkgs/python3-ly/template b/srcpkgs/python3-ly/template
new file mode 100644
index 000000000000..a03907908343
--- /dev/null
+++ b/srcpkgs/python3-ly/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-ly'
+pkgname=python3-ly
+version=0.9.7
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Modules to parse, manipulate or create documents in LilyPond format"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/frescobaldi/python-ly"
+changelog="https://github.com/frescobaldi/python-ly/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-ly/python-ly-${version}.tar.gz"
+checksum=d4d2b68eb0ef8073200154247cc9bd91ed7fb2671ac966ef3d2853281c15d7a8
+
+do_check() {
+	exit 0
+}

From 50c19f86f6fcca52e5c02530fb0ae1290634ee2d Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:47 -0400
Subject: [PATCH 2/4] New package: python3-poppler-qt5-21.3.0

---
 srcpkgs/python3-poppler-qt5/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-poppler-qt5/template

diff --git a/srcpkgs/python3-poppler-qt5/template b/srcpkgs/python3-poppler-qt5/template
new file mode 100644
index 000000000000..7f9832182c55
--- /dev/null
+++ b/srcpkgs/python3-poppler-qt5/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-poppler-qt5'
+pkgname=python3-poppler-qt5
+version=21.3.0
+revision=1
+build_style=sip-build
+hostmakedepends="pkg-config qt5-devel poppler-qt5-devel
+ python3-PyQt-builder python3-PyQt5-devel python3-devel"
+makedepends="pkg-config qt5-devel poppler-qt5-devel
+ python3-PyQt5-devel python3-devel"
+depends="poppler-qt5 python3-PyQt5"
+short_desc="Python bindings for libpoppler-qt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="LGPL-3.0-or-later"
+homepage="https://github.com/frescobaldi/python-poppler-qt5"
+changelog="https://github.com/frescobaldi/python-poppler-qt5/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-poppler-qt5/python-poppler-qt5-${version}.tar.gz"
+checksum=b477e8841f0ea0e09fdab6f2f305cf38df977d9e142e5693a374605d75dd6fe0

From a32b2deaf69ee26e2e1a87516e13a111115c0b4d Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:12 -0400
Subject: [PATCH 3/4] New package: python3-qpageview-0.6.2

---
 srcpkgs/python3-qpageview/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/python3-qpageview/template

diff --git a/srcpkgs/python3-qpageview/template b/srcpkgs/python3-qpageview/template
new file mode 100644
index 000000000000..cec096e20cd7
--- /dev/null
+++ b/srcpkgs/python3-qpageview/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-qpageview'
+pkgname=python3-qpageview
+version=0.6.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3"
+makedepends="qt5-devel python3-PyQt5-devel python3-PyQt5-svg"
+depends="qt5 python3-PyQt5-svg python3-poppler-qt5"
+short_desc="Page based document viewer widget for Qt5/PyQt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://qpageview.org/"
+changelog="https://raw.githubusercontent.com/frescobaldi/qpageview/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/qpageview/archive/v${version}.tar.gz"
+checksum=5ac3140396f11b15d6438ce34d5ce77f8b7e76f7dcd4c0439c85740d9e5d3674

From 117d9fa29994a2bdf8e8692f311f9e00f86ff488 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:51 -0400
Subject: [PATCH 4/4] New package: frescobaldi-3.2

---
 ...r-when-treating-Type-as-QKeySequence.patch | 60 +++++++++++++++++++
 srcpkgs/frescobaldi/template                  | 20 +++++++
 2 files changed, 80 insertions(+)
 create mode 100644 srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
 create mode 100644 srcpkgs/frescobaldi/template

diff --git a/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch b/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
new file mode 100644
index 000000000000..a5b74f33bede
--- /dev/null
+++ b/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
@@ -0,0 +1,60 @@
+From ac002d5534c57f2e2f86fbde0ece166a90c4b7e0 Mon Sep 17 00:00:00 2001
+From: Dexter Gaon-Shatford <dexter@gaonshatford.ca>
+Date: Fri, 11 Nov 2022 15:23:41 -0500
+Subject: [PATCH] fix: TypeError when treating Type as QKeySequence
+
+Removed code which treats instances of QEvent.Type as QKeySequence as
+they result in a TypeError on Python 3.11
+---
+ frescobaldi_app/search/__init__.py |  6 +-----
+ frescobaldi_app/view.py            | 14 --------------
+ 2 files changed, 1 insertion(+), 19 deletions(-)
+
+diff --git a/frescobaldi_app/search/__init__.py b/frescobaldi_app/search/__init__.py
+index ea184506..448c2d3a 100644
+--- a/frescobaldi_app/search/__init__.py
++++ b/frescobaldi_app/search/__init__.py
+@@ -357,11 +357,7 @@ class Search(plugin.MainWindowPlugin, QWidget):
+ 
+     def event(self, ev):
+         """Reimplemented to catch F1 for help and Tab so it does not reach the View."""
+-        if ev == QKeySequence.HelpContents:
+-            userguide.show("search_replace")
+-            ev.accept()
+-            return True
+-        elif ev.type() == QEvent.KeyPress:
++        if ev.type() == QEvent.KeyPress:
+             modifiers = int(ev.modifiers() & (Qt.SHIFT | Qt.CTRL | Qt.ALT | Qt.META))
+             if ev.key() == Qt.Key_Tab and modifiers == 0:
+                 # prevent Tab from reaching the View widget
+diff --git a/frescobaldi_app/view.py b/frescobaldi_app/view.py
+index 245847b2..69de7330 100644
+--- a/frescobaldi_app/view.py
++++ b/frescobaldi_app/view.py
+@@ -86,23 +86,9 @@ class View(QPlainTextEdit):
+ 
+         This is reimplemented to:
+ 
+-        - prevent inserting the hard line separator, which makes no sense in
+-          plain text
+-
+-        - prevent handling Undo and Redo, they work better via the menu actions
+-
+         - handle Tab and Backtab to change the indent
+ 
+         """
+-        if ev in (
+-                # avoid the line separator, makes no sense in plain text
+-                QKeySequence.InsertLineSeparator,
+-                # those can better be called via the menu actions, then they
+-                # work better
+-                QKeySequence.Undo,
+-                QKeySequence.Redo,
+-            ):
+-            return False
+         # handle Tab and Backtab
+         if ev.type() == QEvent.KeyPress:
+             cursor = self.textCursor()
+-- 
+2.38.1
+
diff --git a/srcpkgs/frescobaldi/template b/srcpkgs/frescobaldi/template
new file mode 100644
index 000000000000..e9874763b01a
--- /dev/null
+++ b/srcpkgs/frescobaldi/template
@@ -0,0 +1,20 @@
+# Template file for 'frescobaldi'
+pkgname=frescobaldi
+version=3.2
+revision=1
+build_style=python3-module
+make_check_target="check"
+hostmakedepends="python3-setuptools gettext"
+depends="python3-PyQt5 python3-PyQt5-svg poppler-qt5 portmidi
+ python3-cups python3-ly lilypond python3-qpageview"
+short_desc="Powerful, lightweight and easy to use LilyPond sheet music text editor"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://frescobaldi.org/"
+changelog="https://github.com/frescobaldi/frescobaldi/blob/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/frescobaldi/archive/v${version}.tar.gz"
+checksum=f7bb9b5f708f902f8f512ab6f0de1a6272d9e176f678027e576b06e5ceec8fe8
+
+pre_build() {
+	make -C linux
+}

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

* Re: [PR PATCH] [Updated] New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (23 preceding siblings ...)
  2022-12-26 20:43 ` dexgs
@ 2022-12-27  2:01 ` dexgs
  2022-12-27  2:08 ` dexgs
                   ` (15 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: dexgs @ 2022-12-27  2:01 UTC (permalink / raw)
  To: ml

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

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

https://github.com/dexgs/void-packages frescobaldi
https://github.com/void-linux/void-packages/pull/39374

New package: frescobaldi-3.2
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

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

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

From 422ef5b15a4564ac8c39b989a4dba1eb6d56575c Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:16 -0400
Subject: [PATCH 1/4] New package: python3-ly-0.9.7

---
 srcpkgs/python3-ly/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-ly/template

diff --git a/srcpkgs/python3-ly/template b/srcpkgs/python3-ly/template
new file mode 100644
index 000000000000..a03907908343
--- /dev/null
+++ b/srcpkgs/python3-ly/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-ly'
+pkgname=python3-ly
+version=0.9.7
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Modules to parse, manipulate or create documents in LilyPond format"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/frescobaldi/python-ly"
+changelog="https://github.com/frescobaldi/python-ly/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-ly/python-ly-${version}.tar.gz"
+checksum=d4d2b68eb0ef8073200154247cc9bd91ed7fb2671ac966ef3d2853281c15d7a8
+
+do_check() {
+	exit 0
+}

From 50c19f86f6fcca52e5c02530fb0ae1290634ee2d Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:47 -0400
Subject: [PATCH 2/4] New package: python3-poppler-qt5-21.3.0

---
 srcpkgs/python3-poppler-qt5/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-poppler-qt5/template

diff --git a/srcpkgs/python3-poppler-qt5/template b/srcpkgs/python3-poppler-qt5/template
new file mode 100644
index 000000000000..7f9832182c55
--- /dev/null
+++ b/srcpkgs/python3-poppler-qt5/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-poppler-qt5'
+pkgname=python3-poppler-qt5
+version=21.3.0
+revision=1
+build_style=sip-build
+hostmakedepends="pkg-config qt5-devel poppler-qt5-devel
+ python3-PyQt-builder python3-PyQt5-devel python3-devel"
+makedepends="pkg-config qt5-devel poppler-qt5-devel
+ python3-PyQt5-devel python3-devel"
+depends="poppler-qt5 python3-PyQt5"
+short_desc="Python bindings for libpoppler-qt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="LGPL-3.0-or-later"
+homepage="https://github.com/frescobaldi/python-poppler-qt5"
+changelog="https://github.com/frescobaldi/python-poppler-qt5/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-poppler-qt5/python-poppler-qt5-${version}.tar.gz"
+checksum=b477e8841f0ea0e09fdab6f2f305cf38df977d9e142e5693a374605d75dd6fe0

From 5c177daba03d3adbf72d6be04fd8dfdd7c001074 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:12 -0400
Subject: [PATCH 3/4] New package: python3-qpageview-0.6.2

---
 srcpkgs/python3-qpageview/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/python3-qpageview/template

diff --git a/srcpkgs/python3-qpageview/template b/srcpkgs/python3-qpageview/template
new file mode 100644
index 000000000000..9570c90e8ea9
--- /dev/null
+++ b/srcpkgs/python3-qpageview/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-qpageview'
+pkgname=python3-qpageview
+version=0.6.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3 python3-PyQt5-svg"
+makedepends="qt5-devel python3-PyQt5-devel"
+depends="qt5 python3-PyQt5-svg python3-poppler-qt5"
+short_desc="Page based document viewer widget for Qt5/PyQt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://qpageview.org/"
+changelog="https://raw.githubusercontent.com/frescobaldi/qpageview/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/qpageview/archive/v${version}.tar.gz"
+checksum=5ac3140396f11b15d6438ce34d5ce77f8b7e76f7dcd4c0439c85740d9e5d3674

From 6ce11abd9606849f6670727136419ec67cd13403 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:51 -0400
Subject: [PATCH 4/4] New package: frescobaldi-3.2

---
 ...r-when-treating-Type-as-QKeySequence.patch | 60 +++++++++++++++++++
 srcpkgs/frescobaldi/template                  | 20 +++++++
 2 files changed, 80 insertions(+)
 create mode 100644 srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
 create mode 100644 srcpkgs/frescobaldi/template

diff --git a/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch b/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
new file mode 100644
index 000000000000..a5b74f33bede
--- /dev/null
+++ b/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
@@ -0,0 +1,60 @@
+From ac002d5534c57f2e2f86fbde0ece166a90c4b7e0 Mon Sep 17 00:00:00 2001
+From: Dexter Gaon-Shatford <dexter@gaonshatford.ca>
+Date: Fri, 11 Nov 2022 15:23:41 -0500
+Subject: [PATCH] fix: TypeError when treating Type as QKeySequence
+
+Removed code which treats instances of QEvent.Type as QKeySequence as
+they result in a TypeError on Python 3.11
+---
+ frescobaldi_app/search/__init__.py |  6 +-----
+ frescobaldi_app/view.py            | 14 --------------
+ 2 files changed, 1 insertion(+), 19 deletions(-)
+
+diff --git a/frescobaldi_app/search/__init__.py b/frescobaldi_app/search/__init__.py
+index ea184506..448c2d3a 100644
+--- a/frescobaldi_app/search/__init__.py
++++ b/frescobaldi_app/search/__init__.py
+@@ -357,11 +357,7 @@ class Search(plugin.MainWindowPlugin, QWidget):
+ 
+     def event(self, ev):
+         """Reimplemented to catch F1 for help and Tab so it does not reach the View."""
+-        if ev == QKeySequence.HelpContents:
+-            userguide.show("search_replace")
+-            ev.accept()
+-            return True
+-        elif ev.type() == QEvent.KeyPress:
++        if ev.type() == QEvent.KeyPress:
+             modifiers = int(ev.modifiers() & (Qt.SHIFT | Qt.CTRL | Qt.ALT | Qt.META))
+             if ev.key() == Qt.Key_Tab and modifiers == 0:
+                 # prevent Tab from reaching the View widget
+diff --git a/frescobaldi_app/view.py b/frescobaldi_app/view.py
+index 245847b2..69de7330 100644
+--- a/frescobaldi_app/view.py
++++ b/frescobaldi_app/view.py
+@@ -86,23 +86,9 @@ class View(QPlainTextEdit):
+ 
+         This is reimplemented to:
+ 
+-        - prevent inserting the hard line separator, which makes no sense in
+-          plain text
+-
+-        - prevent handling Undo and Redo, they work better via the menu actions
+-
+         - handle Tab and Backtab to change the indent
+ 
+         """
+-        if ev in (
+-                # avoid the line separator, makes no sense in plain text
+-                QKeySequence.InsertLineSeparator,
+-                # those can better be called via the menu actions, then they
+-                # work better
+-                QKeySequence.Undo,
+-                QKeySequence.Redo,
+-            ):
+-            return False
+         # handle Tab and Backtab
+         if ev.type() == QEvent.KeyPress:
+             cursor = self.textCursor()
+-- 
+2.38.1
+
diff --git a/srcpkgs/frescobaldi/template b/srcpkgs/frescobaldi/template
new file mode 100644
index 000000000000..e9874763b01a
--- /dev/null
+++ b/srcpkgs/frescobaldi/template
@@ -0,0 +1,20 @@
+# Template file for 'frescobaldi'
+pkgname=frescobaldi
+version=3.2
+revision=1
+build_style=python3-module
+make_check_target="check"
+hostmakedepends="python3-setuptools gettext"
+depends="python3-PyQt5 python3-PyQt5-svg poppler-qt5 portmidi
+ python3-cups python3-ly lilypond python3-qpageview"
+short_desc="Powerful, lightweight and easy to use LilyPond sheet music text editor"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://frescobaldi.org/"
+changelog="https://github.com/frescobaldi/frescobaldi/blob/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/frescobaldi/archive/v${version}.tar.gz"
+checksum=f7bb9b5f708f902f8f512ab6f0de1a6272d9e176f678027e576b06e5ceec8fe8
+
+pre_build() {
+	make -C linux
+}

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

* Re: [PR PATCH] [Updated] New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (24 preceding siblings ...)
  2022-12-27  2:01 ` dexgs
@ 2022-12-27  2:08 ` dexgs
  2022-12-27  2:17 ` dexgs
                   ` (14 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: dexgs @ 2022-12-27  2:08 UTC (permalink / raw)
  To: ml

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

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

https://github.com/dexgs/void-packages frescobaldi
https://github.com/void-linux/void-packages/pull/39374

New package: frescobaldi-3.2
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

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

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

From 422ef5b15a4564ac8c39b989a4dba1eb6d56575c Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:16 -0400
Subject: [PATCH 1/4] New package: python3-ly-0.9.7

---
 srcpkgs/python3-ly/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-ly/template

diff --git a/srcpkgs/python3-ly/template b/srcpkgs/python3-ly/template
new file mode 100644
index 000000000000..a03907908343
--- /dev/null
+++ b/srcpkgs/python3-ly/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-ly'
+pkgname=python3-ly
+version=0.9.7
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Modules to parse, manipulate or create documents in LilyPond format"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/frescobaldi/python-ly"
+changelog="https://github.com/frescobaldi/python-ly/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-ly/python-ly-${version}.tar.gz"
+checksum=d4d2b68eb0ef8073200154247cc9bd91ed7fb2671ac966ef3d2853281c15d7a8
+
+do_check() {
+	exit 0
+}

From 50c19f86f6fcca52e5c02530fb0ae1290634ee2d Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:47 -0400
Subject: [PATCH 2/4] New package: python3-poppler-qt5-21.3.0

---
 srcpkgs/python3-poppler-qt5/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-poppler-qt5/template

diff --git a/srcpkgs/python3-poppler-qt5/template b/srcpkgs/python3-poppler-qt5/template
new file mode 100644
index 000000000000..7f9832182c55
--- /dev/null
+++ b/srcpkgs/python3-poppler-qt5/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-poppler-qt5'
+pkgname=python3-poppler-qt5
+version=21.3.0
+revision=1
+build_style=sip-build
+hostmakedepends="pkg-config qt5-devel poppler-qt5-devel
+ python3-PyQt-builder python3-PyQt5-devel python3-devel"
+makedepends="pkg-config qt5-devel poppler-qt5-devel
+ python3-PyQt5-devel python3-devel"
+depends="poppler-qt5 python3-PyQt5"
+short_desc="Python bindings for libpoppler-qt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="LGPL-3.0-or-later"
+homepage="https://github.com/frescobaldi/python-poppler-qt5"
+changelog="https://github.com/frescobaldi/python-poppler-qt5/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-poppler-qt5/python-poppler-qt5-${version}.tar.gz"
+checksum=b477e8841f0ea0e09fdab6f2f305cf38df977d9e142e5693a374605d75dd6fe0

From 1d590f34ec22d0df4588b635b89bd57ad491f054 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:12 -0400
Subject: [PATCH 3/4] New package: python3-qpageview-0.6.2

---
 srcpkgs/python3-qpageview/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/python3-qpageview/template

diff --git a/srcpkgs/python3-qpageview/template b/srcpkgs/python3-qpageview/template
new file mode 100644
index 000000000000..0f1afc24a0c5
--- /dev/null
+++ b/srcpkgs/python3-qpageview/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-qpageview'
+pkgname=python3-qpageview
+version=0.6.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-PyQt5-svg"
+makedepends="qt5-devel python3-PyQt5-devel"
+depends="qt5 python3-PyQt5-svg python3-poppler-qt5"
+short_desc="Page based document viewer widget for Qt5/PyQt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://qpageview.org/"
+changelog="https://raw.githubusercontent.com/frescobaldi/qpageview/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/qpageview/archive/v${version}.tar.gz"
+checksum=5ac3140396f11b15d6438ce34d5ce77f8b7e76f7dcd4c0439c85740d9e5d3674

From cc38efe380048f0a21af4a67940a3077ecf7e045 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:51 -0400
Subject: [PATCH 4/4] New package: frescobaldi-3.2

---
 ...r-when-treating-Type-as-QKeySequence.patch | 60 +++++++++++++++++++
 srcpkgs/frescobaldi/template                  | 20 +++++++
 2 files changed, 80 insertions(+)
 create mode 100644 srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
 create mode 100644 srcpkgs/frescobaldi/template

diff --git a/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch b/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
new file mode 100644
index 000000000000..a5b74f33bede
--- /dev/null
+++ b/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
@@ -0,0 +1,60 @@
+From ac002d5534c57f2e2f86fbde0ece166a90c4b7e0 Mon Sep 17 00:00:00 2001
+From: Dexter Gaon-Shatford <dexter@gaonshatford.ca>
+Date: Fri, 11 Nov 2022 15:23:41 -0500
+Subject: [PATCH] fix: TypeError when treating Type as QKeySequence
+
+Removed code which treats instances of QEvent.Type as QKeySequence as
+they result in a TypeError on Python 3.11
+---
+ frescobaldi_app/search/__init__.py |  6 +-----
+ frescobaldi_app/view.py            | 14 --------------
+ 2 files changed, 1 insertion(+), 19 deletions(-)
+
+diff --git a/frescobaldi_app/search/__init__.py b/frescobaldi_app/search/__init__.py
+index ea184506..448c2d3a 100644
+--- a/frescobaldi_app/search/__init__.py
++++ b/frescobaldi_app/search/__init__.py
+@@ -357,11 +357,7 @@ class Search(plugin.MainWindowPlugin, QWidget):
+ 
+     def event(self, ev):
+         """Reimplemented to catch F1 for help and Tab so it does not reach the View."""
+-        if ev == QKeySequence.HelpContents:
+-            userguide.show("search_replace")
+-            ev.accept()
+-            return True
+-        elif ev.type() == QEvent.KeyPress:
++        if ev.type() == QEvent.KeyPress:
+             modifiers = int(ev.modifiers() & (Qt.SHIFT | Qt.CTRL | Qt.ALT | Qt.META))
+             if ev.key() == Qt.Key_Tab and modifiers == 0:
+                 # prevent Tab from reaching the View widget
+diff --git a/frescobaldi_app/view.py b/frescobaldi_app/view.py
+index 245847b2..69de7330 100644
+--- a/frescobaldi_app/view.py
++++ b/frescobaldi_app/view.py
+@@ -86,23 +86,9 @@ class View(QPlainTextEdit):
+ 
+         This is reimplemented to:
+ 
+-        - prevent inserting the hard line separator, which makes no sense in
+-          plain text
+-
+-        - prevent handling Undo and Redo, they work better via the menu actions
+-
+         - handle Tab and Backtab to change the indent
+ 
+         """
+-        if ev in (
+-                # avoid the line separator, makes no sense in plain text
+-                QKeySequence.InsertLineSeparator,
+-                # those can better be called via the menu actions, then they
+-                # work better
+-                QKeySequence.Undo,
+-                QKeySequence.Redo,
+-            ):
+-            return False
+         # handle Tab and Backtab
+         if ev.type() == QEvent.KeyPress:
+             cursor = self.textCursor()
+-- 
+2.38.1
+
diff --git a/srcpkgs/frescobaldi/template b/srcpkgs/frescobaldi/template
new file mode 100644
index 000000000000..e9874763b01a
--- /dev/null
+++ b/srcpkgs/frescobaldi/template
@@ -0,0 +1,20 @@
+# Template file for 'frescobaldi'
+pkgname=frescobaldi
+version=3.2
+revision=1
+build_style=python3-module
+make_check_target="check"
+hostmakedepends="python3-setuptools gettext"
+depends="python3-PyQt5 python3-PyQt5-svg poppler-qt5 portmidi
+ python3-cups python3-ly lilypond python3-qpageview"
+short_desc="Powerful, lightweight and easy to use LilyPond sheet music text editor"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://frescobaldi.org/"
+changelog="https://github.com/frescobaldi/frescobaldi/blob/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/frescobaldi/archive/v${version}.tar.gz"
+checksum=f7bb9b5f708f902f8f512ab6f0de1a6272d9e176f678027e576b06e5ceec8fe8
+
+pre_build() {
+	make -C linux
+}

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

* Re: New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (25 preceding siblings ...)
  2022-12-27  2:08 ` dexgs
@ 2022-12-27  2:17 ` dexgs
  2023-01-03 14:58 ` [PR REVIEW] " sgn
                   ` (13 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: dexgs @ 2022-12-27  2:17 UTC (permalink / raw)
  To: ml

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

New comment by dexgs on void-packages repository

https://github.com/void-linux/void-packages/pull/39374#issuecomment-1365556953

Comment:
@sgn done

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

* Re: [PR REVIEW] New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (26 preceding siblings ...)
  2022-12-27  2:17 ` dexgs
@ 2023-01-03 14:58 ` sgn
  2023-01-03 14:58 ` sgn
                   ` (12 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: sgn @ 2023-01-03 14:58 UTC (permalink / raw)
  To: ml

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

New review comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/39374#discussion_r1060665185

Comment:
not done!

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

* Re: [PR REVIEW] New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (27 preceding siblings ...)
  2023-01-03 14:58 ` [PR REVIEW] " sgn
@ 2023-01-03 14:58 ` sgn
  2023-01-03 14:58 ` sgn
                   ` (11 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: sgn @ 2023-01-03 14:58 UTC (permalink / raw)
  To: ml

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

New review comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/39374#discussion_r1060664572

Comment:
?

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

* Re: [PR REVIEW] New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (28 preceding siblings ...)
  2023-01-03 14:58 ` sgn
@ 2023-01-03 14:58 ` sgn
  2023-01-03 16:05 ` [PR PATCH] [Updated] " dexgs
                   ` (10 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: sgn @ 2023-01-03 14:58 UTC (permalink / raw)
  To: ml

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

New review comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/39374#discussion_r1060664049

Comment:
`make_check=no`

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

* Re: [PR PATCH] [Updated] New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (29 preceding siblings ...)
  2023-01-03 14:58 ` sgn
@ 2023-01-03 16:05 ` dexgs
  2023-01-03 16:07 ` dexgs
                   ` (9 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: dexgs @ 2023-01-03 16:05 UTC (permalink / raw)
  To: ml

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

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

https://github.com/dexgs/void-packages frescobaldi
https://github.com/void-linux/void-packages/pull/39374

New package: frescobaldi-3.2
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

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

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

From 67da6f0d213ce4004544c9fb4866e417116d428f Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:16 -0400
Subject: [PATCH 1/4] New package: python3-ly-0.9.7

---
 srcpkgs/python3-ly/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-ly/template

diff --git a/srcpkgs/python3-ly/template b/srcpkgs/python3-ly/template
new file mode 100644
index 000000000000..f3a36aeda42b
--- /dev/null
+++ b/srcpkgs/python3-ly/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-ly'
+pkgname=python3-ly
+version=0.9.7
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Modules to parse, manipulate or create documents in LilyPond format"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/frescobaldi/python-ly"
+changelog="https://github.com/frescobaldi/python-ly/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-ly/python-ly-${version}.tar.gz"
+checksum=d4d2b68eb0ef8073200154247cc9bd91ed7fb2671ac966ef3d2853281c15d7a8
+
+# The source is distributed *without* any tests and the test runner fails, so
+# disabling the check stage solves the problem.
+make_check=no

From d2a0fc2b97f633a6ca547dcaffa8cfa1b448cb51 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:47 -0400
Subject: [PATCH 2/4] New package: python3-poppler-qt5-21.3.0

---
 srcpkgs/python3-poppler-qt5/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-poppler-qt5/template

diff --git a/srcpkgs/python3-poppler-qt5/template b/srcpkgs/python3-poppler-qt5/template
new file mode 100644
index 000000000000..d95c8cf2fb91
--- /dev/null
+++ b/srcpkgs/python3-poppler-qt5/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-poppler-qt5'
+pkgname=python3-poppler-qt5
+version=21.3.0
+revision=1
+build_style=sip-build
+hostmakedepends="pkg-config qt5-devel poppler-qt5-devel
+ python3-PyQt-builder python3-PyQt5-devel python3-devel"
+makedepends="pkg-config qt5-devel poppler-qt5-devel
+ python3-PyQt5-devel python3-devel"
+depends="poppler-qt5 python3-PyQt5"
+short_desc="Python bindings for libpoppler-qt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="LGPL-2.1-or-later"
+homepage="https://github.com/frescobaldi/python-poppler-qt5"
+changelog="https://github.com/frescobaldi/python-poppler-qt5/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-poppler-qt5/python-poppler-qt5-${version}.tar.gz"
+checksum=b477e8841f0ea0e09fdab6f2f305cf38df977d9e142e5693a374605d75dd6fe0

From bfce2815ec23c48fa4c6427b57fd3d6597a45f9c Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:12 -0400
Subject: [PATCH 3/4] New package: python3-qpageview-0.6.2

---
 srcpkgs/python3-qpageview/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/python3-qpageview/template

diff --git a/srcpkgs/python3-qpageview/template b/srcpkgs/python3-qpageview/template
new file mode 100644
index 000000000000..0f1afc24a0c5
--- /dev/null
+++ b/srcpkgs/python3-qpageview/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-qpageview'
+pkgname=python3-qpageview
+version=0.6.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-PyQt5-svg"
+makedepends="qt5-devel python3-PyQt5-devel"
+depends="qt5 python3-PyQt5-svg python3-poppler-qt5"
+short_desc="Page based document viewer widget for Qt5/PyQt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://qpageview.org/"
+changelog="https://raw.githubusercontent.com/frescobaldi/qpageview/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/qpageview/archive/v${version}.tar.gz"
+checksum=5ac3140396f11b15d6438ce34d5ce77f8b7e76f7dcd4c0439c85740d9e5d3674

From a1f8c807c4685e3c96f0cd793118ade0bafc9156 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:51 -0400
Subject: [PATCH 4/4] New package: frescobaldi-3.2

---
 ...r-when-treating-Type-as-QKeySequence.patch | 60 +++++++++++++++++++
 srcpkgs/frescobaldi/template                  | 20 +++++++
 2 files changed, 80 insertions(+)
 create mode 100644 srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
 create mode 100644 srcpkgs/frescobaldi/template

diff --git a/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch b/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
new file mode 100644
index 000000000000..a5b74f33bede
--- /dev/null
+++ b/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
@@ -0,0 +1,60 @@
+From ac002d5534c57f2e2f86fbde0ece166a90c4b7e0 Mon Sep 17 00:00:00 2001
+From: Dexter Gaon-Shatford <dexter@gaonshatford.ca>
+Date: Fri, 11 Nov 2022 15:23:41 -0500
+Subject: [PATCH] fix: TypeError when treating Type as QKeySequence
+
+Removed code which treats instances of QEvent.Type as QKeySequence as
+they result in a TypeError on Python 3.11
+---
+ frescobaldi_app/search/__init__.py |  6 +-----
+ frescobaldi_app/view.py            | 14 --------------
+ 2 files changed, 1 insertion(+), 19 deletions(-)
+
+diff --git a/frescobaldi_app/search/__init__.py b/frescobaldi_app/search/__init__.py
+index ea184506..448c2d3a 100644
+--- a/frescobaldi_app/search/__init__.py
++++ b/frescobaldi_app/search/__init__.py
+@@ -357,11 +357,7 @@ class Search(plugin.MainWindowPlugin, QWidget):
+ 
+     def event(self, ev):
+         """Reimplemented to catch F1 for help and Tab so it does not reach the View."""
+-        if ev == QKeySequence.HelpContents:
+-            userguide.show("search_replace")
+-            ev.accept()
+-            return True
+-        elif ev.type() == QEvent.KeyPress:
++        if ev.type() == QEvent.KeyPress:
+             modifiers = int(ev.modifiers() & (Qt.SHIFT | Qt.CTRL | Qt.ALT | Qt.META))
+             if ev.key() == Qt.Key_Tab and modifiers == 0:
+                 # prevent Tab from reaching the View widget
+diff --git a/frescobaldi_app/view.py b/frescobaldi_app/view.py
+index 245847b2..69de7330 100644
+--- a/frescobaldi_app/view.py
++++ b/frescobaldi_app/view.py
+@@ -86,23 +86,9 @@ class View(QPlainTextEdit):
+ 
+         This is reimplemented to:
+ 
+-        - prevent inserting the hard line separator, which makes no sense in
+-          plain text
+-
+-        - prevent handling Undo and Redo, they work better via the menu actions
+-
+         - handle Tab and Backtab to change the indent
+ 
+         """
+-        if ev in (
+-                # avoid the line separator, makes no sense in plain text
+-                QKeySequence.InsertLineSeparator,
+-                # those can better be called via the menu actions, then they
+-                # work better
+-                QKeySequence.Undo,
+-                QKeySequence.Redo,
+-            ):
+-            return False
+         # handle Tab and Backtab
+         if ev.type() == QEvent.KeyPress:
+             cursor = self.textCursor()
+-- 
+2.38.1
+
diff --git a/srcpkgs/frescobaldi/template b/srcpkgs/frescobaldi/template
new file mode 100644
index 000000000000..e9874763b01a
--- /dev/null
+++ b/srcpkgs/frescobaldi/template
@@ -0,0 +1,20 @@
+# Template file for 'frescobaldi'
+pkgname=frescobaldi
+version=3.2
+revision=1
+build_style=python3-module
+make_check_target="check"
+hostmakedepends="python3-setuptools gettext"
+depends="python3-PyQt5 python3-PyQt5-svg poppler-qt5 portmidi
+ python3-cups python3-ly lilypond python3-qpageview"
+short_desc="Powerful, lightweight and easy to use LilyPond sheet music text editor"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://frescobaldi.org/"
+changelog="https://github.com/frescobaldi/frescobaldi/blob/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/frescobaldi/archive/v${version}.tar.gz"
+checksum=f7bb9b5f708f902f8f512ab6f0de1a6272d9e176f678027e576b06e5ceec8fe8
+
+pre_build() {
+	make -C linux
+}

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

* Re: [PR PATCH] [Updated] New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (30 preceding siblings ...)
  2023-01-03 16:05 ` [PR PATCH] [Updated] " dexgs
@ 2023-01-03 16:07 ` dexgs
  2023-01-04 15:10 ` dexgs
                   ` (8 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: dexgs @ 2023-01-03 16:07 UTC (permalink / raw)
  To: ml

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

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

https://github.com/dexgs/void-packages frescobaldi
https://github.com/void-linux/void-packages/pull/39374

New package: frescobaldi-3.2
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

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

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

From 67da6f0d213ce4004544c9fb4866e417116d428f Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:16 -0400
Subject: [PATCH 1/4] New package: python3-ly-0.9.7

---
 srcpkgs/python3-ly/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-ly/template

diff --git a/srcpkgs/python3-ly/template b/srcpkgs/python3-ly/template
new file mode 100644
index 000000000000..f3a36aeda42b
--- /dev/null
+++ b/srcpkgs/python3-ly/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-ly'
+pkgname=python3-ly
+version=0.9.7
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Modules to parse, manipulate or create documents in LilyPond format"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/frescobaldi/python-ly"
+changelog="https://github.com/frescobaldi/python-ly/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-ly/python-ly-${version}.tar.gz"
+checksum=d4d2b68eb0ef8073200154247cc9bd91ed7fb2671ac966ef3d2853281c15d7a8
+
+# The source is distributed *without* any tests and the test runner fails, so
+# disabling the check stage solves the problem.
+make_check=no

From d2a0fc2b97f633a6ca547dcaffa8cfa1b448cb51 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:47 -0400
Subject: [PATCH 2/4] New package: python3-poppler-qt5-21.3.0

---
 srcpkgs/python3-poppler-qt5/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-poppler-qt5/template

diff --git a/srcpkgs/python3-poppler-qt5/template b/srcpkgs/python3-poppler-qt5/template
new file mode 100644
index 000000000000..d95c8cf2fb91
--- /dev/null
+++ b/srcpkgs/python3-poppler-qt5/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-poppler-qt5'
+pkgname=python3-poppler-qt5
+version=21.3.0
+revision=1
+build_style=sip-build
+hostmakedepends="pkg-config qt5-devel poppler-qt5-devel
+ python3-PyQt-builder python3-PyQt5-devel python3-devel"
+makedepends="pkg-config qt5-devel poppler-qt5-devel
+ python3-PyQt5-devel python3-devel"
+depends="poppler-qt5 python3-PyQt5"
+short_desc="Python bindings for libpoppler-qt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="LGPL-2.1-or-later"
+homepage="https://github.com/frescobaldi/python-poppler-qt5"
+changelog="https://github.com/frescobaldi/python-poppler-qt5/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-poppler-qt5/python-poppler-qt5-${version}.tar.gz"
+checksum=b477e8841f0ea0e09fdab6f2f305cf38df977d9e142e5693a374605d75dd6fe0

From 249b5df23065c3a516e93ebd6e674f62a707be41 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:12 -0400
Subject: [PATCH 3/4] New package: python3-qpageview-0.6.2

---
 srcpkgs/python3-qpageview/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/python3-qpageview/template

diff --git a/srcpkgs/python3-qpageview/template b/srcpkgs/python3-qpageview/template
new file mode 100644
index 000000000000..e9e6335a67fa
--- /dev/null
+++ b/srcpkgs/python3-qpageview/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-qpageview'
+pkgname=python3-qpageview
+version=0.6.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-PyQt5-svg"
+makedepends="qt5-devel python3-PyQt5-devel"
+depends="python3-PyQt5-svg python3-poppler-qt5"
+short_desc="Page based document viewer widget for Qt5/PyQt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://qpageview.org/"
+changelog="https://raw.githubusercontent.com/frescobaldi/qpageview/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/qpageview/archive/v${version}.tar.gz"
+checksum=5ac3140396f11b15d6438ce34d5ce77f8b7e76f7dcd4c0439c85740d9e5d3674

From d785cac5e5efb97310e50910a2fbdce9fda6d3bf Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:51 -0400
Subject: [PATCH 4/4] New package: frescobaldi-3.2

---
 ...r-when-treating-Type-as-QKeySequence.patch | 60 +++++++++++++++++++
 srcpkgs/frescobaldi/template                  | 20 +++++++
 2 files changed, 80 insertions(+)
 create mode 100644 srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
 create mode 100644 srcpkgs/frescobaldi/template

diff --git a/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch b/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
new file mode 100644
index 000000000000..a5b74f33bede
--- /dev/null
+++ b/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
@@ -0,0 +1,60 @@
+From ac002d5534c57f2e2f86fbde0ece166a90c4b7e0 Mon Sep 17 00:00:00 2001
+From: Dexter Gaon-Shatford <dexter@gaonshatford.ca>
+Date: Fri, 11 Nov 2022 15:23:41 -0500
+Subject: [PATCH] fix: TypeError when treating Type as QKeySequence
+
+Removed code which treats instances of QEvent.Type as QKeySequence as
+they result in a TypeError on Python 3.11
+---
+ frescobaldi_app/search/__init__.py |  6 +-----
+ frescobaldi_app/view.py            | 14 --------------
+ 2 files changed, 1 insertion(+), 19 deletions(-)
+
+diff --git a/frescobaldi_app/search/__init__.py b/frescobaldi_app/search/__init__.py
+index ea184506..448c2d3a 100644
+--- a/frescobaldi_app/search/__init__.py
++++ b/frescobaldi_app/search/__init__.py
+@@ -357,11 +357,7 @@ class Search(plugin.MainWindowPlugin, QWidget):
+ 
+     def event(self, ev):
+         """Reimplemented to catch F1 for help and Tab so it does not reach the View."""
+-        if ev == QKeySequence.HelpContents:
+-            userguide.show("search_replace")
+-            ev.accept()
+-            return True
+-        elif ev.type() == QEvent.KeyPress:
++        if ev.type() == QEvent.KeyPress:
+             modifiers = int(ev.modifiers() & (Qt.SHIFT | Qt.CTRL | Qt.ALT | Qt.META))
+             if ev.key() == Qt.Key_Tab and modifiers == 0:
+                 # prevent Tab from reaching the View widget
+diff --git a/frescobaldi_app/view.py b/frescobaldi_app/view.py
+index 245847b2..69de7330 100644
+--- a/frescobaldi_app/view.py
++++ b/frescobaldi_app/view.py
+@@ -86,23 +86,9 @@ class View(QPlainTextEdit):
+ 
+         This is reimplemented to:
+ 
+-        - prevent inserting the hard line separator, which makes no sense in
+-          plain text
+-
+-        - prevent handling Undo and Redo, they work better via the menu actions
+-
+         - handle Tab and Backtab to change the indent
+ 
+         """
+-        if ev in (
+-                # avoid the line separator, makes no sense in plain text
+-                QKeySequence.InsertLineSeparator,
+-                # those can better be called via the menu actions, then they
+-                # work better
+-                QKeySequence.Undo,
+-                QKeySequence.Redo,
+-            ):
+-            return False
+         # handle Tab and Backtab
+         if ev.type() == QEvent.KeyPress:
+             cursor = self.textCursor()
+-- 
+2.38.1
+
diff --git a/srcpkgs/frescobaldi/template b/srcpkgs/frescobaldi/template
new file mode 100644
index 000000000000..e9874763b01a
--- /dev/null
+++ b/srcpkgs/frescobaldi/template
@@ -0,0 +1,20 @@
+# Template file for 'frescobaldi'
+pkgname=frescobaldi
+version=3.2
+revision=1
+build_style=python3-module
+make_check_target="check"
+hostmakedepends="python3-setuptools gettext"
+depends="python3-PyQt5 python3-PyQt5-svg poppler-qt5 portmidi
+ python3-cups python3-ly lilypond python3-qpageview"
+short_desc="Powerful, lightweight and easy to use LilyPond sheet music text editor"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://frescobaldi.org/"
+changelog="https://github.com/frescobaldi/frescobaldi/blob/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/frescobaldi/archive/v${version}.tar.gz"
+checksum=f7bb9b5f708f902f8f512ab6f0de1a6272d9e176f678027e576b06e5ceec8fe8
+
+pre_build() {
+	make -C linux
+}

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

* Re: New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (31 preceding siblings ...)
  2023-01-03 16:07 ` dexgs
@ 2023-01-04 15:10 ` dexgs
  2023-03-08  0:18 ` [PR REVIEW] " sgn
                   ` (7 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: dexgs @ 2023-01-04 15:10 UTC (permalink / raw)
  To: ml

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

New comment by dexgs on void-packages repository

https://github.com/void-linux/void-packages/pull/39374#issuecomment-1371051118

Comment:
okay, the requested changes I missed before are now done as well.

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

* Re: [PR REVIEW] New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (32 preceding siblings ...)
  2023-01-04 15:10 ` dexgs
@ 2023-03-08  0:18 ` sgn
  2023-03-08 14:13 ` [PR PATCH] [Updated] " dexgs
                   ` (6 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: sgn @ 2023-03-08  0:18 UTC (permalink / raw)
  To: ml

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

New review comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/39374#discussion_r1128783193

Comment:
No `pkg-config` in `makedepends`

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

* Re: [PR PATCH] [Updated] New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (33 preceding siblings ...)
  2023-03-08  0:18 ` [PR REVIEW] " sgn
@ 2023-03-08 14:13 ` dexgs
  2023-03-08 14:15 ` dexgs
                   ` (5 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: dexgs @ 2023-03-08 14:13 UTC (permalink / raw)
  To: ml

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

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

https://github.com/dexgs/void-packages frescobaldi
https://github.com/void-linux/void-packages/pull/39374

New package: frescobaldi-3.2
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

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

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

From 00880dab89d0664997e3849b54b62489151dc3e5 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:16 -0400
Subject: [PATCH 1/4] New package: python3-ly-0.9.7

---
 srcpkgs/python3-ly/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-ly/template

diff --git a/srcpkgs/python3-ly/template b/srcpkgs/python3-ly/template
new file mode 100644
index 000000000000..f3a36aeda42b
--- /dev/null
+++ b/srcpkgs/python3-ly/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-ly'
+pkgname=python3-ly
+version=0.9.7
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Modules to parse, manipulate or create documents in LilyPond format"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/frescobaldi/python-ly"
+changelog="https://github.com/frescobaldi/python-ly/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-ly/python-ly-${version}.tar.gz"
+checksum=d4d2b68eb0ef8073200154247cc9bd91ed7fb2671ac966ef3d2853281c15d7a8
+
+# The source is distributed *without* any tests and the test runner fails, so
+# disabling the check stage solves the problem.
+make_check=no

From 1cdae588e6a03f160366bc8033b596c87dd03455 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:47 -0400
Subject: [PATCH 2/4] New package: python3-poppler-qt5-21.3.0

---
 srcpkgs/python3-poppler-qt5/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-poppler-qt5/template

diff --git a/srcpkgs/python3-poppler-qt5/template b/srcpkgs/python3-poppler-qt5/template
new file mode 100644
index 000000000000..ed68aa6c0d2a
--- /dev/null
+++ b/srcpkgs/python3-poppler-qt5/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-poppler-qt5'
+pkgname=python3-poppler-qt5
+version=21.3.0
+revision=1
+wrksrc="python-poppler-qt5-${version}"
+build_style=sip-build
+hostmakedepends="pkg-config qt5-devel poppler-qt5-devel
+ python3-PyQt-builder python3-PyQt5-devel python3-devel"
+makedepends="qt5-devel poppler-qt5-devel
+ python3-PyQt5-devel python3-devel"
+depends="poppler-qt5 python3-PyQt5"
+short_desc="Python bindings for libpoppler-qt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="LGPL-3.0-or-later"
+homepage="https://github.com/frescobaldi/python-poppler-qt5"
+changelog="https://github.com/frescobaldi/python-poppler-qt5/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-poppler-qt5/python-poppler-qt5-${version}.tar.gz"
+checksum=b477e8841f0ea0e09fdab6f2f305cf38df977d9e142e5693a374605d75dd6fe0

From 2e14ecf199efd48dbb5c41d98d411f38b6735946 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:12 -0400
Subject: [PATCH 3/4] New package: python3-qpageview-0.6.2

---
 srcpkgs/python3-qpageview/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/python3-qpageview/template

diff --git a/srcpkgs/python3-qpageview/template b/srcpkgs/python3-qpageview/template
new file mode 100644
index 000000000000..e9e6335a67fa
--- /dev/null
+++ b/srcpkgs/python3-qpageview/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-qpageview'
+pkgname=python3-qpageview
+version=0.6.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-PyQt5-svg"
+makedepends="qt5-devel python3-PyQt5-devel"
+depends="python3-PyQt5-svg python3-poppler-qt5"
+short_desc="Page based document viewer widget for Qt5/PyQt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://qpageview.org/"
+changelog="https://raw.githubusercontent.com/frescobaldi/qpageview/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/qpageview/archive/v${version}.tar.gz"
+checksum=5ac3140396f11b15d6438ce34d5ce77f8b7e76f7dcd4c0439c85740d9e5d3674

From 598d00efca531dfa35b230ed554ab60467771fa9 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:51 -0400
Subject: [PATCH 4/4] New package: frescobaldi-3.2

---
 ...r-when-treating-Type-as-QKeySequence.patch | 60 +++++++++++++++++++
 srcpkgs/frescobaldi/template                  | 20 +++++++
 2 files changed, 80 insertions(+)
 create mode 100644 srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
 create mode 100644 srcpkgs/frescobaldi/template

diff --git a/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch b/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
new file mode 100644
index 000000000000..a5b74f33bede
--- /dev/null
+++ b/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
@@ -0,0 +1,60 @@
+From ac002d5534c57f2e2f86fbde0ece166a90c4b7e0 Mon Sep 17 00:00:00 2001
+From: Dexter Gaon-Shatford <dexter@gaonshatford.ca>
+Date: Fri, 11 Nov 2022 15:23:41 -0500
+Subject: [PATCH] fix: TypeError when treating Type as QKeySequence
+
+Removed code which treats instances of QEvent.Type as QKeySequence as
+they result in a TypeError on Python 3.11
+---
+ frescobaldi_app/search/__init__.py |  6 +-----
+ frescobaldi_app/view.py            | 14 --------------
+ 2 files changed, 1 insertion(+), 19 deletions(-)
+
+diff --git a/frescobaldi_app/search/__init__.py b/frescobaldi_app/search/__init__.py
+index ea184506..448c2d3a 100644
+--- a/frescobaldi_app/search/__init__.py
++++ b/frescobaldi_app/search/__init__.py
+@@ -357,11 +357,7 @@ class Search(plugin.MainWindowPlugin, QWidget):
+ 
+     def event(self, ev):
+         """Reimplemented to catch F1 for help and Tab so it does not reach the View."""
+-        if ev == QKeySequence.HelpContents:
+-            userguide.show("search_replace")
+-            ev.accept()
+-            return True
+-        elif ev.type() == QEvent.KeyPress:
++        if ev.type() == QEvent.KeyPress:
+             modifiers = int(ev.modifiers() & (Qt.SHIFT | Qt.CTRL | Qt.ALT | Qt.META))
+             if ev.key() == Qt.Key_Tab and modifiers == 0:
+                 # prevent Tab from reaching the View widget
+diff --git a/frescobaldi_app/view.py b/frescobaldi_app/view.py
+index 245847b2..69de7330 100644
+--- a/frescobaldi_app/view.py
++++ b/frescobaldi_app/view.py
+@@ -86,23 +86,9 @@ class View(QPlainTextEdit):
+ 
+         This is reimplemented to:
+ 
+-        - prevent inserting the hard line separator, which makes no sense in
+-          plain text
+-
+-        - prevent handling Undo and Redo, they work better via the menu actions
+-
+         - handle Tab and Backtab to change the indent
+ 
+         """
+-        if ev in (
+-                # avoid the line separator, makes no sense in plain text
+-                QKeySequence.InsertLineSeparator,
+-                # those can better be called via the menu actions, then they
+-                # work better
+-                QKeySequence.Undo,
+-                QKeySequence.Redo,
+-            ):
+-            return False
+         # handle Tab and Backtab
+         if ev.type() == QEvent.KeyPress:
+             cursor = self.textCursor()
+-- 
+2.38.1
+
diff --git a/srcpkgs/frescobaldi/template b/srcpkgs/frescobaldi/template
new file mode 100644
index 000000000000..e9874763b01a
--- /dev/null
+++ b/srcpkgs/frescobaldi/template
@@ -0,0 +1,20 @@
+# Template file for 'frescobaldi'
+pkgname=frescobaldi
+version=3.2
+revision=1
+build_style=python3-module
+make_check_target="check"
+hostmakedepends="python3-setuptools gettext"
+depends="python3-PyQt5 python3-PyQt5-svg poppler-qt5 portmidi
+ python3-cups python3-ly lilypond python3-qpageview"
+short_desc="Powerful, lightweight and easy to use LilyPond sheet music text editor"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://frescobaldi.org/"
+changelog="https://github.com/frescobaldi/frescobaldi/blob/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/frescobaldi/archive/v${version}.tar.gz"
+checksum=f7bb9b5f708f902f8f512ab6f0de1a6272d9e176f678027e576b06e5ceec8fe8
+
+pre_build() {
+	make -C linux
+}

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

* Re: [PR PATCH] [Updated] New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (34 preceding siblings ...)
  2023-03-08 14:13 ` [PR PATCH] [Updated] " dexgs
@ 2023-03-08 14:15 ` dexgs
  2023-03-08 14:25 ` [PR REVIEW] " dexgs
                   ` (4 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: dexgs @ 2023-03-08 14:15 UTC (permalink / raw)
  To: ml

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

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

https://github.com/dexgs/void-packages frescobaldi
https://github.com/void-linux/void-packages/pull/39374

New package: frescobaldi-3.2
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

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

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

From 00880dab89d0664997e3849b54b62489151dc3e5 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:16 -0400
Subject: [PATCH 1/4] New package: python3-ly-0.9.7

---
 srcpkgs/python3-ly/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-ly/template

diff --git a/srcpkgs/python3-ly/template b/srcpkgs/python3-ly/template
new file mode 100644
index 000000000000..f3a36aeda42b
--- /dev/null
+++ b/srcpkgs/python3-ly/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-ly'
+pkgname=python3-ly
+version=0.9.7
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Modules to parse, manipulate or create documents in LilyPond format"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/frescobaldi/python-ly"
+changelog="https://github.com/frescobaldi/python-ly/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-ly/python-ly-${version}.tar.gz"
+checksum=d4d2b68eb0ef8073200154247cc9bd91ed7fb2671ac966ef3d2853281c15d7a8
+
+# The source is distributed *without* any tests and the test runner fails, so
+# disabling the check stage solves the problem.
+make_check=no

From 5d0d908da687280ff2f9873f6f96037398a82d05 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:47 -0400
Subject: [PATCH 2/4] New package: python3-poppler-qt5-21.3.0

---
 srcpkgs/python3-poppler-qt5/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-poppler-qt5/template

diff --git a/srcpkgs/python3-poppler-qt5/template b/srcpkgs/python3-poppler-qt5/template
new file mode 100644
index 000000000000..c56fb3d55f61
--- /dev/null
+++ b/srcpkgs/python3-poppler-qt5/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-poppler-qt5'
+pkgname=python3-poppler-qt5
+version=21.3.0
+revision=1
+build_style=sip-build
+hostmakedepends="pkg-config qt5-devel poppler-qt5-devel
+ python3-PyQt-builder python3-PyQt5-devel python3-devel"
+makedepends="qt5-devel poppler-qt5-devel
+ python3-PyQt5-devel python3-devel"
+depends="poppler-qt5 python3-PyQt5"
+short_desc="Python bindings for libpoppler-qt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="LGPL-3.0-or-later"
+homepage="https://github.com/frescobaldi/python-poppler-qt5"
+changelog="https://github.com/frescobaldi/python-poppler-qt5/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-poppler-qt5/python-poppler-qt5-${version}.tar.gz"
+checksum=b477e8841f0ea0e09fdab6f2f305cf38df977d9e142e5693a374605d75dd6fe0

From 605cf6b73192f367665751f4436321dd3ce37760 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:12 -0400
Subject: [PATCH 3/4] New package: python3-qpageview-0.6.2

---
 srcpkgs/python3-qpageview/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/python3-qpageview/template

diff --git a/srcpkgs/python3-qpageview/template b/srcpkgs/python3-qpageview/template
new file mode 100644
index 000000000000..e9e6335a67fa
--- /dev/null
+++ b/srcpkgs/python3-qpageview/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-qpageview'
+pkgname=python3-qpageview
+version=0.6.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-PyQt5-svg"
+makedepends="qt5-devel python3-PyQt5-devel"
+depends="python3-PyQt5-svg python3-poppler-qt5"
+short_desc="Page based document viewer widget for Qt5/PyQt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://qpageview.org/"
+changelog="https://raw.githubusercontent.com/frescobaldi/qpageview/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/qpageview/archive/v${version}.tar.gz"
+checksum=5ac3140396f11b15d6438ce34d5ce77f8b7e76f7dcd4c0439c85740d9e5d3674

From e37a83ea493569b22bd79739ebba65885a1bdb0e Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:51 -0400
Subject: [PATCH 4/4] New package: frescobaldi-3.2

---
 ...r-when-treating-Type-as-QKeySequence.patch | 60 +++++++++++++++++++
 srcpkgs/frescobaldi/template                  | 20 +++++++
 2 files changed, 80 insertions(+)
 create mode 100644 srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
 create mode 100644 srcpkgs/frescobaldi/template

diff --git a/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch b/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
new file mode 100644
index 000000000000..a5b74f33bede
--- /dev/null
+++ b/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
@@ -0,0 +1,60 @@
+From ac002d5534c57f2e2f86fbde0ece166a90c4b7e0 Mon Sep 17 00:00:00 2001
+From: Dexter Gaon-Shatford <dexter@gaonshatford.ca>
+Date: Fri, 11 Nov 2022 15:23:41 -0500
+Subject: [PATCH] fix: TypeError when treating Type as QKeySequence
+
+Removed code which treats instances of QEvent.Type as QKeySequence as
+they result in a TypeError on Python 3.11
+---
+ frescobaldi_app/search/__init__.py |  6 +-----
+ frescobaldi_app/view.py            | 14 --------------
+ 2 files changed, 1 insertion(+), 19 deletions(-)
+
+diff --git a/frescobaldi_app/search/__init__.py b/frescobaldi_app/search/__init__.py
+index ea184506..448c2d3a 100644
+--- a/frescobaldi_app/search/__init__.py
++++ b/frescobaldi_app/search/__init__.py
+@@ -357,11 +357,7 @@ class Search(plugin.MainWindowPlugin, QWidget):
+ 
+     def event(self, ev):
+         """Reimplemented to catch F1 for help and Tab so it does not reach the View."""
+-        if ev == QKeySequence.HelpContents:
+-            userguide.show("search_replace")
+-            ev.accept()
+-            return True
+-        elif ev.type() == QEvent.KeyPress:
++        if ev.type() == QEvent.KeyPress:
+             modifiers = int(ev.modifiers() & (Qt.SHIFT | Qt.CTRL | Qt.ALT | Qt.META))
+             if ev.key() == Qt.Key_Tab and modifiers == 0:
+                 # prevent Tab from reaching the View widget
+diff --git a/frescobaldi_app/view.py b/frescobaldi_app/view.py
+index 245847b2..69de7330 100644
+--- a/frescobaldi_app/view.py
++++ b/frescobaldi_app/view.py
+@@ -86,23 +86,9 @@ class View(QPlainTextEdit):
+ 
+         This is reimplemented to:
+ 
+-        - prevent inserting the hard line separator, which makes no sense in
+-          plain text
+-
+-        - prevent handling Undo and Redo, they work better via the menu actions
+-
+         - handle Tab and Backtab to change the indent
+ 
+         """
+-        if ev in (
+-                # avoid the line separator, makes no sense in plain text
+-                QKeySequence.InsertLineSeparator,
+-                # those can better be called via the menu actions, then they
+-                # work better
+-                QKeySequence.Undo,
+-                QKeySequence.Redo,
+-            ):
+-            return False
+         # handle Tab and Backtab
+         if ev.type() == QEvent.KeyPress:
+             cursor = self.textCursor()
+-- 
+2.38.1
+
diff --git a/srcpkgs/frescobaldi/template b/srcpkgs/frescobaldi/template
new file mode 100644
index 000000000000..e9874763b01a
--- /dev/null
+++ b/srcpkgs/frescobaldi/template
@@ -0,0 +1,20 @@
+# Template file for 'frescobaldi'
+pkgname=frescobaldi
+version=3.2
+revision=1
+build_style=python3-module
+make_check_target="check"
+hostmakedepends="python3-setuptools gettext"
+depends="python3-PyQt5 python3-PyQt5-svg poppler-qt5 portmidi
+ python3-cups python3-ly lilypond python3-qpageview"
+short_desc="Powerful, lightweight and easy to use LilyPond sheet music text editor"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://frescobaldi.org/"
+changelog="https://github.com/frescobaldi/frescobaldi/blob/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/frescobaldi/archive/v${version}.tar.gz"
+checksum=f7bb9b5f708f902f8f512ab6f0de1a6272d9e176f678027e576b06e5ceec8fe8
+
+pre_build() {
+	make -C linux
+}

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

* Re: [PR REVIEW] New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (35 preceding siblings ...)
  2023-03-08 14:15 ` dexgs
@ 2023-03-08 14:25 ` dexgs
  2023-03-08 14:27 ` [PR PATCH] [Updated] " dexgs
                   ` (3 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: dexgs @ 2023-03-08 14:25 UTC (permalink / raw)
  To: ml

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

New review comment by dexgs on void-packages repository

https://github.com/void-linux/void-packages/pull/39374#discussion_r1129519612

Comment:
done

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

* Re: [PR PATCH] [Updated] New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (36 preceding siblings ...)
  2023-03-08 14:25 ` [PR REVIEW] " dexgs
@ 2023-03-08 14:27 ` dexgs
  2023-03-30 13:13 ` dexgs
                   ` (2 subsequent siblings)
  40 siblings, 0 replies; 42+ messages in thread
From: dexgs @ 2023-03-08 14:27 UTC (permalink / raw)
  To: ml

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

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

https://github.com/dexgs/void-packages frescobaldi
https://github.com/void-linux/void-packages/pull/39374

New package: frescobaldi-3.2
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

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

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

From 00880dab89d0664997e3849b54b62489151dc3e5 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:16 -0400
Subject: [PATCH 1/4] New package: python3-ly-0.9.7

---
 srcpkgs/python3-ly/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-ly/template

diff --git a/srcpkgs/python3-ly/template b/srcpkgs/python3-ly/template
new file mode 100644
index 000000000000..f3a36aeda42b
--- /dev/null
+++ b/srcpkgs/python3-ly/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-ly'
+pkgname=python3-ly
+version=0.9.7
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Modules to parse, manipulate or create documents in LilyPond format"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/frescobaldi/python-ly"
+changelog="https://github.com/frescobaldi/python-ly/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-ly/python-ly-${version}.tar.gz"
+checksum=d4d2b68eb0ef8073200154247cc9bd91ed7fb2671ac966ef3d2853281c15d7a8
+
+# The source is distributed *without* any tests and the test runner fails, so
+# disabling the check stage solves the problem.
+make_check=no

From a383b16881ace956ac42387826421ff2ec076640 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:47 -0400
Subject: [PATCH 2/4] New package: python3-poppler-qt5-21.3.0

---
 srcpkgs/python3-poppler-qt5/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-poppler-qt5/template

diff --git a/srcpkgs/python3-poppler-qt5/template b/srcpkgs/python3-poppler-qt5/template
new file mode 100644
index 000000000000..c6cf9db3c751
--- /dev/null
+++ b/srcpkgs/python3-poppler-qt5/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-poppler-qt5'
+pkgname=python3-poppler-qt5
+version=21.3.0
+revision=1
+build_style=sip-build
+hostmakedepends="pkg-config qt5-devel poppler-qt5-devel
+ python3-PyQt-builder python3-PyQt5-devel python3-devel"
+makedepends="qt5-devel poppler-qt5-devel
+ python3-PyQt5-devel python3-devel"
+depends="poppler-qt5 python3-PyQt5"
+short_desc="Python bindings for libpoppler-qt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="LGPL-2.1-or-later"
+homepage="https://github.com/frescobaldi/python-poppler-qt5"
+changelog="https://github.com/frescobaldi/python-poppler-qt5/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-poppler-qt5/python-poppler-qt5-${version}.tar.gz"
+checksum=b477e8841f0ea0e09fdab6f2f305cf38df977d9e142e5693a374605d75dd6fe0

From ed10f11a8334bc6e5d9931a54498d8971b39ad26 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:12 -0400
Subject: [PATCH 3/4] New package: python3-qpageview-0.6.2

---
 srcpkgs/python3-qpageview/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/python3-qpageview/template

diff --git a/srcpkgs/python3-qpageview/template b/srcpkgs/python3-qpageview/template
new file mode 100644
index 000000000000..e9e6335a67fa
--- /dev/null
+++ b/srcpkgs/python3-qpageview/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-qpageview'
+pkgname=python3-qpageview
+version=0.6.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-PyQt5-svg"
+makedepends="qt5-devel python3-PyQt5-devel"
+depends="python3-PyQt5-svg python3-poppler-qt5"
+short_desc="Page based document viewer widget for Qt5/PyQt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://qpageview.org/"
+changelog="https://raw.githubusercontent.com/frescobaldi/qpageview/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/qpageview/archive/v${version}.tar.gz"
+checksum=5ac3140396f11b15d6438ce34d5ce77f8b7e76f7dcd4c0439c85740d9e5d3674

From ef2ca8263bff7f13f31a1a973d31bb74281e9e8e Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:51 -0400
Subject: [PATCH 4/4] New package: frescobaldi-3.2

---
 ...r-when-treating-Type-as-QKeySequence.patch | 60 +++++++++++++++++++
 srcpkgs/frescobaldi/template                  | 20 +++++++
 2 files changed, 80 insertions(+)
 create mode 100644 srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
 create mode 100644 srcpkgs/frescobaldi/template

diff --git a/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch b/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
new file mode 100644
index 000000000000..a5b74f33bede
--- /dev/null
+++ b/srcpkgs/frescobaldi/patches/0001-fix-TypeError-when-treating-Type-as-QKeySequence.patch
@@ -0,0 +1,60 @@
+From ac002d5534c57f2e2f86fbde0ece166a90c4b7e0 Mon Sep 17 00:00:00 2001
+From: Dexter Gaon-Shatford <dexter@gaonshatford.ca>
+Date: Fri, 11 Nov 2022 15:23:41 -0500
+Subject: [PATCH] fix: TypeError when treating Type as QKeySequence
+
+Removed code which treats instances of QEvent.Type as QKeySequence as
+they result in a TypeError on Python 3.11
+---
+ frescobaldi_app/search/__init__.py |  6 +-----
+ frescobaldi_app/view.py            | 14 --------------
+ 2 files changed, 1 insertion(+), 19 deletions(-)
+
+diff --git a/frescobaldi_app/search/__init__.py b/frescobaldi_app/search/__init__.py
+index ea184506..448c2d3a 100644
+--- a/frescobaldi_app/search/__init__.py
++++ b/frescobaldi_app/search/__init__.py
+@@ -357,11 +357,7 @@ class Search(plugin.MainWindowPlugin, QWidget):
+ 
+     def event(self, ev):
+         """Reimplemented to catch F1 for help and Tab so it does not reach the View."""
+-        if ev == QKeySequence.HelpContents:
+-            userguide.show("search_replace")
+-            ev.accept()
+-            return True
+-        elif ev.type() == QEvent.KeyPress:
++        if ev.type() == QEvent.KeyPress:
+             modifiers = int(ev.modifiers() & (Qt.SHIFT | Qt.CTRL | Qt.ALT | Qt.META))
+             if ev.key() == Qt.Key_Tab and modifiers == 0:
+                 # prevent Tab from reaching the View widget
+diff --git a/frescobaldi_app/view.py b/frescobaldi_app/view.py
+index 245847b2..69de7330 100644
+--- a/frescobaldi_app/view.py
++++ b/frescobaldi_app/view.py
+@@ -86,23 +86,9 @@ class View(QPlainTextEdit):
+ 
+         This is reimplemented to:
+ 
+-        - prevent inserting the hard line separator, which makes no sense in
+-          plain text
+-
+-        - prevent handling Undo and Redo, they work better via the menu actions
+-
+         - handle Tab and Backtab to change the indent
+ 
+         """
+-        if ev in (
+-                # avoid the line separator, makes no sense in plain text
+-                QKeySequence.InsertLineSeparator,
+-                # those can better be called via the menu actions, then they
+-                # work better
+-                QKeySequence.Undo,
+-                QKeySequence.Redo,
+-            ):
+-            return False
+         # handle Tab and Backtab
+         if ev.type() == QEvent.KeyPress:
+             cursor = self.textCursor()
+-- 
+2.38.1
+
diff --git a/srcpkgs/frescobaldi/template b/srcpkgs/frescobaldi/template
new file mode 100644
index 000000000000..e9874763b01a
--- /dev/null
+++ b/srcpkgs/frescobaldi/template
@@ -0,0 +1,20 @@
+# Template file for 'frescobaldi'
+pkgname=frescobaldi
+version=3.2
+revision=1
+build_style=python3-module
+make_check_target="check"
+hostmakedepends="python3-setuptools gettext"
+depends="python3-PyQt5 python3-PyQt5-svg poppler-qt5 portmidi
+ python3-cups python3-ly lilypond python3-qpageview"
+short_desc="Powerful, lightweight and easy to use LilyPond sheet music text editor"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://frescobaldi.org/"
+changelog="https://github.com/frescobaldi/frescobaldi/blob/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/frescobaldi/archive/v${version}.tar.gz"
+checksum=f7bb9b5f708f902f8f512ab6f0de1a6272d9e176f678027e576b06e5ceec8fe8
+
+pre_build() {
+	make -C linux
+}

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

* Re: [PR PATCH] [Updated] New package: frescobaldi-3.2
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (37 preceding siblings ...)
  2023-03-08 14:27 ` [PR PATCH] [Updated] " dexgs
@ 2023-03-30 13:13 ` dexgs
  2023-06-29  2:04 ` New package: frescobaldi-3.3.0 github-actions
  2023-07-13  2:08 ` [PR PATCH] [Closed]: " github-actions
  40 siblings, 0 replies; 42+ messages in thread
From: dexgs @ 2023-03-30 13:13 UTC (permalink / raw)
  To: ml

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

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

https://github.com/dexgs/void-packages frescobaldi
https://github.com/void-linux/void-packages/pull/39374

New package: frescobaldi-3.2
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

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

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

From 0a09e910a939795de213450a310e28537593a631 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:16 -0400
Subject: [PATCH 1/4] New package: python3-ly-0.9.7

---
 srcpkgs/python3-ly/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-ly/template

diff --git a/srcpkgs/python3-ly/template b/srcpkgs/python3-ly/template
new file mode 100644
index 000000000000..f3a36aeda42b
--- /dev/null
+++ b/srcpkgs/python3-ly/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-ly'
+pkgname=python3-ly
+version=0.9.7
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Modules to parse, manipulate or create documents in LilyPond format"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/frescobaldi/python-ly"
+changelog="https://github.com/frescobaldi/python-ly/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-ly/python-ly-${version}.tar.gz"
+checksum=d4d2b68eb0ef8073200154247cc9bd91ed7fb2671ac966ef3d2853281c15d7a8
+
+# The source is distributed *without* any tests and the test runner fails, so
+# disabling the check stage solves the problem.
+make_check=no

From ec771b7546c8022dd1767e58c6b41579128d2903 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 13:59:47 -0400
Subject: [PATCH 2/4] New package: python3-poppler-qt5-21.3.0

---
 srcpkgs/python3-poppler-qt5/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-poppler-qt5/template

diff --git a/srcpkgs/python3-poppler-qt5/template b/srcpkgs/python3-poppler-qt5/template
new file mode 100644
index 000000000000..c6cf9db3c751
--- /dev/null
+++ b/srcpkgs/python3-poppler-qt5/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-poppler-qt5'
+pkgname=python3-poppler-qt5
+version=21.3.0
+revision=1
+build_style=sip-build
+hostmakedepends="pkg-config qt5-devel poppler-qt5-devel
+ python3-PyQt-builder python3-PyQt5-devel python3-devel"
+makedepends="qt5-devel poppler-qt5-devel
+ python3-PyQt5-devel python3-devel"
+depends="poppler-qt5 python3-PyQt5"
+short_desc="Python bindings for libpoppler-qt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="LGPL-2.1-or-later"
+homepage="https://github.com/frescobaldi/python-poppler-qt5"
+changelog="https://github.com/frescobaldi/python-poppler-qt5/blob/v${version}/ChangeLog"
+distfiles="${PYPI_SITE}/p/python-poppler-qt5/python-poppler-qt5-${version}.tar.gz"
+checksum=b477e8841f0ea0e09fdab6f2f305cf38df977d9e142e5693a374605d75dd6fe0

From 7ea4cd8ab9025804ff3a39979ffcecc1d498a931 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:12 -0400
Subject: [PATCH 3/4] New package: python3-qpageview-0.6.2

---
 srcpkgs/python3-qpageview/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/python3-qpageview/template

diff --git a/srcpkgs/python3-qpageview/template b/srcpkgs/python3-qpageview/template
new file mode 100644
index 000000000000..e9e6335a67fa
--- /dev/null
+++ b/srcpkgs/python3-qpageview/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-qpageview'
+pkgname=python3-qpageview
+version=0.6.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-PyQt5-svg"
+makedepends="qt5-devel python3-PyQt5-devel"
+depends="python3-PyQt5-svg python3-poppler-qt5"
+short_desc="Page based document viewer widget for Qt5/PyQt5"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://qpageview.org/"
+changelog="https://raw.githubusercontent.com/frescobaldi/qpageview/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/qpageview/archive/v${version}.tar.gz"
+checksum=5ac3140396f11b15d6438ce34d5ce77f8b7e76f7dcd4c0439c85740d9e5d3674

From aba9ae53c5625f2fbcdbe2c76d3ef371f9a25cb1 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Mon, 19 Sep 2022 14:00:51 -0400
Subject: [PATCH 4/4] New package: frescobaldi-3.3.0

---
 srcpkgs/frescobaldi/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/frescobaldi/template

diff --git a/srcpkgs/frescobaldi/template b/srcpkgs/frescobaldi/template
new file mode 100644
index 000000000000..ed5cf9a2fdfa
--- /dev/null
+++ b/srcpkgs/frescobaldi/template
@@ -0,0 +1,20 @@
+# Template file for 'frescobaldi'
+pkgname=frescobaldi
+version=3.3.0
+revision=1
+build_style=python3-module
+make_check_target="check"
+hostmakedepends="python3-setuptools gettext"
+depends="python3-PyQt5 python3-PyQt5-svg poppler-qt5 portmidi
+ python3-cups python3-ly lilypond python3-qpageview"
+short_desc="Powerful, lightweight and easy to use LilyPond sheet music text editor"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://frescobaldi.org/"
+changelog="https://github.com/frescobaldi/frescobaldi/blob/master/ChangeLog"
+distfiles="https://github.com/frescobaldi/frescobaldi/archive/v${version}.tar.gz"
+checksum=89a1fb73528ef653c4b99af06bbc8d1175d56893d67422b998be8a500fe79c8c
+
+pre_build() {
+	make -C linux
+}

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

* Re: New package: frescobaldi-3.3.0
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (38 preceding siblings ...)
  2023-03-30 13:13 ` dexgs
@ 2023-06-29  2:04 ` github-actions
  2023-07-13  2:08 ` [PR PATCH] [Closed]: " github-actions
  40 siblings, 0 replies; 42+ messages in thread
From: github-actions @ 2023-06-29  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/39374#issuecomment-1612325045

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

* Re: [PR PATCH] [Closed]: New package: frescobaldi-3.3.0
  2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
                   ` (39 preceding siblings ...)
  2023-06-29  2:04 ` New package: frescobaldi-3.3.0 github-actions
@ 2023-07-13  2:08 ` github-actions
  40 siblings, 0 replies; 42+ messages in thread
From: github-actions @ 2023-07-13  2:08 UTC (permalink / raw)
  To: ml

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

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

New package: frescobaldi-3.3.0
https://github.com/void-linux/void-packages/pull/39374

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

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

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

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

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

Thread overview: 42+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-19 18:02 [PR PATCH] New package: frescobaldi-3.2 dexgs
2022-09-19 23:08 ` [PR PATCH] [Updated] " dexgs
2022-09-20  1:14 ` dexgs
2022-09-20  1:46 ` dexgs
2022-09-20  2:48 ` [PR REVIEW] " sgn
2022-09-20  2:48 ` sgn
2022-09-20  2:52 ` sgn
2022-09-20 12:06 ` [PR PATCH] [Updated] " dexgs
2022-09-20 12:27 ` [PR REVIEW] " dexgs
2022-09-20 12:27 ` dexgs
2022-09-21 13:50 ` dexgs
2022-12-21  1:55 ` github-actions
2022-12-25 19:52 ` dexgs
2022-12-26  1:48 ` [PR REVIEW] " sgn
2022-12-26  1:48 ` sgn
2022-12-26  1:48 ` sgn
2022-12-26  1:48 ` sgn
2022-12-26  1:48 ` sgn
2022-12-26  1:48 ` sgn
2022-12-26  1:48 ` sgn
2022-12-26  2:52 ` [PR PATCH] [Updated] " dexgs
2022-12-26 17:45 ` dexgs
2022-12-26 19:42 ` dexgs
2022-12-26 19:44 ` dexgs
2022-12-26 20:43 ` dexgs
2022-12-27  2:01 ` dexgs
2022-12-27  2:08 ` dexgs
2022-12-27  2:17 ` dexgs
2023-01-03 14:58 ` [PR REVIEW] " sgn
2023-01-03 14:58 ` sgn
2023-01-03 14:58 ` sgn
2023-01-03 16:05 ` [PR PATCH] [Updated] " dexgs
2023-01-03 16:07 ` dexgs
2023-01-04 15:10 ` dexgs
2023-03-08  0:18 ` [PR REVIEW] " sgn
2023-03-08 14:13 ` [PR PATCH] [Updated] " dexgs
2023-03-08 14:15 ` dexgs
2023-03-08 14:25 ` [PR REVIEW] " dexgs
2023-03-08 14:27 ` [PR PATCH] [Updated] " dexgs
2023-03-30 13:13 ` dexgs
2023-06-29  2:04 ` New package: frescobaldi-3.3.0 github-actions
2023-07-13  2:08 ` [PR PATCH] [Closed]: " github-actions

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