Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30880 - libgphoto2-2.1.2 breaks support for Canon PowerShot s45
Summary: libgphoto2-2.1.2 breaks support for Canon PowerShot s45
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Holzer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-10 18:29 UTC by John Carpenter
Modified: 2003-10-13 13:46 UTC (History)
1 user (show)

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


Attachments
Proposed fix (libgphoto2-2.1.2-canon_s45.patch,5.27 KB, patch)
2003-10-12 09:46 UTC, John Carpenter
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Carpenter 2003-10-10 18:29:52 UTC
camlibs/canon/canon.c has two different entries for
Canon PowerShot S45 (normal mode)
This causes it to use the wrong USB id when trying to communicate with the camera.
It was fixed in thsi revsiion of the file
http://cvs.sourceforge.net/viewcvs.py/gphoto/libgphoto2/camlibs/canon/canon.c?rev=1.212&view=auto


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-12 02:47:27 UTC
please make a patch for the current version
Comment 2 John Carpenter 2003-10-12 09:46:39 UTC
Created attachment 19132 [details, diff]
Proposed fix

Proposed fix based on libgphoto2 cvs.
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-10-12 12:41:31 UTC
in cvs
Comment 4 Jarkko Haapalainen 2003-10-13 13:16:28 UTC
patch is not working, users are getting this error:

>>> emerge (1 of 2) media-libs/libgphoto2-2.1.2-r1 to /
>>> md5 src_uri libgphoto2-2.1.2.tar.bz2
>>> Unpacking source...
>>> Unpacking libgphoto2-2.1.2.tar.bz2 to /var/tmp/portage/libgphoto2-2.1.2-r1/work
* Applying libgphoto2-2.1.2-norpm.patch... [ ok ]
* Applying libgphoto2-2.1.2-canon.patch...

* Failed Patch: libgphoto2-2.1.2-canon.patch!
*
* Include in your bugreport the contents of:
*
*
/var/tmp/portage/libgphoto2-2.1.2-r1/temp/libgphoto2-2.1.2-canon.patch-17819.out


!!! ERROR: media-libs/libgphoto2-2.1.2-r1 failed.
!!! Function epatch, Line 354, Exitcode 0
!!! Failed Patch: libgphoto2-2.1.2-canon.patch! 


(http://forums.gentoo.org/viewtopic.php?t=93914&highlight=)
Comment 5 Alastair Tse (RETIRED) gentoo-dev 2003-10-13 13:38:15 UTC
whats going on here?
Comment 6 Alastair Tse (RETIRED) gentoo-dev 2003-10-13 13:46:25 UTC
hrmm .. the included cvs header ids are conflicting with our cvs repo.

i've edited the patch to remove those ..