Github messages for voidlinux
 help / color / mirror / Atom feed
From: newbluemoon <newbluemoon@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] lilypond: update to 2.23.14
Date: Fri, 04 Nov 2022 05:50:59 +0100	[thread overview]
Message-ID: <20221104045059.7gydRawulF-CzqoFKm3Zfc4I_9ycE4MpnFgvz85RuPk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38674@inbox.vuxu.org>

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

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

https://github.com/newbluemoon/void-packages lilypond
https://github.com/void-linux/void-packages/pull/38674

lilypond: update to 2.23.14
<!-- 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**|**NO**
-->

<!-- 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)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-musl
  - armv7l-musl
  - i686
  - aarch64

New font package urw-core35-fonts, because lilypond doesn’t bundle the required OTF fonts anymore and the URW++ ones are used in favour of the TeX Gyre fonts, see

https://git.savannah.gnu.org/cgit/lilypond.git/commit/?id=5689c2721530c6ded22b6291ebb06d10adb5bc28

There is no release, unfortunately, but I hope it is ok to make an exception in this case. :)



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

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

From e33413d72d5079f621977341f5b041bc6ec1444e Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 28 Aug 2022 21:47:48 +0200
Subject: [PATCH 1/3] gsfonts: update to 20200910

---
 srcpkgs/gsfonts/template | 50 +++++++++++++++++++++++++++++-----------
 1 file changed, 36 insertions(+), 14 deletions(-)

diff --git a/srcpkgs/gsfonts/template b/srcpkgs/gsfonts/template
index b7e31cfd441f..0553d0b03b76 100644
--- a/srcpkgs/gsfonts/template
+++ b/srcpkgs/gsfonts/template
@@ -1,20 +1,42 @@
 # Template file for 'gsfonts'
 pkgname=gsfonts
-version=8.11
-revision=7
-wrksrc=fonts
-makedepends="font-util font-misc-misc"
-depends="${makedepends}"
-short_desc="Ghostscript standard Type1 fonts"
+version=20200910
+revision=1
+wrksrc="urw-base35-fonts-${version}"
+depends="font-util"
+short_desc="URW+ base35 fonts"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2.0-or-later"
-homepage="http://sourceforge.net/projects/gs-fonts/"
-distfiles="${SOURCEFORGE_SITE}/ghostscript/ghostscript-fonts-std-${version}.tar.gz"
-distfiles="${SOURCEFORGE_SITE}/gs-fonts/ghostscript-fonts-std-${version}.tar.gz"
-checksum=0eb6f356119f2e49b2563210852e17f57f9dcc5755f350a69a46a0d641a0c401
-font_dirs="/usr/share/fonts/Type1"
+license="AGPL-3.0-or-later"
+homepage="https://github.com/ArtifexSoftware/urw-base35-fonts"
+distfiles="https://github.com/ArtifexSoftware/urw-base35-fonts/archive/refs/tags/${version}.tar.gz"
+checksum=e0d9b7f11885fdfdc4987f06b2aa0565ad2a4af52b22e5ebf79e1a98abd0ae2f
+font_dirs="/usr/share/fonts/OTF/
+ /usr/share/fonts/TTF
+ /usr/share/fonts/Type1"
 
 do_install() {
-	vmkdir usr/share/fonts/Type1
-	install -m644 ${wrksrc}/*.[ap]f[bm] ${DESTDIR}/usr/share/fonts/Type1
+	for f in ${wrksrc}/fonts/*.otf; do
+		vinstall $f 644 usr/share/fonts/OTF/
+	done
+
+	for f in ${wrksrc}/fonts/*.ttf; do
+		vinstall $f 644 usr/share/fonts/TTF/
+	done
+
+	for f in ${wrksrc}/fonts/*.{afm,t1}; do
+		vinstall $f 644 usr/share/fonts/Type1/
+	done
+
+	for f in ${wrksrc}/appstream/*.xml; do
+		vinstall $f 644 usr/share/metainfo/
+	done
+
+	for f in ${wrksrc}/fontconfig/*.conf; do
+		vmkdir etc/fonts/conf.d
+		install -Dm 644 $f ${DESTDIR}/usr/share/fontconfig/conf.avail/61-${f##*/}
+		ln -sf ../../../usr/share/fontconfig/conf.avail/61-${f##*/} ${DESTDIR}/etc/fonts/conf.d/
+	done
+
+	vlicense COPYING
+	vlicense LICENSE
 }

From 6216eed637aff24c7aa75c7fcff5c9fcd1858518 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 14 Aug 2022 21:54:33 +0200
Subject: [PATCH 2/3] lilypond: update to 2.23.80

---
 srcpkgs/lilypond/template | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/lilypond/template b/srcpkgs/lilypond/template
index 9a2acfcb0c88..b6a9ebf39f81 100644
--- a/srcpkgs/lilypond/template
+++ b/srcpkgs/lilypond/template
@@ -1,15 +1,14 @@
 # Template file for 'lilypond'
 pkgname=lilypond
 # should be kept in sync with 'lilypond-doc'
-version=2.23.10
+version=2.23.80
 revision=1
 build_wrksrc="build"
 build_style="gnu-configure"
 configure_script="../configure"
-configure_args="--disable-documentation ac_cv_func_isinf=yes
- --with-texgyre-dir=/usr/share/texmf-dist/fonts/opentype/public/tex-gyre"
+configure_args="--disable-documentation ac_cv_func_isinf=yes"
 hostmakedepends="autogen automake bison flex fontforge gettext perl
- pkg-config python3 t1utils tar texinfo texlive"
+ pkg-config python3 t1utils tar texinfo texlive gsfonts"
 makedepends="gc-devel guile-devel libltdl-devel pango-devel"
 depends="ghostscript guile python3"
 checkdepends="ImageMagick rsync texi2html"
@@ -18,9 +17,9 @@ maintainer="newbluemoon <blaumolch@mailbox.org>"
 license="GPL-3.0-or-later, GFDL-1.3-or-later"
 homepage="https://lilypond.org/"
 distfiles="https://lilypond.org/downloads/sources/v2.23/lilypond-${version}.tar.gz"
-checksum=06ac963df1699598c62f4390b8fc95344a723a88af440c00f5201c4aa8958f68
+checksum=2b0c80d4ca73a7208eb593682a0cef79bae5ee86780f3c24b18c995c9264cff9
 python_version=3
-make_check=ci-skip # ci fails, but all checks pass locally
+make_check=ci-skip # ci sometimes fails, but all checks pass locally
 
 if [ -n "${CROSS_BUILD}" ]; then
 	makedepends+=" libfl-devel"

From 80e6ebe512cf06af167d9082bb9bf5b0fa66e7c4 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 28 Aug 2022 21:47:13 +0200
Subject: [PATCH 3/3] lilypond-doc: update to 2.23.80

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

diff --git a/srcpkgs/lilypond-doc/template b/srcpkgs/lilypond-doc/template
index ae03279b9230..be86a3da09cb 100644
--- a/srcpkgs/lilypond-doc/template
+++ b/srcpkgs/lilypond-doc/template
@@ -1,7 +1,7 @@
 # Template file for 'lilypond-doc'
 pkgname=lilypond-doc
 # should be kept in sync with 'lilypond'
-version=2.23.10
+version=2.23.80
 revision=1
 create_wrksrc=yes
 short_desc="Documentation for the lilypond music engraving program"
@@ -9,7 +9,7 @@ maintainer="newbluemoon <blaumolch@mailbox.org>"
 license="GPL-3.0-or-later, GFDL-1.3-or-later"
 homepage="https://lilypond.org/"
 distfiles="https://gitlab.com/lilypond/lilypond/-/releases/v${version}/downloads/lilypond-${version}-documentation.tar.xz"
-checksum=8927270ec2c2dff2e0984727543a467b49ff7cb3adfd98b81a15b51277bfba75
+checksum=36b6003c4ca0de8e9079342ef7a15459b63a895f072d13852a27f78da0daf7f8
 
 do_install() {
 	vmkdir usr

  parent reply	other threads:[~2022-11-04  4:50 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-14 20:10 [PR PATCH] Lilypond newbluemoon
2022-08-15  3:58 ` lilypond: update to 2.23.11 newbluemoon
2022-08-15  9:39 ` icp1994
2022-08-21 12:56 ` [PR PATCH] [Updated] " newbluemoon
2022-08-21 13:02 ` newbluemoon
2022-08-28 19:51 ` [PR PATCH] [Updated] " newbluemoon
2022-08-28 20:15 ` lilypond: update to 2.23.12 newbluemoon
2022-09-22  7:10 ` [PR REVIEW] " classabbyamp
2022-09-26  4:50 ` [PR PATCH] [Updated] " newbluemoon
2022-09-26  4:53 ` [PR REVIEW] lilypond: update to 2.23.13 newbluemoon
2022-09-26  5:02 ` classabbyamp
2022-09-26  5:11 ` newbluemoon
2022-09-26  5:15 ` classabbyamp
2022-10-04  6:30 ` [PR PATCH] [Updated] " newbluemoon
2022-10-12  5:03 ` newbluemoon
2022-10-12  5:10 ` lilypond: update to 2.23.14 newbluemoon
2022-10-12  5:21 ` classabbyamp
2022-10-12  5:25 ` newbluemoon
2022-10-12  5:46 ` classabbyamp
2022-11-04  4:50 ` newbluemoon [this message]
2022-11-09 19:39 ` lilypond: update to 2.23.80 classabbyamp
2022-11-09 19:49 ` [PR PATCH] [Updated] " newbluemoon
2022-11-09 19:51 ` newbluemoon
2022-11-10  6:12 ` classabbyamp
2022-11-10 20:03 ` [PR PATCH] [Updated] " newbluemoon
2022-11-10 20:19 ` newbluemoon
2022-11-10 20:21 ` [PR PATCH] [Merged]: " classabbyamp

Reply instructions:

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

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

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

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

  git send-email \
    --in-reply-to=20221104045059.7gydRawulF-CzqoFKm3Zfc4I_9ycE4MpnFgvz85RuPk@z \
    --to=newbluemoon@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

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

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).