Merge pull request #8756 from 4fury-c3440d8/master

musepack, libmpcdec SV8, removed SV7.
This commit is contained in:
Kamil ATLI
2020-09-17 15:42:21 +03:00
committed by GitHub
23 changed files with 599 additions and 309 deletions
+5 -5
View File
@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
@@ -10,13 +10,13 @@ from pisi.actionsapi import get
def setup():
cmaketools.configure("-DBUILD_SHARED_LIBS=ON \
-DWITH_MP4=ON \
-DWITH_ASF=ON")
-DWITH_MP4=ON \
-DWITH_ASF=ON")
def build():
cmaketools.make()
def install():
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS","COPYING*")
pisitools.dodoc("AUTHORS","COPYING*")
@@ -0,0 +1,30 @@
From eb9ded1206f18f2c319157337edea2533a40bea6 Mon Sep 17 00:00:00 2001
From: "Stephen F. Booth" <me@sbooth.org>
Date: Sun, 23 Jul 2017 10:11:09 -0400
Subject: [PATCH] Don't assume TDRC is an instance of TextIdentificationFrame
If TDRC is encrypted, FrameFactory::createFrame() returns UnknownFrame
which causes problems in rebuildAggregateFrames() when it is assumed
that TDRC is a TextIdentificationFrame
---
taglib/mpeg/id3v2/id3v2framefactory.cpp | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/taglib/mpeg/id3v2/id3v2framefactory.cpp b/taglib/mpeg/id3v2/id3v2framefactory.cpp
index 759a9b7be..9347ab869 100644
--- a/taglib/mpeg/id3v2/id3v2framefactory.cpp
+++ b/taglib/mpeg/id3v2/id3v2framefactory.cpp
@@ -334,10 +334,11 @@ void FrameFactory::rebuildAggregateFrames(ID3v2::Tag *tag) const
tag->frameList("TDAT").size() == 1)
{
TextIdentificationFrame *tdrc =
- static_cast<TextIdentificationFrame *>(tag->frameList("TDRC").front());
+ dynamic_cast<TextIdentificationFrame *>(tag->frameList("TDRC").front());
UnknownFrame *tdat = static_cast<UnknownFrame *>(tag->frameList("TDAT").front());
- if(tdrc->fieldList().size() == 1 &&
+ if(tdrc &&
+ tdrc->fieldList().size() == 1 &&
tdrc->fieldList().front().size() == 4 &&
tdat->data().size() >= 5)
{
@@ -0,0 +1,41 @@
From 272648ccfcccae30e002ccf34a22e075dd477278 Mon Sep 17 00:00:00 2001
From: Scott Gayou <github.scott@gmail.com>
Date: Mon, 4 Jun 2018 11:34:36 -0400
Subject: [PATCH] Fixed OOB read when loading invalid ogg flac file. (#868)
CVE-2018-11439 is caused by a failure to check the minimum length
of a ogg flac header. This header is detailed in full at:
https://xiph.org/flac/ogg_mapping.html. Added more strict checking
for entire header.
---
taglib/ogg/flac/oggflacfile.cpp | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/taglib/ogg/flac/oggflacfile.cpp b/taglib/ogg/flac/oggflacfile.cpp
index 53d04508a..07ea9dccc 100644
--- a/taglib/ogg/flac/oggflacfile.cpp
+++ b/taglib/ogg/flac/oggflacfile.cpp
@@ -231,11 +231,21 @@ void Ogg::FLAC::File::scan()
if(!metadataHeader.startsWith("fLaC")) {
// FLAC 1.1.2+
+ // See https://xiph.org/flac/ogg_mapping.html for the header specification.
+ if(metadataHeader.size() < 13)
+ return;
+
+ if(metadataHeader[0] != 0x7f)
+ return;
+
if(metadataHeader.mid(1, 4) != "FLAC")
return;
- if(metadataHeader[5] != 1)
- return; // not version 1
+ if(metadataHeader[5] != 1 && metadataHeader[6] != 0)
+ return; // not version 1.0
+
+ if(metadataHeader.mid(9, 4) != "fLaC")
+ return;
metadataHeader = metadataHeader.mid(13);
}
@@ -0,0 +1,22 @@
From 9336c82da3a04552168f208cd7a5fa4646701ea4 Mon Sep 17 00:00:00 2001
From: Tsuda Kageyu <tsuda.kageyu@gmail.com>
Date: Thu, 1 Dec 2016 11:32:01 +0900
Subject: [PATCH] Fix possible Ogg packet losses.
---
taglib/ogg/oggfile.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/taglib/ogg/oggfile.cpp b/taglib/ogg/oggfile.cpp
index 86b0b0764..c36e4d46c 100644
--- a/taglib/ogg/oggfile.cpp
+++ b/taglib/ogg/oggfile.cpp
@@ -253,7 +253,7 @@ void Ogg::File::writePacket(unsigned int i, const ByteVector &packet)
ByteVectorList packets = firstPage->packets();
packets[i - firstPage->firstPacketIndex()] = packet;
- if(firstPage != lastPage && lastPage->packetCount() > 2) {
+ if(firstPage != lastPage && lastPage->packetCount() > 1) {
ByteVectorList lastPagePackets = lastPage->packets();
lastPagePackets.erase(lastPagePackets.begin());
packets.append(lastPagePackets);
@@ -1,31 +0,0 @@
diff -ruN taglib-1.4.org/taglib/toolkit/tstring.cpp taglib-1.4/taglib/toolkit/tstring.cpp
--- taglib-1.4.org/taglib/toolkit/tstring.cpp 2005-07-26 06:31:15.000000000 +0900
+++ taglib-1.4/taglib/toolkit/tstring.cpp 2006-05-26 12:02:55.000000000 +0900
@@ -202,12 +202,22 @@
s.resize(d->data.size());
if(!unicode) {
- std::string::iterator targetIt = s.begin();
- for(wstring::const_iterator it = d->data.begin(); it != d->data.end(); it++) {
- *targetIt = char(*it);
- ++targetIt;
+ bool cjk = false;
+ //pre-scan: is there any cjk unicode character? if so, convert the string into utf-8.
+ for(unsigned int i=0; i< d->data.size(); i++){
+ if(d->data[i] > 0xff){
+ cjk = true;
+ break;
+ }
+ }
+ if(!cjk){
+ std::string::iterator targetIt = s.begin();
+ for(wstring::const_iterator it = d->data.begin(); it != d->data.end(); it++) {
+ *targetIt = char(*it);
+ ++targetIt;
+ }
+ return s;
}
- return s;
}
const int outputBufferSize = d->data.size() * 3 + 1;
+18 -6
View File
@@ -1,9 +1,9 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>taglib</Name>
<Homepage>http://developer.kde.org/~wheeler/taglib.html</Homepage>
<Homepage>https://taglib.org/</Homepage>
<Packager>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
@@ -12,12 +12,17 @@
<IsA>library</IsA>
<Summary>A library for reading and editing audio meta data</Summary>
<Description>TagLib is a library for reading and editing the meta data of several popular audio formats.</Description>
<Archive sha1sum="80a30eeae67392f636c9f113c60d778c2995c99e" type="targz">http://taglib.org/releases/taglib-1.11.1.tar.gz</Archive>
<Archive sha1sum="80a30eeae67392f636c9f113c60d778c2995c99e" type="targz">https://taglib.org/releases/taglib-1.11.1.tar.gz</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>boost-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>boost-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">CVE-2017-12678.patch</Patch>
<Patch level="1">CVE-2017-11439.patch</Patch>
<Patch level="1">fix_ogg_corruption.patch</Patch>
</Patches>
</Source>
<Package>
@@ -25,10 +30,10 @@
<RuntimeDependencies>
<Dependency>zlib</Dependency>
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
@@ -46,6 +51,13 @@
</Package>
<History>
<Update release="8">
<Date>2020-09-15</Date>
<Version>1.11.1</Version>
<Comment>Rebuild.</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="7">
<Date>2020-01-19</Date>
<Version>1.11.1</Version>
-73
View File
@@ -1,73 +0,0 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libmpcdec</Name>
<Homepage>http://www.musepack.net/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>BSD</License>
<IsA>library</IsA>
<Summary>Portable Musepack decoder library</Summary>
<Description>Musepack is an audio compression format with a strong emphasis on high quality. It's not lossless, but it is designed for transparency, so that you won't be able to hear differences between the original wave file and the much smaller MPC file. It is based on the MPEG-1 Layer-2 / MP2 algorithms, but has rapidly developed and vastly improved and is now at an advanced stage in which it contains heavily optimized and patentless code.</Description>
<Archive sha1sum="32139ff5cb43a18f7c99637da76703c63a55485a" type="tarbz2">http://files.musepack.net/source/libmpcdec-1.2.6.tar.bz2</Archive>
</Source>
<Package>
<Name>libmpcdec</Name>
<Files>
<Path fileType="library">/usr/lib</Path>
</Files>
</Package>
<Package>
<Name>libmpcdec-devel</Name>
<Summary>Development files for libmpcdec</Summary>
<RuntimeDependencies>
<Dependency release="current">libmpcdec</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<History>
<Update release="5">
<Date>2020-01-19</Date>
<Version>1.2.6</Version>
<Comment>Release Bump</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2018-08-07</Date>
<Version>1.2.6</Version>
<Comment>Release Bump</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2017-02-18</Date>
<Version>1.2.6</Version>
<Comment>Release Bump</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2016-06-09</Date>
<Version>1.2.6</Version>
<Comment>Release Bump</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2014-05-20</Date>
<Version>1.2.6</Version>
<Comment>First release</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -1,14 +0,0 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libmpcdec</Name>
<Summary xml:lang="tr">Musepack SV7 kodlama kitaplığı</Summary>
<Description xml:lang="tr">libmpcdec, taşınabilir bir Musepack kodlama kitaplığıdır.</Description>
<Description xml:lang="fr">Librairie de décodage portable Musepack.</Description>
</Source>
<Package>
<Name>libmpcdec-devel</Name>
<Summary xml:lang="tr">libmpcdec için geliştirme dosyaları</Summary>
</Package>
</PISI>
@@ -2,16 +2,17 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import autotools
import os
from pisi.actionsapi import get
def setup():
autotools.configure("--disable-static")
autotools.configure()
def build():
autotools.make()
autotools.make()
def install():
autotools.install()
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
+48
View File
@@ -0,0 +1,48 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libreplaygain</Name>
<Homepage>https://www.musepack.net/</Homepage>
<Packager>
<Name>Pisilinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPL</License>
<IsA>library</IsA>
<Summary>replaygain library.</Summary>
<Description>musepack replaygain library.</Description>
<Archive sha1sum="7739b4b9cf46e0846663f707a9498a4db0345eaf" type="targz">
https://files.musepack.net/source/libreplaygain_r475.tar.gz
</Archive>
</Source>
<Package>
<Name>libreplaygain</Name>
<Files>
<Path fileType="library">/usr/lib</Path>
</Files>
</Package>
<Package>
<Name>libreplaygain-devel</Name>
<Summary>Development files for libreplaygain</Summary>
<RuntimeDependencies>
<Dependency release="current">libreplaygain</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<History>
<Update release="6">
<Date>2020-08-20</Date>
<Version>8</Version>
<Comment>First build.</Comment>
<Name>Pisilinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+18
View File
@@ -0,0 +1,18 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import get
def setup():
autotools.configure("--enable-mpcchap --disable-static")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
@@ -0,0 +1,44 @@
---
mpc2sv8/Makefile.am | 5 +++--
mpcdec/Makefile.am | 5 +++--
mpcenc/Makefile.am | 5 +++--
3 files changed, 9 insertions(+), 6 deletions(-)
--- a/mpc2sv8/Makefile.am
+++ b/mpc2sv8/Makefile.am
@@ -11,6 +11,7 @@ common_sources = ../common/crc32.c
METASOURCES = AUTO
bin_PROGRAMS = mpc2sv8
mpc2sv8_SOURCES = mpc2sv8.c $(common_sources)
-mpc2sv8_LDADD = -lm \
+mpc2sv8_LDADD = \
$(top_builddir)/libmpcdec/libmpcdec.la \
- $(top_builddir)/libmpcenc/libmpcenc.a
+ $(top_builddir)/libmpcenc/libmpcenc.a \
+ -lm
--- a/mpcdec/Makefile.am
+++ b/mpcdec/Makefile.am
@@ -9,6 +9,7 @@ endif
METASOURCES = AUTO
bin_PROGRAMS = mpcdec
mpcdec_SOURCES = mpcdec.c
-mpcdec_LDADD = -lm \
+mpcdec_LDADD = \
$(top_builddir)/libmpcdec/libmpcdec.la \
- $(top_builddir)/libwavformat/libwavformat.a
+ $(top_builddir)/libwavformat/libwavformat.a \
+ -lm
--- a/mpcenc/Makefile.am
+++ b/mpcenc/Makefile.am
@@ -22,8 +22,9 @@ mpcenc_SOURCES = keyboard.c mpcenc.c pip
$(common_sources) \
mpcenc.h predict.h config.h
-mpcenc_LDADD = -lm \
+mpcenc_LDADD = \
$(EXTRALIBS) \
$(top_builddir)/libmpcpsy/libmpcpsy.a \
- $(top_builddir)/libmpcenc/libmpcenc.a
+ $(top_builddir)/libmpcenc/libmpcenc.a \
+ -lm
@@ -0,0 +1,21 @@
--- a/configure.in 2020-09-13 18:27:24.186893066 +0300
+++ b/configure.in 2020-09-13 18:28:54.905398925 +0300
@@ -3,7 +3,8 @@
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR([libmpcdec/mpc_reader.c])
AM_CONFIG_HEADER([include/config.h])
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE(subdir-objects)
+AM_MAINTAINER_MODE
AC_LANG_C
AC_PROG_CC
@@ -30,7 +31,7 @@
AM_CONDITIONAL([MPC_CHAP], [test "x$enable_mpcchap" = xyes])
-CHECK_VISIBILITY
+AM_CONDITIONAL([HAVE_VISIBILITY], [true])
AC_CONFIG_FILES([
Makefile
@@ -0,0 +1,66 @@
Index: libmpc/configure.in
===================================================================
--- a/configure.in
+++ b/configure.in
@@ -28,6 +28,12 @@ esac
AC_SUBST([EXTRALIBS])
AC_ARG_ENABLE([mpcchap], [AS_HELP_STRING([--enable-mpcchap], [enable building mpcchap])])
+if test "x$enable_mpcchap" = xyes; then
+ PKG_CHECK_MODULES(LIBCUE, libcue)
+ AC_SUBST(LIBCUE_CFLAGS)
+ AC_SUBST(LIBCUE_LIBS)
+fi
+
AM_CONDITIONAL([MPC_CHAP], [test "x$enable_mpcchap" = xyes])
Index: libmpc/mpcchap/Makefile.am
===================================================================
--- a/mpcchap/Makefile.am
+++ b/mpcchap/Makefile.am
@@ -4,7 +4,8 @@ bin_PROGRAMS = mpcchap
common_sources = ../common/tags.c ../common/crc32.c
-AM_CPPFLAGS = -I$(top_srcdir)/include
+AM_CPPFLAGS = -I$(top_srcdir)/include \
+ $(LIBCUE_CFLAGS)
if HAVE_VISIBILITY
AM_CFLAGS = -fvisibility=hidden
@@ -16,4 +17,4 @@ dictionary.h iniparser.h
mpcchap_LDADD = $(top_builddir)/libmpcdec/libmpcdec.la \
$(top_builddir)/libmpcenc/libmpcenc.a \
- -lm -lcuefile
+ -lm $(LIBCUE_LIBS)
Index: libmpc/mpcchap/mpcchap.c
===================================================================
--- a/mpcchap/mpcchap.c
+++ b/mpcchap/mpcchap.c
@@ -24,7 +24,7 @@
#include <sys/stat.h>
-#include <cuetools/cuefile.h>
+#include <libcue/libcue.h>
// tags.c
void Init_Tags ( void );
@@ -153,13 +153,13 @@ mpc_status add_chaps_ini(char * mpc_file
mpc_status add_chaps_cue(char * mpc_file, char * chap_file, mpc_demux * demux, mpc_streaminfo * si)
{
Cd *cd = 0;
- int nchap, format = UNKNOWN;
+ int nchap;
struct stat stbuf;
FILE * in_file;
int chap_pos, end_pos, chap_size, i;
char * tmp_buff;
- if (0 == (cd = cf_parse(chap_file, &format))) {
+ if (0 == (cd = cue_parse_file(chap_file))) {
fprintf(stderr, "%s: input file error\n", chap_file);
return !MPC_STATUS_OK;
}
@@ -0,0 +1,22 @@
Subject: Add extern keyword to global variable declaration.
Origin: upstream, commit:r479
Bug-Debian: http://bugs.debian.org/665974
---
libmpcdec/requant.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- a/libmpcdec/requant.h
+++ b/libmpcdec/requant.h
@@ -47,9 +47,9 @@ extern "C" {
/* C O N S T A N T S */
-const mpc_uint8_t Res_bit [18]; ///< Bits per sample for chosen quantizer
-const MPC_SAMPLE_FORMAT __Cc [1 + 18]; ///< Requantization coefficients
-const mpc_int16_t __Dc [1 + 18]; ///< Requantization offset
+extern const mpc_uint8_t Res_bit [18]; ///< Bits per sample for chosen quantizer
+extern const MPC_SAMPLE_FORMAT __Cc [1 + 18]; ///< Requantization coefficients
+extern const mpc_int16_t __Dc [1 + 18]; ///< Requantization offset
#define Cc (__Cc + 1)
#define Dc (__Dc + 1)
@@ -0,0 +1,7 @@
--- a/libmpcdec/Makefile.am 2009-10-20 20:11:41.000000000 +0200
+++ b/libmpcdec/Makefile.am 2009-10-20 20:12:02.000000000 +0200
@@ -17,3 +17,4 @@
$(common_sources)
libmpcdec_la_LDFLAGS = -no-undefined -version-info 7:0:1
+libmpcdec_la_LIBADD = -lm
+73
View File
@@ -0,0 +1,73 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>musepack</Name>
<Homepage>https://www.musepack.net/</Homepage>
<Packager>
<Name>Pisilinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>BSD</License>
<License>LGPL</License>
<IsA>library</IsA>
<Summary>Portable Musepack decoder library.</Summary>
<Description>Musepack is an audio compression format with a strong emphasis on high quality. It's not lossless, but it is designed for transparency, so that you won't be able to hear differences between the original wave file and the much smaller MPC file. It is based on the MPEG-1 Layer-2 / MP2 algorithms, but has rapidly developed and vastly improved and is now at an advanced stage in which it contains heavily optimized and patentless code.</Description>
<Archive sha1sum="bdd4042773eb5c885df70d7a19914fa6e2306391" type="targz">
https://files.musepack.net/source/musepack_src_r475.tar.gz
</Archive>
<BuildDependencies>
<Dependency>libcue-devel</Dependency>
<Dependency>libreplaygain-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">arch/configure.patch</Patch>
<Patch level="1">arch/Makefile.patch</Patch>
<Patch level="1">arch/mpcchap.patch</Patch>
<Patch level="1">arch/mpcdec.patch</Patch>
<Patch level="1">arch/mpcdecmake.patch</Patch>
</Patches>
</Source>
<Package>
<Name>musepack</Name>
<RuntimeDependencies>
<Dependency>libcue</Dependency>
<Dependency>libmpcdec</Dependency>
<Dependency>libreplaygain</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share</Path>
</Files>
</Package>
<Package>
<Name>libmpcdec</Name>
<Files>
<Path fileType="library">/usr/lib</Path>
</Files>
</Package>
<Package>
<Name>libmpcdec-devel</Name>
<Summary>Development files for libmpcdec</Summary>
<RuntimeDependencies>
<Dependency release="current">libmpcdec</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<History>
<Update release="6">
<Date>2020-08-20</Date>
<Version>8</Version>
<Comment>First build.</Comment>
<Name>Pisilinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,20 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>musepack</Name>
<Summary xml:lang="en">Musepack SV8 tools.</Summary>
<Description xml:lang="en">Musepack is an audio compression format with a strong emphasis on high quality. It's not lossless, but it is designed for transparency, so that you won't be able to hear differences between the original wave file and the much smaller MPC file.</Description>
</Source>
<Package>
<Name>libmpcdec</Name>
<Summary xml:lang="tr">Musepack SV8 kodlama kitaplığı</Summary>
<Description xml:lang="tr">libmpcdec, taşınabilir bir Musepack kodlama kitaplığıdır.</Description>
<Description xml:lang="fr">Librairie de décodage portable Musepack.</Description>
</Packagee>
<Package>
<Name>libmpcdec-devel</Name>
<Summary xml:lang="tr">libmpcdec için geliştirme dosyaları</Summary>
</Package>
</PISI>
+5 -5
View File
@@ -2,14 +2,14 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import kde5
from pisi.actionsapi import pisitools
from pisi.actionsapi import kde5
from pisi.actionsapi import get
def setup():
kde5.configure()
kde5.configure("-DWITH_SYSTEM_TAGLIB=ON")
def build():
kde5.make()
@@ -19,7 +19,7 @@ def install():
pisitools.remove("usr/share/icons/sayonara.png")
pisitools.dodoc("CHANGES", \
"COPYING", \
"LICENSE", \
"MANUAL", \
"README.txt")
"README.md")
+37 -44
View File
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>sayonara</Name>
@@ -9,80 +9,73 @@
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv3</License>
<Icon>sayonara</Icon>
<IsA>app:gui</IsA>
<Summary>
Sayonara is a small, clear and fast audio player for Linux written in C++, supported by the Qt framework and uses Gstreamer as audio backend.
</Summary>
<Summary>Sayonara is a small, clear and fast audio player for Linux written in C++, supported by the Qt framework and uses Gstreamer as audio backend.</Summary>
<Description>
Although Sayonara is considered as a lightweight player, it holds a lot of features to organize even big music collections.
</Description>
<Archive sha1sum="81441c2e9fa9a5734fe8ef93f6e994cac054140e" type="targz">
ftp://sayonara-player.com/sayonara-player-1.4.1-stable1.tar.gz
<Archive sha1sum="12596fed4e99eb6b448dcea1aeeb25c6a2658d1b" type="tarbz2">
https://gitlab.com/luciocarreras/sayonara-player/-/archive/1.6.0-beta6/sayonara-player-1.6.0-beta6.tar.bz2
</Archive>
<BuildDependencies>
<Dependency>qt5-base-devel</Dependency>
<Dependency>qt5-sql-mysql </Dependency>
<Dependency>qt5-sql-odbc</Dependency>
<Dependency>qt5-sql-postgresql</Dependency>
<Dependency>qt5-sql-sqlite</Dependency>
<Dependency>qt5-linguist</Dependency>
<Dependency>gstreamer-devel</Dependency>
<Dependency>cmake</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>libmtp-devel</Dependency>
<Dependency>taglib-devel</Dependency>
<Dependency>qt5-linguist</Dependency>
<Dependency>qt5-sql-odbc</Dependency>
<Dependency>qt5-sql-mysql</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>qt5-sql-sqlite</Dependency>
<Dependency>gstreamer-devel</Dependency>
<Dependency>libnotify-devel</Dependency>
<Dependency>gst-plugins-ugly</Dependency>
<Dependency>qt5-sql-postgresql</Dependency>
<Dependency>gst-plugins-bad-devel</Dependency>
<Dependency>gst-plugins-base-devel</Dependency>
<Dependency>gst-plugins-ugly</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>libmtp-devel</Dependency>
<Dependency>gstreamer-devel</Dependency>
<Dependency>gst-plugins-base-devel</Dependency>
<Dependency>cmake</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>sayonara</Name>
<RuntimeDependencies>
<Dependency>zlib</Dependency>
<Dependency>glib2</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>libmtp</Dependency>
<Dependency>taglib</Dependency>
<Dependency>qt5-base</Dependency>
<Dependency>libnotify</Dependency>
<Dependency>gstreamer</Dependency>
<Dependency>gst-plugins-bad</Dependency>
<Dependency>gst-plugins-base</Dependency>
<Dependency>gst-plugins-good</Dependency>
<Dependency>gst-plugins-ugly</Dependency>
<Dependency>gstreamer</Dependency>
<Dependency>taglib</Dependency>
<Dependency>libnotify</Dependency>
<Dependency>glib2</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>zlib</Dependency>
<Dependency>libmtp</Dependency>
<Dependency>gstreamer</Dependency>
<Dependency>gst-plugins-base</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib/sayonara</Path>
<Path fileType="data">/usr/share/appdata</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="data">/usr/share/icons</Path>
<Path fileType="icon">/usr/share/pixmaps/sayonara.png</Path>
<Path fileType="data">/usr/share/sayonara/*</Path>
<Path fileType="man">/usr/share/man/man1</Path>
<Path fileType="doc">/usr/share/doc/sayonara</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/usr/share/applications/sayonara.desktop">
sayonara.desktop
</AdditionalFile>
<AdditionalFile owner="root" permission="0644" target="/usr/share/pixmaps/sayonara.png">
sayonara.png
</AdditionalFile>
<!--
<AdditionalFile owner="root" permission="0644" target="/usr/share/applications/sayonara.desktop">sayonara.desktop</AdditionalFile>
<AdditionalFile owner="root" permission="0644" target="/usr/share/pixmaps/sayonara.png">sayonara.png</AdditionalFile>
-->
</AdditionalFiles>
</Package>
<History>
<Update release="10">
<Date>2020-09-15</Date>
<Version>1.6.0_beta6</Version>
<Comment>Ver. bump</Comment>
<Name>fury</Name>
<Email>wascheme@tuta.io</Email>
</Update>
<Update release="9">
<Date>2020-03-08</Date>
<Version>1.4.1</Version>
+2 -2
View File
@@ -2,7 +2,7 @@
<PISI>
<Source>
<Name>sayonara</Name>
<Summary xml:lang="tr">Sayonara is a small, clear and fast audio player for Linux written in C++, supported by the Qt framework. It uses Gstreamer as audio backend.</Summary>
<Description xml:lang="tr">Although Sayoanra is considered as a lightweight player, it holds a lot of features to organize even big music collections.</Description>
<Summary xml:lang="en">Sayonara is a small, clear and fast audio player for Linux written in C++, supported by the Qt framework. It uses Gstreamer as audio backend.</Summary>
<Description xml:lang="en">Although Sayonara is considered as a lightweight player, it holds a lot of features to organize even big music collections.</Description>
</Source>
</PISI>
+16 -30
View File
@@ -1,46 +1,32 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import cmaketools
from pisi.actionsapi import shelltools
from pisi.actionsapi import pisitools
# if pisi can't find source directory, see /var/pisi/yarock/work/ and:
# WorkDir="yarock-"+ get.srcVERSION() +"/sub_project_dir/"
j = "-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DENABLE_PHONON=ON \
-DENABLE_MPV=ON \
-DENABLE_VLC=OFF \
"
def setup():
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DENABLE_VLC=OFF \
-DENABLE_MPV=ON \
-DENABLE_PHONON=ON", sourceDir = '..')
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure(j, sourceDir = '..')
def build():
shelltools.cd("build")
cmaketools.make()
shelltools.cd("build")
cmaketools.make()
def install():
shelltools.cd("build")
cmaketools.install()
shelltools.cd("..")
shelltools.cd("build")
cmaketools.install()
# Take a look at the source folder for these file as documentation.
pisitools.dodoc("CHANGES.md", \
"COPYING", \
"README.md")
pisitools.dodoc("../CHANGES.md", "../COPYING", "../README.md")
# If there is no install rule for a runnable binary, you can
# install it to binary directory.
# pisitools.dobin("yarock")
# You can use these as variables, they will replace GUI values before build.
# Package Name : yarock
# Version : 1.4.0
# Summary : Qt Modern Music Player with collection browse based on cover art
# For more information, you can look at the Actions API
# from the Help menu and toolbar.
+98 -94
View File
@@ -1,96 +1,100 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>yarock</Name>
<Homepage>https://seb-apps.github.io/yarock/</Homepage>
<Packager>
<Name>Stefan Gronewold</Name>
<Email>groni@pisilinux.org</Email>
</Packager>
<License>GPLv3</License>
<Summary>
Qt Modern Music Player with collection browse based on cover art.
</Summary>
<Description>
Yarock is a music player in c++/Qt designed to provide a clean, simple and beautiful music collection based on album coverart.
</Description>
<Archive sha1sum="a311b55d87fdd547e336a06c4be5e4c6a0039dc7" type="targz">
https://launchpadlibrarian.net/416223454/Yarock_1.4.0_Sources.tar.gz
</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>qt5-sql-odbc</Dependency>
<Dependency>qt5-linguist</Dependency>
<Dependency>qt5-sql-mysql</Dependency>
<Dependency>qt5-sql-sqlite</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>qt5-sql-postgresql</Dependency>
<Dependency>qt5-x11extras-devel</Dependency>
<Dependency>mpv-player-devel</Dependency>
<Dependency>qt5-phonon-devel</Dependency>
<Dependency>htmlcxx-devel</Dependency>
<Dependency>taglib-devel</Dependency>
</BuildDependencies>
<!-- <Patches>
<Patch level="1">phonon.patch</Patch>
</Patches> -->
</Source>
<Package>
<Name>yarock</Name>
<RuntimeDependencies>
<Dependency>qt5-linguist</Dependency>
<Dependency>qt5-base</Dependency>
<Dependency>qt5-x11extras</Dependency>
<Dependency>mpv-player</Dependency>
<Dependency>qt5-phonon</Dependency>
<Dependency>htmlcxx</Dependency>
<Dependency>taglib</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib/yarock</Path>
<Path fileType="data">/usr/share/appdata</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="data">/usr/share/icons</Path>
<Path fileType="data">/usr/share/pixmaps</Path>
<Path fileType="data">/usr/share/yarock/translations</Path>
<Path fileType="doc">/usr/share/doc/yarock</Path>
</Files>
</Package>
<History>
<Update release="5">
<Date>2020-03-07</Date>
<Version>1.4.0</Version>
<Comment>Rebuild New T.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="4">
<Date>2019-04-15</Date>
<Version>1.4.0</Version>
<Comment>Version bump</Comment>
<Name>fury</Name>
<Email>wascheme@tuta.io</Email>
</Update>
<Update release="3">
<Date>2018-09-01</Date>
<Version>1.1.6</Version>
<Comment>Rebuild New T.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="2">
<Date>2017-04-23</Date>
<Version>1.1.6</Version>
<Comment>Rebuild with new toolchain</Comment>
<Name>Stefan Gronewold</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2016-11-24</Date>
<Version>1.1.6</Version>
<Comment>First Release</Comment>
<Name>Stefan Gronewold</Name>
<Email>groni@pisilinux.org</Email>
</Update>
</History>
<Source>
<Name>yarock</Name>
<Homepage>https://seb-apps.github.io/yarock/</Homepage>
<Packager>
<Name>Stefan Gronewold</Name>
<Email>groni@pisilinux.org</Email>
</Packager>
<License>GPLv3</License>
<Summary>
Qt Modern Music Player with collection browse based on cover art.
</Summary>
<Description>
Yarock is a music player in c++/Qt designed to provide a clean, simple and beautiful music collection based on album coverart.
</Description>
<Archive sha1sum="a311b55d87fdd547e336a06c4be5e4c6a0039dc7" type="targz">
https://launchpadlibrarian.net/416223454/Yarock_1.4.0_Sources.tar.gz
</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>qt5-sql-odbc</Dependency>
<Dependency>qt5-linguist</Dependency>
<Dependency>qt5-sql-mysql</Dependency>
<Dependency>qt5-sql-sqlite</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>qt5-sql-postgresql</Dependency>
<Dependency>qt5-x11extras-devel</Dependency>
<Dependency>mpv-player-devel</Dependency>
<Dependency>qt5-phonon-devel</Dependency>
<Dependency>htmlcxx-devel</Dependency>
<Dependency>taglib-devel</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level="1">phonon.patch</Patch> -->
</Patches>
</Source>
<Package>
<Name>yarock</Name>
<RuntimeDependencies>
<Dependency>qt5-linguist</Dependency>
<Dependency>qt5-base</Dependency>
<Dependency>qt5-x11extras</Dependency>
<Dependency>mpv-player</Dependency>
<Dependency>qt5-phonon</Dependency>
<Dependency>htmlcxx</Dependency>
<Dependency>taglib</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib/yarock</Path>
<Path fileType="data">/usr/share/appdata</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="data">/usr/share/icons</Path>
<Path fileType="data">/usr/share/pixmaps</Path>
<Path fileType="data">/usr/share/yarock/translations</Path>
<Path fileType="doc">/usr/share/doc/yarock</Path>
</Files>
</Package>
<History>
<Update release="5">
<Date>2020-03-07</Date>
<Version>1.4.0</Version>
<Comment>Rebuild New T.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="4">
<Date>2019-04-15</Date>
<Version>1.4.0</Version>
<Comment>Version bump</Comment>
<Name>fury</Name>
<Email>wascheme@tuta.io</Email>
</Update>
<Update release="3">
<Date>2018-09-01</Date>
<Version>1.1.6</Version>
<Comment>Rebuild New T.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="2">
<Date>2017-04-23</Date>
<Version>1.1.6</Version>
<Comment>Rebuild with new toolchain</Comment>
<Name>Stefan Gronewold</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2016-11-24</Date>
<Version>1.1.6</Version>
<Comment>First Release</Comment>
<Name>Stefan Gronewold</Name>
<Email>groni@pisilinux.org</Email>
</Update>
</History>
</PISI>