From owner-freebsd-ports@FreeBSD.ORG Mon Sep 23 20:40:51 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 04CF7AF6 for ; Mon, 23 Sep 2013 20:40:51 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wi0-x231.google.com (mail-wi0-x231.google.com [IPv6:2a00:1450:400c:c05::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 90C44286F for ; Mon, 23 Sep 2013 20:40:50 +0000 (UTC) Received: by mail-wi0-f177.google.com with SMTP id cb5so2855563wib.4 for ; Mon, 23 Sep 2013 13:40:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=cswfLAYo2Loh3MHe/dZb3TFr5HGo9QUnz3hpO+pbN/E=; b=a3US8UpSaYwkIw7FoilrxK19wUfgD1x+eQfCFzCntuvFQ/qB9kBa49woYFHNK8HHmz RxrF7YqgwG3kUx8EgfFko0Sjjo4PLnk+A9WfLoF5sfRrAYtrLu+qt11BjRV6nQck3lLA ktb6tq4n7dxDqtdvfKtyT4/lKUzFC+RpTkfcJdBlwQBFdJZrDskop3IG0vov2EOffVT3 8aEtMzSFS6O6Hqm0ES0+BtTQkvPsllb2NuKxw794WBtSEia+dzUY5tlcG34MLq0Ayr+r TDrENVnYupmuN0nudHp1hjBn1GvVRDTA1zW8z9XNGKfl3mIcZ2DAGYeu4s7M1ZVet8n+ QzSA== X-Received: by 10.180.12.4 with SMTP id u4mr15127504wib.29.1379968848193; Mon, 23 Sep 2013 13:40:48 -0700 (PDT) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPSA id ey4sm1010052wic.11.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 23 Sep 2013 13:40:47 -0700 (PDT) Sender: Baptiste Daroussin Date: Mon, 23 Sep 2013 22:40:45 +0200 From: Baptiste Daroussin To: Boris Samorodov Subject: Re: [HEADSUP] Stage support for the ports tree Message-ID: <20130923204044.GG73535@ithaqua.etoilebsd.net> References: <20130923134521.GZ73535@ithaqua.etoilebsd.net> <52408168.7000503@passap.ru> <20130923180144.GD73535@ithaqua.etoilebsd.net> <524083FF.3070409@passap.ru> <20130923201800.GF73535@ithaqua.etoilebsd.net> <5240A4A1.90606@passap.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+jSQVS1cnOkN9brn" Content-Disposition: inline In-Reply-To: <5240A4A1.90606@passap.ru> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD ports list X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Sep 2013 20:40:51 -0000 --+jSQVS1cnOkN9brn Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 24, 2013 at 12:29:21AM +0400, Boris Samorodov wrote: > 24.09.2013 00:18, Baptiste Daroussin =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > On Mon, Sep 23, 2013 at 10:10:07PM +0400, Boris Samorodov wrote: > >> 23.09.2013 22:01, Baptiste Daroussin =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > >>> On Mon, Sep 23, 2013 at 09:59:04PM +0400, Boris Samorodov wrote: > >>>> 23.09.2013 17:45, Baptiste Daroussin =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > >>>> > >>>>> If you find any bug and have any diffulty to convert you port to st= age > >>>>> directory, please report it. > >>>> > >>>> Are DESKTOP_ENTRIES supposed to work with stage? > >>>> > >>> > >>> Yes if not that needs to be fixed > >> > >> The Makefile does not define NO_STAGE=3Dyes. However: > >> ----- > >> % make -V DESKTOPDIR > >> /usr/local/share/applications > >> ----- > >> > >> Should that be "${STAGEDIR}/usr/local/share/applications"? > >> > >> --=20 > >> WBR, Boris Samorodov (bsam) > >> FreeBSD Committer, http://www.FreeBSD.org The Power To Serve > >=20 > > Do you have a failing case? > >=20 > > From what I see it should work. and it is normal that DESKTOPDIR is > > /usr/local/share/applications when running make -VDESKTOPDIR >=20 > Minimal patch attached. I get the following error at "phase: stage": > http://gw.wart.ru/bulk/10-amd64-default/2013-09-23_20h32m32s/logs/errors/= eos-movrec-0.3.2.b_1.log >=20 Can you try with the following patch applied to bsd.port.mk? http://people.freebsd.org/~bapt/desktop.diff One remark below > Index: /poudriere/ports/default/graphics/eos-movrec/Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- /poudriere/ports/default/graphics/eos-movrec/Makefile (revision 32802= 6) > +++ /poudriere/ports/default/graphics/eos-movrec/Makefile (working copy) > @@ -26,7 +26,6 @@ > DESKTOP_ENTRIES=3D"EOS Camera Movie Recorder" "${COMMENT}" "${PORTNAME}"= \ > "eos_movrec" "Graphics;Photography;Qt;" false > =20 > -NO_STAGE=3D yes > post-patch: > @${REINPLACE_CMD} -e 's|GLIBC|${OPSYS}|' ${WRKSRC}/os_api.h > .for s in 16 32 128 256 512 > @@ -36,10 +35,10 @@ > =20 > post-install: > .for s in ${ICON_SIZES} > - @${MKDIR} ${PREFIX}/share/icons/hicolor/${s}/apps > + @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps > ${INSTALL_DATA} ${WRKSRC}/mac.icons/${PORTNAME}_${s}.png \ > - ${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png > + ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png > .endfor > - ${LN} -sf ${PREFIX}/share/icons/hicolor/32x32/apps/${PORTNAME}.png ${PR= EFIX}/share/pixmaps/ > + ${LN} -sf ${STAGEDIR}${PREFIX}/share/icons/hicolor/32x32/apps/${PORTNAM= E}.png ${STAGEDIR}${PREFIX}/share/pixmaps/ ^^ Here this should be ${LN} -sf ${PREFIX}/share/icons/hicolor/32x32/apps/${PO= RTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/ otherwise the created symlink will point inside the STAGEDIR which you don't want :) regards, Bapt --+jSQVS1cnOkN9brn Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlJAp0wACgkQ8kTtMUmk6EwciQCfZumPAqMBL+mbqlsami2h/Yq2 uMIAoLxJDuTWzk98SOZHwddiQDjzhJFL =5X7v -----END PGP SIGNATURE----- --+jSQVS1cnOkN9brn--