Changes for building single deb package.

--HG--
branch : develop
This commit is contained in:
dismine 2014-06-30 17:20:49 +03:00
parent 57227729b8
commit 99e80daee3
17 changed files with 250 additions and 62 deletions

BIN
dist/application-x-valentina-pattern.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

12
dist/debian/changelog vendored
View File

@ -1,5 +1,11 @@
valentina (0.2.2) saucy; urgency=low valentina (0.2.2+441+21+201406270651) trusty; urgency=low
* Add new dependions qttools5-dev-tools * Auto build.
-- Roman Telezhinsky <dismine@gmail.com> Mon, 10 Feb 2014 09:23:59 +0200 -- dismine <dismine@dismine-To-be-filled-by-O-E-M> Fri, 27 Jun 2014 09:51:38 +0300
valentina (0.2.2) trusty; urgency=low
* New release
-- Roman Telezhinsky <dismine@gmail.com> Tue, 11 Feb 2014 09:00:40 +0200

15
dist/debian/control vendored
View File

@ -2,16 +2,27 @@ Source: valentina
Section: graphics Section: graphics
Priority: optional Priority: optional
Maintainer: Roman Telezhynskyi <dismine@gmail.com> Maintainer: Roman Telezhynskyi <dismine@gmail.com>
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) 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 Standards-Version: 3.9.5
Homepage: http://www.valentina-project.org/ Homepage: http://www.valentina-project.org/
Vcs-Browser: https://bitbucket.org/dismine/valentina
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.
Valentina is a cross-platform patternmaking program which allows designers Valentina is a cross-platform patternmaking program which allows designers
to create and model patterns of clothing. This software allows pattern to create and model patterns of clothing. This software allows pattern
creation, using either standard sizing tables or an individuals set of creation, using either standard sizing tables or an individuals set of
measurements. It blends new technologies with traditional methods to create measurements. It blends new technologies with traditional methods to create
a unique pattern making tool. a unique pattern making tool.
Supported langugages: En, Ru, Ua, Cz, It, Fr, De, Nl

30
dist/debian/copyright vendored
View File

