[Debian-hebrew-package] Bug#486095: Bug#486095: Can libhdate use gpc instead of fpc?

kobi zamir kobi.zamir at gmail.com
Sat Jun 14 09:16:05 UTC 2008


Hi all,

About this subjcet:
------------------------------

1. the bindings Ido made are very free pascal specific :-(

2. libhdate uses swig for perl, php, python and ruby. i do not know of a way to
use swig to make pascal bindings :-(

3. using gpc to make bindings for c is very easy  :-)

=======================
gpc hdate.pas -lhdate --cstrings-as-strings
=======================
program hdate;

function hdate_get_int_string(i: CInteger): CString; external name
'hdate_get_int_string';

begin
  writeLn(hdate_get_int_string(5));
  writeLn('Hello, World!');
end.
=======================

TODO:
-------------

1. Do you know how to use swig to make pascal bindings ?

2. If someone is volentiering to make a bindings to gpc I will add it
to the package
as soon as I get it

3. If no one will make a binding, i will make one when i will find the time.

Debian packages:
-----------------------------

The naming of all libhdate packages are not nice -

libhdate-python  -> should be python-libhdate
libhdate-perl     -> stay the same
libhdate-pascal -> should be fp-units-libhdate

when packages for php and ruby will be made they should be named:
php-libhdate
libhdate-ruby

I do not know how to name gpc units :-)
The new debian package for the gpc bindings should have a good name
from the beginning. Suggestions anyone ?

By
Kobi

On Fri, Jun 13, 2008 at 1:55 PM, Martin Guy <martinwguy at yahoo.it> wrote:
> Package: libhdate-pascal
> Version: 1.4.11-1
> Severity: wishlist
>
> Hi!
>   The pascal binding to libhdate uses FPC, which only works on five
> architectures, and from lenny+1 will only exist on four unless FPC is
> ported to armel. If libhdate-pascal could be compiled with GPC
> instead, it would be available on all 14 Debian architectures.
>
>
>
> _______________________________________________
> Debian-hebrew-package mailing list
> Debian-hebrew-package at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/debian-hebrew-package
>





More information about the Debian-hebrew-package mailing list