Re: [gentoo-user] java virtual machine

2015-12-14 Thread Frederico Moraes Ferreira

Tks

Em 11-12-2015 23:35, Urs Schütz escreveu:

On 12/11/15 20:47, Urs Schütz wrote:

On 12/11/15 15:12, Frederico Moraes Ferreira wrote:

Has anybody happen to know which java distribution, except the oracle
one, will carry javaws?
Thanks,
Fred


javaws was working here with icedtea-bin-7.



Correction: dev-java/icedtea-web seems to be the package providing 
javaws for icedtea.







Re: [gentoo-user] blocking facebook

2015-12-14 Thread pc0147 Sistemas Will_ecg
With iptables you can use the next:
iptables -I OUTPUT -m string --string 'facebook' --algo bm -j
DROP
iptables -I FORDWARD -m string --string 'facebook' --algo bm -j DROP
And that is all.
El sáb, 12-12-2015 a las 03:54 +, Willie M escribió:
> If you use nat on iptables, it will also bypass it while using NAT.
> Change the DNS server on virtualbox with doing something on dd-wrt it
> will also bypass it. You have to keep dealing with it. There will
> always be a way to bypass.
> 
> On Fri, Dec 11, 2015, 7:38 PM   wrote:
> > On 12/11/2015 08:29 PM, Willie M wrote:
> > > If that is the only website you want to block use /etc/hosts.
> > Point it
> > > towards your own computer. "127.0.0.1  facebook.com".
> > 
> > That will work, but if they will use boot VirtualBox Windows it
> > will
> > by-pass that setting.
> > 
> > --
> > Thelma
> > 
> > 
> > > On Fri, Dec 11, 2015, 7:04 PM   wrote:
> > >
> > >> Does anybody have an idea how to block facebook?
> > >>
> > >> I'm using dd-wrt.  The "access restriction" can block http but
> > not https
> > >> and I'm not good in iptables :-/
> > >> In addition users are using VirtualBox on the network as well.
> > 
> > 
> -- 
> 
> Willie Matthews
> matthews.willi...@gmail.com
> 702-659-9966

[gentoo-user] Re: new English spellchecking dictionaries

2015-12-14 Thread James
»Q«  gmx.net> writes:


> Many months ago, I posted that I was working on a new ebuild for
> English spellchecking dictionaries.  For various reasons, my work
> kept getting put on hold, but now Michael Palimaka has committed an
> ebuild, app-dicts/myspell-en-20151201.  Since I brought it up before,
> I'm bringing it up now to encourage testing.

OK. I'll give it a shot is  a few days

> It looks to me like it should Just Work for everyone.  Its source is a
> LO extension which rolls the latest en dicts into one file,
>
.
> (That that didn't yet exist when I was trying this, so I was trying to
> use various sources, which is one of my excuses for not getting it
> done.)


It seems that I can post via the web interface to gmane's gentoo-user group,
again; yippie!


James





[gentoo-user] creating a .9999 ebuild

2015-12-14 Thread covici
Hi.  I have a regular ebuild for app-accessibility/brltty and I want to
create a . ebuild out of it, so it gets from the latest .git
version.  Is there a way I can do that -- either some documentation on
how to do it, or some hints?  Is there a general method for doing this?

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] creating a .9999 ebuild

2015-12-14 Thread Michael Orlitzky
On 12/14/2015 02:18 PM, cov...@ccs.covici.com wrote:
> Hi.  I have a regular ebuild for app-accessibility/brltty and I want to
> create a . ebuild out of it, so it gets from the latest .git
> version.  Is there a way I can do that -- either some documentation on
> how to do it, or some hints?  Is there a general method for doing this?
> 
> Thanks in advance for any suggestions.
> 

Look for - ebuilds in the tree using the git-r3 eclass, and copy
what they do. It's not fancy but something like

  $ find ./ -name '*-.ebuild' | xargs grep -l 'git-r3'

in PORTDIR should turn up a bunch of examples.





Re: [gentoo-user] creating a .9999 ebuild

2015-12-14 Thread covici
Michael Orlitzky  wrote:

> On 12/14/2015 02:18 PM, cov...@ccs.covici.com wrote:
> > Hi.  I have a regular ebuild for app-accessibility/brltty and I want to
> > create a . ebuild out of it, so it gets from the latest .git
> > version.  Is there a way I can do that -- either some documentation on
> > how to do it, or some hints?  Is there a general method for doing this?
> > 
> > Thanks in advance for any suggestions.
> > 
> 
> Look for - ebuilds in the tree using the git-r3 eclass, and copy
> what they do. It's not fancy but something like
> 
>   $ find ./ -name '*-.ebuild' | xargs grep -l 'git-r3'
> 
> in PORTDIR should turn up a bunch of examples.

OK, I will take a look.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] creating a .9999 ebuild

2015-12-14 Thread Alan McKinnon
On 14/12/2015 23:06, cov...@ccs.covici.com wrote:
> Michael Orlitzky  wrote:
> 
>> On 12/14/2015 02:18 PM, cov...@ccs.covici.com wrote:
>>> Hi.  I have a regular ebuild for app-accessibility/brltty and I want to
>>> create a . ebuild out of it, so it gets from the latest .git
>>> version.  Is there a way I can do that -- either some documentation on
>>> how to do it, or some hints?  Is there a general method for doing this?
>>>
>>> Thanks in advance for any suggestions.
>>>
>>
>> Look for - ebuilds in the tree using the git-r3 eclass, and copy
>> what they do. It's not fancy but something like
>>
>>   $ find ./ -name '*-.ebuild' | xargs grep -l 'git-r3'
>>
>> in PORTDIR should turn up a bunch of examples.
> 
> OK, I will take a look.
> 
> 

If the sources are in regular old git, the main changes are to replace
SRC_URI with EGIT_REPO_URI and to inherit git-2. Here's one of mine I
slapped together:


EAPI=5
inherit eutils user git-2 python-single-r1
EGIT_REPO_URI="https://github.com/SiCKRAGETV/SickRage.git";
DESCRIPTION="SickRage - Searches TheTVDB for TV shows"
HOMEPAGE="http://www.sickrage.tv/";
LICENSE="GPL-3" # only
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""


The rest of the ebuild is completely stock standard stuff so I omitted
it for clarity. You may need to rm a bunch of stuff in src_install()
that comes with the git repo and you don't want to be merged.


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] creating a .9999 ebuild

2015-12-14 Thread Michael Orlitzky
On 12/14/2015 04:38 PM, Alan McKinnon wrote:
> 
> If the sources are in regular old git, the main changes are to replace
> SRC_URI with EGIT_REPO_URI and to inherit git-2. Here's one of mine I
> slapped together:

git-2 is deprecated in favor of git-r3. Don't ask me about the naming
scheme.


> KEYWORDS="~amd64 ~x86"

It doesn't matter for an overlay, but - ebuilds should never be
keyworded. Empty KEYWORDS="" is preferred. That may silence a repoman
warning if you're getting one.




Re: [gentoo-user] creating a .9999 ebuild

2015-12-14 Thread covici
Alan McKinnon  wrote:

> On 14/12/2015 23:06, cov...@ccs.covici.com wrote:
> > Michael Orlitzky  wrote:
> > 
> >> On 12/14/2015 02:18 PM, cov...@ccs.covici.com wrote:
> >>> Hi.  I have a regular ebuild for app-accessibility/brltty and I want to
> >>> create a . ebuild out of it, so it gets from the latest .git
> >>> version.  Is there a way I can do that -- either some documentation on
> >>> how to do it, or some hints?  Is there a general method for doing this?
> >>>
> >>> Thanks in advance for any suggestions.
> >>>
> >>
> >> Look for - ebuilds in the tree using the git-r3 eclass, and copy
> >> what they do. It's not fancy but something like
> >>
> >>   $ find ./ -name '*-.ebuild' | xargs grep -l 'git-r3'
> >>
> >> in PORTDIR should turn up a bunch of examples.
> > 
> > OK, I will take a look.
> > 
> > 
> 
> If the sources are in regular old git, the main changes are to replace
> SRC_URI with EGIT_REPO_URI and to inherit git-2. Here's one of mine I
> slapped together:
> 
> 
> EAPI=5
> inherit eutils user git-2 python-single-r1
> EGIT_REPO_URI="https://github.com/SiCKRAGETV/SickRage.git";
> DESCRIPTION="SickRage - Searches TheTVDB for TV shows"
> HOMEPAGE="http://www.sickrage.tv/";
> LICENSE="GPL-3" # only
> SLOT="0"
> KEYWORDS="~amd64 ~x86"
> IUSE=""
> 
> 
> The rest of the ebuild is completely stock standard stuff so I omitted
> it for clarity. You may need to rm a bunch of stuff in src_install()
> that comes with the git repo and you don't want to be merged.

OK, I have one question more -- for the git, I need to run ./autogen
before I can run configure, do I need to put that in source_prepare, or
is this done automatically?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] creating a .9999 ebuild

2015-12-14 Thread Jc García
2015-12-14 16:13 GMT-06:00  :

> OK, I have one question more -- for the git, I need to run ./autogen
> before I can run configure, do I need to put that in source_prepare, or
> is this done automatically?

That should mean the package you are building is using autotools as a
build system, so you should inherit the autotools eclass and run
eautoreconf in src_prepare(). I remember this is stuff that it's in
the dev manual, that should be the place you should be looking mostly.

PD: knowing the build system also helps a lot



Re: [gentoo-user] creating a .9999 ebuild

2015-12-14 Thread covici
Jc García  wrote:

> 2015-12-14 16:13 GMT-06:00  :
> 
> > OK, I have one question more -- for the git, I need to run ./autogen
> > before I can run configure, do I need to put that in source_prepare, or
> > is this done automatically?
> 
> That should mean the package you are building is using autotools as a
> build system, so you should inherit the autotools eclass and run
> eautoreconf in src_prepare(). I remember this is stuff that it's in
> the dev manual, that should be the place you should be looking mostly.
> 
> PD: knowing the build system also helps a lot
> 

Well, I did get it done, had to put a make  in the ebuild to create some
documents which was not there in the regular ebuild, and I had to run
autogen myself because of the peculiar way the author upstream does his
builds, but it did work.  Very handy to be able to do this kind of
thing.

Thanks all.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com