Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 2/2] Compile Poppler over Qt
@ 2014-03-04 13:39 jeremie.scheer at armadeus.com
  2014-03-04 14:44 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: jeremie.scheer at armadeus.com @ 2014-03-04 13:39 UTC (permalink / raw)
  To: buildroot

From: Jeremie Scheer <jeremie.scheer@armadeus.com>


Signed-off-by: Jeremie Scheer <jeremie.scheer@armadeus.com>
---
 package/poppler/poppler.mk |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/package/poppler/poppler.mk b/package/poppler/poppler.mk
index 040327f..7dce7a0 100644
--- a/package/poppler/poppler.mk
+++ b/package/poppler/poppler.mk
@@ -7,10 +7,17 @@
 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
+
+ifeq ($(BR2_PACKAGE_QT),y)
+	POPPLER_DEPENDENCIES = qt fontconfig
+else
+	POPPLER_DEPENDENCIES = fontconfig
+	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] 3+ messages in thread

* [Buildroot] [PATCH 2/2] Compile Poppler over Qt
  2014-03-04 13:39 [Buildroot] [PATCH 2/2] Compile Poppler over Qt jeremie.scheer at armadeus.com
@ 2014-03-04 14:44 ` Thomas Petazzoni
  2014-03-26 10:35   ` Jeremie Scheer
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2014-03-04 14:44 UTC (permalink / raw)
  To: buildroot

Dear jeremie.scheer at armadeus.com,

On Tue,  4 Mar 2014 14:39:03 +0100, jeremie.scheer at armadeus.com wrote:
> From: Jeremie Scheer <jeremie.scheer@armadeus.com>
> 
> 
> Signed-off-by: Jeremie Scheer <jeremie.scheer@armadeus.com>
> ---
>  package/poppler/poppler.mk |    9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
> 
> diff --git a/package/poppler/poppler.mk b/package/poppler/poppler.mk
> index 040327f..7dce7a0 100644
> --- a/package/poppler/poppler.mk
> +++ b/package/poppler/poppler.mk
> @@ -7,10 +7,17 @@
>  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
> +
> +ifeq ($(BR2_PACKAGE_QT),y)
> +	POPPLER_DEPENDENCIES = qt fontconfig
> +else
> +	POPPLER_DEPENDENCIES = fontconfig
> +	POPPLER_CONF_OPT += --disable-poppler-qt4

Why isn't the fontconfig dependency part of the if, and not kept
outside, since it is not related to Qt ?

Also, if poppler has a --disable-poppler-qt4 in one case, it probably
has a --enable-poppler-qt4 option in the other case, no?

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [PATCH 2/2] Compile Poppler over Qt
  2014-03-04 14:44 ` Thomas Petazzoni
@ 2014-03-26 10:35   ` Jeremie Scheer
  0 siblings, 0 replies; 3+ messages in thread
From: Jeremie Scheer @ 2014-03-26 10:35 UTC (permalink / raw)
  To: buildroot

On 03/04/2014 03:44 PM, Thomas Petazzoni wrote:
> Dear jeremie.scheer at armadeus.com,
>
> On Tue,  4 Mar 2014 14:39:03 +0100, jeremie.scheer at armadeus.com wrote:
>> From: Jeremie Scheer <jeremie.scheer@armadeus.com>
>>
>>
>> Signed-off-by: Jeremie Scheer <jeremie.scheer@armadeus.com>
>> ---
>>  package/poppler/poppler.mk |    9 ++++++++-
>>  1 file changed, 8 insertions(+), 1 deletion(-)
>>
>> diff --git a/package/poppler/poppler.mk b/package/poppler/poppler.mk
>> index 040327f..7dce7a0 100644
>> --- a/package/poppler/poppler.mk
>> +++ b/package/poppler/poppler.mk
>> @@ -7,10 +7,17 @@
>>  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
>> +
>> +ifeq ($(BR2_PACKAGE_QT),y)
>> +	POPPLER_DEPENDENCIES = qt fontconfig
>> +else
>> +	POPPLER_DEPENDENCIES = fontconfig
>> +	POPPLER_CONF_OPT += --disable-poppler-qt4
> Why isn't the fontconfig dependency part of the if, and not kept
> outside, since it is not related to Qt ?
You're right, I will put it out of the Qt condition, as it is not
related to Qt.
>
> Also, if poppler has a --disable-poppler-qt4 in one case, it probably
> has a --enable-poppler-qt4 option in the other case, no?
No, there is no enable option for Qt4 compilation. By default, Poppler
tries to compile over Qt, but you can disable it with the
--disable-poppler-qt4 option.
>
> Thanks!
>
> Thomas


-- 
J?r?mie Scheer
Software Engineer
Tel: +33 (0)9 72 29 41 44
Fax: +33 (0)9 72 28 79 26
Armadeus Systems - A new vision of the embedded world
http://www.armadeus.com

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

end of thread, other threads:[~2014-03-26 10:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-04 13:39 [Buildroot] [PATCH 2/2] Compile Poppler over Qt jeremie.scheer at armadeus.com
2014-03-04 14:44 ` Thomas Petazzoni
2014-03-26 10:35   ` Jeremie Scheer

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