Skip to contentSkip to conversation

libgphoto2: new package

PATCH Superseded Kevin JOLY 4 participants 8 messages Apr 11, 2017 – Apr 18, 2017

lore
Share & tools
lore

Kevin JOLY

author
#0 lore raw

PATCH v4 1/1 libgphoto2: new package

Add support for libgphoto2 core library designed to allow access to digital camera.

---
Changes v3 -> v4 (suggested by Arnout Vandecappelle and Romain Naour)
- Fix style issues
- Replace the libjpeg optional dependency by jpeg
- Improve configure options

Changes v2 -> v3 (suggested by Arnout Vandecappelle)
- Change the commit description
- Turn libusb-compat as an optional dependency
- Add the BR2_TOOLCHAIN_HAS_THREADS dependency
- Update package website location
- Update version to 2.5.13
- Add comments
- Improve configure options
- Update license informations

Changes v1 -> v2 (suggested by Romain Naour)
- Handle optionnal dependencies on libexif, libjpeg, libgd and lockdev
- Add license informations
- Use tar.bz2 package
- Change hash
- Added myself as package maintainer in the DEVELOPPERS file

---
 DEVELOPERS                         |  3 +++
 package/Config.in                  |  1 +
 package/libgphoto2/Config.in       | 14 ++++++++++
 package/libgphoto2/libgphoto2.hash |  6 +++++
 package/libgphoto2/libgphoto2.mk   | 54 ++++++++++++++++++++++++++++++++++++++
 5 files changed, 78 insertions(+)
 create mode 100644 package/libgphoto2/Config.in
 create mode 100644 package/libgphoto2/libgphoto2.hash
 create mode 100644 package/libgphoto2/libgphoto2.mk
DEVELOPERS +3 -0
index a298669..1f45012 100644
@@ -957,6 +957,9 @@ F:	package/cpuload/
 F:	package/bwm-ng/
 F:	package/ramsmp/
 
+N:	Kevin Joly <[email protected]>
+F:	package/libgphoto2/
+
 N:	Laurent Cans <[email protected]>
 F:	package/aircrack-ng/
 
package/Config.in +1 -0
index c12e5b5..f98a2b5 100644
@@ -1086,6 +1086,7 @@ menu "Hardware handling"
 	source "package/libfreefare/Config.in"
 	source "package/libftdi/Config.in"
 	source "package/libftdi1/Config.in"
+	source "package/libgphoto2/Config.in"
 	source "package/libgpiod/Config.in"
 	source "package/libgudev/Config.in"
 	source "package/libhid/Config.in"
package/libgphoto2/Config.in new file +14 -0
new file mode 100644
index 0000000..fc60dd6
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_LIBGPHOTO2
+	bool "libgphoto2"
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
+	select BR2_PACKAGE_LIBTOOL
+	select BR2_PACKAGE_LIBUSB
+	select BR2_PACKAGE_LIBXML2
+	help
+	  libgphoto2 is the core library designed to allow access to
+	  digital camera by external programs.
+
+	  http://gphoto.org/proj/libgphoto2/
+
+comment "libgphoto needs a toolchain w/ threads"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS
package/libgphoto2/libgphoto2.hash new file +6 -0
new file mode 100644
index 0000000..1afe275
@@ -0,0 +1,6 @@
+# https://sourceforge.net/projects/gphoto/files/libgphoto/2.5.13/
+md5 73bf5b3d94c8c6f5fad9ea6b5e561843 libgphoto2-2.5.13.tar.bz2
+sha1 cef2d2f1930f8ada16a63aca15683188231a626a libgphoto2-2.5.13.tar.bz2
+
+# Locally calculated hash
+sha256 ceaacbdf187d1cd1aed5336991f46b0100f6960b6c8383f9aeab98f1f64780ef libgphoto2-2.5.13.tar.bz2
package/libgphoto2/libgphoto2.mk new file +54 -0

54 lines not on this page · raw message

Signature · 1 line
2.7.4
#1 lore raw

PATCH v4 1/1 libgphoto2: new package

Hi Kevin,

Quoted 6 lines · Kevin JOLY

Add support for libgphoto2 core library designed to allow access to digital camera.

When you make any non-trivial change, like changing the libjpeg dependency into
jpeg, you really shouldn't keep the Ack.

However, I would have given it anyway, so all is good :-)

Regards,
Arnout

[snip]

Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
#2 lore raw

PATCH v4 1/1 libgphoto2: new package

Le 11 avr. 2017 09:23, "Arnout Vandecappelle" <[email protected]> a ?crit :

Hi Kevin,

Quoted 6 lines · Kevin JOLY

Add support for libgphoto2 core library designed to allow access to digital camera.

When you make any non-trivial change, like changing the libjpeg dependency
into
jpeg, you really shouldn't keep the Ack.

However, I would have given it anyway, so all is good :-)

Looks good to me.

Best regards,
Romain

Regards,
Arnout

[snip]
--

Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170411/7cf501e4/attachment.html>

author
#3 lore raw

PATCH v4 1/1 libgphoto2: new package

Hi Romain,

Do I have to make a v5 with your ack?

Best regards,

Le 11. 04. 17 ? 09:35, Romain Naour a ?crit :

Quoted 49 lines

