Re: NEW: libgnt

2021-09-06 Thread Brad Smith

On 9/6/2021 5:22 AM, Stuart Henderson wrote:

On 2021/09/06 11:18, Landry Breuil wrote:

Le Sun, Sep 05, 2021 at 08:58:35PM -0400, Brad Smith a écrit :

Attached is a port of libgnt.

Comment:
ncurses toolkit for text-mode graphical user interfaces

Description:
GNT is an ncurses toolkit for creating text-mode graphical user interfaces in a
fast and easy way. It is based on GLib and ncurses.

It was born out of the console-based UI, Finch, for the libpurple project, but
has now been split into its own independent repository.

and it is a requirement to update pidgin so it's a welcome addition to
the portstree !

just one strange thing: homepage states that it needs py3 to build, but
you enforce py2. I'm not certain we want to add more ports that depend
on py2, so can it be made to use py3 ?

Landry


There's an optional dep on python 2:

# Check for Python headers
python_dep = dependency('python2', required : false)
if not python_dep.found()
 python_dep = dependency('python-2.7', required : false)
endif
gnt_config.set('USE_PYTHON', python_dep.found())


If that's not required by other ports, it might be better to neuter it, indeed.


Looking at what it does it looks like there is a hook to run Python 
scripts in some
manner. I'm not sure what exactly it does. Documentation seems to be 
very minimal.


I see FreeBSD and NetBSD do not have a Python dependency on their respective
packages. I pulled that out and removed the check to ensure a 
reproducible build.




Re: NEW: libgnt

2021-09-06 Thread Brad Smith
On Sun, Sep 05, 2021 at 08:58:35PM -0400, Brad Smith wrote:
> Attached is a port of libgnt.
> 
> Comment:
> ncurses toolkit for text-mode graphical user interfaces
> 
> Description:
> GNT is an ncurses toolkit for creating text-mode graphical user interfaces in 
> a
> fast and easy way. It is based on GLib and ncurses.
> 
> It was born out of the console-based UI, Finch, for the libpurple project, but
> has now been split into its own independent repository.

Updated to remove the Python dependency.


libgnt.tar.gz
Description: application/tar-gz


Re: NEW: libgnt

2021-09-06 Thread Brad Smith

On 9/6/2021 5:18 AM, Landry Breuil wrote:

Le Sun, Sep 05, 2021 at 08:58:35PM -0400, Brad Smith a écrit :

Attached is a port of libgnt.

Comment:
ncurses toolkit for text-mode graphical user interfaces

Description:
GNT is an ncurses toolkit for creating text-mode graphical user interfaces in a
fast and easy way. It is based on GLib and ncurses.

It was born out of the console-based UI, Finch, for the libpurple project, but
has now been split into its own independent repository.

and it is a requirement to update pidgin so it's a welcome addition to
the portstree !

just one strange thing: homepage states that it needs py3 to build, but
you enforce py2. I'm not certain we want to add more ports that depend
on py2, so can it be made to use py3 ?



Yes, that is coming.

I was a little confused by that as well. It looks like the 2.x version 
supports

Python 2. The main branch that will be a 3.x release to eventually go with
Pidgin 3.x supports Python 3.

To me the website should mention release dependencies not main branch
dependencies that hasn't even had a release yet.



Re: NEW: libgnt

2021-09-06 Thread Stuart Henderson
On 2021/09/06 16:09, Brad Smith wrote:
> On Sun, Sep 05, 2021 at 08:58:35PM -0400, Brad Smith wrote:
> > Attached is a port of libgnt.
> > 
> > Comment:
> > ncurses toolkit for text-mode graphical user interfaces
> > 
> > Description:
> > GNT is an ncurses toolkit for creating text-mode graphical user interfaces 
> > in a
> > fast and easy way. It is based on GLib and ncurses.
> > 
> > It was born out of the console-based UI, Finch, for the libpurple project, 
> > but
> > has now been split into its own independent repository.
> 
> Updated to remove the Python dependency.


Thanks, this is OK sthen@



Re: NEW: libgnt

2021-09-06 Thread Stuart Henderson
On 2021/09/06 11:18, Landry Breuil wrote:
> Le Sun, Sep 05, 2021 at 08:58:35PM -0400, Brad Smith a écrit :
> > Attached is a port of libgnt.
> > 
> > Comment:
> > ncurses toolkit for text-mode graphical user interfaces
> > 
> > Description:
> > GNT is an ncurses toolkit for creating text-mode graphical user interfaces 
> > in a
> > fast and easy way. It is based on GLib and ncurses.
> > 
> > It was born out of the console-based UI, Finch, for the libpurple project, 
> > but
> > has now been split into its own independent repository.
> 
> and it is a requirement to update pidgin so it's a welcome addition to
> the portstree !
> 
> just one strange thing: homepage states that it needs py3 to build, but
> you enforce py2. I'm not certain we want to add more ports that depend
> on py2, so can it be made to use py3 ?
> 
> Landry
> 

There's an optional dep on python 2:

# Check for Python headers
python_dep = dependency('python2', required : false)
if not python_dep.found()
python_dep = dependency('python-2.7', required : false)
endif
gnt_config.set('USE_PYTHON', python_dep.found())


If that's not required by other ports, it might be better to neuter it, indeed.



Re: NEW: libgnt

2021-09-06 Thread Landry Breuil
Le Sun, Sep 05, 2021 at 08:58:35PM -0400, Brad Smith a écrit :
> Attached is a port of libgnt.
> 
> Comment:
> ncurses toolkit for text-mode graphical user interfaces
> 
> Description:
> GNT is an ncurses toolkit for creating text-mode graphical user interfaces in 
> a
> fast and easy way. It is based on GLib and ncurses.
> 
> It was born out of the console-based UI, Finch, for the libpurple project, but
> has now been split into its own independent repository.

and it is a requirement to update pidgin so it's a welcome addition to
the portstree !

just one strange thing: homepage states that it needs py3 to build, but
you enforce py2. I'm not certain we want to add more ports that depend
on py2, so can it be made to use py3 ?

Landry