Bug#704587: ITP: libtcod -- an API for roguelike developpers

2013-05-07 Thread Etienne Millon
Small update :

I'm working with upstream to enable library versioning and proper
symbol visibility support (it's funny how you miss libtool when it's
not there).

My work is visible there, I'll copy it to alioth when it's released:

https://github.com/emillon/libtcod-debian

-- 
Etienne Millon


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#704587: ITP: libtcod -- an API for roguelike developpers

2013-04-07 Thread Etienne Millon
* Oohara Yuuma ooh...@libra.interq.or.jp [130405 08:38]:
 The library packaging guide [5] may help:
 | It is quite important that Debian does not lose binary compatibility
 | with other distributions, so changing the SONAME specifically
 | for Debian is generally a bad idea.

Thanks. I might update the upstream guide with these links.

I had an answer from upstream ; they're aware of the problems it
caused in the past and now want to keep compatibility. As a matter of
fact, 1.5.2 was just added to UT and does not break API:

http://upstream-tracker.org/versions/libtcod.html

I'll prepare a patch for upstream setting the SONAME to 1 (same as the
major version).

-- 
Etienne Millon


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#704587: ITP: libtcod -- an API for roguelike developpers

2013-04-04 Thread Etienne Millon
* Oohara Yuuma ooh...@libra.interq.or.jp [130404 09:26]:
 The upstream makefile says:
 
  libtcod.so : $(TEMP)/libtcod/release $(LIBOBJS_C_RELEASE)
  gcc -shared -Wl,-soname,$@ -o $@ $(LIBOBJS_C_RELEASE) $(ZLIB_LIBS) 
  $(PNG_LIBS) $(SDL_LIBS) $(CFLAGS) $(OPENGL_LIB)
 
 Please discuss the SONAME version with the upstream before packaging.

Sure. I just used 0 in my preliminary packaging work but the lack of
soname may be a problem. I'm afraid that it won't be easy to
convince upstream as the library has an history of API breakage [1].

Do you know if we have a comprehensive how-to / why document to
explain these problems ? The upstream guide [2] mentions a library
guide [3], and there's also [4] but everything is good to be
forwarded.

If upstream is not interested, I believe that the best solution is to
package a static library (or embed it into the brogue source package)
but I'd like to avoid that.

Thanks

[1]: http://upstream-tracker.org/versions/libtcod.html
[2]: http://wiki.debian.org/UpstreamGuide
[3]: 
http://davidz25.blogspot.fr/2011/07/writing-c-library-part-5.html#abi-api-versioning
[4]: http://semver.org/

-- 
Etienne Millon


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#704587: ITP: libtcod -- an API for roguelike developpers

2013-04-04 Thread Oohara Yuuma
On Thu, 4 Apr 2013 09:44:33 +0200,
Etienne Millon etienne.mil...@gmail.com wrote:
[upstream SONAME without version]
 Do you know if we have a comprehensive how-to / why document to
 explain these problems ? The upstream guide [2] mentions a library
 guide [3], and there's also [4] but everything is good to be
 forwarded.

The library packaging guide [5] may help:
| It is quite important that Debian does not lose binary compatibility
| with other distributions, so changing the SONAME specifically
| for Debian is generally a bad idea.

[5] http://www.netfort.gr.jp/~dancer/column/libpkg-guide/libpkg-guide.html

-- 
Oohara Yuuma ooh...@libra.interq.or.jp


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#704587: ITP: libtcod -- an API for roguelike developpers

2013-04-03 Thread Etienne Millon
Package: wnpp
Severity: wishlist
Owner: Etienne Millon etienne.mil...@gmail.com

* Package name: libtcod
  Version : 1.5.1
  Upstream Author : Jice  Mingos
* URL : http://doryen.eptalys.net/libtcod/
* License : BSD-3
  Programming Lang: C, C++
  Description : cross-platform C/C++ library for roguelike developers

A free, fast, portable and uncomplicated API for roguelike developpers
providing an advanced true color console, input, and lots of other
utilities frequently used in roguelikes.
  - keyboard and mouse input
  - true color console
  - antialiased bitmap font support
  - Sub-cell resolution  SDL callback
  - unicode support
  - high quality pseudo-random number generator
  - advanced plain text configuration file parser
  - bmp and png images support
  - Perlin noise toolkit
  - heightmap toolkit
  - field of view toolkit
  - path finding toolkit
  - BSP toolkit
  - Flexible name generator

--

I intend to maintain this package within the Games Team ; this is a
dependency for brogue (ITP #698843).

-- 
Etienne Millon


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#704587: ITP: libtcod -- an API for roguelike developpers

2013-04-03 Thread Oohara Yuuma
The upstream makefile says:

 libtcod.so : $(TEMP)/libtcod/release $(LIBOBJS_C_RELEASE)
   gcc -shared -Wl,-soname,$@ -o $@ $(LIBOBJS_C_RELEASE) $(ZLIB_LIBS) 
 $(PNG_LIBS) $(SDL_LIBS) $(CFLAGS) $(OPENGL_LIB)

Please discuss the SONAME version with the upstream before packaging.

-- 
Oohara Yuuma ooh...@libra.interq.or.jp


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org