From db9b5263908faf69ac1f83ae65f720a337b7826f Mon Sep 17 00:00:00 2001 From: dismine Date: Thu, 26 Jun 2014 14:42:58 +0300 Subject: [PATCH] Change for new deb package. --HG-- branch : develop --- dist/Launchpad_README | 1 + dist/debian/control | 15 +++++++++------ dist/debian/copyright | 4 ++-- dist/debian/docs | 1 - dist/debian/postinst | 4 ++++ dist/debian/source/include-binaries | 2 ++ src/libs/qmuparser/qmuparser.pro | 13 ++++++++++++- 7 files changed, 30 insertions(+), 10 deletions(-) diff --git a/dist/Launchpad_README b/dist/Launchpad_README index 180626332..745729568 100644 --- a/dist/Launchpad_README +++ b/dist/Launchpad_README @@ -85,4 +85,5 @@ DEBEMAIL="" This will create a directory "working-dir" with dolibarr sources and will add sources from ~eldy/dolibarr/debian - Test package sources sudo pbuilder build /_.dsc + Example: sudo pbuilder build working-dir/valentina_0.2.2.dsc diff --git a/dist/debian/control b/dist/debian/control index 9ea5418ac..36a1bcd30 100644 --- a/dist/debian/control +++ b/dist/debian/control @@ -1,14 +1,17 @@ Source: valentina Section: graphics Priority: optional -Maintainer: Roman Telezhinsky -Build-Depends: debhelper (>= 8.0.0), qtbase5-dev (>= 5.0.0), libqt5svg5-dev (>= 5.0.0), ccache, g++ (>= 4.6.0), qt5-default (>= 5.0.0), qttools5-dev-tools (>= 5.0.0), libqt5xmlpatterns5-dev (>= 5.0.0) -Standards-Version: 3.9.4 -Homepage: https://bitbucket.org/dismine/valentina +Maintainer: Roman Telezhynskyi +Build-Depends: debhelper (>= 8.0.0), qtbase5-dev (>= 5.2.1), libqt5svg5-dev (>= 5.2.1), ccache, g++ (>= 4.6.0), qt5-default (>= 5.2.1), qttools5-dev-tools (>= 5.2.1), libqt5xmlpatterns5-dev (>= 5.2.1) +Standards-Version: 3.9.5 +Homepage: http://www.valentina-project.org/ Package: valentina Architecture: i386 amd64 Depends: ${shlibs:Depends}, ${misc:Depends}, xpdf Description: Pattern making program. - Open source project of creating a pattern making program, whose allow - create and modeling patterns of clothing. + Valentina is a cross-platform patternmaking program which allows designers + to create and model patterns of clothing. This software allows pattern + creation, using either standard sizing tables or an individual’s set of + measurements. It blends new technologies with traditional methods to create + a unique pattern making tool. diff --git a/dist/debian/copyright b/dist/debian/copyright index 3a6e44e72..3734339ae 100644 --- a/dist/debian/copyright +++ b/dist/debian/copyright @@ -3,11 +3,11 @@ Upstream-Name: valentina Source: https://bitbucket.org/dismine/valentina Files: * -Copyright: 2013 Roman Telezhinsky +Copyright: 2013 Roman Telezhynskyi License: GPL-3.0+ Files: debian/* -Copyright: 2013 Roman Telezhinsky +Copyright: 2013 Roman Telezhynskyi License: GPL-3.0+ License: GPL-3.0+ diff --git a/dist/debian/docs b/dist/debian/docs index 724e08449..e845566c0 100644 --- a/dist/debian/docs +++ b/dist/debian/docs @@ -1,2 +1 @@ README -TODO diff --git a/dist/debian/postinst b/dist/debian/postinst index a3d3eb81d..aa511c6a6 100644 --- a/dist/debian/postinst +++ b/dist/debian/postinst @@ -20,6 +20,10 @@ set -e case "$1" in configure) + + echo "ldocnfig..." >&2 + ldconfig + ;; if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ] ; then update-menus diff --git a/dist/debian/source/include-binaries b/dist/debian/source/include-binaries index 836386026..8e39229e1 100644 --- a/dist/debian/source/include-binaries +++ b/dist/debian/source/include-binaries @@ -6,3 +6,5 @@ debian/valentina/usr/share/valentina/translations/valentina_de.qm debian/valentina/usr/share/valentina/translations/valentina_cs.qm debian/valentina/usr/share/valentina/translations/valentina_he_IL.qm debian/valentina/usr/share/valentina/translations/valentina_fr.qm +debian/valentina/usr/share/valentina/translations/valentina_it.qm +debian/valentina/usr/share/valentina/translations/valentina_nl.qm diff --git a/src/libs/qmuparser/qmuparser.pro b/src/libs/qmuparser/qmuparser.pro index eab501172..8edf4c2e5 100644 --- a/src/libs/qmuparser/qmuparser.pro +++ b/src/libs/qmuparser/qmuparser.pro @@ -473,10 +473,21 @@ CONFIG(debug, debug|release){ DEFINES += QT_NO_DEBUG_OUTPUT } +unix { +#VARIABLES +isEmpty(PREFIX) { + PREFIX = /usr +} +LIBDIR = $$PREFIX/lib +#MAKE INSTALL +target.path = $$LIBDIR/$${TARGET}/ +INSTALLS += \ + lib +} + # Remove generated files at cleaning QMAKE_DISTCLEAN += \ $${DESTDIR}/* \ $${OBJECTS_DIR}/* \ - #$${RCC_DIR}/* \ $${MOC_DIR}/*