[Linux-bruxelles] beid dans debian

Richardson Philip pprichardson at gmail.com
Mer 26 Mai 15:57:55 CEST 2010


Le 26/05/10, Benoit Mortier a écrit :

> je viens d'ecrire a wouter pour offrir mon aide, tu peut deja m'envoyer ce
> que tu as fait

Cool ! Et voilà un bon thème pour un prochain jeudi du libre.

Voici sa réponse côté pratique pour participer :

> 2010/5/26, Wouter Verhelst :
> I've put my 'current' version up on git.debian.org, and have created a
> mailinglist for people who want to help.
> apt-get -d source beid
Semble avoir été retiré du dépot ???

> git clone git://git.debian.org/users/wouter/beid.git
> should give you my current sources.
> The mailinglist is at
> <http://samba.grep.be/cgi-bin/mailman/listinfo/debian-beid>.

Voici mes remarques pour le 3.5.2 et le futur 3.5.3  :

> With your "as is" package in x86_64 and i686 (build from source, non
> binary available) summary is :
>
> - beidgui : no languages menu, no icon for desktop menu and more
> critical no photo and no background image for identity card, neither
> when printed.
> - beid-mozilla-plugin : not working at all in x86_64 (not loading
> personnal certs), it seems a bug with no solution found on the net.
>
> I've made my own 3.5.3 package using your debian folder to see if it
> was better. Summary is :
>
> -few correction (see below) and not too bad to compile when using
> libxerces-c-dev (3.1) :
> -I have the languages sub-menu when I put eidmw_* in /usr/bin/
> -I have the desktop icon when joining it in the packages and make
> correction on Icon=/usr/share/icons/eid35.png in beidgui35.desktop.
> -But still more important no image in beidgui and nothing better with
> Iceweasel x86_64 version.
>
> For the fun made a build on a Ubuntu 10.04 x86_64 with the same results.

Ah oui détail, faut jouer avec update-alternatives pour forcer qmake
vers qmake-qt4 en quick and dirty ou s'inspirer du patch de Wouter
pour changer les liens dans le source.
Pour les erreurs de compilation pas le choix, j'ai du utiliser le
patch de Wouter pour une compilation complète.Ce sui donne à partir
d'un svn diff :

> Index: _src/eidmw/install/beidgui35.desktop
> ===================================================================
> --- _src/eidmw/install/beidgui35.desktop        (révision 282)
> +++ _src/eidmw/install/beidgui35.desktop        (copie de travail)
> @@ -7,7 +7,7 @@
>  Comment=Display and administer your eID card
>  Comment[nl]=Weergeven en beheren van uw eID kaart
>  Comment[fr]=Affichage et gestion de votre carte eID
> -Exec=/usr/local/bin/beidgui
> +Exec=/usr/bin/beidgui
>  Terminal=false
>  MultipleArgs=false
>  Type=Application
> Index: _src/eidmw/jar/beid35libJava.jar
> ===================================================================
> Impossible d'afficher : fichier considéré comme binaire.
> svn:mime-type = application/octet-stream
> Index: _src/beid-2.6/src/beidservicecrl/CRLScheduler.cpp
> ===================================================================
> --- _src/beid-2.6/src/beidservicecrl/CRLScheduler.cpp   (révision 282)
> +++ _src/beid-2.6/src/beidservicecrl/CRLScheduler.cpp   (copie de travail)
> @@ -93,7 +93,7 @@
>
>     if(pCRLDistribution != NULL && pszCRLStorePath != NULL)
>     {
> -        char *pTemp;
> +       const char *pTemp;
>         const char *pFile = pCRLDistribution;
>         while(NULL != (pTemp = strstr(pFile, "/")))
>         {
> Index: _src/beid-2.6/admin/generic.py
> ===================================================================
> --- _src/beid-2.6/admin/generic.py      (révision 282)
> +++ _src/beid-2.6/admin/generic.py      (copie de travail)
> @@ -492,7 +492,7 @@
>
>        def string_la_file(target, source, env):
>                print "building '%s' from '%s'" % (target[0].name, source[0].name)
> -       la_file = env.Action(build_la_file, string_la_file, ['BKSYS_VNUM',
> 'BKSYS_DESTDIR'])
> +       la_file = env.Action(build_la_file, string_la_file, 'BKSYS_VNUM',
> 'BKSYS_DESTDIR')
>        env['BUILDERS']['LaFile'] =
> env.Builder(action=la_file,suffix='.la',src_suffix=env['SHLIBSUFFIX'])
>
>        ## Function for building shared libraries
>




Plus d'informations sur la liste de diffusion Linux-bruxelles