* [gentoo-commits] repo/gentoo:master commit in: media-sound/mac/files/, media-sound/mac/
@ 2017-03-04 18:32 Daniel Pielmeier
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Pielmeier @ 2017-03-04 18:32 UTC (permalink / raw
To: gentoo-commits
commit: 44c26d5015cc5bcfa96159da02e6a27be7bf5bc3
Author: Daniel Pielmeier <billie <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 4 18:31:46 2017 +0000
Commit: Daniel Pielmeier <billie <AT> gentoo <DOT> org>
CommitDate: Sat Mar 4 18:32:17 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44c26d50
media-sound/mac: Version bump.
Monkeys Audio 4.11 taken from Debian Multimedia including patches.
Also includes gcc 6 patch from Github pull request #4119 thanks to
Harri Nieminen.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
media-sound/mac/Manifest | 1 +
media-sound/mac/files/mac-4.11.4.5.7-gcc6.patch | 199 ++++++++++++++++++++++
media-sound/mac/files/mac-4.11.4.5.7-output.patch | 27 +++
media-sound/mac/mac-4.11.4.5.7.ebuild | 59 +++++++
4 files changed, 286 insertions(+)
diff --git a/media-sound/mac/Manifest b/media-sound/mac/Manifest
index 9e3e6d78b52..be07b3b6d7a 100644
--- a/media-sound/mac/Manifest
+++ b/media-sound/mac/Manifest
@@ -1 +1,2 @@
DIST mac-3.99-u4-b5-s7.tar.gz 450981 SHA256 9a735af2c56f05ee06b6e2ff719e902271299adf9e25cd3c9e4b28e8df3e30c5 SHA512 fa7ca8cec0ba6c0fb78dda6e964b17e9331184fed656a2458d0e3ac12fc375a661adfd36c142ef63111f31c6b63e8c00fe40e7babe84f0cefe5433940be628e0 WHIRLPOOL f4df5bccad06b7313348e9be734e926c1d511a2e3ca40162bc2c6a8cffb38c1455543fd7dc0a2352efa91945ae5546364085bd05888e906eb9e1c49fde7f743d
+DIST monkeys-audio_4.11-u4-b5-s7.orig.tar.gz 511190 SHA256 73e28b7dbef5dfd07108b85783261a8a8bb1770917bf2877d4ab8f5c3833299a SHA512 7e73b35c86d6007ab2a94a2d8b7449bb4ac505bbba53e40373a279dc83a9cad5f62a51419a6375335576cf325c88ed7d317b0ef3039b8a497100cb74a63c25d0 WHIRLPOOL be9b56a45c8da00d1c6008d6955a7a9d4fd86e4a893a60b6b35ea426af38900493a213944f1a77451eb942a0d7d0c42e4af3d71c889bead2bc82e5d2732fa022
diff --git a/media-sound/mac/files/mac-4.11.4.5.7-gcc6.patch b/media-sound/mac/files/mac-4.11.4.5.7-gcc6.patch
new file mode 100644
index 00000000000..60494e4f6e5
--- /dev/null
+++ b/media-sound/mac/files/mac-4.11.4.5.7-gcc6.patch
@@ -0,0 +1,199 @@
+diff -Naur monkeys-audio-4.11-u4-b5-s7_old/src/MACLib/APECompress.cpp monkeys-audio-4.11-u4-b5-s7/src/MACLib/APECompress.cpp
+--- monkeys-audio-4.11-u4-b5-s7_old/src/MACLib/APECompress.cpp 2017-03-04 17:07:21.952460418 +0100
++++ monkeys-audio-4.11-u4-b5-s7/src/MACLib/APECompress.cpp 2017-03-04 17:11:58.607449387 +0100
+@@ -116,7 +116,7 @@
+ return ERROR_UNDEFINED;
+
+ // calculate how many bytes to copy and add that much to the buffer
+- int nBytesToProcess = min(nBytesAvailable, nBytes - nBytesDone);
++ int nBytesToProcess = min_macro(nBytesAvailable, nBytes - nBytesDone);
+ memcpy(pBuffer, &pData[nBytesDone], nBytesToProcess);
+
+ // unlock the buffer (fail if not successful)
+@@ -161,7 +161,7 @@
+
+ while ((m_nBufferTail - m_nBufferHead) >= nThreshold)
+ {
+- int nFrameBytes = min(m_spAPECompressCreate->GetFullFrameBytes(), m_nBufferTail - m_nBufferHead);
++ int nFrameBytes = min_macro(m_spAPECompressCreate->GetFullFrameBytes(), m_nBufferTail - m_nBufferHead);
+
+ if (nFrameBytes == 0)
+ break;
+diff -Naur monkeys-audio-4.11-u4-b5-s7_old/src/MACLib/APEDecompress.cpp monkeys-audio-4.11-u4-b5-s7/src/MACLib/APEDecompress.cpp
+--- monkeys-audio-4.11-u4-b5-s7_old/src/MACLib/APEDecompress.cpp 2017-03-04 17:07:21.952460418 +0100
++++ monkeys-audio-4.11-u4-b5-s7/src/MACLib/APEDecompress.cpp 2017-03-04 17:14:55.455442336 +0100
+@@ -36,8 +36,8 @@
+ m_nErrorDecodingCurrentFrameOutputSilenceBlocks = 0;
+
+ // set the "real" start and finish blocks
+- m_nStartBlock = (nStartBlock < 0) ? 0 : min(nStartBlock, GetInfo(APE_INFO_TOTAL_BLOCKS));
+- m_nFinishBlock = (nFinishBlock < 0) ? GetInfo(APE_INFO_TOTAL_BLOCKS) : min(nFinishBlock, GetInfo(APE_INFO_TOTAL_BLOCKS));
++ m_nStartBlock = (nStartBlock < 0) ? 0 : min_macro(nStartBlock, GetInfo(APE_INFO_TOTAL_BLOCKS));
++ m_nFinishBlock = (nFinishBlock < 0) ? GetInfo(APE_INFO_TOTAL_BLOCKS) : min_macro(nFinishBlock, GetInfo(APE_INFO_TOTAL_BLOCKS));
+ m_bIsRanged = (m_nStartBlock != 0) || (m_nFinishBlock != GetInfo(APE_INFO_TOTAL_BLOCKS));
+ }
+
+@@ -85,7 +85,7 @@
+
+ // cap
+ int nBlocksUntilFinish = m_nFinishBlock - m_nCurrentBlock;
+- const int nBlocksToRetrieve = min(nBlocks, nBlocksUntilFinish);
++ const int nBlocksToRetrieve = min_macro(nBlocks, nBlocksUntilFinish);
+
+ // get the data
+ unsigned char * pOutputBuffer = (unsigned char *) pBuffer;
+@@ -99,7 +99,7 @@
+
+ // analyze how much to remove from the buffer
+ const int nFrameBufferBlocks = m_nFrameBufferFinishedBlocks;
+- nBlocksThisPass = min(nBlocksLeft, nFrameBufferBlocks);
++ nBlocksThisPass = min_macro(nBlocksLeft, nFrameBufferBlocks);
+
+ // remove as much as possible
+ if (nBlocksThisPass > 0)
+@@ -179,7 +179,7 @@
+ if (m_nErrorDecodingCurrentFrameOutputSilenceBlocks > 0)
+ {
+ // output silence
+- int nOutputSilenceBlocks = min(m_nErrorDecodingCurrentFrameOutputSilenceBlocks, nBlocksLeft);
++ int nOutputSilenceBlocks = min_macro(m_nErrorDecodingCurrentFrameOutputSilenceBlocks, nBlocksLeft);
+ unsigned char cSilence = (GetInfo(APE_INFO_BITS_PER_SAMPLE) == 8) ? 127 : 0;
+ for (int z = 0; z < nOutputSilenceBlocks * m_nBlockAlign; z++)
+ {
+@@ -204,7 +204,7 @@
+ // analyze
+ int nFrameOffsetBlocks = m_nCurrentFrameBufferBlock % GetInfo(APE_INFO_BLOCKS_PER_FRAME);
+ int nFrameBlocksLeft = nFrameBlocks - nFrameOffsetBlocks;
+- int nBlocksThisPass = min(nFrameBlocksLeft, nBlocksLeft);
++ int nBlocksThisPass = min_macro(nFrameBlocksLeft, nBlocksLeft);
+
+ // start the frame if we need to
+ if (nFrameOffsetBlocks == 0)
+diff -Naur monkeys-audio-4.11-u4-b5-s7_old/src/MACLib/APESimple.cpp monkeys-audio-4.11-u4-b5-s7/src/MACLib/APESimple.cpp
+--- monkeys-audio-4.11-u4-b5-s7_old/src/MACLib/APESimple.cpp 2017-03-04 17:07:21.952460418 +0100
++++ monkeys-audio-4.11-u4-b5-s7/src/MACLib/APESimple.cpp 2017-03-04 17:17:41.695435707 +0100
+@@ -251,7 +251,7 @@
+ nBytesRead = 1;
+ while ((nBytesLeft > 0) && (nBytesRead > 0))
+ {
+- int nBytesToRead = min(16384, nBytesLeft);
++ int nBytesToRead = min_macro(16384, nBytesLeft);
+ if (pIO->Read(spBuffer, nBytesToRead, &nBytesRead) != ERROR_SUCCESS)
+ return ERROR_IO_READ;
+
+diff -Naur monkeys-audio-4.11-u4-b5-s7_old/src/MACLib/APETag.cpp monkeys-audio-4.11-u4-b5-s7/src/MACLib/APETag.cpp
+--- monkeys-audio-4.11-u4-b5-s7_old/src/MACLib/APETag.cpp 2017-03-04 17:07:21.952460418 +0100
++++ monkeys-audio-4.11-u4-b5-s7/src/MACLib/APETag.cpp 2017-03-04 17:18:15.007434379 +0100
+@@ -15,7 +15,7 @@
+ memcpy(m_spFieldNameUTF16, pFieldName, (wcslen(pFieldName) + 1) * sizeof(str_utf16));
+
+ // data (we'll always allocate two extra bytes and memset to 0 so we're safely NULL terminated)
+- m_nFieldValueBytes = max(nFieldBytes, 0);
++ m_nFieldValueBytes = max_macro(nFieldBytes, 0);
+ m_spFieldValue.Assign(new char [m_nFieldValueBytes + 2], TRUE);
+ memset(m_spFieldValue, 0, m_nFieldValueBytes + 2);
+ if (m_nFieldValueBytes > 0)
+diff -Naur monkeys-audio-4.11-u4-b5-s7_old/src/MACLib/BitArray.cpp monkeys-audio-4.11-u4-b5-s7/src/MACLib/BitArray.cpp
+--- monkeys-audio-4.11-u4-b5-s7_old/src/MACLib/BitArray.cpp 2017-03-04 17:07:21.952460418 +0100
++++ monkeys-audio-4.11-u4-b5-s7/src/MACLib/BitArray.cpp 2017-03-04 17:19:12.647432081 +0100
+@@ -113,7 +113,7 @@
+ m_nCurrentBitIndex = (m_nCurrentBitIndex & 31);
+
+ // zero the rest of the memory (may not need the +1 because of frame byte alignment)
+- memset(&m_pBitArray[1], 0, min(nBytesToWrite + 1, BIT_ARRAY_BYTES - 1));
++ memset(&m_pBitArray[1], 0, min_macro(nBytesToWrite + 1, BIT_ARRAY_BYTES - 1));
+ }
+
+ // return a success
+@@ -233,7 +233,7 @@
+ nEncode = (nEncode > 0) ? nEncode * 2 - 1 : -nEncode * 2;
+
+ // figure the pivot value
+- int nPivotValue = max(BitArrayState.nKSum / 32, 1);
++ int nPivotValue = max_macro(BitArrayState.nKSum / 32, 1);
+ int nOverflow = nEncode / nPivotValue;
+ int nBase = nEncode - (nOverflow * nPivotValue);
+
+diff -Naur monkeys-audio-4.11-u4-b5-s7_old/src/MACLib/MACProgressHelper.cpp monkeys-audio-4.11-u4-b5-s7/src/MACLib/MACProgressHelper.cpp
+--- monkeys-audio-4.11-u4-b5-s7_old/src/MACLib/MACProgressHelper.cpp 2017-03-04 17:07:21.952460418 +0100
++++ monkeys-audio-4.11-u4-b5-s7/src/MACLib/MACProgressHelper.cpp 2017-03-04 17:19:56.135430347 +0100
+@@ -27,7 +27,7 @@
+ m_nCurrentStep = nCurrentStep;
+
+ // figure the percentage done
+- float fPercentageDone = float(m_nCurrentStep) / float(max(m_nTotalSteps, 1));
++ float fPercentageDone = float(m_nCurrentStep) / float(max_macro(m_nTotalSteps, 1));
+ int nPercentageDone = (int) (fPercentageDone * 1000 * 100);
+ if (nPercentageDone > 100000) nPercentageDone = 100000;
+
+diff -Naur monkeys-audio-4.11-u4-b5-s7_old/src/MACLib/Prepare.cpp monkeys-audio-4.11-u4-b5-s7/src/MACLib/Prepare.cpp
+--- monkeys-audio-4.11-u4-b5-s7_old/src/MACLib/Prepare.cpp 2017-03-04 17:07:21.952460418 +0100
++++ monkeys-audio-4.11-u4-b5-s7/src/MACLib/Prepare.cpp 2017-03-04 17:20:42.423428501 +0100
+@@ -176,9 +176,9 @@
+
+ if (LPeak == 0) { *pSpecialCodes |= SPECIAL_FRAME_LEFT_SILENCE; }
+ if (RPeak == 0) { *pSpecialCodes |= SPECIAL_FRAME_RIGHT_SILENCE; }
+- if (max(LPeak, RPeak) > *pPeakLevel)
++ if (max_macro(LPeak, RPeak) > *pPeakLevel)
+ {
+- *pPeakLevel = max(LPeak, RPeak);
++ *pPeakLevel = max_macro(LPeak, RPeak);
+ }
+
+ // check for pseudo-stereo files
+diff -Naur monkeys-audio-4.11-u4-b5-s7_old/src/MACLib/UnBitArray.cpp monkeys-audio-4.11-u4-b5-s7/src/MACLib/UnBitArray.cpp
+--- monkeys-audio-4.11-u4-b5-s7_old/src/MACLib/UnBitArray.cpp 2017-03-04 17:07:21.952460418 +0100
++++ monkeys-audio-4.11-u4-b5-s7/src/MACLib/UnBitArray.cpp 2017-03-04 17:21:09.935427404 +0100
+@@ -116,7 +116,7 @@
+ if (m_nVersion >= 3990)
+ {
+ // figure the pivot value
+- int nPivotValue = max(BitArrayState.nKSum / 32, 1);
++ int nPivotValue = max_macro(BitArrayState.nKSum / 32, 1);
+
+ // get the overflow
+ int nOverflow = 0;
+diff -Naur monkeys-audio-4.11-u4-b5-s7_old/src/Shared/CircleBuffer.cpp monkeys-audio-4.11-u4-b5-s7/src/Shared/CircleBuffer.cpp
+--- monkeys-audio-4.11-u4-b5-s7_old/src/Shared/CircleBuffer.cpp 2017-03-04 17:07:21.951460418 +0100
++++ monkeys-audio-4.11-u4-b5-s7/src/Shared/CircleBuffer.cpp 2017-03-04 17:10:47.775452211 +0100
+@@ -45,7 +45,7 @@
+
+ if (pBuffer != NULL && nBytes > 0)
+ {
+- int nHeadBytes = min(m_nEndCap - m_nHead, nBytes);
++ int nHeadBytes = min_macro(m_nEndCap - m_nHead, nBytes);
+ int nFrontBytes = nBytes - nHeadBytes;
+
+ memcpy(&pBuffer[0], &m_pBuffer[m_nHead], nHeadBytes);
+@@ -72,7 +72,7 @@
+
+ int CCircleBuffer::RemoveHead(int nBytes)
+ {
+- nBytes = min(MaxGet(), nBytes);
++ nBytes = min_macro(MaxGet(), nBytes);
+ m_nHead += nBytes;
+ if (m_nHead >= m_nEndCap)
+ m_nHead -= m_nEndCap;
+@@ -81,7 +81,7 @@
+
+ int CCircleBuffer::RemoveTail(int nBytes)
+ {
+- nBytes = min(MaxGet(), nBytes);
++ nBytes = min_macro(MaxGet(), nBytes);
+ m_nTail -= nBytes;
+ if (m_nTail < 0)
+ m_nTail += m_nEndCap;
+diff -Naur monkeys-audio-4.11-u4-b5-s7_old/src/Shared/NoWindows.h monkeys-audio-4.11-u4-b5-s7/src/Shared/NoWindows.h
+--- monkeys-audio-4.11-u4-b5-s7_old/src/Shared/NoWindows.h 2017-03-04 17:07:21.951460418 +0100
++++ monkeys-audio-4.11-u4-b5-s7/src/Shared/NoWindows.h 2017-03-04 17:07:58.376458966 +0100
+@@ -41,8 +41,8 @@
+ typedef const wchar_t * LPCWSTR;
+
+ #define ZeroMemory(POINTER, BYTES) memset(POINTER, 0, BYTES);
+-#define max(a,b) (((a) > (b)) ? (a) : (b))
+-#define min(a,b) (((a) < (b)) ? (a) : (b))
++#define max_macro(a,b) (((a) > (b)) ? (a) : (b))
++#define min_macro(a,b) (((a) < (b)) ? (a) : (b))
+
+ #define __stdcall
+ #define CALLBACK
diff --git a/media-sound/mac/files/mac-4.11.4.5.7-output.patch b/media-sound/mac/files/mac-4.11.4.5.7-output.patch
new file mode 100644
index 00000000000..f90c2c42fdd
--- /dev/null
+++ b/media-sound/mac/files/mac-4.11.4.5.7-output.patch
@@ -0,0 +1,27 @@
+--- a/src/Console/Console.cpp
++++ b/src/Console/Console.cpp
+@@ -60,7 +60,7 @@ Displays the proper usage for MAC.exe
+ ***************************************************************************************/
+ void DisplayProperUsage(FILE * pFile)
+ {
+- _ftprintf(pFile, _T("Proper Usage: [EXE] [Input File] [Output File] [Mode]\n\n"));
++ _ftprintf(pFile, _T("Proper Usage: [Input File] [Output File] [Mode]\n\n"));
+
+ _ftprintf(pFile, _T("Modes: \n"));
+ _ftprintf(pFile, _T(" Compress (fast): '-c1000'\n"));
+@@ -76,11 +76,11 @@ void DisplayProperUsage(FILE * pFile)
+ _ftprintf(pFile, _T(" Convert: '-nXXXX'\n\n"));
+
+ _ftprintf(pFile, _T("Examples:\n"));
+- _ftprintf(pFile, _T(" Compress: mac.exe \"Metallica - One.wav\" \"Metallica - One.ape\" -c2000\n"));
+- _ftprintf(pFile, _T(" Decompress: mac.exe \"Metallica - One.ape\" \"Metallica - One.wav\" -d\n"));
+- _ftprintf(pFile, _T(" Verify: mac.exe \"Metallica - One.ape\" -v\n"));
++ _ftprintf(pFile, _T(" Compress: mac \"Metallica - One.wav\" \"Metallica - One.ape\" -c2000\n"));
++ _ftprintf(pFile, _T(" Decompress: mac \"Metallica - One.ape\" \"Metallica - One.wav\" -d\n"));
++ _ftprintf(pFile, _T(" Verify: mac \"Metallica - One.ape\" -v\n"));
+ #ifdef SHNTOOL
+- _ftprintf(pFile, _T(" Quick verify: mac.exe \"Metallica - One.ape\" -q\n"));
++ _ftprintf(pFile, _T(" Quick verify: mac \"Metallica - One.ape\" -q\n"));
+ #endif
+ _ftprintf(pFile, _T(" (note: int filenames must be put inside of quotations)\n"));
+ }
diff --git a/media-sound/mac/mac-4.11.4.5.7.ebuild b/media-sound/mac/mac-4.11.4.5.7.ebuild
new file mode 100644
index 00000000000..8b88eadc1f1
--- /dev/null
+++ b/media-sound/mac/mac-4.11.4.5.7.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic versionator
+
+MY_PN=monkeys-audio
+MY_PV=$(version_format_string '$1.$2-u$3-b$4')
+PATCH=s$(get_version_component_range 5)
+MY_P=${MY_PN}_${MY_PV}-${PATCH}
+
+DESCRIPTION="Monkey's Audio Codecs"
+HOMEPAGE="http://etree.org/shnutils/shntool/ http://www.deb-multimedia.org/dists/testing/main/binary-amd64/package/monkeys-audio.php"
+SRC_URI="http://www.deb-multimedia.org/pool/main/m/monkeys-audio/${MY_P}.orig.tar.gz"
+
+LICENSE="mac"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86"
+IUSE="cpu_flags_x86_mmx static-libs"
+
+RDEPEND=""
+DEPEND="sys-apps/sed
+ cpu_flags_x86_mmx? ( dev-lang/yasm )"
+
+S=${WORKDIR}/${MY_P/_/-}
+
+PATCHES=(
+ "${FILESDIR}"/${P}-output.patch
+ "${FILESDIR}"/${P}-gcc6.patch
+)
+
+DOCS=( AUTHORS ChangeLog NEWS TODO README src/History.txt src/Credits.txt ChangeLog.shntool )
+
+RESTRICT="mirror"
+
+src_prepare() {
+ default
+
+ sed -i -e 's:-O3::' configure || die
+}
+
+src_configure() {
+ append-cppflags -DSHNTOOL
+ use cpu_flags_x86_mmx && append-ldflags -Wl,-z,noexecstack
+
+ econf \
+ $(use_enable static-libs static) \
+ $(use_enable cpu_flags_x86_mmx assembly)
+}
+
+src_install() {
+ default
+
+ insinto /usr/include/${PN}
+ doins src/MACLib/{BitArray,UnBitArrayBase,Prepare}.h #409435
+
+ find "${D}" -name '*.la' -delete || die
+}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-sound/mac/files/, media-sound/mac/
@ 2024-01-27 9:13 Daniel Pielmeier
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Pielmeier @ 2024-01-27 9:13 UTC (permalink / raw
To: gentoo-commits
commit: 72fb5ed38d40a504c6465767b5cf8e1657a616c1
Author: Daniel Pielmeier <billie <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 27 09:12:11 2024 +0000
Commit: Daniel Pielmeier <billie <AT> gentoo <DOT> org>
CommitDate: Sat Jan 27 09:12:11 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72fb5ed3
media-sound/mac: add 10.45
Signed-off-by: Daniel Pielmeier <billie <AT> gentoo.org>
media-sound/mac/Manifest | 1 +
media-sound/mac/files/mac-10.43-output.patch | 39 ++++++++++++++++++++++++++++
media-sound/mac/mac-10.45.ebuild | 29 +++++++++++++++++++++
3 files changed, 69 insertions(+)
diff --git a/media-sound/mac/Manifest b/media-sound/mac/Manifest
index 66f7930675e1..a7183a56768f 100644
--- a/media-sound/mac/Manifest
+++ b/media-sound/mac/Manifest
@@ -1,2 +1,3 @@
DIST mac-10.29.zip 1657175 BLAKE2B a5d9375af98d5422ca7e0f19e1b5372e8f00bf91bd5fead51a211efe4b304db20a8c5429a17d84db8a37b7898490c147115a363937ab9b970d3077c6c21be506 SHA512 c49cb3d11493cd7f6632ffb4c284e9333a9682d255863d46835b1b4bee2f50798b8d70a61b2a36ba9cb13836533addfcb644c2470613a38a33ddfac4acafd84d
+DIST mac-10.45.zip 1661327 BLAKE2B cb9b7f703da500638d608ecbd0c4edd3971d474369946d5b9a6a61f104d9bae549f9868b09b07b99d02f81854ad807634a69d6198ab68cd10e4c6014711af8c3 SHA512 08eb214901343ff171e661b1c3452b533399c698088feefb571003ecdc4477b958c39c75031a6bbd0957a3abee3d09fa912b1390437bd7d7ba2160d729107e21
DIST monkeys-audio_4.11-u4-b5-s7.orig.tar.gz 511190 BLAKE2B 28b5a3aadd9dae410c93cfc43c40c07fe207036f27cf60d59d8fa137a0327f90a78746c14930b7d3becb7f5fa69a454a6855aae1553dc74cd5168a9a523bb8f0 SHA512 7e73b35c86d6007ab2a94a2d8b7449bb4ac505bbba53e40373a279dc83a9cad5f62a51419a6375335576cf325c88ed7d317b0ef3039b8a497100cb74a63c25d0
diff --git a/media-sound/mac/files/mac-10.43-output.patch b/media-sound/mac/files/mac-10.43-output.patch
new file mode 100644
index 000000000000..a0ce2600cdee
--- /dev/null
+++ b/media-sound/mac/files/mac-10.43-output.patch
@@ -0,0 +1,39 @@
+diff -Naur mac-10.43_orig/Source/Console/Console.cpp mac-10.43/Source/Console/Console.cpp
+--- mac-10.43_orig/Source/Console/Console.cpp 2024-01-13 08:57:22.320394985 +0100
++++ mac-10.43/Source/Console/Console.cpp 2024-01-13 08:58:05.133394123 +0100
+@@ -68,7 +68,7 @@
+ **************************************************************************************************/
+ static void DisplayProperUsage(FILE * pFile)
+ {
+- fwprintf(pFile, L"Proper Usage: [EXE] [Input File] [Output File] [Mode]\n\n");
++ fwprintf(pFile, L"Proper Usage: [mac] [Input File] [Output File] [Mode]\n\n");
+
+ fwprintf(pFile, L"Modes: \n");
+ fwprintf(pFile, L" Compress (fast): '-c1000'\n");
+@@ -85,16 +85,16 @@
+ fwprintf(pFile, L" Convert to ID3v1 (needed by some players, etc.): '-L'\n\n");
+
+ fwprintf(pFile, L"Examples:\n");
+- fwprintf(pFile, L" Compress: mac.exe \"Metallica - One.wav\" \"Metallica - One.ape\" -c2000\n");
+- fwprintf(pFile, L" Compress: mac.exe \"Metallica - One.wav\" \"Metallica - One.ape\" -c2000 -t \"Artist=Metallica|Album=Black|Name=One\"\n");
+- fwprintf(pFile, L" Compress: mac.exe \"Metallica - One.wav\" auto -c2000\n");
+- fwprintf(pFile, L" Transcode from pipe: ffmpeg.exe -i \"Metallica - One.flac\" -f wav - | mac.exe - \"Metallica - One.ape\" -c2000\n");
+- fwprintf(pFile, L" Decompress: mac.exe \"Metallica - One.ape\" \"Metallica - One.wav\" -d\n");
+- fwprintf(pFile, L" Decompress: mac.exe \"Metallica - One.ape\" auto -d\n");
+- fwprintf(pFile, L" Verify: mac.exe \"Metallica - One.ape\" -v\n");
+- fwprintf(pFile, L" Full Verify: mac.exe \"Metallica - One.ape\" -V\n");
+- fwprintf(pFile, L" Tag: mac.exe \"Metallica - One.ape\" -t \"Artist=Metallica|Album=Black|Name=One|Comment=\\\"This is in quotes\\\"\"\n");
+- fwprintf(pFile, L" Remove tag: mac.exe \"Metallica - One.ape\" -r\n");
++ fwprintf(pFile, L" Compress: mac \"Metallica - One.wav\" \"Metallica - One.ape\" -c2000\n");
++ fwprintf(pFile, L" Compress: mac \"Metallica - One.wav\" \"Metallica - One.ape\" -c2000 -t \"Artist=Metallica|Album=Black|Name=One\"\n");
++ fwprintf(pFile, L" Compress: mac \"Metallica - One.wav\" auto -c2000\n");
++ fwprintf(pFile, L" Transcode from pipe: ffmpeg -i \"Metallica - One.flac\" -f wav - | mac - \"Metallica - One.ape\" -c2000\n");
++ fwprintf(pFile, L" Decompress: mac \"Metallica - One.ape\" \"Metallica - One.wav\" -d\n");
++ fwprintf(pFile, L" Decompress: mac \"Metallica - One.ape\" auto -d\n");
++ fwprintf(pFile, L" Verify: mac \"Metallica - One.ape\" -v\n");
++ fwprintf(pFile, L" Full Verify: mac \"Metallica - One.ape\" -V\n");
++ fwprintf(pFile, L" Tag: mac \"Metallica - One.ape\" -t \"Artist=Metallica|Album=Black|Name=One|Comment=\\\"This is in quotes\\\"\"\n");
++ fwprintf(pFile, L" Remove tag: mac \"Metallica - One.ape\" -r\n");
+ fwprintf(pFile, L" (note: int filenames must be put inside of quotations)\n");
+ }
+
diff --git a/media-sound/mac/mac-10.45.ebuild b/media-sound/mac/mac-10.45.ebuild
new file mode 100644
index 000000000000..7309b993f84b
--- /dev/null
+++ b/media-sound/mac/mac-10.45.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Monkey's Audio Codecs"
+HOMEPAGE="https://www.monkeysaudio.com"
+SRC_URI="https://monkeysaudio.com/files/MAC_${PV/.}_SDK.zip -> ${P}.zip"
+
+LICENSE="BSD"
+SLOT="0/10"
+KEYWORDS="~alpha ~amd64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+BDEPEND="app-arch/unzip"
+
+src_unpack() {
+ mkdir -p "${S}" || die
+ cd "${S}" || die
+ default
+}
+
+CMAKE_BUILD_TYPE=Release
+
+PATCHES=(
+ "${FILESDIR}/${PN}-10.18-linux.patch"
+ "${FILESDIR}/${PN}-10.43-output.patch"
+)
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-sound/mac/files/, media-sound/mac/
@ 2024-03-08 13:57 Daniel Pielmeier
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Pielmeier @ 2024-03-08 13:57 UTC (permalink / raw
To: gentoo-commits
commit: 0620c2da9ad82a9a76e5a464e1d8cc8a39223b11
Author: Daniel Pielmeier <billie <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 8 13:55:48 2024 +0000
Commit: Daniel Pielmeier <billie <AT> gentoo <DOT> org>
CommitDate: Fri Mar 8 13:55:48 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0620c2da
media-sound/mac: add 10.53
Signed-off-by: Daniel Pielmeier <billie <AT> gentoo.org>
media-sound/mac/Manifest | 1 +
media-sound/mac/files/mac-10.52-output.patch | 39 ++++++++++++++++++++++++++++
media-sound/mac/mac-10.53.ebuild | 29 +++++++++++++++++++++
3 files changed, 69 insertions(+)
diff --git a/media-sound/mac/Manifest b/media-sound/mac/Manifest
index a25a465a92ac..40b49bec69ea 100644
--- a/media-sound/mac/Manifest
+++ b/media-sound/mac/Manifest
@@ -1,2 +1,3 @@
DIST mac-10.46.zip 1662242 BLAKE2B be81f7f9bec10eea43a8888eb51288c1a6ca312860535d88346d8ab42e66d9268d3503e073becd998671c408aa83e2b93ec74acb86b650c8883c0b3cd03ea828 SHA512 0391a52925c903bb4849fbaf963b31c65fd34bcd0d3071b9b25b99bbb95febd12cdf09119ec73e129fdfbc51a163b824c6b084ca4917f871692b0529c7a33a10
+DIST mac-10.53.zip 1665239 BLAKE2B 70b7a12eb873ec648ceb97f23bcac6ec79a6626e61de7535b549f7fd718121e5f835f64c64f3e29914e1ceb2ee2897e03a09a7d7a050810082c67ba76e740c3f SHA512 3d9323d8440c11553838e89ee4cd695fee790ef4af888daa1be1a63a4eec8db807a940f20c52b56cd069d06899305930173efab196c0932b238060bff7dc025a
DIST monkeys-audio_4.11-u4-b5-s7.orig.tar.gz 511190 BLAKE2B 28b5a3aadd9dae410c93cfc43c40c07fe207036f27cf60d59d8fa137a0327f90a78746c14930b7d3becb7f5fa69a454a6855aae1553dc74cd5168a9a523bb8f0 SHA512 7e73b35c86d6007ab2a94a2d8b7449bb4ac505bbba53e40373a279dc83a9cad5f62a51419a6375335576cf325c88ed7d317b0ef3039b8a497100cb74a63c25d0
diff --git a/media-sound/mac/files/mac-10.52-output.patch b/media-sound/mac/files/mac-10.52-output.patch
new file mode 100644
index 000000000000..8ad2e3d47ef9
--- /dev/null
+++ b/media-sound/mac/files/mac-10.52-output.patch
@@ -0,0 +1,39 @@
+diff -Naur mac-10.52_orig/Source/Console/Console.cpp mac-10.52/Source/Console/Console.cpp
+--- mac-10.52_orig/Source/Console/Console.cpp 2024-03-05 19:05:13.958352435 +0100
++++ mac-10.52/Source/Console/Console.cpp 2024-03-05 19:06:50.968831483 +0100
+@@ -68,7 +68,7 @@
+ **************************************************************************************************/
+ static void DisplayProperUsage(FILE * pFile)
+ {
+- fwprintf(pFile, L"Proper Usage: [EXE] [Input File] [Output File] [Mode]\n\n");
++ fwprintf(pFile, L"Proper Usage: [mac] [Input File] [Output File] [Mode]\n\n");
+
+ fwprintf(pFile, L"Modes: \n");
+ fwprintf(pFile, L" Compress (fast): '-c1000'\n");
+@@ -85,16 +85,16 @@
+ fwprintf(pFile, L" Convert to ID3v1 (needed by some players, etc.): '-L'\n\n");
+
+ fwprintf(pFile, L"Examples:\n");
+- fwprintf(pFile, L" Compress: mac.exe \"Metallica - One.wav\" \"Metallica - One.ape\" -c2000\n");
+- fwprintf(pFile, L" Compress: mac.exe \"Metallica - One.wav\" \"Metallica - One.ape\" -c2000 -t \"Artist=Metallica|Album=Black|Name=One\"\n");
+- fwprintf(pFile, L" Compress: mac.exe \"Metallica - One.wav\" auto -c2000\n");
+- fwprintf(pFile, L" Transcode from pipe: ffmpeg.exe -i \"Metallica - One.flac\" -f wav - | mac.exe - \"Metallica - One.ape\" -c2000\n");
+- fwprintf(pFile, L" Decompress: mac.exe \"Metallica - One.ape\" \"Metallica - One.wav\" -d\n");
+- fwprintf(pFile, L" Decompress: mac.exe \"Metallica - One.ape\" auto -d\n");
+- fwprintf(pFile, L" Verify: mac.exe \"Metallica - One.ape\" -v\n");
+- fwprintf(pFile, L" Full Verify: mac.exe \"Metallica - One.ape\" -V\n");
+- fwprintf(pFile, L" Tag: mac.exe \"Metallica - One.ape\" -t \"Artist=Metallica|Album=Black|Name=One|Comment=\\\"This is in quotes\\\"\"\n");
+- fwprintf(pFile, L" Remove tag: mac.exe \"Metallica - One.ape\" -r\n");
++ fwprintf(pFile, L" Compress: mac \"Metallica - One.wav\" \"Metallica - One.ape\" -c2000\n");
++ fwprintf(pFile, L" Compress: mac \"Metallica - One.wav\" \"Metallica - One.ape\" -c2000 -t \"Artist=Metallica|Album=Black|Name=One\"\n");
++ fwprintf(pFile, L" Compress: mac \"Metallica - One.wav\" auto -c2000\n");
++ fwprintf(pFile, L" Transcode from pipe: ffmpeg -i \"Metallica - One.flac\" -f wav - | mac - \"Metallica - One.ape\" -c2000\n");
++ fwprintf(pFile, L" Decompress: mac \"Metallica - One.ape\" \"Metallica - One.wav\" -d\n");
++ fwprintf(pFile, L" Decompress: mac \"Metallica - One.ape\" auto -d\n");
++ fwprintf(pFile, L" Verify: mac \"Metallica - One.ape\" -v\n");
++ fwprintf(pFile, L" Full Verify: mac \"Metallica - One.ape\" -V\n");
++ fwprintf(pFile, L" Tag: mac \"Metallica - One.ape\" -t \"Artist=Metallica|Album=Black|Name=One|Comment=\\\"This is in quotes\\\"\"\n");
++ fwprintf(pFile, L" Remove tag: mac \"Metallica - One.ape\" -r\n");
+ }
+
+ /**************************************************************************************************
diff --git a/media-sound/mac/mac-10.53.ebuild b/media-sound/mac/mac-10.53.ebuild
new file mode 100644
index 000000000000..97a4d965ee6d
--- /dev/null
+++ b/media-sound/mac/mac-10.53.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Monkey's Audio Codecs"
+HOMEPAGE="https://www.monkeysaudio.com"
+SRC_URI="https://monkeysaudio.com/files/MAC_${PV/.}_SDK.zip -> ${P}.zip"
+
+LICENSE="BSD"
+SLOT="0/10"
+KEYWORDS="~alpha amd64 ~loong ~ppc ppc64 ~riscv ~sparc x86"
+
+BDEPEND="app-arch/unzip"
+
+src_unpack() {
+ mkdir -p "${S}" || die
+ cd "${S}" || die
+ default
+}
+
+CMAKE_BUILD_TYPE=Release
+
+PATCHES=(
+ "${FILESDIR}/${PN}-10.18-linux.patch"
+ "${FILESDIR}/${PN}-10.52-output.patch"
+)
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-sound/mac/files/, media-sound/mac/
@ 2024-04-13 7:44 Miroslav Šulc
0 siblings, 0 replies; 4+ messages in thread
From: Miroslav Šulc @ 2024-04-13 7:44 UTC (permalink / raw
To: gentoo-commits
commit: 0a3b4a9f5c357066180d11b809a50901fd0b6f5b
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 13 07:44:14 2024 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sat Apr 13 07:44:14 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a3b4a9f
media-sound/mac: dropped obsolete 10.46
Bug: https://bugs.gentoo.org/928925
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
media-sound/mac/Manifest | 1 -
media-sound/mac/files/mac-10.43-output.patch | 39 ------------------------
media-sound/mac/mac-10.46.ebuild | 44 ----------------------------
3 files changed, 84 deletions(-)
diff --git a/media-sound/mac/Manifest b/media-sound/mac/Manifest
index 15c9b76e685e..a5ae4d1aeaf5 100644
--- a/media-sound/mac/Manifest
+++ b/media-sound/mac/Manifest
@@ -1,4 +1,3 @@
-DIST mac-10.46.zip 1662242 BLAKE2B be81f7f9bec10eea43a8888eb51288c1a6ca312860535d88346d8ab42e66d9268d3503e073becd998671c408aa83e2b93ec74acb86b650c8883c0b3cd03ea828 SHA512 0391a52925c903bb4849fbaf963b31c65fd34bcd0d3071b9b25b99bbb95febd12cdf09119ec73e129fdfbc51a163b824c6b084ca4917f871692b0529c7a33a10
DIST mac-10.53.zip 1665239 BLAKE2B 70b7a12eb873ec648ceb97f23bcac6ec79a6626e61de7535b549f7fd718121e5f835f64c64f3e29914e1ceb2ee2897e03a09a7d7a050810082c67ba76e740c3f SHA512 3d9323d8440c11553838e89ee4cd695fee790ef4af888daa1be1a63a4eec8db807a940f20c52b56cd069d06899305930173efab196c0932b238060bff7dc025a
DIST mac-10.60.zip 1665093 BLAKE2B cd669d941b3b41f368a8d7e6d0241e5963f6b64f5d4c67a5d1150300f9c9fcf9b603813e726bf8f5c45b2d0f4e1f1d833569a9572cde11cf53740d0fe4146145 SHA512 a5c1cf14a7abb2c2844cebd6d2d77651f91fb0bba2413adc8a0752e68be15d51f2c8d9ae3802aefd6ff7233fad0304db971d450ac71d28866835b3e25a1e95f3
DIST monkeys-audio_4.11-u4-b5-s7.orig.tar.gz 511190 BLAKE2B 28b5a3aadd9dae410c93cfc43c40c07fe207036f27cf60d59d8fa137a0327f90a78746c14930b7d3becb7f5fa69a454a6855aae1553dc74cd5168a9a523bb8f0 SHA512 7e73b35c86d6007ab2a94a2d8b7449bb4ac505bbba53e40373a279dc83a9cad5f62a51419a6375335576cf325c88ed7d317b0ef3039b8a497100cb74a63c25d0
diff --git a/media-sound/mac/files/mac-10.43-output.patch b/media-sound/mac/files/mac-10.43-output.patch
deleted file mode 100644
index a0ce2600cdee..000000000000
--- a/media-sound/mac/files/mac-10.43-output.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-diff -Naur mac-10.43_orig/Source/Console/Console.cpp mac-10.43/Source/Console/Console.cpp
---- mac-10.43_orig/Source/Console/Console.cpp 2024-01-13 08:57:22.320394985 +0100
-+++ mac-10.43/Source/Console/Console.cpp 2024-01-13 08:58:05.133394123 +0100
-@@ -68,7 +68,7 @@
- **************************************************************************************************/
- static void DisplayProperUsage(FILE * pFile)
- {
-- fwprintf(pFile, L"Proper Usage: [EXE] [Input File] [Output File] [Mode]\n\n");
-+ fwprintf(pFile, L"Proper Usage: [mac] [Input File] [Output File] [Mode]\n\n");
-
- fwprintf(pFile, L"Modes: \n");
- fwprintf(pFile, L" Compress (fast): '-c1000'\n");
-@@ -85,16 +85,16 @@
- fwprintf(pFile, L" Convert to ID3v1 (needed by some players, etc.): '-L'\n\n");
-
- fwprintf(pFile, L"Examples:\n");
-- fwprintf(pFile, L" Compress: mac.exe \"Metallica - One.wav\" \"Metallica - One.ape\" -c2000\n");
-- fwprintf(pFile, L" Compress: mac.exe \"Metallica - One.wav\" \"Metallica - One.ape\" -c2000 -t \"Artist=Metallica|Album=Black|Name=One\"\n");
-- fwprintf(pFile, L" Compress: mac.exe \"Metallica - One.wav\" auto -c2000\n");
-- fwprintf(pFile, L" Transcode from pipe: ffmpeg.exe -i \"Metallica - One.flac\" -f wav - | mac.exe - \"Metallica - One.ape\" -c2000\n");
-- fwprintf(pFile, L" Decompress: mac.exe \"Metallica - One.ape\" \"Metallica - One.wav\" -d\n");
-- fwprintf(pFile, L" Decompress: mac.exe \"Metallica - One.ape\" auto -d\n");
-- fwprintf(pFile, L" Verify: mac.exe \"Metallica - One.ape\" -v\n");
-- fwprintf(pFile, L" Full Verify: mac.exe \"Metallica - One.ape\" -V\n");
-- fwprintf(pFile, L" Tag: mac.exe \"Metallica - One.ape\" -t \"Artist=Metallica|Album=Black|Name=One|Comment=\\\"This is in quotes\\\"\"\n");
-- fwprintf(pFile, L" Remove tag: mac.exe \"Metallica - One.ape\" -r\n");
-+ fwprintf(pFile, L" Compress: mac \"Metallica - One.wav\" \"Metallica - One.ape\" -c2000\n");
-+ fwprintf(pFile, L" Compress: mac \"Metallica - One.wav\" \"Metallica - One.ape\" -c2000 -t \"Artist=Metallica|Album=Black|Name=One\"\n");
-+ fwprintf(pFile, L" Compress: mac \"Metallica - One.wav\" auto -c2000\n");
-+ fwprintf(pFile, L" Transcode from pipe: ffmpeg -i \"Metallica - One.flac\" -f wav - | mac - \"Metallica - One.ape\" -c2000\n");
-+ fwprintf(pFile, L" Decompress: mac \"Metallica - One.ape\" \"Metallica - One.wav\" -d\n");
-+ fwprintf(pFile, L" Decompress: mac \"Metallica - One.ape\" auto -d\n");
-+ fwprintf(pFile, L" Verify: mac \"Metallica - One.ape\" -v\n");
-+ fwprintf(pFile, L" Full Verify: mac \"Metallica - One.ape\" -V\n");
-+ fwprintf(pFile, L" Tag: mac \"Metallica - One.ape\" -t \"Artist=Metallica|Album=Black|Name=One|Comment=\\\"This is in quotes\\\"\"\n");
-+ fwprintf(pFile, L" Remove tag: mac \"Metallica - One.ape\" -r\n");
- fwprintf(pFile, L" (note: int filenames must be put inside of quotations)\n");
- }
-
diff --git a/media-sound/mac/mac-10.46.ebuild b/media-sound/mac/mac-10.46.ebuild
deleted file mode 100644
index 13bf6f9d8ef3..000000000000
--- a/media-sound/mac/mac-10.46.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake flag-o-matic
-
-DESCRIPTION="Monkey's Audio Codecs"
-HOMEPAGE="https://www.monkeysaudio.com"
-SRC_URI="https://monkeysaudio.com/files/MAC_${PV/.}_SDK.zip -> ${P}.zip"
-
-LICENSE="BSD"
-SLOT="0/10"
-KEYWORDS="~alpha amd64 ~loong ppc ppc64 ~riscv sparc x86"
-
-BDEPEND="app-arch/unzip"
-
-src_unpack() {
- mkdir -p "${S}" || die
- cd "${S}" || die
- default
-}
-
-CMAKE_BUILD_TYPE=Release
-
-PATCHES=(
- "${FILESDIR}/${PN}-10.18-linux.patch"
- "${FILESDIR}/${PN}-10.43-output.patch"
-)
-
-src_configure() {
- # -Werror=strict-aliasing
- # https://bugs.gentoo.org/927060
- #
- # Upstream contact method is via email. I sent an email detailing the issue
- # and got a fast response with a fix. "I'm hoping to do a build soon with a
- # new open source certificate. I can sure include this."
- #
- # Do not trust with LTO either
- append-flags -fno-strict-aliasing
- filter-lto
-
- cmake_src_configure
-}
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-04-13 7:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-04 18:32 [gentoo-commits] repo/gentoo:master commit in: media-sound/mac/files/, media-sound/mac/ Daniel Pielmeier
-- strict thread matches above, loose matches on Subject: below --
2024-01-27 9:13 Daniel Pielmeier
2024-03-08 13:57 Daniel Pielmeier
2024-04-13 7:44 Miroslav Šulc
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox