Skip to contentSkip to conversation

package/groff: New package

PATCH New Bernd Kuhls 3 participants 6 messages Sep 4, 2014 – Sep 5, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/groff: New package

---
 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
package/Config.in +1 -0
index 4622f9e..d354a2d 100644
@@ -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"
package/groff/Config.in new file +15 -0
new file mode 100644
index 0000000..764e829
@@ -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
package/groff/groff.mk new file +19 -0
new file mode 100644
index 0000000..63f9909
@@ -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))
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 2/2 package/setserial: Depends on host-groff

Fixes
http://autobuild.buildroot.net/results/d5b/d5ba361a5c3829d789fe647fe785ab81efd9bbe1/
http://autobuild.buildroot.net/results/4d6/4d61f60ed94a7a1ddb1bc1b11173967e1d65c8d3/
http://autobuild.buildroot.net/results/3dc/3dcda657089a8489910c1ca973f900a34370275c/
http://autobuild.buildroot.net/results/86e/86efc44200e80f6baee6846354ce77ef0aa7064d/
http://autobuild.buildroot.net/results/713/713a68be2b71a8d5982add15c2b71e666a83d316/
http://autobuild.buildroot.net/results/c8e/c8e7458911c54020ff999452b9d86a48a03e6693/
http://autobuild.buildroot.net/results/dc2/dc214aec1cf90e6c874c9fd7cbe71027ebe13ed6/
http://autobuild.buildroot.net/results/3f2/3f2c84d9081c3b4ace3d2d20dfb9ddbb58632889/
http://autobuild.buildroot.net/results/a59/a59465462679891b5fa6559804c954c99c7b247b/
http://autobuild.buildroot.net/results/c73/c736933d4110865008f2d1e8b531b6e392c68285/
http://autobuild.buildroot.net/results/27b/27beeaa1147103d44a172cf3e4ed23623f1794c3/
http://autobuild.buildroot.net/results/62b/62bc0a90c747bde8b0631a67d3d35a994c2035c1/
http://autobuild.buildroot.net/results/5ef/5ef1c6a65a48b21fba1390eaa421a628755ea079/

---
 package/setserial/setserial.mk |    1 +
 1 file changed, 1 insertion(+)
package/setserial/setserial.mk +1 -0
index d4c0396..70c0116 100644
@@ -10,6 +10,7 @@ SETSERIAL_SOURCE = setserial_$(SETSERIAL_VERSION).orig.tar.gz
 SETSERIAL_SITE = http://snapshot.debian.org/archive/debian/20131001T214925Z/pool/main/s/setserial
 SETSERIAL_LICENSE = GPLv2
 SETSERIAL_LICENSE_FILES = debian/copyright
+SETSERIAL_DEPENDENCIES = host-groff
 
 define SETSERIAL_APPLY_DEBIAN_PATCHES
 	# Touching gorhack.h is needed for the Debian patch 18 to work
Signature · 1 line
1.7.10.4
#2 lore raw

PATCH 2/2 package/setserial: Depends on host-groff

Bernd, All,

On 2014-09-04 21:59 +0200, Bernd Kuhls spake thusly:

Quoted 6 lines

Fixes
http://autobuild.buildroot.net/results/d5b/d5ba361a5c3829d789fe647fe785ab81efd9bbe1/
http://autobuild.buildroot.net/results/4d6/4d61f60ed94a7a1ddb1bc1b11173967e1d65c8d3/
http://autobuild.buildroot.net/results/3dc/3dcda657089a8489910c1ca973f900a34370275c/
http://autobuild.buildroot.net/results/86e/86efc44200e80f6baee6846354ce77ef0aa7064d/
http://autobuild.buildroot.net/results/713/713a68be2b71a8d5982add15c2b71e666a83d316/

Quoted 8 lines

http://autobuild.buildroot.net/results/c8e/c8e7458911c54020ff999452b9d86a48a03e6693/
http://autobuild.buildroot.net/results/dc2/dc214aec1cf90e6c874c9fd7cbe71027ebe13ed6/
http://autobuild.buildroot.net/results/3f2/3f2c84d9081c3b4ace3d2d20dfb9ddbb58632889/
http://autobuild.buildroot.net/results/a59/a59465462679891b5fa6559804c954c99c7b247b/
http://autobuild.buildroot.net/results/c73/c736933d4110865008f2d1e8b531b6e392c68285/
http://autobuild.buildroot.net/results/27b/27beeaa1147103d44a172cf3e4ed23623f1794c3/
http://autobuild.buildroot.net/results/62b/62bc0a90c747bde8b0631a67d3d35a994c2035c1/
http://autobuild.buildroot.net/results/5ef/5ef1c6a65a48b21fba1390eaa421a628755ea079/

These are being fixed by disabling the documentation instead:

    http://patchwork.ozlabs.org/patch/385808/

Since we do remove the documentation on the target, there is no point in even building it to start with.

So: NAK.

Regards,
Yann E. MORIN.

Quoted 24 lines
---
 package/setserial/setserial.mk |    1 +
 1 file changed, 1 insertion(+)
package/setserial/setserial.mk +1 -0
index d4c0396..70c0116 100644
@@ -10,6 +10,7 @@ SETSERIAL_SOURCE = setserial_$(SETSERIAL_VERSION).orig.tar.gz
 SETSERIAL_SITE = http://snapshot.debian.org/archive/debian/20131001T214925Z/pool/main/s/setserial
 SETSERIAL_LICENSE = GPLv2
 SETSERIAL_LICENSE_FILES = debian/copyright
+SETSERIAL_DEPENDENCIES = host-groff
 
 define SETSERIAL_APPLY_DEBIAN_PATCHES
 	# Touching gorhack.h is needed for the Debian patch 18 to work
Signature · 6 lines
1.7.10.4

_______________________________________________
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 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#3 lore raw

PATCH 1/2 package/groff: New package

In reply to Bernd Kuhls
Quoted 34 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bernd" == Bernd Kuhls <[email protected]> writes:

---
 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
package/Config.in +1 -0
index 4622f9e..d354a2d 100644
@@ -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"
package/groff/Config.in new file +5 -0
new file mode 100644
index 0000000..764e829
@@ -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

package/groff/Config.in line 15

Quoted 10 lines
package/groff/Config.in new file +10 -0
+	  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?

Signature · 1 line
Bye, Peter Korsgaard
#4 lore raw

PATCH 1/2 package/groff: New package

Hi Peter,

Peter Korsgaard <[email protected]> wrote in
news:87vbp3p13q.fsf at dell.be.48ers.dk:

Quoted 2 lines

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

#5 lore raw

PATCH 1/2 package/groff: New package

Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bernd" == Bernd Kuhls <[email protected]> writes:

Hi Peter,
Peter Korsgaard <[email protected]> wrote in
news:87vbp3p13q.fsf at dell.be.48ers.dk:

Quoted 2 lines

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.

Signature · 1 line
Bye, Peter Korsgaard