Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: mup-6.3.1.
@ 2020-10-24 20:56 fosslinux
  2020-10-30 23:35 ` [PR PATCH] [Updated] " fosslinux
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: fosslinux @ 2020-10-24 20:56 UTC (permalink / raw)
  To: ml

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

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

https://github.com/fosslinux/void-packages mup-new
https://github.com/void-linux/void-packages/pull/25861

New package: mup-6.3.1.


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

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

From b9a59eebd658e816584c3c493a027f8fd786f345 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Sun, 25 Oct 2020 07:49:29 +1100
Subject: [PATCH] New package: mup-6.3.1.

---
 srcpkgs/mup/files/post-cross-fix.patch     | 29 +++++++++++
 srcpkgs/mup/patches/ghostscript-9.50.patch | 13 +++++
 srcpkgs/mup/patches/libvga.patch           | 18 +++++++
 srcpkgs/mup/template                       | 58 ++++++++++++++++++++++
 4 files changed, 118 insertions(+)
 create mode 100644 srcpkgs/mup/files/post-cross-fix.patch
 create mode 100644 srcpkgs/mup/patches/ghostscript-9.50.patch
 create mode 100644 srcpkgs/mup/patches/libvga.patch
 create mode 100644 srcpkgs/mup/template

diff --git a/srcpkgs/mup/files/post-cross-fix.patch b/srcpkgs/mup/files/post-cross-fix.patch
new file mode 100644
index 00000000000..251ede68686
--- /dev/null
+++ b/srcpkgs/mup/files/post-cross-fix.patch
@@ -0,0 +1,29 @@
+--- doc/Makefile.am	2020-10-24 15:35:54.045900486 +1100
++++ doc/Makefile.am	2020-10-24 15:36:15.274015032 +1100
+@@ -214,26 +214,15 @@
+ mup_uguide__DATA = $(uguide_files)
+ 
+ muschar.ps: ../src/include/muschar.h ../tools/doc/mkmuscharps.sh
+-	../tools/doc/mkmuscharps.sh < ../src/include/muschar.h
+ 
+ quickref.ps: quickref.t ../src/mup/prolog.ps muschar.ps
+-	$(GROFF) -t -Tps quickref.t | $(SED) -e "/BeginProlog/r ../src/mup/prolog.ps" > quickref.ps
+ 
+ uguide.mm: uguide.t ../tools/doc/ugexi muschar.ps ext_1.ps ext_2.ps ext_3.ps ext_4.ps ../src/mup/mup
+-	MUPPATH=$$(pwd)/../mup-input/includes MUPQUIET=1 PATH=$$(pwd)/../src/mup:$$PATH ../tools/doc/ugexi < uguide.t > uguide.mm
+ 
+ uguide.ps: uguide.mm ../tools/doc/mvtoc ../src/mup/prolog.ps
+-	$(GROFF) -t -Tps -mm -rN2 uguide.mm | $(SED) -e "/BeginProlog/r ../src/mup/prolog.ps" > uguide.ps.tmp
+-	../tools/doc/mvtoc uguide.ps.tmp > uguide.ps
+-	rm uguide.ps.tmp
+ 
+ ext_1.mup ext_2.mup ext_3.mup ext_4.mup: charlist ../src/mup/fontdata.c ../tools/doc/gen_ext_mup
+-	../tools/doc/gen_ext_mup
+ 
+ ext_1.ps ext_2.ps ext_3.ps ext_4.ps: ext_1.mup ext_2.mup ext_3.mup ext_4.mup ../src/mup/mup
+-	for p in 1 2 3 4 ; do ../src/mup/mup ext_$$p.mup | $(SED) -e "/Copyright/,/Set up extended character set fonts/d" -e "/BeginFeature/,/EndFeature/d" -e "/%%Trailer/,/%%DocumentFonts/d"  -e "/%%Page/d" > ext_$$p.ps; done
+ 
+ $(uguide_files): uguide.mm ../tools/doc/tr2html ../tools/doc/mkuggifs ../src/mup/prolog.ps muschar.ps
+-	mkdir -p uguide
+-	(cd uguide ; cp ../param_index . ; ../../tools/doc/tr2html < ../uguide.mm > /dev/null ; rm param_index)
+-	(cd uguide; ../../tools/doc/mkuggifs  CAT=$(CAT) GS=$(GS) EXPR=$(EXPR) SORT=$(SORT) PPMTOGIF=$(PPMTOGIF) GREP=$(GREP) EGREP=$(EGREP) )
diff --git a/srcpkgs/mup/patches/ghostscript-9.50.patch b/srcpkgs/mup/patches/ghostscript-9.50.patch
new file mode 100644
index 00000000000..e1d49e16983
--- /dev/null
+++ b/srcpkgs/mup/patches/ghostscript-9.50.patch
@@ -0,0 +1,13 @@
+dNOSAFER is required for this command since GhostScript 9.50.
+
+--- src/mup/Makefile.am	2020-10-22 17:38:23.099280764 +1100
++++ src/mup/Makefile.am	2020-10-22 17:38:36.488345334 +1100
+@@ -37,7 +37,7 @@
+ 	echo "/*" > fontdata.c
+ 	$(CAT) ../../LICENSE >> fontdata.c
+ 	echo " */" >> fontdata.c
+-	$(GS) -sDEVICE=nullpage -sOutputFile=/dev/null -dQUIET - < ../../tools/mup/getfontinfo.ps | $(SED) -e "/Warning:/d" >> fontdata.c
++	$(GS) -dNOSAFER -sDEVICE=nullpage -sOutputFile=/dev/null -dQUIET - < ../../tools/mup/getfontinfo.ps | $(SED) -e "/Warning:/d" >> fontdata.c
+ 	$(CAT) charnames fontinit >> fontdata.c
+ 	rm charnames fontinit
+ 
diff --git a/srcpkgs/mup/patches/libvga.patch b/srcpkgs/mup/patches/libvga.patch
new file mode 100644
index 00000000000..c5aed76f3a5
--- /dev/null
+++ b/srcpkgs/mup/patches/libvga.patch
@@ -0,0 +1,18 @@
+libvga dosen't exist on void. and it makes cross fail.
+
+checking for /usr/lib/libvga.a... configure: error: cannot check for file existence when cross compiling
+
+--- configure.ac	2020-10-22 20:19:24.633514760 +1100
++++ configure.ac	2020-10-22 20:19:46.917655818 +1100
+@@ -126,10 +126,7 @@
+ 
+ AS_IF([test "x$enable_mupdisp" != xno],
+ 	[
+-	# Check if libvga.a is available for mupdisp
+-	AC_CHECK_FILE([/usr/lib/libvga.a],[use_vga=yes],)
+-	AC_CHECK_FILE([/usr/lib64/libvga.a],[use_vga=yes],)
+-	test "$use_vga" != "yes" && AC_SUBST([LIBVGA],[-DNO_VGA_LIB])
++	AC_SUBST([LIBVGA],[-DNO_VGA_LIB])
+ 	]
+ )
+ 
diff --git a/srcpkgs/mup/template b/srcpkgs/mup/template
new file mode 100644
index 00000000000..33696efd17b
--- /dev/null
+++ b/srcpkgs/mup/template
@@ -0,0 +1,58 @@
+# Template file for 'mup'
+pkgname=mup
+version=6.8.1
+revision=1
+build_style=gnu-configure
+# Multiple things are broken with multithreaded compile
+make_build_args="-j1"
+hostmakedepends="ghostscript groff flex bison netpbm automake"
+makedepends="fltk-devel libXpm-devel"
+short_desc="Free, yet very feature rich, music publication program"
+maintainer="fosslinux <fosslinux@aussies.space>"
+license="BSD-3-Clause"
+homepage="http://www.arkkra.com/"
+distfiles="ftp://ftp.arkkra.com/pub/unix/mup${version//.}src.tar.gz"
+checksum=893f4cc794e9c351b5fc8f60b933da808f1ebf05e36c7ced7648f621d52da59c
+
+pre_configure() {
+	autoreconf -i
+
+	# Some things need to be compiled and/or run for the host system first
+	# when cross-building.
+	if [ "$CROSS_BUILD" ]; then
+		CC=cc CXX=g++ LD=ld AR=ar RANLIB=ranlib CFLAGS="-static" \
+			CXXFLAGS="-static" LDFLAGS="-static" ./configure
+		for d in lib tools src/mup doc; do
+			pushd $d
+			make
+			popd
+		done
+		# Clean some so they can be repopulated for the target arch.
+		for d in lib tools/test src/mup; do
+			pushd $d
+			make clean
+			popd
+		done
+		# Also don't do docs build again..
+		patch -Np0 -i "${FILESDIR}/post-cross-fix.patch"
+		autoreconf -i
+	fi
+}
+
+pre_build() {
+	# bbox is broken-ish in the Makefile, run it outside of the Makefile.
+	# i.e. compiling + running it outside first *fixes* it re-running it
+	# inside the Makefile..
+	if ! [ "$CROSS_BUILD" ]; then
+		pushd tools/mup
+		make bbox
+		popd
+	fi
+	pushd src/mup
+	../../tools/mup/bbox
+	popd
+}
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: mup-6.3.1.
  2020-10-24 20:56 [PR PATCH] New package: mup-6.3.1 fosslinux
@ 2020-10-30 23:35 ` fosslinux
  2020-10-31 23:32 ` fosslinux
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: fosslinux @ 2020-10-30 23:35 UTC (permalink / raw)
  To: ml

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

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

https://github.com/fosslinux/void-packages mup-new
https://github.com/void-linux/void-packages/pull/25861

New package: mup-6.3.1.


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

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

From 621c75e47e46a6fe7b3901d4baa0c6a9ec96ca5b Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Sun, 25 Oct 2020 07:49:29 +1100
Subject: [PATCH] New package: mup-6.3.1.

---
 srcpkgs/mup/files/post-cross-fix.patch     | 29 +++++++++++
 srcpkgs/mup/patches/ghostscript-9.50.patch | 13 +++++
 srcpkgs/mup/patches/libvga.patch           | 18 +++++++
 srcpkgs/mup/template                       | 58 ++++++++++++++++++++++
 4 files changed, 118 insertions(+)
 create mode 100644 srcpkgs/mup/files/post-cross-fix.patch
 create mode 100644 srcpkgs/mup/patches/ghostscript-9.50.patch
 create mode 100644 srcpkgs/mup/patches/libvga.patch
 create mode 100644 srcpkgs/mup/template

diff --git a/srcpkgs/mup/files/post-cross-fix.patch b/srcpkgs/mup/files/post-cross-fix.patch
new file mode 100644
index 00000000000..251ede68686
--- /dev/null
+++ b/srcpkgs/mup/files/post-cross-fix.patch
@@ -0,0 +1,29 @@
+--- doc/Makefile.am	2020-10-24 15:35:54.045900486 +1100
++++ doc/Makefile.am	2020-10-24 15:36:15.274015032 +1100
+@@ -214,26 +214,15 @@
+ mup_uguide__DATA = $(uguide_files)
+ 
+ muschar.ps: ../src/include/muschar.h ../tools/doc/mkmuscharps.sh
+-	../tools/doc/mkmuscharps.sh < ../src/include/muschar.h
+ 
+ quickref.ps: quickref.t ../src/mup/prolog.ps muschar.ps
+-	$(GROFF) -t -Tps quickref.t | $(SED) -e "/BeginProlog/r ../src/mup/prolog.ps" > quickref.ps
+ 
+ uguide.mm: uguide.t ../tools/doc/ugexi muschar.ps ext_1.ps ext_2.ps ext_3.ps ext_4.ps ../src/mup/mup
+-	MUPPATH=$$(pwd)/../mup-input/includes MUPQUIET=1 PATH=$$(pwd)/../src/mup:$$PATH ../tools/doc/ugexi < uguide.t > uguide.mm
+ 
+ uguide.ps: uguide.mm ../tools/doc/mvtoc ../src/mup/prolog.ps
+-	$(GROFF) -t -Tps -mm -rN2 uguide.mm | $(SED) -e "/BeginProlog/r ../src/mup/prolog.ps" > uguide.ps.tmp
+-	../tools/doc/mvtoc uguide.ps.tmp > uguide.ps
+-	rm uguide.ps.tmp
+ 
+ ext_1.mup ext_2.mup ext_3.mup ext_4.mup: charlist ../src/mup/fontdata.c ../tools/doc/gen_ext_mup
+-	../tools/doc/gen_ext_mup
+ 
+ ext_1.ps ext_2.ps ext_3.ps ext_4.ps: ext_1.mup ext_2.mup ext_3.mup ext_4.mup ../src/mup/mup
+-	for p in 1 2 3 4 ; do ../src/mup/mup ext_$$p.mup | $(SED) -e "/Copyright/,/Set up extended character set fonts/d" -e "/BeginFeature/,/EndFeature/d" -e "/%%Trailer/,/%%DocumentFonts/d"  -e "/%%Page/d" > ext_$$p.ps; done
+ 
+ $(uguide_files): uguide.mm ../tools/doc/tr2html ../tools/doc/mkuggifs ../src/mup/prolog.ps muschar.ps
+-	mkdir -p uguide
+-	(cd uguide ; cp ../param_index . ; ../../tools/doc/tr2html < ../uguide.mm > /dev/null ; rm param_index)
+-	(cd uguide; ../../tools/doc/mkuggifs  CAT=$(CAT) GS=$(GS) EXPR=$(EXPR) SORT=$(SORT) PPMTOGIF=$(PPMTOGIF) GREP=$(GREP) EGREP=$(EGREP) )
diff --git a/srcpkgs/mup/patches/ghostscript-9.50.patch b/srcpkgs/mup/patches/ghostscript-9.50.patch
new file mode 100644
index 00000000000..e1d49e16983
--- /dev/null
+++ b/srcpkgs/mup/patches/ghostscript-9.50.patch
@@ -0,0 +1,13 @@
+dNOSAFER is required for this command since GhostScript 9.50.
+
+--- src/mup/Makefile.am	2020-10-22 17:38:23.099280764 +1100
++++ src/mup/Makefile.am	2020-10-22 17:38:36.488345334 +1100
+@@ -37,7 +37,7 @@
+ 	echo "/*" > fontdata.c
+ 	$(CAT) ../../LICENSE >> fontdata.c
+ 	echo " */" >> fontdata.c
+-	$(GS) -sDEVICE=nullpage -sOutputFile=/dev/null -dQUIET - < ../../tools/mup/getfontinfo.ps | $(SED) -e "/Warning:/d" >> fontdata.c
++	$(GS) -dNOSAFER -sDEVICE=nullpage -sOutputFile=/dev/null -dQUIET - < ../../tools/mup/getfontinfo.ps | $(SED) -e "/Warning:/d" >> fontdata.c
+ 	$(CAT) charnames fontinit >> fontdata.c
+ 	rm charnames fontinit
+ 
diff --git a/srcpkgs/mup/patches/libvga.patch b/srcpkgs/mup/patches/libvga.patch
new file mode 100644
index 00000000000..c5aed76f3a5
--- /dev/null
+++ b/srcpkgs/mup/patches/libvga.patch
@@ -0,0 +1,18 @@
+libvga dosen't exist on void. and it makes cross fail.
+
+checking for /usr/lib/libvga.a... configure: error: cannot check for file existence when cross compiling
+
+--- configure.ac	2020-10-22 20:19:24.633514760 +1100
++++ configure.ac	2020-10-22 20:19:46.917655818 +1100
+@@ -126,10 +126,7 @@
+ 
+ AS_IF([test "x$enable_mupdisp" != xno],
+ 	[
+-	# Check if libvga.a is available for mupdisp
+-	AC_CHECK_FILE([/usr/lib/libvga.a],[use_vga=yes],)
+-	AC_CHECK_FILE([/usr/lib64/libvga.a],[use_vga=yes],)
+-	test "$use_vga" != "yes" && AC_SUBST([LIBVGA],[-DNO_VGA_LIB])
++	AC_SUBST([LIBVGA],[-DNO_VGA_LIB])
+ 	]
+ )
+ 
diff --git a/srcpkgs/mup/template b/srcpkgs/mup/template
new file mode 100644
index 00000000000..33696efd17b
--- /dev/null
+++ b/srcpkgs/mup/template
@@ -0,0 +1,58 @@
+# Template file for 'mup'
+pkgname=mup
+version=6.8.1
+revision=1
+build_style=gnu-configure
+# Multiple things are broken with multithreaded compile
+make_build_args="-j1"
+hostmakedepends="ghostscript groff flex bison netpbm automake"
+makedepends="fltk-devel libXpm-devel"
+short_desc="Free, yet very feature rich, music publication program"
+maintainer="fosslinux <fosslinux@aussies.space>"
+license="BSD-3-Clause"
+homepage="http://www.arkkra.com/"
+distfiles="ftp://ftp.arkkra.com/pub/unix/mup${version//.}src.tar.gz"
+checksum=893f4cc794e9c351b5fc8f60b933da808f1ebf05e36c7ced7648f621d52da59c
+
+pre_configure() {
+	autoreconf -i
+
+	# Some things need to be compiled and/or run for the host system first
+	# when cross-building.
+	if [ "$CROSS_BUILD" ]; then
+		CC=cc CXX=g++ LD=ld AR=ar RANLIB=ranlib CFLAGS="-static" \
+			CXXFLAGS="-static" LDFLAGS="-static" ./configure
+		for d in lib tools src/mup doc; do
+			pushd $d
+			make
+			popd
+		done
+		# Clean some so they can be repopulated for the target arch.
+		for d in lib tools/test src/mup; do
+			pushd $d
+			make clean
+			popd
+		done
+		# Also don't do docs build again..
+		patch -Np0 -i "${FILESDIR}/post-cross-fix.patch"
+		autoreconf -i
+	fi
+}
+
+pre_build() {
+	# bbox is broken-ish in the Makefile, run it outside of the Makefile.
+	# i.e. compiling + running it outside first *fixes* it re-running it
+	# inside the Makefile..
+	if ! [ "$CROSS_BUILD" ]; then
+		pushd tools/mup
+		make bbox
+		popd
+	fi
+	pushd src/mup
+	../../tools/mup/bbox
+	popd
+}
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: mup-6.3.1.
  2020-10-24 20:56 [PR PATCH] New package: mup-6.3.1 fosslinux
  2020-10-30 23:35 ` [PR PATCH] [Updated] " fosslinux
