Commit 488a7f83 authored by Jeremy Bicha's avatar Jeremy Bicha

Use sed to set Adwaita as default icon theme on Ubuntu

instead of using a vendor-specific patch series

Closes: #915917

Gbp-Dch: Full
parent 1687e377
From 693123ad0a27631a4907a8e54c90cb0716377ff9 Mon Sep 17 00:00:00 2001
From: Jeremy Bicha <jbicha@ubuntu.com>
Date: Thu, 16 Jun 2016 19:46:25 -0400
Subject: [PATCH] Set Adwaita as default icon theme for MATE's theme picker
(#488)
Choosing a default icon theme is required for Numix to show up in
MATE's theme picker (mate-appearance-properties)
But Ubuntu Developers don't want to install numix-icon-theme by default.
For instance, Xubuntu wants to include numix-gtk-theme by default, but
not be forced to install the theme.
---
src/index.theme | 1 +
1 file changed, 1 insertion(+)
diff --git a/index.theme b/index.theme
index c757888..04e3c00 100755
--- a/src/index.theme
+++ b/src/index.theme
@@ -6,6 +6,6 @@ Encoding=UTF-8
[X-GNOME-Metatheme]
GtkTheme=Numix
-IconTheme=Numix
+IconTheme=Adwaita
MetacityTheme=Numix
ButtonLayout=:minimize,maximize,close
1002-Set-Adwaita-as-default-icon-theme.patch
......@@ -3,6 +3,18 @@
%:
dh $@
# Choosing a default icon theme is required for Numix to show up in
# MATE's theme picker (mate-appearance-properties)
# But Ubuntu Developers don't want to install numix-icon-theme by default.
# For instance, Xubuntu wants to include numix-gtk-theme by default, but
# not be forced to install the theme.
override_dh_auto_install:
dh_auto_install
ifeq ($(shell dpkg-vendor --query vendor),Ubuntu)
sed -i s/IconTheme=Numix/IconTheme=Adwaita/ \
debian/numix-gtk-theme/usr/share/themes/Numix/index.theme
endif
# https://github.com/numixproject/numix-gtk-theme/pull/690
override_dh_fixperms:
dh_fixperms
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment