[arch-commits] Commit in qt4/trunk (4 files)
Andrea Scarpino
andrea at nymeria.archlinux.org
Wed May 8 07:24:34 UTC 2013
Date: Wednesday, May 8, 2013 @ 09:24:34
Author: andrea
Revision: 184763
Install missing icons (FS#34528); Add the qdbusviewer desktop file
Modified:
qt4/trunk/PKGBUILD
qt4/trunk/assistant-qt4.desktop
qt4/trunk/designer-qt4.desktop
qt4/trunk/linguist-qt4.desktop
-----------------------+
PKGBUILD | 32 +++++++++++++++++++++++++-------
assistant-qt4.desktop | 2 +-
designer-qt4.desktop | 2 +-
linguist-qt4.desktop | 2 +-
4 files changed, 28 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-05-08 07:12:02 UTC (rev 184762)
+++ PKGBUILD 2013-05-08 07:24:34 UTC (rev 184763)
@@ -28,13 +28,15 @@
conflicts=('qt')
_pkgfqn="qt-everywhere-opensource-src-${pkgver}"
source=("http://releases.qt-project.org/${pkgname}/source/${_pkgfqn}.tar.gz"
- 'qtconfig-qt4.desktop' 'assistant-qt4.desktop' 'designer-qt4.desktop' 'linguist-qt4.desktop'
+ 'qtconfig-qt4.desktop' 'assistant-qt4.desktop' 'designer-qt4.desktop'
+ 'linguist-qt4.desktop' 'qdbusviewer-qt4.desktop'
'improve-cups-support.patch')
md5sums=('89c5ecba180cae74c66260ac732dc5cb'
'a16638f4781e56e7887ff8212a322ecc'
- '4f0152ba6d645e81218b23ba8beeb42d'
- '283a00ff7f662dca481b70d6daa826e0'
- '027683880235708d4bc270a7ef961183'
+ '8a28b3f52dbeb685d4b69440b520a3e1'
+ '9727c406c240990870c905696a8c5bd1'
+ '0e384663d3dd32abe35f5331c4147569'
+ 'b859c5673e5098c39f72b2252947049e'
'c439c7731c25387352d8453ca7574971')
build() {
@@ -87,10 +89,26 @@
# install missing icons and desktop files
install -D -m644 src/gui/dialogs/images/qtlogo-64.png \
- "${pkgdir}/usr/share/icons/hicolor/64x64/apps/qt4logo.png"
+ "${pkgdir}"/usr/share/icons/hicolor/64x64/apps/qt4logo.png
+ install -D -m644 tools/assistant/tools/assistant/images/assistant.png \
+ "${pkgdir}"/usr/share/icons/hicolor/32x32/apps/assistant-qt4.png
+ install -D -m644 tools/assistant/tools/assistant/images/assistant-128.png \
+ "${pkgdir}"/usr/share/icons/hicolor/128x128/apps/assistant-qt4.png
+ install -D -m644 tools/designer/src/designer/images/designer.png \
+ "${pkgdir}"/usr/share/icons/hicolor/128x128/apps/designer-qt4.png
+ for icon in tools/linguist/linguist/images/icons/linguist-*-32.png ; do
+ size=$(echo $(basename ${icon}) | cut -d- -f2)
+ install -D -m644 ${icon} \
+ "${pkgdir}"/usr/share/icons/hicolor/${size}x${size}/apps/linguist-qt4.png
+ done
+ install -D -m644 tools/qdbus/qdbusviewer/images/qdbusviewer.png \
+ "${pkgdir}"/usr/share/icons/hicolor/32x32/apps/qdbusviewer-qt4.png
+ install -D -m644 tools/qdbus/qdbusviewer/images/qdbusviewer-128.png \
+ "${pkgdir}"/usr/share/icons/hicolor/128x128/apps/qdusviewer-qt4.png
+
install -d "${pkgdir}"/usr/share/applications
- install -m644 "${srcdir}"/{assistant,designer,linguist,qtconfig}-qt4.desktop \
- "${pkgdir}/usr/share/applications/"
+ install -m644 "${srcdir}"/{assistant,designer,linguist,qtconfig,qdbusviewer}-qt4.desktop \
+ "${pkgdir}"/usr/share/applications/
# Useful symlinks for cmake and configure scripts
install -d "${pkgdir}"/usr/bin
Modified: assistant-qt4.desktop
===================================================================
--- assistant-qt4.desktop 2013-05-08 07:12:02 UTC (rev 184762)
+++ assistant-qt4.desktop 2013-05-08 07:24:34 UTC (rev 184763)
@@ -2,7 +2,7 @@
Name=Qt4 Assistant
Comment=Shows Qt4 documentation and examples
Exec=assistant-qt4
-Icon=assistant
+Icon=assistant-qt4
Terminal=false
Encoding=UTF-8
Type=Application
Modified: designer-qt4.desktop
===================================================================
--- designer-qt4.desktop 2013-05-08 07:12:02 UTC (rev 184762)
+++ designer-qt4.desktop 2013-05-08 07:24:34 UTC (rev 184763)
@@ -3,7 +3,7 @@
GenericName=Interface Designer
Comment=Design GUIs for Qt4 applications
Exec=designer-qt4
-Icon=designer
+Icon=designer-qt4
MimeType=application/x-designer;
Terminal=false
Encoding=UTF-8
Modified: linguist-qt4.desktop
===================================================================
--- linguist-qt4.desktop 2013-05-08 07:12:02 UTC (rev 184762)
+++ linguist-qt4.desktop 2013-05-08 07:24:34 UTC (rev 184763)
@@ -2,7 +2,7 @@
Name=Qt4 Linguist
Comment=Add translations to Qt4 applications
Exec=linguist-qt4
-Icon=linguist
+Icon=linguist-qt4
MimeType=text/vnd.trolltech.linguist;application/x-linguist;
Terminal=false
Encoding=UTF-8
More information about the arch-commits
mailing list