[gentoo-user] Re: Call for opinions and/or use cases regarding games.eclass

2016-07-02 Thread James
Daniel Campbell  gentoo.org> writes:


> 3. If yes, _what is your use case_? Which features are important to your
> use case wrt games and what can Gentoo do to improve that?

Personally, I'd like to see mechanisms where a gentoo sysadm can limit
both the games that are accessed and when any game is access by any
particular user on a network that I control. Log files of the amount
of time used, would be a great.

If windows based game can be install on a gentoo VM or container, those
details as part of the games strategic management documentation, would be
cool too, up and through hosting the (gentoo) server.

Perhaps on a gentoo games wiki, as section could also be devoted to 
using a gentoo firewall (iptables based ) to control or block windows
games access too, that are not run on a gentoo server/cluster/container/VM.


> We cannot make concrete decisions without concrete evidence, so please
> answer and speak for your use case. This will serve as a public record
> of interest, and might even inspire a few people. :)

Not sure this is easy/possible, but both as a parent, eventually grandparent
and on my small business, there needs to be logical, gentoo-centric *control
over all games*. So, since this thread popped up, I just thought I'd ask
what is possible and suggest a wiki page delineating the entire admin set of
tools, that are gentoo centric, regardless if they are in the portage tree
or not; a feature very necessary for todays parents and admins.


hth,
James





[gentoo-user] Re: Virtual machines, and creating bootable images

2016-07-02 Thread James
Jigme Datse Yli-RAsku  datsemultimedia.com> writes:

 
> I am looking at creating a gentoo install which I can use for my hosted
> servers.  The documentation I have seen about doing so is to mount an
> "ISO" and then dd the mounted device to a data drive, make the data
> drive bootable (set it in the settings for hosting provider) and attach
> it to a server.

> I want to be able to build these images and test them in a virtual
> machine on my local server, then end up doing what I need on the hosting
> provider to get them in place.

> Anyone have some good starting points to think about this?


Oops,

I forgot to mention this link::

https://blog.mthode.org/posts/2016/Feb/creating-gentoo-vm-images/

I thought I'd go ahead and list it in this thread, in case any else
searches out this topic.

hth,

James




[gentoo-user] Re: Upgrade guide for ebuilds

2016-07-02 Thread James
Neil Bothwick  digimed.co.uk> writes:


> > is there somewhere an upgrade guide for ebuilds. I have a bunch of
> > local ones with a no longer supported EAPI.

> Try http://devmanual.gentoo.org
> and man 5 ebuild

> The devmanual chows the changes between the EAPI levels.

All good and necessary references. Here are a few more::

https://wiki.gentoo.orgwiki/
Basic_guide_to_write_Gentoo_Ebuilds#Adding_more_useful_variables

http://dilfridge.blogspot.com/2012/04/neat-trick-for-testing-patches-in.html

https://blogs.gentoo.org/mgorny/2015/11/13/the-ultimate-guide-to-eapi-6/


Don't forget to use app-portage/repoman   (man repoman)


hth,
James








Re: [gentoo-user] Libreoffice

2016-07-02 Thread Bertram Scharpf
On Saturday, 02. Jul 2016, 08:19:12 +, Franz Fellner wrote:
> On Sat, 02 Jul 2016 09:51:17 +0200, Roger Cahn  wrote:
> > 
> > I have in make.conf   LINGUAS="fr fr_FR"   L1ON="fr"
> 
> It's "L ten N" Instead of "L one o N" (Zero instead of upper letter o).

localization   (Br. localisation)
 \/
10 letters


Bertram

-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] OT: what audio file format / container to play on Android.

2016-07-02 Thread Stroller

> On 2 Jul 2016, at 10:43, Mick  wrote:
> 
> Since the youtube-dl can only download the audio stream as suggested above, 
> you don't need to transcode with ffmpeg - although it is not difficult to do 
> so 
> for streams you have already downloaded:
> 
> ffmpeg -i input.mp4 -q:a 0 -map a output.mp3

Yeah, but I'd obviously prefer not to transcode, because that's lossy.

> or output.m4a if you prefer.

Well, I tried that.

   youtube-dl -x --audio-format best http://www.bbc.co.uk/programmes/b07fl5bh

This gives an .m4a file which also does not play on the device.

The question may boil down to the Google Drive audio / video player, and its 
(in)ability to play AAC audio. But that would be surprising, don't you think?

> As an alternative for BBC you could also use get_iplayer:
> 
> get_iplayer --get  --radiomode=flashaachigh --
> flvstreamer="/usr/bin/flvstreamer"