@ 2020-10-31 23:32 ` fosslinux
  2021-07-01  3:06 ` [PR PATCH] [Updated] New package: mup-6.8.1 fosslinux
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: fosslinux @ 2020-10-31 23:32 UTC (permalink / raw)
  To: ml

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

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

https://github.com/fosslinux/void-packages mup-new
https://github.com/void-linux/void-packages/pull/25861

New package: mup-6.3.1.


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

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

From 775bf079be62a6d5646e74d8a05df4b7aa7e9fca Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Sun, 25 Oct 2020 07:49:29 +1100
Subject: [PATCH] New package: mup-6.3.1.

---
 srcpkgs/mup/files/post-cross-fix.patch     | 29 +++++++++++
 srcpkgs/mup/patches/ghostscript-9.50.patch | 13 +++++
 srcpkgs/mup/patches/libvga.patch           | 18 +++++++
 srcpkgs/mup/template                       | 58 ++++++++++++++++++++++
 4 files changed, 118 insertions(+)
 create mode 100644 srcpkgs/mup/files/post-cross-fix.patch
 create mode 100644 srcpkgs/mup/patches/ghostscript-9.50.patch
 create mode 100644 srcpkgs/mup/patches/libvga.patch
 create mode 100644 srcpkgs/mup/template

diff --git a/srcpkgs/mup/files/post-cross-fix.patch b/srcpkgs/mup/files/post-cross-fix.patch
new file mode 100644
index 00000000000..251ede68686
--- /dev/null
+++ b/srcpkgs/mup/files/post-cross-fix.patch
@@ -0,0 +1,29 @@
+--- doc/Makefile.am	2020-10-24 15:35:54.045900486 +1100
++++ doc/Makefile.am	2020-10-24 15:36:15.274015032 +1100
+@@ -214,26 +214,15 @@
+ mup_uguide__DATA = $(uguide_files)
+ 
+ muschar.ps: ../src/include/muschar.h ../tools/doc/mkmuscharps.sh
+-	../tools/doc/mkmuscharps.sh < ../src/include/muschar.h
+ 
+ quickref.ps: quickref.t ../src/mup/prolog.ps muschar.ps
+-	$(GROFF) -t -Tps quickref.t | $(SED) -e "/BeginProlog/r ../src/mup/prolog.ps" > quickref.ps
+ 
+ uguide.mm: uguide.t ../tools/doc/ugexi muschar.ps ext_1.ps ext_2.ps ext_3.ps ext_4.ps ../src/mup/mup
+-	MUPPATH=$$(pwd)/../mup-input/includes MUPQUIET=1 PATH=$$(pwd)/../src/mup:$$PATH ../tools/doc/ugexi < uguide.t > uguide.mm
+ 
+ uguide.ps: uguide.mm ../tools/doc/mvtoc ../src/mup/prolog.ps
+-	$(GROFF) -t -Tps -mm -rN2 uguide.mm | $(SED) -e "/BeginProlog/r ../src/mup/prolog.ps" > uguide.ps.tmp
+-	../tools/doc/mvtoc uguide.ps.tmp > uguide.ps
+-	rm uguide.ps.tmp
+ 
+ ext_1.mup ext_2.mup ext_3.mup ext_4.mup: charlist ../src/mup/fontdata.c ../tools/doc/gen_ext_mup
+-	../tools/doc/gen_ext_mup
+ 
+ ext_1.ps ext_2.ps ext_3.ps ext_4.ps: ext_1.mup ext_2.mup ext_3.mup ext_4.mup ../src/mup/mup
+-	for p in 1 2 3 4 ; do ../src/mup/mup ext_$$p.mup | $(SED) -e "/Copyright/,/Set up extended character set fonts/d" -e "/BeginFeature/,/EndFeature/d" -e "/%%Trailer/,/%%DocumentFonts/d"  -e "/%%Page/d" > ext_$$p.ps; done
+ 
+ $(uguide_files): uguide.mm ../tools/doc/tr2html ../tools/doc/mkuggifs ../src/mup/prolog.ps muschar.ps
+-	mkdir -p uguide
+-	(cd uguide ; cp ../param_index . ; ../../tools/doc/tr2html < ../uguide.mm > /dev/null ; rm param_index)
+-	(cd uguide; ../../tools/doc/mkuggifs  CAT=$(CAT) GS=$(GS) EXPR=$(EXPR) SORT=$(SORT) PPMTOGIF=$(PPMTOGIF) GREP=$(GREP) EGREP=$(EGREP) )
diff --git a/srcpkgs/mup/patches/ghostscript-9.50.patch b/srcpkgs/mup/patches/ghostscript-9.50.patch
new file mode 100644
index 00000000000..e1d49e16983
--- /dev/null
+++ b/srcpkgs/mup/patches/ghostscript-9.50.patch
@@ -0,0 +1,13 @@
+dNOSAFER is required for this command since GhostScript 9.50.
+
+--- src/mup/Makefile.am	2020-10-22 17:38:23.099280764 +1100
++++ src/mup/Makefile.am	2020-10-22 17:38:36.488345334 +1100
+@@ -37,7 +37,7 @@
+ 	echo "/*" > fontdata.c
+ 	$(CAT) ../../LICENSE >> fontdata.c
+ 	echo " */" >> fontdata.c
+-	$(GS) -sDEVICE=nullpage -sOutputFile=/dev/null -dQUIET - < ../../tools/mup/getfontinfo.ps | $(SED) -e "/Warning:/d" >> fontdata.c
++	$(GS) -dNOSAFER -sDEVICE=nullpage -sOutputFile=/dev/null -dQUIET - < ../../tools/mup/getfontinfo.ps | $(SED) -e "/Warning:/d" >> fontdata.c
+ 	$(CAT) charnames fontinit >> fontdata.c
+ 	rm charnames fontinit
+ 
diff --git a/srcpkgs/mup/patches/libvga.patch b/srcpkgs/mup/patches/libvga.patch
new file mode 100644
index 00000000000..c5aed76f3a5
--- /dev/null
+++ b/srcpkgs/mup/patches/libvga.patch
@@ -0,0 +1,18 @@
+libvga dosen't exist on void. and it makes cross fail.
+
+checking for /usr/lib/libvga.a... configure: error: cannot check for file existence when cross compiling
+
+--- configure.ac	2020-10-22 20:19:24.633514760 +1100
++++ configure.ac	2020-10-22 20:19:46.917655818 +1100
+@@ -126,10 +126,7 @@
+ 
+ AS_IF([test "x$enable_mupdisp" != xno],
+ 	[
+-	# Check if libvga.a is available for mupdisp
+-	AC_CHECK_FILE([/usr/lib/libvga.a],[use_vga=yes],)
+-	AC_CHECK_FILE([/usr/lib64/libvga.a],[use_vga=yes],)
+-	test "$use_vga" != "yes" && AC_SUBST([LIBVGA],[-DNO_VGA_LIB])
++	AC_SUBST([LIBVGA],[-DNO_VGA_LIB])
+ 	]
+ )
+ 
diff --git a/srcpkgs/mup/template b/srcpkgs/mup/template
new file mode 100644
index 00000000000..33696efd17b
--- /dev/null
+++ b/srcpkgs/mup/template
@@ -0,0 +1,58 @@
+# Template file for 'mup'
+pkgname=mup
+version=6.8.1
+revision=1
+build_style=gnu-configure
+# Multiple things are broken with multithreaded compile
+make_build_args="-j1"
+hostmakedepends="ghostscript groff flex bison netpbm automake"
+makedepends="fltk-devel libXpm-devel"
+short_desc="Free, yet very feature rich, music publication program"
+maintainer="fosslinux <fosslinux@aussies.space>"
+license="BSD-3-Clause"
+homepage="http://www.arkkra.com/"
+distfiles="ftp://ftp.arkkra.com/pub/unix/mup${version//.}src.tar.gz"
+checksum=893f4cc794e9c351b5fc8f60b933da808f1ebf05e36c7ced7648f621d52da59c
+
+pre_configure() {
+	autoreconf -i
+
+	# Some things need to be compiled and/or run for the host system first
+	# when cross-building.
+	if [ "$CROSS_BUILD" ]; then
+		CC=cc CXX=g++ LD=ld AR=ar RANLIB=ranlib CFLAGS="-static" \
+			CXXFLAGS="-static" LDFLAGS="-static" ./configure
+		for d in lib tools src/mup doc; do
+			pushd $d
+			make
+			popd
+		done
+		# Clean some so they can be repopulated for the target arch.
+		for d in lib tools/test src/mup; do
+			pushd $d
+			make clean
+			popd
+		done
+		# Also don't do docs build again..
+		patch -Np0 -i "${FILESDIR}/post-cross-fix.patch"
+		autoreconf -i
+	fi
+}
+
+pre_build() {
+	# bbox is broken-ish in the Makefile, run it outside of the Makefile.
+	# i.e. compiling + running it outside first *fixes* it re-running it
+	# inside the Makefile..
+	if ! [ "$CROSS_BUILD" ]; then
+		pushd tools/mup
+		make bbox
+		popd
+	fi
+	pushd src/mup
+	../../tools/mup/bbox
+	popd
+}
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: mup-6.8.1.
  2020-10-24 20:56 [PR PATCH] New package: mup-6.3.1 fosslinux
  2020-10-30 23:35 ` [PR PATCH] [Updated] " fosslinux
  2020-10-31 23:32 ` fosslinux
@ 2021-07-01  3:06 ` fosslinux
  2021-07-01  3:06 ` fosslinux
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: fosslinux @ 2021-07-01  3:06 UTC (permalink / raw)
  To: ml

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

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

https://github.com/fosslinux/void-packages mup-new
https://github.com/void-linux/void-packages/pull/25861

New package: mup-6.8.1.


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

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

From 24b211c0418b8dc8de6f8d3814afdab48b391b29 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Sun, 25 Oct 2020 07:49:29 +1100
Subject: [PATCH] New package: mup-6.9.

---
 srcpkgs/mup/files/post-cross-fix.patch | 29 +++++++++++++
 srcpkgs/mup/patches/libvga.patch       | 18 ++++++++
 srcpkgs/mup/template                   | 58 ++++++++++++++++++++++++++
 3 files changed, 105 insertions(+)
 create mode 100644 srcpkgs/mup/files/post-cross-fix.patch
 create mode 100644 srcpkgs/mup/patches/libvga.patch
 create mode 100644 srcpkgs/mup/template

diff --git a/srcpkgs/mup/files/post-cross-fix.patch b/srcpkgs/mup/files/post-cross-fix.patch
new file mode 100644
index 000000000000..4d405c4bbec7
--- /dev/null
+++ b/srcpkgs/mup/files/post-cross-fix.patch
@@ -0,0 +1,29 @@
+--- a/doc/Makefile.am	2020-10-24 15:35:54.045900486 +1100
++++ b/doc/Makefile.am	2020-10-24 15:36:15.274015032 +1100
+@@ -214,26 +214,15 @@
+ mup_uguide__DATA = $(uguide_files)
+ 
+ muschar.ps: ../src/include/muschar.h ../tools/doc/mkmuscharps.sh
+-	../tools/doc/mkmuscharps.sh < ../src/include/muschar.h
+ 
+ quickref.ps: quickref.t ../src/mup/prolog.ps muschar.ps
+-	$(GROFF) -t -Tps quickref.t | $(SED) -e "/BeginProlog/r ../src/mup/prolog.ps" > quickref.ps
+ 
+ uguide.mm: uguide.t ../tools/doc/ugexi muschar.ps ext_1.ps ext_2.ps ext_3.ps ext_4.ps ../src/mup/mup
+-	MUPPATH=$$(pwd)/../mup-input/includes MUPQUIET=1 PATH=$$(pwd)/../src/mup:$$PATH ../tools/doc/ugexi < uguide.t > uguide.mm
+ 
+ uguide.ps: uguide.mm ../tools/doc/mvtoc ../src/mup/prolog.ps
+-	$(GROFF) -t -Tps -mm -rN2 uguide.mm | $(SED) -e "/BeginProlog/r ../src/mup/prolog.ps" > uguide.ps.tmp
+-	../tools/doc/mvtoc uguide.ps.tmp > uguide.ps
+-	rm uguide.ps.tmp
+ 
+ ext_1.mup ext_2.mup ext_3.mup ext_4.mup: charlist ../src/mup/fontdata.c ../tools/doc/gen_ext_mup
+-	../tools/doc/gen_ext_mup
+ 
+ ext_1.ps ext_2.ps ext_3.ps ext_4.ps: ext_1.mup ext_2.mup ext_3.mup ext_4.mup ../src/mup/mup
+-	for p in 1 2 3 4 ; do ../src/mup/mup ext_$$p.mup | $(SED) -e "/Copyright/,/Set up extended character set fonts/d" -e "/BeginFeature/,/EndFeature/d" -e "/%%Trailer/,/%%DocumentFonts/d"  -e "/%%Page/d" > ext_$$p.ps; done
+ 
+ $(uguide_files): uguide.mm ../tools/doc/tr2html ../tools/doc/mkuggifs ../src/mup/prolog.ps muschar.ps
+-	mkdir -p uguide
+-	(cd uguide ; cp ../param_index . ; ../../tools/doc/tr2html < ../uguide.mm > /dev/null ; rm param_index)
+-	(cd uguide; ../../tools/doc/mkuggifs  CAT=$(CAT) GS=$(GS) EXPR=$(EXPR) SORT=$(SORT) PPMTOGIF=$(PPMTOGIF) GREP=$(GREP) EGREP=$(EGREP) )
diff --git a/srcpkgs/mup/patches/libvga.patch b/srcpkgs/mup/patches/libvga.patch
new file mode 100644
index 000000000000..563054e9e8e6
--- /dev/null
+++ b/srcpkgs/mup/patches/libvga.patch
@@ -0,0 +1,18 @@
+libvga dosen't exist on void. and it makes cross fail.
+
+checking for /usr/lib/libvga.a... configure: error: cannot check for file existence when cross compiling
+
+--- a/configure.ac	2020-10-22 20:19:24.633514760 +1100
++++ b/configure.ac	2020-10-22 20:19:46.917655818 +1100
+@@ -126,10 +126,7 @@
+ 
+ AS_IF([test "x$enable_mupdisp" != xno],
+ 	[
+-	# Check if libvga.a is available for mupdisp
+-	AC_CHECK_FILE([/usr/lib/libvga.a],[use_vga=yes],)
+-	AC_CHECK_FILE([/usr/lib64/libvga.a],[use_vga=yes],)
+-	test "$use_vga" != "yes" && AC_SUBST([LIBVGA],[-DNO_VGA_LIB])
++	AC_SUBST([LIBVGA],[-DNO_VGA_LIB])
+ 	]
+ )
+ 
diff --git a/srcpkgs/mup/template b/srcpkgs/mup/template
new file mode 100644
index 000000000000..a0b16f5d93ba
--- /dev/null
+++ b/srcpkgs/mup/template
@@ -0,0 +1,58 @@
+# Template file for 'mup'
+pkgname=mup
+version=6.9
+revision=1
+build_style=gnu-configure
+# Multiple things are broken with multithreaded compile
+make_build_args="-j1"
+hostmakedepends="ghostscript groff flex bison netpbm automake"
+makedepends="fltk-devel libXpm-devel"
+short_desc="Free, yet very feature rich, music publication program"
+maintainer="fosslinux <fosslinux@aussies.space>"
+license="BSD-3-Clause"
+homepage="http://www.arkkra.com/"
+distfiles="ftp://ftp.arkkra.com/pub/unix/mup${version//.}src.tar.gz"
+checksum=75380d13f6478716471ac4a3aff800097a7b57bc3bd4f0ac49d9a1aa87239285
+
+pre_configure() {
+	autoreconf -i
+
+	# Some things need to be compiled and/or run for the host system first
+	# when cross-building.
+	if [ "$CROSS_BUILD" ]; then
+		CC=cc CXX=g++ LD=ld AR=ar RANLIB=ranlib CFLAGS="-static" \
+			CXXFLAGS="-static" LDFLAGS="-static" ./configure
+		for d in lib tools src/mup doc; do
+			pushd $d
+			make
+			popd
+		done
+		# Clean some so they can be repopulated for the target arch.
+		for d in lib tools/test src/mup; do
+			pushd $d
+			make clean
+			popd
+		done
+		# Also don't do docs build again..
+		patch -Np1 -i "${FILESDIR}/post-cross-fix.patch"
+		autoreconf -i
+	fi
+}
+
+pre_build() {
+	# bbox is broken-ish in the Makefile, run it outside of the Makefile.
+	# i.e. compiling + running it outside first *fixes* it re-running it
+	# inside the Makefile..
+	if ! [ "$CROSS_BUILD" ]; then
+		pushd tools/mup
+		make bbox
+		popd
+	fi
+	pushd src/mup
+	../../tools/mup/bbox
+	popd
+}
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: New package: mup-6.8.1.
  2020-10-24 20:56 [PR PATCH] New package: mup-6.3.1 fosslinux
                   ` (2 preceding siblings ...)
  2021-07-01  3:06 ` [PR PATCH] [Updated] New package: mup-6.8.1 fosslinux
