Projects
Essentials
faad2
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 21
View file
faad2.changes
Changed
@@ -1,4 +1,18 @@ ------------------------------------------------------------------- +Sun Nov 26 23:25:40 UTC 2017 - zaitor@opensuse.org + +- Update to version 2.8.6: + * No changelog provided by upstream. +- Rebase faad2-PACKAGE_VERSION.patch. +- Add faad2-pic-fix.patch: Fix non-PIC objects in libmp4ff.a, + following this, trim the CFLAGS export down to just + -fno-strict-aliasing. +- Add %%{libname} = %%{version} Requires to devel subpackage, yet + a change to silence rpmlint. +- Add %%{lib}_drm%%{major} = %%{version} Requires aswell to the + devel subpackage. + +------------------------------------------------------------------- Mon Oct 9 06:53:57 UTC 2017 - hillwood@opensuse.org - Update to 2.8.5
View file
faad2.spec
Changed
@@ -12,7 +12,7 @@ %bcond_with mpeg4ip Name: faad2 -Version: 2.8.5 +Version: 2.8.6 Release: 1 License: GPL-2.0+ Summary: C library and frontend for decoding MPEG2/4 AAC @@ -22,6 +22,7 @@ Source0: http://downloads.sourceforge.net/project/faac/%{name}-src/%{name}-%{version}/%{name}-%{version}.tar.gz Patch0: %{name}-visibility.patch Patch1: faad2-PACKAGE_VERSION.patch +Patch2: faad2-pic-fix.patch Requires: %{libname} = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with mpeg4ip} @@ -77,6 +78,8 @@ Summary(de): Entwicklerdateien des FAAD 2 AAC Dekoders Group: Development/Libraries/C and C++ Requires: %{name} = %{version} +Requires: %{libname} = %{version} +Requires: %{lib}_drm%{major} = %{version} Obsoletes: lib%{name}-devel < %{version} Provides: lib%{name}-devel = %{version} Obsoletes: %{name}-devel < %{version} @@ -117,10 +120,11 @@ %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p1 %build autoreconf -ifv -export CFLAGS="%{optflags} -fPIC -fno-strict-aliasing -Wno-unused-function -Wno-unused-variable" +export CFLAGS="%{optflags} -fno-strict-aliasing" %configure \ %if %{with xmms} --with-xmms \ @@ -157,9 +161,6 @@ %files -n %{lib}-devel %defattr(-, root, root) %{_libdir}/*.so -# Let it be static since I don't want to start worring about versioning. I'm not -# even sure if it's supposed to be public... -# %{_libdir}/libmp4ff.a %{_includedir}/* %if %{with xmms}
View file
faad2-PACKAGE_VERSION.patch
Changed
@@ -10,12 +10,12 @@ faad_fprintf(stderr, " Fixed point version\n"); --- a/include/neaacdec.h +++ b/include/neaacdec.h -@@ -75,7 +75,7 @@ extern "C" { - #endif +@@ -67,7 +67,7 @@ extern "C" { + #define NEAACDECAPI #endif -#define FAAD2_VERSION "unknown" -+#define FAAD2_VERSION "2.8" ++#define FAAD2_VERSION "2.8.6" /* object types for AAC */ #define MAIN 1
View file
faad2-pic-fix.patch
Added
@@ -0,0 +1,12 @@ +--- a/common/mp4ff/Makefile.am ++++ b/common/mp4ff/Makefile.am +@@ -1,7 +1,7 @@ + noinst_LIBRARIES = libmp4ff.a + noinst_HEADERS = mp4ff.h mp4ffint.h + +-libmp4ff_a_CFLAGS = -DUSE_TAGGING=1 ++libmp4ff_a_CFLAGS = -DUSE_TAGGING=1 -DPIC -fPIC + + libmp4ff_a_SOURCES = mp4ff.c mp4atom.c mp4meta.c mp4sample.c mp4util.c \ + mp4tagupdate.c mp4ff.h mp4ffint.h +
View file
faad2-2.8.5.tar.gz/ChangeLog -> faad2-2.8.6.tar.gz/ChangeLog
Changed
@@ -1,3 +1,4 @@ +2.8.6: 2.8.5: - another package fix 2.8.4:
View file
faad2-2.8.5.tar.gz/configure -> faad2-2.8.6.tar.gz/configure
Changed
@@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for faad2 2.8.5. +# Generated by GNU Autoconf 2.69 for faad2 2.8.6. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -587,8 +587,8 @@ # Identity of this package. PACKAGE_NAME='faad2' PACKAGE_TARNAME='faad2' -PACKAGE_VERSION='2.8.5' -PACKAGE_STRING='faad2 2.8.5' +PACKAGE_VERSION='2.8.6' +PACKAGE_STRING='faad2 2.8.6' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1344,7 +1344,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures faad2 2.8.5 to adapt to many kinds of systems. +\`configure' configures faad2 2.8.6 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1415,7 +1415,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of faad2 2.8.5:";; + short | recursive ) echo "Configuration of faad2 2.8.6:";; esac cat <<\_ACEOF @@ -1531,7 +1531,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -faad2 configure 2.8.5 +faad2 configure 2.8.6 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2071,7 +2071,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by faad2 $as_me 2.8.5, which was +It was created by faad2 $as_me 2.8.6, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2934,7 +2934,7 @@ # Define the identity of the package. PACKAGE='faad2' - VERSION='2.8.5' + VERSION='2.8.6' cat >>confdefs.h <<_ACEOF @@ -18296,7 +18296,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by faad2 $as_me 2.8.5, which was +This file was extended by faad2 $as_me 2.8.6, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -18362,7 +18362,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -faad2 config.status 2.8.5 +faad2 config.status 2.8.6 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\"
View file
faad2-2.8.5.tar.gz/configure.ac -> faad2-2.8.6.tar.gz/configure.ac
Changed
@@ -8,7 +8,7 @@ dnl - mpeg4ip plugin (requires mpeg4ip's libmp4v2 to be installed) AC_PREREQ(2.50) -AC_INIT(faad2, 2.8.5) +AC_INIT(faad2, 2.8.6) AC_CONFIG_AUX_DIR(.) AM_INIT_AUTOMAKE([subdir-objects])
View file
faad2-2.8.5.tar.gz/faad2.spec -> faad2-2.8.6.tar.gz/faad2.spec
Changed
@@ -24,7 +24,7 @@ Summary: C library and frontend for decoding MPEG2/4 AAC Name: faad2 -Version: 2.8.5 +Version: 2.8.6 Release: 1 License: GPL Group: Applications/Multimedia
View file
faad2-2.8.5.tar.gz/frontend/mp4read.c -> faad2-2.8.6.tar.gz/frontend/mp4read.c
Changed
@@ -178,7 +178,7 @@ if (memcmp("soun", buf, 4)) { if (mp4config.verbose.header) - fprintf(stderr, "unsuported, skipping\n"); + fprintf(stderr, "unsupported, skipping\n"); return ERR_UNSUPPORTED; } else
View file
faad2-2.8.5.tar.gz/include/neaacdec.h -> faad2-2.8.6.tar.gz/include/neaacdec.h
Changed
@@ -60,17 +60,11 @@ #ifdef _WIN32 #pragma pack(push, 8) - #ifndef NEAACDECAPI - #define NEAACDECAPI __cdecl - #endif + #define NEAACDECAPI __declspec(dllexport) #elif defined(__GNUC__) && __GNUC__ >= 4 - #ifndef NEAACDECAPI - #define NEAACDECAPI __attribute__((visibility("default"))) - #endif + #define NEAACDECAPI __attribute__((visibility("default"))) #else - #ifndef NEAACDECAPI - #define NEAACDECAPI - #endif + #define NEAACDECAPI #endif #define FAAD2_VERSION "unknown" @@ -202,57 +196,57 @@ unsigned char ps; } NeAACDecFrameInfo; -char NEAACDECAPI *NeAACDecGetErrorMessage(unsigned char errcode); +NEAACDECAPI char* NeAACDecGetErrorMessage(unsigned char errcode); -unsigned long NEAACDECAPI NeAACDecGetCapabilities(void); +NEAACDECAPI unsigned long NeAACDecGetCapabilities(void); -NeAACDecHandle NEAACDECAPI NeAACDecOpen(void); +NEAACDECAPI NeAACDecHandle NeAACDecOpen(void); -NeAACDecConfigurationPtr NEAACDECAPI NeAACDecGetCurrentConfiguration(NeAACDecHandle hDecoder); +NEAACDECAPI NeAACDecConfigurationPtr NeAACDecGetCurrentConfiguration(NeAACDecHandle hDecoder); -unsigned char NEAACDECAPI NeAACDecSetConfiguration(NeAACDecHandle hDecoder, +NEAACDECAPI unsigned char NeAACDecSetConfiguration(NeAACDecHandle hDecoder, NeAACDecConfigurationPtr config); /* Init the library based on info from the AAC file (ADTS/ADIF) */ -long NEAACDECAPI NeAACDecInit(NeAACDecHandle hDecoder, +NEAACDECAPI long NeAACDecInit(NeAACDecHandle hDecoder, unsigned char *buffer, unsigned long buffer_size, unsigned long *samplerate, unsigned char *channels); /* Init the library using a DecoderSpecificInfo */ -char NEAACDECAPI NeAACDecInit2(NeAACDecHandle hDecoder, +NEAACDECAPI char NeAACDecInit2(NeAACDecHandle hDecoder, unsigned char *pBuffer, unsigned long SizeOfDecoderSpecificInfo, unsigned long *samplerate, unsigned char *channels); /* Init the library for DRM */ -char NEAACDECAPI NeAACDecInitDRM(NeAACDecHandle *hDecoder, unsigned long samplerate, +NEAACDECAPI char NeAACDecInitDRM(NeAACDecHandle *hDecoder, unsigned long samplerate, unsigned char channels); -void NEAACDECAPI NeAACDecPostSeekReset(NeAACDecHandle hDecoder, long frame); +NEAACDECAPI void NeAACDecPostSeekReset(NeAACDecHandle hDecoder, long frame); -void NEAACDECAPI NeAACDecClose(NeAACDecHandle hDecoder); +NEAACDECAPI void NeAACDecClose(NeAACDecHandle hDecoder); -void NEAACDECAPI *NeAACDecDecode(NeAACDecHandle hDecoder, +NEAACDECAPI void* NeAACDecDecode(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo, unsigned char *buffer, unsigned long buffer_size); -void NEAACDECAPI *NeAACDecDecode2(NeAACDecHandle hDecoder, +NEAACDECAPI void* NeAACDecDecode2(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo, unsigned char *buffer, unsigned long buffer_size, void **sample_buffer, unsigned long sample_buffer_size); -char NEAACDECAPI NeAACDecAudioSpecificConfig(unsigned char *pBuffer, +NEAACDECAPI char NeAACDecAudioSpecificConfig(unsigned char *pBuffer, unsigned long buffer_size, mp4AudioSpecificConfig *mp4ASC); /* Get version and copyright strings */ -int NEAACDECAPI NeAACDecGetVersion(char **faad_id_string, +NEAACDECAPI int NeAACDecGetVersion(char **faad_id_string, char **faad_copyright_string); #ifdef _WIN32
View file
faad2-2.8.5.tar.gz/libfaad/decoder.c -> faad2-2.8.6.tar.gz/libfaad/decoder.c
Changed
@@ -64,7 +64,7 @@ NeAACDecFrameInfo *hInfo); -int NEAACDECAPI NeAACDecGetVersion(char **faad_id_string, +int NeAACDecGetVersion(char **faad_id_string, char **faad_copyright_string) { static char *libfaadName = PACKAGE_VERSION; @@ -81,14 +81,15 @@ return 0; } -char NEAACDECAPI *NeAACDecGetErrorMessage(unsigned char errcode) + +char* NeAACDecGetErrorMessage(unsigned char errcode) { if (errcode >= NUM_ERROR_MESSAGES) return NULL; return err_msg[errcode]; } -unsigned long NEAACDECAPI NeAACDecGetCapabilities(void) +unsigned long NeAACDecGetCapabilities(void) { uint32_t cap = 0; @@ -115,7 +116,7 @@ } const unsigned char mes[] = { 0x67,0x20,0x61,0x20,0x20,0x20,0x6f,0x20,0x72,0x20,0x65,0x20,0x6e,0x20,0x20,0x20,0x74,0x20,0x68,0x20,0x67,0x20,0x69,0x20,0x72,0x20,0x79,0x20,0x70,0x20,0x6f,0x20,0x63 }; -NeAACDecHandle NEAACDECAPI NeAACDecOpen(void) +NeAACDecHandle NeAACDecOpen(void) { uint8_t i; NeAACDecStruct *hDecoder = NULL; @@ -176,7 +177,7 @@ return hDecoder; } -NeAACDecConfigurationPtr NEAACDECAPI NeAACDecGetCurrentConfiguration(NeAACDecHandle hpDecoder) +NeAACDecConfigurationPtr NeAACDecGetCurrentConfiguration(NeAACDecHandle hpDecoder) { NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder; if (hDecoder) @@ -189,7 +190,7 @@ return NULL; } -unsigned char NEAACDECAPI NeAACDecSetConfiguration(NeAACDecHandle hpDecoder, +unsigned char NeAACDecSetConfiguration(NeAACDecHandle hpDecoder, NeAACDecConfigurationPtr config) { NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder; @@ -252,7 +253,7 @@ } -long NEAACDECAPI NeAACDecInit(NeAACDecHandle hpDecoder, +long NeAACDecInit(NeAACDecHandle hpDecoder, unsigned char *buffer, unsigned long buffer_size, unsigned long *samplerate, @@ -386,7 +387,7 @@ } /* Init the library using a DecoderSpecificInfo */ -char NEAACDECAPI NeAACDecInit2(NeAACDecHandle hpDecoder, +char NeAACDecInit2(NeAACDecHandle hpDecoder, unsigned char *pBuffer, unsigned long SizeOfDecoderSpecificInfo, unsigned long *samplerate, @@ -480,7 +481,7 @@ } #ifdef DRM -char NEAACDECAPI NeAACDecInitDRM(NeAACDecHandle *hpDecoder, +char NeAACDecInitDRM(NeAACDecHandle *hpDecoder, unsigned long samplerate, unsigned char channels) { @@ -523,7 +524,7 @@ } #endif -void NEAACDECAPI NeAACDecClose(NeAACDecHandle hpDecoder) +void NeAACDecClose(NeAACDecHandle hpDecoder) { uint8_t i; NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder; @@ -577,7 +578,7 @@ if (hDecoder) faad_free(hDecoder); } -void NEAACDECAPI NeAACDecPostSeekReset(NeAACDecHandle hpDecoder, long frame) +void NeAACDecPostSeekReset(NeAACDecHandle hpDecoder, long frame) { NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder; if (hDecoder) @@ -807,7 +808,7 @@ } } -void NEAACDECAPI *NeAACDecDecode(NeAACDecHandle hpDecoder, +void* NeAACDecDecode(NeAACDecHandle hpDecoder, NeAACDecFrameInfo *hInfo, unsigned char *buffer, unsigned long buffer_size) @@ -816,7 +817,7 @@ return aac_frame_decode(hDecoder, hInfo, buffer, buffer_size, NULL, 0); } -void NEAACDECAPI *NeAACDecDecode2(NeAACDecHandle hpDecoder, +void* NeAACDecDecode2(NeAACDecHandle hpDecoder, NeAACDecFrameInfo *hInfo, unsigned char *buffer, unsigned long buffer_size,
View file
faad2-2.8.5.tar.gz/libfaad/mp4.c -> faad2-2.8.6.tar.gz/libfaad/mp4.c
Changed
@@ -114,7 +114,7 @@ }; /* Table 1.6.1 */ -char NEAACDECAPI NeAACDecAudioSpecificConfig(unsigned char *pBuffer, +char NeAACDecAudioSpecificConfig(unsigned char *pBuffer, unsigned long buffer_size, mp4AudioSpecificConfig *mp4ASC) {
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.