Hello community, here is the log from the commit of package libdvbpsi for openSUSE:Factory checked in at 2011-11-07 14:19:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libdvbpsi (Old) and /work/SRC/openSUSE:Factory/.libdvbpsi.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libdvbpsi", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/libdvbpsi/libdvbpsi.changes 2011-09-23 02:08:08.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libdvbpsi.new/libdvbpsi.changes 2011-11-07 14:19:01.000000000 +0100 @@ -1,0 +2,12 @@ +Thu Nov 03 23:33:42 UTC 2011 - [email protected] + +- use proper filenames in files section, to make the build fail if the + SONAME changes + +- update to 0.2.2: + * revert regression introduced by "ignore initial discontinuity" commit + +- changes from 0.2.1: + * ignore initial discontinuity + +------------------------------------------------------------------- Old: ---- libdvbpsi-0.2.0.tar.bz2 New: ---- libdvbpsi-0.2.2.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libdvbpsi.spec ++++++ --- /var/tmp/diff_new_pack.uLttCE/_old 2011-11-07 14:19:02.000000000 +0100 +++ /var/tmp/diff_new_pack.uLttCE/_new 2011-11-07 14:19:02.000000000 +0100 @@ -18,7 +18,7 @@ Name: libdvbpsi -Version: 0.2.0 +Version: 0.2.2 Release: 1 License: LGPLv2.1+ Summary: Library for Decoding and Generating MPEG TS and DVB PSI Tables @@ -87,13 +87,14 @@ %files -n libdvbpsi7 %defattr (-, root, root) -%{_libdir}/*.so.* +%{_libdir}/libdvbpsi.so.7 +%{_libdir}/libdvbpsi.so.7.* %files devel %defattr (-, root, root) %doc AUTHORS COPYING ChangeLog INSTALL NEWS README -%{_libdir}/*.so -%{_includedir}/* +%{_libdir}/libdvbpsi.so +%{_includedir}/dvbpsi %{_libdir}/pkgconfig/libdvbpsi.pc %changelog ++++++ libdvbpsi-0.2.0.tar.bz2 -> libdvbpsi-0.2.2.tar.bz2 ++++++ ++++ 9970 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libdvbpsi-0.2.0/NEWS new/libdvbpsi-0.2.2/NEWS --- old/libdvbpsi-0.2.0/NEWS 2011-04-04 16:34:06.000000000 +0200 +++ new/libdvbpsi-0.2.2/NEWS 2011-11-03 16:58:33.000000000 +0100 @@ -1,5 +1,18 @@ $Id$ +Changes between 0.2.1 and 0.2.2: +-------------------------------- + + * revert regression introduced by "ignore initial discontinuity" commit (commit-id: d565a849ad0191ed14db018546c71eb52d47a741). + * do not use -no-undefined linkerflag on *BSD systems + +Changes between 0.2.0 and 0.2.1: +-------------------------------- + + * ignore initial discontinuity + * Build fixes for BSD builds + * Build fixes for MSYS builds + Changes between 0.1.7 and 0.2.0: -------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libdvbpsi-0.2.0/TODO new/libdvbpsi-0.2.2/TODO --- old/libdvbpsi-0.2.0/TODO 2011-03-25 11:11:44.000000000 +0100 +++ new/libdvbpsi-0.2.2/TODO 2011-10-23 13:27:27.000000000 +0200 @@ -1,10 +1,24 @@ TODO: -- change int's used as bool into bools -- Synchronize all dvbpsi_GatherXXXSections() sanity checks -- Check memleak in dvbpsi_GatherXXXSections() functions with dvbpsi_DeletePSISections(p_section) usages, - I think all tables might be leaking memory of p_secion pointers now -- unify dvbpsi_descriptor_t functions and message callback -- make dvbpsi_NewXXX() and dvbpsi_DeleteXXX() real functions (maybe)? -- use dvbpsi_NewXXX() and dvbpsi_DeleteXXX() in dvbpsi_GatherXXXSections() functions -- write SIS Command Decoders +- Document howto change "Old API" to "New API" +- use dvbpsi_NewBAT/CAT/XXX() and dvbpsi_DeleteXXX() in dvbpsi_GatherXXXSections() functions +- fix demux_subdec_t and dvbpsi_decoder_t discrepancy +- require one handle to libdvbpsi and chain table decoders +- (optional) highlevel TS handler functions (eg: dvbpsi_ts_* ) +- (optional) make use of BitStream header files to minimize rework - find solution for SIS descriptors decoding, since they use the same tag-id as PMT descriptors do. + Separate DVB/ITU and SCTE descriptors in separate directories. + For instance: descriptors/dvb + descriptors/scte +- write SIS Command Decoders + +ENHANCEMENTS: +- dvbinfo: record/caculate distance between audio and video in bytes AND time +- dvbinfo: new modular design + input (tcp,udp,file) -> buffer -> analysis -> output (tcp,udp,file) + |-> event log -> write capture info to file (date, pkt, pid, cc, bytes pos in file): think of wireshark mainscreen +- dvbinfo-gui: capture (MPEG-TS) file -> generate graphs -> PSI (pat/pmt/cat) interval (new versions, repeated version) + capture event log -> -> packer arrival times/diffs (VBR/CBR), split by ES (each ES other color) + -> stream/packet details + +DECISION: +- dvbpsi_descriptor_t decoder/encoder functions do not use dvbpsi_t pointer and message callback on error NULL is returned diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libdvbpsi-0.2.0/configure.ac new/libdvbpsi-0.2.2/configure.ac --- old/libdvbpsi-0.2.0/configure.ac 2011-04-04 16:34:06.000000000 +0200 +++ new/libdvbpsi-0.2.2/configure.ac 2011-11-03 16:54:50.000000000 +0100 @@ -1,4 +1,4 @@ -AC_INIT(libdvbpsi, 0.2.0) +AC_INIT(libdvbpsi, 0.2.2) AC_PREREQ(2.50) AC_CONFIG_AUX_DIR(.auto) @@ -12,6 +12,7 @@ AC_STDC_HEADERS AC_C_INLINE +AC_LIBTOOL_WIN32_DLL AM_PROG_LIBTOOL @@ -20,11 +21,21 @@ CFLAGS="${CFLAGS} -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare" dnl check the operating system -case x"${target_os}" in - xdarwin*) +case "${target_os}" in + darwin*) CFLAGS="${CFLAGS} -no-cpp-precomp" + have_darwin="yes" + ;; + *mingw32* | *cygwin* | *wince* | *mingwce*) + have_win32="yes" + ;; + *bsd*) + have_bsd="yes" ;; esac +AM_CONDITIONAL(HAVE_DARWIN, test "${have_darwin}" = "yes") +AM_CONDITIONAL(HAVE_WIN32, test "${have_win32}" = "yes") +AM_CONDITIONAL(HAVE_BSD, test "${have_bsd}" = "yes") dnl --enable-debug AC_ARG_ENABLE(debug, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libdvbpsi-0.2.0/doc/doxygen.cfg new/libdvbpsi-0.2.2/doc/doxygen.cfg --- old/libdvbpsi-0.2.0/doc/doxygen.cfg 2011-04-04 16:34:06.000000000 +0200 +++ new/libdvbpsi-0.2.2/doc/doxygen.cfg 2011-10-19 14:11:49.000000000 +0200 @@ -31,7 +31,7 @@ # This could be handy for archiving the generated documentation or # if some version control system is used. -PROJECT_NUMBER = 0.2.0 +PROJECT_NUMBER = 0.2.2 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) # base path where the generated documentation will be put. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libdvbpsi-0.2.0/doc/index.doxygen new/libdvbpsi-0.2.2/doc/index.doxygen --- old/libdvbpsi-0.2.0/doc/index.doxygen 2011-04-04 16:34:06.000000000 +0200 +++ new/libdvbpsi-0.2.2/doc/index.doxygen 2011-10-19 11:21:22.000000000 +0200 @@ -21,7 +21,7 @@ <h2>License</h2> -<p>libdvbpsi was originally released under the GPLv2 and later relicensed under the LGPLv2. All versions prior to version 1.0.0 are GPLv2, versions 1.0.0 and later are LGPLv2.<p> +<p>libdvbpsi was originally released under the GPLv2 and later relicensed under the LGPLv2. All versions prior to version 0.2.0 are GPLv2, versions 0.2.0 and later are LGPLv2.1.<p> <h2>Tables and Descriptors</h2> <p>libdvbpsi supports the following PSI tables and many descriptors regularly found in MPEG/DVB Transport streams</p> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libdvbpsi-0.2.0/examples/connect.c new/libdvbpsi-0.2.2/examples/connect.c --- old/libdvbpsi-0.2.0/examples/connect.c 2011-02-07 16:58:14.000000000 +0100 +++ new/libdvbpsi-0.2.2/examples/connect.c 2011-05-19 15:04:02.000000000 +0200 @@ -38,7 +38,7 @@ # include <netinet/if_ether.h> #endif #include <netdb.h> -#ifndef __FreeBSD__ +#ifndef BSD # include <netinet/ip.h> #endif #include <netinet/udp.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libdvbpsi-0.2.0/examples/decode_mpeg.c new/libdvbpsi-0.2.2/examples/decode_mpeg.c --- old/libdvbpsi-0.2.0/examples/decode_mpeg.c 2011-04-04 16:34:06.000000000 +0200 +++ new/libdvbpsi-0.2.2/examples/decode_mpeg.c 2011-10-19 11:21:22.000000000 +0200 @@ -652,6 +652,7 @@ vlc_bool_t b_adaptation = (p_tmp[3] & 0x20); /* adaptation field */ vlc_bool_t b_discontinuity_seen = VLC_FALSE; +#ifdef HAVE_SYS_SOCKET_H if( i_report == REPORT_UDP && !b_first ) { #ifdef HAVE_GETTIMEOFDAY @@ -661,7 +662,7 @@ #endif b_first = VLC_TRUE; } - +#endif if( i_pid == 0x0 ) dvbpsi_PushPacket(p_stream->pat.handle, p_tmp); else if( p_stream->pmt.pid_pmt && i_pid == p_stream->pmt.pid_pmt->i_pid ) @@ -713,6 +714,7 @@ i_prev_pcr = p_stream->pid[i_pid].i_pcr; p_stream->pid[i_pid].i_pcr = i_pcr; +#ifdef HAVE_SYS_SOCKET_H if( i_report == REPORT_PCR ) { #ifdef HAVE_GETTIMEOFDAY @@ -721,6 +723,7 @@ report_PCRPacketTiming( i_cc, &(p_stream->pid[i_pid]), i_prev_pcr, i_bytes ); #endif } +#endif i_bytes = 0; /* reset byte counter */ if( b_discontinuity_seen ) @@ -742,9 +745,10 @@ } } +#ifdef HAVE_SYS_SOCKET_H if( i_report == REPORT_UDP ) i_bytes = 0; /* reset byte counter */ - +#endif /* Read next packet */ if( filename ) i_len = ReadPacket( i_fd, p_data ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libdvbpsi-0.2.0/examples/get_pcr_pid.c new/libdvbpsi-0.2.2/examples/get_pcr_pid.c --- old/libdvbpsi-0.2.0/examples/get_pcr_pid.c 2011-04-04 16:34:06.000000000 +0200 +++ new/libdvbpsi-0.2.2/examples/get_pcr_pid.c 2011-10-19 11:21:22.000000000 +0200 @@ -170,8 +170,12 @@ i_program = strtol( pp_argv[2], NULL, 0 ); p_pat_dvbpsi_fd = dvbpsi_AttachPAT( PATCallback, NULL ); + if ( p_pat_dvbpsi_fd == NULL ) + goto out; p_buffer = malloc( TS_SIZE * READ_ONCE ); + if ( p_buffer == NULL ) + goto out; for ( ; ; ) { @@ -195,7 +199,10 @@ i_ts_read++; } } + free( p_buffer ); +out: + if ( p_pat_dvbpsi_fd ) dvbpsi_DetachPAT( p_pat_dvbpsi_fd ); close( i_fd ); fprintf( stderr, "no PAT/PMT found\n" ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libdvbpsi-0.2.0/libdvbpsi.spec new/libdvbpsi-0.2.2/libdvbpsi.spec --- old/libdvbpsi-0.2.0/libdvbpsi.spec 2011-05-02 09:42:19.000000000 +0200 +++ new/libdvbpsi-0.2.2/libdvbpsi.spec 2011-11-03 16:55:23.000000000 +0100 @@ -1,6 +1,6 @@ %define name libdvbpsi -%define version 0.2.0 -%define release 2 +%define version 0.2.2 +%define release 1 %define lib_name %{name} @@ -50,7 +50,7 @@ %setup -q -n %{lib_name}-%{version} %build -%configure2_5x --enable-release +%configure2_5x --enable-release %make %install diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libdvbpsi-0.2.0/libdvbpsi.spec.in new/libdvbpsi-0.2.2/libdvbpsi.spec.in --- old/libdvbpsi-0.2.0/libdvbpsi.spec.in 2011-04-21 15:53:36.000000000 +0200 +++ new/libdvbpsi-0.2.2/libdvbpsi.spec.in 2011-10-19 11:21:22.000000000 +0200 @@ -50,7 +50,7 @@ %setup -q -n %{lib_name}-%{version} %build -%configure2_5x --enable-release --enable-debug +%configure2_5x --enable-release %make %install diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libdvbpsi-0.2.0/src/Makefile.am new/libdvbpsi-0.2.2/src/Makefile.am --- old/libdvbpsi-0.2.0/src/Makefile.am 2011-04-04 16:34:06.000000000 +0200 +++ new/libdvbpsi-0.2.2/src/Makefile.am 2011-11-03 15:47:10.000000000 +0100 @@ -13,6 +13,20 @@ libdvbpsi_la_LDFLAGS = -version-info 7:0:0 +if HAVE_WIN32 +libdvbpsi_la_LDFLAGS += -no-undefined +else +if HAVE_DARWIN +libdvbpsi_la_LDFLAGS += -no-undefined +else +if HAVE_BSD +libdvbpsi_la_LDFLAGS += +else +libdvbpsi_la_LDFLAGS += -Wl,--no-undefined +endif +endif +endif + pkginclude_HEADERS = dvbpsi.h psi.h descriptor.h demux.h \ tables/pat.h tables/pmt.h tables/sdt.h tables/eit.h \ tables/cat.h tables/nit.h tables/tot.h tables/sis.h \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libdvbpsi-0.2.0/src/dvbpsi.h new/libdvbpsi-0.2.2/src/dvbpsi.h --- old/libdvbpsi-0.2.0/src/dvbpsi.h 2011-04-06 11:33:51.000000000 +0200 +++ new/libdvbpsi-0.2.2/src/dvbpsi.h 2011-10-19 14:11:49.000000000 +0200 @@ -33,8 +33,8 @@ #ifndef _DVBPSI_DVBPSI_H_ #define _DVBPSI_DVBPSI_H_ -#define DVBPSI_VERSION 0.2.0 -#define DVBPSI_VERSION_INT ((0<<16)+(2<<8)+0) +#define DVBPSI_VERSION 0.2.2 +#define DVBPSI_VERSION_INT ((0<<16)+(2<<8)+2) #ifdef __cplusplus extern "C" { @@ -48,7 +48,7 @@ * \typedef struct dvbpsi_decoder_s * dvbpsi_handle * \brief Decoder abstration. */ -typedef struct dvbpsi_decoder_s * dvbpsi_handle __attribute__((depreceated)); +typedef struct dvbpsi_decoder_s * dvbpsi_handle __attribute__((deprecated)); /***************************************************************************** -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
