OBATA Akio | 1 Sep 02:57 2010
On Wed, 01 Sep 2010 01:00:37 +0900, Stefan Palm <stefan.palm <at> pdmc.net> wrote:

> X11_TYPE=                       modular
> PKG_DEFAULT_OPTIONS=            ldap ssl
(snip)
> textproc/groff
> databases/openldap-client
> databases/postgresql84-server
>
> If I remove the "X11_TYPE" from 'mk.conf' it won't install all those x11/* packages but still things like
'lpeg', 'tiff' or 'png'. I played around a litte more ending up that 'databases/openldap-client' pulls  -
for whatever reason - all those graphics. I guess I've to be much more carefull regarding the 'PKG_DEFAULT_OPTIONS'.

Hmm, openldap-client require soelim as USE_TOOLS, then pull dependency on textproc/groff.
groff-docs option for groff pulls graphics dependency, and x11 option pulls x11 dependency.
You can set "PKG_OPTIONS.groff=-x11 -groff-docs" to avoid your unwanted installations.

If you do not want to install x11 stuff anywhere, you can put "-x11" to PKG_DEFAULT_OPTIONS.

If you want to confirm whole options in dependency packages, you can do "make show-depdns-options".

--

-- 
OBATA Akio / obache <at> NetBSD.org

OBATA Akio | 1 Sep 03:24 2010
Picon

Re: use native Java on Solaris?

On Tue, 31 Aug 2010 23:44:06 +0900, Larson, Timothy E. <TELarson <at> west.com> wrote:

> Is there a way to set mk.conf on my Sol9 box so that the native Java is used?

What java variant is in Sol9 box?
(jdk5 support had been dropped due to EOL).

--

-- 
OBATA Akio / obache <at> NetBSD.org

Larson, Timothy E. | 1 Sep 04:49 2010

RE: use native Java on Solaris?

> What java variant is in Sol9 box?
> (jdk5 support had been dropped due to EOL).

$ java -version
java version "1.4.2_12"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03)
Java HotSpot(TM) Client VM (build 1.4.2_12-b03, mixed mode)

Tim

OBATA Akio | 1 Sep 05:03 2010
Picon

Re: use native Java on Solaris?

On Wed, 01 Sep 2010 11:49:21 +0900, Larson, Timothy E. <TELarson <at> west.com> wrote:

>> What java variant is in Sol9 box?
>> (jdk5 support had been dropped due to EOL).
>
> $ java -version
> java version "1.4.2_12"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03)
> Java HotSpot(TM) Client VM (build 1.4.2_12-b03, mixed mode)

sun-jdk14 support also had been dropped from pkgsrc.
Can you install more newer version?
Currently, pkgsrc support sun-jdk6.

--

-- 
OBATA Akio / obache <at> NetBSD.org

Jens Rehsack | 1 Sep 09:06 2010

Re: databases/p5-gdbm "Review"

2010/8/30 Greg Troxel <gdt <at> ir.bbn.com>:
>
> Jens Rehsack <rehsack <at> googlemail.com> writes:
>
>> 2010/8/29 Greg Troxel <gdt <at> ir.bbn.com>:
>>>
>>> What I don't understand is why pkg_rr should be special.  I think there
>>> are two classes of cases:
>>
>> It shouldn't - it should behave like any other batch build process.
>>
>>> 1) interactive questions are bad:
>>>
>>> pkg_comp
>>> pkg_rr
>> pbulk
>
> sorry, I thought pbulk ran inside pkg_comp but that's not the point and
> of course this belongs.
>
>>> package being built as a dependency
>>> normal user building a package
>>> pkg_developer building a package to see if it is ok
>>>
>>> 2) interactive questions wanted
>>>
>>> special mode for pkg_developer to make sure the non-interactive build
>>> is doing the right thing
>>>
>>> So I think it's a mistake to have BATCH_MODE, because it makes it appear
(Continue reading)

Joerg Sonnenberger | 1 Sep 09:53 2010
Picon

Re: databases/p5-gdbm "Review"

On Mon, Aug 30, 2010 at 11:47:14AM +0200, Jens Rehsack wrote:
> > 2) interactive questions wanted
> >
> >  special mode for pkg_developer to make sure the non-interactive build
> >  is doing the right thing
> >
> > So I think it's a mistake to have BATCH_MODE, because it makes it appear
> > that batch mode is special - but it's the normal case.  Rather, we
> > should have a PKG_ALLOW_INTERACTIVE mode.

I fully agree with that interactions show not happen by default. There
are a few things that are disabled with -DBATCH to simplify things for
developers, e.g. patch will ask if it can't find the file to apply the
patch for. But I have yet to find a useful case of a package interaction
with the user during installation that is not to be considered a bug /
limitation of upstream's installation routine.

> I fully agree. But I'd like to extend to a thought I have since I switched
> from FreeBSD ports:
> $ make config
> This displays a dialog based config dialog where all tunables of the
> package could be turned on/off (also supports radio buttons and
> text fields). 'make depends-config' does 'make config' it for all
> dependencies.

Personally I always found the dialog of make config more annoying than
anything. It forces me to thing about options when the most common
operation is just "wtf, continue". It also naturally stales the build.

I prefer "make show-depends-options | less". Now if it wasn't that slow
(Continue reading)

Stefan Palm | 1 Sep 09:46 2010
Picon

Re: use native Java on Solaris?

* "OBATA Akio" <obache <at> netbsd.org> wrote:

> sun-jdk14 support also had been dropped from pkgsrc.
> Can you install more newer version?
> Currently, pkgsrc support sun-jdk6.

No problem - I've a jdk6 located at "/usr/jdk/instances/jdk1.6.0". How do I tell pkgsrc about it?

Stefan

Jan Šmydke | 1 Sep 10:24 2010
Just a side-note:

I think this magic command

eval `bmake show-var VARNAME=_DEPENDS_WALK_CMD` `bmake show-var VARNAME=PKGPATH`

may be very useful to have in pkgsrc as a single command like

'make show-all-dependants' or so

> and the result of 'eval `bmake show-var VARNAME=_DEPENDS_WALK_CMD`
> `bmake show-var VARNAME=PKGPATH`':
> 
> devel/nbpatch
> net/tnftp
> pkgtools/digest
> devel/libtool-base
> converters/libiconv
> devel/gettext-lib
> pkgtools/pkg_install-info
> devel/gettext-tools
> devel/gmake
> archivers/unzip
> archivers/zip
> devel/m4
> devel/bison
> devel/gtexinfo
> devel/flex
> lang/perl5
> devel/autoconf
(Continue reading)

OBATA Akio | 1 Sep 10:45 2010
Picon

Re: use native Java on Solaris?

On Wed, 01 Sep 2010 16:46:58 +0900, Stefan Palm <stefan.palm <at> pdmc.net> wrote:

> * "OBATA Akio" <obache <at> netbsd.org> wrote:
>
>> sun-jdk14 support also had been dropped from pkgsrc.
>> Can you install more newer version?
>> Currently, pkgsrc support sun-jdk6.
>
> No problem - I've a jdk6 located at "/usr/jdk/instances/jdk1.6.0". How do I tell pkgsrc about it?

pkgsrc/mk/java-vm.mk must be updated (replace SunOS-5.11-i386 with SunOS-*-*).
Current downloadable sun-jdk6 is supported on Solaris 8-10 with all arch.

--

-- 
OBATA Akio / obache <at> NetBSD.org

Thomas Klausner | 1 Sep 14:56 2010
Picon

Re: semicolon bug in x11/xkeyboard-config-1.9

On Tue, Aug 31, 2010 at 06:20:18PM +0200, Pouya D. Tafti wrote:
> I have, now:
> 
> <https://bugs.freedesktop.org/show_bug.cgi?id=29887>

Thank you.

I've added your patches to pkgsrc.
 Thomas


Gmane