[PDCurses] PDCurses 3.6 x11/Makefile.in

2018-06-15 Thread Richard Narron
While building PDCurses 3.6 for Slackware x11, I found two problems that
do not exist with PDCurses 3.4.

1) There is no $(DESTDIR) variable in the x11/Makefile.in and so there is
   no easy way to redirect the output from a "make install" command.

   I normally use: "make install DESTDIR="
   and this works with PDCurses 3.4.

2) The /usr/include/xcurses.h and /usr/include/xpanel.h are not created.
   These are created by PDCurses 3.4 and are used by THE 3.3RC4

Both of these problems can be fixed with this patch:

--- a/x11/Makefile.in.orig  2018-01-26 17:56:15.0 -0800
+++ b/x11/Makefile.in   2018-06-14 13:42:43.989390736 -0700
@@ -13,9 +13,9 @@

 prefix = @prefix@
 exec_prefix= @exec_prefix@
-libdir = @libdir@
-bindir = @bindir@
-includedir = @includedir@
+libdir = $(DESTDIR)@libdir@
+bindir = $(DESTDIR)@bindir@
+includedir = $(DESTDIR)@includedir@

 PDCURSES_CONFIG_H  =$(osdir)/config.h
 PDCURSES_CURSES_H  =$(PDCURSES_SRCDIR)/curses.h
@@ -62,8 +62,12 @@
$(INSTALL) -d -m 755 $(includedir)
$(INSTALL) -d -m 755 $(includedir)/xcurses
$(INSTALL) -c -m 644 $(PDCURSES_CURSES_H) \
+   $(includedir)/xcurses.h
+   $(INSTALL) -c -m 644 $(PDCURSES_CURSES_H) \
$(includedir)/xcurses/curses.h
$(INSTALL) -c -m 644 $(PDCURSES_SRCDIR)/panel.h \
+   $(includedir)/xpanel.h
+   $(INSTALL) -c -m 644 $(PDCURSES_SRCDIR)/panel.h \
$(includedir)/xcurses/panel.h
$(INSTALL) -c -m 644 $(PDCURSES_SRCDIR)/term.h \
$(includedir)/xcurses/term.h


Richard Narron
aka comet dot berkeley at gmail dot com


Re: [PDCurses] PDCurses 3.6

2018-02-15 Thread Daniel Goldman

Thank you.

On 2/14/2018 2:52 PM, William McBrine wrote:

PDCurses 3.6 is now available:

  http://pdcurses.org/

256 colors in the Windows console, real blinking and fixed up
attributes everywhere, fixed X11 install, more.

Source only, no binaries yet. SourceForge has been down all day, so it
doesn't have 3.6, and links to it are temporarily disabled -- you'll
have to use the GitHub links.



[PDCurses] PDCurses 3.6

2018-02-14 Thread William McBrine
PDCurses 3.6 is now available:

 http://pdcurses.org/

256 colors in the Windows console, real blinking and fixed up
attributes everywhere, fixed X11 install, more.

Source only, no binaries yet. SourceForge has been down all day, so it
doesn't have 3.6, and links to it are temporarily disabled -- you'll
have to use the GitHub links.