@ 2021-07-01  3:06 ` fosslinux
  2021-07-01  4:05 ` [PR REVIEW] New package: mup-6.9 ericonr
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: fosslinux @ 2021-07-01  3:06 UTC (permalink / raw)
  To: ml

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

New comment by fosslinux on void-packages repository

https://github.com/void-linux/void-packages/pull/25861#issuecomment-871877208

Comment:
Ping


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

* Re: [PR REVIEW] New package: mup-6.9.
  2020-10-24 20:56 [PR PATCH] New package: mup-6.3.1 fosslinux
                   ` (3 preceding siblings ...)
  2021-07-01  3:06 ` fosslinux
@ 2021-07-01  4:05 ` ericonr
  2021-07-01  6:43 ` fosslinux
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: ericonr @ 2021-07-01  4:05 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/25861#discussion_r661954937

Comment:
`disable_parallel_builds`?

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

* Re: [PR REVIEW] New package: mup-6.9.
  2020-10-24 20:56 [PR PATCH] New package: mup-6.3.1 fosslinux
                   ` (4 preceding siblings ...)
  2021-07-01  4:05 ` [PR REVIEW] New package: mup-6.9 ericonr
@ 2021-07-01  6:43 ` fosslinux
  2021-07-01  6:45 ` [PR PATCH] [Updated] " fosslinux
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: fosslinux @ 2021-07-01  6:43 UTC (permalink / raw)
  To: ml

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

New review comment by fosslinux on void-packages repository

https://github.com/void-linux/void-packages/pull/25861#discussion_r662021185

Comment:
Oh yeah that exists now. The cross hacking I am indifferent on. From 6.3 -> 6.9 I didn't need to change anything but I don't have a strong preference either way.

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

* Re: [PR PATCH] [Updated] New package: mup-6.9.
  2020-10-24 20:56 [PR PATCH] New package: mup-6.3.1 fosslinux
                   ` (5 preceding siblings ...)
  2021-07-01  6:43 ` fosslinux
@ 2021-07-01  6:45 ` fosslinux
  2021-07-01  7:42 ` fosslinux
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: fosslinux @ 2021-07-01  6:45 UTC (permalink / raw)
  To: ml

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

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

https://github.com/fosslinux/void-packages mup-new
https://github.com/void-linux/void-packages/pull/25861

New package: mup-6.9.


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

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

From 0b96b8c51d3f33c5cc21e705e18a36f4b8c49831 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Sun, 25 Oct 2020 07:49:29 +1100
Subject: [PATCH] New package: mup-6.9.

---
 srcpkgs/mup/files/post-cross-fix.patch | 29 +++++++++++++
 srcpkgs/mup/patches/libvga.patch       | 18 ++++++++
 srcpkgs/mup/template                   | 58 ++++++++++++++++++++++++++
 3 files changed, 105 insertions(+)
 create mode 100644 srcpkgs/mup/files/post-cross-fix.patch
 create mode 100644 srcpkgs/mup/patches/libvga.patch
 create mode 100644 srcpkgs/mup/template

