From nobody Fri Jun 23 08:52:48 2023 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QnWGh5Rtqz4g6jk for ; Fri, 23 Jun 2023 08:53:00 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QnWGh51RBz42qJ for ; Fri, 23 Jun 2023 08:53:00 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687510380; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=U4Knbyz+5ecBA2KaXvCQD2hhIzjsHV9bdO3+sOgKngM=; b=XGnECQdOloTxsPpEJjxFeC91NqahYRiv7Tx2TkYGmukvKV4TwsBVjWgPGjAh7ToS1GO71z 1pS/R9qRqochmCo5Wih4X6Fq2Hw8xoc27hcvoXLwioo5zUWLYrfC1/bcoOlXO14R2qV3Dc jheUHEmckWHgM/tT2Ayueod+2GM+BR2T5MeCeJAbT5QIbnblKTtHj4EZFeWYbhbPdFMVMY pDlNITxAi1xhIi2BxLcWLl+X+ybGI2yMjnhmDgYtlwfnVkYLvU88/VFq+uzh6j4tniF570 Uk26CN69xitYOzLvLiL4pZEIeJJkBMs/Uvy4+xCNktd5HURSXigR0gSGz0J5UA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687510380; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=U4Knbyz+5ecBA2KaXvCQD2hhIzjsHV9bdO3+sOgKngM=; b=LrNbPgemcc8Y7TXLf0+3XpO8nV5mmznMqHEPG8H3wzxAERbF0BhxYc8/3mDACWHTKg7xad K0T12cfVapukpT0rjqeXMC+kl++autoEqbdw2hr+VQb+iniYqP2QKf/TjAjupaVSsTsxNE dfH/lEq4yW9uA0k8KPpVlJt5wmmFnlI1denmbzQhxpfWhUE38nfbo3j0FQWbB8FC5yXL2G ZtcT0LtXc4JeozSZxLNnvkMcXlDQu1nnluEC3lTyBi9f5myBIKXWIGtC++uv2zFHhqKlBU 1mfEDazzlOTz6SLPOUmsjHCS1oKioFcvp2cgXSkQi5AUuqhYYY2UaCC5f84JQA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687510380; a=rsa-sha256; cv=none; b=v/Qu1Xerqcyhbyf2aZKUvzDDLIRBPwOYTbGg4mr8xo7GFMSdTHDp9RW48COfxGWSsSFQm3 A074DqWdEEDMIKhD3lXtyujSY1nODW/LleriFafrUMGmDDibIIWPk6CXq7vP/ZhCtU3xfn 8xTfx3fnEre2e5ann/oe/Ob+1XdZq2/1jdO50D58v1sLK/Yq6+AWI0+1LU0nvYkwZSJAoS 4bJ7Ngnk9N+csji+oQYTktp2902+ErdRTJHr4BFWnOCOHK2Wq33JuvZKdyvE2M/+y+lMF4 0WU0rf71Mot+MGbKYxzCZWp2Jzw2dztD67NPELj90P5aROoVH3WX51KU7a5UNQ== Received: from mail-qt1-f175.google.com (mail-qt1-f175.google.com [209.85.160.175]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4QnWGh46RxzN1g for ; Fri, 23 Jun 2023 08:53:00 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-qt1-f175.google.com with SMTP id d75a77b69052e-3f866383b25so5080861cf.2 for ; Fri, 23 Jun 2023 01:53:00 -0700 (PDT) X-Gm-Message-State: AC+VfDy3WLMIDxvLuvVUcbPnPJrcdznEH4lm7tPE3k4wmgncohVUQn2A INoe1FyfEUguLU67Gz3z19bafKFTt63dFbTwriE= X-Google-Smtp-Source: ACHHUZ6SNDkryMULreypeYiswvrfISrrRKN0UieQZZGaUV1p9MeEwl4CSavvYclluhxlWtMo6wgyc8Em6jFBRn3CNG8= X-Received: by 2002:ac8:7d84:0:b0:3ff:234e:1bf8 with SMTP id c4-20020ac87d84000000b003ff234e1bf8mr16300586qtd.5.1687510379433; Fri, 23 Jun 2023 01:52:59 -0700 (PDT) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 From: Nuno Teixeira Date: Fri, 23 Jun 2023 09:52:48 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Adding GUI to existing port (graphics/pstoedit) To: FreeBSD Mailing List Content-Type: multipart/alternative; boundary="000000000000b894f905fec82060" X-ThisMailContainsUnwantedMimeParts: N --000000000000b894f905fec82060 Content-Type: text/plain; charset="UTF-8" Hello all, I've updated graphics/pstoedit to 4.00 and this version adds an experimental GUI based on QT and since it works with both qt5 and qt6 I'm thinking using flavors. I have two ways to include GUI: 1- GUI option, default OFF since it is experimental and pull new QT dependencies 2- Slave port that adds/builds pstoedit-gui-{qt5,qt6} (with advantage that pkgs will be available) Simple test on port: --- +post-build: + cd ${WRKSRC}/QT/PstoeditQtGui && ${MAKE} GUI post-install: ${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ + ${INSTALL_PROGRAM} ${WRKSRC}/QT/PstoeditQtGui/PstoeditQtGui ${STAGEDIR}${PREFIX}/bin/ --- (It uses qmake{n} if only qt{n} is installed, or qmake6 if both installed.) I'm inspired in devel/cmake-gui and net-p2p/transmission-qt Any recomendation? Thanks, -- Nuno Teixeira FreeBSD Committer (ports) --000000000000b894f905fec82060 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello all,

I've updated = graphics/pstoedit to 4.00 and this version adds an experimental GUI based o= n QT and since it works with both qt5 and qt6 I'm thinking using flavor= s.

I have two ways to include GUI:

<= /div>
1- GUI option, default OFF since it is experimental and pull new = QT dependencies
2- Slave port that adds/builds pstoedit-gui-{qt5,= qt6} (with advantage that pkgs will be available)

<= div>Simple test on port:
---
+post-build:
+ =C2=A0 = =C2=A0 =C2=A0 cd ${WRKSRC}/QT/PstoeditQtGui && ${MAKE} GUI
=C2= =A0
=C2=A0post-install:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ${INSTALL_MAN} ${= WRKSRC}/doc/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
+ =C2=A0 =C2=A0 =C2= =A0 ${INSTALL_PROGRAM} ${WRKSRC}/QT/PstoeditQtGui/PstoeditQtGui ${STAGEDIR}= ${PREFIX}/bin/
---
(It uses qmake{n} if only qt{n} is install= ed, or qmake6 if both installed.)

I'm inspired= in devel/cmake-gui and net-p2p/transmission-qt

An= y recomendation?

Thanks,

--
Nuno Teixeira
FreeBSD Committer (ports)
--000000000000b894f905fec82060--