mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Juergen Borleis <jbe@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 3/4] libnewt: windowing toolkit
Date: Fri, 20 Feb 2015 10:19:02 +0100	[thread overview]
Message-ID: <1424423943-28091-4-git-send-email-jbe@pengutronix.de> (raw)
In-Reply-To: <1424423943-28091-1-git-send-email-jbe@pengutronix.de>

Add new package required by the new NetworkManager for its 'nmtui' tool

Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
---
 .../0001-Never-include-host-paths.patch            | 22 ++++++++
 patches/newt-0.52.18/series                        |  4 ++
 rules/libnewt.in                                   | 13 +++++
 rules/libnewt.make                                 | 58 ++++++++++++++++++++++
 4 files changed, 97 insertions(+)
 create mode 100644 patches/newt-0.52.18/0001-Never-include-host-paths.patch
 create mode 100644 patches/newt-0.52.18/series
 create mode 100644 rules/libnewt.in
 create mode 100644 rules/libnewt.make

diff --git a/patches/newt-0.52.18/0001-Never-include-host-paths.patch b/patches/newt-0.52.18/0001-Never-include-host-paths.patch
new file mode 100644
index 0000000..f980159
--- /dev/null
+++ b/patches/newt-0.52.18/0001-Never-include-host-paths.patch
@@ -0,0 +1,22 @@
+From: Juergen Borleis <jbe@pengutronix.de>
+Date: Thu, 19 Feb 2015 16:17:48 +0100
+Subject: [PATCH] Never include host paths
+
+Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
+---
+ Makefile.in |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index 798920313a30..2f9841643060 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -5,7 +5,7 @@ CC = @CC@
+ CPP = @CPP@
+ CFLAGS = @CFLAGS@
+ LDFLAGS = @LDFLAGS@
+-CPPFLAGS = -D_GNU_SOURCE -I/usr/include/slang @CPPFLAGS@ 
++CPPFLAGS = -D_GNU_SOURCE @CPPFLAGS@
+ GNU_LD = @GNU_LD@
+ 
+ VERSION = @VERSION@
diff --git a/patches/newt-0.52.18/series b/patches/newt-0.52.18/series
new file mode 100644
index 0000000..b5c04db
--- /dev/null
+++ b/patches/newt-0.52.18/series
@@ -0,0 +1,4 @@
+# generated by git-ptx-patches
+#tag:base --start-number 1
+0001-Never-include-host-paths.patch
+# a650892b08bf3549a7977ad5d9fe4a0d  - git-ptx-patches magic
diff --git a/rules/libnewt.in b/rules/libnewt.in
new file mode 100644
index 0000000..7b6508b
--- /dev/null
+++ b/rules/libnewt.in
@@ -0,0 +1,13 @@
+## SECTION=system_libraries
+
+config LIBNEWT
+	tristate
+	select SLANG
+	select LIBPOPT
+	prompt "libnewt"
+	help
+	  Newt is a programming library for color text mode, widget based user
+	  interfaces. Newt can be used to add stacked windows, entry widgets,
+	  checkboxes, radio buttons, labels, plain text fields, scrollbars,
+	  etc., to text mode user interfaces. Newt is based on the slang
+	  library.
diff --git a/rules/libnewt.make b/rules/libnewt.make
new file mode 100644
index 0000000..8289f2c
--- /dev/null
+++ b/rules/libnewt.make
@@ -0,0 +1,58 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2015 by Juergen Borleis <jbe@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_LIBNEWT) += libnewt
+
+#
+# Paths and names
+#
+LIBNEWT_VERSION	:= 0.52.18
+LIBNEWT_MD5	:= 685721bee1a318570704b19dcf31d268
+LIBNEWT		:= newt-$(LIBNEWT_VERSION)
+LIBNEWT_SUFFIX	:= tar.gz
+LIBNEWT_URL	:= https://fedorahosted.org/releases/n/e/newt/$(LIBNEWT).$(LIBNEWT_SUFFIX)
+LIBNEWT_SOURCE	:= $(SRCDIR)/$(LIBNEWT).$(LIBNEWT_SUFFIX)
+LIBNEWT_DIR	:= $(BUILDDIR)/$(LIBNEWT)
+LIBNEWT_LICENSE	:= GPLv2
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+LIBNEWT_CONF_TOOL	:= autoconf
+LIBNEWT_CONF_OPT	:= $(CROSS_AUTOCONF_USR) \
+	--disable-nls \
+	--without-python \
+	--without-tcl \
+	--without-gpm-support
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/libnewt.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, libnewt)
+	@$(call install_fixup, libnewt,PRIORITY,optional)
+	@$(call install_fixup, libnewt,SECTION,base)
+	@$(call install_fixup, libnewt,AUTHOR,"Juergen Borleis <jbe@pengutronix.de>")
+	@$(call install_fixup, libnewt,DESCRIPTION,"Not Eriks Windowing Toolkit")
+
+	@$(call install_lib, libnewt, 0, 0, 0644, libnewt)
+
+	@$(call install_finish, libnewt)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.1.4


-- 
ptxdist mailing list
ptxdist@pengutronix.de

  parent reply	other threads:[~2015-02-20  9:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-20  9:18 [ptxdist] [RFC] update NetworkManager Juergen Borleis
2015-02-20  9:19 ` [ptxdist] [PATCH 1/4] libndp: add library for Neighbor Discovery Protocol Juergen Borleis
2015-02-20  9:19 ` [ptxdist] [PATCH 2/4] NetworkManager: update package Juergen Borleis
2015-02-20  9:19 ` Juergen Borleis [this message]
2015-02-20  9:19 ` [ptxdist] [PATCH 4/4] NetworkManager: add nmtui support Juergen Borleis
2015-03-18 10:20 ` [ptxdist] [RFC] update NetworkManager Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1424423943-28091-4-git-send-email-jbe@pengutronix.de \
    --to=jbe@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox