Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
newt
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
newt
Commits
50f18f0c
Commit
50f18f0c
authored
Aug 05, 2021
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial commit
parents
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
85 additions
and
0 deletions
+85
-0
Makefile
Makefile
+7
-0
newt-0.52.21-no_static.patch
newt-0.52.21-no_static.patch
+78
-0
newt-0.52.21.tar.gz
newt-0.52.21.tar.gz
+0
-0
No files found.
Makefile
0 → 100644
View file @
50f18f0c
all
:
tar
xf newt-0.52.21.tar.gz
patch
-Np1
-d
newt-0.52.21 < newt-0.52.21-no_static.patch
cd
newt-0.52.21
&&
./configure
--prefix
=
/usr
--with-gpm-support
--with-python
=
python3.8
$(MAKE)
-C
newt-0.52.21
$(MAKE)
-C
newt-0.52.21
install
rm
-rf
newt-0.52.21
newt-0.52.21-no_static.patch
0 → 100644
View file @
50f18f0c
diff -uNr newt-0.52.21/Makefile.in newt-0.52.21-no_static/Makefile.in
--- newt-0.52.21/Makefile.in 2019-05-27 22:27:40.000000000 +0930
+++ newt-0.52.21-no_static/Makefile.in 2021-08-04 18:48:02.180972454 +0930
@@ -25,7 +25,7 @@
TESTOBJS = test.o testgrid.o testtree.o showchars.o showkey.o
NDIALOGOBJS = whiptail.o dialogboxes.o
WHIPTCLOBJS = shared/whiptcl.o shared/dialogboxes.o
-LIBNEWT = libnewt.a
+#LIBNEWT = libnewt.a
LIBNEWTSH = libnewt.$(SOEXT).$(VERSION)
LIBNEWTSONAME = libnewt.$(SOEXT).$(SONAME)
LIBOBJS = newt.o button.o form.o checkbox.o entry.o label.o listbox.o \
@@ -67,20 +67,20 @@
all: $(TARGET) _snack.$(SOEXT)
-test: test.o $(LIBNEWT)
- $(CC) -g -o test test.o $(LIBNEWT) $(LDFLAGS) $(LIBS)
+test: test.o $(LIBNEWTSONAME)
+ $(CC) -g -o test test.o $(LIBNEWTSONAME) $(LDFLAGS) $(LIBS)
-testgrid: testgrid.o $(LIBNEWT)
- $(CC) -g -o testgrid testgrid.o $(LIBNEWT) $(LDFLAGS) $(LIBS)
+testgrid: testgrid.o $(LIBNEWTSONAME)
+ $(CC) -g -o testgrid testgrid.o $(LIBNEWTSONAME) $(LDFLAGS) $(LIBS)
-testtree: testtree.o $(LIBNEWT)
- $(CC) -g -o testtree testtree.o $(LIBNEWT) $(LDFLAGS) $(LIBS)
+testtree: testtree.o $(LIBNEWTSONAME)
+ $(CC) -g -o testtree testtree.o $(LIBNEWTSONAME) $(LDFLAGS) $(LIBS)
-showchars: showchars.o $(LIBNEWT)
- $(CC) -g -o showchars showchars.o $(LIBNEWT) $(LDFLAGS) $(LIBS)
+showchars: showchars.o $(LIBNEWTSONAME)
+ $(CC) -g -o showchars showchars.o $(LIBNEWTSONAME) $(LDFLAGS) $(LIBS)
-showkey: showkey.o $(LIBNEWT)
- $(CC) -g -o showkey showkey.o $(LIBNEWT) $(LDFLAGS) $(LIBS)
+showkey: showkey.o $(LIBNEWTSONAME)
+ $(CC) -g -o showkey showkey.o $(LIBNEWTSONAME) $(LDFLAGS) $(LIBS)
_snack.$(SOEXT): snack.c $(LIBNEWTSH)
@[ -n "$(PYTHONVERS)" ] && for ver in $(PYTHONVERS); do \
@@ -108,7 +108,7 @@
whiptcl.$(SOEXT): $(WHIPTCLOBJS) $(LIBNEWTSH)
$(CC) -shared $(SHCFLAGS) $(LDFLAGS) -o whiptcl.$(SOEXT) $(WHIPTCLOBJS) -L. -lnewt $(LIBTCL) -lpopt $(LIBS)
-$(LIBNEWT): $(LIBOBJS)
+$(LIBNEWTSONAME): $(LIBOBJS)
ar rv $@ $^
newt.o $(SHAREDDIR)/newt.o: newt.c Makefile
@@ -117,7 +117,7 @@
rm -f .depend *.pc
clean:
- rm -f $(PROGS) *.o $(LIBNEWT) core $(LIBNEWTSH) \
+ rm -f $(PROGS) *.o $(LIBNEWTSONAME) core $(LIBNEWTSH) \
$(SHAREDDIR)/*.o *.$(SOEXT)*
depend:
@@ -134,14 +134,14 @@
@mkdir -p $(SHAREDDIR)
$(CC) $(SHCFLAGS) -c $(CFLAGS) $(CPPFLAGS) -o $@ $<
-install: $(LIBNEWT) install-sh whiptail
+install: $(LIBNEWTSONAME) install-sh whiptail
[ -d $(instroot)/$(bindir) ] || install -m 755 -d $(instroot)/$(bindir)
[ -d $(instroot)/$(libdir) ] || install -m 755 -d $(instroot)/$(libdir)
[ -d $(instroot)/$(includedir) ] || install -m 755 -d $(instroot)/$(includedir)
[ -d $(instroot)/$(man1dir) ] || install -m 755 -d $(instroot)/$(man1dir)
[ -d $(instroot)/$(pkgconfigdir) ] || install -m 755 -d $(instroot)/$(pkgconfigdir)
install -m 644 newt.h $(instroot)/$(includedir)
- install -m 644 $(LIBNEWT) $(instroot)/$(libdir)
+# install -m 644 $(LIBNEWTSONAME) $(instroot)/$(libdir)
install -m 755 whiptail $(instroot)/$(bindir)
install -m 644 whiptail.1 $(instroot)/$(man1dir)
make -C po datadir=$(instroot)/$(datadir) install
newt-0.52.21.tar.gz
0 → 100644
View file @
50f18f0c
File added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment