Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159125 - media-video/gspca-01.00.11 version bump
Summary: media-video/gspca-01.00.11 version bump
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mike Doty (RETIRED)
URL: http://mxhaard.free.fr/download.html
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-26 05:20 UTC by Alexander Skwar
Modified: 2007-01-20 10:46 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gspca-01.00.11.ebuild - not fully functional (gspca-01.00.11.ebuild,1.03 KB, text/plain)
2006-12-26 06:01 UTC, Alexander Skwar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Skwar 2006-12-26 05:20:45 UTC
In tree, there's: media-video/gspca-01.00.10. On upstream URL http://mxhaard.free.fr/download.html there's 01.00.11 at http://mxhaard.free.fr/spca50x/Download/gspcav1-20061216.tar.gz

BTW: It's not possible to build 01.00.10. I'll file a new bug for this.
Comment 1 Alexander Skwar 2006-12-26 06:01:35 UTC
Created attachment 104745 [details]
gspca-01.00.11.ebuild - not fully functional

Shouldn't the version numbering be changed? The source download for 01.00.11 is http://mxhaard.free.fr/spca50x/Download/gspcav1-20061216.tar.gz, so wouldn't it make more sense to call this version 20061216 instead of 01.00.11?

Also, as the package is called gspcav1 by upstream, wouldn't it make more sense to call the Gentoo package gspcav1 as well?

Attached is a beginning of the ebuild for gspca-01.00.11. It doesn't work, though. If the package were named gspcav1, it would work just fine ;)

alexander@blatt /Gentoo/Portage/local-tree/misc/media-video/gspca $ LC_ALL=C sudo emerge =gspca-01.00.11
Calculating dependencies... done!

>>> Emerging (1 of 1) media-video/gspca-01.00.11 to /
 * gspcav1-20061216.tar.gz MD5 ;-) ...                                                        [ ok ]
 * gspcav1-20061216.tar.gz RMD160 ;-) ...                                                     [ ok ]
 * gspcav1-20061216.tar.gz SHA1 ;-) ...                                                       [ ok ]
 * gspcav1-20061216.tar.gz SHA256 ;-) ...                                                     [ ok ]
 * gspcav1-20061216.tar.gz size ;-) ...                                                       [ ok ]
 * checking ebuild checksums ;-) ...                                                          [ ok ]
 * checking auxfile checksums ;-) ...                                                         [ ok ]
 * checking miscfile checksums ;-) ...                                                        [ ok ]
 * checking gspcav1-20061216.tar.gz ;-) ...                                                   [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.19-suspend2-r1.045
 * Checking for suitable kernel configuration options...                                      [ ok ]
>>> Unpacking source...
>>> Unpacking gspcav1-20061216.tar.gz to /Gentoo/Portage/build/portage/media-video/gspca-01.00.11/work
 * Converting gspcav1-20061216/Makefile to use M= instead of SUBDIRS= ...                     [ ok ]
>>> Source unpacked.
>>> Compiling source in /Gentoo/Portage/build/portage/media-video/gspca-01.00.11 ...
/Gentoo/Portage/tree/eclass/linux-mod.eclass: line 500: cd: /Gentoo/Portage/build/portage/media-video/gspca-01.00.11/work/gspcav1-01.00.11: No such file or directory
 * Preparing gspca module
make: *** No rule to make target `default'.  Stop.

!!! ERROR: media-video/gspca-01.00.11 failed.
Call stack:
  ebuild.sh, line 1580:   Called dyn_compile
  ebuild.sh, line 945:   Called src_compile
  ebuild.sh, line 1269:   Called linux-mod_src_compile
  linux-mod.eclass, line 510:   Called die

!!! Unable to make  KERNELDIR=/usr/src/linux default.
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! This ebuild is from an overlay: '/Gentoo/Portage/local-tree/misc'
Comment 2 Alexander Skwar 2006-12-26 06:02:13 UTC
Changing severity, as 01.00.10 doesn't work.
Comment 3 Glauber 2006-12-28 05:19:37 UTC
I guess it should be used the (now) masked media-video/gspcav1 until gspca v4l2 is not finished. The ebuild works fine just changing the date in the file as gspcav1-20061216.ebuild

The problem with media-video/gspca, IMHO is that the S variable inside the ebuild must be construct by hand to match the correct source dir.
Comment 4 Alexander Skwar 2006-12-28 23:18:22 UTC
(In reply to comment #3)
> I guess it should be used the (now) masked media-video/gspcav1 until gspca v4l2
> is not finished. The ebuild works fine just changing the date in the file as
> gspcav1-20061216.ebuild
> 
> The problem with media-video/gspca, IMHO is that the S variable inside the
> ebuild must be construct by hand to match the correct source dir.
> 

Yes, you're right. Please see bug #159126.
Comment 5 Sandro Bonazzola (RETIRED) gentoo-dev 2007-01-11 19:21:01 UTC
New upstream bump:
http://mxhaard.free.fr/spca50x/Download/gspcav1-20070110.tar.gz
Comment 6 Alexander Skwar 2007-01-11 19:33:26 UTC
(In reply to comment #5)
> New upstream bump:
> http://mxhaard.free.fr/spca50x/Download/gspcav1-20070110.tar.gz
> 

It's still called gspcav1. Could gspca please be dumped and gspcav1 be used again instead? It would make life quite a bit easier...
Comment 7 Alexander Skwar 2007-01-14 09:14:59 UTC
As noted in comment #5, version 1.00.12 is out since the 10th of January, 2007.

When do we see it in tree? And how about doing away with gspca and use gspcav1
instead (reverting the wrong decision to dump gspcav1)? With gspcav1, it's
extremely easy to make a version bump - as noted in comment #3, all that needs
to be done is change the date in the ebuild.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-01-14 11:08:57 UTC
(In reply to comment #6)
> It's still called gspcav1. Could gspca please be dumped and gspcav1 be used
> again instead? It would make life quite a bit easier...

If you actually read the ebuild before commenting, you might notice that it builds v2 of the driver (gspcav2). Calling this gspcav1 is presumably a misnomer... :P
Comment 9 Alexander Skwar 2007-01-14 11:40:12 UTC
Yes, the ebuild uses v2, and yes, I did not see that. Thanks for pointing this out!

What I see on http://mxhaard.free.fr/download.html though is:

> until gspca v4l2 is finished, used: gspcav1 "Generic Softwares Package for Camera Adapters" version 1.00.12 date: 10/01/2007

I understand it so, that gspcav1 should be used, because v2 is not yet finished (do I misunderstand that?). And http://mxhaard.free.fr/spca50x/Download/gspcav1-20070110.tar.gz doesn't have a "v2" version. It is v1 (is it?).

Now, because upstream calls the package gspcav1, it would be a misnomer to call the package gspca, as there (sometimes) also is a gspca version. Jakub, you know, you should at least check the URLs mentioned in bug before commenting... :-P

As I've asked before: Why not dump gspca and keep on using gspcav1? It makes version bumping a LOT easier!
Comment 10 Patrick De Pinguin 2007-01-14 11:57:44 UTC
The v2 version is only available in the gspca-YYYYMMDD packages from http://mxhaard.free.fr/spca50x/Investigation/Gspca/, and is not included in the gspcav1XXXXX packages.
Since the gspcav1 packages are updated far more often than are the gspca packages, I believe the gspcav1 one should be used, like Alexander Skwar suggests.

I also agree with comment #9: since the developer recommends using v1 because v2 is not yet finished, I believe we should use that one
Comment 11 Leonard Khoo 2007-01-19 02:20:40 UTC
Please bump version in portage tree. Atleast include the patch for version 1.00.10. Thanks.
Comment 12 Mike Doty (RETIRED) gentoo-dev 2007-01-20 07:01:26 UTC
I made a mistake masking gspcav1.  please use that instead.  media-video/gspca
is still alpha code.
Comment 13 Pacho Ramos gentoo-dev 2007-01-20 10:46:16 UTC
gspca-01.00.10 works fine for me in 2.6.18 kernel. I think that gspca-01.00.12 could be bumped to portage and marked as HardMasked and, also, gscpcav1 could be in portage marked as testing. It's a suggestion :-/