From jhs@flat.berklix.net  Wed May 11 11:55:04 2005
Return-Path: <jhs@flat.berklix.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 54E7916A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 11 May 2005 11:55:04 +0000 (GMT)
Received: from tower.berklix.org (bsd.bsn.com [194.221.32.7])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 280D943D5D
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 11 May 2005 11:55:03 +0000 (GMT)
	(envelope-from jhs@flat.berklix.net)
Received: from js.berklix.net (p549A5AD8.dip.t-dialin.net [84.154.90.216])
	(authenticated bits=0)
	by tower.berklix.org (8.12.9p2/8.12.9) with ESMTP id j4BBt08o043026;
	Wed, 11 May 2005 13:55:01 +0200 (CEST)
	(envelope-from jhs@flat.berklix.net)
Received: from fire.jhs.private (fire.jhs.private [192.168.91.41])
	by js.berklix.net (8.12.11/8.12.11) with ESMTP id j4BBssPk002037;
	Wed, 11 May 2005 13:54:57 +0200 (CEST)
	(envelope-from jhs@flat.berklix.net)
Received: from fire.jhs.private (localhost [127.0.0.1])
	by fire.jhs.private (8.13.3/8.13.3) with ESMTP id j4BBsssq037282;
	Wed, 11 May 2005 13:54:54 +0200 (CEST)
	(envelope-from jhs@fire.jhs.private)
Received: (from jhs@localhost)
	by fire.jhs.private (8.13.3/8.13.1/Submit) id j4BBssGE037281;
	Wed, 11 May 2005 13:54:54 +0200 (CEST)
	(envelope-from jhs)
Message-Id: <200505111154.j4BBssGE037281@fire.jhs.private>
Date: Wed, 11 May 2005 13:54:54 +0200 (CEST)
From: "Julian H. Stacey"@FreeBSD.ORG, jhs@berklix.org
Reply-To: "Julian H. Stacey"@FreeBSD.ORG, jhs@berklix.org
To: FreeBSD-gnats-submit@freebsd.org
Cc: "Julian H. Stacey"@fire.jhs.private, jhs@berklix.com
Subject: enhance ports/Makefile to do human languages last
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         80888
>Category:       ports
>Synopsis:       enhance ports/Makefile to do human languages last
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    portmgr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 11 12:00:28 GMT 2005
>Closed-Date:    Fri Nov 04 09:24:23 GMT 2005
>Last-Modified:  Fri Nov  4 16:20:15 GMT 2005
>Originator:     "Julian H. Stacey" jhs@berklix.com
>Release:        FreeBSD 5.4-STABLE amd64
>Organization:
>Environment:
System: FreeBSD fire.jhs.private 5.4-STABLE FreeBSD 5.4-STABLE #0: Wed Apr 27 17:01:38 CEST 2005 jhs@fire.jhs.private:/usr1/ftp/pri/FreeBSD/branches/5/src/sys/amd64/compile/FIRE64.small amd64


	
>Description:
	# Delay human language variants till last.
	# Allow them all still to be built by default.
	# Allow an over ride to set just the one(s) you want.
>How-To-Repeat:
	-
>Fix:
diff -c patch follows
-----


*** 5.4-RELEASE/ports/Makefile.~1~	Fri Dec 17 12:23:22 2004
--- new/ports/Makefile	Wed May 11 09:30:17 2005
***************
*** 2,15 ****
  #
  
  SUBDIR += accessibility
- SUBDIR += arabic
  SUBDIR += archivers
  SUBDIR += astro
  SUBDIR += audio
  SUBDIR += benchmarks
  SUBDIR += biology
  SUBDIR += cad
- SUBDIR += chinese
  SUBDIR += comms
  SUBDIR += converters
  SUBDIR += databases
--- 2,13 ----
***************
*** 19,35 ****
  SUBDIR += editors
  SUBDIR += emulators
  SUBDIR += finance
- SUBDIR += french
  SUBDIR += ftp
  SUBDIR += games
- SUBDIR += german
  SUBDIR += graphics
- SUBDIR += hebrew
- SUBDIR += hungarian
  SUBDIR += irc
- SUBDIR += japanese
  SUBDIR += java
- SUBDIR += korean
  SUBDIR += lang
  SUBDIR += mail
  SUBDIR += math
--- 17,27 ----
***************
*** 40,56 ****
  SUBDIR += net-mgmt
  SUBDIR += news
  SUBDIR += palm
- SUBDIR += polish
- SUBDIR += portuguese
  SUBDIR += print
- SUBDIR += russian
  SUBDIR += science
  SUBDIR += security
  SUBDIR += shells
  SUBDIR += sysutils
  SUBDIR += textproc
- SUBDIR += ukrainian
- SUBDIR += vietnamese
  SUBDIR += www
  SUBDIR += x11
  SUBDIR += x11-clocks
--- 32,43 ----
***************
*** 60,65 ****
--- 47,72 ----
  SUBDIR += x11-themes
  SUBDIR += x11-toolkits
  SUBDIR += x11-wm
+ 
+ .if defined(PORTS_LANGUAGES)
+ #	Allow users to specify just the one(s) they may want.
+ SUBDIR += ${PORTS_LANGUAGES}
+ .else
+ #	Build all, but after generic international English ports.
+ SUBDIR += arabic
+ SUBDIR += chinese
+ SUBDIR += french
+ SUBDIR += german
+ SUBDIR += hebrew
+ SUBDIR += hungarian
+ SUBDIR += japanese
+ SUBDIR += korean
+ SUBDIR += polish
+ SUBDIR += portuguese
+ SUBDIR += russian
+ SUBDIR += ukrainian
+ SUBDIR += vietnamese
+ .endif
  
  PORTSTOP=	yes
  
-
Julian Stacey        Net & Sys Eng Consultant, Munich       http://berklix.com
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->portmgr 
Responsible-Changed-By: vs 
Responsible-Changed-When: Wed May 11 13:31:24 GMT 2005 
Responsible-Changed-Why:  
port-mgr territory 

http://www.freebsd.org/cgi/query-pr.cgi?pr=80888 

From: Kris Kennaway <kris@obsecurity.org>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/80888: enhance ports/Makefile to do human languages last
Date: Thu, 20 Oct 2005 20:05:00 -0400

 --UugvWAfsgieZRqgk
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 What is the use of this?  Most recursive targets don't work if you
 have only a partial ports tree.
 
 Kris
 
 
 --UugvWAfsgieZRqgk
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2 (FreeBSD)
 
 iD8DBQFDWDCrWry0BWjoQKURAjLOAKCoapmWzVC6vwl1xj0Yo35AJ9f7CwCglnus
 Vi39sXqu4ifMPGZWBbJf/wo=
 =KjdE
 -----END PGP SIGNATURE-----
 
 --UugvWAfsgieZRqgk--
State-Changed-From-To: open->closed 
State-Changed-By: kris 
State-Changed-When: Fri Nov 4 09:23:48 GMT 2005 
State-Changed-Why:  
Feedback timeout, and this idea seems to be conceptually flawed since 
we don't support partial ports trees. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=80888 

From: linimon@lonesome.com (Mark Linimon)
To: Julian Stacey <jhs@berklix.org>
Cc: portmgr@freebsd.org, bug-followup@FreeBSD.org
Subject: Re: ports/80888: enhance ports/Makefile to do human languages last
Date: Fri, 4 Nov 2005 10:15:31 -0600

 On Fri, Nov 04, 2005 at 12:45:31PM +0100, Julian Stacey wrote:
 [kris wrote}:
 > > and this idea seems to be conceptually flawed since
 > > we don't support partial ports trees.
 > 
 > It saves much time & space when doing 
 > 	cd /usr/ports;make fetch
 > Most of those human language ports/* no single consumer site ever wants,
 > only the mirrors want all the the associated french, vietnamese etc distfiles.
 
 The savings are on the order of 5%.  With current sized disks, this is
 not seen as particularly significant.
 
 But you didn't address Kris' point, which is:
 
 We've seen over and over again, postings to the mailing lists where
 someone has tried to work with a partial ports tree, and something breaks
 (e.g. a dependency for a port that they _do_ have is missing) and then
 we have to explain to them about how this is not a supported configuration.
 And everyone becomes unhappy.  It wastes time.
 
 We can either do one of two things:
 
 a) create a new policy that certain categories are 'leaf' categories
 (and thus any port in that category must _not_ have any port that depends
 on it outside that category); create a procedure to deal with ports that
 violate this; fix all the existing ports that violate this; and create
 automated tools to flag non-conforming ports as they are committed*; or
 
 b) conclude that partial ports trees are not supported.
 
 Executive summary: if people want to support partial ports trees then
 there has to be a community consensus that it will accept a new portmgr
 policy about it.  If you really feel strongly about this issue, post it
 to freebsd-ports with '[RFC]: leaf categories' or something like that
 and see if you can forge such a consensus.
 
 mcl
 
 * it's hopeless to pretend that they won't be committed at some point,
 it's just too fragile an assumption.
>Unformatted:
