Debian Bug report logs - #734331
RFH: mg -- microscopic GNU Emacs-style editor

Package: wnpp; Maintainer for wnpp is wnpp@debian.org;

Reported by: "Trent W. Buck" <trentbuck@gmail.com>

Date: Mon, 6 Jan 2014 00:30:01 UTC

Severity: normal

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, debian-devel@lists.debian.org, wnpp@debian.org:
Bug#734331; Package wnpp. (Mon, 06 Jan 2014 00:30:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Trent W. Buck" <trentbuck@gmail.com>:
New Bug report received and forwarded. Copy sent to debian-devel@lists.debian.org, wnpp@debian.org. (Mon, 06 Jan 2014 00:30:06 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: "Trent W. Buck" <trentbuck@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: RFH: mg -- microscopic GNU Emacs-style editor
Date: Mon, 6 Jan 2014 11:27:17 +1100
[Message part 1 (text/plain, inline)]
Package: wnpp
Severity: normal

I request assistance with maintaining the mg package.

There's been a new release waiting to go for months,
but I have been too lazy to do it.
I need someone to either do it or nag me into doing it.

Current mg has a dependency on a new C library "clens".
A working draft clens package is ready.
Step #1 is to get that sponsored.
https://opensource.conformal.com/wiki/clens
Once that's done, mg's new upstream is trivial.

The package description is:
 This program is intended to be a small, fast, and portable
 editor for people who can't (or don't want to) run real
 Emacs for one reason or another.  It is compatible with GNU
 because there shouldn't be any reason to learn more than
 one Emacs flavor.
 .
 Packages which provide editors with broadly similar goals include
 .
   * e3;
   * joe;
   * jove and xjove;
   * ng-cjk, ng-cjk-canna and ng-latin;
   * qemacs and qemacs-nox; and
   * zile
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#734331; Package wnpp. (Fri, 10 Jan 2014 00:09:13 GMT) Full text and rfc822 format available.

Acknowledgement sent to Peter De Wachter <pdewacht@gmail.com>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Fri, 10 Jan 2014 00:09:13 GMT) Full text and rfc822 format available.

Message #10 received at 734331@bugs.debian.org (full text, mbox):

From: Peter De Wachter <pdewacht@gmail.com>
To: "Trent W. Buck" <trentbuck@gmail.com>, 734331@bugs.debian.org
Subject: Re: Bug#734331: RFH: mg -- microscopic GNU Emacs-style editor
Date: Fri, 10 Jan 2014 01:05:12 +0100
Hi Trent,

I'd like to help with mg. I'm not a DD, so I won't be able to sponsor,
but I can help with anything else.

Regards

Peter



Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#734331; Package wnpp. (Sun, 12 Jan 2014 23:21:08 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Trent W. Buck" <trentbuck@gmail.com>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Sun, 12 Jan 2014 23:21:08 GMT) Full text and rfc822 format available.

Message #15 received at 734331@bugs.debian.org (full text, mbox):

From: "Trent W. Buck" <trentbuck@gmail.com>
To: Peter De Wachter <pdewacht@gmail.com>
Cc: 734331@bugs.debian.org
Subject: Re: Bug#734331: RFH: mg -- microscopic GNU Emacs-style editor
Date: Mon, 13 Jan 2014 10:19:09 +1100
[Message part 1 (text/plain, inline)]
Peter De Wachter wrote:
> Hi Trent,
> I'd like to help with mg. I'm not a DD, so I won't be able to sponsor,
> but I can help with anything else.

Thanks.

I'm usually in #debian-mentors on irc.oftc.net from ca. 10AM to 6PM
Australia/Melbourne time.

The mg stuff probably still says it's maintained in darcs, but the
repo (inc. history) was migrated to git, at
git.debian.org:/git/collab-maint/mg.git

It's a repo of just debian/, which appears to be an unusual workflow
among the git people.  I'm open to changing that if you feel strongly.

As I said in the RFH, the next step should be to get clens into a
finished state, then get it sponsored.

I've rsynced what I've currently got to ~twb-guest/Desktop/mg/ on
git.debian.org; you should have read access.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#734331; Package wnpp. (Tue, 14 Jan 2014 22:12:09 GMT) Full text and rfc822 format available.

Acknowledgement sent to Peter De Wachter <pdewacht@gmail.com>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Tue, 14 Jan 2014 22:12:09 GMT) Full text and rfc822 format available.

Message #20 received at 734331@bugs.debian.org (full text, mbox):

From: Peter De Wachter <pdewacht@gmail.com>
To: trentbuck@gmail.com
Cc: 734331@bugs.debian.org
Subject: Re: Bug#734331: RFH: mg -- microscopic GNU Emacs-style editor
Date: Tue, 14 Jan 2014 23:10:18 +0100
[Message part 1 (text/plain, inline)]
On 13-01-14 00:19, Trent W. Buck wrote:
> I'm usually in #debian-mentors on irc.oftc.net from ca. 10AM to 6PM
> Australia/Melbourne time.

