Skip to content

Instantly share code, notes, and snippets.

@swills
Created December 14, 2014 06:14
Show Gist options
  • Save swills/fd770f2be8605f0abfe1 to your computer and use it in GitHub Desktop.
Save swills/fd770f2be8605f0abfe1 to your computer and use it in GitHub Desktop.
Update QtCurve ports to 1.8.18
Index: x11-themes/qtcurve-utils/Makefile
===================================================================
--- x11-themes/qtcurve-utils/Makefile (revision 0)
+++ x11-themes/qtcurve-utils/Makefile (working copy)
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+PORTNAME= qtcurve
+PORTVERSION= 1.8.18
+CATEGORIES= x11-themes
+MASTER_SITES= LOCAL/swills
+PKGNAMESUFFIX= -utils
+
+MAINTAINER= makc@FreeBSD.org
+COMMENT= Utility library for QtCurve
+
+USES= cmake gettext-tools tar:bzip2 pkgconfig
+USE_KDE4= kdelibs
+USE_LDCONFIG= yes
+
+CMAKE_ARGS+= -DQTC_QT4_ENABLE_KDE=false \
+ -DENABLE_QT5=false \
+ -DENABLE_QT4=false \
+ -DENABLE_GTK2=false
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+
+.include <bsd.port.mk>
Property changes on: x11-themes/qtcurve-utils/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+FreeBSD=%H
\ No newline at end of property
Index: x11-themes/qtcurve-utils/distinfo
===================================================================
--- x11-themes/qtcurve-utils/distinfo (revision 0)
+++ x11-themes/qtcurve-utils/distinfo (working copy)
@@ -0,0 +1,2 @@
+SHA256 (qtcurve-1.8.18.tar.bz2) = 97e0467cb4a89168ae8e6db992cf4a5dbed537248e4f10fd02004935ae5569b2
+SIZE (qtcurve-1.8.18.tar.bz2) = 775299
Property changes on: x11-themes/qtcurve-utils/distinfo
___________________________________________________________________
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: x11-themes/qtcurve-utils/files/patch-CMakeLists.txt
===================================================================
--- x11-themes/qtcurve-utils/files/patch-CMakeLists.txt (revision 0)
+++ x11-themes/qtcurve-utils/files/patch-CMakeLists.txt (working copy)
@@ -0,0 +1,10 @@
+--- CMakeLists.txt.orig 2014-12-14 04:40:20.000000000 +0000
++++ CMakeLists.txt 2014-12-14 04:40:25.000000000 +0000
+@@ -149,7 +149,6 @@
+ cmake_c_include_fix_path()
+ add_subdirectory(lib)
+ add_subdirectory(tools)
+-add_subdirectory(po)
+ add_subdirectory(qt4)
+ add_subdirectory(qt5)
+ add_subdirectory(gtk2)
Property changes on: x11-themes/qtcurve-utils/files/patch-CMakeLists.txt
___________________________________________________________________
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: x11-themes/qtcurve-utils/files/patch-lib__utils__CMakeLists.txt
===================================================================
--- x11-themes/qtcurve-utils/files/patch-lib__utils__CMakeLists.txt (revision 0)
+++ x11-themes/qtcurve-utils/files/patch-lib__utils__CMakeLists.txt (working copy)
@@ -0,0 +1,11 @@
+--- lib/utils/CMakeLists.txt.orig 2014-12-13 05:19:29.000000000 +0000
++++ lib/utils/CMakeLists.txt 2014-12-13 05:19:52.000000000 +0000
+@@ -13,7 +13,7 @@
+ x11helpers.c
+ x11wrap.c)
+ set(qtcurve_utils_LINKS
+- m rt dl ${LIBEXECINFO_LIBRARIES} pthread)
++ m rt ${LIBEXECINFO_LIBRARIES} pthread)
+
+ include_directories("${CMAKE_CURRENT_BINARY_DIR}")
+
Property changes on: x11-themes/qtcurve-utils/files/patch-lib__utils__CMakeLists.txt
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Index: x11-themes/qtcurve-utils/files/patch-lib__utils__fd_utils.c
===================================================================
--- x11-themes/qtcurve-utils/files/patch-lib__utils__fd_utils.c (revision 0)
+++ x11-themes/qtcurve-utils/files/patch-lib__utils__fd_utils.c (working copy)
@@ -0,0 +1,10 @@
+--- ./lib/utils/fd_utils.c.orig 2014-12-13 04:51:11.000000000 +0000
++++ ./lib/utils/fd_utils.c 2014-12-13 05:03:01.000000000 +0000
+@@ -21,6 +21,7 @@
+
+ #include "fd_utils.h"
+ #include <sys/socket.h>
++#include <sys/types.h>
+ #include <fcntl.h>
+
+ QTC_EXPORT bool
Property changes on: x11-themes/qtcurve-utils/files/patch-lib__utils__fd_utils.c
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Index: x11-themes/qtcurve-utils/files/patch-lib__utils__process.c
===================================================================
--- x11-themes/qtcurve-utils/files/patch-lib__utils__process.c (revision 0)
+++ x11-themes/qtcurve-utils/files/patch-lib__utils__process.c (working copy)
@@ -0,0 +1,15 @@
+--- lib/utils/process.c.orig 2014-01-25 20:13:54.000000000 +0000
++++ lib/utils/process.c 2014-12-13 05:08:20.000000000 +0000
+@@ -23,9 +23,11 @@
+ #include "fd_utils.h"
+ #include "timer.h"
+ #include <unistd.h>
+-#include <wait.h>
++#include <sys/wait.h>
+ #include <sys/stat.h>
+ #include <sys/socket.h>
++#include <signal.h>
++#include <sys/signal.h>
+ #include <fcntl.h>
+ #include <errno.h>
+ #include <poll.h>
Property changes on: x11-themes/qtcurve-utils/files/patch-lib__utils__process.c
___________________________________________________________________
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: x11-themes/qtcurve-utils/pkg-descr
===================================================================
--- x11-themes/qtcurve-utils/pkg-descr (revision 0)
+++ x11-themes/qtcurve-utils/pkg-descr (working copy)
@@ -0,0 +1,4 @@
+QtCurve is a set of widget styles for KDE4, Qt4, Qt5, KDE3 and Gtk2 based apps.
+This port provides a utility library used by all QtCurve ports.
+
+WWW: http://www.kde-look.org/content/show.php?content=40492
Property changes on: x11-themes/qtcurve-utils/pkg-descr
___________________________________________________________________
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: x11-themes/qtcurve-utils/pkg-plist
===================================================================
--- x11-themes/qtcurve-utils/pkg-plist (revision 0)
+++ x11-themes/qtcurve-utils/pkg-plist (working copy)
@@ -0,0 +1,3 @@
+lib/libqtcurve-utils.so
+lib/libqtcurve-utils.so.1
+lib/libqtcurve-utils.so.1.0
Property changes on: x11-themes/qtcurve-utils/pkg-plist
___________________________________________________________________
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: x11-themes/qtcurve-qt4/Makefile
===================================================================
--- x11-themes/qtcurve-qt4/Makefile (revision 374545)
+++ x11-themes/qtcurve-qt4/Makefile (working copy)
@@ -1,23 +1,28 @@
# $FreeBSD$
PORTNAME= qtcurve
-PORTVERSION= 1.8.14
+PORTVERSION= 1.8.18
CATEGORIES= x11-themes
-MASTER_SITES= http://craigd.wikispaces.com/file/view/
+MASTER_SITES= LOCAL/swills
PKGNAMEPREFIX= qt4-style-
-DISTNAME= QtCurve-KDE4-${PORTVERSION}
MAINTAINER= makc@FreeBSD.org
COMMENT= QtCurve Qt4 widget style
-USES= cmake tar:bzip2
+LIB_DEPENDS= libqtcurve-utils.so:${PORTSDIR}/x11-themes/qtcurve-utils
+
+USES= cmake gettext-tools tar:bzip2 pkgconfig
USE_QT4= dbus gui svg imageformats_run \
qmake_build uic_build moc_build rcc_build
+
+CMAKE_ARGS+= -DQTC_QT4_ENABLE_KDE=false \
+ -DENABLE_QT5=false \
+ -DENABLE_GTK2=false
CFLAGS+= -I${LOCALBASE}/include
-CMAKE_ARGS+= -DQTC_QT_ONLY:BOOL=ON \
- -DQTC_DISABLE_KDEFILEDIALOG_CALLS:BOOL=ON
+LDFLAGS+= -L${LOCALBASE}/lib
+INSTALL_WRKSRC= ${WRKSRC}/qt4
+
PLIST_FILES= ${QT_PLUGINDIR_REL}/styles/qtcurve.so
-PLIST_DIRSTRY= ${QT_PLUGINDIR_REL}/styles
.include <bsd.port.mk>
Index: x11-themes/qtcurve-qt4/distinfo
===================================================================
--- x11-themes/qtcurve-qt4/distinfo (revision 374545)
+++ x11-themes/qtcurve-qt4/distinfo (working copy)
@@ -1,2 +1,2 @@
-SHA256 (QtCurve-KDE4-1.8.14.tar.bz2) = ff2f4731a0fd3c0a246a4c9099ac8a117bba463fd7cc00490acb6525ea463404
-SIZE (QtCurve-KDE4-1.8.14.tar.bz2) = 383313
+SHA256 (qtcurve-1.8.18.tar.bz2) = 97e0467cb4a89168ae8e6db992cf4a5dbed537248e4f10fd02004935ae5569b2
+SIZE (qtcurve-1.8.18.tar.bz2) = 775299
Index: x11-themes/qtcurve-qt4/files/patch-lib__CMakeLists.txt
===================================================================
--- x11-themes/qtcurve-qt4/files/patch-lib__CMakeLists.txt (revision 0)
+++ x11-themes/qtcurve-qt4/files/patch-lib__CMakeLists.txt (working copy)
@@ -0,0 +1,5 @@
+--- lib/CMakeLists.txt.orig 2014-12-14 04:40:45.000000000 +0000
++++ lib/CMakeLists.txt 2014-12-14 04:40:50.000000000 +0000
+@@ -1,2 +1 @@
+-add_subdirectory(utils)
+ add_subdirectory(cairo)
Property changes on: x11-themes/qtcurve-qt4/files/patch-lib__CMakeLists.txt
___________________________________________________________________
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: x11-themes/qtcurve-qt4/pkg-descr
===================================================================
--- x11-themes/qtcurve-qt4/pkg-descr (revision 374545)
+++ x11-themes/qtcurve-qt4/pkg-descr (working copy)
@@ -1,4 +1,4 @@
-QtCurve is a set of widget styles for Qt4/KDE4, KDE3 and Gtk2 based apps.
-This port provides Qt4 style plugin.
+QtCurve is a set of widget styles for KDE4, Qt4, Qt5, KDE3 and Gtk2 based apps.
+This port provides the Qt4 style plugin.
-WWW: http://www.kde-look.org/content/show.php?content=40492
+WWW: http://www.kde-look.org/content/show.php?content=40492
Index: x11-themes/qtcurve-kde4/Makefile
===================================================================
--- x11-themes/qtcurve-kde4/Makefile (revision 374545)
+++ x11-themes/qtcurve-kde4/Makefile (working copy)
@@ -1,18 +1,23 @@
# $FreeBSD$
PORTNAME= qtcurve
-PORTVERSION= 1.8.14
-PORTREVISION= 4
+PORTVERSION= 1.8.18
CATEGORIES= x11-themes
-MASTER_SITES= http://craigd.wikispaces.com/file/view/
+MASTER_SITES= LOCAL/swills
PKGNAMEPREFIX= kde4-style-
-DISTNAME= QtCurve-KDE4-${PORTVERSION}
MAINTAINER= makc@FreeBSD.org
COMMENT= QtCurve KDE4 widget style
-USES= cmake gettext-tools tar:bzip2
+LIB_DEPENDS= libqtcurve-utils.so:${PORTSDIR}/x11-themes/qtcurve-utils
+
+USES= cmake gettext-tools tar:bzip2 pkgconfig
USE_QT4= qmake_build uic_build moc_build rcc_build
-USE_KDE4= kdelibs workspace kdehier kdeprefix automoc4
+USE_KDE4= kdelibs workspace kdeprefix automoc4
+CMAKE_ARGS+= -DENABLE_QT5=false \
+ -DENABLE_GTK2=false
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+
.include <bsd.port.mk>
Index: x11-themes/qtcurve-kde4/distinfo
===================================================================
--- x11-themes/qtcurve-kde4/distinfo (revision 374545)
+++ x11-themes/qtcurve-kde4/distinfo (working copy)
@@ -1,2 +1,2 @@
-SHA256 (QtCurve-KDE4-1.8.14.tar.bz2) = ff2f4731a0fd3c0a246a4c9099ac8a117bba463fd7cc00490acb6525ea463404
-SIZE (QtCurve-KDE4-1.8.14.tar.bz2) = 383313
+SHA256 (qtcurve-1.8.18.tar.bz2) = 97e0467cb4a89168ae8e6db992cf4a5dbed537248e4f10fd02004935ae5569b2
+SIZE (qtcurve-1.8.18.tar.bz2) = 775299
Index: x11-themes/qtcurve-kde4/files/patch-lib__CMakeLists.txt
===================================================================
--- x11-themes/qtcurve-kde4/files/patch-lib__CMakeLists.txt (revision 0)
+++ x11-themes/qtcurve-kde4/files/patch-lib__CMakeLists.txt (working copy)
@@ -0,0 +1,5 @@
+--- lib/CMakeLists.txt.orig 2014-12-14 04:40:45.000000000 +0000
++++ lib/CMakeLists.txt 2014-12-14 04:40:50.000000000 +0000
+@@ -1,2 +1 @@
+-add_subdirectory(utils)
+ add_subdirectory(cairo)
Property changes on: x11-themes/qtcurve-kde4/files/patch-lib__CMakeLists.txt
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Index: x11-themes/qtcurve-kde4/pkg-descr
===================================================================
--- x11-themes/qtcurve-kde4/pkg-descr (revision 374545)
+++ x11-themes/qtcurve-kde4/pkg-descr (working copy)
@@ -1,4 +1,4 @@
-QtCurve is a set of widget styles for Qt4/KDE4, KDE3 and Gtk2 based apps.
+QtCurve is a set of widget styles for KDE4, Qt4, Qt5, KDE3 and Gtk2 based apps.
This port provides KDE4 theme engine.
-WWW: http://www.kde-look.org/content/show.php?content=40492
+WWW: http://www.kde-look.org/content/show.php?content=40492
Index: x11-themes/qtcurve-kde4/pkg-plist
===================================================================
--- x11-themes/qtcurve-kde4/pkg-plist (revision 374545)
+++ x11-themes/qtcurve-kde4/pkg-plist (working copy)
@@ -20,9 +20,9 @@
share/apps/kstyle/themes/qtcurve.themerc
share/apps/kwin/qtcurve.desktop
share/locale/ko/LC_MESSAGES/qtcurve.mo
+share/locale/ru/LC_MESSAGES/qtcurve.mo
share/locale/tr/LC_MESSAGES/qtcurve.mo
share/locale/uk/LC_MESSAGES/qtcurve.mo
share/locale/zh_CN/LC_MESSAGES/qtcurve.mo
share/locale/zh_HK/LC_MESSAGES/qtcurve.mo
share/locale/zh_TW/LC_MESSAGES/qtcurve.mo
-@dirrm share/apps/QtCurve
Index: x11-themes/qtcurve-gtk2/Makefile
===================================================================
--- x11-themes/qtcurve-gtk2/Makefile (revision 374545)
+++ x11-themes/qtcurve-gtk2/Makefile (working copy)
@@ -2,17 +2,29 @@
# $FreeBSD$
PORTNAME= qtcurve
-PORTVERSION= 1.8.16
+PORTVERSION= 1.8.18
CATEGORIES= x11-themes
-MASTER_SITES= http://craigd.wikispaces.com/file/view/
+MASTER_SITES= LOCAL/swills
PKGNAMEPREFIX= gtk2-
PKGNAMESUFFIX= -theme
-DISTNAME= QtCurve-Gtk2-${PORTVERSION}
MAINTAINER= makc@FreeBSD.org
COMMENT= QtCurve GTK2 Theme Engine
-USES= cmake pkgconfig tar:bzip2
+LIB_DEPENDS= libqtcurve-utils.so:${PORTSDIR}/x11-themes/qtcurve-utils
+
+USES= cmake gettext-tools tar:bzip2 pkgconfig
USE_GNOME= gtk20
+USE_LDCONFIG= yes
+CMAKE_ARGS+= -DQTC_QT4_ENABLE_KDE=false \
+ -DENABLE_QT5=false \
+ -DENABLE_QT4=false
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+
+do-install:
+ @(cd ${INSTALL_WRKSRC}/gtk2 && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
+ @(cd ${INSTALL_WRKSRC}/lib/cairo && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
+
.include <bsd.port.mk>
Index: x11-themes/qtcurve-gtk2/distinfo
===================================================================
--- x11-themes/qtcurve-gtk2/distinfo (revision 374545)
+++ x11-themes/qtcurve-gtk2/distinfo (working copy)
@@ -1,2 +1,2 @@
-SHA256 (QtCurve-Gtk2-1.8.16.tar.bz2) = 8b33dfc4426dc0a9e5f6870de5975c81af8223abaae7b65b5906144bacbc4f90
-SIZE (QtCurve-Gtk2-1.8.16.tar.bz2) = 184324
+SHA256 (qtcurve-1.8.18.tar.bz2) = 97e0467cb4a89168ae8e6db992cf4a5dbed537248e4f10fd02004935ae5569b2
+SIZE (qtcurve-1.8.18.tar.bz2) = 775299
Index: x11-themes/qtcurve-gtk2/files/patch-lib__CMakeLists.txt
===================================================================
--- x11-themes/qtcurve-gtk2/files/patch-lib__CMakeLists.txt (revision 0)
+++ x11-themes/qtcurve-gtk2/files/patch-lib__CMakeLists.txt (working copy)
@@ -0,0 +1,5 @@
+--- lib/CMakeLists.txt.orig 2014-12-14 04:40:45.000000000 +0000
++++ lib/CMakeLists.txt 2014-12-14 04:40:50.000000000 +0000
+@@ -1,2 +1 @@
+-add_subdirectory(utils)
+ add_subdirectory(cairo)
Property changes on: x11-themes/qtcurve-gtk2/files/patch-lib__CMakeLists.txt
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Index: x11-themes/qtcurve-gtk2/pkg-descr
===================================================================
--- x11-themes/qtcurve-gtk2/pkg-descr (revision 374545)
+++ x11-themes/qtcurve-gtk2/pkg-descr (working copy)
@@ -1,4 +1,4 @@
-QtCurve is a set of widget styles for Qt4/KDE4, KDE3 and Gtk2 based apps.
+QtCurve is a set of widget styles for KDE4, Qt4, Qt5, KDE3 and Gtk2 based apps.
This port provides GTK2 theme engine.
-WWW: http://www.kde-look.org/content/show.php?content=40492
+WWW: http://www.kde-look.org/content/show.php?content=40492
Index: x11-themes/qtcurve-gtk2/pkg-plist
===================================================================
--- x11-themes/qtcurve-gtk2/pkg-plist (revision 374545)
+++ x11-themes/qtcurve-gtk2/pkg-plist (working copy)
@@ -1,4 +1,7 @@
lib/gtk-2.0/%%GTK2_VERSION%%/engines/libqtcurve.so
+lib/libqtcurve-cairo.so
+lib/libqtcurve-cairo.so.0
+lib/libqtcurve-cairo.so.0.1
share/themes/QtCurve/gtk-2.0/gtkrc
share/themes/QtCurve/gtk-2.0/icons3
share/themes/QtCurve/gtk-2.0/icons4
@@ -7,6 +10,3 @@
share/themes/QtCurve/mozilla/QtCurve.css
share/themes/QtCurve/mozilla/QtCurve-KDEButtonOrder.css
share/themes/QtCurve/mozilla/preferences-rev.xml
-@dirrm share/themes/QtCurve/gtk-2.0
-@dirrm share/themes/QtCurve/mozilla
-@dirrm share/themes/QtCurve
Index: x11-themes/qtcurve-qt5/Makefile
===================================================================
--- x11-themes/qtcurve-qt5/Makefile (revision 0)
+++ x11-themes/qtcurve-qt5/Makefile (working copy)
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME= qtcurve
+PORTVERSION= 1.8.18
+CATEGORIES= x11-themes
+MASTER_SITES= LOCAL/swills
+PKGNAMEPREFIX= qt5-style-
+
+MAINTAINER= makc@FreeBSD.org
+COMMENT= QtCurve Qt5 widget style
+
+LIB_DEPENDS= libqtcurve-utils.so:${PORTSDIR}/x11-themes/qtcurve-utils
+
+USES= cmake gettext-tools tar:bzip2 pkgconfig
+USE_QT5= buildtools_build core dbus gui imageformats_run widgets svg \
+ qmake qmake_build
+
+CMAKE_ARGS+= -DQTC_QT4_ENABLE_KDE=false \
+ -DENABLE_QT4=false \
+ -DENABLE_GTK2=false
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+
+INSTALL_WRKSRC= ${WRKSRC}/qt5
+
+PLIST_FILES= ${QT_PLUGINDIR_REL}/styles/qtcurve.so
+
+.include <bsd.port.mk>
Property changes on: x11-themes/qtcurve-qt5/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+FreeBSD=%H
\ No newline at end of property
Index: x11-themes/qtcurve-qt5/distinfo
===================================================================
--- x11-themes/qtcurve-qt5/distinfo (revision 0)
+++ x11-themes/qtcurve-qt5/distinfo (working copy)
@@ -0,0 +1,2 @@
+SHA256 (qtcurve-1.8.18.tar.bz2) = 97e0467cb4a89168ae8e6db992cf4a5dbed537248e4f10fd02004935ae5569b2
+SIZE (qtcurve-1.8.18.tar.bz2) = 775299
Property changes on: x11-themes/qtcurve-qt5/distinfo
___________________________________________________________________
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: x11-themes/qtcurve-qt5/files/patch-lib__CMakeLists.txt
===================================================================
--- x11-themes/qtcurve-qt5/files/patch-lib__CMakeLists.txt (revision 0)
+++ x11-themes/qtcurve-qt5/files/patch-lib__CMakeLists.txt (working copy)
@@ -0,0 +1,5 @@
+--- lib/CMakeLists.txt.orig 2014-12-14 04:40:45.000000000 +0000
++++ lib/CMakeLists.txt 2014-12-14 04:40:50.000000000 +0000
+@@ -1,2 +1 @@
+-add_subdirectory(utils)
+ add_subdirectory(cairo)
Property changes on: x11-themes/qtcurve-qt5/files/patch-lib__CMakeLists.txt
___________________________________________________________________
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: x11-themes/qtcurve-qt5/files/patch-qt5__style__qtcurve_api.cpp
===================================================================
--- x11-themes/qtcurve-qt5/files/patch-qt5__style__qtcurve_api.cpp (revision 0)
+++ x11-themes/qtcurve-qt5/files/patch-qt5__style__qtcurve_api.cpp (working copy)
@@ -0,0 +1,55 @@
+From: Marco Martin <notmart@gmail.com>
+Date: Mon, 19 May 2014 08:37:37 +0000
+Subject: remove qt_filedialog_* api
+X-Git-Url: http://quickgit.kde.org/?p=qtcurve.git&a=commitdiff&h=323402d8b99502300f65e909c61153cbd5d5d997
+---
+remove qt_filedialog_* api
+
+it has been removed and doesn't build anymore with recent Qt5 stable
+branch
+---
+
+
+--- qt5/style/qtcurve_api.cpp
++++ qt5/style/qtcurve_api.cpp
+@@ -67,25 +67,6 @@
+
+ #include <QDebug>
+
+-extern QString (*qt_filedialog_existing_directory_hook)(
+- QWidget *parent, const QString &caption, const QString &dir,
+- QFileDialog::Options options);
+-
+-extern QString (*qt_filedialog_open_filename_hook)(
+- QWidget *parent, const QString &caption, const QString &dir,
+- const QString &filter, QString *selectedFilter,
+- QFileDialog::Options options);
+-
+-extern QStringList (*qt_filedialog_open_filenames_hook)(
+- QWidget * parent, const QString &caption, const QString &dir,
+- const QString &filter, QString *selectedFilter,
+- QFileDialog::Options options);
+-
+-extern QString (*qt_filedialog_save_filename_hook)(
+- QWidget *parent, const QString &caption, const QString &dir,
+- const QString &filter, QString *selectedFilter,
+- QFileDialog::Options options);
+-
+ namespace QtCurve {
+
+ void
+@@ -161,13 +142,6 @@
+ if(!qtcIsFlatBgnd(opts.menuBgndAppearance) && 0 == opts.lighterPopupMenuBgnd)
+ opts.lighterPopupMenuBgnd=1; // shade so that we dont have 3d-ish borders...
+ opts.menuBgndAppearance = APPEARANCE_FLAT;
+- }
+-
+- if (opts.useQtFileDialogApps.contains(appName)) {
+- qt_filedialog_existing_directory_hook = 0L;
+- qt_filedialog_open_filename_hook = 0L;
+- qt_filedialog_open_filenames_hook = 0L;
+- qt_filedialog_save_filename_hook = 0L;
+ }
+
+ QCommonStyle::polish(app);
+
Property changes on: x11-themes/qtcurve-qt5/files/patch-qt5__style__qtcurve_api.cpp
___________________________________________________________________
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: x11-themes/qtcurve-qt5/pkg-descr
===================================================================
--- x11-themes/qtcurve-qt5/pkg-descr (revision 0)
+++ x11-themes/qtcurve-qt5/pkg-descr (working copy)
@@ -0,0 +1,4 @@
+QtCurve is a set of widget styles for KDE4, Qt4, Qt5, KDE3 and Gtk2 based apps.
+This port provides the Qt5 style plugin.
+
+WWW: http://www.kde-look.org/content/show.php?content=40492
Property changes on: x11-themes/qtcurve-qt5/pkg-descr
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Index: x11-themes/Makefile
===================================================================
--- x11-themes/Makefile (revision 374545)
+++ x11-themes/Makefile (working copy)
@@ -153,6 +153,8 @@
SUBDIR += qtcurve-gtk2
SUBDIR += qtcurve-kde4
SUBDIR += qtcurve-qt4
+ SUBDIR += qtcurve-qt5
+ SUBDIR += qtcurve-utils
SUBDIR += rezlooks
SUBDIR += sawfish-themes
SUBDIR += slim-themes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment