Your message dated Thu, 24 Feb 2005 06:47:35 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#296606: fixed in timemachine 0.3.0-2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 23 Feb 2005 15:37:42 +0000
>From [EMAIL PROTECTED] Wed Feb 23 07:37:42 2005
Return-path: <[EMAIL PROTECTED]>
Received: from mailrelay.tu-graz.ac.at (mailrelay01.tugraz.at) [129.27.3.7] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1D3ya5-0000Ds-00; Wed, 23 Feb 2005 07:37:41 -0800
Received: from fzidpc73.tu-graz.ac.at (fzidpc73.tu-graz.ac.at [129.27.9.73])
        by mailrelay01.tugraz.at (8.13.3/8.13.3) with ESMTP id j1NFbAjM018779
        for <[EMAIL PROTECTED]>; Wed, 23 Feb 2005 16:37:10 +0100 (CET)
Received: from mlang by fzidpc73.tu-graz.ac.at with local (Exim 3.36 #1 
(Debian))
        id 1D3yZa-0002YO-00
        for <[EMAIL PROTECTED]>; Wed, 23 Feb 2005 16:37:10 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: timemachine: Broken command-line mode
From: Mario Lang <[EMAIL PROTECTED]>
Date: Wed, 23 Feb 2005 16:37:10 +0100
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: Mario Lang <[EMAIL PROTECTED]>
X-Scanned-By: MIMEDefang 2.51 on 129.27.5.7
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: timemachine
Version: 0.3.0-1
Severity: important
Tags: patch

It is unclear to me how that happened, but for some reason
the code in the debian source package for timemachine-0.3.0
is missing an essential piece of code to make the command-line
mode work.

I just checked with the original source package at
http://www.plugin.org.uk/timemachine/timemachine-0.3.0.tar.gz

And here is the diff I get when diffing src/main.c from
Debian against original 0.3.0 sources.  This code needs
to be re-added to make the "-i" option work as expected:

--- src/main.c  2005-02-23 16:32:05.000000000 +0100
+++ /tmp/timemachine-0.3.0/src/main.c   2004-10-28 15:48:09.000000000 +0200
@@ -208,29 +208,56 @@
     /* Start the disk thread */
     pthread_create(&dt, NULL, (void *)&writer_thread, NULL);
 
-    gtk_init(&argc, &argv);
+#ifdef HAVE_LIBREADLINE
+    if (console || !getenv("DISPLAY") || getenv("DISPLAY")[0] == '\0') {
+      int done = 0;
+      while (!done) {
+       char *line = readline("TimeMachine> ");
+       if (!line) {
+         printf("EOF\n");
+         break;
+       }
+       if (line && *line) {
+         add_history(line);
+         if (strncmp(line, "q", 1) == 0) done = 1;
+         else if (strncmp(line, "start", 3) == 0) recording_start();
+         else if (strncmp(line, "stop", 3) == 0) recording_stop();
+         else if (strncmp(line, "help", 3) == 0) {
+           printf("Commands: start stop\n");
+         } else {
+           printf("Unknown command\n");
+          }
+       }
+       free(line);
+      }
+    } else
+#endif
+    {
+      gtk_init(&argc, &argv);
 
-    add_pixmap_directory(PACKAGE_DATA_DIR "/" PACKAGE "/pixmaps");
-    add_pixmap_directory("pixmaps");
-    add_pixmap_directory("../pixmaps");
-
-    img_on = create_pixbuf("on.png");
-    img_off = create_pixbuf("off.png");
-    img_busy = create_pixbuf("busy.png");
-    icon_on = create_pixbuf("on-icon.png");
-    icon_off = create_pixbuf("off-icon.png");
-
-    main_window = create_window(client_name);
-    gtk_window_set_icon(GTK_WINDOW(main_window), icon_off);
-    gtk_widget_show(main_window);
+      add_pixmap_directory(PACKAGE_DATA_DIR "/" PACKAGE "/pixmaps");
+      add_pixmap_directory("pixmaps");
+      add_pixmap_directory("../pixmaps");
+
+      img_on = create_pixbuf("on.png");
+      img_off = create_pixbuf("off.png");
+      img_busy = create_pixbuf("busy.png");
+      icon_on = create_pixbuf("on-icon.png");
+      icon_off = create_pixbuf("off-icon.png");
+
+      main_window = create_window(client_name);
+      gtk_window_set_icon(GTK_WINDOW(main_window), icon_off);
+      gtk_widget_show(main_window);
+
+      bind_meters();
+      g_timeout_add(100, meter_tick, NULL);
 
-    bind_meters();
-    g_timeout_add(100, meter_tick, NULL);
 #ifdef HAVE_LADCCA
-    gtk_idle_add(idle_cb, cca_client);
+      gtk_idle_add(idle_cb, cca_client);
 #endif
 
-    gtk_main();
+      gtk_main();
+    }
 
     cleanup();
 


-- 
Regards,
      Mario Lang

Graz University of Technology     mailto:[EMAIL PROTECTED]
Department Computing               http://www.ZID.TUGraz.at/lang/
Phone: +43 (0) 316 / 873 - 6897

---------------------------------------
Received: (at 296606-close) by bugs.debian.org; 24 Feb 2005 11:53:02 +0000
>From [EMAIL PROTECTED] Thu Feb 24 03:53:02 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1D4HYE-0003vt-00; Thu, 24 Feb 2005 03:53:02 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1D4HSx-0004wk-00; Thu, 24 Feb 2005 06:47:35 -0500
From: Robert Jordens <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#296606: fixed in timemachine 0.3.0-2
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Thu, 24 Feb 2005 06:47:35 -0500
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Source: timemachine
Source-Version: 0.3.0-2

We believe that the bug you reported is fixed in the latest version of
timemachine, which is due to be installed in the Debian FTP archive:

timemachine_0.3.0-2.diff.gz
  to pool/main/t/timemachine/timemachine_0.3.0-2.diff.gz
timemachine_0.3.0-2.dsc
  to pool/main/t/timemachine/timemachine_0.3.0-2.dsc
timemachine_0.3.0-2_powerpc.deb
  to pool/main/t/timemachine/timemachine_0.3.0-2_powerpc.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Robert Jordens <[EMAIL PROTECTED]> (supplier of updated timemachine package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 24 Feb 2005 12:09:27 +0100
Source: timemachine
Binary: timemachine
Architecture: source powerpc
Version: 0.3.0-2
Distribution: unstable
Urgency: low
Maintainer: Robert Jordens <[EMAIL PROTECTED]>
Changed-By: Robert Jordens <[EMAIL PROTECTED]>
Description: 
 timemachine - JACK audio recorder for spontaneous and conservatory use
Closes: 296606
Changes: 
 timemachine (0.3.0-2) unstable; urgency=low
 .
   * src/main.c: fix commandline mode; patch from Mario Lang; closes:
     Bug#296606: timemachine: Broken command-line mode
   * debian/control: build against libreadline5-dev, line-join build-depends
Files: 
 96706856d886db37ab9e928011f9c366 715 sound optional timemachine_0.3.0-2.dsc
 bfee370bb91f534d1a71c8502d6881b6 3982 sound optional 
timemachine_0.3.0-2.diff.gz
 44601940db9ce76bf8a194805c1d920b 85932 sound optional 
timemachine_0.3.0-2_powerpc.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCHbuOHSjkv+Av7xERAgRfAJ9PDK3fUDnNQ4WHtKa9FOK+Ut8OLgCfWP61
SMGRfu5EID/XzkQ8+6W96NU=
=fZul
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to