21 lines
1.4 KiB
Plaintext
21 lines
1.4 KiB
Plaintext
$OpenBSD: patch-src_electric-activity_electric_py,v 1.3 2011/11/18 11:14:39 ajacoutot Exp $
|
|
--- src/electric-activity/electric.py.orig Sun Oct 23 12:17:24 2011
|
|
+++ src/electric-activity/electric.py Fri Nov 18 11:46:41 2011
|
|
@@ -89,14 +89,14 @@ class Gcompris_electric:
|
|
"gnucap.exe",
|
|
os.path.join(gcompris.PYTHON_PLUGIN_DIR, 'bin', 'gnucap'),
|
|
"/usr/bin/gnucap",
|
|
- "/usr/local/bin/gnucap",
|
|
+ "${LOCALBASE}/bin/gnucap",
|
|
os.path.join(gcompris.DATA_DIR, '..' , '..', '..', 'bin', 'gnucap')):
|
|
if(os.path.exists(binary)):
|
|
self.gnucap_binary = binary
|
|
break
|
|
|
|
if not self.gnucap_binary:
|
|
- gcompris.utils.dialog(_("Cannot find the 'gnucap' electric simulator.\nYou can download and install it from:\n<http://geda.seul.org/tools/gnucap/>\nTo be detected, it must be installed in\n/usr/bin/gnucap or /usr/local/bin/gnucap.\nYou can still use this activity to draw schematics without computer simulation."),
|
|
+ gcompris.utils.dialog(_("Cannot find the 'gnucap' electric simulator.\nYou can download and install it from:\n<http://geda.seul.org/tools/gnucap/>\nTo be detected, it must be installed in\n/usr/bin/gnucap or ${LOCALBASE}/bin/gnucap.\nYou can still use this activity to draw schematics without computer simulation."),
|
|
None)
|
|
|
|
|