Re: audio/potamus

2018-02-13 Thread Landry Breuil
On Tue, Feb 13, 2018 at 09:26:22PM +0100, Björn Ketelaars wrote:
> On Tue 13/02/2018 20:59, Antoine Jacoutot wrote:
> > On Tue, Feb 13, 2018 at 07:24:58PM +, Björn Ketelaars wrote:
> > > On Tue 13/02/2018 20:01, Landry Breuil wrote:
> > > > On Tue, Feb 13, 2018 at 06:37:47PM +0100, Björn Ketelaars wrote:
> > > > > Diff below brings potamus to the latest version. While here add
> > > > > SEPARATE_BUILD=Yes to Makefile.
> > > > 
> > > > What is it with this ? I see you're adding it to Makefiles, is there a
> > > > particular reason for it ? If it's *better* generally, then maybe a
> > > > (much larger) task would be to switch it by default and only set it to
> > > > no for broken ports..
> > > 
> > > It has some advantages, and testing it while working on a port is cheap.
> > > From https://www.openbsd.org/faq/ports/guide.html:
> > > 
> > > - If the port can build with object files outside its source tree, this
> > >   is cleaner (many programs using CONFIGURE_STYLE=gnu can), and may help
> > >   people who mount their ports tree on several arches.
> > 
> > You still can. Just use a local partition for your objdir.
> > 
> > > - This can also spare you some effort, as you will possibly be able to
> > >   restart the cycle at configure most of the time.
> > 
> > I agree with Landry.
> > I don't like to start adding this to ports unless this is required. Now, if 
> > we
> > want to make it a default, than fine, someone starts the effort...
> 
> Clear! Until I understand the internals better I'm not going to start
> the effort.
> 
> Attached a new diff without the SEPARATE_BUILD bit.
> 
> OK?

ok



Re: audio/potamus

2018-02-13 Thread Stuart Henderson
On 2018/02/13 20:59, Antoine Jacoutot wrote:
> On Tue, Feb 13, 2018 at 07:24:58PM +, Björn Ketelaars wrote:
> > On Tue 13/02/2018 20:01, Landry Breuil wrote:
> > > On Tue, Feb 13, 2018 at 06:37:47PM +0100, Björn Ketelaars wrote:
> > > > Diff below brings potamus to the latest version. While here add
> > > > SEPARATE_BUILD=Yes to Makefile.
> > > 
> > > What is it with this ? I see you're adding it to Makefiles, is there a
> > > particular reason for it ? If it's *better* generally, then maybe a
> > > (much larger) task would be to switch it by default and only set it to
> > > no for broken ports..
> > 
> > It has some advantages, and testing it while working on a port is cheap.
> > From https://www.openbsd.org/faq/ports/guide.html:
> > 
> > - If the port can build with object files outside its source tree, this
> >   is cleaner (many programs using CONFIGURE_STYLE=gnu can), and may help
> >   people who mount their ports tree on several arches.
> 
> You still can. Just use a local partition for your objdir.
> 
> > - This can also spare you some effort, as you will possibly be able to
> >   restart the cycle at configure most of the time.
> 
> I agree with Landry.
> I don't like to start adding this to ports unless this is required. Now, if we
> want to make it a default, than fine, someone starts the effort...
> 
> -- 
> Antoine
> 

I do like it on ports that take a long time to extract, as long as it
doesn't need any extra faffing around (extra patches etc).

Definitely don't want to do it by default, fixing things for that is
going to be about as much fun as patching for ${LOCALBASE} etc. :-)



Re: audio/potamus

2018-02-13 Thread Björn Ketelaars
On Tue 13/02/2018 20:59, Antoine Jacoutot wrote:
> On Tue, Feb 13, 2018 at 07:24:58PM +, Björn Ketelaars wrote:
> > On Tue 13/02/2018 20:01, Landry Breuil wrote:
> > > On Tue, Feb 13, 2018 at 06:37:47PM +0100, Björn Ketelaars wrote:
> > > > Diff below brings potamus to the latest version. While here add
> > > > SEPARATE_BUILD=Yes to Makefile.
> > > 
> > > What is it with this ? I see you're adding it to Makefiles, is there a
> > > particular reason for it ? If it's *better* generally, then maybe a
> > > (much larger) task would be to switch it by default and only set it to
> > > no for broken ports..
> > 
> > It has some advantages, and testing it while working on a port is cheap.
> > From https://www.openbsd.org/faq/ports/guide.html:
> > 
> > - If the port can build with object files outside its source tree, this
> >   is cleaner (many programs using CONFIGURE_STYLE=gnu can), and may help
> >   people who mount their ports tree on several arches.
> 
> You still can. Just use a local partition for your objdir.
> 
> > - This can also spare you some effort, as you will possibly be able to
> >   restart the cycle at configure most of the time.
> 
> I agree with Landry.
> I don't like to start adding this to ports unless this is required. Now, if we
> want to make it a default, than fine, someone starts the effort...

