Re: [new] bat, a 'cat replacement with wings'

2021-07-25 Thread Rafael Sadowski
On Sun Jul 25, 2021 at 04:02:46PM +0200, Rafael Sadowski wrote:
> On Wed Jul 07, 2021 at 10:01:11PM +0200, Rafael Sadowski wrote:
> > On Sat Jun 19, 2021 at 08:17:43AM +0200, Rafael Sadowski wrote:
> > > On Thu Jan 16, 2020 at 03:29:42PM +0100, Landry Breuil wrote:
> > > > Hi,
> > > >
> > > > sent this last year but it wasnt imported due to lack of interest, maybe
> > > > more luck this time... yes, its a rust thing.
> > > >
> > > > cf https://github.com/sharkdp/bat for features.
> > > >
> > > > oks?
> > > >
> > > > Landry
> > 
> > ... new version bat-0.18.1 attched. OK to import?
> 
> ping
> 

Attached new version bat-0.18.2.


bat-0.18.2.tar.gz
Description: Binary data


Re: [new] bat, a 'cat replacement with wings'

2021-07-25 Thread Rafael Sadowski
On Wed Jul 07, 2021 at 10:01:11PM +0200, Rafael Sadowski wrote:
> On Sat Jun 19, 2021 at 08:17:43AM +0200, Rafael Sadowski wrote:
> > On Thu Jan 16, 2020 at 03:29:42PM +0100, Landry Breuil wrote:
> > > Hi,
> > >
> > > sent this last year but it wasnt imported due to lack of interest, maybe
> > > more luck this time... yes, its a rust thing.
> > >
> > > cf https://github.com/sharkdp/bat for features.
> > >
> > > oks?
> > >
> > > Landry
> 
> ... new version bat-0.18.1 attched. OK to import?

ping



Re: [new] bat, a 'cat replacement with wings'

2021-07-07 Thread STeve Andre'




On July 7, 2021 19:50:26 Stuart Henderson  wrote:


On 2021/07/07 16:01, Theo de Raadt wrote:

The rust ecosystem working hard to make an impression.


What, you didn't ever wish cat had syntax highlighting and git support
and took 12 minutes to build? It's the future!


Hmm.  Took me .81s real time to build cat...

Bat--the cat with Uranium wings!

STeve Andre'


Sent with Aqua Mail for Android
https://www.mobisystems.com/aqua-mail


Re: [new] bat, a 'cat replacement with wings'

2021-07-07 Thread Stuart Henderson
On 2021/07/07 16:01, Theo de Raadt wrote:
> The rust ecosystem working hard to make an impression.

What, you didn't ever wish cat had syntax highlighting and git support
and took 12 minutes to build? It's the future!



Re: [new] bat, a 'cat replacement with wings'

2021-07-07 Thread Theo de Raadt
The rust ecosystem working hard to make an impression.

Rafael Sadowski  wrote:

> On Sat Jun 19, 2021 at 08:17:43AM +0200, Rafael Sadowski wrote:
> > On Thu Jan 16, 2020 at 03:29:42PM +0100, Landry Breuil wrote:
> > > Hi,
> > >
> > > sent this last year but it wasnt imported due to lack of interest, maybe
> > > more luck this time... yes, its a rust thing.
> > >
> > > cf https://github.com/sharkdp/bat for features.
> > >
> > > oks?
> > >
> > > Landry
> 
> ... new version bat-0.18.1 attched. OK to import?
> 
> > 
> > Won't build anymore :(
> > 
> > Running `/usr/local/bin/rustc --crate-name build_script_build
> > /usr/ports/pobj/bat-0.12.1/bat-0.12.1/modcargo-crates/onig_sys-69.2.0/build.rs
> > --error-format=json --json=diagnostic-rendered-ansi --crate-type bin
> > --emit=dep-info,link -C embed-bitcode=no -C debuginfo=0 -C 
> > debug-assertions=off
> > -C metadata=a5b175d23287ab50 -C extra-filename=-a5b175d23287ab50 --out-dir
> > /usr/ports/pobj/bat-0.12.1/build-amd64/target/release/build/onig_sys-a5b175d23287ab50
> > -L dependency=/usr/ports/pobj/bat-0.12.1/build-amd64/target/release/deps
> > --extern
> > bindgen=/usr/ports/pobj/bat-0.12.1/build-amd64/target/release/deps/libbindgen-62c0bb84d236c10f.rlib
> > --extern
> > cc=/usr/ports/pobj/bat-0.12.1/build-amd64/target/release/deps/libcc-633a2eee1b63040c.rlib
> > --extern
> > pkg_config=/usr/ports/pobj/bat-0.12.1/build-amd64/target/release/deps/libpkg_config-7439798e69ea89a9.rlib
> > --cap-lints allow -L
> > native=/usr/ports/pobj/bat-0.12.1/build-amd64/target/release/build/libloading-2740a77c029b8e84/out
> > -L
> > native=/usr/ports/pobj/bat-0.12.1/build-amd64/target/release/build/backtrace-sys-eed56fc95373cb8e/out`
> > Running 
> > `/usr/ports/pobj/bat-0.12.1/build-amd64/target/release/build/onig_sys-a5b175d23287ab50/build-script-build`
> > error: failed to run custom build command for `onig_sys v69.2.0`
> > 
> > Caused by:
> >   process didn't exit successfully: 
> > `/usr/ports/pobj/bat-0.12.1/build-amd64/target/release/build/onig_sys-a5b175d23287ab50/build-script-build`
> >  (exit code: 101)
> >  --- stderr
> >   thread 'main' panicked at 'Unable to find oniguruma in pkg-config, and 
> > RUSTONIG_SYSTEM_LIBONIG is set: `"pkg-config" "--libs" "--cflags" 
> > "oniguruma" "oniguruma >= 6.8.0"` did not exit successfully: exit code: 1
> >   --- stderr
> >   Package oniguruma was not found in the pkg-config search path
> >   ', 
> > /usr/ports/pobj/bat-0.12.1/bat-0.12.1/modcargo-crates/onig_sys-69.2.0/build.rs:223:17
> >   note: run with `RUST_BACKTRACE=1` environment variable to display a 
> > backtrace
> > 


