From owner-freebsd-ports@FreeBSD.ORG Fri Oct 31 21:18:58 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4CDB978E for ; Fri, 31 Oct 2014 21:18:58 +0000 (UTC) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2D5762CE for ; Fri, 31 Oct 2014 21:18:57 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1XkJay-0008Nb-Dm for freebsd-ports@freebsd.org; Fri, 31 Oct 2014 14:18:56 -0700 Date: Fri, 31 Oct 2014 14:18:56 -0700 (PDT) From: Beeblebrox To: freebsd-ports@freebsd.org Message-ID: <20141031231848.2caeef76@rsbsd.rsb> In-Reply-To: <5453EC09.60907@rainbow-runner.nl> References: <1414784395741-5961228.post@n5.nabble.com> <5453EC09.60907@rainbow-runner.nl> Subject: Re: graphics/libEGL & graphics/libglapi fail: Localization? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2014 21:18:58 -0000 Another Correction :(( * The un-merged tree (with gnome3) trial was with graphics/png, not with these ports, my mistake. * These ports compile on host, but not in poudriere. * No modification to make.conf needed for host side compile. -- FreeBSD_amd64_11-Current_RadeonKMS ----- FreeBSD-11-current_amd64_root-on-zfs_RadeonKMS -- View this message in context: http://freebsd.1045724.n5.nabble.com/graphics-libEGL-graphics-libglapi-fail-Localization-tp5961228p5961269.html Sent from the freebsd-ports mailing list archive at Nabble.com. From owner-freebsd-ports@FreeBSD.ORG Fri Oct 31 21:55:49 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AA414855 for ; Fri, 31 Oct 2014 21:55:49 +0000 (UTC) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8AD8D9B0 for ; Fri, 31 Oct 2014 21:55:48 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1XkKAe-0001D3-Cc for freebsd-ports@freebsd.org; Fri, 31 Oct 2014 14:55:48 -0700 Date: Fri, 31 Oct 2014 14:55:48 -0700 (PDT) From: Beeblebrox To: freebsd-ports@freebsd.org Message-ID: <20141031235551.618e55a4@rsbsd.rsb> In-Reply-To: <5453EC09.60907@rainbow-runner.nl> References: <1414784395741-5961228.post@n5.nabble.com> <5453EC09.60907@rainbow-runner.nl> Subject: Re: graphics/libEGL & graphics/libglapi fail: Localization? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2014 21:55:49 -0000 On a completely clean ports tree, # poudriere bulk -j s11a graphics/libEGL graphics/libglapi fails for both ports. -- FreeBSD_amd64_11-Current_RadeonKMS ----- FreeBSD-11-current_amd64_root-on-zfs_RadeonKMS -- View this message in context: http://freebsd.1045724.n5.nabble.com/graphics-libEGL-graphics-libglapi-fail-Localization-tp5961228p5961278.html Sent from the freebsd-ports mailing list archive at Nabble.com. From owner-freebsd-ports@FreeBSD.ORG Fri Oct 31 23:08:35 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 20A575A5; Fri, 31 Oct 2014 23:08:35 +0000 (UTC) Received: from mailrelay004.isp.belgacom.be (mailrelay004.isp.belgacom.be [195.238.6.170]) by mx1.freebsd.org (Postfix) with ESMTP id 8CB20121; Fri, 31 Oct 2014 23:08:34 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmMGAKcVVFRR8nxA/2dsb2JhbABcgw5UTc0+h1ECgRQXAQEBAQF9hAMBAQQ6HCMQCw4KCSUPKh4GE4hFAcpyAQEBAQEBAQMBAQEBAQEBG45zgUwBAU8HhEsFlmeHFY9khmqDeTwvgQ+BPAEBAQ Received: from 64.124-242-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.242.124.64]) by relay.skynet.be with ESMTP; 01 Nov 2014 00:07:24 +0100 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.9/8.14.9) with ESMTP id s9VN7N0D001270; Sat, 1 Nov 2014 00:07:23 +0100 (CET) (envelope-from tijl@FreeBSD.org) Date: Sat, 1 Nov 2014 00:07:23 +0100 From: Tijl Coosemans To: Baptiste Daroussin Subject: Re: Reducing the size of the ports tree (brainstorm v2) Message-ID: <20141101000723.782768a3@kalimero.tijl.coosemans.org> In-Reply-To: <20141031185621.GC15967@ivaldir.etoilebsd.net> References: <20141031185621.GC15967@ivaldir.etoilebsd.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2014 23:08:35 -0000 On Fri, 31 Oct 2014 19:56:21 +0100 Baptiste Daroussin wrote: > Hi all, > > tijl@ spotted an interesting point, distinfo and pkg-descr files files > convenient are taking a lot of space for "free", we can reduce the size of the > while ports tree by a factor 2 by simply merging them into one of the other > files (Makefile and/or pkg-plist) from my testing it really devides > significantly the size of the tree. > > Problem is how to merge them if we want to. > > What we do not want to loose: > - Easyness of parsing distinfo > - Easyness to get informations about the description > > so far I have not been able to figure out a user friendly way > > Ideas I got so far only concerns pkg-descr: > Adding an entry in the Makefile for the WWW: > WWW= bla > or an entry in the plist: @www http... > > for the description the Makefile is not suitable as multi line entry in > Makefiles are painful > Maybe a new keyword: > @descr < mydesc > in > multiline > EOD > > which could easily be added to the plist parser in pkg. But I'm do not find that > very friendly in particular for make(1) to extract the data. > > Concerning the distinfo I have no idea. > > so this mail is a call of ideas :), if nothing nice ideas is found we will just > do nothing here :) For distinfo I was thinking about something like this in the Makefile: DIST_FILES= FOO BAR FOO_FILE= foo-1.0 FOO_SITES= http://www.example.com/foo/ FOO_SIZE= 12345 FOO_SHA256= 0123456789abcdef..... BAR_FILE= bar-2.0 BAR_SITES= http://www.example.com/bar/ BAR_SIZE= 54321 BAR_SHA256= .....fedcba9876543210 If bsd.port.mk then contained this: DIST_FILES?= DIST DIST_FILE?= ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX} Then for ports with a single distfile named after PORTNAME (the large majority), the above would reduce to: DIST_SITES= http://www.example.com/foo/ DIST_SIZE= 12345 DIST_SHA256= 0123456789abcdef..... Also, if BAR_SITES is the same as FOO_SITES you can use somthing like BAR_SITES=${FOO_SITES} of course. pkg-descr and pkg-plist will be around for a while I think but maybe pkg could support an alternative syntax that is similar to the manifest file included in the package. This file (named Manifest maybe?) would include a comment, description, install/deinstall scripts and a list of files and directories like this (copied from https://github.com/freebsd/pkg): comment: Short package description desc: |- Long package description goes here www: http:///www.example.com/ files: |- bin/foo lib/bar dirs: |- some/dir scripts: post-install: |- #!/bin/sh echo post-install pre-install: |- #!/bin/sh echo pre-install