[126006] trunk/dports/kde

mk at macports.org mk at macports.org
Wed Oct 1 14:17:50 PDT 2014


Revision: 126006
          https://trac.macports.org/changeset/126006
Author:   mk at macports.org
Date:     2014-10-01 14:17:50 -0700 (Wed, 01 Oct 2014)
Log Message:
-----------
qtcurve: new style for KDE

Added Paths:
-----------
    trunk/dports/kde/qtcurve/
    trunk/dports/kde/qtcurve/Portfile
    trunk/dports/kde/qtcurve/files/
    trunk/dports/kde/qtcurve/files/QtCurveOSX.colors
    trunk/dports/kde/qtcurve/files/qtc_qtcurve-osx.themerc
    trunk/dports/kde/qtcurve/files/qtc_qtcurve-rjvb.themerc

Added: trunk/dports/kde/qtcurve/Portfile
===================================================================
--- trunk/dports/kde/qtcurve/Portfile	                        (rev 0)
+++ trunk/dports/kde/qtcurve/Portfile	2014-10-01 21:17:50 UTC (rev 126006)
@@ -0,0 +1,85 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
+# $Id$
+# kde/libkgapi/Portfile
+
+PortSystem          1.0
+PortGroup           kde4 1.1
+
+fetch.type          git
+git.url             git://anongit.kde.org/qtcurve.git
+git.branch          660f859556471f13834ef4fb095816639aa85014
+
+name                QtCurve
+version             1.8.18
+
+categories          kde kde4
+
+description         A set of widget styles for Qt4/KDE4 based apps.
+
+platforms           darwin
+license             LGPL-2+
+maintainers         gmail.com:rjvbertin
+
+homepage            http://kde-look.org/content/show.php?content=40492
+master_sites        http://quickgit.kde.org/?p=qtcurve.git \
+                    http://craigd.wikispaces.com/file/view/
+#distname            ${name}-KDE4-${version}
+
+livecheck.type      regex
+livecheck.url       http://quickgit.kde.org/?p=qtcurve.git
+livecheck.regex     (\\d+(\\.\\d+)+)
+
+depends_lib-append  port:gtk2 \
+                    port:kdelibs4 \
+                    port:qt4-mac
+
+configure.args-append   -DQTC_QT4_STYLE_SUPPORT:BOOL=OFF -DENABLE_QT5:BOOL=OFF \
+                        -DQTC_QT4_ENABLE_KWIN:BOOL=OFF
+
+variant x11 description {build x11 support} {}
+if { [variant_isset x11] } {
+	depends_lib-append port:xorg-libX11
+	configure.args-append -DQTC_ENABLE_X11:BOOL=ON
+} else {
+	configure.args-append -DQTC_ENABLE_X11:BOOL=OFF
+}
+
+variant gtk2 description {build the gtk2 plugin} {}
+if { [variant_isset gtk2] } {
+	depends_lib-append port:gtk2
+	configure.args-append -DENABLE_GTK2:BOOL=ON
+} else {
+	configure.args-append -DENABLE_GTK2:BOOL=OFF
+}
+
+variant qt5 description {build for qt5 too} {}
+if { [variant_isset qt5] } {
+	depends_lib-append port:qt5-mac
+	# default for ENABLE_QT5=on:
+	configure.args-delete -DENABLE_QT5:BOOL=OFF
+}
+
+variant devel description {Prevent stripping of binaries} {}
+if { [variant_isset devel] } {
+	configure.args-delete -DCMAKE_BUILD_TYPE=Release
+	configure.args-append -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -DCMAKE_STRIP:FILEPATH=/bin/echo
+}
+
+variant qtonly description {Build only Qt style support, for installations without KDE} {}
+if { [variant_isset qtonly] } {
+	depends_lib-delete    port:kdelibs4
+#	configure.args-append -DQTC_QT_ONLY:BOOL=ON
+	configure.args-append -DQTC_QT4_ENABLE_KDE:BOOL=OFF
+} else {
+    post-destroot {
+        xinstall -m 644 ${filespath}/qtc_qtcurve-rjvb.themerc ${destroot}/${prefix}/share/apps/kstyle/themes/
+        xinstall -m 644 ${filespath}/qtc_qtcurve-osx.themerc ${destroot}/${prefix}/share/apps/kstyle/themes/
+        xinstall -m 644 ${filespath}/QtCurveOSX.colors ${destroot}/${prefix}/share/apps/color-schemes/
+        xinstall -d -m 755 ${destroot}${prefix}/share/qt4/plugins
+        system "ln -s ${prefix}/lib/kde4/plugins/styles ${destroot}${prefix}/share/qt4/plugins"
+    }
+}
+
+notes-append "To access QtCurve and other KDE styles from pure Qt4 applications, execute
+ ln -s ${prefix}/lib/kde4/plugins/styles ${prefix}/share/qt4/plugins
+ with the appropriate privileges"


