Skip to contentSkip to conversation

package/ghostscript: add cups support

PATCH New Alexey Lukyanchuk 2 participants 5 messages May 1, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/ghostscript: add cups support

Ghostscript can be used for cups printing.

In current version it's disabled, but may be needed for some customers.

This patch add cups support if cups enabled.

---
 package/ghostscript/ghostscript.mk | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
package/ghostscript/ghostscript.mk +9 -1
index 1d6f8d04a0..7d12195f17 100644
@@ -39,7 +39,6 @@ GHOSTSCRIPT_CONF_ENV = \
 
 GHOSTSCRIPT_CONF_OPTS = \
 	--disable-compile-inits \
-	--disable-cups \
 	--enable-fontconfig \
 	--with-fontpath=/usr/share/fonts \
 	--enable-freetype \
@@ -68,6 +67,15 @@ else
 GHOSTSCRIPT_CONF_OPTS += --disable-openjpeg
 endif
 
+ifeq ($(BR2_PACKAGE_CUPS),y)
+GHOSTSCRIPT_DEPENDENCIES += cups
+GHOSTSCRIPT_CONF_OPTS  += \
+	CUPSCONFIG=$(STAGING_DIR)/usr/bin/cups-config \
+	--enable-cups
+else
+GHOSTSCRIPT_CONF_OPTS += --disable-cups
+endif
+
 ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
 GHOSTSCRIPT_DEPENDENCIES += xlib_libX11
 GHOSTSCRIPT_CONF_OPTS += --with-x
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 package/ghostscript: add cups support

Alexey, All,

On 2020-05-01 18:49 +0300, Alexey Lukyanchuk spake thusly:

Quoted 7 lines

Ghostscript can be used for cups printing.

In current version it's disabled, but may be needed for some customers.

This patch add cups support if cups enabled.

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 39 lines
---
 package/ghostscript/ghostscript.mk | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
package/ghostscript/ghostscript.mk +9 -1
index 1d6f8d04a0..7d12195f17 100644
@@ -39,7 +39,6 @@ GHOSTSCRIPT_CONF_ENV = \
 
 GHOSTSCRIPT_CONF_OPTS = \
 	--disable-compile-inits \
-	--disable-cups \
 	--enable-fontconfig \
 	--with-fontpath=/usr/share/fonts \
 	--enable-freetype \
@@ -68,6 +67,15 @@ else
 GHOSTSCRIPT_CONF_OPTS += --disable-openjpeg
 endif
 
+ifeq ($(BR2_PACKAGE_CUPS),y)
+GHOSTSCRIPT_DEPENDENCIES += cups
+GHOSTSCRIPT_CONF_OPTS  += \
+	CUPSCONFIG=$(STAGING_DIR)/usr/bin/cups-config \
+	--enable-cups
+else
+GHOSTSCRIPT_CONF_OPTS += --disable-cups
+endif
+
 ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
 GHOSTSCRIPT_DEPENDENCIES += xlib_libX11
 GHOSTSCRIPT_CONF_OPTS += --with-x
Signature · 6 lines
2.17.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH 1/1 package/ghostscript: add cups support

Yann, All,

I glad to see it, thanks!

Maybe, you can look my patch for zabbix-adding? It's submitted in April, but looks find on my sistem last 4 month

--?
Regards,
Alexey Lukyanchuk
skif at skif-web.ru

01.05.2020, 22:50, "Yann E. MORIN" <[email protected]>:

Quoted 63 lines

Alexey, All,

On 2020-05-01 18:49 +0300, Alexey Lukyanchuk spake thusly:

Quoted 7 lines

?Ghostscript can be used for cups printing.

?In current version it's disabled, but may be needed for some customers.

?This patch add cups support if cups enabled.

?Signed-off-by: Alexey Lukyanchuk <[email protected]>

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 35 lines

?---
??package/ghostscript/ghostscript.mk | 10 +++++++++- ??1 file changed, 9 insertions(+), 1 deletion(-)

?diff --git a/package/ghostscript/ghostscript.mk b/package/ghostscript/ghostscript.mk ?index 1d6f8d04a0..7d12195f17 100644
?--- a/package/ghostscript/ghostscript.mk
?+++ b/package/ghostscript/ghostscript.mk
?@@ -39,7 +39,6 @@ GHOSTSCRIPT_CONF_ENV = \

??GHOSTSCRIPT_CONF_OPTS = \
??????????--disable-compile-inits \
?- --disable-cups \
??????????--enable-fontconfig \
??????????--with-fontpath=/usr/share/fonts \
??????????--enable-freetype \
?@@ -68,6 +67,15 @@ else
??GHOSTSCRIPT_CONF_OPTS += --disable-openjpeg
??endif

?+ifeq ($(BR2_PACKAGE_CUPS),y) ?+GHOSTSCRIPT_DEPENDENCIES += cups ?+GHOSTSCRIPT_CONF_OPTS += \
?+ CUPSCONFIG=$(STAGING_DIR)/usr/bin/cups-config \
?+ --enable-cups
?+else
?+GHOSTSCRIPT_CONF_OPTS += --disable-cups ?+endif
?+
??ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y) ??GHOSTSCRIPT_DEPENDENCIES += xlib_libX11 ??GHOSTSCRIPT_CONF_OPTS += --with-x
?--
?2.17.1

Quoted 4 lines

?_______________________________________________ ?buildroot mailing list
?buildroot at busybox.net ?http://lists.busybox.net/mailman/listinfo/buildroot

--
.-----------------.--------------------.------------------.--------------------.

| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |

'------------------------------^-------^------------------^--------------------'

#3 lore raw

PATCH 1/1 package/ghostscript: add cups support

Alexey, All,

On 2020-05-01 23:06 +0300, Alexey Lukyanchuk spake thusly:

Quoted 2 lines

Maybe, you can look my patch for zabbix-adding? It's submitted in April, but looks find on my sistem last 4 month

Thing is, we still have ~371 patches as I write this:
https://patchwork.ozlabs.org/project/buildroot/list/

So we have to pick things one by one, and it takes time... As long as your patch is still on the list, it is not forgotten. We're not removing patches without replying to the author anyway, whether we apply it of refuse it or have comments...

Regards,
Yann E. MORIN.

Quoted 71 lines

--?
Regards,
Alexey Lukyanchuk
skif at skif-web.ru

01.05.2020, 22:50, "Yann E. MORIN" <[email protected]>:

Quoted 63 lines

Alexey, All,

On 2020-05-01 18:49 +0300, Alexey Lukyanchuk spake thusly:

Quoted 7 lines

?Ghostscript can be used for cups printing.

?In current version it's disabled, but may be needed for some customers.

?This patch add cups support if cups enabled.

?Signed-off-by: Alexey Lukyanchuk <[email protected]>

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 35 lines

?---
??package/ghostscript/ghostscript.mk | 10 +++++++++- ??1 file changed, 9 insertions(+), 1 deletion(-)

?diff --git a/package/ghostscript/ghostscript.mk b/package/ghostscript/ghostscript.mk ?index 1d6f8d04a0..7d12195f17 100644
?--- a/package/ghostscript/ghostscript.mk
?+++ b/package/ghostscript/ghostscript.mk
?@@ -39,7 +39,6 @@ GHOSTSCRIPT_CONF_ENV = \

??GHOSTSCRIPT_CONF_OPTS = \
??????????--disable-compile-inits \
?- --disable-cups \
??????????--enable-fontconfig \
??????????--with-fontpath=/usr/share/fonts \
??????????--enable-freetype \
?@@ -68,6 +67,15 @@ else
??GHOSTSCRIPT_CONF_OPTS += --disable-openjpeg
??endif

?+ifeq ($(BR2_PACKAGE_CUPS),y) ?+GHOSTSCRIPT_DEPENDENCIES += cups ?+GHOSTSCRIPT_CONF_OPTS += \
?+ CUPSCONFIG=$(STAGING_DIR)/usr/bin/cups-config \
?+ --enable-cups
?+else
?+GHOSTSCRIPT_CONF_OPTS += --disable-cups ?+endif
?+
??ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y) ??GHOSTSCRIPT_DEPENDENCIES += xlib_libX11 ??GHOSTSCRIPT_CONF_OPTS += --with-x
?--
?2.17.1

Quoted 4 lines

