Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jun 2023 09:52:48 +0100
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Adding GUI to existing port (graphics/pstoedit)
Message-ID:  <CAFDf7UKe=cmEDwqoffkEAcoWQLb9y=B1VSE5_1QskQ9qUZAePA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--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

<div dir=3D"ltr"><div>Hello all,</div><div><br></div><div>I&#39;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&#39;m thinking using flavor=
s.</div><div><br></div><div>I have two ways to include GUI:</div><div><br><=
/div><div>1- GUI option, default OFF since it is experimental and pull new =
QT dependencies</div><div>2- Slave port that adds/builds pstoedit-gui-{qt5,=
qt6} (with advantage that pkgs will be available)<br></div><div><br></div><=
div>Simple test on port:</div><div>---<br></div>+post-build:<br>+ =C2=A0 =
=C2=A0 =C2=A0 cd ${WRKSRC}/QT/PstoeditQtGui &amp;&amp; ${MAKE} GUI<br>=C2=
=A0<br>=C2=A0post-install:<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 ${INSTALL_MAN} ${=
WRKSRC}/doc/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/<br>+ =C2=A0 =C2=A0 =C2=
=A0 ${INSTALL_PROGRAM} ${WRKSRC}/QT/PstoeditQtGui/PstoeditQtGui ${STAGEDIR}=
${PREFIX}/bin/<div>---</div><div>(It uses qmake{n} if only qt{n} is install=
ed, or qmake6 if both installed.)</div><div><br></div><div>I&#39;m inspired=
 in devel/cmake-gui and net-p2p/transmission-qt</div><div><br></div><div>An=
y recomendation?</div><div><br></div><div>Thanks,<br></div><div><br><span c=
lass=3D"gmail_signature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gma=
il_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><span sty=
le=3D"color:rgb(102,102,102)">Nuno Teixeira<br>FreeBSD Committer (ports)</s=
pan></div></div></div></div>

--000000000000b894f905fec82060--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7UKe=cmEDwqoffkEAcoWQLb9y=B1VSE5_1QskQ9qUZAePA>