From owner-freebsd-desktop@FreeBSD.ORG Sun Nov 6 23:45:10 2011 Return-Path: Delivered-To: freebsd-desktop@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43347106564A for ; Sun, 6 Nov 2011 23:45:10 +0000 (UTC) (envelope-from gofd-freebsd-desktop@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 0171B8FC08 for ; Sun, 6 Nov 2011 23:45:09 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RNCA9-0007qo-KK for freebsd-desktop@freebsd.org; Mon, 07 Nov 2011 00:30:05 +0100 Received: from 189.61.210.138 ([189.61.210.138]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Nov 2011 00:30:05 +0100 Received: from rakuco by 189.61.210.138 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Nov 2011 00:30:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-desktop@freebsd.org From: Raphael Kubo da Costa Date: Sun, 06 Nov 2011 20:47:07 -0200 Lines: 18 Message-ID: <87lirs7tsk.fsf@FreeBSD.org> References: <4EB2F00D.1010708@pcbsd.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 189.61.210.138 User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (berkeley-unix) Cancel-Lock: sha1:731q3ifqP06kUMstPPU51GSX/So= Subject: Re: CTF bsd.pbi.mk X-BeenThere: freebsd-desktop@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using and improving FreeBSD on the desktop List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Nov 2011 23:45:10 -0000 Kris Moore writes: > After doing this, you should be able to use the commands "make pbi" & > "make clean-pbi". I would suggest starting on some small CLI app for > testing, like cabextract, instead of trying libreoffice on the first go ;) I tried misc/hello, which was supposed to be quite simple too :) My first attempt was with sudo, and that gave me the same results avilla got. And if I su -, cd to /usr/ports/misc/hello and call `make pbi', I also only get a usage message for pbi_makeport (I need to call `make clean-pbi' to be able to do anything). So after calling `make clean-pbi' as root I tried `make pbi' again. It's been "building the PBI chroot environment" for a while, as it is checking out stable/8 from svn, even though I have it in /usr/src (as a csup checkout, not an svn one). Is there a way to make this part of the process faster? I ended up just hitting Ctrl+C and rm -fr'ing /usr/pbi. From owner-freebsd-desktop@FreeBSD.ORG Mon Nov 7 14:46:08 2011 Return-Path: Delivered-To: freebsd-desktop@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22759106564A for ; Mon, 7 Nov 2011 14:46:08 +0000 (UTC) (envelope-from kris@pcbsd.org) Received: from mail.iXsystems.com (newknight.ixsystems.com [206.40.55.70]) by mx1.freebsd.org (Postfix) with ESMTP id 079E08FC0C for ; Mon, 7 Nov 2011 14:46:07 +0000 (UTC) Received: from mail.ixsystems.com (localhost [127.0.0.1]) by mail.iXsystems.com (Postfix) with ESMTP id 9869E84 for ; Mon, 7 Nov 2011 06:46:07 -0800 (PST) Received: from mail.iXsystems.com ([127.0.0.1]) by mail.ixsystems.com (mail.ixsystems.com [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 22737-05 for ; Mon, 7 Nov 2011 06:46:07 -0800 (PST) Received: from [192.168.0.186] (75-130-56-30.static.kgpt.tn.charter.com [75.130.56.30]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.iXsystems.com (Postfix) with ESMTPSA id 35FEC81 for ; Mon, 7 Nov 2011 06:46:07 -0800 (PST) Message-ID: <4EB7EF2D.6050005@pcbsd.org> Date: Mon, 07 Nov 2011 09:46:05 -0500 From: Kris Moore User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111003 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-desktop@freebsd.org References: <4EB2F00D.1010708@pcbsd.org> <87lirs7tsk.fsf@FreeBSD.org> In-Reply-To: <87lirs7tsk.fsf@FreeBSD.org> X-Enigmail-Version: undefined Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: CTF bsd.pbi.mk X-BeenThere: freebsd-desktop@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using and improving FreeBSD on the desktop List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Nov 2011 14:46:08 -0000 On 11/06/2011 17:47, Raphael Kubo da Costa wrote: > Kris Moore writes: > >> After doing this, you should be able to use the commands "make pbi" & >> "make clean-pbi". I would suggest starting on some small CLI app for >> testing, like cabextract, instead of trying libreoffice on the first go ;) > I tried misc/hello, which was supposed to be quite simple too :) > > My first attempt was with sudo, and that gave me the same results avilla > got. And if I su -, cd to /usr/ports/misc/hello and call `make pbi', I > also only get a usage message for pbi_makeport (I need to call `make > clean-pbi' to be able to do anything). > > So after calling `make clean-pbi' as root I tried `make pbi' again. It's > been "building the PBI chroot environment" for a while, as it is > checking out stable/8 from svn, even though I have it in /usr/src (as a > csup checkout, not an svn one). Is there a way to make this part of the > process faster? I ended up just hitting Ctrl+C and rm -fr'ing /usr/pbi. > > _______________________________________________ > freebsd-desktop@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-desktop > To unsubscribe, send any mail to "freebsd-desktop-unsubscribe@freebsd.org" I'm looking into adding some code to make it work with a pre-existing /usr/src environment. It should be in the next port update. I'll also try to fix the sudo issue :) -- Kris Moore PC-BSD Software iXsystems From owner-freebsd-desktop@FreeBSD.ORG Mon Nov 7 20:24:31 2011 Return-Path: Delivered-To: freebsd-desktop@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F03DF106566B for ; Mon, 7 Nov 2011 20:24:30 +0000 (UTC) (envelope-from kris@pcbsd.org) Received: from mail.iXsystems.com (newknight.ixsystems.com [206.40.55.70]) by mx1.freebsd.org (Postfix) with ESMTP id C0D668FC0A for ; Mon, 7 Nov 2011 20:24:30 +0000 (UTC) Received: from mail.ixsystems.com (localhost [127.0.0.1]) by mail.iXsystems.com (Postfix) with ESMTP id 8EA57E1C for ; Mon, 7 Nov 2011 12:24:30 -0800 (PST) Received: from mail.iXsystems.com ([127.0.0.1]) by mail.ixsystems.com (mail.ixsystems.com [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 37098-06 for ; Mon, 7 Nov 2011 12:24:30 -0800 (PST) Received: from [192.168.0.186] (75-130-56-30.static.kgpt.tn.charter.com [75.130.56.30]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.iXsystems.com (Postfix) with ESMTPSA id 175A3E17 for ; Mon, 7 Nov 2011 12:24:29 -0800 (PST) Message-ID: <4EB83E7B.8050601@pcbsd.org> Date: Mon, 07 Nov 2011 15:24:27 -0500 From: Kris Moore User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111003 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-desktop@freebsd.org References: <4EB2F00D.1010708@pcbsd.org> <87lirs7tsk.fsf@FreeBSD.org> <4EB7EF2D.6050005@pcbsd.org> In-Reply-To: <4EB7EF2D.6050005@pcbsd.org> X-Enigmail-Version: undefined Content-Type: multipart/mixed; boundary="------------040508010402030800000403" Subject: Re: CTF bsd.pbi.mk X-BeenThere: freebsd-desktop@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using and improving FreeBSD on the desktop List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Nov 2011 20:24:31 -0000 This is a multi-part message in MIME format. --------------040508010402030800000403 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 11/07/2011 09:46, Kris Moore wrote: > On 11/06/2011 17:47, Raphael Kubo da Costa wrote: >> Kris Moore writes: >> >>> After doing this, you should be able to use the commands "make pbi" & >>> "make clean-pbi". I would suggest starting on some small CLI app for >>> testing, like cabextract, instead of trying libreoffice on the first go ;) >> I tried misc/hello, which was supposed to be quite simple too :) >> >> My first attempt was with sudo, and that gave me the same results avilla >> got. And if I su -, cd to /usr/ports/misc/hello and call `make pbi', I >> also only get a usage message for pbi_makeport (I need to call `make >> clean-pbi' to be able to do anything). >> >> So after calling `make clean-pbi' as root I tried `make pbi' again. It's >> been "building the PBI chroot environment" for a while, as it is >> checking out stable/8 from svn, even though I have it in /usr/src (as a >> csup checkout, not an svn one). Is there a way to make this part of the >> process faster? I ended up just hitting Ctrl+C and rm -fr'ing /usr/pbi. >> >> _______________________________________________ >> freebsd-desktop@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-desktop >> To unsubscribe, send any mail to "freebsd-desktop-unsubscribe@freebsd.org" > I'm looking into adding some code to make it work with a pre-existing > /usr/src environment. It should be in the next port update. I'll also > try to fix the sudo issue :) > Attached is an updated bsd.pbi.mk, which fixes the sudo issues. Please give this a whirl after updating your pbi-manager to the 0.9.6 version in ports now. It also improves support on FreeBSD to use /usr/src sources for the initial buildworld. -- Kris Moore PC-BSD Software iXsystems --------------040508010402030800000403 Content-Type: text/plain; name="bsd.pbi.mk" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="bsd.pbi.mk" # $Id$ # # Creates a PBI file from a port with just 'make pbi' # # _PBIMAKEPORT= pbi_makeport _PBICREATE= pbi_create _PBIDIR= pbi _PBICONF= ${_PBIDIR}/pbi.conf _PBIBUILDDIR= /usr/local/pbi/${PORTNAME}-${ARCH} PBIPWD= `pwd` _PBIPORT= `pwd | cut -d '/' -f4-` .PHONY: check-pbimanager pbi pbi-makeport pbi-generate pbi-create \ clean-pbi clean-pbibuild _PBIMANAGER_PKG!=which pbi_info || ${TRUE} check-pbimanager: .if empty(_PBIMANAGER_PKG) @(cd ${PORTSDIR}/ports-mgmt/pbi-manager && ${MAKE} install clean) .endif pbi: pbi-generate pbi-generate: check-pbimanager @if [ ! -d ${PWD}/pbi ]; then \ ${ECHO_MSG} "===> Generating meta-data for ${PORTNAME}"; \ ${MKDIR} ${_PBIDIR}; \ ${MKDIR} ${_PBIDIR}/resources ${_PBIDIR}/scripts \ ${_PBIDIR}/xdg-desktop ${_PBIDIR}/xdg-menu \ ${_PBIDIR}/xgd-mime; \ ${ECHO_CMD} "PBI_PROGNAME=\"${PORTNAME}\"" > ${_PBICONF};\ ${ECHO_CMD} "PBI_MAKEPORT=\"${_PBIPORT}\"" >> ${_PBICONF};\ PROGWEB=`cat ${DESCR} | awk '/^WWW:/ { print $$2; }'`; \ ${ECHO_CMD} "PBI_PROGWEB=\"$${PROGWEB}\"" >> ${_PBICONF};\ ${ECHO_CMD} "PBI_PROGAUTHOR=\"The ${PORTNAME} team\"" \ >> ${_PBICONF}; \ ${ECHO_CMD} "PBI_UPDATEURL=\"http://update.pbidir.com\""\ >> ${_PBICONF}; \ ${ECHO_CMD} "export PBI_PROGNAME PBI_MAKEPORT " \ "PBI_PROGWEB " \ "PBI_PROGAUTHOR PBI_UPDATEURL " \ "PBI_MKPORTBEFORE PBI_MKPORTAFTER PBI_MAKEOPTS" \ >> ${_PBICONF}; \ fi @${ECHO_MSG} "==> Generating PBI file" @${_PBIMAKEPORT} -c ${PBIPWD}/pbi -o ${PBIPWD} ${_PBIPORT} clean-pbi: @${ECHO_MSG} "===> Cleaning PBI for ${PORTNAME}" @${RM} -rf ${_PBIDIR} --------------040508010402030800000403-- From owner-freebsd-desktop@FreeBSD.ORG Tue Nov 8 00:52:25 2011 Return-Path: Delivered-To: freebsd-desktop@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0092E106564A for ; Tue, 8 Nov 2011 00:52:25 +0000 (UTC) (envelope-from gofd-freebsd-desktop@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id B1D668FC08 for ; Tue, 8 Nov 2011 00:52:24 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RNZvI-0006T6-De for freebsd-desktop@freebsd.org; Tue, 08 Nov 2011 01:52:21 +0100 Received: from 189.61.210.138 ([189.61.210.138]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Nov 2011 01:52:20 +0100 Received: from rakuco by 189.61.210.138 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Nov 2011 01:52:20 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-desktop@freebsd.org From: Raphael Kubo da Costa Date: Mon, 07 Nov 2011 22:52:07 -0200 Lines: 11 Message-ID: <87vcqv77wo.fsf@FreeBSD.org> References: <4EB2F00D.1010708@pcbsd.org> <87lirs7tsk.fsf@FreeBSD.org> <4EB7EF2D.6050005@pcbsd.org> <4EB83E7B.8050601@pcbsd.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 189.61.210.138 User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (berkeley-unix) Cancel-Lock: sha1:6FLmyPN3oKphG0DjsTbMRFesHjw= Subject: Re: CTF bsd.pbi.mk X-BeenThere: freebsd-desktop@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using and improving FreeBSD on the desktop List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Nov 2011 00:52:25 -0000 Kris Moore writes: > Attached is an updated bsd.pbi.mk, which fixes the sudo issues. Please > give this a whirl after updating your pbi-manager to the 0.9.6 version > in ports now. It also improves support on FreeBSD to use /usr/src > sources for the initial buildworld. After quite a few hours of make buildworld installworld (and then building perl), I now have /usr/ports/misc/hello/hello-2.7-amd64.pbi :) Not sure what to do it, though :D From owner-freebsd-desktop@FreeBSD.ORG Tue Nov 8 00:55:08 2011 Return-Path: Delivered-To: freebsd-desktop@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F3021065670 for ; Tue, 8 Nov 2011 00:55:08 +0000 (UTC) (envelope-from gofd-freebsd-desktop@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id E02168FC0A for ; Tue, 8 Nov 2011 00:55:07 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RNZxx-0007Ic-Pg for freebsd-desktop@freebsd.org; Tue, 08 Nov 2011 01:55:05 +0100 Received: from 189.61.210.138 ([189.61.210.138]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Nov 2011 01:55:05 +0100 Received: from rakuco by 189.61.210.138 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Nov 2011 01:55:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-desktop@freebsd.org From: Raphael Kubo da Costa Date: Mon, 07 Nov 2011 22:54:04 -0200 Lines: 4 Message-ID: <87r51j77tf.fsf@FreeBSD.org> References: <4EB2F00D.1010708@pcbsd.org> <87lirs7tsk.fsf@FreeBSD.org> <4EB7EF2D.6050005@pcbsd.org> <4EB83E7B.8050601@pcbsd.org> <87vcqv77wo.fsf@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 189.61.210.138 User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (berkeley-unix) Cancel-Lock: sha1:LUUna9OdkDwR+XPTCfKkROfKipU= Subject: Re: CTF bsd.pbi.mk X-BeenThere: freebsd-desktop@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using and improving FreeBSD on the desktop List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Nov 2011 00:55:08 -0000 Raphael Kubo da Costa writes: > Not sure what to do it, though :D s/it/with it/ From owner-freebsd-desktop@FreeBSD.ORG Tue Nov 8 16:51:35 2011 Return-Path: Delivered-To: freebsd-desktop@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A15B106566B for ; Tue, 8 Nov 2011 16:51:35 +0000 (UTC) (envelope-from kris@pcbsd.org) Received: from mail.iXsystems.com (newknight.ixsystems.com [206.40.55.70]) by mx1.freebsd.org (Postfix) with ESMTP id 2F99D8FC15 for ; Tue, 8 Nov 2011 16:51:34 +0000 (UTC) Received: from mail.ixsystems.com (localhost [127.0.0.1]) by mail.iXsystems.com (Postfix) with ESMTP id B969866A for ; Tue, 8 Nov 2011 08:51:34 -0800 (PST) Received: from mail.iXsystems.com ([127.0.0.1]) by mail.ixsystems.com (mail.ixsystems.com [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 89858-01 for ; Tue, 8 Nov 2011 08:51:34 -0800 (PST) Received: from [192.168.1.16] (adsl-070-147-134-002.sip.tys.bellsouth.net [70.147.134.2]) by mail.iXsystems.com (Postfix) with ESMTPA id 43EA9664 for ; Tue, 8 Nov 2011 08:51:34 -0800 (PST) Message-ID: <4EB95E15.4030205@pcbsd.org> Date: Tue, 08 Nov 2011 11:51:33 -0500 From: Kris Moore User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111003 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-desktop@freebsd.org References: <4EB2F00D.1010708@pcbsd.org> <87lirs7tsk.fsf@FreeBSD.org> <4EB7EF2D.6050005@pcbsd.org> <4EB83E7B.8050601@pcbsd.org> <87vcqv77wo.fsf@FreeBSD.org> <87r51j77tf.fsf@FreeBSD.org> In-Reply-To: <87r51j77tf.fsf@FreeBSD.org> X-Enigmail-Version: undefined Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: CTF bsd.pbi.mk X-BeenThere: freebsd-desktop@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using and improving FreeBSD on the desktop List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Nov 2011 16:51:35 -0000 On 11/07/11 19:54, Raphael Kubo da Costa wrote: > Raphael Kubo da Costa writes: > >> Not sure what to do it, though :D > s/it/with it/ > > _______________________________________________ > freebsd-desktop@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-desktop > To unsubscribe, send any mail to "freebsd-desktop-unsubscribe@freebsd.org" Well, now you can install it via pbi_add and run it, etc :) Not sure how helpful that particular application will be though :) -- Kris Moore PC-BSD Software iXsystems