Date: Mon, 18 Jun 2007 15:21:49 +0000 (UTC) From: liu_yinghong@yahoo.com.cn To: FreeBSD-gnats-submit@FreeBSD.org Cc: liu_yinghong@yahoo.com.cn Subject: ports/113824: New port:emulators/qtemu A graphical user interface for QEMU written in Qt4 Message-ID: <20070618152149.E2E9413C458@mx1.freebsd.org> Resent-Message-ID: <200706181530.l5IFU4MH042244@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 113824 >Category: ports >Synopsis: New port:emulators/qtemu A graphical user interface for QEMU written in Qt4 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jun 18 15:30:04 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Yinghong.Liu >Release: FreeBSD 6.2-STABLE i386 >Organization: >Environment: System: FreeBSD relaxbsd.org 6.2-STABLE FreeBSD 6.2-STABLE #0: Thu May 10 21:42:19 CST 2007 hamigua@relaxbsd.org:/usr/src/sys/i386/compile/LYH i386 >Description: QtEmu is a graphical user interface for QEMU written in Qt4. WWW: http://qtemu.sourceforge.net/ >How-To-Repeat: >Fix: --- qtemu.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # qtemu # qtemu/Makefile # qtemu/distinfo # qtemu/files # qtemu/pkg-descr # qtemu/pkg-plist # qtemu/files/patch-CMakeLists.txt # qtemu/files/patch-main.cpp # echo c - qtemu mkdir -p qtemu > /dev/null 2>&1 echo x - qtemu/Makefile sed 's/^X//' >qtemu/Makefile << 'END-of-qtemu/Makefile' X# New ports collection makefile for: qtemu X# Date created: 18 May 2007 X# Whom: Yinghong.Liu <liu_yinghong@yahoo.com.cn> X# X# $FreeBSD$ X XPORTNAME= qtemu XPORTVERSION= 1.0.3 XCATEGORIES= emulators kde XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR=${PORTNAME} X XMAINTAINER= liu_yinghong@yahoo.com.cn XCOMMENT= A graphical user interface for QEMU written in Qt4 X XBUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake X XRUN_DEPEND= qemu:${PORTSDIR}/emulators/qemu X XWRKSRC= ${WRKDIR}/${PORTNAME} X XCMAKE_ARGS= -DCMAKE_BUILD_TYPE:STRING=Release \ X -DCMAKE_C_COMPILER:STRING='${CC}' \ X -DCMAKE_CXX_COMPILER:STRING=${CXX} \ X -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS} -pthread" \ X -DCMAKE_INSTALL_PREFIX=${PREFIX} \ X XUSE_BZIP2= yes XUSE_QT_VER= 4 XQT_COMPONENTS= qmake gui corelib xml XUSE_GMAKE= yes X XPORTDOCS= COPYING ChangeLog README X Xdo-configure: X @(cd ${WRKSRC}; \ X ${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/cmake ${CMAKE_ARGS} ${PATCH_WRKSRC}) X Xpost-install: X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X.for doc in ${PORTDOCS} X @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} X.endfor X.endif X X.include <bsd.port.mk> END-of-qtemu/Makefile echo x - qtemu/distinfo sed 's/^X//' >qtemu/distinfo << 'END-of-qtemu/distinfo' XMD5 (qtemu-1.0.3.tar.bz2) = 44560abe5b1df47f8ff6050d5864f453 XSHA256 (qtemu-1.0.3.tar.bz2) = b6db89fc88aced4453d17c0e52033846de72f36da16e9ff6659afb3397c959df XSIZE (qtemu-1.0.3.tar.bz2) = 495051 END-of-qtemu/distinfo echo c - qtemu/files mkdir -p qtemu/files > /dev/null 2>&1 echo x - qtemu/pkg-descr sed 's/^X//' >qtemu/pkg-descr << 'END-of-qtemu/pkg-descr' XQtEmu is a graphical user interface for QEMU written in Qt4. X XWWW: http://qtemu.sourceforge.net/ END-of-qtemu/pkg-descr echo x - qtemu/pkg-plist sed 's/^X//' >qtemu/pkg-plist << 'END-of-qtemu/pkg-plist' Xbin/qtemu X%%DATADIR%%/help/config.png X%%DATADIR%%/help/de/config.png X%%DATADIR%%/help/de/main.htm X%%DATADIR%%/help/de/mainwindow.png X%%DATADIR%%/help/de/mainwindow_new_machine_1.png X%%DATADIR%%/help/de/mainwindow_new_machine_2.png X%%DATADIR%%/help/de/mainwindow_new_machine_3.png X%%DATADIR%%/help/de/mainwindow_new_machine_4.png X%%DATADIR%%/help/de/mainwindow_new_machine_5.png X%%DATADIR%%/help/de/mainwindow_new_machine_6.png X%%DATADIR%%/help/de/mainwindow_new_machine_7.png X%%DATADIR%%/help/de/mainwindow_new_machine_8.png X%%DATADIR%%/help/de/toolbar.png X%%DATADIR%%/help/de/wizard_1.png X%%DATADIR%%/help/de/wizard_1_1.png X%%DATADIR%%/help/de/wizard_2.png X%%DATADIR%%/help/de/wizard_2_1.png X%%DATADIR%%/help/de/wizard_3.png X%%DATADIR%%/help/main.htm X%%DATADIR%%/help/mainwindow.png X%%DATADIR%%/help/mainwindow_new_machine_1.png X%%DATADIR%%/help/mainwindow_new_machine_2.png X%%DATADIR%%/help/mainwindow_new_machine_3.png X%%DATADIR%%/help/mainwindow_new_machine_4.png X%%DATADIR%%/help/mainwindow_new_machine_5.png X%%DATADIR%%/help/mainwindow_new_machine_6.png X%%DATADIR%%/help/mainwindow_new_machine_7.png X%%DATADIR%%/help/mainwindow_new_machine_8.png X%%DATADIR%%/help/toolbar.png X%%DATADIR%%/help/wizard_1.png X%%DATADIR%%/help/wizard_1_1.png X%%DATADIR%%/help/wizard_2.png X%%DATADIR%%/help/wizard_2_1.png X%%DATADIR%%/help/wizard_3.png X%%DATADIR%%/translations/qtemu_cz.qm X%%DATADIR%%/translations/qtemu_de.qm X%%DATADIR%%/translations/qtemu_es.qm X%%DATADIR%%/translations/qtemu_ru.qm X%%DATADIR%%/translations/qtemu_tr.qm X@dirrm %%DATADIR%%/translations X@dirrm %%DATADIR%%/help/de X@dirrm %%DATADIR%%/help X@dirrm %%DATADIR%% END-of-qtemu/pkg-plist echo x - qtemu/files/patch-CMakeLists.txt sed 's/^X//' >qtemu/files/patch-CMakeLists.txt << 'END-of-qtemu/files/patch-CMakeLists.txt' X--- CMakeLists.txt.orig Mon Jun 18 22:12:50 2007 X+++ CMakeLists.txt Mon Jun 18 22:14:32 2007 X@@ -114,7 +114,7 @@ X DEPENDS ${QM_FILES}) X X INSTALL (FILES ${QM_FILES} X- DESTINATION translations) X+ DESTINATION share/qtemu/translations) X # translation end X X SET(QT_USE_QTXML) X@@ -146,13 +146,13 @@ X ) X X FILE(GLOB helpfiles "${CMAKE_CURRENT_SOURCE_DIR}/help/*.png") X-INSTALL(FILES ${helpfiles} DESTINATION help) X+INSTALL(FILES ${helpfiles} DESTINATION share/qtemu/help) X X-INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/help/main.htm DESTINATION help) X+INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/help/main.htm DESTINATION share/qtemu/help) X X FILE(GLOB helpfiles_de "${CMAKE_CURRENT_SOURCE_DIR}/help/de/*.png") X-INSTALL(FILES ${helpfiles_de} DESTINATION help/de) X+INSTALL(FILES ${helpfiles_de} DESTINATION share/qtemu/help/de) X X-INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/help/de/main.htm DESTINATION help/de) X+INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/help/de/main.htm DESTINATION share/qtemu/help/de) X X INSTALL(TARGETS qtemu DESTINATION bin) END-of-qtemu/files/patch-CMakeLists.txt echo x - qtemu/files/patch-main.cpp sed 's/^X//' >qtemu/files/patch-main.cpp << 'END-of-qtemu/files/patch-main.cpp' X--- main.cpp.orig Mon Jun 18 23:12:31 2007 X+++ main.cpp Mon Jun 18 23:14:13 2007 X@@ -45,7 +45,7 @@ X translator.load(path); X else X { X- path = QCoreApplication::applicationDirPath()+"/../translations/qtemu_" + locale + ".qm"; X+ path = QCoreApplication::applicationDirPath()+"/../share/qtemu/translations/qtemu_" + locale + ".qm"; X if (QFile::exists(path)) X translator.load(path); X } END-of-qtemu/files/patch-main.cpp exit --- qtemu.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070618152149.E2E9413C458>