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.21.6
Date: Sat, 26 Sep 2020 15:33:45 +0200	[thread overview]
Message-ID: <20200926133345.RF9tSE2ky5KEYwTGNHrvvsXLSVcUeWYl2GAPRHpkDUE@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23531@inbox.vuxu.org>

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

lilypond: update to 2.21.6
(obsolete: Tested 2.21.2 on x86_64, x86_64-musl, i686 and armv7l.)
Tested 2.21.3 on x86_64-musl.

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

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

From cef407ba2d0f0bb67a548a1bc7675dff7a59dc41 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 26 Jul 2020 17:45:48 +0200
Subject: [PATCH 1/3] New package: t1utils-1.41

---
 .../t1utils/patches/memmem-declaration.patch  | 22 +++++++++++++++++++
 srcpkgs/t1utils/template                      | 20 +++++++++++++++++
 2 files changed, 42 insertions(+)
 create mode 100644 srcpkgs/t1utils/patches/memmem-declaration.patch
 create mode 100644 srcpkgs/t1utils/template

diff --git a/srcpkgs/t1utils/patches/memmem-declaration.patch b/srcpkgs/t1utils/patches/memmem-declaration.patch
new file mode 100644
index 00000000000..ae182c1fe8b
--- /dev/null
+++ b/srcpkgs/t1utils/patches/memmem-declaration.patch
@@ -0,0 +1,22 @@
+https://github.com/kohler/t1utils/issues/8
+https://github.com/kohler/t1utils/commit/3f1ddda424353f0f926dd28efa47b0ac61556ce8
+
+--- configure.ac.orig	2017-08-16 18:27:16.000000000 +0200
++++ configure.ac	2017-09-14 09:09:17.077248094 +0200
+@@ -19,6 +19,7 @@
+ dnl
+ 
+ AC_REPLACE_FUNCS([strerror memmem])
++AC_CHECK_DECLS([memmem])
+ 
+ 
+ dnl
+@@ -88,7 +89,7 @@
+ #endif
+ 
+ /* Prototype memmem if we don't have it. */
+-#if !HAVE_MEMMEM
++#if !HAVE_MEMMEM || !HAVE_DECL_MEMMEM
+ void* memmem(const void* haystack, size_t haystack_len,
+              const void* needle, size_t needle_len);
+ #endif
diff --git a/srcpkgs/t1utils/template b/srcpkgs/t1utils/template
new file mode 100644
index 00000000000..78709fe513e
--- /dev/null
+++ b/srcpkgs/t1utils/template
@@ -0,0 +1,20 @@
+# Template file for 't1utils'
+pkgname=t1utils
+version=1.41
+revision=1
+build_style="gnu-configure"
+hostmakedepends="automake autoconf"
+short_desc="Type 1 font utilities"
+maintainer="newbluemoon <blaumolch@mailbox.org>"
+license="custom:Click"
+homepage="https://www.lcdf.org/type/#t1utils"
+distfiles="https://www.lcdf.org/type/${pkgname}-${version}.tar.gz"
+checksum=fc5edd7e829902b3b685886382fed690d533681c0ab218a387c9e47606623427
+
+pre_configure() {
+	autoreconf -fi
+}
+
+post_install() {
+	vlicense LICENSE
+}

From 7c9d64b093ad1174546aabb1a0fc02e8392d78e6 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 12 Jul 2020 09:41:01 +0200
Subject: [PATCH 2/3] lilypond: update to 2.21.6

and use system texlive for build
---
 srcpkgs/lilypond/INSTALL.msg |  1 -
 srcpkgs/lilypond/template    | 25 ++++++-------------------
 2 files changed, 6 insertions(+), 20 deletions(-)
 delete mode 100644 srcpkgs/lilypond/INSTALL.msg

diff --git a/srcpkgs/lilypond/INSTALL.msg b/srcpkgs/lilypond/INSTALL.msg
deleted file mode 100644
index fa7f45ba1ce..00000000000
--- a/srcpkgs/lilypond/INSTALL.msg
+++ /dev/null
@@ -1 +0,0 @@
-To use lilypond a working texlive installation is also needed.
diff --git a/srcpkgs/lilypond/template b/srcpkgs/lilypond/template
index 1d2ded8aabb..125e03ef9ed 100644
--- a/srcpkgs/lilypond/template
+++ b/srcpkgs/lilypond/template
@@ -1,23 +1,22 @@
 # Template file for 'lilypond'
 pkgname=lilypond
-version=2.21.5
+version=2.21.6
 revision=1
 build_wrksrc="build"
 build_style="gnu-configure"
 configure_script="../configure"
 configure_args="--disable-documentation ac_cv_func_isinf=yes
- --with-texgyre-dir=/opt/texlive/2020/texmf-dist/fonts/opentype/public/tex-gyre"
+ --with-texgyre-dir=/usr/share/texmf-dist/fonts/opentype/public/tex-gyre"
 hostmakedepends="autogen automake flex fontforge gettext gnupg guile1.8 pkg-config
- tar texinfo texlive-bin"
+ t1utils tar texinfo texlive"
 makedepends="gc-devel guile1.8-devel libltdl-devel pango-devel python-devel"
 depends="python ghostscript"
 short_desc="Music engraving program"
 maintainer="newbluemoon <blaumolch@mailbox.org>"
 license="GPL-3.0-or-later, GFDL-1.3-or-later"
