From 8398eff9976710b3879cfe546d208fcd3e2d8d5b Mon Sep 17 00:00:00 2001 From: taipanromania Date: Wed, 20 May 2009 08:33:01 +0000 Subject: [PATCH] better debian support added qt frontend to debian packages --- debian/changelog | 8 ++++++++ debian/control | 7 +++++++ debian/qzintfrontend.install | 1 + frontend/CMakeLists.txt | 2 ++ frontend_qt4/CMakeLists.txt | 4 +++- 5 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 debian/qzintfrontend.install diff --git a/debian/changelog b/debian/changelog index ed5755c6..1af7ea54 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +zint (2.1.3-1) unstable; urgency=low + + * Much improved GUI experience - now with a "save" button so that the GUI actually does something! + * Also included are, of course, Code 49, Channel Code, Japanese Postal Code. + * A shed load of bugfixes. + + -- BogDan Vatra Wed, 20 May 2009 10:51:18 +0300 + zint (2.1.3) unstable; urgency=low * Initial release diff --git a/debian/control b/debian/control index 39287b36..c540ba62 100644 --- a/debian/control +++ b/debian/control @@ -44,3 +44,10 @@ Section: libs Architecture: any Depends: libzint (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Description: Zint console frontend. + +Package: qzintfrontend +Section: libs +Architecture: any +Depends: libzint (= ${binary:Version}), libqzint (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Description: Zint QT frontend. + diff --git a/debian/qzintfrontend.install b/debian/qzintfrontend.install new file mode 100644 index 00000000..d7b345c6 --- /dev/null +++ b/debian/qzintfrontend.install @@ -0,0 +1 @@ +usr/bin/QZint_frontend diff --git a/frontend/CMakeLists.txt b/frontend/CMakeLists.txt index 9ca9ad28..05db17d2 100644 --- a/frontend/CMakeLists.txt +++ b/frontend/CMakeLists.txt @@ -15,3 +15,5 @@ add_dependencies(zint_frontend zint) link_directories( "${CMAKE_BINARY_DIR}/backend" ) target_link_libraries(zint_frontend zint) + +install(TARGETS zint_frontend DESTINATION "${BIN_INSTALL_DIR}" RUNTIME) diff --git a/frontend_qt4/CMakeLists.txt b/frontend_qt4/CMakeLists.txt index 871aed4f..89a4ee18 100644 --- a/frontend_qt4/CMakeLists.txt +++ b/frontend_qt4/CMakeLists.txt @@ -13,5 +13,7 @@ add_dependencies(QZint_frontend QZint zint) link_directories( "${CMAKE_BINARY_DIR}/backend" "${CMAKE_BINARY_DIR}/backend_qt4" ) -target_link_libraries(QZint_frontend zint QZint ${QT_QTGUI_LIBRARY} +target_link_libraries(QZint_frontend zint QZint ${QT_QTGUI_LIBRARY} ${QT_QTCORE_LIBRARY} ) + +install(TARGETS QZint_frontend DESTINATION "${BIN_INSTALL_DIR}" RUNTIME)