diff --git a/srcpkgs/mup/files/post-cross-fix.patch b/srcpkgs/mup/files/post-cross-fix.patch
new file mode 100644
index 000000000000..4d405c4bbec7
--- /dev/null
+++ b/srcpkgs/mup/files/post-cross-fix.patch
@@ -0,0 +1,29 @@
+--- a/doc/Makefile.am	2020-10-24 15:35:54.045900486 +1100
++++ b/doc/Makefile.am	2020-10-24 15:36:15.274015032 +1100
+@@ -214,26 +214,15 @@
+ mup_uguide__DATA = $(uguide_files)
+ 
+ muschar.ps: ../src/include/muschar.h ../tools/doc/mkmuscharps.sh
+-	../tools/doc/mkmuscharps.sh < ../src/include/muschar.h
+ 
+ quickref.ps: quickref.t ../src/mup/prolog.ps muschar.ps
+-	$(GROFF) -t -Tps quickref.t | $(SED) -e "/BeginProlog/r ../src/mup/prolog.ps" > quickref.ps
+ 
+ uguide.mm: uguide.t ../tools/doc/ugexi muschar.ps ext_1.ps ext_2.ps ext_3.ps ext_4.ps ../src/mup/mup
+-	MUPPATH=$$(pwd)/../mup-input/includes MUPQUIET=1 PATH=$$(pwd)/../src/mup:$$PATH ../tools/doc/ugexi < uguide.t > uguide.mm
+ 
+ uguide.ps: uguide.mm ../tools/doc/mvtoc ../src/mup/prolog.ps
+-	$(GROFF) -t -Tps -mm -rN2 uguide.mm | $(SED) -e "/BeginProlog/r ../src/mup/prolog.ps" > uguide.ps.tmp
+-	../tools/doc/mvtoc uguide.ps.tmp > uguide.ps
+-	rm uguide.ps.tmp
+ 
+ ext_1.mup ext_2.mup ext_3.mup ext_4.mup: charlist ../src/mup/fontdata.c ../tools/doc/gen_ext_mup
+-	../tools/doc/gen_ext_mup
+ 
+ ext_1.ps ext_2.ps ext_3.ps ext_4.ps: ext_1.mup ext_2.mup ext_3.mup ext_4.mup ../src/mup/mup
+-	for p in 1 2 3 4 ; do ../src/mup/mup ext_$$p.mup | $(SED) -e "/Copyright/,/Set up extended character set fonts/d" -e "/BeginFeature/,/EndFeature/d" -e "/%%Trailer/,/%%DocumentFonts/d"  -e "/%%Page/d" > ext_$$p.ps; done
+ 
+ $(uguide_files): uguide.mm ../tools/doc/tr2html ../tools/doc/mkuggifs ../src/mup/prolog.ps muschar.ps
+-	mkdir -p uguide
+-	(cd uguide ; cp ../param_index . ; ../../tools/doc/tr2html < ../uguide.mm > /dev/null ; rm param_index)
+-	(cd uguide; ../../tools/doc/mkuggifs  CAT=$(CAT) GS=$(GS) EXPR=$(EXPR) SORT=$(SORT) PPMTOGIF=$(PPMTOGIF) GREP=$(GREP) EGREP=$(EGREP) )
diff --git a/srcpkgs/mup/patches/libvga.patch b/srcpkgs/mup/patches/libvga.patch
new file mode 100644
index 000000000000..563054e9e8e6
--- /dev/null
+++ b/srcpkgs/mup/patches/libvga.patch
@@ -0,0 +1,18 @@
+libvga dosen't exist on void. and it makes cross fail.
+
+checking for /usr/lib/libvga.a... configure: error: cannot check for file existence when cross compiling
+
+--- a/configure.ac	2020-10-22 20:19:24.633514760 +1100
++++ b/configure.ac	2020-10-22 20:19:46.917655818 +1100
+@@ -126,10 +126,7 @@
+ 
+ AS_IF([test "x$enable_mupdisp" != xno],
+ 	[
+-	# Check if libvga.a is available for mupdisp
+-	AC_CHECK_FILE([/usr/lib/libvga.a],[use_vga=yes],)
+-	AC_CHECK_FILE([/usr/lib64/libvga.a],[use_vga=yes],)
+-	test "$use_vga" != "yes" && AC_SUBST([LIBVGA],[-DNO_VGA_LIB])
++	AC_SUBST([LIBVGA],[-DNO_VGA_LIB])
+ 	]
+ )
+ 
diff --git a/srcpkgs/mup/template b/srcpkgs/mup/template
new file mode 100644
index 000000000000..9183ce746abf
--- /dev/null
+++ b/srcpkgs/mup/template
@@ -0,0 +1,58 @@
+# Template file for 'mup'
+pkgname=mup
+version=6.9
+revision=1
+build_style=gnu-configure
+# Multiple things are broken with multithreaded compile
+disable_parallel_builds=yes
+hostmakedepends="ghostscript groff flex bison netpbm automake"
+makedepends="fltk-devel libXpm-devel"
+short_desc="Free, yet very feature rich, music publication program"
+maintainer="fosslinux <fosslinux@aussies.space>"
+license="BSD-3-Clause"
+homepage="http://www.arkkra.com/"
+distfiles="ftp://ftp.arkkra.com/pub/unix/mup${version//.}src.tar.gz"
+checksum=75380d13f6478716471ac4a3aff800097a7b57bc3bd4f0ac49d9a1aa87239285
+
+pre_configure() {
+	autoreconf -i
+
+	# Some things need to be compiled and/or run for the host system first
+	# when cross-building.
+	if [ "$CROSS_BUILD" ]; then
+		CC=cc CXX=g++ LD=ld AR=ar RANLIB=ranlib CFLAGS="-static" \
+			CXXFLAGS="-static" LDFLAGS="-static" ./configure
+		for d in lib tools src/mup doc; do
+			pushd $d
+			make
+			popd
+		done
+		# Clean some so they can be repopulated for the target arch.
+		for d in lib tools/test src/mup; do
+			pushd $d
+			make clean
+			popd
+		done
+		# Also don't do docs build again..
+		patch -Np1 -i "${FILESDIR}/post-cross-fix.patch"
+		autoreconf -i
+	fi
+}
+
+pre_build() {
+	# bbox is broken-ish in the Makefile, run it outside of the Makefile.
+	# i.e. compiling + running it outside first *fixes* it re-running it
+	# inside the Makefile..
+	if ! [ "$CROSS_BUILD" ]; then
+		pushd tools/mup
+		make bbox
+		popd
+	fi
+	pushd src/mup
+	../../tools/mup/bbox
+	popd
+}
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: mup-6.9.
  2020-10-24 20:56 [PR PATCH] New package: mup-6.3.1 fosslinux
                   ` (6 preceding siblings ...)
  2021-07-01  6:45 ` [PR PATCH] [Updated] " fosslinux
