From owner-freebsd-ports@FreeBSD.ORG Thu Aug 6 23:13:32 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A6FF1065672 for ; Thu, 6 Aug 2009 23:13:32 +0000 (UTC) (envelope-from buganini@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.168]) by mx1.freebsd.org (Postfix) with ESMTP id 3A5688FC08 for ; Thu, 6 Aug 2009 23:13:32 +0000 (UTC) Received: by wf-out-1314.google.com with SMTP id 24so467678wfg.7 for ; Thu, 06 Aug 2009 16:13:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=nwqM5k55lVPz/NY9OF2jFrTGeEH7+lGx0qJU4hsgpo0=; b=G+v4vHXBuViGllf5nbcMDRVI+xVRa+r0fHgxIQF6MzZ6aqGGbMJ2mkVQ5ftHZ/QfId yAUXYNrq5lX6IaNiLe7cjb7UkRK7Csq3gPjIYFNlPyDvfN/AZSaPvuA3kIekzUjS2pME LIg+eKts0651QV048Ax3uJ2Kw1GFQ3wu8KLC4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=XAaacip3ZAwfFcj/Ovncp3DFiTGfWxvYHQ0DnJWckFnZlTufDsQWiFe3qqHnzFM3zX CO5NrkeFgVyThsaDwFqnUC8BbFYimHtXOwEDSDSreqBhQwewaJPemJdANeJJiQa3zett 2wgabjsI+jS8aH+nouKzHPzKBm3skgJv3plbg= MIME-Version: 1.0 Received: by 10.142.222.9 with SMTP id u9mr107909wfg.69.1249600411763; Thu, 06 Aug 2009 16:13:31 -0700 (PDT) In-Reply-To: <20090806181244.f41bc316.jasonh@DataIX.net> References: <20090731121249.538ea7e7.jasonh@DataIX.net> <4A747C77.1040800@infracaninophile.co.uk> <20090801224323.GA65040@server.vk2pj.dyndns.org> <4A7552C8.7020508@infracaninophile.co.uk> <4A75A813.10307@infracaninophile.co.uk> <7d6fde3d0908030148h3b5a5934lb0ade13d8b095105@mail.gmail.com> <4A7724A7.6000500@FreeBSD.org> <7fX59uGuf0@dmeyer.dinoex.sub.org> <20090806181244.f41bc316.jasonh@DataIX.net> Date: Fri, 7 Aug 2009 07:13:31 +0800 Message-ID: From: Buganini To: "Jason J. Hellenthal" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-ports@freebsd.org Subject: Re: ports/*/jpeg "Thanks a lot guys" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2009 23:13:32 -0000 The meaning of NODE_VERSION and the flag is to describe dependencies more detailed, to make it possible to do automated upgrade, instead of bump PORTREVISION by man. An important thing, NODE_VERSION and the flag could be backward compatible, for port/package don't have NODE_VERSION, it's just 0. the flag could be just a '!' prefix, for example: !fltk-threads>=1.1.9:${PORTSDIR}/x11-toolkits/fltk-threads QT_COMPONENTS= gui imageformats_run moc_build !qmake_build !uic_build without the flag, everything is just like how it is now. this should be enough for cases like this jpeg case. For more detail, if we only save NODE_VERSION of port itself in +CONTENTS upgrade MUST be transactional, but for portupgrade and portmaster, exit in half way is usual, so I think to save NODE_VERSION of each dependencies is also necessary, or even make it part of version string, but this may be confused for somebody I think. For the upgrade of perl, now we use port* -o to replace, then -r or -fr to rebulid required-by If we have NODE_VERSION=5.8.0 in lang/perl5.8 NODE_VERSION=5.10.0 in lang/perl5.10 then when we port{upgrade,master} -o lang/perl5.10 perl5.8 we dont have to rebuild required-by manually anymore. Furthermore, a unified target post-upgrade: is good, some ports has already have this, for example, upgrade-site-packages in lang/python --Buganini