Change for new deb package.

--HG--
branch : develop
This commit is contained in:
dismine 2014-06-26 14:42:58 +03:00
parent a980381cb4
commit db9b526390
7 changed files with 30 additions and 10 deletions

View File

@ -85,4 +85,5 @@ DEBEMAIL="<Your email address>"
This will create a directory "working-dir" with dolibarr sources and will add sources from ~eldy/dolibarr/debian This will create a directory "working-dir" with dolibarr sources and will add sources from ~eldy/dolibarr/debian
- Test package sources - Test package sources
sudo pbuilder build <working-dir>/<project>_<version>.dsc sudo pbuilder build <working-dir>/<project>_<version>.dsc
Example: sudo pbuilder build working-dir/valentina_0.2.2.dsc

15
dist/debian/control vendored
View File

@ -1,14 +1,17 @@
Source: valentina Source: valentina
Section: graphics Section: graphics
Priority: optional Priority: optional
Maintainer: Roman Telezhinsky <dismine@gmail.com> Maintainer: Roman Telezhynskyi <dismine@gmail.com>
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) 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.4 Standards-Version: 3.9.5
Homepage: https://bitbucket.org/dismine/valentina Homepage: http://www.valentina-project.org/
Package: valentina Package: valentina
Architecture: i386 amd64 Architecture: i386 amd64
Depends: ${shlibs:Depends}, ${misc:Depends}, xpdf Depends: ${shlibs:Depends}, ${misc:Depends}, xpdf
Description: Pattern making program. Description: Pattern making program.
Open source project of creating a pattern making program, whose allow Valentina is a cross-platform patternmaking program which allows designers
create and modeling patterns of clothing. to create and model patterns of clothing. This software allows pattern
creation, using either standard sizing tables or an individuals set of
measurements. It blends new technologies with traditional methods to create
a unique pattern making tool.

View File

@ -3,11 +3,11 @@ Upstream-Name: valentina
Source: https://bitbucket.org/dismine/valentina Source: https://bitbucket.org/dismine/valentina
Files: * Files: *
Copyright: 2013 Roman Telezhinsky <dismine@gmail.com> Copyright: 2013 Roman Telezhynskyi <dismine@gmail.com>
License: GPL-3.0+ License: GPL-3.0+
Files: debian/* Files: debian/*
Copyright: 2013 Roman Telezhinsky <dismine@gmail.com> Copyright: 2013 Roman Telezhynskyi <dismine@gmail.com>
License: GPL-3.0+ License: GPL-3.0+
License: GPL-3.0+ License: GPL-3.0+

1
dist/debian/docs vendored
View File

@ -1,2 +1 @@
README README
TODO

View File

@ -20,6 +20,10 @@ set -e
case "$1" in case "$1" in
configure) configure)
echo "ldocnfig..." >&2
ldconfig
;;
if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ] ; then if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ] ; then
update-menus update-menus

View File

@ -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_cs.qm
debian/valentina/usr/share/valentina/translations/valentina_he_IL.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_fr.qm
debian/valentina/usr/share/valentina/translations/valentina_it.qm
debian/valentina/usr/share/valentina/translations/valentina_nl.qm

View File

@ -473,10 +473,21 @@ CONFIG(debug, debug|release){
DEFINES += QT_NO_DEBUG_OUTPUT 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 # Remove generated files at cleaning
QMAKE_DISTCLEAN += \ QMAKE_DISTCLEAN += \
$${DESTDIR}/* \ $${DESTDIR}/* \
$${OBJECTS_DIR}/* \ $${OBJECTS_DIR}/* \
#$${RCC_DIR}/* \
$${MOC_DIR}/* $${MOC_DIR}/*