On Sun, Nov 20, 2022 at 11:55:21AM +0000, Klemens Nanni wrote:
> On Fri, Nov 11, 2022 at 08:14:09AM +0100, Rafael Sadowski wrote:
> > On Thu Nov 10, 2022 at 09:08:07PM +0100, Rafael Sadowski wrote:
> > > Another try to import libaccounts-qt. This time seperate from the other
> > > accounts-sso stuff. Feedback, ok?
> > > 
> > > Information for inst:libaccounts-qt-1.16
> > > 
> > > Comment:
> > > Qt-based client library for the accounts database
> > > 
> > > Description:
> > > Library for managing accounts which can be used from Qt applications. It 
> > > is
> > > part of the @accounts-sso project.
> > > 
> > > Maintainer: Rafael Sadowski <rsadow...@openbsd.org>
> > > 
> > > WWW: https://accounts-sso.gitlab.io/
> > > 
> > > 
> > 
> > Tweak version attached. Please note this libaccounts-qt depends on
> > libaccounts-glib (See ports@).
> 
> OK kn
> 
> update-plist yields this
> 
> --- pkg/PLIST.orig    Wed Nov  9 22:59:05 2022
> +++ pkg/PLIST Sun Nov 20 15:54:00 2022
> @@ -24,7 +24,6 @@
>  share/dbus-1/
>  share/dbus-1/interfaces/
>  share/dbus-1/interfaces/com.google.code.AccountsSSO.Accounts.Manager.xml
> -share/gettext/its/
>  share/gettext/its/accounts-application.its
>  share/gettext/its/accounts-application.loc
>  share/gettext/its/accounts-provider.its
> @@ -35,8 +34,6 @@
>  share/gettext/its/accounts-service.loc
>  share/gir-1.0/
>  share/gir-1.0/Accounts-1.0.gir
> -share/gtk-doc/
> -share/gtk-doc/html/
>  share/gtk-doc/html/libaccounts-glib/
>  share/gtk-doc/html/libaccounts-glib/AgAccount.html
>  share/gtk-doc/html/libaccounts-glib/AgAccountService.html
> 

^ was for libaccounts-glib obviously.

-qt is OK kn as well.  You can tweak it like this if you want:


--- Makefile.orig       Sun Nov 20 16:27:52 2022
+++ Makefile    Sun Nov 20 16:27:56 2022
@@ -30,8 +30,7 @@
 WRKDIST =      
${WRKDIR}/libaccounts-qt-${V}-525ec684cfa8d234f797d7e49e21c476eea04d8e
 
 pre-configure:
-       @ln -sf ${LOCALBASE}/lib/qt5/bin/qcollectiongenerator 
${WRKDIR}/bin/qcollectiongenerator
-       @ln -sf ${LOCALBASE}/lib/qt5/bin/qhelpgenerator 
${WRKDIR}/bin/qhelpgenerator
+       ln -sf ${LOCALBASE}/lib/qt5/bin/q{collection,help}generator 
${WRKDIR}/bin/
        ${SUBST_CMD} ${WRKSRC}/Accounts/AccountsQt5Config.cmake.in
 
 .include <bsd.port.mk>

Reply via email to