package/lensfun: new package
PATCH 1/9 package/lensfun: new package
--- DEVELOPERS | 1 + package/Config.in | 1 + package/lensfun/Config.in | 28 ++++++++++++++++++++++++++++ package/lensfun/lensfun.hash | 5 +++++ package/lensfun/lensfun.mk | 41 +++++++++++++++++++++++++++++++++++++++++ 5 files changed, 76 insertions(+) create mode 100644 package/lensfun/Config.in create mode 100644 package/lensfun/lensfun.hash create mode 100644 package/lensfun/lensfun.mk
DEVELOPERS +1 -0
@@ -1291,6 +1291,7 @@ F: package/enlightenment/ F: package/expedite/ F: package/iqvlinux/ F: package/liblinear/ +F: package/lensfun/ F: package/linux-syscall-support/ F: package/lugaru/ F: package/mcelog/
package/Config.in +1 -0
@@ -1003,6 +1003,7 @@ menu "Graphics" source "package/jpeg/Config.in" source "package/kmsxx/Config.in" source "package/lcms2/Config.in" + source "package/lensfun/Config.in" source "package/lesstif/Config.in" source "package/libart/Config.in" source "package/libdmtx/Config.in"
package/lensfun/Config.in new file +28 -0
@@ -0,0 +1,28 @@ +config BR2_PACKAGE_LENSFUN + bool "lensfun" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_USE_WCHAR # libglib2 + depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 + depends on BR2_USE_MMU # libglib2 + help + Lensfun itself is only a library for correcting several + artefacts and a database for storing lens profiles. To + actually use Lensfun to process your images you need an image + editing application with Lensfun support. + + http://lensfun.sourceforge.net + +if BR2_PACKAGE_LENSFUN + +config BR2_PACKAGE_LENSFUN_TOOLS + bool "lensfun tools" + select BR2_PACKAGE_LIBPNG + help + Build the lenstool + +endif + +comment "lensfun needs a toolchain w/ C++, threads, wchar" + depends on BR2_USE_MMU + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \ + || !BR2_USE_WCHAR
package/lensfun/lensfun.hash new file +5 -0
@@ -0,0 +1,5 @@ +# From https://sourceforge.net/projects/lensfun/files/0.3.2 +sha1 1d978b15aa7304d66a4931fa37ca9f8f89396c16 lensfun-0.3.2.tar.gz +md5 247e59a0812ec451f6cd0d20b3379cb5 lensfun-0.3.2.tar.gz +# Locally calculated +sha256 ae8bcad46614ca47f5bda65b00af4a257a9564a61725df9c74cb260da544d331 lensfun-0.3.2.tar.gz
package/lensfun/lensfun.mk new file +41 -0
41 lines not on this page · raw message
Signature · 1 line
2.9.3
PATCH 2/9 package/darktable: new package
Add a small note about adwaita icon to avoid a Gtk warning:
Gtk-WARNING **: Could not find the icon 'pan-down-symbolic-ltr'. The 'hicolor' theme was not found either, perhaps you need to install it.
You can get a copy from:
http://icon-theme.freedesktop.org/releases
--- DEVELOPERS | 1 + package/Config.in | 1 + package/darktable/Config.in | 59 ++++++++++++++++++++++++++++++++++++ package/darktable/darktable.hash | 2 ++ package/darktable/darktable.mk | 64 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 127 insertions(+) create mode 100644 package/darktable/Config.in create mode 100644 package/darktable/darktable.hash create mode 100644 package/darktable/darktable.mk
DEVELOPERS +1 -0
@@ -1286,6 +1286,7 @@ F: package/vnstat/ N: Romain Naour <[email protected]> F: package/aubio/ F: package/bullet/ +F: package/darktable/ F: package/efl/ F: package/enlightenment/ F: package/expedite/
package/Config.in +1 -0
@@ -236,6 +236,7 @@ endmenu menu "Graphic libraries and applications (graphic/text)" comment "Graphic applications" + source "package/darktable/Config.in" source "package/expedite/Config.in" source "package/fswebcam/Config.in" source "package/glmark2/Config.in"
package/darktable/Config.in new file +59 -0
59 lines not on this page · raw message
package/darktable/darktable.hash new file +2 -0
@@ -0,0 +1,2 @@ +# From https://github.com/darktable-org/darktable/releases/tag/release-2.2.3 +sha256 1b33859585bf283577680c61e3c0ea4e48214371453b9c17a86664d2fbda48a0 darktable-2.2.3.tar.xz
package/darktable/darktable.mk new file +64 -0
64 lines not on this page · raw message
Signature · 1 line
2.9.3
PATCH 3/9 package/darktable: add webp optional dependency
In reply to Romain Naour--- package/darktable/darktable.mk | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)
package/darktable/darktable.mk +8 -2
@@ -52,8 +52,7 @@ DARKTABLE_CONF_OPTS = \ -DUSE_OPENCL=OFF \ -DUSE_OPENJPEG=OFF \ -DUSE_OPENMP=OFF \ - -DUSE_OPENEXR=OFF \ - -DUSE_WEBP=OFF + -DUSE_OPENEXR=OFF ifeq ($(BR2_X86_CPU_HAS_SSE2),y) DARKTABLE_CONF_OPTS += -DBUILD_SSE2_CODEPATHS=ON
@@ -61,4 +60,11 @@ else DARKTABLE_CONF_OPTS += -DBUILD_SSE2_CODEPATHS=OFF endif +ifeq ($(BR2_PACKAGE_WEBP),y) +DARKTABLE_CONF_OPTS += -DUSE_WEBP=ON +DARKTABLE_DEPENDENCIES += webp +else +DARKTABLE_CONF_OPTS += -DUSE_WEBP=OFF +endif + $(eval $(cmake-package))
Signature · 1 line
2.9.3
PATCH 4/9 package/darktable: add libsecret optional dependency
In reply to Romain Naour--- package/darktable/darktable.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/darktable/darktable.mk +7 -1
@@ -45,7 +45,6 @@ DARKTABLE_CONF_OPTS = \ -DUSE_FLICKR=OFF \ -DUSE_GRAPHICSMAGICK=OFF \ -DUSE_KWALLET=OFF \ - -DUSE_LIBSECRET=OFF \ -DUSE_LUA=OFF \ -DUSE_MAP=OFF \ -DUSE_NLS=ON \
@@ -60,6 +59,13 @@ else DARKTABLE_CONF_OPTS += -DBUILD_SSE2_CODEPATHS=OFF endif +ifeq ($(BR2_PACKAGE_LIBSECRET),y) +DARKTABLE_CONF_OPTS += -DUSE_LIBSECRET=ON +DARKTABLE_DEPENDENCIES += libsecret +else +DARKTABLE_CONF_OPTS += -DUSE_LIBSECRET=OFF +endif + ifeq ($(BR2_PACKAGE_WEBP),y) DARKTABLE_CONF_OPTS += -DUSE_WEBP=ON DARKTABLE_DEPENDENCIES += webp
Signature · 1 line
2.9.3
PATCH 5/9 package/darktable: add flickcurl optional dependency
In reply to Romain Naour--- package/darktable/darktable.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/darktable/darktable.mk +7 -1
@@ -42,7 +42,6 @@ DARKTABLE_CONF_OPTS = \ -DCUSTOM_CFLAGS=ON \ -DUSE_CAMERA_SUPPORT=OFF \ -DUSE_COLORD=OFF \ - -DUSE_FLICKR=OFF \ -DUSE_GRAPHICSMAGICK=OFF \ -DUSE_KWALLET=OFF \ -DUSE_LUA=OFF \
@@ -59,6 +58,13 @@ else DARKTABLE_CONF_OPTS += -DBUILD_SSE2_CODEPATHS=OFF endif +ifeq ($(BR2_PACKAGE_FLICKCURL),y) +DARKTABLE_CONF_OPTS += -DUSE_FLICKR=ON +DARKTABLE_DEPENDENCIES += flickcurl +else +DARKTABLE_CONF_OPTS += -DUSE_FLICKR=OFF +endif + ifeq ($(BR2_PACKAGE_LIBSECRET),y) DARKTABLE_CONF_OPTS += -DUSE_LIBSECRET=ON DARKTABLE_DEPENDENCIES += libsecret
Signature · 1 line
2.9.3
PATCH 6/9 package/darktable: add openjpeg optional dependency
In reply to Romain Naour--- package/darktable/darktable.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/darktable/darktable.mk +7 -1
@@ -48,7 +48,6 @@ DARKTABLE_CONF_OPTS = \ -DUSE_MAP=OFF \ -DUSE_NLS=ON \ -DUSE_OPENCL=OFF \ - -DUSE_OPENJPEG=OFF \ -DUSE_OPENMP=OFF \ -DUSE_OPENEXR=OFF
@@ -72,6 +71,13 @@ else DARKTABLE_CONF_OPTS += -DUSE_LIBSECRET=OFF endif +ifeq ($(BR2_PACKAGE_OPENJPEG),y) +DARKTABLE_CONF_OPTS += -DUSE_OPENJPEG=ON +DARKTABLE_DEPENDENCIES += openjpeg +else +DARKTABLE_CONF_OPTS += -DUSE_OPENJPEG=OFF +endif + ifeq ($(BR2_PACKAGE_WEBP),y) DARKTABLE_CONF_OPTS += -DUSE_WEBP=ON DARKTABLE_DEPENDENCIES += webp
Signature · 1 line
2.9.3
PATCH 7/9 package/darktable: add libsoup optional dependency
In reply to Romain Naourlibsoup checked in src/CMakeLists.txt without USE_LIBSOUP option.
find_package(LibSoup2)
--- package/darktable/darktable.mk | 5 +++++ 1 file changed, 5 insertions(+)
package/darktable/darktable.mk +5 -0
@@ -71,6 +71,11 @@ else DARKTABLE_CONF_OPTS += -DUSE_LIBSECRET=OFF endif +# There is no option to handle libsoup dependency +ifeq ($(BR2_PACKAGE_LIBSOUP),y) +DARKTABLE_DEPENDENCIES += libsoup +endif + ifeq ($(BR2_PACKAGE_OPENJPEG),y) DARKTABLE_CONF_OPTS += -DUSE_OPENJPEG=ON DARKTABLE_DEPENDENCIES += openjpeg
Signature · 1 line
2.9.3
PATCH 8/9 package/libgphoto2: new package
In reply to Romain Naour--- DEVELOPERS | 1 + package/Config.in | 1 + package/libgphoto2/Config.in | 20 ++++++++++++++++++++ package/libgphoto2/libgphoto2.hash | 5 +++++ package/libgphoto2/libgphoto2.mk | 16 ++++++++++++++++ 5 files changed, 43 insertions(+) create mode 100644 package/libgphoto2/Config.in create mode 100644 package/libgphoto2/libgphoto2.hash create mode 100644 package/libgphoto2/libgphoto2.mk
DEVELOPERS +1 -0
@@ -1293,6 +1293,7 @@ F: package/expedite/ F: package/iqvlinux/ F: package/liblinear/ F: package/lensfun/ +F: package/libgphoto2/ F: package/linux-syscall-support/ F: package/lugaru/ F: package/mcelog/
package/Config.in +1 -0
@@ -1071,6 +1071,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 +20 -0
@@ -0,0 +1,20 @@ +config BR2_PACKAGE_LIBGPHOTO2 + bool "libgphoto2" + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_GD + select BR2_PACKAGE_JPEG + select BR2_PACKAGE_LIBEXIF + select BR2_PACKAGE_LIBTOOL + select BR2_PACKAGE_LIBUSB + select BR2_PACKAGE_LIBXML2 + select BR2_PACKAGE_LOCKDEV + help + libgphoto2 is a library that can be used by applications to + access various digital cameras. + + http://www.gphoto.org + +comment "libgphoto2 needs a toolchain w/ C++, threads" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS + +# depends on BR2_INSTALL_LIBSTDCPP
package/libgphoto2/libgphoto2.hash new file +5 -0
@@ -0,0 +1,5 @@ +# https://sourceforge.net/projects/gphoto/files/libgphoto/2.5.12/ +md5 a5999acc204c31515a6ec8e517d2cd91 libgphoto2-2.5.12.tar.bz2 +sha1 4ded403b87d46ad49ba88b22b9410789ed3cef10 libgphoto2-2.5.12.tar.bz2 +# Locally computed +sha256 b9bb28990fde45ac385e4851a07dbad2e1250404b535b0a3a3b898bb431e4e2e libgphoto2-2.5.12.tar.bz2
package/libgphoto2/libgphoto2.mk new file +16 -0
@@ -0,0 +1,16 @@ +################################################################################ +# +# libgphoto2 +# +################################################################################ + +LIBGPHOTO2_VERSION = 2.5.12 +LIBGPHOTO2_SITE = https://sourceforge.net/projects/gphoto/files/libgphoto/$(LIBGPHOTO2_VERSION) +LIBGPHOTO2_SOURCE = libgphoto2-$(LIBGPHOTO2_VERSION).tar.bz2 +LIBGPHOTO2_LICENSE = LGPLv2.1+ +LIBGPHOTO2_LICENSE_FILES = COPYING +LIBGPHOTO2_INSTALL_STAGING = YES + +LIBGPHOTO2_DEPENDENCIES = host-pkgconf gd jpeg libexif libtool libusb libxml2 lockdev + +$(eval $(autotools-package))
Signature · 1 line
2.9.3
PATCH 9/9 package/darktable: add libgphoto2 optional dependency
In reply to Romain Naour--- package/darktable/darktable.mk | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)
package/darktable/darktable.mk +7 -2
@@ -29,7 +29,6 @@ DARKTABLE_DEPENDENCIES = host-gettext host-intltool host-libxml2 host-libxslt \ # Disable cmstest: needs colord. # Disable print module: needs cups. -# Disable Camera support: needs Gphoto2. # Disable colord: needs libcolord-gtk. # Disable Map View parts: needs libosmgpsmap. # Disable OpenCL support (needs llvm compiler).
@@ -40,7 +39,6 @@ DARKTABLE_CONF_OPTS = \ -DBUILD_PRINT=OFF \ -DBUILD_USERMANUAL=OFF \ -DCUSTOM_CFLAGS=ON \ - -DUSE_CAMERA_SUPPORT=OFF \ -DUSE_COLORD=OFF \ -DUSE_GRAPHICSMAGICK=OFF \ -DUSE_KWALLET=OFF \
@@ -64,6 +62,13 @@ else DARKTABLE_CONF_OPTS += -DUSE_FLICKR=OFF endif +ifeq ($(BR2_PACKAGE_LIBGPHOTO2),y) +DARKTABLE_CONF_OPTS += -DUSE_CAMERA_SUPPORT=ON +DARKTABLE_DEPENDENCIES += libgphoto2 +else +DARKTABLE_CONF_OPTS += -DUSE_CAMERA_SUPPORT=OFF +endif + ifeq ($(BR2_PACKAGE_LIBSECRET),y) DARKTABLE_CONF_OPTS += -DUSE_LIBSECRET=ON DARKTABLE_DEPENDENCIES += libsecret
Signature · 1 line
2.9.3
PATCH 1/9 package/lensfun: new package
In reply to Romain NaourHi Romain,
Quoted 2 lines · Romain Naour
Signed-off-by Romain Naour <[email protected]>Cc Jeremy Rosen <[email protected]>
[...]
package/lensfun/Config.in line 6
Quoted 12 lines
package/lensfun/Config.in new file +6
-0@@ -0,0 +1,28 @@ +config BR2_PACKAGE_LENSFUN + bool "lensfun" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_USE_WCHAR # libglib2 + depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 + depends on BR2_USE_MMU # libglib2
Missing 'select BR2_PACKAGE_LIBGLIB2'.
baruch
Signature · 3 lines
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -PATCH 1/9 package/lensfun: new package
Hi Baruch,
Le 05/03/2017 ? 17:37, Baruch Siach a ?crit :
Quoted 8 lines
Hi Romain,
Quoted 2 lines · Romain Naour
Signed-off-by Romain Naour <[email protected]>Cc Jeremy Rosen <[email protected]>[...]
Quoted 14 lines
package/lensfun/Config.in line 6
Quoted 12 lines
package/lensfun/Config.in new file +6
-0@@ -0,0 +1,28 @@ +config BR2_PACKAGE_LENSFUN + bool "lensfun" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_USE_WCHAR # libglib2 + depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 + depends on BR2_USE_MMU # libglib2Missing 'select
BR2_PACKAGE_LIBGLIB2'.
Thanks, fixed.
I'm waiting for more review on darktable package before sending v2.
Best regards,
Romain
Quoted 3 lines
baruch
PATCH 2/9 package/darktable: new package
In reply to Romain NaourHi Romain,
Quoted 9 lines · Romain Naour
Add a small note about adwaita icon to avoid a Gtk warning:
Gtk-WARNING **: Could not find the icon 'pan-down-symbolic-ltr'. The 'hicolor' theme was not found either, perhaps you need to install it.
You can get a copy from:
http://icon-theme.freedesktop.org/releasesSigned-off-by Romain Naour <[email protected]>Cc Jeremy Rosen <[email protected]>
[...]
package/darktable/Config.in line 9
Quoted 8 lines
package/darktable/Config.in new file +8
-0+# Darktable is only available for x86_64 or aarch64 little endian system only. +# Experimental support for i386 (not recommended). +# Building without SSE2 on x86_64 is highly experimental. +# See src/is_supported_platform.h +config BR2_PACKAGE_DARKTABLE_ARCH_SUPPORTS + bool + default y if (BR2_x86_64 && BR2_X86_CPU_HAS_SSE && BR2_X86_CPU_HAS_SSE2) || \ + BR2_aarch64
BR2_X86_CPU_HAS_SSE2=y implies BR2_X86_CPU_HAS_SSE=y. So this is equivalent to (BR2_x86_64 && BR2_X86_CPU_HAS_SSE2) || BR2_aarch64.
baruch
Signature · 3 lines
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -Thomas Petazzoni
AppliedPATCH 1/9 package/lensfun: new package
In reply to Romain NaourHello,
Quoted 12 lines · Romain Naour
Signed-off-by Romain Naour <[email protected]>Cc Jeremy Rosen <[email protected]>--- DEVELOPERS | 1 + package/Config.in | 1 + package/lensfun/Config.in | 28 ++++++++++++++++++++++++++++ package/lensfun/lensfun.hash | 5 +++++ package/lensfun/lensfun.mk | 41 +++++++++++++++++++++++++++++++++++++++++ 5 files changed, 76 insertions(+) create mode 100644 package/lensfun/Config.in create mode 100644 package/lensfun/lensfun.hash create mode 100644 package/lensfun/lensfun.mk
Applied to master, after fixing the missing select noticed by Baruch. Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 2/9 package/darktable: new package
In reply to Baruch SiachAm Sun, 05 Mar 2017 18:44:33 +0200 schrieb Baruch Siach:
Quoted 1 line
Quoted 1 line
+# Darktable is only available for
x86_64or aarch64 little endian
system only.
Quoted 6 lines
package/darktable/Config.in
Quoted 6 lines
package/darktable/Config.in new file +6
-0+# Experimental support for i386 (not recommended). +# Building without SSE2 on x86_64 is highly experimental. +# See src/is_supported_platform.h +config BR2_PACKAGE_DARKTABLE_ARCH_SUPPORTS + bool + default y if (BR2_x86_64 && BR2_X86_CPU_HAS_SSE &&
BR2_X86_CPU_HAS_SSE2) || \
Quoted 3 lines
package/darktable/Config.in line 9
Quoted 1 line
package/darktable/Config.in new file +1
-0+ BR2_aarch64BR2_X86_CPU_HAS_SSE2=y implies BR2_X86_CPU_HAS_SSE=y. So this is
equivalent to
Quoted 1 line
(
BR2_x86_64&&BR2_X86_CPU_HAS_SSE2) ||BR2_aarch64.
Hi,
maybe even simplier?
default y if BR2_aarch64 || BR2_x86_64
All x86_64 CPUs have sse2 support, it started with the Pentium4.
Do we need the BR2_PACKAGE_DARKTABLE_ARCH_SUPPORTS option at all after this simplification?
depends on !BR2_TOOLCHAIN_USES_MUSL
needs to be added as well since
https://git.buildroot.net/buildroot/commit/?
id=d887fde42540bb6079c66f72e1462bfcda402006
The patch also needs a rebase, it does not apply cleanly against package/Config.in anymore.
Regards, Bernd
PATCH 2/9 package/darktable: new package
Hi Bernd, Baruch,
Thank for the review!
Le 05/06/2017 ? 20:44, Bernd Kuhls a ?crit :
Quoted 17 lines
Am Sun, 05 Mar 2017 18:44:33 +0200 schrieb Baruch Siach:
Quoted 1 line
Quoted 1 line
+# Darktable is only available for
x86_64or aarch64 little endiansystem only.
Quoted 6 lines
package/darktable/Config.in
Quoted 6 lines
package/darktable/Config.in new file +6
-0+# Experimental support for i386 (not recommended). +# Building without SSE2 on x86_64 is highly experimental. +# See src/is_supported_platform.h +config BR2_PACKAGE_DARKTABLE_ARCH_SUPPORTS + bool + default y if (BR2_x86_64 && BR2_X86_CPU_HAS_SSE &&
BR2_X86_CPU_HAS_SSE2) || \Quoted 3 lines
package/darktable/Config.in line 9
Quoted 1 line
package/darktable/Config.in new file +1
-0+ BR2_aarch64BR2_X86_CPU_HAS_SSE2=y implies BR2_X86_CPU_HAS_SSE=y. So this is
equivalent to
Quoted 1 line
(
BR2_x86_64&&BR2_X86_CPU_HAS_SSE2) ||BR2_aarch64.
Quoted 7 lines
Hi,
maybe even simplier?
default y if BR2_aarch64 || BR2_x86_64All
x86_64CPUs have sse2 support, it started with the Pentium4.
Ok
Quoted 9 lines
Do we need the
BR2_PACKAGE_DARKTABLE_ARCH_SUPPORTSoption at all after this simplification?depends on !BR2_TOOLCHAIN_USES_MUSL
needs to be added as well since
https://git.buildroot.net/buildroot/commit/?
id=d887fde42540bb6079c66f72e1462bfcda402006
Thank for the info, Glibc or uClibc-ng dependency added!
Best regards,
Romain
Quoted 11 lines
The patch also needs a rebase, it does not apply cleanly against package/Config.in anymore.
Regards, Bernd
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot