Hello community, here is the log from the commit of package libXv for openSUSE:Factory checked in at 2012-05-08 11:58:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libXv (Old) and /work/SRC/openSUSE:Factory/.libXv.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libXv", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/libXv/libXv.changes 2012-02-17 12:05:30.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libXv.new/libXv.changes 2012-05-08 11:59:26.000000000 +0200 @@ -1,0 +2,8 @@ +Wed Apr 11 15:26:37 UTC 2012 - vuntz@opensuse.org + +- Update to version 1.0.7: + + Janitorial cleanups + + Man page fix + + Build configuration improvements + +------------------------------------------------------------------- Old: ---- libXv-1.0.6.tar.bz2 New: ---- libXv-1.0.7.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libXv.spec ++++++ --- /var/tmp/diff_new_pack.i5oipP/_old 2012-05-08 11:59:27.000000000 +0200 +++ /var/tmp/diff_new_pack.i5oipP/_new 2012-05-08 11:59:27.000000000 +0200 @@ -14,21 +14,27 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + + Name: libXv %define lname libXv1 -Version: 1.0.6 +Version: 1.0.7 Release: 0 Summary: X Video extension library License: MIT Group: Development/Libraries/C and C++ -URL: http://xorg.freedesktop.org/ +Url: http://xorg.freedesktop.org/ #Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXv #Git-Web: http://cgit.freedesktop.org/xorg/lib/libXv/ -Source: %name-%version.tar.bz2 -BuildRoot: %_tmppath/%name-%version-build -BuildRequires: pkgconfig, pkgconfig(xorg-macros) >= 1.8, pkgconfig(x11) -BuildRequires: pkgconfig(xext), pkgconfig(xextproto), pkgconfig(videoproto) +Source: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: pkgconfig +BuildRequires: pkgconfig(videoproto) +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xext) +BuildRequires: pkgconfig(xextproto) +BuildRequires: pkgconfig(xorg-macros) >= 1.8 %description The X Video Extension (Xv) extension provides support for video ++++++ libXv-1.0.6.tar.bz2 -> libXv-1.0.7.tar.bz2 ++++++ ++++ 43347 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/libXv-1.0.6/COPYING new/libXv-1.0.7/COPYING --- old/libXv-1.0.6/COPYING 2009-10-16 23:27:22.000000000 +0200 +++ new/libXv-1.0.7/COPYING 2012-03-08 06:25:45.000000000 +0100 @@ -3,13 +3,13 @@ All Rights Reserved -Permission to use, copy, modify, and distribute this software and its -documentation for any purpose and without fee is hereby granted, +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that -both that copyright notice and this permission notice appear in +both that copyright notice and this permission notice appear in supporting documentation, and that the names of Digital or MIT not be used in advertising or publicity pertaining to distribution of the -software without specific, written prior permission. +software without specific, written prior permission. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL 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/libXv-1.0.6/ChangeLog new/libXv-1.0.7/ChangeLog --- old/libXv-1.0.6/ChangeLog 2010-10-30 02:53:52.000000000 +0200 +++ new/libXv-1.0.7/ChangeLog 2012-03-08 06:27:11.000000000 +0100 @@ -1,3 +1,78 @@ +commit 0f4fa1820041394e879517abb49c0391ecc796f7 +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Wed Mar 7 21:25:38 2012 -0800 + + libXv 1.0.7 + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + +commit de5e2271b54b7fe8bb3f8b66a70b5b87853f51a2 +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Thu Nov 10 21:45:11 2011 -0800 + + Fix gcc -Wwrite-strings warnings + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + +commit ff45155aa59c22aa5abc5ffe941dfe3b0f4c288f +Author: Jeremy Huddleston <jeremyhu@apple.com> +Date: Wed Oct 5 20:59:37 2011 -0700 + + XvQueryExtension doesn't return XvBadAlloc + + https://bugs.freedesktop.org/show_bug.cgi?id=22829 + + Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> + +commit 21ce77de0fc1b92bb55699df7e93dd1aae988fc5 +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Fri Sep 16 22:56:12 2011 -0700 + + Strip trailing whitespace + + Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}' + git diff -w & git diff -b show no diffs from this change + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + +commit 7091e73f39b813adcc8fa5e61ad336ba063d7e00 +Author: Gaetan Nadon <memsize@videotron.ca> +Date: Wed Feb 2 11:43:45 2011 -0500 + + config: comment, minor upgrade, quote and layout configure.ac + + Group statements per section as per Autoconf standard layout + Quote statements where appropriate. + Autoconf recommends not using dnl instead of # for comments + + Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters. + Add AC_CONFIG_SRCDIR([Makefile.am]) + Remove redundant AC_SUBST(*_CFLAGS) and/or *_LIBS + No functional configuration changes + + This helps automated maintenance and release activities. + Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines + +commit 50a2f154f20763c9e98bdcf705fa366c87c6bae4 +Author: Gaetan Nadon <memsize@videotron.ca> +Date: Fri Jan 28 19:41:37 2011 -0500 + + config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS + + Signed-off-by: Gaetan Nadon <memsize@videotron.ca> + +commit b9b6680cbc95501af70c3597bfdd51d17aace695 +Author: Gaetan Nadon <memsize@videotron.ca> +Date: Thu Jan 27 18:50:15 2011 -0500 + + config: remove AC_PROG_CC as it overrides AC_PROG_C_C99 + + XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls + AC_PROG_C_C99. This sets gcc with -std=gnu99. + If AC_PROG_CC macro is called afterwards, it resets CC to gcc. + + Signed-off-by: Gaetan Nadon <memsize@videotron.ca> + commit e34fff44ebc4f8c258df127f6f80d0a1aa86a25d Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Oct 29 17:52:32 2010 -0700 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/libXv-1.0.6/Makefile.am new/libXv-1.0.7/Makefile.am --- old/libXv-1.0.6/Makefile.am 2010-04-10 02:47:03.000000000 +0200 +++ new/libXv-1.0.7/Makefile.am 2012-03-08 06:25:45.000000000 +0100 @@ -1,6 +1,6 @@ -# +# # Copyright 2005 Red Hat, Inc. -# +# # Permission to use, copy, modify, distribute, and sell this software and its # documentation for any purpose is hereby granted without fee, provided that # the above copyright notice appear in all copies and that both that @@ -10,7 +10,7 @@ # specific, written prior permission. Red Hat makes no # representations about the suitability of this software for any purpose. It # is provided "as is" without express or implied warranty. -# +# # RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, # INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO # EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR 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/libXv-1.0.6/configure.ac new/libXv-1.0.7/configure.ac --- old/libXv-1.0.6/configure.ac 2010-10-30 02:52:19.000000000 +0200 +++ new/libXv-1.0.7/configure.ac 2012-03-08 06:25:45.000000000 +0100 @@ -1,60 +1,58 @@ -dnl -dnl Copyright 2005 Red Hat, Inc. -dnl -dnl Permission to use, copy, modify, distribute, and sell this software and its -dnl documentation for any purpose is hereby granted without fee, provided that -dnl the above copyright notice appear in all copies and that both that -dnl copyright notice and this permission notice appear in supporting -dnl documentation, and that the name of Red Hat not be used in -dnl advertising or publicity pertaining to distribution of the software without -dnl specific, written prior permission. Red Hat makes no -dnl representations about the suitability of this software for any purpose. It -dnl is provided "as is" without express or implied warranty. -dnl -dnl RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, -dnl INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO -dnl EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR -dnl CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, -dnl DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER -dnl TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -dnl PERFORMANCE OF THIS SOFTWARE. -dnl -dnl Process this file with autoconf to create configure. +# +# Copyright 2005 Red Hat, Inc. +# +# Permission to use, copy, modify, distribute, and sell this software and its +# documentation for any purpose is hereby granted without fee, provided that +# the above copyright notice appear in all copies and that both that +# copyright notice and this permission notice appear in supporting +# documentation, and that the name of Red Hat not be used in +# advertising or publicity pertaining to distribution of the software without +# specific, written prior permission. Red Hat makes no +# representations about the suitability of this software for any purpose. It +# is provided "as is" without express or implied warranty. +# +# RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO +# EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR +# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, +# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +# PERFORMANCE OF THIS SOFTWARE. +# +# Initialize Autoconf AC_PREREQ([2.60]) - -AC_INIT([libXv], [1.0.6], +AC_INIT([libXv], [1.0.7], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libXv]) +AC_CONFIG_SRCDIR([Makefile.am]) +AC_CONFIG_HEADERS([config.h]) + +# Initialize Automake AM_INIT_AUTOMAKE([foreign dist-bzip2]) AM_MAINTAINER_MODE -AM_CONFIG_HEADER(config.h) +# Initialize libtool +AC_PROG_LIBTOOL # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS m4_ifndef([XORG_MACROS_VERSION], [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])]) XORG_MACROS_VERSION(1.8) XORG_DEFAULT_OPTIONS +XORG_CHECK_MALLOC_ZERO -# Check for progs -AC_PROG_CC -AC_PROG_LIBTOOL - -# Check for dependencies +# Obtain compiler/linker options for depedencies PKG_CHECK_MODULES(XV, x11 xext xextproto videoproto) -AC_SUBST(XV_CFLAGS) -AC_SUBST(XV_LIBS) - -XORG_CHECK_MALLOC_ZERO -dnl Allow checking code with lint, sparse, etc. +# Allow checking code with lint, sparse, etc. XORG_WITH_LINT XORG_LINT_LIBRARY([Xv]) -AC_OUTPUT([Makefile - include/Makefile - include/X11/Makefile - include/X11/extensions/Makefile - src/Makefile - man/Makefile - xv.pc]) +AC_CONFIG_FILES([Makefile + include/Makefile + include/X11/Makefile + include/X11/extensions/Makefile + src/Makefile + man/Makefile + xv.pc]) +AC_OUTPUT 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/libXv-1.0.6/include/X11/extensions/Xvlib.h new/libXv-1.0.7/include/X11/extensions/Xvlib.h --- old/libXv-1.0.6/include/X11/extensions/Xvlib.h 2010-10-07 06:16:59.000000000 +0200 +++ new/libXv-1.0.7/include/X11/extensions/Xvlib.h 2012-03-08 06:25:45.000000000 +0100 @@ -4,13 +4,13 @@ All Rights Reserved -Permission to use, copy, modify, and distribute this software and its -documentation for any purpose and without fee is hereby granted, +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that -both that copyright notice and this permission notice appear in +both that copyright notice and this permission notice appear in supporting documentation, and that the names of Digital or MIT not be used in advertising or publicity pertaining to distribution of the -software without specific, written prior permission. +software without specific, written prior permission. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL @@ -25,11 +25,11 @@ #ifndef XVLIB_H #define XVLIB_H /* -** File: +** File: ** ** Xvlib.h --- Xv library public header file ** -** Author: +** Author: ** ** David Carver (Digital Workstation Engineering/Project Athena) ** @@ -132,14 +132,14 @@ /* for RGB formats only */ int depth; - unsigned int red_mask; - unsigned int green_mask; - unsigned int blue_mask; + unsigned int red_mask; + unsigned int green_mask; + unsigned int blue_mask; /* for YUV formats only */ unsigned int y_sample_bits; unsigned int u_sample_bits; - unsigned int v_sample_bits; + unsigned int v_sample_bits; unsigned int horz_y_period; unsigned int horz_u_period; unsigned int horz_v_period; @@ -148,7 +148,7 @@ unsigned int vert_v_period; char component_order[32]; /* eg. UYVY */ int scanline_order; /* XvTopToBottom, XvBottomToTop */ -} XvImageFormatValues; +} XvImageFormatValues; typedef struct { int id; @@ -158,7 +158,7 @@ int *pitches; /* bytes */ int *offsets; /* bytes */ char *data; - XPointer obdata; + XPointer obdata; } XvImage; _XFUNCPROTOBEGIN @@ -168,7 +168,7 @@ unsigned int* /* p_version */, unsigned int* /* p_revision */, unsigned int* /* p_requestBase */, - unsigned int* /* p_eventBase */, + unsigned int* /* p_eventBase */, unsigned int* /* p_errorBase */ ); @@ -191,11 +191,11 @@ XvPortID /* port */, Drawable /* d */, GC /* gc */, - int /* vx */, + int /* vx */, int /* vy */, - unsigned int /* vw */, + unsigned int /* vw */, unsigned int /* vh */, - int /* dx */, + int /* dx */, int /* dy */, unsigned int /* dw */, unsigned int /* dh */ @@ -206,11 +206,11 @@ XvPortID /* port */, Drawable /* d */, GC /* gc */, - int /* vx */, + int /* vx */, int /* vy */, - unsigned int /* vw */, + unsigned int /* vw */, unsigned int /* vh */, - int /* dx */, + int /* dx */, int /* dy */, unsigned int /* dw */, unsigned int /* dh */ @@ -221,11 +221,11 @@ XvPortID /* port */, Drawable /* d */, GC /* gc */, - int /* vx */, + int /* vx */, int /* vy */, - unsigned int /* vw */, + unsigned int /* vw */, unsigned int /* vh */, - int /* dx */, + int /* dx */, int /* dy */, unsigned int /* dw */, unsigned int /* dh */ @@ -236,11 +236,11 @@ XvPortID /* port */, Drawable /* d */, GC /* gc */, - int /* vx */, + int /* vx */, int /* vy */, - unsigned int /* vw */, + unsigned int /* vw */, unsigned int /* vh */, - int /* dx */, + int /* dx */, int /* dy */, unsigned int /* dw */, unsigned int /* dh */ @@ -294,11 +294,11 @@ Display* /* display */, XvPortID /* port */, Bool /* motion */, - unsigned int /* vid_w */, + unsigned int /* vid_w */, unsigned int /* vid_h */, - unsigned int /* drw_w */, + unsigned int /* drw_w */, unsigned int /* drw_h */, - unsigned int* /* p_actual_width */, + unsigned int* /* p_actual_width */, unsigned int* /* p_actual_width */ ); @@ -329,8 +329,8 @@ XvPortID port, int id, char *data, - int width, - int height + int width, + int height ); extern int XvPutImage ( @@ -343,7 +343,7 @@ int src_y, unsigned int src_w, unsigned int src_h, - int dest_x, + int dest_x, int dest_y, unsigned int dest_w, unsigned int dest_h @@ -359,7 +359,7 @@ int src_y, unsigned int src_w, unsigned int src_h, - int dest_x, + int dest_x, int dest_y, unsigned int dest_w, unsigned int dest_h, @@ -371,7 +371,7 @@ XvPortID port, int id, char* data, - int width, + int width, int height, XShmSegmentInfo *shminfo ); 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/libXv-1.0.6/man/XvGetStill.man new/libXv-1.0.7/man/XvGetStill.man --- old/libXv-1.0.6/man/XvGetStill.man 2009-10-16 23:27:22.000000000 +0200 +++ new/libXv-1.0.7/man/XvGetStill.man 2012-03-08 06:25:45.000000000 +0100 @@ -52,13 +52,13 @@ ." .PN XvGetStill captures a single frame of video from a drawable. The -position and size of the destination (video) rectangle is specified by +position and size of the destination (video) rectangle is specified by .IR vx , .IR vy , .IR vw , and .IR vh . -The position and size of the source (drawable) rectangle is specified by +The position and size of the source (drawable) rectangle is specified by .IR dx , .IR dy , .IR dw , 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/libXv-1.0.6/man/XvQueryExtension.man new/libXv-1.0.7/man/XvQueryExtension.man --- old/libXv-1.0.6/man/XvQueryExtension.man 2009-10-16 23:27:22.000000000 +0200 +++ new/libXv-1.0.7/man/XvQueryExtension.man 2012-03-08 06:25:45.000000000 +0100 @@ -44,9 +44,5 @@ completed successfully. .IP [XvBadExtension] 8 Returned if the Xv video extension is not available for the named display. -.IP [XvBadAlloc] 8 -Returned if -.BR XvQueryExtension (__libmansuffix__) -failed to allocate memory to process the request. .SH SEE ALSO .BR Xv (__libmansuffix__) 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/libXv-1.0.6/man/xv-library-v2.2.txt new/libXv-1.0.7/man/xv-library-v2.2.txt --- old/libXv-1.0.6/man/xv-library-v2.2.txt 2009-10-16 23:27:22.000000000 +0200 +++ new/libXv-1.0.7/man/xv-library-v2.2.txt 2012-03-08 06:25:45.000000000 +0100 @@ -13,7 +13,7 @@ port attributes. typedef struct { - int flags; + int flags; int min_value; int max_value; char *name; @@ -47,7 +47,7 @@ Xv Adaptors which are capable of displaying XvImages will have the XvImageMask field set in the type field of the XvAdaptorInfo. - XvImage formats supported by the port may be queried with + XvImage formats supported by the port may be queried with XvListImageFormats(). XvImages may be created with the help of XvCreateImage() or @@ -73,14 +73,14 @@ /* for RGB formats */ int depth; - unsigned int red_mask; - unsigned int green_mask; - unsigned int blue_mask; + unsigned int red_mask; + unsigned int green_mask; + unsigned int blue_mask; /* for YUV formats */ unsigned int y_sample_bits; unsigned int u_sample_bits; - unsigned int v_sample_bits; + unsigned int v_sample_bits; unsigned int horz_y_period; unsigned int horz_u_period; unsigned int horz_v_period; @@ -89,7 +89,7 @@ unsigned int vert_v_period; char component_order[32]; /* eg. UYVY */ int scanline_order; /* XvTopToBottom, XvBottomToTop */ -} XvImageFormatValues; +} XvImageFormatValues; id - A unique descriptor for the format. This is often the FOURCC @@ -100,9 +100,9 @@ byte_order - The byte order of the image. It is either LSBFirst or MSBFirst. - + guid - The Globally Unique IDentifier (also known as Universally Unique - IDentifier). When not applicable, all characters are NULL. + IDentifier). When not applicable, all characters are NULL. bits_per_pixel - The bits taken up (but not necessarily used) by each pixel. Note that for some planar formats which have @@ -122,7 +122,7 @@ ?_sample_bits - The size of each sample in bits (YUV formats only). horz_?_period, vert_?_period - The period (in pixels) on which samples - occur in the horizontal and vertical + occur in the horizontal and vertical directions (YUV formats only). component_order - Upper case ascii characters representing the order @@ -134,7 +134,7 @@ Note: Since some formats (particularly some planar YUV formats) may not be completely defined by the parameters above, the guid, when - available, should provide the most accurate description of the + available, should provide the most accurate description of the format. @@ -145,9 +145,9 @@ int *count_return ); - Returns the XvImageFormatValues supported by the specified port. + Returns the XvImageFormatValues supported by the specified port. This list should be freed with XFree(). - + typedef struct { int id; @@ -156,12 +156,12 @@ int num_planes; int *pitches; int *offsets; - char *data; - XPointer obdata; + char *data; + XPointer obdata; } XvImage; id - XvImageFormatValues id. - + width, height - The width and height of the image in pixels. int data_size - The size of the data buffer in bytes. @@ -177,7 +177,7 @@ data - A pointer to the start of the data buffer. obdata - A private field for holding SHM info. This field will be - set up by the client libraries so the programmer will + set up by the client libraries so the programmer will generally need not be concerned with this field. XvImage * XvCreateImage ( @@ -185,8 +185,8 @@ XvPortID port, int id, char *data, - int width, - int height + int width, + int height ); display - Specifies the connection to the Xserver. @@ -201,10 +201,10 @@ allocate the XvImage structure and fill out all fields except for "data". Width and height may be enlarged in some YUV formats. The size of the data buffer that needs to be allocated will be -give in the "data_size" field in the XvImage. Image data is +give in the "data_size" field in the XvImage. Image data is not allocated by this function. The client may pass a pointer to the preallocated memory as "data" or may allocate the memory -and fill in the XvImage structure's data field after the +and fill in the XvImage structure's data field after the "data_size" field has been filled out by the server. The XvImage structure may be freed by XFree(); @@ -214,7 +214,7 @@ XvPortID port, int id, char* data, - int width, + int width, int height, XShmSegmentInfo *shminfo ); @@ -223,10 +223,10 @@ allocate the XvImage structure and fill out all fields except for "data". Width and height may be enlarged in some YUV formats. The size of the data buffer that needs to be allocated will be -give in the "data_size" field in the XvImage. Image data is +give in the "data_size" field in the XvImage. Image data is not allocated by this function. The client may pass a pointer to the preallocated memory as "data" or may allocate the memory -and fill in the XvImage structure's data field after the +and fill in the XvImage structure's data field after the "data_size" field has been filled out by the server. The XvImage structure may be freed by XFree(); @@ -241,7 +241,7 @@ int src_y, unsigned int src_w, unsigned int src_h, - int dest_x, + int dest_x, int dest_y, unsigned int dest_w, unsigned int dest_h, @@ -257,7 +257,7 @@ int src_y, unsigned int src_w, unsigned int src_h, - int dest_x, + int dest_x, int dest_y, unsigned int dest_w, unsigned int dest_h, @@ -269,13 +269,13 @@ id - The port id of a port on an XvImage capable adaptor. d - The target drawable. - + gc - the graphics context specifying the clip mask to use, if any. image - A pointer to the XvImage to be displayed. src_? - The portion of the XvImage to be displayed. - + dest_? - The portion of the destination drawable to be filled by the image. send_event - Indicates whether or not an XShmCompletionEvent should be @@ -293,8 +293,8 @@ BadMatch - Incompatible arguments such as a port that isn't capable of displaying XvImages. XvBadPort - The specified port does not exist. - BadAlloc - The server was unable to allocate resources required + BadAlloc - The server was unable to allocate resources required to complete the operation. - BadValue - Some numeric value falls outside the range of the + BadValue - Some numeric value falls outside the range of the values accepted by the request. BadShmSegCode - An invalid shared memory segment. 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/libXv-1.0.6/src/Xv.c new/libXv-1.0.7/src/Xv.c --- old/libXv-1.0.6/src/Xv.c 2010-10-07 06:16:59.000000000 +0200 +++ new/libXv-1.0.7/src/Xv.c 2012-03-08 06:25:45.000000000 +0100 @@ -4,13 +4,13 @@ All Rights Reserved -Permission to use, copy, modify, and distribute this software and its -documentation for any purpose and without fee is hereby granted, +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that -both that copyright notice and this permission notice appear in +both that copyright notice and this permission notice appear in supporting documentation, and that the names of Digital or MIT not be used in advertising or publicity pertaining to distribution of the -software without specific, written prior permission. +software without specific, written prior permission. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL @@ -22,11 +22,11 @@ ******************************************************************/ /* -** File: +** File: ** ** Xv.c --- Xv library extension module. ** -** Author: +** Author: ** ** David Carver (Digital Workstation Engineering/Project Athena) ** @@ -57,7 +57,7 @@ static XExtensionInfo _xv_info_data; static XExtensionInfo *xv_info = &_xv_info_data; -static char *xv_extension_name = XvName; +static const char *xv_extension_name = XvName; #define XvCheckExtension(dpy, i, val) \ XextCheckExtension(dpy, i, xv_extension_name, val) @@ -82,7 +82,7 @@ }; -static char *xv_error_list[] = +static const char *xv_error_list[] = { "BadPort", /* XvBadPort */ "BadEncoding", /* XvBadEncoding */ @@ -92,11 +92,11 @@ static XEXT_GENERATE_CLOSE_DISPLAY (xv_close_display, xv_info) -static XEXT_GENERATE_FIND_DISPLAY (xv_find_display, xv_info, - xv_extension_name, +static XEXT_GENERATE_FIND_DISPLAY (xv_find_display, xv_info, + xv_extension_name, &xv_extension_hooks, XvNumEvents, NULL) - + static XEXT_GENERATE_ERROR_STRING (xv_error_string, xv_extension_name, XvNumErrors, xv_error_list) @@ -154,14 +154,14 @@ XvAdaptorInfo *pas, *pa; XvFormat *pfs, *pf; char *buffer; - union + union { char *buffer; char *string; xvAdaptorInfo *pa; xvFormat *pf; } u; - + XvCheckExtension(dpy, info, XvBadExtension); LockDisplay(dpy); @@ -254,7 +254,7 @@ pf->depth = u.pf->depth; pf->visual_id = u.pf->visual; pf++; - + u.buffer += (sz_xvFormat + 3) & ~3; } @@ -296,7 +296,7 @@ { Xfree(pa->formats); } - } + } Xfree(pAdaptors); } @@ -315,13 +315,13 @@ char *name; XvEncodingInfo *pes, *pe; char *buffer; - union + union { char *buffer; char *string; xvEncodingInfo *pe; } u; - + XvCheckExtension(dpy, info, XvBadExtension); LockDisplay(dpy); @@ -427,7 +427,7 @@ XvPortID port, Drawable d, GC gc, - int vx, int vy, + int vx, int vy, unsigned int vw, unsigned int vh, int dx, int dy, unsigned int dw, unsigned int dh @@ -438,7 +438,7 @@ XvCheckExtension(dpy, info, XvBadExtension); LockDisplay(dpy); - + FlushGC(dpy, gc); XvGetReq(PutVideo, req); @@ -467,7 +467,7 @@ XvPortID port, Drawable d, GC gc, - int vx, int vy, + int vx, int vy, unsigned int vw, unsigned int vh, int dx, int dy, unsigned int dw, unsigned int dh @@ -506,7 +506,7 @@ XvPortID port, Drawable d, GC gc, - int vx, int vy, + int vx, int vy, unsigned int vw, unsigned int vh, int dx, int dy, unsigned int dw, unsigned int dh @@ -545,7 +545,7 @@ XvPortID port, Drawable d, GC gc, - int vx, int vy, + int vx, int vy, unsigned int vw, unsigned int vh, int dx, int dy, unsigned int dw, unsigned int dh @@ -620,7 +620,7 @@ req->port = port; req->time = time; - if (_XReply (dpy, (xReply *) &rep, 0, xTrue) == 0) + if (_XReply (dpy, (xReply *) &rep, 0, xTrue) == 0) rep.result = GrabSuccess; result = rep.result; @@ -755,7 +755,7 @@ } *p_value = rep.value; - + UnlockDisplay(dpy); SyncHandle(); @@ -767,11 +767,11 @@ Display *dpy, XvPortID port, Bool motion, - unsigned int vid_w, + unsigned int vid_w, unsigned int vid_h, - unsigned int drw_w, + unsigned int drw_w, unsigned int drw_h, - unsigned int *p_actual_width, + unsigned int *p_actual_width, unsigned int *p_actual_height ) { @@ -809,7 +809,7 @@ } -XvAttribute* +XvAttribute* XvQueryPortAttributes(Display *dpy, XvPortID port, int *num) { XExtDisplayInfo *info = xv_find_display(dpy); @@ -841,12 +841,12 @@ char* marker = (char*)(&ret[rep.num_attributes]); xvAttributeInfo Info; int i; - + for(i = 0; i < rep.num_attributes; i++) { _XRead(dpy, (char*)(&Info), sz_xvAttributeInfo); - ret[i].flags = (int)Info.flags; - ret[i].min_value = Info.min; - ret[i].max_value = Info.max; + ret[i].flags = (int)Info.flags; + ret[i].min_value = Info.min; + ret[i].max_value = Info.max; ret[i].name = marker; _XRead(dpy, marker, Info.size); marker += Info.size; @@ -895,22 +895,22 @@ if((ret = Xmalloc(size))) { xvImageFormatInfo Info; int i; - + for(i = 0; i < rep.num_formats; i++) { _XRead(dpy, (char*)(&Info), sz_xvImageFormatInfo); - ret[i].id = Info.id; - ret[i].type = Info.type; - ret[i].byte_order = Info.byte_order; + ret[i].id = Info.id; + ret[i].type = Info.type; + ret[i].byte_order = Info.byte_order; memcpy(&(ret[i].guid[0]), &(Info.guid[0]), 16); - ret[i].bits_per_pixel = Info.bpp; - ret[i].format = Info.format; - ret[i].num_planes = Info.num_planes; - ret[i].depth = Info.depth; - ret[i].red_mask = Info.red_mask; - ret[i].green_mask = Info.green_mask; - ret[i].blue_mask = Info.blue_mask; - ret[i].y_sample_bits = Info.y_sample_bits; - ret[i].u_sample_bits = Info.u_sample_bits; + ret[i].bits_per_pixel = Info.bpp; + ret[i].format = Info.format; + ret[i].num_planes = Info.num_planes; + ret[i].depth = Info.depth; + ret[i].red_mask = Info.red_mask; + ret[i].green_mask = Info.green_mask; + ret[i].blue_mask = Info.blue_mask; + ret[i].y_sample_bits = Info.y_sample_bits; + ret[i].u_sample_bits = Info.u_sample_bits; ret[i].v_sample_bits = Info.v_sample_bits; ret[i].horz_y_period = Info.horz_y_period; ret[i].horz_u_period = Info.horz_u_period; @@ -937,8 +937,8 @@ XvPortID port, int id, char *data, - int width, - int height + int width, + int height ) { XExtDisplayInfo *info = xv_find_display(dpy); xvQueryImageAttributesReq *req; @@ -989,7 +989,7 @@ XvPortID port, int id, char *data, - int width, + int width, int height, XShmSegmentInfo *shminfo ){ @@ -1012,7 +1012,7 @@ int src_y, unsigned int src_w, unsigned int src_h, - int dest_x, + int dest_x, int dest_y, unsigned int dest_w, unsigned int dest_h @@ -1049,7 +1049,7 @@ /* Yes it's kindof lame that we are sending the whole thing, but for video all of it may be needed even if displaying - only a subsection, and I don't want to go through the + only a subsection, and I don't want to go through the trouble of creating subregions to send */ Data(dpy, (char *)image->data, image->data_size); @@ -1069,7 +1069,7 @@ int src_y, unsigned int src_w, unsigned int src_h, - int dest_x, + int dest_x, int dest_y, unsigned int dest_w, unsigned int dest_h, @@ -1082,7 +1082,7 @@ XvCheckExtension(dpy, info, XvBadExtension); LockDisplay(dpy); - + FlushGC(dpy, gc); XvGetReq(ShmPutImage, req); @@ -1125,7 +1125,7 @@ { case XvVideoNotify: re->xvvideo.type = event->u.u.type & 0x7f; - re->xvvideo.serial = + re->xvvideo.serial = _XSetLastRequestRead(dpy, (xGenericReply *)event); re->xvvideo.send_event = ((event->u.u.type & 0x80) != 0); re->xvvideo.display = dpy; @@ -1136,7 +1136,7 @@ break; case XvPortNotify: re->xvport.type = event->u.u.type & 0x7f; - re->xvport.serial = + re->xvport.serial = _XSetLastRequestRead(dpy, (xGenericReply *)event); re->xvport.send_event = ((event->u.u.type & 0x80) != 0); re->xvport.display = dpy; @@ -1146,7 +1146,7 @@ re->xvport.value = event->u.portNotify.value; break; default: - return False; + return False; } return (True); 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/libXv-1.0.6/src/Xvlibint.h new/libXv-1.0.7/src/Xvlibint.h --- old/libXv-1.0.6/src/Xvlibint.h 2010-10-07 06:16:59.000000000 +0200 +++ new/libXv-1.0.7/src/Xvlibint.h 2012-03-08 06:25:45.000000000 +0100 @@ -4,13 +4,13 @@ All Rights Reserved -Permission to use, copy, modify, and distribute this software and its -documentation for any purpose and without fee is hereby granted, +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that -both that copyright notice and this permission notice appear in +both that copyright notice and this permission notice appear in supporting documentation, and that the names of Digital or MIT not be used in advertising or publicity pertaining to distribution of the -software without specific, written prior permission. +software without specific, written prior permission. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL @@ -25,11 +25,11 @@ #ifndef XVLIBINT_H #define XVLIBINT_H /* -** File: +** File: ** ** Xvlibint.h --- Xv library internal header file ** -** Author: +** Author: ** ** David Carver (Digital Workstation Engineering/Project Athena) ** -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org