Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 350663 | Differences between
and this patch

Collapse All | Expand All

(-)hibiscus/src/de/willuhn/jameica/hbci/passports/ddv/DDVConfigFactory.java (-5 / +5 lines)
Lines 447-455 public class DDVConfigFactory Link Here
447
   */
447
   */
448
  private static File getJNILib() throws ApplicationException
448
  private static File getJNILib() throws ApplicationException
449
  {
449
  {
450
    String file = null;
450
    String file = "libhbci4java-card-linux.so";
451
    
451
    
452
    switch (Application.getPlatform().getOS())
452
    /*switch (Application.getPlatform().getOS())
453
    {
453
    {
454
      case Platform.OS_LINUX:
454
      case Platform.OS_LINUX:
455
        file = "libhbci4java-card-linux-32.so";
455
        file = "libhbci4java-card-linux-32.so";
Lines 474-485 public class DDVConfigFactory Link Here
474
      case Platform.OS_FREEBSD_64:
474
      case Platform.OS_FREEBSD_64:
475
        file = "libhbci4java-card-freebsd-64.so";
475
        file = "libhbci4java-card-freebsd-64.so";
476
        break;
476
        break;
477
    }
477
    }*/
478
    
478
    
479
    if (file == null)
479
    if (file == null)
480
      throw new ApplicationException(i18n.tr("Hibiscus unterstützt leider keine Chipkartenleser für Ihr Betriebssystem"));
480
      throw new ApplicationException(i18n.tr("Hibiscus unterstützt leider keine Chipkartenleser für Ihr Betriebssystem"));
481
481
482
    File f = new File(de.willuhn.jameica.hbci.Settings.getLibPath(),file);
482
    File f = new File("/usr/lib",file);
483
    if (!f.exists())
483
    if (!f.exists())
484
      throw new ApplicationException(i18n.tr("Treiber {0} nicht gefunden",f.getAbsolutePath()));
484
      throw new ApplicationException(i18n.tr("Treiber {0} nicht gefunden",f.getAbsolutePath()));
485
485
Lines 508-511 public class DDVConfigFactory Link Here
508
 * Revision 1.1  2010-09-07 15:28:05  willuhn
508
 * Revision 1.1  2010-09-07 15:28:05  willuhn
509
 * @N BUGZILLA 391 - Kartenleser-Konfiguration komplett umgebaut. Damit lassen sich jetzt beliebig viele Kartenleser und Konfigurationen parellel einrichten
509
 * @N BUGZILLA 391 - Kartenleser-Konfiguration komplett umgebaut. Damit lassen sich jetzt beliebig viele Kartenleser und Konfigurationen parellel einrichten
510
 *
510
 *
511
 **********************************************************************/
511
 **********************************************************************/

Return to bug 350663