Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 2008 17:53:31 -0500
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        "Ion-Mihai Tetcu" <itetcu@freebsd.org>
Cc:        gnome@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: ports with bad plist when NO{DOCS,EXAMPLES,PORTDATA} defined
Message-ID:  <op.ubfa7hre9aq2h7@mezz.mezzweb.com>
In-Reply-To: <20080520012300.45e74175@it.buh.tecnik93.com>
References:  <20080519215010.68ce1dff@it.buh.tecnik93.com> <op.ube3zepk9aq2h7@mezz.mezzweb.com> <20080519233159.274c9f42@it.buh.tecnik93.com> <op.ube5g4aw9aq2h7@mezz.mezzweb.com> <20080520000759.27ca8d20@it.buh.tecnik93.com> <op.ube716u49aq2h7@mezz.mezzweb.com> <20080520004617.1264d9e5@it.buh.tecnik93.com> <op.ube9kza09aq2h7@mezz.mezzweb.com> <20080520012300.45e74175@it.buh.tecnik93.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 19 May 2008 17:23:00 -0500, Ion-Mihai Tetcu <itetcu@FreeBSD.org>=
  =

wrote:

> On Mon, 19 May 2008 17:18:25 -0500
> "Jeremy Messenger" <mezz7@cox.net> wrote:
>
>> > And how are updates tested - except when you hijack pointyhat :) ?
>>
>> I think, most of us don't test it until pointyhat complain it. ;-) It=
's
>
>  :-D
>
>> very rare for *-reference ports to change with PORTDOCS=3D* unless th=
ey
>> added something like sometime ago doxygen/devhelp were added in
>> glibmm-reference and we got pointyhat error log for that. Well, also =
got
>> your error log for different case in same port.
>>
>> If I modify or rewrite reference framework, I would use static plist
>> instead of PORTDOCS=3D* and remove NOPORTDOCS option. It means that w=
e  =

>> will
>> have to test *-reference ports' plist at the each update. I don't kno=
w  =

>> if
>> my team will like it, so I will have to ask if I am going to touch
>> reference framework (don't have time for that right now).
>
> Not using PORTDOCS and not supporting NOPORTDOCS are different things,=
  =

> no?

The reference framework has PORTDOCS=3D* and define NOPORTDOCS in  =

post-install target. So, I mean by not use PORTDOCS (auto with/without  =

@comment in plist) for avoid plist broke if users use NOPORTDOCS when  =

remove NOPORTDOCS from post-install target. And don't use NOPORTDOCS in =
 =

Makefile, so it will be always install. Also, I usually like to avoid us=
e  =

PORTDOCS for I can add more lines in static plist.

> On my desktop /usr/local/shre/docs is about 400MB.
> I had to fit recently a pretty complex system on a small thingy. Had t=
o
> go in and remove a lot of things by hand o have place for the base
> system and the port plus for some data.

The *-reference ports only install documents stuff, so it doesn't make a=
ny  =

sense to provide NOPORTDOCS option support. If users install *-reference=
  =

ports with NOPORTDOCS then these ports will be register with nothing stu=
ff  =

installed. ;-) It's one of reason we provide *-reference slave ports.

>> BTW/OT: I am against automatic dynamic pkg-plist:
>> http://wiki.freebsd.org/PortsToDo#head-d39af25709360f5285b40c03255de7=
465fa717fa
>> .. I perfer static plist, I use it awful a lot in offline. I wouldn't=
  =

>> have
>> done share/gnome/ -> share/ quick without that static plist. Also it =
 =

>> helps
>> a lot to notice if file(s) install in the wrong place. I use it a lot=
 to
>> know which file/directory come from port.
>
> Yeh, I'm all in favor of having all files listed in pkg-plist.

Good!

Cheers,
Mezz


-- =

mezz7@cox.net  -  mezz@FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.ubfa7hre9aq2h7>