Bug#548070: ITP: libpdcurses0 -- X/Open curses library with an X11 and SDL interface

2011-11-30 Thread Agustin Martin
2011/7/4 Peter Pentchev r...@ringlet.net:

 Sorry for replying a bit late; I was on a short vacation last week and
 I only got back to my e-mail this morning.

 Well, the work I've done on PDCurses may be seen in the Debian Games Team's
 Git repository -
 http://anonscm.debian.org/gitweb/?p=pkg-games/libxcurses.git;a=summary
 or, of course, http://anonscm.debian.org/git/pkg-games/libxcurses.git/
 The truth is, just a couple of days ago I remembered that my ITPs of
 this library and ASCIIpOrtal have been, well, languishing for a while;
 I'll do something about them in the next couple of days :)

Hi, Peter,

I have recently seen a message (stored at
http://lists.alioth.debian.org/pipermail/pkg-sdl-maintainers/2011-November/000960.html)
about revitalization of the Debian SDL team

https://alioth.debian.org/projects/pkg-sdl/

and thought about letting people there know about this ITP and about
this package. I plan to send them a message in some days.

Any news?

-- 
Agustin



-- 
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAHMXK7je3eQptVG94dVyestH8NqXovPRNOrx4Yd=swn8dtv...@mail.gmail.com



Bug#548070: ITP: libpdcurses0 -- X/Open curses library with an X11 and SDL interface

2011-07-12 Thread Agustin Martin
On Tue, Jul 05, 2011 at 04:51:43PM +0200, Agustin Martin wrote:
 I will try to keep looking at this, but at least you can have a look at the
 current state of my changes.

Some more changes from my personal repo,

General

* Build demos to check they build.
* Make optional SDL/X11 build (default yes, build)

Debian:
* Add symbols for both libs.
* Improve debian/rules to avoid double reconfiguration.

-- 
Agustin



-- 
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110712180528.ga4...@agmartin.aq.upm.es



Bug#548070: ITP: libpdcurses0 -- X/Open curses library with an X11 and SDL interface

2011-07-05 Thread Agustin Martin
On Mon, Jul 04, 2011 at 05:33:24PM +0200, Agustin Martin wrote:
 I am commenting current structure of packages at my side (note that it is 
 different from yours),
 
 Source package: pdcurses
...
 Note that I honour upstream name for Source package. I think you should also
 do that (libxcurses refers only to the X11 port).
...
 I will do some other minor things and push changes to my git repo so you can
 look at them. Will let you know.

I have just pushed my changes to my personal Debian git area,

git://anonscm.debian.org/users/agmartin/pdcurses.git

in tmp/libtool branch. master branch contains my previous stuff.
 
 I named the SDL part libsdlcurses (and used libSDLCurses.so names). Do not
 know if this is the best naming scheme, so I think we should wait to hear
 upstream voice here (Hi, William).

Note that I renamed the SDL stuff to provide libpdcurses3, libpdcurses-dev
and libpdcurses.*, honouring current upstream naming scheme. I'd personally
prefer something like pdcurses-sdl or my previous naming or similar, but I
think I should not deviate from upstream naming without a good reason.

At this stage, my changes are mostly intended to be handled via debian/rules
and as you will see they are still a bit Debian specific and not very
portable to old systems.

* X11R6 extra libs (SM and ICE) are not added to explicitly linked libs.
  Not a problem for Debian, using xorg, even better not to have them.
* Purify currently does nothing when selected. There must be an easy way to
  tell libtool to use purify or valgrind if desired.
* I mixed original checks with those proposed by autoscan, so a number of
  them are probably not needed.
* I forgot to add xcurses-config man page. Will do when I have time,
  probably from the one you wrote.
* Quite many things I did not yet noticed or remember. Keep in mind that 
  I am not autotools guru.

I will try to keep looking at this, but at least you can have a look at the
current state of my changes.

Enjoy,

-- 
Agustin



-- 
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110705145143.ga17...@agmartin.aq.upm.es



Bug#548070: ITP: libpdcurses0 -- X/Open curses library with an X11 and SDL interface

2011-07-04 Thread Peter Pentchev
On Thu, Jun 30, 2011 at 04:43:18PM +0200, Agustin Martin wrote:
 On Wed, Sep 23, 2009 at 06:13:22PM +0300, Peter Pentchev wrote:
  Package: wnpp
  Severity: wishlist
  Owner: Peter Pentchev r...@ringlet.net
  
  * Package name: libpdcurses0
Version : 3.4
Upstream Author : William McBrine wmcbr...@users.sf.net
  * URL : http://pdcurses.sourceforge.net/
  * License : Public domain, MIT, GPL-2+
Programming Lang: C
Description : X/Open curses library with an X11 and SDL interface
  
  The main reason I want to package this library is that asciiportal
  (in a separate ITP) uses its SDL bindings for its weird half-TUI,
  half-GUI :)
 
 (cc'ing Anders Kaseorg and upstream William McBrine, hi both)
 
 Hi, Peter
 
 Sorry for the late reply, I should at least have said hello when I first
 noticed your ITP.
 
 During some time I have been playing with a personal package for XCurses put
 at my personal Debian area. It dealt only with XCurses to play with THE (an
 IBM XEDIT clone) under X system and had it at my personal git area under
 alioth, 
 
   git://anonscm.debian.org/users/agmartin/pdcurses.git
[snip more about your package and Andreas Kaseorg's one]

Hi,

Sorry for replying a bit late; I was on a short vacation last week and
I only got back to my e-mail this morning.

Well, the work I've done on PDCurses may be seen in the Debian Games Team's
Git repository -
http://anonscm.debian.org/gitweb/?p=pkg-games/libxcurses.git;a=summary
or, of course, http://anonscm.debian.org/git/pkg-games/libxcurses.git/
The truth is, just a couple of days ago I remembered that my ITPs of
this library and ASCIIpOrtal have been, well, languishing for a while;
I'll do something about them in the next couple of days :)

I'll certainly see what you've done and look for some ideas, and shame on
me for not checking if anybody had done anything like that for Ubuntu!

Thanks a lot for your message and the pointers; I'll get back to you when
I've had a bit more time to see what everybody else has been doing on
libpdcurses while I wasn't looking :)  It'll most probably be later today
or tomorrow.

Thanks again, and keep up the good work!

G'luck,
Peter

-- 
Peter Pentchev  r...@ringlet.net r...@freebsd.org pe...@packetscale.com
PGP key:http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
When you are not looking at it, this sentence is in Spanish.


signature.asc
Description: Digital signature


Bug#548070: ITP: libpdcurses0 -- X/Open curses library with an X11 and SDL interface

2011-07-04 Thread Agustin Martin
On Mon, Jul 04, 2011 at 12:19:40PM +0300, Peter Pentchev wrote:
 On Thu, Jun 30, 2011 at 04:43:18PM +0200, Agustin Martin wrote:
  On Wed, Sep 23, 2009 at 06:13:22PM +0300, Peter Pentchev wrote:
   Package: wnpp
   Severity: wishlist
   Owner: Peter Pentchev r...@ringlet.net
   
   * Package name: libpdcurses0
 Version : 3.4
 Upstream Author : William McBrine wmcbr...@users.sf.net
   * URL : http://pdcurses.sourceforge.net/
   * License : Public domain, MIT, GPL-2+
 Programming Lang: C
 Description : X/Open curses library with an X11 and SDL interface
   
   The main reason I want to package this library is that asciiportal
   (in a separate ITP) uses its SDL bindings for its weird half-TUI,
   half-GUI :)
  
  (cc'ing Anders Kaseorg and upstream William McBrine, hi both)
  
  Hi, Peter
  
  Sorry for the late reply, I should at least have said hello when I first
  noticed your ITP.
  
  During some time I have been playing with a personal package for XCurses put
  at my personal Debian area. It dealt only with XCurses to play with THE (an
  IBM XEDIT clone) under X system and had it at my personal git area under
  alioth, 
  
git://anonscm.debian.org/users/agmartin/pdcurses.git
 [snip more about your package and Andreas Kaseorg's one]
 
 Hi,
 
 Sorry for replying a bit late; I was on a short vacation last week and
 I only got back to my e-mail this morning.

No problem, I'd say it was a quick reply,
 
 Well, the work I've done on PDCurses may be seen in the Debian Games Team's
 Git repository -
 http://anonscm.debian.org/gitweb/?p=pkg-games/libxcurses.git;a=summary
 or, of course, http://anonscm.debian.org/git/pkg-games/libxcurses.git/

Thanks. Looking at it.

 The truth is, just a couple of days ago I remembered that my ITPs of
 this library and ASCIIpOrtal have been, well, languishing for a while;
 I'll do something about them in the next couple of days :)
 
 I'll certainly see what you've done and look for some ideas, and shame on
 me for not checking if anybody had done anything like that for Ubuntu!

Note that I noticed its existence last week. It was in the Ubuntu PPA
(Personal packages archive) section, so seemed unofficial.

 Thanks a lot for your message and the pointers; I'll get back to you when
 I've had a bit more time to see what everybody else has been doing on
 libpdcurses while I wasn't looking :)  It'll most probably be later today
 or tomorrow.

Thanks for the info, Peter. I had a look at your package and would like to
add some comments,

* First thing I noticed is that it misses libsdl-dev build-depend, so it
  will not build as is. Next tests have it included.

* It will not build in sid because MH_CHECK_LIB will check in hardcoded
  locations, not including new recent Debian multiarch locations. For that
  reason, configure fails on

  checking for X... libraries , headers 
  configure: error: Cannot find required X library; libXt. PDCurses cannot be
  configured

  Same happens with my 3.4-3 package (previous to all recent changes).

* I built it successfully in squeeze (once libsdl-dev dependency is added),
  just that dpkg-shlibdeps warns about unneeded libraries linked.

  dpkg-shlibdeps: warning: dependency on libSM.so.6 could be avoided if
  debian/libxcurses0/usr/lib/libXCurses.so.0.3.4 were not uselessly linked
  against it (they use none of its symbols).
  dpkg-shlibdeps: warning: dependency on libICE.so.6 could be avoided if
  debian/libxcurses0/usr/lib/libXCurses.so.0.3.4 were not uselessly linked
  against it (they use none of its symbols).
  dpkg-shlibdeps: warning: dependency on libXext.so.6 could be avoided if
  debian/libxcurses0/usr/lib/libXCurses.so.0.3.4 were not uselessly linked
  against it (they use none of its symbols).

  Seems that for xorg, there is no need to explicitly link against those
  libraries (although they seem to get linked indirectly).

I also looked at the resulting squeeze packages. Comments below, along with
my current status.

I did not much work in my (still not pushed) changes, just noticed that
headers are required by both SDL and X11 ports for compiling. I have also
fixed ordering of X11 libs in my side (I previously did it wrong). 

I am commenting current structure of packages at my side (note that it is 
different from yours),

Source package: pdcurses

Binary packages:

 * Runtime shared libraries:
   - libxcurses3
   - libsdlcurses3

 * Static libraries and unversioned shared link:
   - libxcurses-dev
   - libsdlcurses-dev

 * Headers (needed by both libxcurses-dev and libsdlcurses-dev):
   - pdcurses-headers

Note that I honour upstream name for Source package. I think you should also
do that (libxcurses refers only to the X11 port).

I named the SDL part libsdlcurses (and used libSDLCurses.so names). Do not
know if this is the best naming scheme, so I think we should wait to hear
upstream voice here (Hi, William).

I use 3 for lib{sdl,x}curses3 (and lib...so.3..). This is 

Bug#548070: ITP: libpdcurses0 -- X/Open curses library with an X11 and SDL interface

2011-06-30 Thread Agustin Martin
On Wed, Sep 23, 2009 at 06:13:22PM +0300, Peter Pentchev wrote:
 Package: wnpp
 Severity: wishlist
 Owner: Peter Pentchev r...@ringlet.net
 
 * Package name: libpdcurses0
   Version : 3.4
   Upstream Author : William McBrine wmcbr...@users.sf.net
 * URL : http://pdcurses.sourceforge.net/
 * License : Public domain, MIT, GPL-2+
   Programming Lang: C
   Description : X/Open curses library with an X11 and SDL interface
 
 The main reason I want to package this library is that asciiportal
 (in a separate ITP) uses its SDL bindings for its weird half-TUI,
 half-GUI :)

(cc'ing Anders Kaseorg and upstream William McBrine, hi both)

Hi, Peter

Sorry for the late reply, I should at least have said hello when I first
noticed your ITP.

During some time I have been playing with a personal package for XCurses put
at my personal Debian area. It dealt only with XCurses to play with THE (an
IBM XEDIT clone) under X system and had it at my personal git area under
alioth, 

  git://anonscm.debian.org/users/agmartin/pdcurses.git

I am not very familiar with the internals of shared libraries, so I did not
make an ITP myself, just kept it as a personal package and offered it in the
THE list in case people finds it useful.

When I later noticed your interest about the SDL stuff I had a look at that
part, but finally did nothing but a very preliminary intent of building a
shared library for it.

Browsing recently for more info, I also noticed that my original package was
used by Anders Kaseorg (cc'ed) as a basis for a package un Ubuntu, including
static SDL stuff,

  http://ppa.launchpad.net/anders-kaseorg/ubuntu/pool/main/p/pdcurses/

It contains libpdcurses-dev for the SDL stuff, and libxcurses3 and
libxcurses-dev for the X stuff as in my original package.

I have recently started playing with libtool (just for fun) and used PDcurses
as my testing target. I never played before with libtool or automake and only
a little with autoconf, but after some work, seems I have something that may
work. It creates

libxcurses3 and libxcurses-dev   for the XCurses stuff
libsdlcurses3 and libsdlcurses-dev   for the SDL stuff

including shared and static libraries for both. All the build process is done
without touching upstream files, so I can safely test things under Debian
without putting much noise in diffs. I tested the resulting XCurses stuff and
seems to work similarly to my old package (THE works, some demos segfault,
some work). I also did a minimal SDL test (just sdltest) which seemed 
successful. 

I have removed some of the original AC-like macros where I hope libtool will
do a better job, but as said before, I am not an expert about this. Apart
from that, I disabled MH_CHECK_LIB, which will not find some libs in new
Debian multiarch lib structure breaking build in current Debian sid (and
which also included some extra unneeded libs for xorg) and used plain 
AC_CHECK_LIB. This will not check for old XFree86, so is not very portable,
but is a first step.

Currently most things are intended to be started from debian/rules, until
proper Makefile is created. However, although things are done outside the
upstream tree, I think that if things finally work properly the system can
also be useful upstream (thus he is cc'ed) and easily put there.

Did not yet push my changes to above git repo nor sent a package with new
stuff to my Debian area, just wanted to comment on this first, but will do
soon if desired. Comments are welcome.

Regards,

PS: Contributors, please keep bug address cc'ed in replies, thanks.

-- 
Agustin



-- 
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110630144318.ga19...@agmartin.aq.upm.es



Bug#548070: ITP: libpdcurses0 -- X/Open curses library with an X11 and SDL interface

2009-09-23 Thread Peter Pentchev
Package: wnpp
Severity: wishlist
Owner: Peter Pentchev r...@ringlet.net

* Package name: libpdcurses0
  Version : 3.4
  Upstream Author : William McBrine wmcbr...@users.sf.net
* URL : http://pdcurses.sourceforge.net/
* License : Public domain, MIT, GPL-2+
  Programming Lang: C
  Description : X/Open curses library with an X11 and SDL interface

The main reason I want to package this library is that asciiportal
(in a separate ITP) uses its SDL bindings for its weird half-TUI,
half-GUI :)

G'luck,
Peter

-- 
Peter Pentchev  r...@ringlet.netr...@space.bgr...@freebsd.org
PGP key:http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
When you are not looking at it, this sentence is in Spanish.


pgpn2EIkkF3sf.pgp
Description: PGP signature