Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] Added package enscript
@ 2013-03-17 15:59 Olivier Schonken
  2013-03-17 15:59 ` [Buildroot] [PATCH 2/2] Added package foomatic-filters Olivier Schonken
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Olivier Schonken @ 2013-03-17 15:59 UTC (permalink / raw)
  To: buildroot

GNU Enscript is a free replacement for Adobe's enscript program.
GNU Enscript converts ASCII files to PostScript, HTML, or RTF and
stores generated output to a file or sends it directly to the
printer. It includes features for `pretty-printing' (language-
sensitive code highlighting) in several programming languages.

Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
---
 package/Config.in            |    1 +
 package/enscript/Config.in   |   13 +++++++++++++
 package/enscript/enscript.mk |   20 ++++++++++++++++++++
 3 files changed, 34 insertions(+)
 create mode 100644 package/enscript/Config.in
 create mode 100644 package/enscript/enscript.mk

diff --git a/package/Config.in b/package/Config.in
index 4cf71d6..78bd745 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -292,6 +292,7 @@ endmenu
 
 menu "Interpreter languages and scripting"
 source "package/erlang/Config.in"
+source "package/enscript/Config.in"
 source "package/haserl/Config.in"
 source "package/jamvm/Config.in"
 source "package/lua/Config.in"
diff --git a/package/enscript/Config.in b/package/enscript/Config.in
new file mode 100644
index 0000000..5198da9
--- /dev/null
+++ b/package/enscript/Config.in
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_ENSCRIPT
+	bool "enscript"
+	select BR2_PACKAGE_GETTEXT
+	help
+	   GNU Enscript is a free replacement for Adobe's enscript program.
+
+	   GNU Enscript converts ASCII files to PostScript, HTML, or RTF and 
+	   stores generated output to a file or sends it directly to the 
+	   printer. It includes features for `pretty-printing' (language-
+	   sensitive code highlighting) in several programming languages. 
+	  
+	   http://www.gnu.org/software/enscript
+
diff --git a/package/enscript/enscript.mk b/package/enscript/enscript.mk
new file mode 100644
index 0000000..29fd6d4
--- /dev/null
+++ b/package/enscript/enscript.mk
@@ -0,0 +1,20 @@
+#############################################################
+#
+# enscript
+#
+#############################################################
+ENSCRIPT_VERSION = 1.6.6
+ENSCRIPT_SITE = $(BR2_GNU_MIRROR)/enscript/
+ENSCRIPT_SOURCE = enscript-$(ENSCRIPT_VERSION).tar.gz
+ENSCRIPT_DEPENDENCIES = 
+ENSCRIPT_LICENSE = GPLv3
+ENSCRIPT_LICENSE_FILES = COPYING
+
+#Enable pthread threads if toolchain supports threads
+ifeq ($(BR2_TOOLCHAIN_HAS_THREADS), y)
+	ENSCRIPT_CONF_OPT += --enable-threads=pth
+else
+	ENSCRIPT_CONF_OPT += --disable-threads
+endif
+
+$(eval $(autotools-package))
-- 
1.7.10.4

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

* [Buildroot] [PATCH 2/2] Added package foomatic-filters
  2013-03-17 15:59 [Buildroot] [PATCH 1/2] Added package enscript Olivier Schonken
@ 2013-03-17 15:59 ` Olivier Schonken
  2013-03-17 20:04 ` [Buildroot] [PATCH 1/2] Added package enscript Olivier Schonken
  2013-03-18 16:34 ` Thomas Petazzoni
  2 siblings, 0 replies; 4+ messages in thread
From: Olivier Schonken @ 2013-03-17 15:59 UTC (permalink / raw)
  To: buildroot

Foomatic is a database-driven system for integrating free software
printer drivers with common spoolers under Unix. It supports CUPS,
LPRng, LPD, GNUlpr, Solaris LP, PPR, PDQ, CPS, and direct printing
with every free software printer driver known to us and every
printer known to work with these drivers.

Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
---
 package/Config.in                            |    1 +
 package/foomatic-filters/Config.in           |   14 ++++++++++++++
 package/foomatic-filters/foomatic-filters.mk |   22 ++++++++++++++++++++++
 3 files changed, 37 insertions(+)
 create mode 100644 package/foomatic-filters/Config.in
 create mode 100644 package/foomatic-filters/foomatic-filters.mk

diff --git a/package/Config.in b/package/Config.in
index 78bd745..f8866a5 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -635,6 +635,7 @@ source "package/ctorrent/Config.in"
 source "package/conntrack-tools/Config.in"
 menu "cups (common unix printing system)"
 source "package/cups/Config.in"
+source "package/foomatic-filters/Config.in"
 source "package/hplip/Config.in"
 endmenu #cups
 if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
diff --git a/package/foomatic-filters/Config.in b/package/foomatic-filters/Config.in
new file mode 100644
index 0000000..ab9eb48
--- /dev/null
+++ b/package/foomatic-filters/Config.in
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_FOOMATIC_FILTERS
+	bool "foomatic_filters"
+	depends on BR2_PACKAGE_CUPS
+	select BR2_PACKAGE_LIBUSB
+	select BR2_PACKAGE_ENSCRIPT
+	help
+	  Foomatic Filters
+	  Foomatic is a database-driven system for integrating free software 
+	  printer drivers with common spoolers under Unix. It supports CUPS, 
+	  LPRng, LPD, GNUlpr, Solaris LP, PPR, PDQ, CPS, and direct printing 
+	  with every free software printer driver known to us and every 
+	  printer known to work with these drivers.
+	  
+	  http://www.linuxfoundation.org/tags/openprinting
diff --git a/package/foomatic-filters/foomatic-filters.mk b/package/foomatic-filters/foomatic-filters.mk
new file mode 100644
index 0000000..5003a17
--- /dev/null
+++ b/package/foomatic-filters/foomatic-filters.mk
@@ -0,0 +1,22 @@
+#############################################################
+#
+# foomatic_filters
+#
+#############################################################
+FOOMATIC_FILTERS_VERSION = 4.0.17
+FOOMATIC_FILTERS_SITE = http://www.openprinting.org/download/foomatic/
+FOOMATIC_FILTERS_AUTORECONF = YES
+FOOMATIC_FILTERS_SOURCE = foomatic-filters-$(FOOMATIC_FILTERS_VERSION).tar.gz
+FOOMATIC_FILTERS_DEPENDENCIES = cups libusb enscript
+FOOMATIC_FILTERS_LICENSE = GPLv2
+FOOMATIC_FILTERS_LICENSE_FILES = COPYING
+FOOMATIC_FILTERS_CONF_OPT = --with-file-converter=enscript
+
+ifeq ($(BR2_PACKAGE_DBUS),y)
+	FOOMATIC_FILTERS_CONF_OPT += --enable-dbus 
+	FOOMATIC_FILTERS_DEPENDENCIES += dbus
+else
+	FOOMATIC_FILTERS_CONF_OPT += --disable-dbus  
+endif
+
+$(eval $(autotools-package))
-- 
1.7.10.4

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

* [Buildroot] [PATCH 1/2] Added package enscript
  2013-03-17 15:59 [Buildroot] [PATCH 1/2] Added package enscript Olivier Schonken
  2013-03-17 15:59 ` [Buildroot] [PATCH 2/2] Added package foomatic-filters Olivier Schonken
@ 2013-03-17 20:04 ` Olivier Schonken
  2013-03-18 16:34 ` Thomas Petazzoni
  2 siblings, 0 replies; 4+ messages in thread
From: Olivier Schonken @ 2013-03-17 20:04 UTC (permalink / raw)
  To: buildroot

GNU Enscript is a free replacement for Adobe's enscript program.
GNU Enscript converts ASCII files to PostScript, HTML, or RTF and
stores generated output to a file or sends it directly to the
printer. It includes features for `pretty-printing' (language-
sensitive code highlighting) in several programming languages.

Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
---
Changelog
Removed Selection of GETTEXT_PACKAGE in Config.in

 package/Config.in            |    1 +
 package/enscript/Config.in   |   12 ++++++++++++
 package/enscript/enscript.mk |   20 ++++++++++++++++++++
 3 files changed, 33 insertions(+)
 create mode 100644 package/enscript/Config.in
 create mode 100644 package/enscript/enscript.mk

diff --git a/package/Config.in b/package/Config.in
index 4cf71d6..78bd745 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -292,6 +292,7 @@ endmenu
 
 menu "Interpreter languages and scripting"
 source "package/erlang/Config.in"
+source "package/enscript/Config.in"
 source "package/haserl/Config.in"
 source "package/jamvm/Config.in"
 source "package/lua/Config.in"
diff --git a/package/enscript/Config.in b/package/enscript/Config.in
new file mode 100644
index 0000000..7c824dd
--- /dev/null
+++ b/package/enscript/Config.in
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_ENSCRIPT
+	bool "enscript"
+	help
+	   GNU Enscript is a free replacement for Adobe's enscript program.
+
+	   GNU Enscript converts ASCII files to PostScript, HTML, or RTF and 
+	   stores generated output to a file or sends it directly to the 
+	   printer. It includes features for `pretty-printing' (language-
+	   sensitive code highlighting) in several programming languages. 
+	  
+	   http://www.gnu.org/software/enscript
+
diff --git a/package/enscript/enscript.mk b/package/enscript/enscript.mk
new file mode 100644
index 0000000..29fd6d4
--- /dev/null
+++ b/package/enscript/enscript.mk
@@ -0,0 +1,20 @@
+#############################################################
+#
+# enscript
+#
+#############################################################
+ENSCRIPT_VERSION = 1.6.6
+ENSCRIPT_SITE = $(BR2_GNU_MIRROR)/enscript/
+ENSCRIPT_SOURCE = enscript-$(ENSCRIPT_VERSION).tar.gz
+ENSCRIPT_DEPENDENCIES = 
+ENSCRIPT_LICENSE = GPLv3
+ENSCRIPT_LICENSE_FILES = COPYING
+
+#Enable pthread threads if toolchain supports threads
+ifeq ($(BR2_TOOLCHAIN_HAS_THREADS), y)
+	ENSCRIPT_CONF_OPT += --enable-threads=pth
+else
+	ENSCRIPT_CONF_OPT += --disable-threads
+endif
+
+$(eval $(autotools-package))
-- 
1.7.10.4

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

* [Buildroot] [PATCH 1/2] Added package enscript
  2013-03-17 15:59 [Buildroot] [PATCH 1/2] Added package enscript Olivier Schonken
  2013-03-17 15:59 ` [Buildroot] [PATCH 2/2] Added package foomatic-filters Olivier Schonken
  2013-03-17 20:04 ` [Buildroot] [PATCH 1/2] Added package enscript Olivier Schonken
@ 2013-03-18 16:34 ` Thomas Petazzoni
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2013-03-18 16:34 UTC (permalink / raw)
  To: buildroot

Dear Olivier Schonken,

On Sun, 17 Mar 2013 17:59:31 +0200, Olivier Schonken wrote:

>  menu "Interpreter languages and scripting"
>  source "package/erlang/Config.in"
> +source "package/enscript/Config.in"
>  source "package/haserl/Config.in"
>  source "package/jamvm/Config.in"
>  source "package/lua/Config.in"

Even though strictly speaking, enscript is an interpreter, I don't
think I would put it under the "Interpreter languages and scripting"
section.

> +config BR2_PACKAGE_ENSCRIPT
> +	bool "enscript"
> +	select BR2_PACKAGE_GETTEXT

Why? You don't even have gettext as a dependency in the .mk file.
Moreover, gettext handling is generally more complicated than just a
simple select, see
http://buildroot.org/downloads/manual/manual.html#_gettext_integration_and_interaction_with_packages.

> diff --git a/package/enscript/enscript.mk b/package/enscript/enscript.mk
> new file mode 100644
> index 0000000..29fd6d4
> --- /dev/null
> +++ b/package/enscript/enscript.mk
> @@ -0,0 +1,20 @@
> +#############################################################
> +#
> +# enscript
> +#
> +#############################################################
> +ENSCRIPT_VERSION = 1.6.6

Nitpick: one empty line between header and first variable.

> +ENSCRIPT_SITE = $(BR2_GNU_MIRROR)/enscript/
> +ENSCRIPT_SOURCE = enscript-$(ENSCRIPT_VERSION).tar.gz

Line not needed.

> +ENSCRIPT_DEPENDENCIES = 

Line not needed.

> +ENSCRIPT_LICENSE = GPLv3

The license is really not GPLv3+ ?

> +ENSCRIPT_LICENSE_FILES = COPYING
> +
> +#Enable pthread threads if toolchain supports threads
> +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS), y)

No space before the "y".

> +	ENSCRIPT_CONF_OPT += --enable-threads=pth
> +else
> +	ENSCRIPT_CONF_OPT += --disable-threads
> +endif
> +
> +$(eval $(autotools-package))

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

end of thread, other threads:[~2013-03-18 16:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-17 15:59 [Buildroot] [PATCH 1/2] Added package enscript Olivier Schonken
2013-03-17 15:59 ` [Buildroot] [PATCH 2/2] Added package foomatic-filters Olivier Schonken
2013-03-17 20:04 ` [Buildroot] [PATCH 1/2] Added package enscript Olivier Schonken
2013-03-18 16:34 ` Thomas Petazzoni

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