@ 2021-07-01  7:42 ` fosslinux
  2021-07-01  8:57 ` fosslinux
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: fosslinux @ 2021-07-01  7:42 UTC (permalink / raw)
  To: ml

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

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

https://github.com/fosslinux/void-packages mup-new
https://github.com/void-linux/void-packages/pull/25861

New package: mup-6.9.


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

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

From 8d884dc8462dc72a27b0b89172d37d89fea6a6ae Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Sun, 25 Oct 2020 07:49:29 +1100
Subject: [PATCH] New package: mup-6.9.

---
 srcpkgs/mup/files/post-cross-fix.patch | 29 +++++++++++++
 srcpkgs/mup/patches/libvga.patch       | 18 ++++++++
 srcpkgs/mup/template                   | 58 ++++++++++++++++++++++++++
 3 files changed, 105 insertions(+)
 create mode 100644 srcpkgs/mup/files/post-cross-fix.patch
 create mode 100644 srcpkgs/mup/patches/libvga.patch
 create mode 100644 srcpkgs/mup/template

diff --git a/srcpkgs/mup/files/post-cross-fix.patch b/srcpkgs/mup/files/post-cross-fix.patch
new file mode 100644
index 000000000000..4d405c4bbec7
--- /dev/null
+++ b/srcpkgs/mup/files/post-cross-fix.patch
@@ -0,0 +1,29 @@
+--- a/doc/Makefile.am	2020-10-24 15:35:54.045900486 +1100
++++ b/doc/Makefile.am	2020-10-24 15:36:15.274015032 +1100
+@@ -214,26 +214,15 @@
+ mup_uguide__DATA = $(uguide_files)
+ 
+ muschar.ps: ../src/include/muschar.h ../tools/doc/mkmuscharps.sh
+-	../tools/doc/mkmuscharps.sh < ../src/include/muschar.h
+ 
+ quickref.ps: quickref.t ../src/mup/prolog.ps muschar.ps
+-	$(GROFF) -t -Tps quickref.t | $(SED) -e "/BeginProlog/r ../src/mup/prolog.ps" > quickref.ps
+ 
+ uguide.mm: uguide.t ../tools/doc/ugexi muschar.ps ext_1.ps ext_2.ps ext_3.ps ext_4.ps ../src/mup/mup
+-	MUPPATH=$$(pwd)/../mup-input/includes MUPQUIET=1 PATH=$$(pwd)/../src/mup:$$PATH ../tools/doc/ugexi < uguide.t > uguide.mm
+ 
+ uguide.ps: uguide.mm ../tools/doc/mvtoc ../src/mup/prolog.ps
+-	$(GROFF) -t -Tps -mm -rN2 uguide.mm | $(SED) -e "/BeginProlog/r ../src/mup/prolog.ps" > uguide.ps.tmp
+-	../tools/doc/mvtoc uguide.ps.tmp > uguide.ps
+-	rm uguide.ps.tmp
+ 
+ ext_1.mup ext_2.mup ext_3.mup ext_4.mup: charlist ../src/mup/fontdata.c ../tools/doc/gen_ext_mup
+-	../tools/doc/gen_ext_mup
+ 
+ ext_1.ps ext_2.ps ext_3.ps ext_4.ps: ext_1.mup ext_2.mup ext_3.mup ext_4.mup ../src/mup/mup
+-	for p in 1 2 3 4 ; do ../src/mup/mup ext_$$p.mup | $(SED) -e "/Copyright/,/Set up extended character set fonts/d" -e "/BeginFeature/,/EndFeature/d" -e "/%%Trailer/,/%%DocumentFonts/d"  -e "/%%Page/d" > ext_$$p.ps; done
+ 
+ $(uguide_files): uguide.mm ../tools/doc/tr2html ../tools/doc/mkuggifs ../src/mup/prolog.ps muschar.ps
+-	mkdir -p uguide
+-	(cd uguide ; cp ../param_index . ; ../../tools/doc/tr2html < ../uguide.mm > /dev/null ; rm param_index)
+-	(cd uguide; ../../tools/doc/mkuggifs  CAT=$(CAT) GS=$(GS) EXPR=$(EXPR) SORT=$(SORT) PPMTOGIF=$(PPMTOGIF) GREP=$(GREP) EGREP=$(EGREP) )
diff --git a/srcpkgs/mup/patches/libvga.patch b/srcpkgs/mup/patches/libvga.patch
new file mode 100644
index 000000000000..563054e9e8e6
--- /dev/null
+++ b/srcpkgs/mup/patches/libvga.patch
@@ -0,0 +1,18 @@
+libvga dosen't exist on void. and it makes cross fail.
+
+checking for /usr/lib/libvga.a... configure: error: cannot check for file existence when cross compiling
+
+--- a/configure.ac	2020-10-22 20:19:24.633514760 +1100
++++ b/configure.ac	2020-10-22 20:19:46.917655818 +1100
+@@ -126,10 +126,7 @@
+ 
+ AS_IF([test "x$enable_mupdisp" != xno],
+ 	[
+-	# Check if libvga.a is available for mupdisp
+-	AC_CHECK_FILE([/usr/lib/libvga.a],[use_vga=yes],)
+-	AC_CHECK_FILE([/usr/lib64/libvga.a],[use_vga=yes],)
+-	test "$use_vga" != "yes" && AC_SUBST([LIBVGA],[-DNO_VGA_LIB])
++	AC_SUBST([LIBVGA],[-DNO_VGA_LIB])
+ 	]
+ )
+ 
diff --git a/srcpkgs/mup/template b/srcpkgs/mup/template
new file mode 100644
index 000000000000..01e7523d99a4
--- /dev/null
+++ b/srcpkgs/mup/template
@@ -0,0 +1,58 @@
+# Template file for 'mup'
+pkgname=mup
+version=6.9
+revision=1
+build_style=gnu-configure
+hostmakedepends="ghostscript groff flex bison netpbm automake"
+makedepends="fltk-devel libXpm-devel"
+short_desc="Free, yet very feature rich, music publication program"
+maintainer="fosslinux <fosslinux@aussies.space>"
+license="BSD-3-Clause"
+homepage="http://www.arkkra.com/"
+distfiles="ftp://ftp.arkkra.com/pub/unix/mup${version//.}src.tar.gz"
+checksum=75380d13f6478716471ac4a3aff800097a7b57bc3bd4f0ac49d9a1aa87239285
+# Multiple things are broken with multithreaded compile
+disable_parallel_build=yes
+
+pre_configure() {
+	autoreconf -i
+
+	# Some things need to be compiled and/or run for the host system first
+	# when cross-building.
+	if [ "$CROSS_BUILD" ]; then
+		CC=cc CXX=g++ LD=ld AR=ar RANLIB=ranlib CFLAGS="-static" \
+			CXXFLAGS="-static" LDFLAGS="-static" ./configure
+		for d in lib tools src/mup doc; do
+			pushd $d
+			make
+			popd
+		done
+		# Clean some so they can be repopulated for the target arch.
+		for d in lib tools/test src/mup; do
+			pushd $d
+			make clean
+			popd
+		done
+		# Also don't do docs build again..
+		patch -Np1 -i "${FILESDIR}/post-cross-fix.patch"
+		autoreconf -i
+	fi
+}
+
+pre_build() {
+	# bbox is broken-ish in the Makefile, run it outside of the Makefile.
+	# i.e. compiling + running it outside first *fixes* it re-running it
+	# inside the Makefile..
+	if ! [ "$CROSS_BUILD" ]; then
+		pushd tools/mup
+		make bbox
+		popd
+	fi
+	pushd src/mup
+	../../tools/mup/bbox
+	popd
+}
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: New package: mup-6.9.
  2020-10-24 20:56 [PR PATCH] New package: mup-6.3.1 fosslinux
                   ` (7 preceding siblings ...)
  2021-07-01  7:42 ` fosslinux
@ 2021-07-01  8:57 ` fosslinux
  2021-08-12  1:57 ` [PR REVIEW] " ericonr
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: fosslinux @ 2021-07-01  8:57 UTC (permalink / raw)
  To: ml

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

New comment by fosslinux on void-packages repository

https://github.com/void-linux/void-packages/pull/25861#issuecomment-872061059

Comment:
I swear these "Transient resolver failures"

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

* Re: [PR REVIEW] New package: mup-6.9.
  2020-10-24 20:56 [PR PATCH] New package: mup-6.3.1 fosslinux
                   ` (8 preceding siblings ...)
  2021-07-01  8:57 ` fosslinux
@ 2021-08-12  1:57 ` ericonr
  2021-08-12 23:01 ` fosslinux
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: ericonr @ 2021-08-12  1:57 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/25861#discussion_r687311793

Comment:
Hm, I'm unable to access their homepage to see if there's been a new release...

Sorry for the delay, I think we can merge this.

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

* Re: [PR REVIEW] New package: mup-6.9.
  2020-10-24 20:56 [PR PATCH] New package: mup-6.3.1 fosslinux
                   ` (9 preceding siblings ...)
  2021-08-12  1:57 ` [PR REVIEW] " ericonr
@ 2021-08-12 23:01 ` fosslinux
  2022-04-21  2:12 ` github-actions
  2022-05-06  2:08 ` [PR PATCH] [Closed]: " github-actions
  12 siblings, 0 replies; 14+ messages in thread
From: fosslinux @ 2021-08-12 23:01 UTC (permalink / raw)
  To: ml

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

New review comment by fosslinux on void-packages repository

https://github.com/void-linux/void-packages/pull/25861#discussion_r688138719

Comment:
That's odd.. I'm able to;

> It is now available in Version 6.9, which was released in 2021

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

* Re: New package: mup-6.9.
  2020-10-24 20:56 [PR PATCH] New package: mup-6.3.1 fosslinux
                   ` (10 preceding siblings ...)
  2021-08-12 23:01 ` fosslinux
@ 2022-04-21  2:12 ` github-actions
  2022-05-06  2:08 ` [PR PATCH] [Closed]: " github-actions
  12 siblings, 0 replies; 14+ messages in thread
From: github-actions @ 2022-04-21  2:12 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/25861#issuecomment-1104635135

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

* Re: [PR PATCH] [Closed]: New package: mup-6.9.
  2020-10-24 20:56 [PR PATCH] New package: mup-6.3.1 fosslinux
                   ` (11 preceding siblings ...)
  2022-04-21  2:12 ` github-actions
@ 2022-05-06  2:08 ` github-actions
  12 siblings, 0 replies; 14+ messages in thread
From: github-actions @ 2022-05-06  2:08 UTC (permalink / raw)
  To: ml

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

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

New package: mup-6.9.
https://github.com/void-linux/void-packages/pull/25861

Description:


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

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

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-24 20:56 [PR PATCH] New package: mup-6.3.1 fosslinux
2020-10-30 23:35 ` [PR PATCH] [Updated] " fosslinux
2020-10-31 23:32 ` fosslinux
2021-07-01  3:06 ` [PR PATCH] [Updated] New package: mup-6.8.1 fosslinux
2021-07-01  3:06 ` fosslinux
2021-07-01  4:05 ` [PR REVIEW] New package: mup-6.9 ericonr
2021-07-01  6:43 ` fosslinux
2021-07-01  6:45 ` [PR PATCH] [Updated] " fosslinux
2021-07-01  7:42 ` fosslinux
2021-07-01  8:57 ` fosslinux
2021-08-12  1:57 ` [PR REVIEW] " ericonr
2021-08-12 23:01 ` fosslinux
2022-04-21  2:12 ` github-actions
2022-05-06  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).