From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E57F31382C5 for ; Fri, 29 May 2020 13:35:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 175DEE0920; Fri, 29 May 2020 13:35:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D9C4BE0920 for ; Fri, 29 May 2020 13:35:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1493634E1FD for ; Fri, 29 May 2020 13:35:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D67EC238 for ; Fri, 29 May 2020 13:34:59 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1590759275.76e2dd7a60b5b6be7ba51ba1d252db29a194aced.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-themes/numix-gtk-theme/, x11-themes/numix-gtk-theme/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-themes/numix-gtk-theme/files/numix-gtk-theme-2.6.7-replace-ruby-sassc-with-dev-lang-sassc.patch x11-themes/numix-gtk-theme/numix-gtk-theme-2.6.7-r2.ebuild X-VCS-Directories: x11-themes/numix-gtk-theme/ x11-themes/numix-gtk-theme/files/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 76e2dd7a60b5b6be7ba51ba1d252db29a194aced X-VCS-Branch: master Date: Fri, 29 May 2020 13:34:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 04755879-be5d-4bba-a5b8-9a5545b88cc6 X-Archives-Hash: d36871910ce721d82624addf22ef8962 commit: 76e2dd7a60b5b6be7ba51ba1d252db29a194aced Author: Joonas Niilola gentoo org> AuthorDate: Fri May 29 13:31:28 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Fri May 29 13:34:35 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76e2dd7a x11-themes/numix-gtk-theme: replace dev-ruby/sassc with dev-lang/sassc Signed-off-by: Joonas Niilola gentoo.org> ....7-replace-ruby-sassc-with-dev-lang-sassc.patch | 79 ++++++++++++++++++++++ .../numix-gtk-theme-2.6.7-r2.ebuild | 22 ++++++ 2 files changed, 101 insertions(+) diff --git a/x11-themes/numix-gtk-theme/files/numix-gtk-theme-2.6.7-replace-ruby-sassc-with-dev-lang-sassc.patch b/x11-themes/numix-gtk-theme/files/numix-gtk-theme-2.6.7-replace-ruby-sassc-with-dev-lang-sassc.patch new file mode 100644 index 00000000000..85dffd57650 --- /dev/null +++ b/x11-themes/numix-gtk-theme/files/numix-gtk-theme-2.6.7-replace-ruby-sassc-with-dev-lang-sassc.patch @@ -0,0 +1,79 @@ +From 08b43b716a44e91f94e66135266cf2ad729a7821 Mon Sep 17 00:00:00 2001 +From: KTB +Date: Fri, 15 Nov 2019 07:56:27 -0500 +Subject: [PATCH 1/3] Updates Makefile to replace Ruby Sass with SassC + +This commit replaces the use of the Ruby Sass scss command with SassC's sassc command. Due to the more limited functionality of sassc, output directories must be created prior to running the command and only one file may be processed at a time unlike the many-to-many mode functionality of the scss command. +--- + Makefile | 12 ++++++++---- + 1 file changed, 8 insertions(+), 4 deletions(-) + +diff --git a/Makefile b/Makefile +index d2735a91..c580a2a7 100755 +--- a/Makefile ++++ b/Makefile +@@ -1,5 +1,5 @@ +-SASS=scss +-SASSFLAGS=--sourcemap=none ++SASS=sassc ++SASSFLAGS=-M -t expanded + GLIB_COMPILE_RESOURCES=glib-compile-resources + RES_DIR=src/gtk-3.0 + SCSS_DIR=$(RES_DIR)/scss +@@ -14,8 +14,12 @@ UTILS=scripts/utils.sh + all: clean gresource + + css: +- $(SASS) --update $(SASSFLAGS) $(SCSS_DIR):$(DIST_DIR) +- $(SASS) --update $(SASSFLAGS) $(SCSS_DIR320):$(DIST_DIR320) ++ mkdir $(DIST_DIR) ++ $(SASS) $(SASSFLAGS) $(SCSS_DIR)/gtk.scss $(DIST_DIR)/gtk.css ++ $(SASS) $(SASSFLAGS) $(SCSS_DIR)/gtk-dark.scss $(DIST_DIR)/gtk-dark.css ++ mkdir $(DIST_DIR320) ++ $(SASS) $(SASSFLAGS) $(SCSS_DIR320)/gtk.scss $(DIST_DIR320)/gtk.css ++ $(SASS) $(SASSFLAGS) $(SCSS_DIR320)/gtk-dark.scss $(DIST_DIR320)/gtk-dark.css + + gresource: css + $(GLIB_COMPILE_RESOURCES) --sourcedir=$(RES_DIR) $(RES_DIR)/gtk.gresource.xml + +From 6ba019fae4b8c90ed721dfe2dad279752f454968 Mon Sep 17 00:00:00 2001 +From: KTB +Date: Fri, 15 Nov 2019 08:19:32 -0500 +Subject: [PATCH 2/3] Makes import directive relative in _gnome-terminal.scss + +This commit changes the "widgets/button" import directive to be relative in the gtk-3.20 _gnome-terminal.scss file which is necessary when using SassC. +--- + src/gtk-3.20/scss/apps/_gnome-terminal.scss | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/gtk-3.20/scss/apps/_gnome-terminal.scss b/src/gtk-3.20/scss/apps/_gnome-terminal.scss +index fd3af1c5..704faf5d 100644 +--- a/src/gtk-3.20/scss/apps/_gnome-terminal.scss ++++ b/src/gtk-3.20/scss/apps/_gnome-terminal.scss +@@ -1,4 +1,4 @@ +-@import "widgets/button"; ++@import "../widgets/button"; + + /********************** + ! Genome Terminal * + +From 0d3fd3f2ce5e5e7079b8a87ee3ddbf5d8923c67b Mon Sep 17 00:00:00 2001 +From: KTB +Date: Thu, 12 Dec 2019 23:46:09 -0500 +Subject: [PATCH 3/3] Removes import directive in _gnome-terminal.scss + +This commit removes the "widgets/button" import directive in the gtk-3.20 _gnome-terminal.scss file which is unnecessary. +--- + src/gtk-3.20/scss/apps/_gnome-terminal.scss | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/src/gtk-3.20/scss/apps/_gnome-terminal.scss b/src/gtk-3.20/scss/apps/_gnome-terminal.scss +index 704faf5d..6e9ee4e4 100644 +--- a/src/gtk-3.20/scss/apps/_gnome-terminal.scss ++++ b/src/gtk-3.20/scss/apps/_gnome-terminal.scss +@@ -1,5 +1,3 @@ +-@import "../widgets/button"; +- + /********************** + ! Genome Terminal * + ***********************/ diff --git a/x11-themes/numix-gtk-theme/numix-gtk-theme-2.6.7-r2.ebuild b/x11-themes/numix-gtk-theme/numix-gtk-theme-2.6.7-r2.ebuild new file mode 100644 index 00000000000..23c7381147d --- /dev/null +++ b/x11-themes/numix-gtk-theme/numix-gtk-theme-2.6.7-r2.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A modern flat theme with a combination of light and dark elements" +HOMEPAGE="https://github.com/numixproject/numix-gtk-theme" +SRC_URI="https://github.com/numixproject/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-libs/libxml2:2 + x11-libs/gtk+:3 + x11-themes/gtk-engines-murrine" +DEPEND="${RDEPEND} + dev-libs/glib:2 + x11-libs/gdk-pixbuf:2" +BDEPEND="dev-lang/sassc" + +PATCHES=( "${FILESDIR}/${P}-replace-ruby-sassc-with-dev-lang-sassc.patch" )