Le 11 avr. 2017 09:23, "Arnout Vandecappelle" <[email protected] <mailto:[email protected]>> a ?crit :

Hi Kevin,

On 11-04-17 09:00, Kevin JOLY wrote:
> Add support for libgphoto2 core library designed to allow access to > digital camera.
>
> Signed-off-by: Kevin JOLY <[email protected] <mailto:[email protected]>>
> Cc: Romain Naour <[email protected] <mailto:[email protected]>>
> Acked-by: Arnout Vandecappelle (Essensium/Mind) <[email protected] <mailto:[email protected]>>

When you make any non-trivial change, like changing the libjpeg
dependency into
jpeg, you really shouldn't keep the Ack.

However, I would have given it anyway, so all is good :-)

Looks good to me.

<mailto:[email protected]>>

Best regards,
Romain

     Regards,
     Arnout

    [snip]
    --
    Arnout Vandecappelle                          arnout at mind be
    Senior Embedded Software Architect +32-16-286500 <tel:%2B32-16-286500>
    Essensium/Mind http://www.mind.be
    G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR
    Leuven
    LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
    <http://www.linkedin.com/in/arnoutvandecappelle>
    GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
Signature · 10 lines
*Kevin JOLY*
Embedded systems engineer

SenseFly <http://www.sensefly.com/>
38, rte de Gen?ve
1033 Cheseaux-Lausanne, Switzerland

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170411/80719382/attachment.html>
#4 lore raw

PATCH v4 1/1 libgphoto2: new package

Hi Kevin,

Le 11 avr. 2017 09:38, "Kevin JOLY" <[email protected]> a ?crit :

Hi Romain,

Do I have to make a v5 with your ack?

No, it's automatically tracked by the patchwork. See http://patchwork.ozlabs.org/project/buildroot/list/

Thanks,

Romain

Best regards,

Le 11. 04. 17 ? 09:35, Romain Naour a ?crit :

Le 11 avr. 2017 09:23, "Arnout Vandecappelle" <[email protected]> a ?crit :

Hi Kevin,

Quoted 6 lines · Kevin JOLY

Add support for libgphoto2 core library designed to allow access to digital camera.

When you make any non-trivial change, like changing the libjpeg dependency
into
jpeg, you really shouldn't keep the Ack.

However, I would have given it anyway, so all is good :-)

Looks good to me.

Best regards,
Romain

Regards,
Arnout

[snip]
--

Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
Signature · 9 lines
*Kevin JOLY*
Embedded systems engineer

SenseFly <http://www.sensefly.com/>
38, rte de Gen?ve
1033 Cheseaux-Lausanne, Switzerland
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170411/65c3d4fd/attachment.html>
author
#5 lore raw

PATCH v4 1/1 libgphoto2: new package

In reply to Arnout Vandecappelle

Hi Arnout,

Sorry about that. I take note : )

Best regards,

Le 11. 04. 17 ? 09:23, Arnout Vandecappelle a ?crit :

Quoted 19 lines

Hi Kevin,

Quoted 6 lines · Kevin JOLY

Add support for libgphoto2 core library designed to allow access to digital camera.

When you make any non-trivial change, like changing the libjpeg dependency into
jpeg, you really shouldn't keep the Ack.

However, I would have given it anyway, so all is good :-)

Regards,
Arnout

[snip]

Signature · 10 lines
*Kevin JOLY*
Embedded systems engineer

SenseFly <http://www.sensefly.com/>
38, rte de Gen?ve
1033 Cheseaux-Lausanne, Switzerland

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170411/d96a7302/attachment.html>
#6 lore raw

PATCH v4 1/1 libgphoto2: new package

In reply to Kevin JOLY

Hello,

Quoted 11 lines · Kevin JOLY

Add support for libgphoto2 core library designed to allow access to digital camera.

---
Changes v3 -> v4 (suggested by Arnout Vandecappelle and Romain Naour)
- Fix style issues
- Replace the libjpeg optional dependency by jpeg
- Improve configure options

I've applied to master, after fixing/improving a few remaining things:

[Thomas:
- Use downloads.sourceforge.net
- Remove final dot at end of <pkg>_LICENSE variable
- Minor tweaks in comments.]

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
author
#7 lore raw

PATCH v4 1/1 libgphoto2: new package

Hello Thomas,

Thanks for your fixes!

Regards,

Le 13. 04. 17 ? 22:36, Thomas Petazzoni a ?crit :

Quoted 24 lines

Hello,

Quoted 11 lines · Kevin JOLY

Add support for libgphoto2 core library designed to allow access to digital camera.

---
Changes v3 -> v4 (suggested by Arnout Vandecappelle and Romain Naour)
- Fix style issues
- Replace the libjpeg optional dependency by jpeg
- Improve configure options

I've applied to master, after fixing/improving a few remaining things:

[Thomas:
- Use downloads.sourceforge.net
- Remove final dot at end of <pkg>_LICENSE variable
- Minor tweaks in comments.]

Thanks!

Thomas

Signature · 10 lines
*Kevin JOLY*
Embedded systems engineer

SenseFly <http://www.sensefly.com/>
38, rte de Gen?ve
1033 Cheseaux-Lausanne, Switzerland

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170418/f15704fc/attachment.html>