Clear! Until I understand the internals better I'm not going to start
the effort.

Attached a new diff without the SEPARATE_BUILD bit.

OK?


Index: Makefile
===
RCS file: /cvs/ports/audio/potamus/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- Makefile16 Nov 2017 19:52:09 -  1.6
+++ Makefile13 Feb 2018 20:25:26 -
@@ -1,9 +1,8 @@
 # $OpenBSD: Makefile,v 1.6 2017/11/16 19:52:09 kirby Exp $
 
 COMMENT =  lightweight audio player with a simple interface
-DISTNAME = potamus-16
+DISTNAME = potamus-17
 CATEGORIES =   audio x11
-REVISION = 2
 
 HOMEPAGE = http://offog.org/code/potamus/
 
Index: distinfo
===
RCS file: /cvs/ports/audio/potamus/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo22 Nov 2014 06:42:39 -  1.3
+++ distinfo13 Feb 2018 20:25:26 -
@@ -1,2 +1,2 @@
-SHA256 (potamus-16.tar.gz) = CzGVX1SVR31oBIkVVg5SjRPXQRePuQ7znj/y28rXrmM=
-SIZE (potamus-16.tar.gz) = 144874
+SHA256 (potamus-17.tar.gz) = zRBISxZwZHyu+z1YYjpsF6e68EfiMFn7KDRF4X1Qa4o=
+SIZE (potamus-17.tar.gz) = 146822



Re: audio/potamus

2018-02-13 Thread Antoine Jacoutot
On Tue, Feb 13, 2018 at 07:24:58PM +, Björn Ketelaars wrote:
> On Tue 13/02/2018 20:01, Landry Breuil wrote:
> > On Tue, Feb 13, 2018 at 06:37:47PM +0100, Björn Ketelaars wrote:
> > > Diff below brings potamus to the latest version. While here add
> > > SEPARATE_BUILD=Yes to Makefile.
> > 
> > What is it with this ? I see you're adding it to Makefiles, is there a
> > particular reason for it ? If it's *better* generally, then maybe a
> > (much larger) task would be to switch it by default and only set it to
> > no for broken ports..
> 
> It has some advantages, and testing it while working on a port is cheap.
> From https://www.openbsd.org/faq/ports/guide.html:
> 
> - If the port can build with object files outside its source tree, this
>   is cleaner (many programs using CONFIGURE_STYLE=gnu can), and may help
>   people who mount their ports tree on several arches.

You still can. Just use a local partition for your objdir.

> - This can also spare you some effort, as you will possibly be able to
>   restart the cycle at configure most of the time.

I agree with Landry.
I don't like to start adding this to ports unless this is required. Now, if we
want to make it a default, than fine, someone starts the effort...

-- 
Antoine



Re: audio/potamus

2018-02-13 Thread Björn Ketelaars
On Tue 13/02/2018 20:01, Landry Breuil wrote:
> On Tue, Feb 13, 2018 at 06:37:47PM +0100, Björn Ketelaars wrote:
> > Diff below brings potamus to the latest version. While here add
> > SEPARATE_BUILD=Yes to Makefile.
> 
> What is it with this ? I see you're adding it to Makefiles, is there a
> particular reason for it ? If it's *better* generally, then maybe a
> (much larger) task would be to switch it by default and only set it to
> no for broken ports..

It has some advantages, and testing it while working on a port is cheap.
>From https://www.openbsd.org/faq/ports/guide.html:

- If the port can build with object files outside its source tree, this
  is cleaner (many programs using CONFIGURE_STYLE=gnu can), and may help
  people who mount their ports tree on several arches.
- This can also spare you some effort, as you will possibly be able to
  restart the cycle at configure most of the time.



Re: audio/potamus

2018-02-13 Thread Landry Breuil
On Tue, Feb 13, 2018 at 06:37:47PM +0100, Björn Ketelaars wrote:
> Diff below brings potamus to the latest version. While here add
> SEPARATE_BUILD=Yes to Makefile.

