Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Add utilities to set background image in Fluxbox
@ 2011-10-12  9:13 yegorslists at googlemail.com
  2011-10-12  9:13 ` [Buildroot] [PATCH v3 1/3] New package: ImLib2 yegorslists at googlemail.com
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: yegorslists at googlemail.com @ 2011-10-12  9:13 UTC (permalink / raw)
  To: buildroot

Changes:
v3: change packe dependencies, so that both ImLib2 and feh depend on BR2_PACKAGE_XORG
v2: add libXext dependency to ImLib2

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH v3 1/3] New package: ImLib2
  2011-10-12  9:13 [Buildroot] Add utilities to set background image in Fluxbox yegorslists at googlemail.com
@ 2011-10-12  9:13 ` yegorslists at googlemail.com
  2011-10-13 22:18   ` Arnout Vandecappelle
  2011-10-12  9:13 ` [Buildroot] [PATCH v3 2/3] New package: giblib yegorslists at googlemail.com
  2011-10-12  9:13 ` [Buildroot] [PATCH v3 3/3] New package: feh yegorslists at googlemail.com
  2 siblings, 1 reply; 5+ messages in thread
From: yegorslists at googlemail.com @ 2011-10-12  9:13 UTC (permalink / raw)
  To: buildroot

From: Yegor Yefremov <yegorslists@googlemail.com>

Signed-off-by: Frederic Bassaler <frederic.bassaler@gmail.com>
Signed-off-by: Matias Garcia <mgarcia@rossvideo.com>
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
 package/Config.in        |    1 +
 package/imlib2/Config.in |   37 ++++++++++++++++++++++++++++
 package/imlib2/imlib2.mk |   60 ++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 98 insertions(+), 0 deletions(-)
 create mode 100644 package/imlib2/Config.in
 create mode 100644 package/imlib2/imlib2.mk

diff --git a/package/Config.in b/package/Config.in
index 7dc8887..7a7b4bf 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -282,6 +282,7 @@ source "package/fontconfig/Config.in"
 source "package/freetype/Config.in"
 source "package/gtk2-engines/Config.in"
 source "package/gtk2-themes/Config.in"
+source "package/imlib2/Config.in"
 source "package/jpeg/Config.in"
 source "package/libart/Config.in"
 source "package/libdrm/Config.in"
diff --git a/package/imlib2/Config.in b/package/imlib2/Config.in
new file mode 100644
index 0000000..e97df8f
--- /dev/null
+++ b/package/imlib2/Config.in
@@ -0,0 +1,37 @@
+config BR2_PACKAGE_IMLIB2
+	bool "imlib2"
+	help
+	  Imlib 2 is the successor to Imlib.
+
+	  http://freshmeat.net/projects/imlib2/
+
+if BR2_PACKAGE_IMLIB2
+
+config BR2_PACKAGE_IMLIB2_JPEG
+	select BR2_PACKAGE_JPEG
+	bool "JPEG support"
+
+config BR2_PACKAGE_IMLIB2_PNG
+	select BR2_PACKAGE_LIBPNG
+	bool "PNG support"
+
+config BR2_PACKAGE_IMLIB2_GIF
+	select BR2_PACKAGE_LIBUNGIF
+	bool "GIF support"
+
+config BR2_PACKAGE_IMLIB2_TIFF
+	select BR2_PACKAGE_TIFF
+	bool "TIFF support"
+
+config BR2_PACKAGE_IMLIB2_FREETYPE
+	select BR2_PACKAGE_FREETYPE
+	bool "FreeType support"
+
+config BR2_PACKAGE_IMLIB2_ID3
+	select BR2_PACKAGE_LIBID3TAG
+	bool "ID3 support"
+
+config BR2_PACKAGE_IMLIB2_X
+	depends on BR2_PACKAGE_XORG7
+	bool "X support"
+endif
diff --git a/package/imlib2/imlib2.mk b/package/imlib2/imlib2.mk
new file mode 100644
index 0000000..5a274ee
--- /dev/null
+++ b/package/imlib2/imlib2.mk
@@ -0,0 +1,60 @@
+#############################################################
+#
+## IMLIB2
+#
+##############################################################
+IMLIB2_VERSION = 1.4.5
+IMLIB2_SOURCE = imlib2-$(IMLIB2_VERSION).tar.bz2
+IMLIB2_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/project/enlightenment/imlib2-src/$(IMLIB2_VERSION)/
+IMLIB2_INSTALL_STAGING = YES
+IMLIB2_DEPENDENCIES = host-pkg-config
+
+ifeq ($(BR2_PACKAGE_IMLIB2_X),y)
+	IMLIB2_CONF_OPT += --with-x
+	IMLIB2_DEPENDENCIES += xlib_libX11 xlib_libXext
+endif
+
+ifeq ($(BR2_PACKAGE_IMLIB2_FREETYPE),y)
+	IMLIB2_CONF_OPT += --with-freetype-config=$(STAGING_DIR)/usr/bin/freetype-config
+	IMLIB2_DEPENDENCIES += freetype
+else
+	IMLIB2_CONF_OPT += --without-freetype
+endif
+
+ifeq ($(BR2_PACKAGE_IMLIB2_JPEG),y)
+	IMLIB2_CONF_OPT += --with-jpeg
+	IMLIB2_DEPENDENCIES += jpeg
+else
+	IMLIB2_CONF_OPT += --without-jpeg
+endif
+
+ifeq ($(BR2_PACKAGE_IMLIB2_PNG),y)
+	IMLIB2_CONF_OPT += --with-png
+	IMLIB2_DEPENDENCIES += libpng
+else
+	IMLIB2_CONF_OPT += --without-png
+endif
+
+ifeq ($(BR2_PACKAGE_IMLIB2_GIF),y)
+	IMLIB2_CONF_OPT += --with-gif
+	IMLIB2_DEPENDENCIES += libungif
+else
+	IMLIB2_CONF_OPT += --without-gif
+endif
+
+ifeq ($(BR2_PACKAGE_IMLIB2_TIFF),y)
+	IMLIB2_CONF_OPT += --with-tiff
+	IMLIB2_DEPENDENCIES += tiff
+else
+	IMLIB2_CONF_OPT += --without-tiff
+endif
+
+ifeq ($(BR2_PACKAGE_IMLIB2_ID3),y)
+	IMLIB2_CONF_OPT += --with-id3
+	IMLIB2_DEPENDENCIES += libid3tag
+else
+	IMLIB2_CONF_OPT += --without-id3
+endif
+
+$(eval $(call AUTOTARGETS))
+
-- 
1.7.1.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH v3 2/3] New package: giblib
  2011-10-12  9:13 [Buildroot] Add utilities to set background image in Fluxbox yegorslists at googlemail.com
  2011-10-12  9:13 ` [Buildroot] [PATCH v3 1/3] New package: ImLib2 yegorslists at googlemail.com
