Bug 50823 - ng-1.5_beta1.ebuild (New Package)
Bug#: 50823 Product:  Gentoo Linux Version: 2004.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: usata@gentoo.org Reported By: loudear@gmail.com
Component: Ebuilds
URL: 
Summary: ng-1.5_beta1.ebuild (New Package)
Keywords:  EBUILD
Status Whiteboard: 
Opened: 2004-05-11 23:00 0000
Description:   Opened: 2004-05-11 23:00 0000
Please find attached ng-1.5_beta1.ebuild and a patch.

Ng is the Japanized Micro Gnu emacs. based on Mg (MicroGnuEmacs)
(with direct canna support.)

http://tt.sakura.ne.jp/~amura/ng/

I suggest app-editors/ng


Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Atsushi Kobayashi 2004-05-11 23:03:40 0000 -------
Created an attachment (id=31236) [details]
Japanised Micro gnu emacs (with direct canna support)

------- Comment #2 From Atsushi Kobayashi 2004-05-11 23:04:56 0000 -------
Created an attachment (id=31237) [details]
fix uses ncurses patch

------- Comment #3 From Mamoru KOMACHI (RETIRED) 2004-05-15 12:01:34 0000 -------
Hi, I commited the ebuild to CVS. Your ebuild looks quite tidy
and plain, but there are several flaws in your ebuild.

* You need to inherit eutils if you use epatch. epatch can be
used without it but you are strongly advised to inherit it.
* LICENSE is not GPL but GNU EMACS GENERAL PUBLIC LICENSE.
I committed it as Emacs. (If you are going to submit another
package that needs some license files other than one from
/usr/portage/licenses, it is a good idea to write so)
* sys-apps/sed is not usually necessary for runtime, so it should
be removed from RDEPEND.
* myconf="`use_enable canna`" won't work. It will be expanded as
--enable-canna and --disable-canna depending on what USE flag
you have, but some configure scripts are broken so that 
--disable-canna means --enable-canna (e.g. im-ja's configure
script is such). I changed that part to

    if use canna; then
        myconf="--enable-canna"
    fi

(no --enable-canna nor --disable-canna means you don't want to
enable canna support). You need to actually check each USE flag
if you add one.
* "into" and "dodir" aren't necessarry. Portage defaults to
"into /usr" (see man 5 ebuild) and insinto automatically creates
target directory.

Anyhow, thanks for submitting the ebuild. Keep in touch with
Bugzilla! ;)