From 153810a163d737e0f020372478ac04cc39b5b659 Mon Sep 17 00:00:00 2001 From: Pawel Pekala Date: Sun, 19 Jun 2016 19:10:00 +0000 Subject: [PATCH] - Make fetchable, update pkg-descr and homepage - Add patch to fix color of textviews PR: 210057 Submitted by: maintainer --- x11-themes/gtk-E17-theme/Makefile | 7 +++++-- x11-themes/gtk-E17-theme/files/patch-gtk-2.0_gtkrc | 13 +++++++++++++ .../gtk-E17-theme/files/patch-gtk-3.0_gtk-main.css | 11 +++++++++++ x11-themes/gtk-E17-theme/pkg-descr | 10 +++++----- 4 files changed, 34 insertions(+), 7 deletions(-) create mode 100644 x11-themes/gtk-E17-theme/files/patch-gtk-2.0_gtkrc create mode 100644 x11-themes/gtk-E17-theme/files/patch-gtk-3.0_gtk-main.css diff --git a/x11-themes/gtk-E17-theme/Makefile b/x11-themes/gtk-E17-theme/Makefile index 923523500699..d2c3abe63e32 100644 --- a/x11-themes/gtk-E17-theme/Makefile +++ b/x11-themes/gtk-E17-theme/Makefile @@ -2,15 +2,18 @@ PORTNAME= E17 PORTVERSION= 20151119 +PORTREVISION= 1 CATEGORIES= x11-themes enlightenment -MASTER_SITES= http://gnome-look.org/CONTENT/content-files/ +MASTER_SITES= http://www.ppload.com/api/files/download?id=1462258825&filename=/ PKGNAMEPREFIX= gtk- PKGNAMESUFFIX= -theme -DISTNAME= 163472-${PORTNAME}gtk-${PORTVERSION} +DISTNAME= 163472-${PORTNAME}${PKGNAMEPREFIX}${PORTVERSION} MAINTAINER= matthew@reztek.cz COMMENT= Dark GTK theme for Enlightenment +FETCH_BEFORE_ARGS= -o ${DISTFILES} + USES= tar:xz NO_ARCH= yes NO_BUILD= yes diff --git a/x11-themes/gtk-E17-theme/files/patch-gtk-2.0_gtkrc b/x11-themes/gtk-E17-theme/files/patch-gtk-2.0_gtkrc new file mode 100644 index 000000000000..dc0eb066c919 --- /dev/null +++ b/x11-themes/gtk-E17-theme/files/patch-gtk-2.0_gtkrc @@ -0,0 +1,13 @@ +--- gtk-2.0/gtkrc.orig 2016-06-05 17:56:12 UTC ++++ gtk-2.0/gtkrc +@@ -1030,8 +1030,8 @@ style "misc-panel" + style "view" + { + # It's better not to have too bright text views. +- base[NORMAL] = "#ECECEC" +- text[NORMAL] = "#000000" ++ base[NORMAL] = @bg_color ++ text[NORMAL] = "#FFFFFF" + } + + style "entry" diff --git a/x11-themes/gtk-E17-theme/files/patch-gtk-3.0_gtk-main.css b/x11-themes/gtk-E17-theme/files/patch-gtk-3.0_gtk-main.css new file mode 100644 index 000000000000..ee0d50863a4f --- /dev/null +++ b/x11-themes/gtk-E17-theme/files/patch-gtk-3.0_gtk-main.css @@ -0,0 +1,11 @@ +--- gtk-3.0/gtk-main.css.orig 2016-06-05 18:00:05 UTC ++++ gtk-3.0/gtk-main.css +@@ -21,7 +21,7 @@ + + @define-color theme_main_color #000000; + +-@define-color view_color #ECECEC; ++@define-color view_color @base_color; + + @define-color button_gradient_color_a #5F5F5F; /*shade(@theme_bg_color, 1.75);*/ + @define-color button_gradient_color_b #434343; diff --git a/x11-themes/gtk-E17-theme/pkg-descr b/x11-themes/gtk-E17-theme/pkg-descr index 4dbffbd79832..c251a97f44a0 100644 --- a/x11-themes/gtk-E17-theme/pkg-descr +++ b/x11-themes/gtk-E17-theme/pkg-descr @@ -1,6 +1,6 @@ -E17gtk is a dark Gtk theme with sharp corners, which is designed for use in -Enlightenment and gives the elegant look of Enlightenment to Gtk3, Gtk2 and -Qt widgets. Of course, it can be used with any GTK based environment too, -but it is not tuned to Gnome or any of its apps. +E17gtk is a dark GTK2/GTK3.18 theme with sharp corners, which is designed for +use in Enlightenment and gives the elegant look of Enlightenment to GTK widgets. +Of course, it can be used with any GTK based environment too, but it is not +tuned to Gnome or any of its apps. -WWW: http://gnome-look.org/content/show.php/?content=163472 +WWW: https://www.gnome-look.org/p/1013662/