~ubuntu-branches/ubuntu/wily/epiphany-browser/wily

« back to all changes in this revision

Viewing changes to data/icons/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Gustavo Noronha Silva, Josselin Mouette, Gustavo Noronha Silva
  • Date: 2011-03-31 23:37:12 UTC
  • mfrom: (1.1.66 upstream)
  • Revision ID: james.westby@ubuntu.com-20110331233712-e43bgqbhjepgl8tv
Tags: 3.0.0-1
[ Josselin Mouette ]
* Make the -dev package depend on the gir package.

[ Gustavo Noronha Silva ]
* debian/control:
- bump WebKitGTK+ requirement to 1.3.13, following upstream
* debian/patches/16_fix_missing_restore_option.patch,
  debian/patches/17_do_not_include_removed_header.patch:
- removed; included in this upstream version
* debian/patches/04_allow_flash_with_npwrapper.patch:
- imported from upstream's bugzilla to allow flash when used through
  npwrapper; also bump build-dep on webkit to 1.3.13-2 that has a patch
  to support this

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
NULL =
2
2
 
3
 
public_icons_themes = \
4
 
        hicolor \
5
 
        HighContrastLargePrint \
6
 
        HighContrastLargePrintInverse \
7
 
        LowContrastLargePrint \
8
 
        $(NULL)
9
 
 
10
 
public_icons = \
11
 
        hicolor_apps_16x16_gnome-web-browser.png \
12
 
        hicolor_apps_22x22_gnome-web-browser.png \
13
 
        hicolor_apps_24x24_gnome-web-browser.png \
14
 
        hicolor_apps_32x32_gnome-web-browser.png \
15
 
        hicolor_apps_scalable_gnome-web-browser.svg \
16
 
        HighContrastLargePrint_apps_48x48_gnome-web-browser.png \
17
 
        HighContrastLargePrintInverse_apps_48x48_gnome-web-browser.png \
18
 
        LowContrastLargePrint_apps_48x48_gnome-web-browser.png \
19
 
        $(NULL)
20
 
 
21
3
private_icons = \
22
4
        hicolor_actions_16x16_bookmark-view.png \
23
5
        hicolor_actions_16x16_history-view.png \
64
46
        hicolor_actions_32x32_history-view.svg \
65
47
        hicolor_actions_16x16_bookmark-view.xcf \
66
48
        hicolor_actions_22x22_bookmark-view.xcf \
67
 
        hicolor_apps_16x16_gnome-web-browser.svg \
68
 
        hicolor_apps_22x22_gnome-web-browser.svg \
69
 
        hicolor_apps_32x32_gnome-web-browser.svg \
70
49
        hicolor_places_16x16_bookmark-web.svg \
71
50
        hicolor_places_22x22_bookmark-web.svg \
72
51
        hicolor_status_16x16_popup-hidden.xcf \
75
54
        $(NULL)
76
55
 
77
56
EXTRA_DIST = \
78
 
        $(public_icons)         \
79
57
        $(private_icons)        \
80
58
        $(noinst_DATA)          \
81
59
        $(NULL)
82
60
 
83
61
###############################################################################
84
62
 
85
 
gtk_update_icon_cache = gtk-update-icon-cache -f -t
86
 
 
87
 
update-icon-cache:
88
 
        @-if test -z "$(DESTDIR)"; then \
89
 
                echo "Updating Gtk icon cache."; \
90
 
                for theme in $(public_icons_themes); do \
91
 
                        $(gtk_update_icon_cache) $(datadir)/icons/$$theme; \
92
 
                done; \
93
 
        else \
94
 
                echo "*** Icon cache not updated.  After (un)install, run this:"; \
95
 
                for theme in $(public_icons_themes); do \
96
 
                        echo "***   $(gtk_update_icon_cache) $(datadir)/icons/$$theme"; \
97
 
                done; \
98
 
        fi
99
 
 
100
63
install-icons:
101
 
        for icon in $(public_icons); do \
102
 
                THEME=`echo $$icon | cut -d_ -f1`; \
103
 
                CONTEXT=`echo $$icon | cut -d_ -f2`; \
104
 
                SIZE=`echo $$icon | cut -d_ -f3`; \
105
 
                ICONFILE=`echo $$icon | cut -d_ -f4`; \
106
 
                mkdir -p $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \
107
 
                $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
108
 
        done; \
109
64
        for icon in $(private_icons); do \
110
65
                THEME=`echo $$icon | cut -d_ -f1`; \
111
66
                CONTEXT=`echo $$icon | cut -d_ -f2`; \
116
71
        done
117
72
 
118
73
uninstall-icons:
119
 
        -for icon in $(public_icons); do \
120
 
                THEME=`echo $$icon | cut -d_ -f1`; \
121
 
                CONTEXT=`echo $$icon | cut -d_ -f2`; \
122
 
                SIZE=`echo $$icon | cut -d_ -f3`; \
123
 
                ICONFILE=`echo $$icon | cut -d_ -f4`; \
124
 
                rm -f $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
125
 
        done; \
126
74
        for icon in $(private_icons); do \
127
75
                THEME=`echo $$icon | cut -d_ -f1`; \
128
76
                CONTEXT=`echo $$icon | cut -d_ -f2`; \
131
79
                rm -f $(DESTDIR)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
132
80
        done
133
81
 
134
 
install-data-local: install-icons update-icon-cache
 
82
install-data-local: install-icons
135
83
 
136
 
uninstall-local: uninstall-icons update-icon-cache
 
84
uninstall-local: uninstall-icons