-homepage="http://lilypond.org/"
-distfiles="http://lilypond.org/downloads/sources/v2.21/lilypond-${version}.tar.gz"
-checksum=09d05285fd334113b91b14a9d8d19fc0e086bec5868b69c73a61f9ea218a96cb
-patch_args="-Np1"
+homepage="https://lilypond.org/"
+distfiles="https://lilypond.org/downloads/sources/v2.21/lilypond-${version}.tar.gz"
+checksum=24aa358d7da5ea32294a4fc98acd72e78606afdc3bd411a331b2490c15b9acb7
 python_version=2
 
 if [ -n "${CROSS_BUILD}" ]; then
@@ -28,11 +27,6 @@ if [ -n "${CROSS_BUILD}" ]; then
 	 --with-python-include=${XBPS_CROSS_BASE}/usr/include/python2.7"
 fi
 
-case "$XBPS_TARGET_MACHINE" in
-	x86_64-musl) ;;
-	*-musl) broken="TeX Live not available, yet." ;;
-esac
-
 post_extract() {
 	if [ ! -d $wrksrc/$build_wrksrc ]; then
 		mkdir $wrksrc/$build_wrksrc
@@ -40,16 +34,9 @@ post_extract() {
 }
 
 pre_configure() {
-	source /etc/profile.d/texlive.sh
-	tlmgr install t1utils lh epsf tex-gyre
 	cd .. && ./autogen.sh --noconfigure
 }
 
-do_build() {
-	source /etc/profile.d/texlive.sh
-	make ${makejobs} ${make_build_args} ${make_build_target}
-}
-
 post_install() {
 	vmkdir usr/share/vim
 	mv $DESTDIR/usr/share/lilypond/${version}/vim $DESTDIR/usr/share/vim/vim82

From c2345cd834722fa0108d253f055b786335f4bb70 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 20 Sep 2020 15:19:50 +0200
Subject: [PATCH 3/3] lilypond-doc: update to 2.21.6

and drop noarch
---
 srcpkgs/lilypond-doc/template | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/lilypond-doc/template b/srcpkgs/lilypond-doc/template
index ce4dcfcd48e..f73a2576063 100644
--- a/srcpkgs/lilypond-doc/template
+++ b/srcpkgs/lilypond-doc/template
@@ -1,15 +1,14 @@
 # Template file for 'lilypond-doc'
 pkgname=lilypond-doc
-version=2.21.5
+version=2.21.6
 revision=1
-archs=noarch
 create_wrksrc=yes
 short_desc="Documentation for the lilypond music engraving program"
 maintainer="newbluemoon <blaumolch@mailbox.org>"
 license="GPL-3.0-or-later, GFDL-1.3-or-later"
 homepage="http://lilypond.org/"
 distfiles="http://lilypond.org/downloads/binaries/documentation/lilypond-${version}-1.documentation.tar.bz2"
-checksum=f2b7b6bfca87b871c5d12dfc3e8488ed370e27a3e10e31f4d55a1f40c0245232
+checksum=d4afbfe4a363a94a09612dece2e1428f56b18c313c213534ec38eaa914e4d97e
 
 do_install() {
 	vmkdir usr

  parent reply	other threads:[~2020-09-26 13:33 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-12  7:45 [PR PATCH] lilypond: update to 2.21.2 newbluemoon
2020-07-14 18:58 ` [PR PATCH] [Updated] " newbluemoon
2020-07-14 19:12 ` lilypond: update to 2.21.3 newbluemoon
2020-07-26 15:47 ` [PR PATCH] [Updated] " newbluemoon
2020-07-26 15:56 ` newbluemoon
2020-07-26 22:59 ` fosslinux
2020-07-26 23:42 ` q66
2020-07-27  3:15 ` newbluemoon
2020-07-27  4:04 ` q66
2020-07-27  4:08 ` q66
2020-07-27  6:55 ` newbluemoon
2020-07-27  8:49 ` [PR PATCH] [Updated] " newbluemoon
2020-07-27  8:53 ` newbluemoon
2020-08-18  5:43 ` [PR PATCH] [Updated] lilypond: update to 2.21.4 newbluemoon
2020-08-22 19:13 ` newbluemoon
2020-08-22 19:20 ` lilypond: update to 2.21.5 newbluemoon
2020-08-30 13:12 ` [PR PATCH] [Updated] " newbluemoon
2020-08-31  5:11 ` [PR PATCH] [Updated] lilypond: use system texlive for build newbluemoon
2020-09-20 16:15 ` newbluemoon
2020-09-26 13:33 ` newbluemoon [this message]
2020-10-03  8:05 ` [PR PATCH] [Updated] lilypond: update to 2.21.6 newbluemoon
2020-10-12 17:52 ` newbluemoon
2020-10-24 15:09 ` [PR PATCH] [Merged]: lilypond: update to 2.21.7 leahneukirchen

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=20200926133345.RF9tSE2ky5KEYwTGNHrvvsXLSVcUeWYl2GAPRHpkDUE@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).