rpms/libraw1394/F-9 libraw1394-remove-removed-functions-from-header.patch, NONE, 1.1 libraw1394.spec, 1.44, 1.45

Jarod Wilson jwilson at fedoraproject.org
Fri Dec 5 21:30:23 UTC 2008


Author: jwilson

Update of /cvs/pkgs/rpms/libraw1394/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2134

Modified Files:
	libraw1394.spec 
Added Files:
	libraw1394-remove-removed-functions-from-header.patch 
Log Message:
* Fri Dec 05 2008 Jarod Wilson <jarod at redhat.com> - 1.3.0-10
- Remove old non-functional iso functions from header (#244129)


libraw1394-remove-removed-functions-from-header.patch:

--- NEW FILE libraw1394-remove-removed-functions-from-header.patch ---
X-Git-Url: http://dennedy.org/cgi-bin/gitweb.cgi?p=dennedy.org%2Flibraw1394.git;a=blobdiff_plain;f=src%2Fraw1394.h;fp=src%2Fraw1394.h;h=d59b1b2210f3c45ab860d017585f9d7134453913;hp=89e601f33a644ffaa47486557d109227fae25258;hb=0ea462ae9895ca903c8d3134910c06e1869560c4;hpb=919e3999366a8a69f0ad706247004b1568d86841

diff --git a/src/raw1394.h b/src/raw1394.h
index 89e601f..d59b1b2 100644
--- a/src/raw1394.h
+++ b/src/raw1394.h
@@ -3,6 +3,7 @@
  *
  * Copyright (C) 1999-2004 Andreas Bombe, Dan Maas, Manfred Weihs, and
  *    Christian Toegel
+ * Copyright (C) 2008 Dan Dennedy <dan at dennedy.org>
  *
  * This library is licensed under the GNU Lesser General Public License (LGPL),
  * version 2.1 or later. See the file COPYING.LIB in the distribution for
@@ -1215,101 +1216,6 @@ raw1394_channel_modify (raw1394handle_t handle, unsigned int channel,
 	enum raw1394_modify_mode mode);
 
 
-/**
- * iso_handler_t - DEPRECATED
- * @handle: libraw1394 handle
- *
- * DEPRECATED
- **/
-typedef int (*iso_handler_t)(raw1394handle_t, int channel, size_t length,
-                             quadlet_t *data);
- 
-/**
- * raw1394_set_iso_handler - set isochronous packet handler (DEPRECATED)
- * @handle: libraw1394 handle
- * @new_h: pointer to new handler
- *
- * DEPRECATED
- *
- * Sets the handler to be called when an isochronous packet is received to
- * @new_h and returns the old handler.  The default handler does nothing.
- *
- * In order to actually get iso packet events, receiving on a specific channel
- * first has to be enabled with raw1394_start_iso_rcv() and can be stopped again
- * with raw1394_stop_iso_rcv().
- **/
-iso_handler_t raw1394_set_iso_handler(raw1394handle_t handle,
-                                      unsigned int channel,
-                                      iso_handler_t new_h)
-__attribute__ ((deprecated));
-
-/**
- * raw1394_start_iso_rcv - enable isochronous receiving (DEPRECATED)
- * @handle: libraw1394 handle
- * @channel: channel number to start receiving on
- *
- * DEPRECATED
- *
- * Enables the reception of isochronous packets in @channel on @handle.
- * Isochronous packets are then passed to the callback specified with
- * raw1394_set_iso_handler().
- **/
-int raw1394_start_iso_rcv(raw1394handle_t handle, unsigned int channel)
-__attribute__ ((deprecated));
-
-/**
- * raw1394_stop_iso_rcv - stop isochronous receiving (DEPRECATED)
- * @handle: libraw1394 handle
- * @channel: channel to stop receiving on
- *
- * DEPRECATED
- *
- * Stops the reception of isochronous packets in @channel on @handle.
- **/
-int raw1394_stop_iso_rcv(raw1394handle_t handle, unsigned int channel)
-__attribute__ ((deprecated));
-
-/**
- * raw1394_start_iso_write - initiate an isochronous packet write (DEPRECATED)
- * @handle: libraw1394 handle
- * @channel: channel number on which to send on
- * @tag: data to be put into packet's tag field
- * @sy: data to be put into packet's sy field
- * @speed: speed at which to send
- * @length: amount of data to send
- * @data: pointer to data to send
- * @rawtag: data to identify the request to completion handler
- *
- * DEPRECATED
- *
- * This function starts the specified isochronous packet transmission and
- * returns %0 for success and a negative number for an error, in which case
- * errno will be set.
- *
- * When the send completes, a raw1394_loop_iterate() will call the tag handler
- * and pass it the tag and error code of the transaction.  @tag should therefore
- * be set to something that uniquely identifies this transaction (e.g. a struct
- * pointer casted to unsigned long).
- *
- * Isochronous packets are automatically
- **/
-int raw1394_start_iso_write(raw1394handle_t handle, unsigned int channel,
-                            unsigned int tag, unsigned int sy,
-                            unsigned int speed, size_t length, quadlet_t *data,
-                            unsigned long rawtag)
-__attribute__ ((deprecated));
-
-/**
- * raw1394_iso_write - DEPRECATED
- * @handle: libraw1394 handle
- *
- * DEPRECATED
- **/
-int raw1394_iso_write(raw1394handle_t handle, unsigned int channel,
-                      unsigned int tag, unsigned int sy, unsigned int speed,
-                      size_t length, quadlet_t *data)
-__attribute__ ((deprecated));
-
 #ifdef __cplusplus
 }
 #endif


Index: libraw1394.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libraw1394/F-9/libraw1394.spec,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- libraw1394.spec	5 Dec 2008 19:36:54 -0000	1.44
+++ libraw1394.spec	5 Dec 2008 21:29:52 -0000	1.45
@@ -1,7 +1,7 @@
 Summary:        Library providing low-level IEEE-1394 access
 Name:           libraw1394
 Version:        1.3.0
-Release:        9%{?dist}
+Release:        10%{?dist}
 License:        LGPLv2+
 Group:          System Environment/Libraries
 Source:         http://www.linux1394.org/dl/libraw1394-%{version}.tar.gz
@@ -17,6 +17,7 @@
 Patch4:         libraw1394-memset-and-patch-up-leaks.patch
 Patch5:         libraw1394-fix-segfault-in-handle_arm_request.patch
 Patch6:         libraw1394-fix-channel_modify.patch
+Patch7:         libraw1394-remove-removed-functions-from-header.patch
 
 %description
 The libraw1394 library provides direct access to the IEEE-1394 bus through
@@ -40,6 +41,7 @@
 %patch4 -p1 -b .memset
 %patch5 -p1 -b .segv
 %patch6 -p1
+%patch7 -p1
 
 %build
 aclocal
@@ -82,6 +84,9 @@
 
 
 %changelog
+* Fri Dec 05 2008 Jarod Wilson <jarod at redhat.com> - 1.3.0-10
+- Remove old non-functional iso functions from header (#244129)
+
 * Fri Dec 05 2008 Jarod Wilson <jarod at redhat.com> - 1.3.0-9
 - Fix channel modify code, should make iso reception work reliably now
 




More information about the fedora-extras-commits mailing list