From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8A038158094 for ; Thu, 14 Jul 2022 09:26:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 575A8E0BF8; Thu, 14 Jul 2022 09:26:42 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2486EE0BF8 for ; Thu, 14 Jul 2022 09:26:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E9136340BBD for ; Thu, 14 Jul 2022 09:26:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3C3EF525 for ; Thu, 14 Jul 2022 09:26:39 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1657790744.721cd0ed815fe82083f1278692a9f5c3ce3ee8b4.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/mup/, media-sound/mup/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/mup/Manifest media-sound/mup/files/mup-6.9-build-system.patch media-sound/mup/mup-6.9.ebuild X-VCS-Directories: media-sound/mup/ media-sound/mup/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 721cd0ed815fe82083f1278692a9f5c3ce3ee8b4 X-VCS-Branch: master Date: Thu, 14 Jul 2022 09:26:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0bea223d-79ac-498e-9620-d379c1356fe3 X-Archives-Hash: e228db13f9e3989e69d24e25a96f8870 commit: 721cd0ed815fe82083f1278692a9f5c3ce3ee8b4 Author: Sam James gentoo org> AuthorDate: Thu Jul 14 09:25:12 2022 +0000 Commit: Sam James gentoo org> CommitDate: Thu Jul 14 09:25:44 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=721cd0ed media-sound/mup: add 6.9 Signed-off-by: Sam James gentoo.org> media-sound/mup/Manifest | 1 + media-sound/mup/files/mup-6.9-build-system.patch | 125 +++++++++++++++++++++++ media-sound/mup/mup-6.9.ebuild | 54 ++++++++++ 3 files changed, 180 insertions(+) diff --git a/media-sound/mup/Manifest b/media-sound/mup/Manifest index 056b323faec5..64c44c62e49c 100644 --- a/media-sound/mup/Manifest +++ b/media-sound/mup/Manifest @@ -1 +1,2 @@ DIST mup66src.tar.gz 2514430 BLAKE2B d2747a0fc46f055b370456305b1c56bd1e35827c10686650804801826a945d7a60a25095a3d789fbec0abf2a0aab6cb2e1a8b87eadd2858674f54cbfca377dfb SHA512 3239be85eb9e52adf941a3c927e200a3232d697ee081b359ee63d8aac7a8748af09cc66eef33b6145ccdfeb548a1f93130beb99960ed858d695fcc286c61bd35 +DIST mup69src.tar.gz 3062560 BLAKE2B cb7456fe52f85a122106675372a5ffabe9466086e730cbb15dbb590ea2485ecfc34e52d8b8c7c3a583d98e4e8e352be07a203e41da38cd145adf11cdf59bad92 SHA512 b3b49177e12b6a8dbd711e88a327826b60e4141a0720c1be4900af2124ac29592572d866d98f2a5b8318fb008fb035371ad83f152601bf22d98a3e7568ecfe95 diff --git a/media-sound/mup/files/mup-6.9-build-system.patch b/media-sound/mup/files/mup-6.9-build-system.patch new file mode 100644 index 000000000000..07a7dba237bf --- /dev/null +++ b/media-sound/mup/files/mup-6.9-build-system.patch @@ -0,0 +1,125 @@ +--- a/Makefile.am ++++ b/Makefile.am +@@ -1,4 +1,2 @@ + SUBDIRS = lib tools src doc mup-input packaging +-EXTRA_DIST = LICENSE simple.makefile +-mup_doc_dir = $(datadir)/doc/packages/$(PACKAGE) +-mup_doc__DATA = LICENSE ++EXTRA_DIST = simple.makefile +--- a/configure.ac ++++ b/configure.ac +@@ -3,7 +3,7 @@ + + AC_PREREQ([2.69]) + AC_INIT([mup], [6.9], [support@arkkra.com]) +-AM_INIT_AUTOMAKE([-Wall -Werror]) ++AM_INIT_AUTOMAKE([-Wall]) + + # Checks for programs. + AC_PROG_CXX +@@ -16,21 +16,21 @@ AC_PROG_SED + AC_PROG_MKDIR_P + + AC_PATH_PROGS(GS, [gs gs386], [none]) +-test "$GS" == "none" && AC_MSG_ERROR([required ghostscript program 'gs' is missing]) ++test "$GS" = "none" && AC_MSG_ERROR([required ghostscript program 'gs' is missing]) + AC_PATH_PROG(GROFF, [groff], [none]) +-test "$GROFF" == "none" && AC_MSG_ERROR([required program 'groff' is missing]) ++test "$GROFF" = "none" && AC_MSG_ERROR([required program 'groff' is missing]) + AC_PATH_PROG(BISON, [bison], [none]) +-test "$BISON" == "none" && AC_MSG_ERROR([required program 'bison' is missing]) ++test "$BISON" = "none" && AC_MSG_ERROR([required program 'bison' is missing]) + AC_PATH_PROG(PPMTOGIF, [ppmtogif], [none]) +-test "$PPMTOGIF" == "none" && AC_MSG_ERROR([required program 'ppmtogif' is missing]) ++test "$PPMTOGIF" = "none" && AC_MSG_ERROR([required program 'ppmtogif' is missing]) + AC_PATH_PROG(EXPR, [expr], [none]) +-test "$EXPR" == "none" && AC_MSG_ERROR([required program 'expr' is missing]) ++test "$EXPR" = "none" && AC_MSG_ERROR([required program 'expr' is missing]) + AC_PATH_PROG(SORT, [sort], [none]) +-test "$SORT" == "none" && AC_MSG_ERROR([required program 'sort' is missing]) ++test "$SORT" = "none" && AC_MSG_ERROR([required program 'sort' is missing]) + AC_PATH_PROG(CAT, [cat], [none]) +-test "$CAT" == "none" && AC_MSG_ERROR([required program 'cat' is missing]) ++test "$CAT" = "none" && AC_MSG_ERROR([required program 'cat' is missing]) + AC_PATH_PROG(EGREP, [egrep], [none]) +-test "$EGREP" == "none" && AC_MSG_ERROR([required program 'egrep' is missing]) ++test "$EGREP" = "none" && AC_MSG_ERROR([required program 'egrep' is missing]) + + # Need to know if on Windows to install mupprnt.bat rather than shell script + AC_CANONICAL_HOST +@@ -70,7 +70,7 @@ AS_IF([test "x$enable_mupmate" != xno], + # Find fltk-config program + PATH="$fltk_prefix/bin:$PATH" + AC_PATH_PROG(FLTK_CONFIG, fltk-config, none, $PATH) +- test "$FLTK_CONFIG" == "none" && AC_MSG_ERROR([required program 'fltk-config' is missing]) ++ test "$FLTK_CONFIG" = "none" && AC_MSG_ERROR([required program 'fltk-config' is missing]) + # Make sure it is the 1.x API, not 2.x + fltk_api_version="`$FLTK_CONFIG --api-version`" + fltk_api_major=`echo $fltk_api_version | sed -e 's/\..*//'` +@@ -79,13 +79,13 @@ AS_IF([test "x$enable_mupmate" != xno], + AC_SUBST([FLTK_CXXFLAGS], [`$FLTK_CONFIG --cxxflags`]) + # Red Hat/CentOS 7 version of fltk-config doesn't include -lfltk when using --use_image --ldflags, so fix that + fltk_ldflags="`$FLTK_CONFIG --use-images --ldflags`" +- if test "$fltk_ldflags" == "-lfltk_images" ++ if test "$fltk_ldflags" = "-lfltk_images" + then + AC_SUBST([FLTK_LDFLAGS], ["-lfltk -lfltk_images"]) + else + AC_SUBST([FLTK_LDFLAGS], [`$FLTK_CONFIG --use-images --ldflags`]) + fi +- test "$build_mac" == "yes" && AC_SUBST([EXTRA_CFLAGS], [-Dunix]) ++ test "$build_mac" = "yes" && AC_SUBST([EXTRA_CFLAGS], [-Dunix]) + # Check that libraries that Mupmate needs exist + AC_CHECK_LIB([fltk], [fl_alphasort], [ ]) + AC_CHECK_LIB([fltk_images], [main], [ ]) +@@ -100,13 +100,13 @@ AS_IF([test "x$enable_mupmate" != xno], + AC_CHECK_LIB([z], [gzgets], [ ]) + + # Programs for Windows icons for Mupmate +- test "$build_windows" == "yes" && test "$PAMTOWINICON" == "none" && test "$PPMWINICON" == "none" && AC_MSG_ERROR([Need either pamtowinicon or ppmtowinicon]) ++ test "$build_windows" = "yes" && test "$PAMTOWINICON" = "none" && test "$PPMWINICON" = "none" && AC_MSG_ERROR([Need either pamtowinicon or ppmtowinicon]) + AC_PATH_PROG(XPMTOPPM, xpmtoppm, none, $PATH) +- test "$build_windows" == "yes" && test "$XPMTOPPM" == "none" && AC_MSG_ERROR([Need xpmtoppm]) ++ test "$build_windows" = "yes" && test "$XPMTOPPM" = "none" && AC_MSG_ERROR([Need xpmtoppm]) + AC_PATH_PROG(PPMTOPGM, ppmtopgm, none, $PATH) +- test "$build_windows" == "yes" && test "$PPMTOPGM" == "none" && test "$PAMTOWINICON" == "none" && AC_MSG_ERROR([Need ppmtopgm]) ++ test "$build_windows" = "yes" && test "$PPMTOPGM" = "none" && test "$PAMTOWINICON" = "none" && AC_MSG_ERROR([Need ppmtopgm]) + AC_PATH_PROG(WINDRES, i386-mingw32msvc-windres, none, $PATH) +- test "$build_windows" == "yes" && test "$WINDRES" == "none" && AC_MSG_ERROR([Need i386-mingw32msvc-windres]) ++ test "$build_windows" = "yes" && test "$WINDRES" = "none" && AC_MSG_ERROR([Need i386-mingw32msvc-windres]) + ] + ) + +@@ -122,7 +122,7 @@ AC_FUNC_MALLOC + AC_FUNC_MMAP + AC_FUNC_REALLOC + AC_CHECK_FUNCS([access alarm atan cos getcwd isascii isspace memcmp memmove memset munmap pow putenv select setenv sin sqrt strcasecmp strchr strcmp strcpy strcspn strdup strerror strncasecmp strncpy strpbrk strrchr strspn strstr strtol tan unlink]) +-test "$build_linux" == "yes" && AC_CHECK_FUNCS([kill sleep waitpid]) ++test "$build_linux" = "yes" && AC_CHECK_FUNCS([kill sleep waitpid]) + + AS_IF([test "x$enable_mupdisp" != xno], + [ +--- a/doc/Makefile.am ++++ b/doc/Makefile.am +@@ -208,10 +208,9 @@ uguide_files = \ + + ps_files = quickref.ps uguide.ps + EXTRA_DIST = uguide.t quickref.t charlist $(uguide_files) $(ps_files) +-mup_doc_dir = $(datadir)/doc/packages/$(PACKAGE) +-mup_doc__DATA = $(ps_files) +-mup_uguide_dir = $(mup_doc_dir)/uguide +-mup_uguide__DATA = $(uguide_files) ++dist_doc_DATA = $(ps_files) ++mup_uguidedir = $(docdir)/uguide ++mup_uguide_DATA = $(uguide_files) + + muschar.ps: ../src/include/muschar.h ../tools/doc/mkmuscharps.sh + ../tools/doc/mkmuscharps.sh < ../src/include/muschar.h +--- a/doc/htmldocs/Makefile.am ++++ b/doc/htmldocs/Makefile.am +@@ -1,4 +1,4 @@ + mup_html_docs = blind.html faq.html Macinst.html mupfeat.html overview.html usercomm.html whatsnew.html winrun.html +-mup_htmldoc_dir = $(datadir)/doc/packages/$(PACKAGE) ++mup_htmldoc_dir = $(htmldir) + mup_htmldoc__DATA = $(mup_html_docs) + EXTRA_DIST = $(mup_html_docs) diff --git a/media-sound/mup/mup-6.9.ebuild b/media-sound/mup/mup-6.9.ebuild new file mode 100644 index 000000000000..9284b6f85709 --- /dev/null +++ b/media-sound/mup/mup-6.9.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools toolchain-funcs + +DESCRIPTION="Program for printing music scores" +HOMEPAGE="http://www.arkkra.com/" +SRC_URI="http://www.arkkra.com/ftp/pub/unix/mup${PV//.}src.tar.gz + ftp://ftp.arkkra.com/pub/unix/mup${PV//.}src.tar.gz" + +LICENSE="Arkkra" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +RDEPEND=" + media-libs/libjpeg-turbo:= + media-libs/libpng:= + x11-libs/libX11 + x11-libs/libXext + >=x11-libs/fltk-1.3:1 + x11-libs/libXpm +" +DEPEND=" + ${RDEPEND} + x11-base/xorg-proto +" +BDEPEND=" + app-text/ghostscript-gpl + media-libs/netpbm + sys-apps/groff + sys-devel/bison +" + +PATCHES=( + "${FILESDIR}"/${PN}-6.9-build-system.patch +) + +src_prepare() { + default + + eautoreconf +} + +src_compile() { + emake -j1 CCOMPILER="$(tc-getCC)" CPPCOMPILER="$(tc-getCXX)" CFLAGS="${CFLAGS}" +} + +src_install() { + emake -j1 DESTDIR="${D}" install + + dodoc README +}