Prima & Debian

From: Serge Olkhowik <solo_at_isd.dp.ua>
Date: Fri, 21 Nov 2003 19:07:20 +0200
To: prima_at_prima.eu.org

Hi!

Is there any debian-ready packages of Prima?

I tried to search www.apt-get.org - nothing :(

So I want to build deb by myself.

First I tried to compile 1.12 and I got one error which was discussed
before about codec_Xpm.c, so my solution is:

#undef Font
#undef Drawable
#undef Bool
#undef Window
#define ComplexShape 0
#define XBool int
#undef Complex
#undef FUNC
#include "img.h"
#include "Icon.h"
#define Drawable XDrawable
#define Font XFont
#define Window XWindow
#include <X11/xpm.h>

I know about CVS but I want to prepare automatical creating of deb-packages
;)

So first I try 1.12.

Next question is about 'install'. I have such line in my 'rules':

perl Makefile.PL PREFIX=`pwd`/debian/tmp/usr

But 'make install' copies files into
`pwd`/debian/tmp/usr/local/perl/5.8.1.

So I have to modify Makefile.PL and change $Config{installsitearch} to
$Config{installvendorarch} and so on.

I understand that local tree should be used for usual installation.
But standard tree should be used for Debian.

So I made these changes with emacs's simple 'replace-string' and how will I
do it for automatical build? But I guess it would be simple like sed.

Next question - when creating Makefile I got message:

*** Warning (probably harmless): `gdbm' library not found
*** Warning (probably harmless): `db' library not found

Are these libriaries (developer parts) required for Prima run?

I tried examples and I got a trouble:

- Default font in all applications is very small as compared with
  Win32. Only font in entry field in 'e' example is normal and selected
  font in 'fontsel' is looking good to.

Is it normal?

And one more question - does Prima support utf-8? I mean that I want to use
perl-5.8 with utf-8, bind to database (IB/FB) with utf-8 coding (or cp1251
with some own recoding) and use current locale keyboard input (X11 or
Win32) and get a sweet life? ;)

Next I'll try to pack deb from CVS sources.

PS: Voland, do you have an ICQ number? ;)

-- 
Serge Olkhowik <solo_at_isd.dp.ua>
ISD Configuration Management Team <cm_at_isd.dp.ua>
Received on Fri 21 Nov 2003 - 18:08:11 CET

This archive was generated by hypermail 2.2.0 : Sat 19 Mar 2011 - 18:35:05 CET