On Fri, Apr 01, 2005 at 11:16:34PM +0200, Julien BLACHE wrote:
> OK, I did a full build of TiLP + libs + TiEmu, and it works fine
> here. I uploaded everything at the same address, if you want to give
> it a try.

I still get a segmentation fault. :(   And the packages provided did not
contain any debugging symbols, so it's tricky to know why. Next time I'm
networked I'll try to remember fetching all requiered libraries for
building packages myself, but I'm afraid that's only if I remember it.

Another issue I found though was that tilp is configured with
/usr/bin/mozilla as it's default browser. Wouldn't the debian way be to
use /etc/alternatives/mozilla instead? Or is there a good reason for not
doing so that I do not realize? I'm attaching a patch that shows where
the path occurs. It's probably not correct to apply, but it might help
you find where to edit if you feel that it's a good thing to do.

Thanks,
--
/Martin

Starting program: /usr/bin/tiemu
(no debugging symbols found) /* A lot of these, of course... */
[Thread debugging using libthread_db enabled]
[New Thread -1218060160 (LWP 23074)]
TiEmu II - Version 1.80-050326
  (C) Romain Lievin & Thomas Corvazier  2000-2001
  (C) Romain Lievin 2001-2003
  (C) Julien Blache 2003
  (C) Romain Lievin 2004-2005
  (C) Romain Lievin & Kevin Kofler 2005
THIS PROGRAM COMES WITH ABSOLUTELY NO WARRANTY
PLEASE READ THE DOCUMENTATION FOR DETAILS
Configuration file not found, use default values. You can create one by the 
'File|Save config' command menu.
Scanning images/upgrades... Done.
Image informations:
  Calculator  : none
  Firmware    : v2.09
  Memory type : FLASH
  Memory size : 2MB (2097152 bytes)
  ROM base    : 40
  Hardware    : 47
  Has boot    : yes
ticables library version 3.8.9
setlocale: <en_US.UTF-8>
bindtextdomain: </usr/share/locale>
textdomain: <libticables>
built for __LINUX__ target.
checking resources:
  IO_API: found at compile time (HAVE_TERMIOS_H)
  IO_ASM: found at compile time (HAVE_ASM_IO_H).
  IO_TIPAR: found at compile time (HAVE_LINUX_TICABLE_H)
  IO_TISER: found at compile time (HAVE_LINUX_TICABLE_H)
  IO_TIUSB: found at compile time (HAVE_LINUX_TICABLE_H)
  IO_LIBUSB: found at compile time (HAVE_LIBUSB)
quick search for parallel/serial ports:
  serial port found at 0x2f8
search for all ports:
  /dev/ttyS0 at 0x3f8
tifiles library version 0.6.3
setlocale: <en_US.UTF-8>
bindtextdomain: </usr/share/locale>
textdomain: <libtifiles>
ticalcs library version 4.5.8
setlocale: <en_US.UTF-8>
bindtextdomain: </usr/share/locale>
textdomain: <libticalcs>

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1218060160 (LWP 23074)]
0xb7fb6b33 in ticalc_get_error () from /usr/lib/libticalcs.so.4
(gdb) bt full
#0  0xb7fb6b33 in ticalc_get_error () from /usr/lib/libticalcs.so.4
No symbol table info available.
#1  0x0814dd23 in tiemu_error ()
No symbol table info available.
#2  0x08150f97 in main ()
No symbol table info available.
(gdb) 
diff -ur tilp-6.77/glade/extprgms-2.glade 
tilp-6.77-mozilla/glade/extprgms-2.glade
--- tilp-6.77/glade/extprgms-2.glade    2004-09-19 16:20:58.000000000 +0200
+++ tilp-6.77-mozilla/glade/extprgms-2.glade    2005-04-02 18:17:54.428265058 
+0200
@@ -640,7 +640,7 @@
                          <property name="editable">True</property>
                          <property name="visibility">True</property>
                          <property name="max_length">0</property>
-                         <property name="text" 
translatable="yes">/usr/bin/mozilla</property>
+                         <property name="text" 
translatable="yes">/etc/alternatives/mozilla</property>
                          <property name="has_frame">True</property>
                          <property name="invisible_char" 
translatable="yes">*</property>
                          <property name="activates_default">False</property>
diff -ur tilp-6.77/glade/extprgms-2.str tilp-6.77-mozilla/glade/extprgms-2.str
--- tilp-6.77/glade/extprgms-2.str      2004-09-25 14:35:14.000000000 +0200
+++ tilp-6.77-mozilla/glade/extprgms-2.str      2005-04-02 18:18:22.359951264 
+0200
@@ -28,7 +28,7 @@
 gchar *s = N_("APPSIGN 83+ program:");
 gchar *s = N_("_AppSign");
 gchar *s = N_("Location:");
-gchar *s = N_("/usr/bin/mozilla");
+gchar *s = N_("/etc/alternatives/mozilla");
 gchar *s = N_("*");
 gchar *s = N_("...");
 gchar *s = N_("Options:");