@ -3,13 +3,17 @@ Upstream-Name: valentina
Source: https://bitbucket.org/dismine/valentina Source: https://bitbucket.org/dismine/valentina
Files: * Files: *
Copyright: 2013 Roman Telezhynskyi <dismine@gmail.com> Copyright: 2013-2014 Roman Telezhynskyi <dismine@gmail.com>
License: GPL-3.0+ License: GPL-3.0+
Files: debian/* Files: debian/*
Copyright: 2013 Roman Telezhynskyi <dismine@gmail.com> Copyright: 2013-2014 Roman Telezhynskyi <dismine@gmail.com>
License: GPL-3.0+ License: GPL-3.0+
Files: usr/lib/valentina/qmuparser.so.*
Copyright: 2004-2014 Ingo Berg <ingo_berg@gmx.de>, 2014 Roman Telezhynskyi <dismine@gmail.com>
License: MIT
License: GPL-3.0+ License: GPL-3.0+
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
@ -26,3 +30,25 @@ License: GPL-3.0+
. .
On Debian systems, the complete text of the GNU General On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
License: MIT
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
The Debian packaging is © 2014, Roman Telezhynskyi <dismine@gmail.com> and
is licensed under the GPL-3.0+, see `/usr/share/common-licenses/GPL-3'.

1
dist/debian/files vendored Normal file
View File

@ -0,0 +1 @@
valentina_0.2.2+441+21+201406270651_i386.deb graphics optional

14
dist/debian/rules vendored
View File

@ -1,4 +1,8 @@
#!/usr/bin/make -f #!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
APPNAME := Valentina APPNAME := Valentina
builddir: builddir:
mkdir -p builddir mkdir -p builddir
@ -21,9 +25,9 @@
install: build install: build
dh_testdir dh_testdir
dh_testroot dh_testroot
dh_clean -k dh_prep
dh_installdirs dh_installdirs
# Add here commands to install the package into debian/your_appname # Add here commands to install the package into debian/valentina
cd builddir && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/tmp install cd builddir && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/tmp install
# Build architecture-independent files here. # Build architecture-independent files here.
binary-indep: build install binary-indep: build install
@ -34,14 +38,16 @@
dh_testroot dh_testroot
dh_installdocs dh_installdocs
dh_installchangelogs dh_installchangelogs
dh_installexamples # dh_installexamples
dh_install --sourcedir=$(CURDIR) -v
dh_installman dh_installman
dh_installmime
dh_installmenu dh_installmenu
dh_link dh_link
dh_compress dh_compress
dh_fixperms dh_fixperms
dh_installdeb dh_installdeb
dh_shlibdeps # LD_LIBRARY_PATH=$(LD_LIBRARY_PATH):/usr/lib dh_shlibdeps
dh_gencontrol dh_gencontrol
dh_md5sums dh_md5sums
dh_builddeb dh_builddeb

1
dist/debian/shlibs.local vendored Normal file
View File

@ -0,0 +1 @@
libqmuparser 2 libqmuparser2

View File

@ -1 +1 @@
3.0 (quilt) 3.0 (native)

1
dist/debian/substvars vendored Normal file
View File

@ -0,0 +1 @@
misc:Depends=

6
dist/debian/valentina.dirs vendored Normal file
View File

@ -0,0 +1,6 @@
/usr/lib/valentina
/usr/share/valentina/translations
/usr/share/valentina/tables/standard
/usr/share/mime/packages
/usr/share/applications

7
dist/debian/valentina.install vendored Normal file
View File

@ -0,0 +1,7 @@
usr/bin/*
usr/lib/valentina/lib*
usr/share/valentina/translations/*
usr/share/valentina/tables/standard/*
usr/share/pixmaps/*
usr/share/applications/*
dist/application-x-valentina-pattern.png usr/share/pixmaps

1
dist/debian/valentina.mime vendored Normal file
View File

@ -0,0 +1 @@
application/x-valentina-pattern; valentina %s; nametemplate=%s.val; description="Valentina pattern format" edit=valentina '%s'; priority=6

23
dist/debian/postinst → dist/debian/valentina.postinst vendored Normal file → Executable file
View File

@ -17,27 +17,16 @@ set -e
# for details, see http://www.debian.org/doc/debian-policy/ or # for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package # the debian-policy package
echo "ldconfig..." >&2
case "$1" in
configure)
echo "ldocnfig..." >&2
ldconfig ldconfig
;;
if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ] ; then if [ -x update-desktop-database ]; then
update-menus update-desktop-database
fi fi
;;
abort-upgrade|abort-remove|abort-deconfigure) if [ -x update-mime-database ]; then
;; update-mime-database /usr/share/mime
fi
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically # dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts. # generated by other debhelper scripts.

37
dist/debian/valentina.postrm vendored Executable file
View File

@ -0,0 +1,37 @@
#!/bin/sh
# postrm script for valentina
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postrm> `remove'
# * <postrm> `purge'
# * <old-postrm> `upgrade' <new-version>
# * <new-postrm> `failed-upgrade' <old-version>
# * <new-postrm> `abort-install'
# * <new-postrm> `abort-install' <old-version>
# * <new-postrm> `abort-upgrade' <old-version>
# * <disappearer's-postrm> `disappear' <overwriter>
# <overwriter-version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
echo "ldconfig..." >&2
ldconfig
if [ -x update-desktop-database ]; then
update-desktop-database
fi
if [ -x update-mime-database ]; then
update-mime-database /usr/share/mime
fi
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

96
dist/debian/valentina.sharedmimeinfo vendored Normal file
View File

@ -0,0 +1,96 @@
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-valentina-pattern">
<_comment>Valentina pattern format</_comment>
<comment xml:lang="af">Valentina pattern format</comment>
<comment xml:lang="ar">Valentina pattern format</comment>
<comment xml:lang="as">Valentina pattern format</comment>
<comment xml:lang="ast">Valentina pattern format</comment>
<comment xml:lang="be">Valentina pattern format</comment>
<comment xml:lang="bg">Valentina pattern format</comment>
<comment xml:lang="bn">Valentina pattern format</comment>
<comment xml:lang="br">Valentina pattern format</comment>
<comment xml:lang="bs">Valentina pattern format</comment>
<comment xml:lang="ca">Valentina pattern format</comment>
<comment xml:lang="ca-valencia">Valentina pattern format</comment>
<comment xml:lang="cs">Valentina pattern format</comment>
<comment xml:lang="cy">Valentina pattern format</comment>
<comment xml:lang="da">Valentina pattern format</comment>
<comment xml:lang="de">Valentina pattern format</comment>
<comment xml:lang="dz">Valentina pattern format</comment>
<comment xml:lang="el">Valentina pattern format</comment>
<comment xml:lang="en-GB">Valentina pattern format</comment>
<comment xml:lang="en-ZA">Valentina pattern format</comment>
<comment xml:lang="eo">Valentina pattern format</comment>
<comment xml:lang="es">Valentina pattern format</comment>
<comment xml:lang="et">Valentina pattern format</comment>
<comment xml:lang="eu">Valentina pattern format</comment>
<comment xml:lang="fa">Valentina pattern format</comment>
<comment xml:lang="fi">Valentina pattern format</comment>
<comment xml:lang="fr">Valentina pattern format</comment>
<comment xml:lang="ga">Valentina pattern format</comment>
<comment xml:lang="gd">Valentina pattern format</comment>
<comment xml:lang="gl">Valentina pattern format</comment>
<comment xml:lang="gu">Valentina pattern format</comment>
<comment xml:lang="he">Valentina pattern format</comment>
<comment xml:lang="hi">Valentina pattern format</comment>
<comment xml:lang="hr">Valentina pattern format</comment>
<comment xml:lang="hu">Valentina pattern format</comment>
<comment xml:lang="id">Valentina pattern format</comment>
<comment xml:lang="is">Valentina pattern format</comment>
<comment xml:lang="it">Valentina pattern format</comment>
<comment xml:lang="ja">Valentina pattern format</comment>
<comment xml:lang="ka">Valentina pattern format</comment>
<comment xml:lang="kk">Valentina pattern format</comment>
<comment xml:lang="km">Valentina pattern format</comment>
<comment xml:lang="kmr-Latn">Valentina pattern format</comment>
<comment xml:lang="ko">Valentina pattern format</comment>
<comment xml:lang="lt">Valentina pattern format</comment>
<comment xml:lang="lv">Valentina pattern format</comment>
<comment xml:lang="mk">Valentina pattern format</comment>
<comment xml:lang="ml">Valentina pattern format</comment>
<comment xml:lang="mn">Valentina pattern format</comment>
<comment xml:lang="mr">Valentina pattern format</comment>
<comment xml:lang="nb">Valentina pattern format</comment>
<comment xml:lang="ne">Valentina pattern format</comment>
<comment xml:lang="nl">Valentina pattern format</comment>
<comment xml:lang="nn">Valentina pattern format</comment>
<comment xml:lang="nr">Valentina pattern format</comment>
<comment xml:lang="nso">Valentina pattern format</comment>
<comment xml:lang="oc">Valentina pattern format</comment>
<comment xml:lang="om">Valentina pattern format</comment>
<comment xml:lang="or">Valentina pattern format</comment>
<comment xml:lang="pa-IN">Valentina pattern format</comment>
<comment xml:lang="pl">Valentina pattern format</comment>
<comment xml:lang="pt">Valentina pattern format</comment>
<comment xml:lang="pt-BR">Valentina pattern format</comment>
<comment xml:lang="ro">Valentina pattern format</comment>
<comment xml:lang="ru">Valentina лекала</comment>
<comment xml:lang="rw">Valentina pattern format</comment>
<comment xml:lang="si">Valentina pattern format</comment>
<comment xml:lang="sk">Valentina pattern format</comment>
<comment xml:lang="sl">Valentina pattern format</comment>
<comment xml:lang="sr">Valentina pattern format</comment>
<comment xml:lang="ss">Valentina pattern format</comment>
<comment xml:lang="st">Valentina pattern format</comment>
<comment xml:lang="sv">Valentina pattern format</comment>
<comment xml:lang="ta">Valentina pattern format</comment>
<comment xml:lang="te">OValentina pattern format</comment>
<comment xml:lang="tg">OValentina pattern format</comment>
<comment xml:lang="th">Valentina pattern format</comment>
<comment xml:lang="tn">Valentina pattern format</comment>
<comment xml:lang="tr">Valentina pattern format</comment>
<comment xml:lang="ts">Valentina pattern format</comment>
<comment xml:lang="ug">Valentina pattern format</comment>
<comment xml:lang="uk">Valentina викрійки</comment>
<comment xml:lang="uz">Valentina pattern format</comment>
<comment xml:lang="ve">Valentina pattern format</comment>
<comment xml:lang="vi">Valentina pattern format</comment>
<comment xml:lang="xh">Valentina pattern format</comment>
<comment xml:lang="zh-CN">Valentina pattern format</comment>
<comment xml:lang="zh-TW">Valentina pattern format</comment>
<comment xml:lang="zu">Valentina pattern format</comment>
<glob pattern="*.val"/>
<icon name="application-x-valentina-pattern"/>
</mime-type>
</mime-info>

View File

@ -606,9 +606,9 @@ DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
#MAKE INSTALL #MAKE INSTALL
target.path = $$BINDIR target.path = $$BINDIR
desktop.path = $$DATADIR/applications/ desktop.path = $$DATADIR/applications/
desktop.files += dist/$${TARGET}.desktop desktop.files += ../../dist/$${TARGET}.desktop
pixmaps.path = $$DATADIR/pixmaps/ pixmaps.path = $$DATADIR/pixmaps/
pixmaps.files += dist/$${TARGET}.png pixmaps.files += ../../dist/$${TARGET}.png
translations.path = $$DATADIR/$${TARGET}/translations/ translations.path = $$DATADIR/$${TARGET}/translations/
translations.files = $$INSTALL_TRANSLATIONS translations.files = $$INSTALL_TRANSLATIONS
standard.path = $$DATADIR/$${TARGET}/tables/standard/ standard.path = $$DATADIR/$${TARGET}/tables/standard/

View File

@ -480,7 +480,7 @@ isEmpty(PREFIX) {
} }
LIBDIR = $$PREFIX/lib LIBDIR = $$PREFIX/lib
#MAKE INSTALL #MAKE INSTALL
target.path = $$LIBDIR/$${TARGET}/ target.path = $$LIBDIR/
INSTALLS += \ INSTALLS += \
target target
} }