Re: [new] bat, a 'cat replacement with wings'

2021-07-07 Thread Rafael Sadowski
On Sat Jun 19, 2021 at 08:17:43AM +0200, Rafael Sadowski wrote:
> On Thu Jan 16, 2020 at 03:29:42PM +0100, Landry Breuil wrote:
> > Hi,
> >
> > sent this last year but it wasnt imported due to lack of interest, maybe
> > more luck this time... yes, its a rust thing.
> >
> > cf https://github.com/sharkdp/bat for features.
> >
> > oks?
> >
> > Landry

... new version bat-0.18.1 attched. OK to import?

> 
> Won't build anymore :(
> 
> Running `/usr/local/bin/rustc --crate-name build_script_build
> /usr/ports/pobj/bat-0.12.1/bat-0.12.1/modcargo-crates/onig_sys-69.2.0/build.rs
> --error-format=json --json=diagnostic-rendered-ansi --crate-type bin
> --emit=dep-info,link -C embed-bitcode=no -C debuginfo=0 -C 
> debug-assertions=off
> -C metadata=a5b175d23287ab50 -C extra-filename=-a5b175d23287ab50 --out-dir
> /usr/ports/pobj/bat-0.12.1/build-amd64/target/release/build/onig_sys-a5b175d23287ab50
> -L dependency=/usr/ports/pobj/bat-0.12.1/build-amd64/target/release/deps
> --extern
> bindgen=/usr/ports/pobj/bat-0.12.1/build-amd64/target/release/deps/libbindgen-62c0bb84d236c10f.rlib
> --extern
> cc=/usr/ports/pobj/bat-0.12.1/build-amd64/target/release/deps/libcc-633a2eee1b63040c.rlib
> --extern
> pkg_config=/usr/ports/pobj/bat-0.12.1/build-amd64/target/release/deps/libpkg_config-7439798e69ea89a9.rlib
> --cap-lints allow -L
> native=/usr/ports/pobj/bat-0.12.1/build-amd64/target/release/build/libloading-2740a77c029b8e84/out
> -L
> native=/usr/ports/pobj/bat-0.12.1/build-amd64/target/release/build/backtrace-sys-eed56fc95373cb8e/out`
> Running 
> `/usr/ports/pobj/bat-0.12.1/build-amd64/target/release/build/onig_sys-a5b175d23287ab50/build-script-build`
> error: failed to run custom build command for `onig_sys v69.2.0`
> 
> Caused by:
>   process didn't exit successfully: 
> `/usr/ports/pobj/bat-0.12.1/build-amd64/target/release/build/onig_sys-a5b175d23287ab50/build-script-build`
>  (exit code: 101)
>  --- stderr
>   thread 'main' panicked at 'Unable to find oniguruma in pkg-config, and 
> RUSTONIG_SYSTEM_LIBONIG is set: `"pkg-config" "--libs" "--cflags" "oniguruma" 
> "oniguruma >= 6.8.0"` did not exit successfully: exit code: 1
>   --- stderr
>   Package oniguruma was not found in the pkg-config search path
>   ', 
> /usr/ports/pobj/bat-0.12.1/bat-0.12.1/modcargo-crates/onig_sys-69.2.0/build.rs:223:17
>   note: run with `RUST_BACKTRACE=1` environment variable to display a 
> backtrace
> 