diff -ur tilp-6.77/man/Manpage.txt tilp-6.77-mozilla/man/Manpage.txt
--- tilp-6.77/man/Manpage.txt   2004-05-15 13:02:05.000000000 +0200
+++ tilp-6.77-mozilla/man/Manpage.txt   2005-04-02 18:18:58.156422827 +0200
@@ -211,7 +211,7 @@
        'tar'  program. By default, this option is equal to 'tar_options=xvzf'.
 
        web_location= Define the location of the browser. Mozilla  is  used  by
-       default: /usr/bin/mozilla.
+       default: /etc/alternatives/mozilla.
 
        web_options=  Define  the  options  to  pass on the command line of the
        'browser' program. By default, there is no option.
@@ -295,4 +295,4 @@
 
 
                                  March 3, 2003                         TILP(1)
-ÿÿ
\ No newline at end of file
+ÿÿ
diff -ur tilp-6.77/man/tilp.1 tilp-6.77-mozilla/man/tilp.1
--- tilp-6.77/man/tilp.1        2004-04-03 16:08:40.000000000 +0200
+++ tilp-6.77-mozilla/man/tilp.1        2005-04-02 18:19:18.539274882 +0200
@@ -173,7 +173,7 @@
 Define the options to pass on the command line of the 'tar' program. By 
default, this option is equal to 'tar_options=xvzf'.
 
 \fBweb_location=\fP
-Define the location of the browser. Mozilla is used by default: 
/usr/bin/mozilla.
+Define the location of the browser. Mozilla is used by default: 
/etc/alternatives/mozilla.
 
 \fBweb_options=\fP
 Define the options to pass on the command line of the 'browser' program. By 
default, there is no option.
diff -ur tilp-6.77/po/de.po tilp-6.77-mozilla/po/de.po
--- tilp-6.77/po/de.po  2005-01-30 20:30:29.000000000 +0100
+++ tilp-6.77-mozilla/po/de.po  2005-04-02 18:19:37.092409521 +0200
@@ -1337,7 +1337,7 @@
 msgstr ""
 
 #: glade/extprgms-2.str:31
-msgid "/usr/bin/mozilla"
+msgid "/etc/alternatives/mozilla"
 msgstr ""
 
 #: glade/extprgms-2.str:36
diff -ur tilp-6.77/po/fr.po tilp-6.77-mozilla/po/fr.po
--- tilp-6.77/po/fr.po  2005-01-30 20:30:30.000000000 +0100
+++ tilp-6.77-mozilla/po/fr.po  2005-04-02 18:20:17.419181420 +0200
@@ -1399,8 +1399,8 @@
 msgstr "_AppSign"
 
 #: glade/extprgms-2.str:31
-msgid "/usr/bin/mozilla"
-msgstr "/usr/bin/mozilla"
+msgid "/etc/alternatives/mozilla"
+msgstr "/etc/alternatives/mozilla"
 
 #: glade/extprgms-2.str:36
 msgid "Web Browser:"
diff -ur tilp-6.77/po/tilp.pot tilp-6.77-mozilla/po/tilp.pot
--- tilp-6.77/po/tilp.pot       2005-01-30 20:30:29.000000000 +0100
+++ tilp-6.77-mozilla/po/tilp.pot       2005-04-02 18:20:49.831175685 +0200
@@ -1287,7 +1287,7 @@
 msgstr ""
 
 #: glade/extprgms-2.str:31
-msgid "/usr/bin/mozilla"
+msgid "/etc/alternatives/mozilla"
 msgstr ""
 
 #: glade/extprgms-2.str:36
diff -ur tilp-6.77/src/tilp_misc.c tilp-6.77-mozilla/src/tilp_misc.c
--- tilp-6.77/src/tilp_misc.c   2004-10-22 22:38:58.000000000 +0200
+++ tilp-6.77-mozilla/src/tilp_misc.c   2005-04-02 18:21:11.799782834 +0200
@@ -74,7 +74,7 @@
        options.tar_options = g_strdup("");
        options.appsign_location = g_strdup("/usr/bin/appsign");
        options.appsign_options = g_strdup("-k /usr/bin/0104.key");
-       options.web_location = g_strdup("/usr/bin/mozilla");
+       options.web_location = g_strdup("/etc/alternatives/mozilla");
        options.web_options = g_strdup("");
        strcpy(options.left_font_name, "");
        strcpy(options.right_font_name,
diff -ur tilp-6.77/src/tilp_rcfile.c tilp-6.77-mozilla/src/tilp_rcfile.c
--- tilp-6.77/src/tilp_rcfile.c 2004-09-18 19:32:29.000000000 +0200
+++ tilp-6.77-mozilla/src/tilp_rcfile.c 2005-04-02 18:21:34.796231244 +0200
@@ -892,7 +892,7 @@
        fprintf(txt, "appsign_options=%s\n", options.appsign_options);
        fprintf(txt, "\n");
        fprintf(txt,
-               "# Web browser location: '/usr/bin/mozilla' by default\n");
+               "# Web browser location: '/etc/alternatives/mozilla' by 
default\n");
        fprintf(txt, "web_location=%s\n", options.web_location);
        fprintf(txt, "\n");
        fprintf(txt, "# Web browser options: no option by default\n");

Reply via email to