I'm reluctant to do that at present, because I have a "perfectly good" audio 
stream already.

The .mp4 or .m4a files I have play just fine in VLC or Quicktime Player.

I assumed that it should only be necessary to repack the audio into a different 
container to get it to play.

In my experience most players conform to Postel's Principle, being liberal in 
the input they'll accept. When I've had media playback problems before, I think 
it's usually been a container issue.

Stroller.




Re: [gentoo-user] Upgrade guide for ebuilds

2016-07-02 Thread Neil Bothwick
On Sat, 02 Jul 2016 13:26:35 +0200, Jörg Schaible wrote:

> is there somewhere an upgrade guide for ebuilds. I have a bunch of
> local ones with a no longer supported EAPI.

Try http://devmanual.gentoo.org
and man 5 ebuild

The devmanual chows the changes between the EAPI levels.


-- 
Neil Bothwick

This is as bad as it can get-but don't bet on it.


pgp9gdsOSjyPZ.pgp
Description: OpenPGP digital signature


[gentoo-user] Upgrade guide for ebuilds

2016-07-02 Thread Jörg Schaible
Hi,

is there somewhere an upgrade guide for ebuilds. I have a bunch of local 
ones with a no longer supported EAPI.

Cheers,
Jörg




Re: [gentoo-user] Libreoffice

2016-07-02 Thread Roger Cahn
Yes, now check your make.conf entry, it seems you used the letter 'o' 
there, and not a zero. Fix that, and maybe your libreoffice will be in 
french again :)


It is a zero and not a o
But in make.conf I writed a new L10N
and I compiled app-office/libreoffice-l10n again
There was nomore -fr in it
And now I have libreoffice again in French.
Thank you for your answers :-)



Re: [gentoo-user] OT: what audio file format / container to play on Android.

2016-07-02 Thread Mick
On Friday 01 Jul 2016 15:52:49 Willie M wrote:
> On 07/01/2016 03:10 PM, Stroller wrote:
> > I've only recently started using my Android device for playing audio.
> > 
> > About once a week I listen to a podcast, which is usually an MP3 I've
> > downloaded from NPR.org.
> > 
> > On my laptop I copy these to Google Drive (big shout to net-misc/drive)
> > and then I can access then via Drive on my Android phone.
> > 
> > Google Drive on Android seems to play these audio files on a built-in
> > player; its only controls are to skip forwards or backwards 30 seconds,
> > but this is adequate for podcasts.
> > 
> > I have here a BBC radio show that I downloaded a couple of weeks ago with
> > net-misc/youtube-dl.
> > 
> > When downloaded it saves as an .mp4 file. I have also tried renaming it to
> > .m4a but, either way, Google Drive complains "unable to process this
> > video".
> > 
> > How do I need to process this audio to get it to play, please?
> > 
> > I'd obviously prefer to keep the same audio stream, rather than
> > transcoding it. I assume that the player can handle AAC (??), it just
> > needs to be in another container.
> > 
> > Thanks in advance for any suggestions,
> > 
> > Stroller.
> > 
> > 
> > 
> > Details:
> > 
> > 
> > $ youtube-dl http://www.bbc.co.uk/programmes/b07fl5bh
> > [bbc.co.uk] b07fl5bh: Downloading video page
> > [bbc.co.uk] b07fl2qw: Downloading media selection XML
> > [bbc.co.uk] b07fl2qw: Downloading m3u8 information
> > [bbc.co.uk] b07fl2qw: Downloading m3u8 information
> > [bbc.co.uk] b07fl2qw: Downloading m3u8 information
> > [hlsnative] Downloading m3u8 manifest
> > [hlsnative] Total fragments: 390
> > [download] Destination: The Bronze Age Collapse, In Our Time - BBC Radio
> > 4-b07fl2qw.mp4 [download] 100% of 40.56MiB in 01:42
> > [ffmpeg] Fixing malformated aac bitstream in "The Bronze Age Collapse, In
> > Our Time - BBC Radio 4-b07fl2qw.mp4" $ file The\ Bronze\ Age\ Collapse\,\
> > In\ Our\ Time\ -\ BBC\ Radio\ 4-b07fl2qw.mp4 The Bronze Age Collapse, In
> > Our Time - BBC Radio 4-b07fl2qw.mp4: ISO Media, MP4 Base Media v1 [IS0
> > 14496-12:2003] $ midentify The\ Bronze\ Age\ Collapse\,\ In\ Our\ Time\
> > -\ BBC\ Radio\ 4-b07fl2qw.mp4 ID_AUDIO_ID=0
> > ID_AID_0_LANG=eng
> > ID_CLIP_INFO_NAME0=major_brand
> > ID_CLIP_INFO_VALUE0=isom
> > ID_CLIP_INFO_NAME1=minor_version
> > ID_CLIP_INFO_VALUE1=512
> > ID_CLIP_INFO_NAME2=compatible_brands
> > ID_CLIP_INFO_VALUE2=isomiso2mp41
> > ID_CLIP_INFO_NAME3=encoder
> > ID_CLIP_INFO_VALUE3=Lavf56.25.101
> > ID_CLIP_INFO_N=4
> > ID_FILENAME=The\ Bronze\ Age\ Collapse,\ In\ Our\ Time\ -\ BBC\ Radio\
> > 4-b07fl2qw.mp4 ID_DEMUXER=lavfpref
> > ID_AUDIO_FORMAT=MP4A
> > ID_AUDIO_BITRATE=128000
> > ID_AUDIO_RATE=48000
> > ID_AUDIO_NCH=2
> > ID_START_TIME=0.00
> > ID_LENGTH=2495.91
> > ID_SEEKABLE=1
> > ID_CHAPTERS=0
> > ID_AUDIO_BITRATE=128000
> > ID_AUDIO_RATE=48000
> > ID_AUDIO_NCH=2
> > ID_AUDIO_CODEC=ffaac
> > ID_EXIT=EOF
> > $
> 
> You can just have youtube-dl download just the audio of the youtube video.
> 
> youtube-dl -x --audio-format mp3 http://www.bbc.co.uk/programmes/b07fl5bh
> 
> You can also set other formats for the audio
> 
> "best", "aac", "vorbis", "mp3", "m4a", "opus", or "wav"


