From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: [PATCH] gnu: icecat: Enable gtk3 support. Date: Wed, 26 Oct 2016 20:40:44 +0200 Message-ID: <20161026184044.3351-1-david@craven.ch> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52076) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzT8O-0002CS-0O for guix-devel@gnu.org; Wed, 26 Oct 2016 14:41:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzT8K-0002Xn-Pq for guix-devel@gnu.org; Wed, 26 Oct 2016 14:41:07 -0400 Received: from so254-10.mailgun.net ([198.61.254.10]:49072) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bzT8K-0002Xh-LW for guix-devel@gnu.org; Wed, 26 Oct 2016 14:41:04 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/gnuzilla.scm (icecat)[inputs]: Add gtk+. [arguments]: Use --enable-default-toolkit=cairo-gtk3. Force light gtk theme in desktop file to avoid unreadable input fields. --- gnu/packages/gnuzilla.scm | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm index 4927a51..059ae23 100644 --- a/gnu/packages/gnuzilla.scm +++ b/gnu/packages/gnuzilla.scm @@ -410,7 +410,8 @@ standards.") ("glib" ,glib) ("gstreamer" ,gstreamer) ("gst-plugins-base" ,gst-plugins-base) - ("gtk+" ,gtk+-2) + ("gtk+" ,gtk+) + ("gtk+-2" ,gtk+-2) ("pango" ,pango) ("freetype" ,freetype) ("hunspell" ,hunspell) @@ -468,7 +469,7 @@ standards.") ;; practice somehow. See . #:validate-runpath? #f - #:configure-flags '("--enable-default-toolkit=cairo-gtk2" + #:configure-flags '("--enable-default-toolkit=cairo-gtk3" "--enable-pango" "--enable-gio" "--enable-svg" @@ -628,7 +629,11 @@ standards.") (("@MOZ_DISPLAY_NAME@") "GNU IceCat") (("^Exec=@MOZ_APP_NAME@") - (string-append "Exec=" out "/bin/icecat")) + ;; Force gnome light theme to avoid unreadable input fields. + ;; https://wiki.archlinux.org/index.php/Firefox + ;; #Unreadable_input_fields_with_dark_GTK.2B_themes + (string-append "Exec=env GTK_THEME=Adwaita:light " out + "/bin/icecat")) (("@MOZ_APP_NAME@") "icecat")) (install-file "debian/icecat.desktop" applications) -- 2.9.0