Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 239184 - Review Request: libdc1394 - High level API for IEEE 1394 based cameras
Summary: Review Request: libdc1394 - High level API for IEEE 1394 based cameras
Keywords:
Status: CLOSED DUPLICATE of bug 239043
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Dominik 'Rathann' Mierzejewski
QA Contact: Fedora Package Reviews List
URL:
Whiteboard:
Depends On:
Blocks: FE-Legal 239490
TreeView+ depends on / blocked
 
Reported: 2007-05-05 19:19 UTC by Nicolas Chauvet (kwizart)
Modified: 2017-03-20 11:48 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-02-02 10:17:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
specfile fixes (3.44 KB, patch)
2007-05-08 18:21 UTC, Dominik 'Rathann' Mierzejewski
no flags Details | Diff

Description Nicolas Chauvet (kwizart) 2007-05-05 19:19:54 UTC
Spec URL: 
http://kwizart.free.fr/fedora/rpmfusion/libdc1394.spec
SRPM URL:
http://kwizart.free.fr/fedora/rpmfusion/libdc1394-1.2.1-1.kwizart.fc6.src.rpm
Description: High level API for IEEE 1394 based cameras

rpmlint is silent enought on binaries and sources...

As this spec files was taken from atrpms version.
I will request Axel some advices about replacement policy for this package
and his packaging scheme...

For example, what is the aim for : %lib_package dc1394_control 13 ?
Whereas libs are :
[root@Kwizatz lib64]# ls -al
total 84
drwxr-xr-x 2 builder builder  4096 mai  5 21:02 .
drwxr-xr-x 8 builder builder  4096 mai  5 21:02 ..
lrwxrwxrwx 1 builder builder    27 mai  5 21:02 libdc1394_control.so -> libdc1394_control.so.12.1.1
lrwxrwxrwx 1 builder builder    27 mai  5 21:02 libdc1394_control.so.12 -> libdc1394_control.so.12.1.1
-rwxr-xr-x 1 builder builder 73168 mai  5 21:02 libdc1394_control.so.12.1.1

I was working on libdc1394(-1) before seen -2 from Matthias 
i would like to work with him in case we choose to provides a -2 version...

See: https://bugzilla.redhat.com/239043

Comment 1 Nicolas Chauvet (kwizart) 2007-05-07 09:39:44 UTC
Spec URL: 
http://kwizart.free.fr/fedora/rpmfusion/libdc1394.spec
SRPM URL:
http://kwizart.free.fr/fedora/rpmfusion/libdc1394-1.2.1-2.kwizart.fc6.src.rpm
Description: High level API for IEEE 1394 based cameras

Iv'e made something quite stupid with the examples package. I hope this is less...
Now it provides real examples binaries...





Comment 2 Axel Thimm 2007-05-07 10:22:29 UTC
You should make sure there are no patent issues (IIRC there are). Check the
mpeg-la patent portfolio and the upstream mailing lists.

Comment 3 Matthias Saou 2007-05-07 11:11:36 UTC
Patents? Argh. FE-LEGAL?
I just wanted this package to go into Fedora in order to be able to build VLC
with direct DV camera streaming capabilities enabled. I don't really care if
it's version 1.x or 2.x as long as it works, nor who maintains the package.
Also, I proposed version 2.x since the home page states that it's the
recommended version... which apparently isn't really the case, for binary
packages at least.

Comment 4 Dominik 'Rathann' Mierzejewski 2007-05-07 14:23:05 UTC
Both could go in, as long as they don't conflict. I'll take care of this one, too.

Comment 5 Matthias Saou 2007-05-07 14:45:20 UTC
Well, currently they do conflict, and the first thing to do would be to check
what Axel mentioned about possible patent issues...

Comment 6 Nicolas Chauvet (kwizart) 2007-05-07 15:09:08 UTC
Well i've tryed to check what Axel said about mpeg-la patent.
I was searching into upstream ml but i didn't manage to do ... 
(webserver propose me to download the php search result file... i'll give a try
later...)

Comment 7 Nicolas Chauvet (kwizart) 2007-05-07 23:31:48 UTC
There is a need to check the current status of a patent possibly inside libdc1394

Quote of Axel ...But I
just checked the svn and the patents are even named in the source by
their U.S. patent numbers, so it looks rather patent-encumbered to my
non-lawyer eyes (unless the patents are ancient and expired - I didn't
go as far as to check that, OTOH MPEG-LA claims to have a portfolio of
active patents on 1394).
---/Quote

Comment 8 Axel Thimm 2007-05-07 23:43:12 UTC
(In reply to comment #7)
> Quote of Axel ...But I
> just checked the svn and the patents are even named in the source by
> their U.S. patent numbers, [...]

Don't consider Axel authoritative in any way, he's not a lawyer or any close
substitute. Just check out the code and make up your own mind, soureforge has a
code searching facility, entering patent in there you get:

http://sourceforge.krugle.com/kse/files?query=patent&project=%221394-based%20DC%20Control%20Library%22

Comment 9 Dominik 'Rathann' Mierzejewski 2007-05-08 18:12:54 UTC
Doesn't build in mock x86_64/devel:
make[2]: Entering directory `/builddir/build/BUILD/libdc1394-1.2.1/examples'
...
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4
-m64 -mtune=generic -Wall -Wunused -MT affine.o -MD -MP -MF ".deps/affine.Tpo"
-c -o affine.o affine.c; \
        then mv -f ".deps/affine.Tpo" ".deps/affine.Po"; else rm -f
".deps/affine.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CC --mode=link gcc  -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4
-m64 -mtune=generic -Wall -Wunused   -o dc1394_vloopback  dc1394_vloopback.o
affine.o -lm ../libdc1394/libdc1394_control.la -lraw1394 -lraw1394
mkdir .libs
DIE_RPATH_DIE="/usr/lib64:$DIE_RPATH_DIE" gcc -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4
-m64 -mtune=generic -Wall -Wunused -o .libs/dc1394_vloopback dc1394_vloopback.o
affine.o  -lm ../libdc1394/.libs/libdc1394_control.so -lraw1394
../libdc1394/.libs/libdc1394_control.so: undefined reference to
`raw1394_set_iso_handler'
../libdc1394/.libs/libdc1394_control.so: undefined reference to
`raw1394_stop_iso_rcv'
../libdc1394/.libs/libdc1394_control.so: undefined reference to
`raw1394_start_iso_rcv'
collect2: ld returned 1 exit status


Comment 10 Dominik 'Rathann' Mierzejewski 2007-05-08 18:20:06 UTC
Some comments about the specfile:

1. I don't like the name libdc1394-libs, seems redundant -> move libs back to
main  package and binaries to -tools
2. There are some Provides/Obsoletes -> what for?

Attached patch addresses the above issues.

Comment 11 Dominik 'Rathann' Mierzejewski 2007-05-08 18:21:29 UTC
Created attachment 154349 [details]
specfile fixes

Comment 12 Dominik 'Rathann' Mierzejewski 2007-05-08 18:49:04 UTC
After a cursory look at the code I haven't found anything complicated enough to
be patentable. The same cannot be said about 2.x version, which seem to
explicitly name at least one US patent. Nevertheless, I think 1.x is safe.

Comment 13 Jarod Wilson 2007-05-08 20:48:31 UTC
For F7, we've got a whole new firewire stack, and libraw1394 has been patched
accordingly. Pretty sure libdc1394 is going to need similar love, or it has no
hope of working in F7.

Comment 14 Nicolas Chauvet (kwizart) 2007-05-08 20:55:47 UTC
Thx for your quick reply! Here is the current spec file

Spec URL: 
http://kwizart.free.fr/fedora/rpmfusion/libdc1394.spec
SRPM URL:
http://kwizart.free.fr/fedora/rpmfusion/libdc1394-1.2.1-4.kwizart.fc6.src.rpm
Description: High level API for IEEE 1394 based cameras

I've check the svn repository and version 1 changes are 6 months old whereas
release tarball are more than one year old. I may do a snapshoot if needed...






Comment 15 Dominik 'Rathann' Mierzejewski 2007-05-08 21:46:30 UTC
I would prefer a patch applied over the tarball instead. Snapshots tend to be
difficult to reproduce.

Comment 16 Jarod Wilson 2007-05-08 21:49:48 UTC
...and its unlikely the svn repo has stuff to support the new firewire
interfaces if there's been no change in 6 mo. I believe the stack is newer than
that, and the patches to libraw1394 were done by krh, who also wrote the new
kernel stack. Dunno if he's pushed them upstream or not...

Comment 17 Nicolas Chauvet (kwizart) 2007-05-08 22:51:23 UTC
There is nothing more than we already have with libdc1394-1.1.0-clktck.patch.
The other patch hasn't been merged upstream so i may remove it (it bring nothing
new about what we want to care about, for sure...)

cc krh since he may be the preferred person to have info about this...
Until then, we may test it on FC-6... do this kernel change about 1394 are
planned to be backported from F7 to FC-6?

Comment 18 Jarod Wilson 2007-05-09 01:43:00 UTC
> do this kernel change about 1394 are
> planned to be backported from F7 to FC-6?

Nope.

Comment 19 Kristian Høgsberg 2007-05-10 15:41:02 UTC
Adding Jay to the Cc list.  Upstream libdc1394 2.0 (soon to be released)
supports the new firewire stack in rawhide.  We should package the 2.0 version
instead.  But I'm guessing that there's an interest in having this working with
libdc1394 1.x, but that should be possible too, we just have to backport the
support from the 2.0 version.

Comment 20 Nicolas Chauvet (kwizart) 2007-05-10 16:00:22 UTC
Hi Kristian!
As i known some projects that use libdc1394-1 aren't currently aware about -2
API. So indeed that would be fine to have a -1 release unless upstream can
support -2 API... 

Asking to do so about videolan... Others projets may also be concerned...

Comment 21 Dominik 'Rathann' Mierzejewski 2007-05-10 21:34:16 UTC
(In reply to comment #19)
> Adding Jay to the Cc list.  Upstream libdc1394 2.0 (soon to be released)
> supports the new firewire stack in rawhide.  We should package the 2.0 version
> instead.

That might be a problem. A cursory look at the code reveals a patented
algorithm, see bug 239043. I've blocked FE-Legal on that.

> But I'm guessing that there's an interest in having this working with
> libdc1394 1.x, but that should be possible too, we just have to backport the
> support from the 2.0 version.

That would be best, yes.


Comment 22 Stefan Richter 2007-05-22 23:49:21 UTC
Perhaps add to the description in the package spec that IIDC (Instrumentation &
Industrial Digital Camera) is for, well, industrial cameras and some webcams,
not for DV cameras (camcorders).

Comment 23 Nicolas Chauvet (kwizart) 2007-06-05 20:35:35 UTC
Kristian! you are the prefered person that can backport the juju code from
libdc1394 2.0 to 1.0!

Additionnaly where can i have a start page about theses changes ?
I was using eth1394.ko! how can i do as a replacement with Fedora 7... 
I will try to document this then...

Comment 24 Nicolas Chauvet (kwizart) 2007-08-12 23:41:07 UTC
libdc1394 1.2.2 has been updated but no juju support for Fedora 7 for now!
same error Rathann reported in #9

Kristian, how can we backport juju for libdc1394-1 ?

Spec URL: 
http://kwizart.free.fr/fedora/rpmfusion/libdc1394.spec
SRPM URL:
http://kwizart.free.fr/fedora/rpmfusion/libdc1394-1.2.2-1.kwizart.fc6.src.rpm
Description: High level API for IEEE 1394 based cameras

Comment 25 Dominik 'Rathann' Mierzejewski 2007-10-31 13:49:51 UTC
Is there any point of having this in F-7 or newer? It doesn't seem useful if
there's no juju support. FC-6 is going away soon.

Comment 26 Tim Niemueller 2007-10-31 13:58:01 UTC
Is there work going on to add juju support? Since we rely on this library for
almost all of our cameras on our robots it would be really unfortunate if that
went away, as this would mean that we have to stick to FC6 for quite a while :-/

Comment 27 Nicolas Chauvet (kwizart) 2007-10-31 14:11:22 UTC
No support added yet... it would work for FC-6 but F-7 and later will need
libdc1394-2... For now upstream projects that use it are not ready to use -2 but
if we can, maybe some patching could be done (i'm not enought aware to do this...)

If we want to live in a compat-world with ieee1394, i've made an external kmod
(1) with the old ieee1394, but this will requires "also" compat userland and it
seems from http://wiki.linux1394.org/JujuMigration that compat libraw1394 isn't
ready (need to be rebuilt at least the old libraw1394 )

(1) it is missing some blacklist script and eth1394 have to be removed as it do
not work... But see here http://kwizart.free.fr/fedora/7/testing/ieee1394/


Comment 28 Tim Niemueller 2007-10-31 14:46:56 UTC
Sorry, I missed that this is libdc1394-1. We are using version 2. Works like a
charm. Is that compatible with juju already?

So with this made clear I have no problem with removing this version. Maybe
someone else still needs this though?

Comment 29 Nicolas Chauvet (kwizart) 2007-10-31 14:52:12 UTC
libdc1394-2 is here: https://bugzilla.redhat.com/239043
(juju compatible)...

But indeed some apps still need it but it cannot be used with juju for now...

Comment 30 Martin 2007-11-09 11:55:28 UTC
(In reply to comment #27)
> No support added yet... it would work for FC-6 but F-7 and later will need
> libdc1394-2... For now upstream projects that use it are not ready to use -2 but
> if we can, maybe some patching could be done (i'm not enought aware to do this...)
> 
> If we want to live in a compat-world with ieee1394, i've made an external kmod
> (1) with the old ieee1394, but this will requires "also" compat userland and it
> seems from http://wiki.linux1394.org/JujuMigration that compat libraw1394 isn't
> ready (need to be rebuilt at least the old libraw1394 )
> 
> (1) it is missing some blacklist script and eth1394 have to be removed as it do
> not work... But see here http://kwizart.free.fr/fedora/7/testing/ieee1394/
> 

when i rebuild the src packages ieee1394-kmod-2.6.22.10-1.fc7.src.rpm from
kwizart.free.fr the following warning appears:
WARNING: "hpsb_config_rom_ip1394_remove"
[/usr/src/redhat/BUILD/ieee1394-kmod-2.6.22.10/_kmod_build_/eth1394.ko] undefined!
WARNING: "hpsb_config_rom_ip1394_add"
[/usr/src/redhat/BUILD/ieee1394-kmod-2.6.22.10/_kmod_build_/eth1394.ko] undefined!
What means this ?

Comment 31 Nicolas Chauvet (kwizart) 2007-11-09 12:03:12 UTC
eth1394 is a kernel module to use firewire as an ipv4 network interface...
I cannot make it work with this method, so it would be safe to remove it...

Comment 32 Stefan Richter 2007-11-09 12:22:14 UTC
> WARNING: "hpsb_config_rom_ip1394_remove"
> [/usr/src/redhat/BUILD/ieee1394-kmod-2.6.22.10/_kmod_build_/eth1394.ko]
> undefined!
> WARNING: "hpsb_config_rom_ip1394_add"
> [/usr/src/redhat/BUILD/ieee1394-kmod-2.6.22.10/_kmod_build_/eth1394.ko]
> undefined!
> What means this ?

It means that you try to build an out-of-tree derivative of the ieee1394 kernel
drivers which is broken.  These things happen --- the mainline sources are meant
to be built from within a complete kernel source tree.  You could ask the author
of that package to fix his bug.

Comment 33 Dominik 'Rathann' Mierzejewski 2008-01-27 18:22:17 UTC
(In reply to comment #25)
> Is there any point of having this in F-7 or newer? It doesn't seem useful if
> there's no juju support. FC-6 is going away soon.

Well? FC-6 is gone.

Comment 34 Peter Lemenkov 2017-03-20 11:48:42 UTC

*** This bug has been marked as a duplicate of bug 239043 ***


Note You need to log in before you can comment on or make changes to this bug.