* [Buildroot] [PATCH v2] Compile Poppler over Qt
@ 2014-04-01 9:43 jeremie.scheer at armadeus.com
2014-04-06 10:02 ` Thomas Petazzoni
0 siblings, 1 reply; 6+ messages in thread
From: jeremie.scheer at armadeus.com @ 2014-04-01 9:43 UTC (permalink / raw)
To: buildroot
From: Jeremie Scheer <jeremie.scheer@armadeus.com>
Signed-off-by: Jeremie Scheer <jeremie.scheer@armadeus.com>
---
Changes since v1:
- Remove dependencies that doesn't depend on Qt from Qt package condition
package/poppler/poppler.mk | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/package/poppler/poppler.mk b/package/poppler/poppler.mk
index 040327f..386e7b8 100644
--- a/package/poppler/poppler.mk
+++ b/package/poppler/poppler.mk
@@ -7,10 +7,18 @@
POPPLER_VERSION = 0.24.4
POPPLER_SOURCE = poppler-$(POPPLER_VERSION).tar.xz
POPPLER_SITE = http://poppler.freedesktop.org
-POPPLER_DEPENDENCIES = fontconfig
POPPLER_LICENSE = GPLv2+
POPPLER_LICENSE_FILES = COPYING
POPPLER_CONF_OPT = --with-font-configuration=fontconfig
+POPPLER_INSTALL_STAGING = YES
+
+POPPLER_DEPENDENCIES = fontconfig
+
+ifeq ($(BR2_PACKAGE_QT),y)
+ POPPLER_DEPENDENCIES += qt
+else
+ POPPLER_CONF_OPT += --disable-poppler-qt4
+endif
ifeq ($(BR2_PACKAGE_LCMS2),y)
POPPLER_CONF_OPT += --enable-cms=lcms2
--
1.7.9.5
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH v2] Compile Poppler over Qt
2014-04-01 9:43 [Buildroot] [PATCH v2] Compile Poppler over Qt jeremie.scheer at armadeus.com
@ 2014-04-06 10:02 ` Thomas Petazzoni
2014-10-12 19:56 ` [Buildroot] [PATCH 0/2] Updates to Poppler Alan Ott
0 siblings, 1 reply; 6+ messages in thread
From: Thomas Petazzoni @ 2014-04-06 10:02 UTC (permalink / raw)
To: buildroot
Hello,
The title of your commit should be:
poppler: allow building Qt support
i.e we always want to have the commit titles to look like:
<name of the package>: <what is going on>
On Tue, 1 Apr 2014 11:43:19 +0200, jeremie.scheer at armadeus.com wrote:
> diff --git a/package/poppler/poppler.mk b/package/poppler/poppler.mk
> index 040327f..386e7b8 100644
> --- a/package/poppler/poppler.mk
> +++ b/package/poppler/poppler.mk
> @@ -7,10 +7,18 @@
> POPPLER_VERSION = 0.24.4
> POPPLER_SOURCE = poppler-$(POPPLER_VERSION).tar.xz
> POPPLER_SITE = http://poppler.freedesktop.org
> -POPPLER_DEPENDENCIES = fontconfig
> POPPLER_LICENSE = GPLv2+
> POPPLER_LICENSE_FILES = COPYING
> POPPLER_CONF_OPT = --with-font-configuration=fontconfig
> +POPPLER_INSTALL_STAGING = YES
The commit log should indicate why this is added.
> +
> +POPPLER_DEPENDENCIES = fontconfig
> +
> +ifeq ($(BR2_PACKAGE_QT),y)
> + POPPLER_DEPENDENCIES += qt
> +else
> + POPPLER_CONF_OPT += --disable-poppler-qt4
> +endif
This doesn't really work: BR2_PACKAGE_QT is not sufficient, it also
needs QtGui and QtXml. From the Poppler configure.ac:
PKG_CHECK_MODULES(POPPLER_QT4,
QtCore >= 4.4.0 QtGui >= 4.4.0 QtXml >= 4.4.0)
So maybe I would suggest to instead add a Config.in option that looks
like this:
config BR2_PACKAGE_POPPLER_QT
bool "qt support"
depends on BR2_PACKAGE_QT
select BR2_PACKAGE_QT_GUI
select BR2_PACKAGE_QT_XML
help
Some help text
and then in poppler.mk, do:
ifeq ($(BR2_PACKAGE_POPPLER_QT),y)
POPPLER_DEPENDENCIES += qt
POPPLER_CONF_OPT += --enable-poppler-qt4
else
POPPLER_CONF_OPT += --disable-poppler-qt4
endif
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 0/2] Updates to Poppler
2014-04-06 10:02 ` Thomas Petazzoni
@ 2014-10-12 19:56 ` Alan Ott
2014-10-12 19:56 ` [Buildroot] [PATCH 1/2] poppler: Add option for Qt support Alan Ott
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Alan Ott @ 2014-10-12 19:56 UTC (permalink / raw)
To: buildroot
These changes were proposed by Jeremie Scheer <jeremie.scheer@armadeus.com>
earlier this year.
Alan Ott (2):
poppler: Add option for Qt support
poppler: Install files into staging
package/poppler/Config.in | 9 +++++++++
package/poppler/poppler.mk | 8 ++++++++
2 files changed, 17 insertions(+)
--
2.1.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 1/2] poppler: Add option for Qt support
2014-10-12 19:56 ` [Buildroot] [PATCH 0/2] Updates to Poppler Alan Ott
@ 2014-10-12 19:56 ` Alan Ott
2014-10-12 19:56 ` [Buildroot] [PATCH 2/2] poppler: Install files into staging Alan Ott
2014-12-09 23:08 ` [Buildroot] [PATCH 0/2] Updates to Poppler Thomas Petazzoni
2 siblings, 0 replies; 6+ messages in thread
From: Alan Ott @ 2014-10-12 19:56 UTC (permalink / raw)
To: buildroot
Add an option to build the libpoppler-qt4 library.
Signed-off-by: Alan Ott <alan@signal11.us>
Suggested-by: Jeremie Scheer <jeremie.scheer@armadeus.com>
---
package/poppler/Config.in | 9 +++++++++
package/poppler/poppler.mk | 7 +++++++
2 files changed, 16 insertions(+)
diff --git a/package/poppler/Config.in b/package/poppler/Config.in
index fce296d..08cceb0 100644
--- a/package/poppler/Config.in
+++ b/package/poppler/Config.in
@@ -10,5 +10,14 @@ config BR2_PACKAGE_POPPLER
http://poppler.freedesktop.org/
+config BR2_PACKAGE_POPPLER_QT
+ bool "Qt support for poppler"
+ depends on BR2_PACKAGE_POPPLER
+ depends on BR2_PACKAGE_QT
+ select BR2_PACKAGE_QT_GUI
+ select BR2_PACKAGE_QT_XML
+ help
+ Build Qt support into the Poppler library
+
comment "poppler needs a toolchain w/ C++, threads"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/poppler/poppler.mk b/package/poppler/poppler.mk
index e4fee3f..a52b079 100644
--- a/package/poppler/poppler.mk
+++ b/package/poppler/poppler.mk
@@ -61,4 +61,11 @@ else
POPPLER_CONF_OPTS += --without-x
endif
+ifeq ($(BR2_PACKAGE_POPPLER_QT),y)
+ POPPLER_DEPENDENCIES += qt
+ POPPLER_CONF_OPTS += --enable-poppler-qt4
+else
+ POPPLER_CONF_OPTS += --disable-poppler-qt4
+endif
+
$(eval $(autotools-package))
--
2.1.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 2/2] poppler: Install files into staging
2014-10-12 19:56 ` [Buildroot] [PATCH 0/2] Updates to Poppler Alan Ott
2014-10-12 19:56 ` [Buildroot] [PATCH 1/2] poppler: Add option for Qt support Alan Ott
@ 2014-10-12 19:56 ` Alan Ott
2014-12-09 23:08 ` [Buildroot] [PATCH 0/2] Updates to Poppler Thomas Petazzoni
2 siblings, 0 replies; 6+ messages in thread
From: Alan Ott @ 2014-10-12 19:56 UTC (permalink / raw)
To: buildroot
Install poppler's header files into staging.
Signed-off-by: Alan Ott <alan@signal11.us>
Suggested-by: Jeremie Scheer <jeremie.scheer@armadeus.com>
---
package/poppler/poppler.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/poppler/poppler.mk b/package/poppler/poppler.mk
index a52b079..a972325 100644
--- a/package/poppler/poppler.mk
+++ b/package/poppler/poppler.mk
@@ -10,6 +10,7 @@ POPPLER_SITE = http://poppler.freedesktop.org
POPPLER_DEPENDENCIES = fontconfig
POPPLER_LICENSE = GPLv2+
POPPLER_LICENSE_FILES = COPYING
+POPPLER_INSTALL_STAGING = YES
POPPLER_CONF_OPTS = --with-font-configuration=fontconfig
ifeq ($(BR2_PACKAGE_LCMS2),y)
--
2.1.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 0/2] Updates to Poppler
2014-10-12 19:56 ` [Buildroot] [PATCH 0/2] Updates to Poppler Alan Ott
2014-10-12 19:56 ` [Buildroot] [PATCH 1/2] poppler: Add option for Qt support Alan Ott
2014-10-12 19:56 ` [Buildroot] [PATCH 2/2] poppler: Install files into staging Alan Ott
@ 2014-12-09 23:08 ` Thomas Petazzoni
2 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2014-12-09 23:08 UTC (permalink / raw)
To: buildroot
Dear Alan Ott,
On Sun, 12 Oct 2014 15:56:51 -0400, Alan Ott wrote:
> These changes were proposed by Jeremie Scheer <jeremie.scheer@armadeus.com>
> earlier this year.
>
> Alan Ott (2):
> poppler: Add option for Qt support
> poppler: Install files into staging
>
> package/poppler/Config.in | 9 +++++++++
> package/poppler/poppler.mk | 8 ++++++++
> 2 files changed, 17 insertions(+)
Thanks, both patches committed. I've done some minor changes on the
first patch in the Config.in file, see:
http://git.buildroot.net/buildroot/commit/?id=fb79843453704ae68cf8d91e2a9cd5359d0b1027
http://git.buildroot.net/buildroot/commit/?id=ed592d6e02275c4402f477693195d941a481e67d
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-12-09 23:08 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-01 9:43 [Buildroot] [PATCH v2] Compile Poppler over Qt jeremie.scheer at armadeus.com
2014-04-06 10:02 ` Thomas Petazzoni
2014-10-12 19:56 ` [Buildroot] [PATCH 0/2] Updates to Poppler Alan Ott
2014-10-12 19:56 ` [Buildroot] [PATCH 1/2] poppler: Add option for Qt support Alan Ott
2014-10-12 19:56 ` [Buildroot] [PATCH 2/2] poppler: Install files into staging Alan Ott
2014-12-09 23:08 ` [Buildroot] [PATCH 0/2] Updates to Poppler Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox