> Given that there is a lot of things changed in KDE land, and that
> there could be some issues with importing stuff named similarily to
> KDE3 ones, I postpone importing stuff like Digikam for post-5.5 times.
> 
> Here is a port of KMyMoney, very nice KDE4 app that I use every week.
> It depends on libalkimia, port for which is also included. It's
> heavily tested on i386 and behaves well. Okay to import?

I've totally forgot that KMyMoney wants Qt4 GUI module of gwenhwfar
(thanks to nigel@, who tested the KMyMoney port).

Here is an update of gwenhwfar port that enables it. Since it has no
MAINTAINER, Peter, I'm CC'ing you instead - are you okay with the patch?
--
zhuk@


Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/gwenhywfar/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile    11 Jul 2013 18:57:39 -0000      1.1.1.1
+++ Makefile    23 Jan 2014 07:41:05 -0000
@@ -5,9 +5,11 @@ SHARED_ONLY=   Yes
 COMMENT=       helper library for networking and security applications
 
 DISTNAME=      gwenhywfar-4.3.3
+REVISION =     0
 
 SHARED_LIBS += gwenhywfar           0.0      # 63.3
 SHARED_LIBS += gwengui-gtk2         0.0      # unknown
+SHARED_LIBS += gwengui-qt4          0.0      # 0.0
 
 CATEGORIES=    devel
 
@@ -24,6 +26,7 @@ WANTLIB += graphite2 gthread-2.0 gtk-x11
 WANTLIB += m nettle p11-kit pango-1.0 pangocairo-1.0 pangoft2-1.0
 WANTLIB += pcre pixman-1 png pthread pthread-stubs ssl tasn1 xcb
 WANTLIB += xcb-render xcb-shm z
+WANTLIB += ICE lib/qt4/QtGui SM gmp pthread stdc++
 
 MASTER_SITES=  
http://www.aquamaniac.de/sites/download/download.php?package=01\&release=67\&file=01\&bleh=/
 
@@ -32,15 +35,18 @@ MASTER_SITES=       http://www.aquamaniac.de/s
 #MASTER_SITES= http://www.aquamaniac.de/sites/download/
 #DISTFILES=    
${DISTNAME}${EXTRACT_SUFX}{download.php?package=01&release=67&file=01}
 
-MODULES=               devel/gettext
+MODULES=               devel/gettext x11/qt4
 LIB_DEPENDS=           graphics/png \
                        security/libgcrypt \
                        security/gnutls \
                        x11/gtk+2
 
+USE_GMAKE=             Yes
 CONFIGURE_STYLE=       gnu
-CONFIGURE_ARGS+=       --with-guis=gtk2
+CONFIGURE_ARGS+=       --with-guis="gtk2 qt4" \
+                       --with-qt4-includes=${MODQT4_INCDIR} \
+                       qt4_libs="-L${MODQT4_LIBDIR} 
-Wl,-rpath-link,${X11BASE}/lib -lQtGui -lQtCore"
 LIBTOOL_FLAGS=         --tag=disable-static
 CONFIGURE_ENV=         LDFLAGS="-L${LOCALBASE}/lib"
 
 .include <bsd.port.mk>
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/gwenhywfar/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   11 Jul 2013 18:57:39 -0000      1.1.1.1
+++ pkg/PLIST   23 Jan 2014 07:41:05 -0000
@@ -13,6 +13,8 @@ include/gwenhywfar4/gwen-gui-cpp/cppgui.
 include/gwenhywfar4/gwen-gui-cpp/cppwidget.hpp
 include/gwenhywfar4/gwen-gui-gtk2/
 include/gwenhywfar4/gwen-gui-gtk2/gtk2_gui.h
+include/gwenhywfar4/gwen-gui-qt4/
+include/gwenhywfar4/gwen-gui-qt4/qt4_gui.hpp
 include/gwenhywfar4/gwenhywfar/
 include/gwenhywfar4/gwenhywfar/args.h
 include/gwenhywfar4/gwenhywfar/base64.h
@@ -147,9 +149,12 @@ lib/gwenhywfar/plugins/60/dbio/xmldb.so
 lib/gwenhywfar/plugins/60/dbio/xmldb.xml
 lib/libgwengui-gtk2.la
 @lib lib/libgwengui-gtk2.so.${LIBgwengui-gtk2_VERSION}
+lib/libgwengui-qt4.la
+@lib lib/libgwengui-qt4.so.${LIBgwengui-qt4_VERSION}
 lib/libgwenhywfar.la
 @lib lib/libgwenhywfar.so.${LIBgwenhywfar_VERSION}
 lib/pkgconfig/gwengui-gtk2.pc
+lib/pkgconfig/gwengui-qt4.pc
 lib/pkgconfig/gwenhywfar.pc
 share/aclocal/gwenhywfar.m4
 share/gwenhywfar/
@@ -178,3 +183,4 @@ share/gwenhywfar/typemaker2/c/struct_bas
 share/gwenhywfar/typemaker2/c/tree_base.tm2
 share/gwenhywfar/typemaker2/c/uint32_t.tm2
 share/gwenhywfar/typemaker2/c/uint64_t.tm2
+share/locale/de/LC_MESSAGES/gwenhywfar.mo

Reply via email to