Since the youtube-dl can only download the audio stream as suggested above, 
you don't need to transcode with ffmpeg - although it is not difficult to do so 
for streams you have already downloaded:

ffmpeg -i input.mp4 -q:a 0 -map a output.mp3

or output.m4a if you prefer.


As an alternative for BBC you could also use get_iplayer:

get_iplayer --get  --radiomode=flashaachigh --
flvstreamer="/usr/bin/flvstreamer"

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Libreoffice

2016-07-02 Thread Arve Barsnes
On 2 July 2016 at 10:44, Roger Cahn  wrote:

>
> It's "L ten N" Instead of "L one o N" (Zero instead of upper letter o).
>
> Yes, it's a zero in  L10N !
>
> eix libreoffice  shows
>
> [I] app-office/libreoffice-l10n
>
> Installed versions:  5.1.2.2^s(10:12:41 27/06/2016)(-offlinehelp L10N="-af
> -am  -fr
>
> Yes, now check your make.conf entry, it seems you used the letter 'o'
there, and not a zero. Fix that, and maybe your libreoffice will be in
french again :)

Arve


Re: [gentoo-user] Libreoffice

2016-07-02 Thread Roger Cahn


It's "L ten N" Instead of "L one o N" (Zero instead of upper letter o).

Yes, it's a zero in  L10N !

eix libreoffice  shows

[I] app-office/libreoffice-l10n

Installed versions:  5.1.2.2^s(10:12:41 27/06/2016)(-offlinehelp 
L10N="-af -am  -fr






Re: [gentoo-user] Libreoffice

2016-07-02 Thread Franz Fellner
On Sat, 02 Jul 2016 09:51:17 +0200, Roger Cahn  wrote:
> hey all,
> 
> 4.4.6-gentoo, amd64, libreoffice-5.1.2.2
> 
> Since I have done what was said,
> I have in make.conf   LINGUAS="fr fr_FR"   L1ON="fr"

It's "L ten N" Instead of "L one o N" (Zero instead of upper letter o).

> 
> Libreoffice is in English. I would like to have it again in French.
> I updated a short time agoapp-office/libreoffice-l10n-5.1.2.2
> with  L10N having -fr instead of +fr
> I think it is the reason of this.
> 
> How could I solve the problem ?
> Thank you for your help
> Roger
> 
> 
-- 



[gentoo-user] Libreoffice

2016-07-02 Thread Roger Cahn

hey all,

4.4.6-gentoo, amd64, libreoffice-5.1.2.2

Since I have done what was said,
I have in make.conf   LINGUAS="fr fr_FR"   L1ON="fr"

Libreoffice is in English. I would like to have it again in French.
I updated a short time agoapp-office/libreoffice-l10n-5.1.2.2
with  L10N having -fr instead of +fr
I think it is the reason of this.

How could I solve the problem ?
Thank you for your help
Roger