|
@@ -1,7 +1,7 @@
|
|
|
Index: Makefile.in
|
|
Index: Makefile.in
|
|
|
---- Makefile.in.orig 2006-10-13 15:34:27 +0200
|
|
|
|
|
-+++ Makefile.in 2006-10-27 19:28:57 +0200
|
|
|
|
|
-@@ -1,160 +1,70 @@
|
|
|
|
|
|
|
+--- Makefile.in.orig 2007-03-02 13:00:51 +0100
|
|
|
|
|
++++ Makefile.in 2007-03-03 18:22:34 +0100
|
|
|
|
|
+@@ -1,158 +1,70 @@
|
|
|
-LIBS = -lslang
|
|
-LIBS = -lslang
|
|
|
-LIBTCL = -ltcl8.4
|
|
-LIBTCL = -ltcl8.4
|
|
|
|
|
|
|
@@ -73,11 +73,9 @@ Index: Makefile.in
|
|
|
-
|
|
-
|
|
|
-_snackmodule.so: snackmodule.c $(LIBNEWTSH)
|
|
-_snackmodule.so: snackmodule.c $(LIBNEWTSH)
|
|
|
- for ver in $(PYTHONVERS) ; do \
|
|
- for ver in $(PYTHONVERS) ; do \
|
|
|
-- if [ ! -f "$$ver/_snackmodule.so" -o $(LIBNEWTSH) -nt "$$ver/_snackmodule.so" ]; then \
|
|
|
|
|
- mkdir -p $$ver ;\
|
|
- mkdir -p $$ver ;\
|
|
|
- $(CC) $(CFLAGS) -I/usr/include/$$ver $(SHCFLAGS) -c -o $$ver/snackmodule.o snackmodule.c ;\
|
|
- $(CC) $(CFLAGS) -I/usr/include/$$ver $(SHCFLAGS) -c -o $$ver/snackmodule.o snackmodule.c ;\
|
|
|
- $(CC) --shared $(SHCFLAGS) -o $$ver/_snackmodule.so $$ver/snackmodule.o -L . -lnewt -lslang ;\
|
|
- $(CC) --shared $(SHCFLAGS) -o $$ver/_snackmodule.so $$ver/snackmodule.o -L . -lnewt -lslang ;\
|
|
|
-- fi ; \
|
|
|
|
|
- done
|
|
- done
|
|
|
- touch $@
|
|
- touch $@
|
|
|
-
|
|
-
|
|
@@ -200,7 +198,7 @@ Index: Makefile.in
|
|
|
- for ver in $(PYTHONVERS) ; do \
|
|
- for ver in $(PYTHONVERS) ; do \
|
|
|
- [ -d $(instroot)/$(libdir)/$$ver/site-packages ] || install -m 755 -d $(instroot)/$(libdir)/$$ver/site-packages ;\
|
|
- [ -d $(instroot)/$(libdir)/$$ver/site-packages ] || install -m 755 -d $(instroot)/$(libdir)/$$ver/site-packages ;\
|
|
|
- install -m 755 $$ver/_snackmodule.so $(instroot)/$(libdir)/$$ver/site-packages ;\
|
|
- install -m 755 $$ver/_snackmodule.so $(instroot)/$(libdir)/$$ver/site-packages ;\
|
|
|
-- install -m 755 snack.py $(instroot)/$(libdir)/$$ver/site-packages ;\
|
|
|
|
|
|
|
+- install -m 644 snack.py $(instroot)/$(libdir)/$$ver/site-packages ;\
|
|
|
- done
|
|
- done
|
|
|
-
|
|
-
|
|
|
-configure: configure.ac newt.spec
|
|
-configure: configure.ac newt.spec
|
|
@@ -228,8 +226,8 @@ Index: Makefile.in
|
|
|
-include .depend
|
|
-include .depend
|
|
|
-endif
|
|
-endif
|
|
|
Index: newt.c
|
|
Index: newt.c
|
|
|
---- newt.c.orig 2006-09-15 15:38:21 +0200
|
|
|
|
|
-+++ newt.c 2006-10-27 19:30:05 +0200
|
|
|
|
|
|
|
+--- newt.c.orig 2007-02-28 18:35:01 +0100
|
|
|
|
|
++++ newt.c 2007-03-03 18:22:34 +0100
|
|
|
@@ -9,7 +9,9 @@
|
|
@@ -9,7 +9,9 @@
|
|
|
#include <sys/types.h>
|
|
#include <sys/types.h>
|
|
|
#include <termios.h>
|
|
#include <termios.h>
|
|
@@ -294,8 +292,8 @@ Index: newt.c
|
|
|
*p = '\0';
|
|
*p = '\0';
|
|
|
return;
|
|
return;
|
|
|
Index: shtool
|
|
Index: shtool
|
|
|
---- /dev/null 2006-10-27 19:30:04 +0200
|
|
|
|
|
-+++ shtool 2006-10-27 19:28:08 +0200
|
|
|
|
|
|
|
+--- shtool.orig 2007-03-03 18:22:34 +0100
|
|
|
|
|
++++ shtool 2007-03-03 18:22:34 +0100
|
|
|
@@ -0,0 +1,661 @@
|
|
@@ -0,0 +1,661 @@
|
|
|
+#!/bin/sh
|
|
+#!/bin/sh
|
|
|
+##
|
|
+##
|
|
@@ -960,7 +958,7 @@ Index: shtool
|
|
|
+
|
|
+
|
|
|
Index: textbox.c
|
|
Index: textbox.c
|
|
|
--- textbox.c.orig 2006-10-12 16:18:38 +0200
|
|
--- textbox.c.orig 2006-10-12 16:18:38 +0200
|
|
|
-+++ textbox.c 2006-10-27 19:28:08 +0200
|
|
|
|
|
|
|
++++ textbox.c 2007-03-03 18:22:34 +0100
|
|
|
@@ -4,7 +4,9 @@
|
|
@@ -4,7 +4,9 @@
|
|
|
#include <stdlib.h>
|
|
#include <stdlib.h>
|
|
|
#include <string.h>
|
|
#include <string.h>
|
|
@@ -1034,8 +1032,8 @@ Index: textbox.c
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
Index: tutorial.txt
|
|
Index: tutorial.txt
|
|
|
---- /dev/null 2006-10-27 19:30:04 +0200
|
|
|
|
|
-+++ tutorial.txt 2006-10-27 19:28:08 +0200
|
|
|
|
|
|
|
+--- tutorial.txt.orig 2007-03-03 18:22:34 +0100
|
|
|
|
|
++++ tutorial.txt 2007-03-03 18:22:34 +0100
|
|
|
@@ -0,0 +1,1079 @@
|
|
@@ -0,0 +1,1079 @@
|
|
|
+
|
|
+
|
|
|
+Writing Programs Using newtErik Troan, <ewt@redhat.com>
|
|
+Writing Programs Using newtErik Troan, <ewt@redhat.com>
|
|
@@ -2117,8 +2115,8 @@ Index: tutorial.txt
|
|
|
+void newtFormSetHeight(newtComponent co, int height);
|
|
+void newtFormSetHeight(newtComponent co, int height);
|
|
|
+void newtFormSetWidth(newtComponent co, int width);
|
|
+void newtFormSetWidth(newtComponent co, int width);
|
|
|
Index: whiptail.c
|
|
Index: whiptail.c
|
|
|
---- whiptail.c.orig 2006-10-12 16:31:16 +0200
|
|
|
|
|
-+++ whiptail.c 2006-10-27 19:28:08 +0200
|
|
|
|
|
|
|
+--- whiptail.c.orig 2007-01-31 14:48:15 +0100
|
|
|
|
|
++++ whiptail.c 2007-03-03 18:22:34 +0100
|
|
|
@@ -8,6 +8,7 @@
|
|
@@ -8,6 +8,7 @@
|
|
|
#include <unistd.h>
|
|
#include <unistd.h>
|
|
|
#include <wchar.h>
|
|
#include <wchar.h>
|