diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2009-06-08 15:58:05 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2009-06-08 15:58:05 +0000 |
commit | b06046b576988eefe48beae9fcfa84fdc2264913 (patch) | |
tree | 5767b18001a597aab7085f980d383453f27b598f /app-emulation/qtemu | |
parent | Non-Maintainer Commit: Applying patch for CVE-2008-5371, bug 250476. (diff) | |
download | historical-b06046b576988eefe48beae9fcfa84fdc2264913.tar.gz historical-b06046b576988eefe48beae9fcfa84fdc2264913.tar.bz2 historical-b06046b576988eefe48beae9fcfa84fdc2264913.zip |
Initial commit. Fixes bug 184112
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'app-emulation/qtemu')
-rw-r--r-- | app-emulation/qtemu/ChangeLog | 13 | ||||
-rw-r--r-- | app-emulation/qtemu/Manifest | 5 | ||||
-rw-r--r-- | app-emulation/qtemu/files/1.0.5-help_and_translation_paths.patch | 63 | ||||
-rw-r--r-- | app-emulation/qtemu/metadata.xml | 9 | ||||
-rw-r--r-- | app-emulation/qtemu/qtemu-1.0.5.ebuild | 31 |
5 files changed, 121 insertions, 0 deletions
diff --git a/app-emulation/qtemu/ChangeLog b/app-emulation/qtemu/ChangeLog new file mode 100644 index 000000000000..93a1e0586d56 --- /dev/null +++ b/app-emulation/qtemu/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for app-emulation/qtemu +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/qtemu/ChangeLog,v 1.1 2009/06/08 15:58:04 hwoarang Exp $ + +*qtemu-1.0.5 (08 Jun 2009) + + 08 Jun 2009; Markos Chandras <hwoarang@gentoo.org> + +files/1.0.5-help_and_translation_paths.patch, +qtemu-1.0.5.ebuild, + +metadata.xml: + Initial commit of qtemu application. Thanks to Tiziano Müller for the + ebuild. + Fixes bug 184112 + diff --git a/app-emulation/qtemu/Manifest b/app-emulation/qtemu/Manifest new file mode 100644 index 000000000000..7c51aa605c4f --- /dev/null +++ b/app-emulation/qtemu/Manifest @@ -0,0 +1,5 @@ +AUX 1.0.5-help_and_translation_paths.patch 2730 RMD160 ba9fcbad2bfcfe9fbf7b13b7aaf9ed441f12a543 SHA1 d0ea9662b5e5b485ac6d2b0d14f91f67cc88bfed SHA256 ac25bfb7e2eaa0ff4bccdc2d21ad14f73c1e246fb069ef5b4dcca2d20270abf7 +DIST qtemu-1.0.5.tar.bz2 555872 RMD160 a0b9f1cf591c1f1df264fae36d72879b19ee3952 SHA1 5800806ae0c767f11b3801af923905017833a2e4 SHA256 752942fae239996c826580fd0b32986cf96a92a0982710f726947ddf791dc921 +EBUILD qtemu-1.0.5.ebuild 814 RMD160 87b6337be57d9130e59acf6fd898b14f875d5904 SHA1 9102106f0800b960a03707caefc03e2b90e35b94 SHA256 3b84fa64b127a4e2d4af41c8afd410854f79d673d05244919b3ba2b115b093ca +MISC ChangeLog 484 RMD160 16b2d7d75a435b6fbbf342ad5341152d2291c974 SHA1 950f90aae1ee9edcbe0110b9df521b08745269e4 SHA256 a86c6b237104aad0e65b880d752a35352db38364dc9df4d67bac64bbf57bf4df +MISC metadata.xml 246 RMD160 e1161b15109a551aedf140096717e4f2aabe91db SHA1 58ace127a667d85dccb74c0173265614f41966d0 SHA256 e98b30289d1338d45a49b94a79d695a752417e25d2bb3525971d59c16266c4c7 diff --git a/app-emulation/qtemu/files/1.0.5-help_and_translation_paths.patch b/app-emulation/qtemu/files/1.0.5-help_and_translation_paths.patch new file mode 100644 index 000000000000..8fc1680aacb0 --- /dev/null +++ b/app-emulation/qtemu/files/1.0.5-help_and_translation_paths.patch @@ -0,0 +1,63 @@ +diff -Naur qtemu-1.0.5.orig/CMakeLists.txt qtemu-1.0.5/CMakeLists.txt +--- qtemu-1.0.5.orig/CMakeLists.txt 2008-02-22 19:32:43.000000000 +0100 ++++ qtemu-1.0.5/CMakeLists.txt 2008-02-22 19:35:29.000000000 +0100 +@@ -114,7 +114,7 @@ + DEPENDS ${QM_FILES}) + + INSTALL (FILES ${QM_FILES} +- DESTINATION translations) ++ DESTINATION share/qtemu/translations) + # translation end + + SET(QT_USE_QTXML) +@@ -146,13 +146,13 @@ + ) + + FILE(GLOB helpfiles "${CMAKE_CURRENT_SOURCE_DIR}/help/*.png") +-INSTALL(FILES ${helpfiles} DESTINATION help) ++INSTALL(FILES ${helpfiles} DESTINATION share/qtemu/help) + +-INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/help/main.htm DESTINATION help) ++INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/help/main.htm DESTINATION share/qtemu/help) + + FILE(GLOB helpfiles_de "${CMAKE_CURRENT_SOURCE_DIR}/help/de/*.png") +-INSTALL(FILES ${helpfiles_de} DESTINATION help/de) ++INSTALL(FILES ${helpfiles_de} DESTINATION share/qtemu/help/de) + +-INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/help/de/main.htm DESTINATION help/de) ++INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/help/de/main.htm DESTINATION share/qtemu/help/de) + + INSTALL(TARGETS qtemu DESTINATION bin) +diff -Naur qtemu-1.0.5.orig/helpwindow.cpp qtemu-1.0.5/helpwindow.cpp +--- qtemu-1.0.5.orig/helpwindow.cpp 2008-02-22 19:32:44.000000000 +0100 ++++ qtemu-1.0.5/helpwindow.cpp 2008-02-22 19:33:26.000000000 +0100 +@@ -80,7 +80,7 @@ + return testUrl; + + //check for case when qtemu executable is in bin/ (installed on linux) +- testUrl = QUrl(QCoreApplication::applicationDirPath()+"/../help/" + locale + "/main.htm"); ++ testUrl = QUrl(QCoreApplication::applicationDirPath()+"/../share/qtemu/help/" + locale + "/main.htm"); + if (QFile::exists(testUrl.toString())) + return testUrl; + } +@@ -96,7 +96,7 @@ + return testUrl; + + //check for case when qtemu executable is in bin/ (installed on linux) +- testUrl = QUrl(QCoreApplication::applicationDirPath()+"/../help/main.htm"); ++ testUrl = QUrl(QCoreApplication::applicationDirPath()+"/../share/qtemu/help/main.htm"); + if (QFile::exists(testUrl.toString())) + return testUrl; + +diff -Naur qtemu-1.0.5.orig/main.cpp qtemu-1.0.5/main.cpp +--- qtemu-1.0.5.orig/main.cpp 2008-02-22 19:32:43.000000000 +0100 ++++ qtemu-1.0.5/main.cpp 2008-02-22 19:36:32.000000000 +0100 +@@ -45,7 +45,7 @@ + translator.load(path); + else + { +- path = QCoreApplication::applicationDirPath()+"/../translations/qtemu_" + locale + ".qm"; ++ path = QCoreApplication::applicationDirPath()+"/../share/qtemu/translations/qtemu_" + locale + ".qm"; + if (QFile::exists(path)) + translator.load(path); + } diff --git a/app-emulation/qtemu/metadata.xml b/app-emulation/qtemu/metadata.xml new file mode 100644 index 000000000000..eabd7789e502 --- /dev/null +++ b/app-emulation/qtemu/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>qt</herd> +<maintainer> +<email>hwoarang@gentoo.org</email> +<name>Markos Chandras</name> +</maintainer> +</pkgmetadata> diff --git a/app-emulation/qtemu/qtemu-1.0.5.ebuild b/app-emulation/qtemu/qtemu-1.0.5.ebuild new file mode 100644 index 000000000000..38ff3c3c40d2 --- /dev/null +++ b/app-emulation/qtemu/qtemu-1.0.5.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/qtemu/qtemu-1.0.5.ebuild,v 1.1 2009/06/08 15:58:04 hwoarang Exp $ + +EAPI="2" + +inherit eutils qt4 cmake-utils + +DESCRIPTION="A graphical user interface for QEMU written in Qt4." +HOMEPAGE="http://qtemu.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2.1 CCPL-Attribution-3.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="x11-libs/qt-gui:4" +RDEPEND="${DEPEND} + app-emulation/qemu" + +DOCS="ChangeLog README" +PATCHES=( + "${FILESDIR}/${PV}-help_and_translation_paths.patch" +) + +src_install() { + cmake-utils_src_install + doicon "${S}/images/${PN}.ico" + make_desktop_entry "qtemu" "QtEmu" "${PN}.ico" "Qt;Utility;Emulator" +} |