wok-next rev 16829

minitube: show UI icons.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jul 12 13:16:00 2014 +0300 (2014-07-12)
parents 6f2a68c41522
children f069704d8270
files minitube/receipt minitube/stuff/README minitube/stuff/audio-volume-high.png minitube/stuff/audio-volume-muted.png minitube/stuff/bookmark-new.png minitube/stuff/bookmark-remove.png minitube/stuff/document-save.png minitube/stuff/go-next.png minitube/stuff/go-previous.png minitube/stuff/go-top.png minitube/stuff/icons.diff minitube/stuff/media-playback-pause.png minitube/stuff/media-playback-start.png minitube/stuff/media-playback-stop.png minitube/stuff/media-skip-backward.png minitube/stuff/media-skip-forward.png minitube/stuff/system-search.png minitube/stuff/video-display.png minitube/stuff/view-fullscreen.png minitube/stuff/view-list-symbolic.png minitube/stuff/view-refresh.png minitube/stuff/view-restore.png minitube/stuff/window-close.png
line diff
     1.1 --- a/minitube/receipt	Sat Jul 12 13:12:25 2014 +0000
     1.2 +++ b/minitube/receipt	Sat Jul 12 13:16:00 2014 +0300
     1.3 @@ -18,6 +18,10 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 +	# put default icons to resources (instead of to hicolor icon theme)
     1.8 +	cp -a $stuff/*.png $src/images
     1.9 +	patch -p0 < $stuff/icons.diff
    1.10 +
    1.11  	mkdir build; cd build
    1.12  	qmake ../minitube.pro &&
    1.13  	make && make INSTALL_ROOT=$install install
    1.14 @@ -28,6 +32,7 @@
    1.15  {
    1.16  	cp -a $install/* $fs
    1.17  
    1.18 +	# remove big icons
    1.19  	for size in 64 128 256 512; do
    1.20  		rm -rf $fs/usr/share/icons/hicolor/${size}x$size
    1.21  	done
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/minitube/stuff/README	Sat Jul 12 13:16:00 2014 +0300
     2.3 @@ -0,0 +1,7 @@
     2.4 +I can't cope with icon theming in pure Qt environment
     2.5 +(see $src/src/iconloader/qticonloader.cpp).
     2.6 +So I just added all default icons to the application's resources.
     2.7 +All icons from Faenza icon theme.
     2.8 +
     2.9 +Faenza is designed and developed by Matthieu James <matthieu.james@gmail.com>.
    2.10 +Faenza icons are all licensed under the GPL.
     3.1 Binary file minitube/stuff/audio-volume-high.png has changed
     4.1 Binary file minitube/stuff/audio-volume-muted.png has changed
     5.1 Binary file minitube/stuff/bookmark-new.png has changed
     6.1 Binary file minitube/stuff/bookmark-remove.png has changed
     7.1 Binary file minitube/stuff/document-save.png has changed
     8.1 Binary file minitube/stuff/go-next.png has changed
     9.1 Binary file minitube/stuff/go-previous.png has changed
    10.1 Binary file minitube/stuff/go-top.png has changed
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/minitube/stuff/icons.diff	Sat Jul 12 13:16:00 2014 +0300
    11.3 @@ -0,0 +1,28 @@
    11.4 +--- resources.qrc
    11.5 ++++ resources.qrc
    11.6 +@@ -63,5 +63,25 @@
    11.7 +         <file>images/badge.png</file>
    11.8 +         <file>images/badge3.png</file>
    11.9 +         <file>images/badge4.png</file>
   11.10 ++        <file>images/audio-volume-high.png</file>
   11.11 ++        <file>images/audio-volume-muted.png</file>
   11.12 ++        <file>images/bookmark-new.png</file>
   11.13 ++        <file>images/bookmark-remove.png</file>
   11.14 ++        <file>images/document-save.png</file>
   11.15 ++        <file>images/go-next.png</file>
   11.16 ++        <file>images/go-previous.png</file>
   11.17 ++        <file>images/go-top.png</file>
   11.18 ++        <file>images/media-playback-pause.png</file>
   11.19 ++        <file>images/media-playback-start.png</file>
   11.20 ++        <file>images/media-playback-stop.png</file>
   11.21 ++        <file>images/media-skip-backward.png</file>
   11.22 ++        <file>images/media-skip-forward.png</file>
   11.23 ++        <file>images/system-search.png</file>
   11.24 ++        <file>images/video-display.png</file>
   11.25 ++        <file>images/view-fullscreen.png</file>
   11.26 ++        <file>images/view-list-symbolic.png</file>
   11.27 ++        <file>images/view-refresh.png</file>
   11.28 ++        <file>images/view-restore.png</file>
   11.29 ++        <file>images/window-close.png</file>
   11.30 +     </qresource>
   11.31 + </RCC>
    12.1 Binary file minitube/stuff/media-playback-pause.png has changed
    13.1 Binary file minitube/stuff/media-playback-start.png has changed
    14.1 Binary file minitube/stuff/media-playback-stop.png has changed
    15.1 Binary file minitube/stuff/media-skip-backward.png has changed
    16.1 Binary file minitube/stuff/media-skip-forward.png has changed
    17.1 Binary file minitube/stuff/system-search.png has changed
    18.1 Binary file minitube/stuff/video-display.png has changed
    19.1 Binary file minitube/stuff/view-fullscreen.png has changed
    20.1 Binary file minitube/stuff/view-list-symbolic.png has changed
    21.1 Binary file minitube/stuff/view-refresh.png has changed
    22.1 Binary file minitube/stuff/view-restore.png has changed
    23.1 Binary file minitube/stuff/window-close.png has changed