blob: fd48594f6a309e8205a613085fa525c5300dd25c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
From 15f99289cfa0d845cb8381b7151c938ca8531698 Mon Sep 17 00:00:00 2001
From: Gilles Dartiguelongue <eva@gentoo.org>
Date: Mon, 3 Oct 2016 00:38:57 +0200
Subject: [PATCH] Control build of gtk+2 adwaita theme engine from configure
Rather than whole gtk+-2 theme.
This only makes sense in Gentoo as the theme engine has been split to
a separate package to allow gtk+2 free systems.
---
themes/Adwaita/Makefile.am | 6 +-----
themes/Adwaita/gtk-2.0/Makefile.am | 2 ++
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/themes/Adwaita/Makefile.am b/themes/Adwaita/Makefile.am
index 8583535..617b9a6 100644
--- a/themes/Adwaita/Makefile.am
+++ b/themes/Adwaita/Makefile.am
@@ -1,8 +1,4 @@
-SUBDIRS = gtk-3.0
-
-if GTK2_ENGINE
-SUBDIRS += gtk-2.0
-endif
+SUBDIRS = gtk-2.0 gtk-3.0
THEME_NAME=Adwaita
THEME_IN_FILES=index.theme.in
diff --git a/themes/Adwaita/gtk-2.0/Makefile.am b/themes/Adwaita/gtk-2.0/Makefile.am
index b78f7dc..1c73e67 100644
--- a/themes/Adwaita/gtk-2.0/Makefile.am
+++ b/themes/Adwaita/gtk-2.0/Makefile.am
@@ -1,3 +1,4 @@
+if GTK2_ENGINE
enginedir = $(libdir)/gtk-2.0/$(GTK2_VERSION)/engines
engine_LTLIBRARIES = libadwaita.la
@@ -5,6 +6,7 @@ libadwaita_la_CFLAGS = $(GTK2_ENGINE_CFLAGS)
libadwaita_la_SOURCES = adwaita_engine.c
libadwaita_la_LDFLAGS = -module -avoid-version -no-undefined
libadwaita_la_LIBADD = $(GTK2_ENGINE_LIBS)
+endif
themedir = $(datadir)/themes/Adwaita/gtk-2.0
theme_DATA = gtkrc main.rc apps.rc
--
2.10.0
|