What is it with this ? I see you're adding it to Makefiles, is there a
particular reason for it ? If it's *better* generally, then maybe a
(much larger) task would be to switch it by default and only set it to
no for broken ports..

Besides that, looks okay to me.



audio/potamus

2018-02-13 Thread Björn Ketelaars
Diff below brings potamus to the latest version. While here add
SEPARATE_BUILD=Yes to Makefile.

Tested OK by Rage Against The Machine

OK?



Index: Makefile
===
RCS file: /cvs/ports/audio/potamus/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- Makefile16 Nov 2017 19:52:09 -  1.6
+++ Makefile13 Feb 2018 17:32:10 -
@@ -1,9 +1,8 @@
 # $OpenBSD: Makefile,v 1.6 2017/11/16 19:52:09 kirby Exp $
 
 COMMENT =  lightweight audio player with a simple interface
-DISTNAME = potamus-16
+DISTNAME = potamus-17
 CATEGORIES =   audio x11
-REVISION = 2
 
 HOMEPAGE = http://offog.org/code/potamus/
 
@@ -33,6 +32,7 @@ LIB_DEPENDS = audio/libao \
 RUN_DEPENDS =  devel/desktop-file-utils \
x11/gtk+3,-guic
 
+SEPARATE_BUILD=Yes
 CONFIGURE_STYLE =  gnu
 CONFIGURE_ARGS =   --disable-output-jack
 
Index: distinfo
===
RCS file: /cvs/ports/audio/potamus/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo22 Nov 2014 06:42:39 -  1.3
+++ distinfo13 Feb 2018 17:32:10 -
@@ -1,2 +1,2 @@
-SHA256 (potamus-16.tar.gz) = CzGVX1SVR31oBIkVVg5SjRPXQRePuQ7znj/y28rXrmM=
-SIZE (potamus-16.tar.gz) = 144874
+SHA256 (potamus-17.tar.gz) = zRBISxZwZHyu+z1YYjpsF6e68EfiMFn7KDRF4X1Qa4o=
+SIZE (potamus-17.tar.gz) = 146822



NEW: audio/potamus

2013-11-15 Thread Brian Callahan

Hi ports --

Attached is a new port, audio/potamus. Potamus is a lightweight GTK+2 
audio player designed to use your filesystem to sort music, rather than 
a complex database.


Works well for me on amd64 and macppc.

OK?

~Brian



potamus.tgz
Description: Binary data


Re: new: audio/potamus

2011-03-08 Thread Landry Breuil
On Sun, Mar 06, 2011 at 10:14:59PM +0100, Stefan Sperling wrote:
 This audio player does indeed have quite a minimal UI (as advertised).
 It lacks a couple of features I'd like (queue, repeat, search in track list,
 scroll track list if mouse wheel is used on it), so I'm not sure yet
 if will replace XMMS for me. But it's quite close. And the code looks
 fairly sane compared to some other audio apps I've peeked into.
 It uses libao or jack so it works with sndio.
 It needs a graphical file manager (e.g. Thunar) to add tracks via drag+drop
 which may not be everyone's cup of tea.

Minor nits:
- why not adding yourself as maintainer ?
- PLIST lacks @exec/@unexec-delete goos for .desktop files and hicolor
  icon theme
- missing RUN_DEPENDS on desktop-file-utils (needed for the .desktop
  goo)

other than that ok to import.

Landry



new: audio/potamus

2011-03-06 Thread Stefan Sperling
This audio player does indeed have quite a minimal UI (as advertised).
It lacks a couple of features I'd like (queue, repeat, search in track list,
scroll track list if mouse wheel is used on it), so I'm not sure yet
if will replace XMMS for me. But it's quite close. And the code looks
fairly sane compared to some other audio apps I've peeked into.
It uses libao or jack so it works with sndio.
It needs a graphical file manager (e.g. Thunar) to add tracks via drag+drop
which may not be everyone's cup of tea.

$ cat pkg/DESCR
Potamus is a lightweight GTK-based audio player with a simple interface and an
emphasis on high audio quality. Potamus knows nothing about the files it's
playing other than their names, and tries to make it as easy as possible to use
your file manager to locate and play music.  It can decode FLAC, Ogg Vorbis,
MPEG audio, and any format supported by the ModPlug, audiofile or FFmpeg
libraries (including WAV, Shorten, and various module formats).
It supports 24-bit audio output and gapless playback.


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