?_______________________________________________ ?buildroot mailing list
?buildroot at busybox.net ?http://lists.busybox.net/mailman/listinfo/buildroot

--
.-----------------.--------------------.------------------.--------------------.

| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |

'------------------------------^-------^------------------^--------------------'

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#4 lore raw

PATCH 1/1 package/ghostscript: add cups support

Yann, All,

Sorry for question, I will wait

--?
Regards,
Alexey Lukyanchuk
skif at skif-web.ru

01.05.2020, 23:21, "Yann E. MORIN" <[email protected]>:

Quoted 94 lines

Alexey, All,

On 2020-05-01 23:06 +0300, Alexey Lukyanchuk spake thusly:

Quoted 2 lines

?Maybe, you can look my patch for zabbix-adding? It's submitted in ?April, but looks find on my sistem last 4 month

Thing is, we still have ~371 patches as I write this:
????https://patchwork.ozlabs.org/project/buildroot/list/

So we have to pick things one by one, and it takes time... As long as your patch is still on the list, it is not forgotten. We're not removing patches without replying to the author anyway, whether we apply it of refuse it or have comments...

Regards,
Yann E. MORIN.

Quoted 64 lines

?--
?Regards,
?Alexey Lukyanchuk
?skif at skif-web.ru

?01.05.2020, 22:50, "Yann E. MORIN" <[email protected]>:
?> Alexey, All,
?>
?> On 2020-05-01 18:49 +0300, Alexey Lukyanchuk spake thusly:
?>> ?Ghostscript can be used for cups printing.
?>>
?>> ?In current version it's disabled, but may be needed for some customers. ?>>
?>> ?This patch add cups support if cups enabled.
?>>
?>> ?Signed-off-by: Alexey Lukyanchuk <[email protected]>
?>
?> Applied to master, thanks.
?>
?> Regards,
?> Yann E. MORIN.
?>
?>> ?---
?>> ??package/ghostscript/ghostscript.mk | 10 +++++++++-
?>> ??1 file changed, 9 insertions(+), 1 deletion(-)
?>>
?>> ?diff --git a/package/ghostscript/ghostscript.mk b/package/ghostscript/ghostscript.mk ?>> ?index 1d6f8d04a0..7d12195f17 100644
?>> ?--- a/package/ghostscript/ghostscript.mk
?>> ?+++ b/package/ghostscript/ghostscript.mk
?>> ?@@ -39,7 +39,6 @@ GHOSTSCRIPT_CONF_ENV = \
?>>
?>> ??GHOSTSCRIPT_CONF_OPTS = \
?>> ??????????--disable-compile-inits \
?>> ?- --disable-cups \
?>> ??????????--enable-fontconfig \
?>> ??????????--with-fontpath=/usr/share/fonts \
?>> ??????????--enable-freetype \
?>> ?@@ -68,6 +67,15 @@ else
?>> ??GHOSTSCRIPT_CONF_OPTS += --disable-openjpeg
?>> ??endif
?>>
?>> ?+ifeq ($(BR2_PACKAGE_CUPS),y)
?>> ?+GHOSTSCRIPT_DEPENDENCIES += cups
?>> ?+GHOSTSCRIPT_CONF_OPTS += \
?>> ?+ CUPSCONFIG=$(STAGING_DIR)/usr/bin/cups-config \
?>> ?+ --enable-cups
?>> ?+else
?>> ?+GHOSTSCRIPT_CONF_OPTS += --disable-cups
?>> ?+endif
?>> ?+
?>> ??ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
?>> ??GHOSTSCRIPT_DEPENDENCIES += xlib_libX11
?>> ??GHOSTSCRIPT_CONF_OPTS += --with-x
?>> ?--
?>> ?2.17.1
?>>
?>> ?_______________________________________________
?>> ?buildroot mailing list
?>> ?buildroot at busybox.net
?>> ?http://lists.busybox.net/mailman/listinfo/buildroot
?>
?> --
?> .-----------------.--------------------.------------------.--------------------.

Quoted 5 lines
?> | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
?> | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
?> | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
?> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |

?> '------------------------------^-------^------------------^--------------------'

--
.-----------------.--------------------.------------------.--------------------.

| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |

'------------------------------^-------^------------------^--------------------'