pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/58048 gphoto2 --list-files error



The following reply was made to PR pkg/58048; it has been noted by GNATS.

From: Ramiro Aceves <ea1abz%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/58048 gphoto2 --list-files error
Date: Tue, 19 Mar 2024 10:00:25 +0100

 Hello,
 
 Just before submitting this PR I received this hint from John D. Baker
 in pkgsrc-users mailing lists:
 
 """""""""""""""""""""""""""""""
     I had a similar problem accessing a Nikon Coolpix L22.  See the
 thread starting here:
 
    https://mail-index.netbsd.org/netbsd-users/2022/01/23/msg028205.html
 
    and the PR I filed:  pkg/56666.
 
    The patch to "devel/libgphoto2" posted in the PR makes it work for me.
 
    --
    |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
    |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD             FreeBSD
    | X  No HTML/proprietary data in email.   BSD just sits there and works!
    |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 
 """"""""""""""""""""""""""""
 
 
 I applied the following patch to devel/libgphoto2, I rebuilt devel/
 libgphoto2 and graphics/gphoto2  and worked!
 
 --- libgphoto2_port/libusb1/libusb1.c.orig
 +++ libgphoto2_port/libusb1/libusb1.c
 @@ -684,6 +684,8 @@ gp_libusb1_queue_interrupt_urbs (GPPort *port)
       unsigned int i;
       int ret = 0;
 
 +    return 0; /* not working yet */
 +
       /* no interrupt endpoint */
       if (port->settings.usb.intep == -1)
           return GP_OK;
 
 
 netbsd-nuc# gphoto2 --list-files
 There is no file in folder '/'.
 There is no file in folder '/store_00000001'.
 There is no file in folder '/store_00000001/DCIM'.
 There are 4 files in folder '/store_00000001/DCIM/100CANON'.
 #1     IMG_0001.CR2               rd  7925 KB image/x-canon-cr2
 #2     IMG_0001.JPG               rd  1683 KB 3456x2304 image/jpeg
 #3     IMG_0002.CR2               rd  7955 KB image/x-canon-cr2
 #4     IMG_0002.JPG               rd  1713 KB 3456x2304 image/jpeg
 
 
 Will this patch be applied in pkgsrc for general use?
 
 Thanks
 Ramiro.
 


Home | Main Index | Thread Index | Old Index