Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 0/1] ghostscript-fonts: new package
@ 2014-09-22 19:34 Peter Seiderer
  2014-09-22 19:34 ` [Buildroot] [PATCH v2 1/1] " Peter Seiderer
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Seiderer @ 2014-09-22 19:34 UTC (permalink / raw)
  To: buildroot

Add ghostscript-fonts still to 'X libraries and helper libraries' where
DejaVu and Liberation fonts are located.

Suggested new locations are ([1]):

a) add new 'Target packages -> Fonts' menu entry
b) add new 'Target packages -> Libraries -> Fonts' menu entry
c) add new 'Target packages -> Graphic libraries/Fonts' submenu entry

Any preferences (or better suggestions...)?

Regards,
Peter

[1] http://lists.busybox.net/pipermail/buildroot/2014-July/101359.html

Peter Seiderer (1):
  ghostscript-fonts: new package

 package/Config.in                              |  1 +
 package/ghostscript-fonts/Config.in            |  8 ++++++++
 package/ghostscript-fonts/ghostscript-fonts.mk | 21 +++++++++++++++++++++
 3 files changed, 30 insertions(+)
 create mode 100644 package/ghostscript-fonts/Config.in
 create mode 100644 package/ghostscript-fonts/ghostscript-fonts.mk

-- 
1.8.1.4

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

* [Buildroot] [PATCH v2 1/1] ghostscript-fonts: new package
  2014-09-22 19:34 [Buildroot] [PATCH v2 0/1] ghostscript-fonts: new package Peter Seiderer
@ 2014-09-22 19:34 ` Peter Seiderer
  2015-02-03 16:07   ` Peter Korsgaard
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Seiderer @ 2014-09-22 19:34 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Peter Seiderer <ps.report@gmx.net>

---
Changes v1 -> v2:
  - updated version on top of master because of changes in
    package/Config.in
---
 package/Config.in                              |  1 +
 package/ghostscript-fonts/Config.in            |  8 ++++++++
 package/ghostscript-fonts/ghostscript-fonts.mk | 21 +++++++++++++++++++++
 3 files changed, 30 insertions(+)
 create mode 100644 package/ghostscript-fonts/Config.in
 create mode 100644 package/ghostscript-fonts/ghostscript-fonts.mk

diff --git a/package/Config.in b/package/Config.in
index 2eefc3f..fe7a086 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -256,6 +256,7 @@ comment "X applications"
 
 comment "X libraries and helper libraries"
 	source "package/dejavu/Config.in"
+	source "package/ghostscript-fonts/Config.in"
 	source "package/liberation/Config.in"
 	source "package/libsexy/Config.in"
 	source "package/x11r7/xkeyboard-config/Config.in"
diff --git a/package/ghostscript-fonts/Config.in b/package/ghostscript-fonts/Config.in
new file mode 100644
index 0000000..80bfbd0
--- /dev/null
+++ b/package/ghostscript-fonts/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_GHOSTSCRIPT_FONTS
+	bool "ghostscript-fonts"
+	help
+	  Fonts and font metrics customarily distributed with Ghostscript.
+	  Currently includes the 35 standard PostScript fonts and a
+	  grab-bag of others.
+
+	  http://sourceforge.net/projects/gs-fonts
diff --git a/package/ghostscript-fonts/ghostscript-fonts.mk b/package/ghostscript-fonts/ghostscript-fonts.mk
new file mode 100644
index 0000000..fa5c4b7
--- /dev/null
+++ b/package/ghostscript-fonts/ghostscript-fonts.mk
@@ -0,0 +1,21 @@
+################################################################################
+#
+# ghostscript-fonts
+#
+################################################################################
+
+GHOSTSCRIPT_FONTS_VERSION = 8.11
+GHOSTSCRIPT_FONTS_SITE = http://downloads.sourceforge.net/project/gs-fonts/gs-fonts/8.11%20%28base%2035%2C%20GPL%29
+GHOSTSCRIPT_FONTS_SOURCE = ghostscript-fonts-std-$(GHOSTSCRIPT_FONTS_VERSION).tar.gz
+GHOSTSCRIPT_FONTS_LICENSE = GPLv2
+GHOSTSCRIPT_FONTS_LICENSE_FILES = COPYING
+
+GHOSTSCRIPT_FONTS_TARGET_DIR = $(TARGET_DIR)/usr/share/fonts/gs
+
+define GHOSTSCRIPT_FONTS_INSTALL_TARGET_CMDS
+	mkdir -p $(GHOSTSCRIPT_FONTS_TARGET_DIR)
+	$(INSTALL) -m 644 $(@D)/*.afm $(GHOSTSCRIPT_FONTS_TARGET_DIR)
+	$(INSTALL) -m 644 $(@D)/*.pfb $(GHOSTSCRIPT_FONTS_TARGET_DIR)
+endef
+
+$(eval $(generic-package))
-- 
1.8.1.4

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

* [Buildroot] [PATCH v2 1/1] ghostscript-fonts: new package
  2014-09-22 19:34 ` [Buildroot] [PATCH v2 1/1] " Peter Seiderer
@ 2015-02-03 16:07   ` Peter Korsgaard
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2015-02-03 16:07 UTC (permalink / raw)
  To: buildroot

>>>>> "Peter" == Peter Seiderer <ps.report@gmx.net> writes:

 > Signed-off-by: Peter Seiderer <ps.report@gmx.net>
> ---
 > Changes v1 -> v2:
 >   - updated version on top of master because of changes in
 >     package/Config.in

Committed, thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2015-02-03 16:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-22 19:34 [Buildroot] [PATCH v2 0/1] ghostscript-fonts: new package Peter Seiderer
2014-09-22 19:34 ` [Buildroot] [PATCH v2 1/1] " Peter Seiderer
2015-02-03 16:07   ` Peter Korsgaard

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