From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1YOjjp-0001rE-It for ptxdist@pengutronix.de; Fri, 20 Feb 2015 10:19:09 +0100 Received: from jbe by dude.hi.pengutronix.de with local (Exim 4.84) (envelope-from ) id 1YOjjp-0001rF-HQ for ptxdist@pengutronix.de; Fri, 20 Feb 2015 10:19:09 +0100 From: Juergen Borleis Date: Fri, 20 Feb 2015 10:19:02 +0100 Message-Id: <1424423943-28091-4-git-send-email-jbe@pengutronix.de> In-Reply-To: <1424423943-28091-1-git-send-email-jbe@pengutronix.de> References: <1424423943-28091-1-git-send-email-jbe@pengutronix.de> Subject: [ptxdist] [PATCH 3/4] libnewt: windowing toolkit Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Add new package required by the new NetworkManager for its 'nmtui' tool Signed-off-by: Juergen Borleis --- .../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 +Date: Thu, 19 Feb 2015 16:17:48 +0100 +Subject: [PATCH] Never include host paths + +Signed-off-by: Juergen Borleis +--- + 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 +# +# 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 ") + @$(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