mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
newt: bump to 0.52.17
Changed download location, added popt dependency and updated the Makefile.in patch. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
ba25b12ce4
commit
5bf4a4fe92
@ -1,7 +1,13 @@
|
|||||||
config BR2_PACKAGE_NEWT
|
config BR2_PACKAGE_NEWT
|
||||||
bool "newt"
|
bool "newt"
|
||||||
|
depends on BR2_USE_WCHAR
|
||||||
select BR2_PACKAGE_SLANG
|
select BR2_PACKAGE_SLANG
|
||||||
|
select BR2_PACKAGE_POPT
|
||||||
|
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
|
||||||
help
|
help
|
||||||
Programming library for color text mode, widget based user interfaces.
|
Programming library for color text mode, widget based user interfaces.
|
||||||
|
|
||||||
http://www.redhat.com/
|
http://www.redhat.com/
|
||||||
|
|
||||||
|
comment "newt needs a toolchain w/ wchar"
|
||||||
|
depends on !BR2_USE_WCHAR
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
Fix Makefile.in
|
Fix Makefile.in
|
||||||
|
|
||||||
* Remove -Os from the CFLAGS (already handled by Buildroot)
|
|
||||||
* Use $(CC) instead of $(CPP) to generate .depend file because
|
* Use $(CC) instead of $(CPP) to generate .depend file because
|
||||||
'$(CPP) -M' call does not support multiple input files.
|
'$(CPP) -M' call does not support multiple input files.
|
||||||
This avoid the following error:
|
This avoid the following error:
|
||||||
@ -14,29 +13,23 @@ make[1]: Leaving directory
|
|||||||
make: ***
|
make: ***
|
||||||
[/opt/br/output/build/newt-0.51.0/.stamp_built] Error 2
|
[/opt/br/output/build/newt-0.51.0/.stamp_built] Error 2
|
||||||
|
|
||||||
|
|
||||||
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
|
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
|
||||||
|
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
|
||||||
|
|
||||||
---
|
---
|
||||||
Index: newt-0.51.0/Makefile.in
|
Makefile.in | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
Index: b/Makefile.in
|
||||||
===================================================================
|
===================================================================
|
||||||
--- newt-0.51.0.orig/Makefile.in 2012-10-10 22:43:42.042318041 +0200
|
--- a/Makefile.in
|
||||||
+++ newt-0.51.0/Makefile.in 2012-10-11 21:25:44.063873277 +0200
|
+++ b/Makefile.in
|
||||||
@@ -3,7 +3,7 @@ SHLIBS = -lslang -lm -lc
|
@@ -121,7 +121,7 @@
|
||||||
|
$(SHAREDDIR)/*.o *.$(SOEXT)*
|
||||||
GPM_SUPPORT=@gpm_support@
|
|
||||||
|
|
||||||
-CFLAGS = -Wall -Os -D_GNU_SOURCE
|
|
||||||
+CFLAGS += -D_GNU_SOURCE
|
|
||||||
|
|
||||||
VERSION = @VERSION@
|
|
||||||
CVSTAG = r$(subst .,-,$(VERSION))
|
|
||||||
@@ -86,7 +86,7 @@ clean:
|
|
||||||
$(SHAREDOBJS) *.so*
|
|
||||||
|
|
||||||
depend:
|
depend:
|
||||||
- $(CPP) $(CFLAGS) -M $(SOURCES) > .depend
|
- $(CPP) $(CFLAGS) $(CPPFLAGS) -M $(SOURCES) > .depend
|
||||||
+ $(CC) $(CFLAGS) -M $(SOURCES) > .depend
|
+ $(CC) $(CFLAGS) $(CPPFLAGS) -M $(SOURCES) > .depend
|
||||||
|
|
||||||
$(SHAREDDIR):
|
$(SHAREDDIR):
|
||||||
mkdir -p $(SHAREDDIR)
|
mkdir -p $(SHAREDDIR)
|
||||||
|
@ -4,32 +4,16 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
NEWT_VERSION = 0.51.0
|
NEWT_VERSION = 0.52.17
|
||||||
NEWT_SITE = http://www.uclibc.org/
|
NEWT_SITE = https://fedorahosted.org/releases/n/e/newt/
|
||||||
NEWT_SOURCE = newt-$(NEWT_VERSION).tar.bz2
|
|
||||||
NEWT_LICENSE = GPLv2
|
NEWT_LICENSE = GPLv2
|
||||||
NEWT_LICENSE_FILES = COPYING
|
NEWT_LICENSE_FILES = COPYING
|
||||||
NEWT_INSTALL_STAGING = YES
|
NEWT_INSTALL_STAGING = YES
|
||||||
|
|
||||||
NEWT_DEPENDENCIES = slang
|
NEWT_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) slang popt
|
||||||
|
|
||||||
|
NEWT_CONF_OPT = --without-python --without-tcl
|
||||||
|
|
||||||
NEWT_MAKE_ENV += $(TARGET_CONFIGURE_OPTS)
|
|
||||||
NEWT_MAKE = $(MAKE1)
|
NEWT_MAKE = $(MAKE1)
|
||||||
|
|
||||||
define NEWT_INSTALL_STAGING_CMDS
|
|
||||||
$(INSTALL) -D -m644 $(@D)/newt.h $(STAGING_DIR)/usr/include/newt.h
|
|
||||||
$(INSTALL) -D -m644 $(@D)/libnewt.a $(STAGING_DIR)/usr/lib/libnewt.a
|
|
||||||
$(INSTALL) -m755 $(@D)/libnewt.so* $(STAGING_DIR)/usr/lib/
|
|
||||||
ln -fs libnewt.so.$(NEWT_VERSION) $(STAGING_DIR)/usr/lib/libnewt.so
|
|
||||||
ln -fs libnewt.so.$(NEWT_VERSION) $(STAGING_DIR)/usr/lib/libnewt.so.0.51
|
|
||||||
endef
|
|
||||||
|
|
||||||
define NEWT_INSTALL_TARGET_CMDS
|
|
||||||
$(INSTALL) -D -m644 $(@D)/newt.h $(TARGET_DIR)/usr/include/newt.h
|
|
||||||
$(INSTALL) -D -m644 $(@D)/libnewt.a $(TARGET_DIR)/usr/lib/libnewt.a
|
|
||||||
$(INSTALL) -m755 $(@D)/libnewt.so* $(TARGET_DIR)/usr/lib/
|
|
||||||
ln -fs libnewt.so.$(NEWT_VERSION) $(TARGET_DIR)/usr/lib/libnewt.so
|
|
||||||
ln -fs libnewt.so.$(NEWT_VERSION) $(TARGET_DIR)/usr/lib/libnewt.so.0.51
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user