@ 2011-10-12  9:13 ` yegorslists at googlemail.com
  2011-10-12  9:13 ` [Buildroot] [PATCH v3 3/3] New package: feh yegorslists at googlemail.com
  2 siblings, 0 replies; 5+ messages in thread
From: yegorslists at googlemail.com @ 2011-10-12  9:13 UTC (permalink / raw)
  To: buildroot

From: Yegor Yefremov <yegorslists@googlemail.com>

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
 package/Config.in        |    1 +
 package/giblib/Config.in |    8 ++++++++
 package/giblib/giblib.mk |   15 +++++++++++++++
 3 files changed, 24 insertions(+), 0 deletions(-)
 create mode 100644 package/giblib/Config.in
 create mode 100644 package/giblib/giblib.mk

diff --git a/package/Config.in b/package/Config.in
index 7a7b4bf..7f82934 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -280,6 +280,7 @@ source "package/cairo/Config.in"
 source "package/fltk/Config.in"
 source "package/fontconfig/Config.in"
 source "package/freetype/Config.in"
+source "package/giblib/Config.in"
 source "package/gtk2-engines/Config.in"
 source "package/gtk2-themes/Config.in"
 source "package/imlib2/Config.in"
diff --git a/package/giblib/Config.in b/package/giblib/Config.in
new file mode 100644
index 0000000..0c704e1
--- /dev/null
+++ b/package/giblib/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_GIBLIB
+	bool "giblib"
+	select BR2_PACKAGE_IMLIB2
+	help
+	  Giblib is a simple library which wraps imlib2.
+
+	  http://linuxbrit.co.uk/giblib/
+
diff --git a/package/giblib/giblib.mk b/package/giblib/giblib.mk
new file mode 100644
index 0000000..8a868c5
--- /dev/null
+++ b/package/giblib/giblib.mk
@@ -0,0 +1,15 @@
+#############################################################
+#
+# giblib
+#
+#############################################################
+GIBLIB_VERSION = 1.2.4
+GIBLIB_SOURCE = giblib-$(GIBLIB_VERSION).tar.gz
+GIBLIB_SITE = http://linuxbrit.co.uk/downloads/
+GIBLIB_INSTALL_STAGING = YES
+GIBLIB_DEPENDENCIES = imlib2
+GIBLIB_CONF_OPT = --with-imlib2-prefix=$(STAGING)/usr/lib \
+		  --with-imlib2-exec-prefix=$(STAGING)/usr/bin
+
+$(eval $(call AUTOTARGETS))
+
-- 
1.7.1.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH v3 3/3] New package: feh
  2011-10-12  9:13 [Buildroot] Add utilities to set background image in Fluxbox yegorslists at googlemail.com
  2011-10-12  9:13 ` [Buildroot] [PATCH v3 1/3] New package: ImLib2 yegorslists at googlemail.com
  2011-10-12  9:13 ` [Buildroot] [PATCH v3 2/3] New package: giblib yegorslists at googlemail.com
@ 2011-10-12  9:13 ` yegorslists at googlemail.com
  2 siblings, 0 replies; 5+ messages in thread
From: yegorslists at googlemail.com @ 2011-10-12  9:13 UTC (permalink / raw)
  To: buildroot

From: Yegor Yefremov <yegorslists@googlemail.com>

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
 package/Config.in     |    1 +
 package/feh/Config.in |   12 ++++++++++++
 package/feh/feh.mk    |   22 ++++++++++++++++++++++
 3 files changed, 35 insertions(+), 0 deletions(-)
 create mode 100644 package/feh/Config.in
 create mode 100644 package/feh/feh.mk

diff --git a/package/Config.in b/package/Config.in
index 7f82934..b39f41b 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -133,6 +133,7 @@ source "package/fluxbox/Config.in"
 comment "X applications"
 source "package/alsamixergui/Config.in"
 source "package/docker/Config.in"
+source "package/feh/Config.in"
 source "package/gqview/Config.in"
 source "package/gmpc/Config.in"
 source "package/gob2/Config.in"
diff --git a/package/feh/Config.in b/package/feh/Config.in
new file mode 100644
index 0000000..24dc35e
--- /dev/null
+++ b/package/feh/Config.in
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_FEH
+	bool "feh"
+	depends on BR2_PACKAGE_XORG7
+	select BR2_PACKAGE_XLIB_LIBXINERAMA
+	select BR2_PACKAGE_XLIB_LIBXT
+	select BR2_PACKAGE_IMLIB2_PNG
+	select BR2_PACKAGE_GIBLIB
+	select BR2_PACKAGE_LIBCURL
+	help
+	  feh is an X11 image viewer aimed mostly at console users.
+
+	  http://feh.finalrewind.org/
diff --git a/package/feh/feh.mk b/package/feh/feh.mk
new file mode 100644
index 0000000..b59bb2f
--- /dev/null
+++ b/package/feh/feh.mk
@@ -0,0 +1,22 @@
+FEH_VERSION = 2.0
+FEH_SOURCE = feh-$(FEH_VERSION).tar.bz2
+FEH_SITE = http://feh.finalrewind.org/
+FEH_DEPENDENCIES = libcurl giblib imlib2 libpng xlib_libXinerama xlib_libXt
+
+define FEH_BUILD_CMDS
+	$(MAKE1) CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS)" \
+		-C $(@D) all
+endef
+
+define FEH_INSTALL_TARGET_CMDS
+	$(MAKE1) CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) " \
+		DESTDIR=$(TARGET_DIR) -C $(@D) install
+endef
+
+define FEH_UNINSTALL_TARGET_CMDS
+	$(MAKE1) CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) " \
+		DESTDIR=$(TARGET_DIR) -C $(@D) uninstall
+endef
+
+$(eval $(call GENTARGETS))
+
-- 
1.7.1.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH v3 1/3] New package: ImLib2
  2011-10-12  9:13 ` [Buildroot] [PATCH v3 1/3] New package: ImLib2 yegorslists at googlemail.com
@ 2011-10-13 22:18   ` Arnout Vandecappelle
  0 siblings, 0 replies; 5+ messages in thread
From: Arnout Vandecappelle @ 2011-10-13 22:18 UTC (permalink / raw)
  To: buildroot

 [Will this discussion ever end? :-P ]

On Wednesday 12 October 2011 11:13:56, yegorslists at googlemail.com wrote:
[snip]
> +config BR2_PACKAGE_IMLIB2_X
> +	depends on BR2_PACKAGE_XORG7
[snip]
> +	IMLIB2_DEPENDENCIES += xlib_libX11 xlib_libXext

 If you ask me, dependencies in Config.in and in pkg.mk should be consistent.
So do select these two libraries in the Config.in (yes, all two of them, just in case that the dependency of Xext on X11 disappears some day; not that that's very likely).  The dependency on XORG7 should stay of course.

 I'm not sure if there should also be a comment that XORG7 needs to be
selected for the X backend.


 Regards,
 Arnout
-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
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:  31BB CF53 8660 6F88 345D  54CC A836 5879 20D7 CF43
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20111014/e942715e/attachment-0001.html>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-10-13 22:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-12  9:13 [Buildroot] Add utilities to set background image in Fluxbox yegorslists at googlemail.com
2011-10-12  9:13 ` [Buildroot] [PATCH v3 1/3] New package: ImLib2 yegorslists at googlemail.com
2011-10-13 22:18   ` Arnout Vandecappelle
2011-10-12  9:13 ` [Buildroot] [PATCH v3 2/3] New package: giblib yegorslists at googlemail.com
2011-10-12  9:13 ` [Buildroot] [PATCH v3 3/3] New package: feh yegorslists at googlemail.com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox