diff mbox

[1/2] package/groff: New package

Message ID 1409860796-22704-1-git-send-email-bernd.kuhls@t-online.de
State Rejected
Headers show

Commit Message

Bernd Kuhls Sept. 4, 2014, 7:59 p.m. UTC
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/Config.in       |    1 +
 package/groff/Config.in |   15 +++++++++++++++
 package/groff/groff.mk  |   19 +++++++++++++++++++
 3 files changed, 35 insertions(+)
 create mode 100644 package/groff/Config.in
 create mode 100644 package/groff/groff.mk

Comments

Peter Korsgaard Sept. 4, 2014, 8:44 p.m. UTC | #1
>>>>> "Bernd" == Bernd Kuhls <bernd.kuhls@t-online.de> writes:

 > Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
 > ---
 >  package/Config.in       |    1 +
 >  package/groff/Config.in |   15 +++++++++++++++
 >  package/groff/groff.mk  |   19 +++++++++++++++++++
 >  3 files changed, 35 insertions(+)
 >  create mode 100644 package/groff/Config.in
 >  create mode 100644 package/groff/groff.mk

 > diff --git a/package/Config.in b/package/Config.in
 > index 4622f9e..d354a2d 100644
 > --- a/package/Config.in
 > +++ b/package/Config.in
 > @@ -1135,6 +1135,7 @@ comment "Utilities"
 >  	source "package/file/Config.in"
 >  	source "package/gnupg/Config.in"
 >  	source "package/gnupg2/Config.in"
 > +	source "package/groff/Config.in"
 >  	source "package/inotify-tools/Config.in"
 >  	source "package/lockfile-progs/Config.in"
 >  	source "package/logrotate/Config.in"
 > diff --git a/package/groff/Config.in b/package/groff/Config.in
 > new file mode 100644
 > index 0000000..764e829
 > --- /dev/null
 > +++ b/package/groff/Config.in
 > @@ -0,0 +1,15 @@
 > +config BR2_PACKAGE_GROFF
 > +	bool "groff"
 > +	depends on BR2_INSTALL_LIBSTDCPP
 > +	help
 > +	  Groff (GNU troff) is a typesetting system that reads plain text mixed
 > +	  with formatting commands and produces formatted output. Output may be
 > +	  PostScript or PDF, html, or ASCII/UTF8 for display at the terminal.
 > +	  Formatting commands may be either low-level typesetting requests
 > +	  (“primitives”) or macros from a supplied set. Users may also write
 > +	  their own macros. All three may be combined.
 > +
 > +	  http://www.gnu.org/software/groff/
 > +
 > +comment "groff needs a toolchain w/ C++"
 > +	depends on !BR2_INSTALL_LIBSTDCPP

Is this just to fix the setserial issue or do you really have a need for
groff on the target?
Bernd Kuhls Sept. 4, 2014, 9:09 p.m. UTC | #2
Hi Peter,

Peter Korsgaard <jacmet@uclibc.org> wrote in 
news:87vbp3p13q.fsf@dell.be.48ers.dk:

> Is this just to fix the setserial issue or do you really have a need for
> groff on the target?

no, it was only desired to be used by setserial.
I marked my patch series as rejected, sorry for the noise ;)

Regards, Bernd
Peter Korsgaard Sept. 5, 2014, 5:17 a.m. UTC | #3
>>>>> "Bernd" == Bernd Kuhls <bernd.kuhls@t-online.de> writes:

 > Hi Peter,
 > Peter Korsgaard <jacmet@uclibc.org> wrote in 
 > news:87vbp3p13q.fsf@dell.be.48ers.dk:

 >> Is this just to fix the setserial issue or do you really have a need for
 >> groff on the target?

 > no, it was only desired to be used by setserial.
 > I marked my patch series as rejected, sorry for the noise ;)

No problem, thanks for wanting to fix autobuilder issues.
diff mbox

Patch

diff --git a/package/Config.in b/package/Config.in
index 4622f9e..d354a2d 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1135,6 +1135,7 @@  comment "Utilities"
 	source "package/file/Config.in"
 	source "package/gnupg/Config.in"
 	source "package/gnupg2/Config.in"
+	source "package/groff/Config.in"
 	source "package/inotify-tools/Config.in"
 	source "package/lockfile-progs/Config.in"
 	source "package/logrotate/Config.in"
diff --git a/package/groff/Config.in b/package/groff/Config.in
new file mode 100644
index 0000000..764e829
--- /dev/null
+++ b/package/groff/Config.in
@@ -0,0 +1,15 @@ 
+config BR2_PACKAGE_GROFF
+	bool "groff"
+	depends on BR2_INSTALL_LIBSTDCPP
+	help
+	  Groff (GNU troff) is a typesetting system that reads plain text mixed
+	  with formatting commands and produces formatted output. Output may be
+	  PostScript or PDF, html, or ASCII/UTF8 for display at the terminal.
+	  Formatting commands may be either low-level typesetting requests
+	  (“primitives”) or macros from a supplied set. Users may also write
+	  their own macros. All three may be combined.
+
+	  http://www.gnu.org/software/groff/
+
+comment "groff needs a toolchain w/ C++"
+	depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/groff/groff.mk b/package/groff/groff.mk
new file mode 100644
index 0000000..63f9909
--- /dev/null
+++ b/package/groff/groff.mk
@@ -0,0 +1,19 @@ 
+################################################################################
+#
+# groff
+#
+################################################################################
+
+GROFF_VERSION = 1.22.2
+GROFF_SOURCE = groff-$(GROFF_VERSION).tar.gz
+GROFF_SITE = $(BR2_GNU_MIRROR)/groff
+GROFF_LICENSE = GPLv3+
+GROFF_LICENSE_FILES = COPYING
+GROFF_DEPENDENCIES = host-groff
+
+# groff calls itself during make install
+# http://lists.gnu.org/archive/html/bug-groff/2009-08/msg00004.html
+GROFF_MAKE_OPT = GROFF_BIN_PATH=$(HOST_DIR)/usr/bin GROFFBIN=groff
+
+$(eval $(autotools-package))
+$(eval $(host-autotools-package))