Property changes on: trunk/dports/kde/qtcurve/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/kde/qtcurve/files/QtCurveOSX.colors
===================================================================
--- trunk/dports/kde/qtcurve/files/QtCurveOSX.colors	                        (rev 0)
+++ trunk/dports/kde/qtcurve/files/QtCurveOSX.colors	2014-10-01 21:17:50 UTC (rev 126006)
@@ -0,0 +1,105 @@
+[ColorEffects:Disabled]
+Color=56,56,56
+ColorAmount=0
+ColorEffect=0
+ContrastAmount=0.65
+ContrastEffect=1
+IntensityAmount=0.1
+IntensityEffect=2
+
+[ColorEffects:Inactive]
+ChangeSelectionColor=true
+Color=112,111,110
+ColorAmount=0.025
+ColorEffect=2
+ContrastAmount=0.1
+ContrastEffect=2
+Enable=true
+IntensityAmount=0
+IntensityEffect=0
+
+[Colors:Button]
+BackgroundAlternate=224,223,222
+BackgroundNormal=248,248,248
+DecorationFocus=0,140,0
+DecorationHover=99,128,0
+ForegroundActive=179,0,0
+ForegroundInactive=136,135,134
+ForegroundLink=0,87,174
+ForegroundNegative=191,3,3
+ForegroundNeutral=176,128,0
+ForegroundNormal=20,19,18
+ForegroundPositive=0,110,40
+ForegroundVisited=69,40,134
+
+[Colors:Selection]
+BackgroundAlternate=62,138,204
+BackgroundNormal=200,224,139
+DecorationFocus=1,160,41
+DecorationHover=99,128,0
+ForegroundActive=179,0,0
+ForegroundInactive=165,193,228
+ForegroundLink=0,49,110
+ForegroundNegative=156,14,14
+ForegroundNeutral=163,159,99
+ForegroundNormal=89,0,0
+ForegroundPositive=60,121,60
+ForegroundVisited=69,40,134
+
+[Colors:Tooltip]
+BackgroundAlternate=196,224,255
+BackgroundNormal=255,255,191
+DecorationFocus=0,140,0
+DecorationHover=99,128,0
+ForegroundActive=179,0,0
+ForegroundInactive=96,112,128
+ForegroundLink=0,87,174
+ForegroundNegative=191,3,3
+ForegroundNeutral=176,128,0
+ForegroundNormal=20,19,18
+ForegroundPositive=0,110,40
+ForegroundVisited=69,40,134
+
+[Colors:View]
+BackgroundAlternate=196,196,196
+BackgroundNormal=255,255,255
+DecorationFocus=0,140,0
+DecorationHover=99,128,0
+ForegroundActive=179,0,0
+ForegroundInactive=136,135,134
+ForegroundLink=0,87,174
+ForegroundNegative=211,3,3
+ForegroundNeutral=163,159,99
+ForegroundNormal=20,19,18
+ForegroundPositive=0,110,40
+ForegroundVisited=69,40,134
+
+[Colors:Window]
+BackgroundAlternate=218,217,216
+BackgroundNormal=248,248,248
+DecorationFocus=0,140,0
+DecorationHover=99,128,0
+ForegroundActive=179,0,0
+ForegroundInactive=136,135,134
+ForegroundLink=0,87,174
+ForegroundNegative=191,3,3
+ForegroundNeutral=176,128,0
+ForegroundNormal=20,19,18
+ForegroundPositive=0,110,40
+ForegroundVisited=69,40,134
+
+[General]
+ColorScheme=QtCurve-OSX
+Name=QtCurve-OSX
+shadeSortColumn=true
+
+[KDE]
+contrast=5
+
+[WM]
+activeBackground=193,193,193
+activeBlend=2,2,2
+activeForeground=1,1,1
+inactiveBackground=224,223,222
+inactiveBlend=141,145,145
+inactiveForeground=141,145,145

Added: trunk/dports/kde/qtcurve/files/qtc_qtcurve-osx.themerc
===================================================================
--- trunk/dports/kde/qtcurve/files/qtc_qtcurve-osx.themerc	                        (rev 0)
+++ trunk/dports/kde/qtcurve/files/qtc_qtcurve-osx.themerc	2014-10-01 21:17:50 UTC (rev 126006)
@@ -0,0 +1,164 @@
+[KDE]
+WidgetStyle=qtc_qtcurve-osx
+
+[Misc]
+Comment=QtCurve integration theme based on Agua and the OS X graphite appearance
+Name=QtCurve-OSX
+
+[Settings]
+activeTabAppearance=dullglass
+animatedProgress=false
+appearance=dullglass
+bgndAppearance=flat
+bgndGrad=horiz
+bgndImage=none
+bgndOpacity=100
+boldProgress=false
+borderInactiveTab=false
+borderMenuitems=false
+borderProgress=true
+borderSbarGroove=true
+borderSelection=false
+borderTab=true
+buttonEffect=shadow
+centerTabText=false
+colorMenubarMouseOver=true
+colorSelTab=0
+colorSliderMouseOver=false
+coloredMouseOver=glow
+coloredTbarMo=false
+comboBtn=#D2D6E1
+comboSplitter=false
+crButton=true
+crColor=#D2D6E1
+crHighlight=3
+crSize=13
+customAlphas=0
+customMenuNormTextColor=#000000
+customMenuSelTextColor=#000000
+customMenuTextColor=false
+customShades=0
+customgradient1=light,0,1.2,0.45,1,1,1
+customgradient2=3d,0,0.75,0.3,0.9,1,1.1
+customgradient3=none,0,1.1,0.99,0.94,1,0.75
+darkerBorders=true
+defBtnIndicator=darken
+dlgOpacity=100
+doubleGtkComboArrow=false
+drawStatusBarFrames=false
+dwtAppearance=darkinverted
+dwtSettings=126
+embolden=false
+etchEntry=false
+expanderHighlight=3
+fadeLines=true
+fillProgress=false
+fillSlider=true
+flatSbarButtons=true
+focus=glow
+forceAlternateLvCols=true
+gbFactor=-5
+gbLabel=9
+glowProgress=end
+grooveAppearance=inverted
+groupBox=shaded
+gtkButtonOrder=false
+gtkComboMenus=false
+gtkScrollViews=false
+handles=1dot
+hideShortcutUnderline=false
+highlightFactor=8
+highlightScrollViews=false
+highlightTab=false
+inactiveTitlebarAppearance=customgradient3
+invertBotTab=true
+lighterPopupMenuBgnd=2
+lvAppearance=agua
+lvButton=false
+lvLines=true
+mapKdeIcons=true
+menuBgndAppearance=flat
+menuBgndGrad=horiz
+menuBgndImage=none
+menuBgndOpacity=100
+menuDelay=225
+menuIcons=false
+menuStripe=none
+menuStripeAppearance=darkinverted
+menubarAppearance=customgradient3
+menubarApps=VirtualBox,smplayer,amarok,arora,kcalc,kaffeine
+menubarHiding=0
+menubarMouseOver=true
+menuitemAppearance=soft
+noBgndGradientApps=
+noBgndImageApps=
+noBgndOpacityApps=dragon,smplayer,vmplayer,vmware,inkscape,totem,kaffeine,kscreenlocker,sonata
+noMenuBgndOpacityApps=vmplayer,vmware,inkscape,gtk,totem,sonata
+noMenuStripeApps=soffice.bin,gtk
+passwordChar=9679
+popupBorder=true
+progressAppearance=agua
+progressColor=#D0D3DE
+progressGrooveAppearance=inverted
+progressGrooveColor=background
+reorderGtkButtons=true
+round=slight
+roundAllTabs=true
+roundMbTopOnly=true
+sbarBgndAppearance=bevelled
+scrollbarType=kde
+selectionAppearance=flat
+shadeCheckRadio=none
+shadeMenubarOnlyWhenActive=false
+shadeMenubars=wborder
+shadePopupMenu=false
+shadeSliders=#D2D6E1
+shading=hsl
+sliderAppearance=dullglass
+sliderFill=true
+sliderStyle=triangular
+sliderThumbs=none
+sliderWidth=11
+smallRadio=true
+sortedLv=#D2D6E1
+splitterHighlight=3
+splitters=dots
+square=1039
+statusbarApps=kde
+statusbarHiding=2
+stdBtnSizes=true
+stdSidebarButtons=true
+stripedProgress=fade
+stripedSbar=true
+sunkenAppearance=agua
+tabAppearance=soft
+tabBgnd=0
+tabMouseOver=glow
+tbarBtnAppearance=none
+tbarBtnEffect=none
+tbarBtns=standard
+thin=4
+thinSbarGroove=false
+titlebarAlignment=center-full
+titlebarAppearance=customgradient3
+titlebarButtonAppearance=agua
+titlebarButtonColors=#D2D6E1,#D2D6E1,#D2D6E1,#D2D6E1,#D2D6E1,#D6D5D1,#D6D5D1,#D6D5D1,#D6D5D1
+titlebarButtons=3092
+titlebarEffect=none
+titlebarIcon=menu
+toolbarAppearance=flat
+toolbarBorders=none
+toolbarSeparators=sunken
+toolbarTabs=false
+tooltipAppearance=gradient
+unifyCombo=false
+unifySpin=true
+unifySpinBtns=false
+useHighlightForMenu=false
+useQtFileDialogApps=googleearth-bin
+vArrows=true
+version=1.8.14
+windowBorder=32
+windowDrag=3
+xCheck=false
+xbar=true

Added: trunk/dports/kde/qtcurve/files/qtc_qtcurve-rjvb.themerc
===================================================================
--- trunk/dports/kde/qtcurve/files/qtc_qtcurve-rjvb.themerc	                        (rev 0)
+++ trunk/dports/kde/qtcurve/files/qtc_qtcurve-rjvb.themerc	2014-10-01 21:17:50 UTC (rev 126006)
@@ -0,0 +1,167 @@
+[KDE]
+WidgetStyle=qtc_qtcurve-rjvb
+
+[Misc]
+Comment=QtCurve theme based on Silk
+Name=QtCurve-RJVB
+
+[Settings]
+activeTabAppearance=dullglass
+animatedProgress=false
+appearance=customgradient5
+bgndAppearance=customgradient4
+bgndGrad=horiz
+bgndImage=none
+bgndOpacity=100
+boldProgress=false
+borderInactiveTab=true
+borderMenuitems=false
+borderProgress=true
+borderSbarGroove=true
+borderSelection=false
+borderTab=true
+buttonEffect=shadow
+centerTabText=false
+colorMenubarMouseOver=true
+colorSelTab=0
+colorSliderMouseOver=true
+coloredMouseOver=glow
+coloredTbarMo=false
+comboBtn=none
+comboSplitter=false
+crButton=true
+crColor=darken
+crHighlight=0
+crSize=13
+customAlphas=0.4,0.1
+customMenuNormTextColor=#000000
+customMenuSelTextColor=#000000
+customMenuTextColor=false
+customShades=1.16,1.07,0.9,0.78,0.84,0.75
+customgradient1=3d,0,1.2,0.5,1,1,1
+customgradient2=3d,0,0.9,0.5,1,1,1
+customgradient3=none,0,1.12,1,1.15
+customgradient4=shine,0,1.05,1,0.92
+customgradient5=light,0,1.04,1,0.92
+customgradient6=light,0,1.3,1,0.925
+customgradient7=none,0,1.16,0.5,1.01,1,1.14
+darkerBorders=false
+defBtnIndicator=darken
+dlgOpacity=100
+doubleGtkComboArrow=false
+drawStatusBarFrames=false
+dwtAppearance=bevelled
+dwtSettings=29
+embolden=false
+etchEntry=false
+expanderHighlight=3
+fadeLines=true
+fillProgress=true
+fillSlider=true
+flatSbarButtons=true
+focus=glow
+forceAlternateLvCols=true
+gbFactor=-3
+gbLabel=5
+glowProgress=end
+grooveAppearance=inverted
+groupBox=shaded
+gtkButtonOrder=false
+gtkComboMenus=false
+gtkScrollViews=false
+handles=sunken
+hideShortcutUnderline=false
+highlightFactor=3
+highlightScrollViews=false
+highlightTab=false
+inactiveTitlebarAppearance=flat
+invertBotTab=true
+lighterPopupMenuBgnd=0
+lvAppearance=bevelled
+lvButton=false
+lvLines=true
+mapKdeIcons=true
+menuBgndAppearance=flat
+menuBgndGrad=horiz
+menuBgndImage=none
+menuBgndOpacity=100
+menuDelay=225
+menuIcons=false
+menuStripe=none
+menuStripeAppearance=darkinverted
+menubarAppearance=flat
+menubarApps=VirtualBox,smplayer,amarok,arora,kcalc,kaffeine
+menubarHiding=0
+menubarMouseOver=false
+menuitemAppearance=fade
+noBgndGradientApps=
+noBgndImageApps=
+noBgndOpacityApps=dragon,smplayer,vmplayer,vmware,inkscape,totem,kaffeine,kscreenlocker,sonata
+noMenuBgndOpacityApps=vmplayer,vmware,inkscape,gtk,totem,sonata
+noMenuStripeApps=soffice.bin,gtk
+passwordChar=9679
+popupBorder=true
+progressAppearance=dullglass
+progressColor=origselected
+progressGrooveAppearance=inverted
+progressGrooveColor=dark
+reorderGtkButtons=false
+round=slight
+roundAllTabs=true
+roundMbTopOnly=false
+sbarBgndAppearance=raised
+scrollbarType=kde
+selectionAppearance=harsh
+shadeCheckRadio=none
+shadeMenubarOnlyWhenActive=false
+shadeMenubars=wborder
+shadePopupMenu=false
+shadeSliders=none
+shading=hsl
+sliderAppearance=soft
+sliderFill=true
+sliderStyle=triangular
+sliderThumbs=none
+sliderWidth=9
+smallRadio=true
+sortedLv=darken
+splitterHighlight=0
+splitters=sunken
+square=0
+statusbarApps=kde
+statusbarHiding=0
+stdBtnSizes=false
+stdSidebarButtons=false
+stripedProgress=none
+stripedSbar=false
+sunkenAppearance=customgradient3
+tabAppearance=customgradient7
+tabBgnd=0
+tabMouseOver=glow
+tbarBtnAppearance=none
+tbarBtnEffect=none
+tbarBtns=standard
+thin=7
+thinSbarGroove=false
+titlebarAlignment=left
+titlebarAppearance=gradient
+titlebarButtonAppearance=gradient
+titlebarButtons=18630
+titlebarEffect=none
+titlebarIcon=title
+toolbarAppearance=flat
+toolbarBorders=none
+toolbarSeparators=sunken
+toolbarTabs=false
+tooltipAppearance=gradient
+unifyCombo=true
+unifySpin=true
+unifySpinBtns=false
+useHighlightForMenu=false
+useQtFileDialogApps=googleearth-bin
+vArrows=true
+version=1.8.14
+windowBorder=32
+windowDrag=3
+xCheck=false
+xbar=false
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141001/5a81d4c5/attachment-0001.html>


More information about the macports-changes mailing list