bat-0.18.1.tar.gz
Description: Binary data


Re: [new] bat, a 'cat replacement with wings'

2021-06-19 Thread Rafael Sadowski
On Thu Jan 16, 2020 at 03:29:42PM +0100, Landry Breuil wrote:
> Hi,
>
> sent this last year but it wasnt imported due to lack of interest, maybe
> more luck this time... yes, its a rust thing.
>
> cf https://github.com/sharkdp/bat for features.
>
> oks?
>
> Landry

Won't build anymore :(

Running `/usr/local/bin/rustc --crate-name build_script_build
/usr/ports/pobj/bat-0.12.1/bat-0.12.1/modcargo-crates/onig_sys-69.2.0/build.rs
--error-format=json --json=diagnostic-rendered-ansi --crate-type bin
--emit=dep-info,link -C embed-bitcode=no -C debuginfo=0 -C debug-assertions=off
-C metadata=a5b175d23287ab50 -C extra-filename=-a5b175d23287ab50 --out-dir
/usr/ports/pobj/bat-0.12.1/build-amd64/target/release/build/onig_sys-a5b175d23287ab50
-L dependency=/usr/ports/pobj/bat-0.12.1/build-amd64/target/release/deps
--extern
bindgen=/usr/ports/pobj/bat-0.12.1/build-amd64/target/release/deps/libbindgen-62c0bb84d236c10f.rlib
--extern
cc=/usr/ports/pobj/bat-0.12.1/build-amd64/target/release/deps/libcc-633a2eee1b63040c.rlib
--extern
pkg_config=/usr/ports/pobj/bat-0.12.1/build-amd64/target/release/deps/libpkg_config-7439798e69ea89a9.rlib
--cap-lints allow -L
native=/usr/ports/pobj/bat-0.12.1/build-amd64/target/release/build/libloading-2740a77c029b8e84/out
-L
native=/usr/ports/pobj/bat-0.12.1/build-amd64/target/release/build/backtrace-sys-eed56fc95373cb8e/out`
Running 
`/usr/ports/pobj/bat-0.12.1/build-amd64/target/release/build/onig_sys-a5b175d23287ab50/build-script-build`
error: failed to run custom build command for `onig_sys v69.2.0`

Caused by:
  process didn't exit successfully: 
`/usr/ports/pobj/bat-0.12.1/build-amd64/target/release/build/onig_sys-a5b175d23287ab50/build-script-build`
 (exit code: 101)
 --- stderr
  thread 'main' panicked at 'Unable to find oniguruma in pkg-config, and 
RUSTONIG_SYSTEM_LIBONIG is set: `"pkg-config" "--libs" "--cflags" "oniguruma" 
"oniguruma >= 6.8.0"` did not exit successfully: exit code: 1
  --- stderr
  Package oniguruma was not found in the pkg-config search path
  ', 
/usr/ports/pobj/bat-0.12.1/bat-0.12.1/modcargo-crates/onig_sys-69.2.0/build.rs:223:17
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace



Re: [new] bat, a 'cat replacement with wings'

2020-01-16 Thread Theo de Raadt
Landry Breuil  wrote:

> On Thu, Jan 16, 2020 at 09:18:50AM -0700, Theo de Raadt wrote:
> > Stuart Henderson  wrote:
> > 
> > > On 2020/01/16 15:29, Landry Breuil wrote:
> > > > Hi,
> > > > 
> > > > sent this last year but it wasnt imported due to lack of interest, maybe
> > > > more luck this time... yes, its a rust thing.
> > > 
> > > portswise OK if you really think it's worth the build time (20 minutes on
> > > a 3.2GHz xeon when its main feature is something which is already 
> > > available
> > > in other ports ..).
> > 
> > You gotta be kidding me.
> 
> Well, apparently the same rust codebase builds 10 times faster on Linux. 
> *shrug*

Even 2 minutes is scandelous .  The language/compiler/platform seems
both green ("new and unfinished") and not green ("abusive towards
resources").



Re: [new] bat, a 'cat replacement with wings'

2020-01-16 Thread Landry Breuil
On Thu, Jan 16, 2020 at 09:18:50AM -0700, Theo de Raadt wrote:
> Stuart Henderson  wrote:
> 
> > On 2020/01/16 15:29, Landry Breuil wrote:
> > > Hi,
> > > 
> > > sent this last year but it wasnt imported due to lack of interest, maybe
> > > more luck this time... yes, its a rust thing.
> > 
> > portswise OK if you really think it's worth the build time (20 minutes on
> > a 3.2GHz xeon when its main feature is something which is already available
> > in other ports ..).
> 
> You gotta be kidding me.

Well, apparently the same rust codebase builds 10 times faster on Linux. *shrug*



Re: [new] bat, a 'cat replacement with wings'

2020-01-16 Thread Theo de Raadt
Stuart Henderson  wrote:

> On 2020/01/16 15:29, Landry Breuil wrote:
> > Hi,
> > 
> > sent this last year but it wasnt imported due to lack of interest, maybe
> > more luck this time... yes, its a rust thing.
> 
> portswise OK if you really think it's worth the build time (20 minutes on
> a 3.2GHz xeon when its main feature is something which is already available
> in other ports ..).

You gotta be kidding me.




Re: [new] bat, a 'cat replacement with wings'

2020-01-16 Thread Stuart Henderson
On 2020/01/16 15:29, Landry Breuil wrote:
> Hi,
> 
> sent this last year but it wasnt imported due to lack of interest, maybe
> more luck this time... yes, its a rust thing.

portswise OK if you really think it's worth the build time (20 minutes on
a 3.2GHz xeon when its main feature is something which is already available
in other ports ..).



[new] bat, a 'cat replacement with wings'

2020-01-16 Thread Landry Breuil
Hi,

sent this last year but it wasnt imported due to lack of interest, maybe
more luck this time... yes, its a rust thing.

cf https://github.com/sharkdp/bat for features.

oks?

Landry


bat-0.12.1.tgz
Description: application/tar-gz


Re: [new] bat, a 'cat replacement with wings'

2019-07-03 Thread Anatoli
Hi, why it wasn't included in ports? Also no fd.. Definitely nice tools 
(using exa and ripgrep, thanks for adding)


*From:* Landry Breuil 
*Sent:* Thursday, February 14, 2019 13:36
*To:* Ports 
*Subject:* Re: [new] bat, a 'cat replacement with wings'

On Thu, Feb 14, 2019 at 04:24:07PM +, Stuart Henderson wrote:


On 2019/02/14 14:51, Landry Breuil wrote:

Hi,

simple port, seems to work fine althought ive seen it segfaulting at my
first use, havent been ableto reproduce so far..
see https://github.com/sharkdp/bat/ for the list of features, it brings
color highlighting, git integration, automatic paging, etc to plain old
cat.

I just knew this was going to be rust before I read the Makefile...


Hey, this was written on the box ! :)
- replaces a well known command
- git integration
- syntax highlighting
- <=3-letter command

like https://github.com/ogham/exa or https://github.com/sharkdp/fd or
https://github.com/BurntSushi/ripgrep or many more :)






Re: [new] bat, a 'cat replacement with wings'

2019-02-14 Thread Landry Breuil
On Thu, Feb 14, 2019 at 04:24:07PM +, Stuart Henderson wrote:
> On 2019/02/14 14:51, Landry Breuil wrote:
> > Hi,
> > 
> > simple port, seems to work fine althought ive seen it segfaulting at my
> > first use, havent been ableto reproduce so far..
> > see https://github.com/sharkdp/bat/ for the list of features, it brings
> > color highlighting, git integration, automatic paging, etc to plain old
> > cat.
> 
> 
> I just knew this was going to be rust before I read the Makefile...

Hey, this was written on the box ! :)
- replaces a well known command
- git integration
- syntax highlighting
- <=3-letter command

like https://github.com/ogham/exa or https://github.com/sharkdp/fd or
https://github.com/BurntSushi/ripgrep or many more :)



Re: [new] bat, a 'cat replacement with wings'

2019-02-14 Thread Stuart Henderson
On 2019/02/14 14:51, Landry Breuil wrote:
> Hi,
> 
> simple port, seems to work fine althought ive seen it segfaulting at my
> first use, havent been ableto reproduce so far..
> see https://github.com/sharkdp/bat/ for the list of features, it brings
> color highlighting, git integration, automatic paging, etc to plain old
> cat.


I just knew this was going to be rust before I read the Makefile...



[new] bat, a 'cat replacement with wings'

2019-02-14 Thread Landry Breuil
Hi,

simple port, seems to work fine althought ive seen it segfaulting at my
first use, havent been ableto reproduce so far..
see https://github.com/sharkdp/bat/ for the list of features, it brings
color highlighting, git integration, automatic paging, etc to plain old
cat.


bat-0.10.0.tgz
Description: application/tar-gz