Re: [opensc-devel] Fwd: a little love for opensc-explorer.c

2011-03-31 Thread Martin Paljak
Hello Peter,

On Sun, Mar 20, 2011 at 13:08, Peter Marschall pe...@adpm.de wrote:
 please find attached a few patches for opensc-explorer.c
 It would be cool if the changes made it into OpenSC mainline

Done in r5277-5280.

Thanks!
___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel


[opensc-devel] Compiling for windows in Fedora 14

2011-03-31 Thread jons...@terra.es
Some notices on compile for windows under Fedora 14

Using r5283 and install instructions from wiki:
http://www.opensc-project.org/opensc/wiki/WindowsInstaller

1- In file win32/installer_from_build.sh

Fedora mingw compiler uses a different name:
-
# Ubuntu 10.10 (as wiki states)
# (cd ${build_dir}; CHOST=i586-mingw32msvc CBUILD=i686-pc-linux-gnu ./build)
# Fedora 14
(cd ${build_dir}; CHOST=i686-pc-mingw32 CBUILD=i686-pc-linux-gnu ./build)


¿Is there any standard way to take care on mingw naming issues?

2- In building process an strip error found:
-
i686-pc-mingw32-strip: unable to copy file 
'/home/jantonio/work/dnie/opendnie/opensc-opendnie/trunk/win32/build/image/opensc/lib/engines/gosteay32.dll';
 reason: Permission denied

Seems that openssl lib files are created with 0555 permissions, so cannot be 
stripped. ¿is this normal?

Continue testing
Juan Antonio

___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

[opensc-devel] Rv: Compiling for windows in Fedora 14

2011-03-31 Thread jons...@terra.es


 Mensaje original

De: jons...@terra.es

 Fecha: 31/03/2011 13:15

Para: opensc-devel@lists.opensc-project.org

Asunto: [opensc-devel] Compiling for windows in Fedora 14



Some notices on compile for windows under Fedora 14

Sorry: I forgot last notice:
My Fedora installation has default language set to ES, so wine looks 
for iscc.exe at

${HOME}/.wine/drive_c/Archivos de programa/Inno Setup 5/ISCC.exe
instead of
${HOME}/.wine/drive_c/Program Files/Inno Setup 5/ISCC.exe

So need some way to take care on i18n issues for wine

Juan Antonio

___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Re: [opensc-devel] Compiling for windows in Fedora 14

2011-03-31 Thread Martin Paljak
Hello,
On Mar 31, 2011, at 14:15 , jons...@terra.es wrote:
 Some notices on compile for windows under Fedora 14

 1- In file win32/installer_from_build.sh
 
 Fedora mingw compiler uses a different name:
 -
 # Ubuntu 10.10 (as wiki states)
 # (cd ${build_dir}; CHOST=i586-mingw32msvc CBUILD=i686-pc-linux-gnu ./build)
 # Fedora 14
 (cd ${build_dir}; CHOST=i686-pc-mingw32 CBUILD=i686-pc-linux-gnu ./build)
 
 
 ¿Is there any standard way to take care on mingw naming issues?

Yes, a patch against  win32/installer_from_build.sh that detects the distro (or 
the used name for the compiler somehow more intelligently than if-then-else for 
distros) is most welcome.


 2- In building process an strip error found:
 -
 i686-pc-mingw32-strip: unable to copy file 
 '/home/jantonio/work/dnie/opendnie/opensc-opendnie/trunk/win32/build/image/opensc/lib/engines/gosteay32.dll';
  reason: Permission denied

 Seems that openssl lib files are created with 0555 permissions, so cannot be 
 stripped. ¿is this normal?
Probably not. But it is harmless IMO.

Martin
___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel


Re: [opensc-devel] Compiling for windows in Fedora 14

2011-03-31 Thread Alon Bar-Lev
On Thu, Mar 31, 2011 at 1:34 PM, Martin Paljak mar...@martinpaljak.net wrote:
  2- In building process an strip error found:
  -
  i686-pc-mingw32-strip: unable to copy file 
  '/home/jantonio/work/dnie/opendnie/opensc-opendnie/trunk/win32/build/image/opensc/lib/engines/gosteay32.dll';
   reason: Permission denied

  Seems that openssl lib files are created with 0555 permissions, so cannot 
  be stripped. ¿is this normal?
 Probably not. But it is harmless IMO.

Harmless, and expected in some cases.

Alon.
___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Re: [opensc-devel] Rv: Compiling for windows in Fedora 14

2011-03-31 Thread Martin Paljak
Hello,
On Mar 31, 2011, at 14:22 , jons...@terra.es wrote:
 Sorry: I forgot last notice:
 My Fedora installation has default language set to ES, so wine looks 
 for iscc.exe at
 
 ${HOME}/.wine/drive_c/Archivos de programa/Inno Setup 5/ISCC.exe
 instead of
 ${HOME}/.wine/drive_c/Program Files/Inno Setup 5/ISCC.exe
 
 So need some way to take care on i18n issues for wine
If you find a very simple method (maybe wine --print-programs-dir or 
something) then it could be changed.
But the de facto language for international open source is English. 

Martin
___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel


[opensc-devel] Re Rv: Compiling for windows in Fedora 14

2011-03-31 Thread jons...@terra.es

Hello,
On Mar 31, 2011, at 14:22 , jons...@terra.es wrote:
 Sorry: I forgot last notice:
 My Fedora installation has default language set to ES, so wine looks 
 for iscc.exe at
 
 ${HOME}/.wine/drive_c/Archivos de programa/Inno Setup 5/ISCC.exe
 instead of
 ${HOME}/.wine/drive_c/Program Files/Inno Setup 5/ISCC.exe
 
 So need some way to take care on i18n issues for wine
If you find a very simple method (maybe wine --print-programs-dir or 
something) then it could be changed.
But the de facto language for international open source is English. 

Something like this could help:

# Build installer
programFiles=`grep ProgramFilesDir ${HOME}/.wine/system.reg | sed -e 
's/^.*=\(.*\)/\1/g'`
wine $programFiles\Inno Setup 5\ISCC.exe win32/OpenSc.iss
..

Juan Antonio

___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Re: [opensc-devel] Rv: Compiling for windows in Fedora 14

2011-03-31 Thread Tomas Gustavsson

One of Windows gifts to developers, randomized pathnames :-)

/Tomas

On 03/31/2011 01:38 PM, Martin Paljak wrote:
 Hello,
 On Mar 31, 2011, at 14:22 , jons...@terra.es wrote:
 Sorry: I forgot last notice:
 My Fedora installation has default language set to ES, so wine looks
 for iscc.exe at

 ${HOME}/.wine/drive_c/Archivos de programa/Inno Setup 5/ISCC.exe
 instead of
 ${HOME}/.wine/drive_c/Program Files/Inno Setup 5/ISCC.exe

 So need some way to take care on i18n issues for wine
 If you find a very simple method (maybe wine --print-programs-dir or 
 something) then it could be changed.
 But the de facto language for international open source is English.

 Martin
 ___
 opensc-devel mailing list
 opensc-devel@lists.opensc-project.org
 http://www.opensc-project.org/mailman/listinfo/opensc-devel
___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel


Re: [opensc-devel] Cardmod: classic form for the container's ID

2011-03-31 Thread Jean-Michel Pouré - GOOZE
Le lundi 28 mars 2011 à 14:06 +0200, Viktor TARASOV a écrit :
 I'm get used to this GUID format in the Windows world.
 and so it seemed to me quite natural to use it for the Windows
 containers. 

+1.

-- 
  Jean-Michel Pouré - Gooze - http://www.gooze.eu

___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel