diff options
author | jmcneill <jmcneill> | 2008-12-20 00:13:07 +0000 |
---|---|---|
committer | jmcneill <jmcneill> | 2008-12-20 00:13:07 +0000 |
commit | a8304834a01b5278c6a134d68d372d155ca71980 (patch) | |
tree | e44bd2df69c5d24ffc6e7fd5028fae760e2f90ac /x11 | |
parent | e48950ea6fcbb06b8953b7a0ad85f0efb97763ee (diff) | |
download | pkgsrc-a8304834a01b5278c6a134d68d372d155ca71980.tar.gz |
Import qgtkstyle version r868.
This is a Qt style rendered using GTK to give a native appearence for Qt
applications running on the GNOME desktop.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/qgtkstyle/DESCR | 2 | ||||
-rw-r--r-- | x11/qgtkstyle/Makefile | 32 | ||||
-rw-r--r-- | x11/qgtkstyle/PLIST | 2 | ||||
-rw-r--r-- | x11/qgtkstyle/distinfo | 6 | ||||
-rw-r--r-- | x11/qgtkstyle/patches/patch-aa | 30 |
5 files changed, 72 insertions, 0 deletions
diff --git a/x11/qgtkstyle/DESCR b/x11/qgtkstyle/DESCR new file mode 100644 index 00000000000..63163233ace --- /dev/null +++ b/x11/qgtkstyle/DESCR @@ -0,0 +1,2 @@ +This is a Qt style rendered using GTK to give a native appearence for Qt +applications running on the GNOME desktop. diff --git a/x11/qgtkstyle/Makefile b/x11/qgtkstyle/Makefile new file mode 100644 index 00000000000..c9486e89cf0 --- /dev/null +++ b/x11/qgtkstyle/Makefile @@ -0,0 +1,32 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/12/20 00:13:07 jmcneill Exp $ +# + +DISTNAME= qgtkstyle-r868 +CATEGORIES= x11 +# no upstream releases; svn snapshot location +MASTER_SITES= http://www.invisible.ca/~jmcneill/distfiles/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://labs.trolltech.com/page/Projects/Styles/GtkStyle +COMMENT= Qt style rendered using GTK + +PKG_DESTDIR_SUPPORT= user-destdir + +USE_LANGUAGES= c c++ +USE_TOOLS+= gmake +USE_LIBTOOL= yes + +do-configure: + cd ${WRKSRC} && env ${CONFIGURE_ENV} ${QTDIR}/bin/qmake + +do-install: + ${INSTALL_LIB_DIR} ${DESTDIR}${QTDIR}/plugins/styles + ${LIBTOOL} --mode=install ${INSTALL_LIB} \ + ${WRKSRC}/libgtkstyle.la \ + ${DESTDIR}${QTDIR}/plugins/styles/libgtkstyle.la + +.include "../../x11/qt4-libs/buildlink3.mk" +.include "../../x11/qt4-tools/buildlink3.mk" +.include "../../x11/gtk2/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/x11/qgtkstyle/PLIST b/x11/qgtkstyle/PLIST new file mode 100644 index 00000000000..68dafb333bc --- /dev/null +++ b/x11/qgtkstyle/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2008/12/20 00:13:07 jmcneill Exp $ +qt4/plugins/styles/libgtkstyle.la diff --git a/x11/qgtkstyle/distinfo b/x11/qgtkstyle/distinfo new file mode 100644 index 00000000000..cfe345c79b7 --- /dev/null +++ b/x11/qgtkstyle/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/12/20 00:13:07 jmcneill Exp $ + +SHA1 (qgtkstyle-r868.tar.bz2) = ffdd902f7e65d1f09bd2c8b4f642e55ff88982e7 +RMD160 (qgtkstyle-r868.tar.bz2) = 1dc4ec1f0d2af40640d9abd21f17f4444fd88a91 +Size (qgtkstyle-r868.tar.bz2) = 42173 bytes +SHA1 (patch-aa) = 0db4a34d1a4a95cb3c4a920fb6cb18e9c8b466bf diff --git a/x11/qgtkstyle/patches/patch-aa b/x11/qgtkstyle/patches/patch-aa new file mode 100644 index 00000000000..7347bd778e1 --- /dev/null +++ b/x11/qgtkstyle/patches/patch-aa @@ -0,0 +1,30 @@ +$NetBSD: patch-aa,v 1.1.1.1 2008/12/20 00:13:07 jmcneill Exp $ + +--- gtksymbols.cpp.orig 2008-12-19 19:07:43.000000000 -0500 ++++ gtksymbols.cpp +@@ -790,8 +790,25 @@ GtkStyle* QGtk::gtkStyle(const QString & + } + QT_END_NAMESPACE + ++#ifdef __NetBSD__ ++int ++getresuid(uid_t *ruid, uid_t *euid, uid_t *suid) ++{ ++ *ruid = getuid(); ++ *euid = geteuid(); ++ *suid = *euid; ++} ++int ++getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid) ++{ ++ *rgid = getgid(); ++ *egid = getegid(); ++ *sgid = *egid; ++} ++#else + int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); + int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); ++#endif + + QT_BEGIN_NAMESPACE + void QGtk::initGtkWidgets() |