I rarely IRC. If necessary I can come online but that's midnight to 8AM
Europe/Brussels time...

> The mg stuff probably still says it's maintained in darcs, but the
> repo (inc. history) was migrated to git, at
> git.debian.org:/git/collab-maint/mg.git
>
> It's a repo of just debian/, which appears to be an unusual workflow
> among the git people.  I'm open to changing that if you feel strongly.

No problem. I actually still keep all my packages in Subversion...

> As I said in the RFH, the next step should be to get clens into a
> finished state, then get it sponsored.
>
> I've rsynced what I've currently got to ~twb-guest/Desktop/mg/ on
> git.debian.org; you should have read access.

Ok, I've taken a look, and I think we don't need to bother with clens at
all. As far as I can tell it only duplicates stuff that's already in
libbsd. I've attached a trivial patch to use that library and it seems
to work fine. Can you check if that's okay with upstream?
[mg-libbsd.diff (text/x-diff, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#734331; Package wnpp. (Wed, 15 Jan 2014 00:33:17 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Trent W. Buck" <trentbuck@gmail.com>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Wed, 15 Jan 2014 00:33:17 GMT) Full text and rfc822 format available.

Message #25 received at 734331@bugs.debian.org (full text, mbox):

From: "Trent W. Buck" <trentbuck@gmail.com>
To: Han Boetes <han@boetes.org>
Cc: Peter De Wachter <pdewacht@gmail.com>, 734331@bugs.debian.org
Subject: mg-20131118 sans clens
Date: Wed, 15 Jan 2014 11:30:55 +1100
[Message part 1 (text/plain, inline)]
Han,

Peter (another Debian packager) made mg works with libbsd alone; no clens.

Is this likely to bite us on the ass later?

Adding clens to Debian is work we'd rather avoid if possible.
[Message part 2 (message/rfc822, inline)]
From: Peter De Wachter <pdewacht@gmail.com>
To: trentbuck@gmail.com
Cc: 734331@bugs.debian.org
Subject: Re: Bug#734331: RFH: mg -- microscopic GNU Emacs-style editor
Date: Tue, 14 Jan 2014 23:10:18 +0100
[Message part 3 (text/plain, inline)]
On 13-01-14 00:19, Trent W. Buck wrote:
> I'm usually in #debian-mentors on irc.oftc.net from ca. 10AM to 6PM
> Australia/Melbourne time.

I rarely IRC. If necessary I can come online but that's midnight to 8AM
Europe/Brussels time...

> The mg stuff probably still says it's maintained in darcs, but the
> repo (inc. history) was migrated to git, at
> git.debian.org:/git/collab-maint/mg.git
>
> It's a repo of just debian/, which appears to be an unusual workflow
> among the git people.  I'm open to changing that if you feel strongly.

No problem. I actually still keep all my packages in Subversion...

> As I said in the RFH, the next step should be to get clens into a
> finished state, then get it sponsored.
>
> I've rsynced what I've currently got to ~twb-guest/Desktop/mg/ on
> git.debian.org; you should have read access.

Ok, I've taken a look, and I think we don't need to bother with clens at
all. As far as I can tell it only duplicates stuff that's already in
libbsd. I've attached a trivial patch to use that library and it seems
to work fine. Can you check if that's okay with upstream?
[mg-libbsd.diff (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#734331; Package wnpp. (Fri, 17 Jan 2014 05:00:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Trent W. Buck" <trentbuck@gmail.com>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Fri, 17 Jan 2014 05:00:05 GMT) Full text and rfc822 format available.

Message #30 received at 734331@bugs.debian.org (full text, mbox):

From: "Trent W. Buck" <trentbuck@gmail.com>
To: Peter De Wachter <pdewacht@gmail.com>
Cc: 734331@bugs.debian.org
Subject: Re: Bug#734331: RFH: mg -- microscopic GNU Emacs-style editor
Date: Fri, 17 Jan 2014 15:56:33 +1100
[Message part 1 (text/plain, inline)]
Peter,

Peter De Wachter wrote:
> Ok, I've taken a look, and I think we don't need to bother with clens at
> all. As far as I can tell it only duplicates stuff that's already in
> libbsd. I've attached a trivial patch to use that library and it seems
> to work fine. Can you check if that's okay with upstream?

Han replied (without CC'ing you) with "I'll look into that sometime".
So I suggest we proceed with your patch and not bother with clens.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#734331; Package wnpp. (Wed, 19 Feb 2014 23:09:14 GMT) Full text and rfc822 format available.

Acknowledgement sent to Han Boetes <han@boetes.org>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Wed, 19 Feb 2014 23:09:14 GMT) Full text and rfc822 format available.

Message #35 received at 734331@bugs.debian.org (full text, mbox):

From: Han Boetes <han@boetes.org>
To: "Trent W. Buck" <trentbuck@gmail.com>
Cc: Peter De Wachter <pdewacht@gmail.com>, 734331@bugs.debian.org
Subject: Re: mg-20131118 sans clens
Date: Wed, 19 Feb 2014 23:59:25 +0100
Hi Trent, Peter,

Finaly I got some time! Thanks for the input and the great patches. I
rolled a new release just now.

Peter, util.h is not dead code on bsd systems. I try to make mg work on
all platforms, not just on Linux. So I didn't remove the include, I just
made it conditional on libbsd being used.

Trent Buck wrote:
> Han,
> 
> Peter (another Debian packager) made mg works with libbsd alone; no clens.
> 
> Is this likely to bite us on the ass later?
> 
> Adding clens to Debian is work we'd rather avoid if possible.

> Date: Tue, 14 Jan 2014 23:10:18 +0100
> From: Peter De Wachter <pdewacht@gmail.com>
> To: trentbuck@gmail.com
> CC: 734331@bugs.debian.org
> Subject: Re: Bug#734331: RFH: mg -- microscopic GNU Emacs-style editor
> 
> On 13-01-14 00:19, Trent W. Buck wrote:
> > I'm usually in #debian-mentors on irc.oftc.net from ca. 10AM to 6PM
> > Australia/Melbourne time.
> 
> I rarely IRC. If necessary I can come online but that's midnight to 8AM
> Europe/Brussels time...
> 
> > The mg stuff probably still says it's maintained in darcs, but the
> > repo (inc. history) was migrated to git, at
> > git.debian.org:/git/collab-maint/mg.git
> >
> > It's a repo of just debian/, which appears to be an unusual workflow
> > among the git people.  I'm open to changing that if you feel strongly.
> 
> No problem. I actually still keep all my packages in Subversion...
> 
> > As I said in the RFH, the next step should be to get clens into a
> > finished state, then get it sponsored.
> >
> > I've rsynced what I've currently got to ~twb-guest/Desktop/mg/ on
> > git.debian.org; you should have read access.
> 
> Ok, I've taken a look, and I think we don't need to bother with clens at
> all. As far as I can tell it only duplicates stuff that's already in
> libbsd. I've attached a trivial patch to use that library and it seems
> to work fine. Can you check if that's okay with upstream?

> diff --git a/GNUmakefile b/GNUmakefile
> index f9a02da..eac73c5 100644
> --- a/GNUmakefile
> +++ b/GNUmakefile
> @@ -13,13 +13,15 @@ libdir=		$(prefix)/lib
>  includedir=	$(prefix)/include
>  mandir=		$(prefix)/man
>  
> +BSD_CFLAGS:=	$(shell pkg-config --cflags libbsd-overlay)
> +BSD_LIBS:=	$(shell pkg-config --libs libbsd-overlay)
>  
>  CC=		gcc
>  CFLAGS?=	-O2 -pipe
>  CFLAGS+=	-g -Wall -Werror -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized
>  CFLAGS+= 	-DFKEYS -DREGEX -DXKEYS
> -CFLAGS+= 	-I$(includedir)/clens
> -LIBS=		-lcurses -lclens
> +CFLAGS+= 	$(BSD_CFLAGS) -D__dead=__dead2
> +LIBS=		-lcurses $(BSD_LIBS)
>  
>  INSTALL=	/usr/bin/install
>  STRIP=		/usr/bin/strip
> diff --git a/def.h b/def.h
> index c7dc24e..1ef0edc 100644
> --- a/def.h
> +++ b/def.h
> @@ -13,7 +13,6 @@
>  #include	"sysdef.h"	/* Order is critical.		 */
>  #include	"ttydef.h"
>  #include	"chrdef.h"
> -#include        <clens.h>
>  
>  typedef int	(*PF)(int, int);	/* generally useful type */
>  
> diff --git a/theo.c b/theo.c
> index a5cf284..fadac2a 100644
> --- a/theo.c
> +++ b/theo.c
> @@ -24,6 +24,7 @@
>   * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
>   */
>  
> +#include <sys/time.h>
>  #include "def.h"
>  #include "kbd.h"
>  #include "funmap.h"







# Han
-- 
(I hate large)  \||/       Nothing happens.
(sigs)      Oo. |  @___oo
      /\  /\   / (__,,,,|
     ) /^\) ^\/ _)
     )   /^\/   _)
     )   _ /  / _)
 /\  )/\/ ||  | )_)
<  >      |(,,) )__)
 ||      /    \)___)\
 | \____(      )___) )___
  \______(_______;;; __;;;



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 18 03:33:15 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.