Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Mar 2021 14:51:49 +0100
From:      =?UTF-8?Q?Mika=c3=abl_Urankar?= <mikael@FreeBSD.org>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r568171 - head/x11/alacritty
Message-ID:  <6c05065b-5755-ab17-02f5-880c502edd0b@FreeBSD.org>
In-Reply-To: <20210312134815.52gg254cjddlhfpi@aniel.nours.eu>
References:  <202103121138.12CBc7bq067077@repo.freebsd.org> <20210312134815.52gg254cjddlhfpi@aniel.nours.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/03/2021 14:48, Baptiste Daroussin wrote:
> On Fri, Mar 12, 2021 at 11:38:07AM +0000, Mikael Urankar wrote:
>> Author: mikael
>> Date: Fri Mar 12 11:38:07 2021
>> New Revision: 568171
>> URL: https://svnweb.freebsd.org/changeset/ports/568171
>>
>> Log:
>>    x11/alacritty: Add video backend option
>>    
>>    PR:		254035
>>    Submitted by:	Evgeniy Khramtsov
>>
>> Modified:
>>    head/x11/alacritty/Makefile
>>
>> Modified: head/x11/alacritty/Makefile
>> ==============================================================================
>> --- head/x11/alacritty/Makefile	Fri Mar 12 11:31:40 2021	(r568170)
>> +++ head/x11/alacritty/Makefile	Fri Mar 12 11:38:07 2021	(r568171)
>> @@ -3,6 +3,7 @@
>>   PORTNAME=	alacritty
>>   DISTVERSIONPREFIX=	v
>>   DISTVERSION=	0.7.2
>> +PORTREVISION=	1
>>   CATEGORIES=	x11
>>   
>>   MAINTAINER=	mikael@FreeBSD.org
>> @@ -15,9 +16,8 @@ LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
>>   		libfreetype.so:print/freetype2
>>   TEST_DEPENDS=	dejavu>0:x11-fonts/dejavu
>>   
>> -USES=		cargo localbase:ldflags python:3.6+,build ssl:build xorg
>> +USES=		cargo localbase:ldflags python:3.6+,build ssl:build
>>   USE_GITHUB=	yes
>> -USE_XORG=	xcb
>>   
>>   CARGO_CRATES=	ab_glyph_rasterizer-0.1.4 \
>>   		adler32-1.2.0 \
>> @@ -221,6 +221,9 @@ CARGO_CRATES=	ab_glyph_rasterizer-0.1.4 \
>>   CARGO_USE_GITHUB=	yes
>>   CARGO_INSTALL_PATH=	alacritty
>>   
>> +CARGO_FEATURES+=	--no-default-features
>> +CARGO_CARGOTOML=	${WRKSRC}/${PORTNAME}/Cargo.toml
>> +
>>   # For xcb crate
>>   BINARY_ALIAS=	python3=${PYTHON_CMD}
>>   
>> @@ -234,6 +237,17 @@ PLIST_FILES=	bin/alacritty \
>>   PORTEXAMPLES=	alacritty.yml
>>   
>>   OPTIONS_DEFINE=	EXAMPLES
>> +
>> +BACKEND_DESC=	Display backend
>> +
>> +OPTIONS_MULTI=		BACKEND
>> +OPTIONS_MULTI_BACKEND=	WAYLAND X11
>> +OPTIONS_DEFAULT=	WAYLAND
>> +
> I think the default should be both am I wrong ?
> 
> Bapt
> 
Oops, I was testing the option separately and forgot to put X11 back.
fixed in https://svnweb.freebsd.org/changeset/ports/568177
Thanks!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6c05065b-5755-ab17-02f5-880c502edd0b>