Deploy for Puzzle.
1
dist/debian/menu
vendored
|
@ -1,2 +1,3 @@
|
|||
?package(valentina): needs="X11" section="Applications/Graphics" title="Valentina" command="valentina"
|
||||
?package(valentina): needs="X11" section="Applications/Data Management" title="Tape" command="tape"
|
||||
?package(valentina): needs="X11" section="Applications/Data Management" title="Puzzle" command="puzzle"
|
||||
|
|
3
dist/debian/source/include-binaries
vendored
|
@ -1,10 +1,13 @@
|
|||
debian/usr/share/pixmaps/valentina.png
|
||||
debian/usr/share/pixmaps/tape.png
|
||||
debian/usr/share/pixmaps/puzzle.png
|
||||
debian/usr/share/pixmaps/application-x-valentina-pattern.png
|
||||
debian/usr/share/pixmaps/application-x-valentina-i-measurements.png
|
||||
debian/usr/share/pixmaps/application-x-valentina-s-measurements.png
|
||||
debian/usr/share/pixmaps/application-x-valentina-layout.png
|
||||
debian/valentina/usr/bin/valentina
|
||||
debian/valentina/usr/bin/tape
|
||||
debian/valentina/usr/bin/puzzle
|
||||
debian/valentina/usr/share/valentina/diagrams.rcc
|
||||
debian/valentina/usr/share/valentina/translations/measurements_p0_cs_CZ.qm
|
||||
debian/valentina/usr/share/valentina/translations/measurements_p0_de_DE.qm
|
||||
|
|
1
dist/debian/valentina.manpages
vendored
|
@ -1,2 +1,3 @@
|
|||
debian/valentina.1
|
||||
debian/tape.1
|
||||
debian/puzzle.1
|
||||
|
|
1
dist/debian/valentina.mime
vendored
|
@ -1,3 +1,4 @@
|
|||
application/x-valentina-pattern; valentina %s; nametemplate=%s.val; description="Valentina pattern" edit=valentina '%s'; priority=6
|
||||
application/x-valentina-i-pattern; tape %s; nametemplate=%s.vit; description="Valentina individual measurments" edit=tape '%s'; priority=6
|
||||
application/x-valentina-s-pattern; tape %s; nametemplate=%s.vst; description="Valentina standard measurments" edit=tape '%s'; priority=6
|
||||
application/x-valentina-layout; puzzle %s; nametemplate=%s.vlt; description="Valentina layout" edit=puzzle '%s'; priority=6
|
||||
|
|
94
dist/debian/valentina.sharedmimeinfo
vendored
|
@ -282,4 +282,98 @@
|
|||
<glob pattern="*.vst"/>
|
||||
<icon name="application-x-valentina-s-measurements"/>
|
||||
</mime-type>
|
||||
<mime-type type="application/x-valentina-layout">
|
||||
<sub-class-of type="text/xml"/>
|
||||
<_comment>Valentina layout</_comment>
|
||||
<comment xml:lang="af">Valentina layout</comment>
|
||||
<comment xml:lang="ar">Valentina layout</comment>
|
||||
<comment xml:lang="as">Valentina layout</comment>
|
||||
<comment xml:lang="ast">Valentina layout</comment>
|
||||
<comment xml:lang="be">Valentina layout</comment>
|
||||
<comment xml:lang="bg">Valentina layout</comment>
|
||||
<comment xml:lang="bn">Valentina layout</comment>
|
||||
<comment xml:lang="br">Valentina layout</comment>
|
||||
<comment xml:lang="bs">Valentina layout</comment>
|
||||
<comment xml:lang="ca">Valentina layout</comment>
|
||||
<comment xml:lang="ca-valencia">Valentina layout</comment>
|
||||
<comment xml:lang="cs">Valentina layout</comment>
|
||||
<comment xml:lang="cy">Valentina layout</comment>
|
||||
<comment xml:lang="da">Valentina layout</comment>
|
||||
<comment xml:lang="de">Valentina layout</comment>
|
||||
<comment xml:lang="dz">Valentina layout</comment>
|
||||
<comment xml:lang="el">Valentina layout</comment>
|
||||
<comment xml:lang="en-GB">Valentina layout</comment>
|
||||
<comment xml:lang="en-ZA">Valentina layout</comment>
|
||||
<comment xml:lang="eo">Valentina layout</comment>
|
||||
<comment xml:lang="es">Valentina layout</comment>
|
||||
<comment xml:lang="et">Valentina layout</comment>
|
||||
<comment xml:lang="eu">Valentina layout</comment>
|
||||
<comment xml:lang="fa">Valentina layout</comment>
|
||||
<comment xml:lang="fi">Valentina layout</comment>
|
||||
<comment xml:lang="fr">Valentina layout</comment>
|
||||
<comment xml:lang="ga">Valentina layout</comment>
|
||||
<comment xml:lang="gd">Valentina layout</comment>
|
||||
<comment xml:lang="gl">Valentina layout</comment>
|
||||
<comment xml:lang="gu">Valentina layout</comment>
|
||||
<comment xml:lang="he">Valentina layout</comment>
|
||||
<comment xml:lang="hi">Valentina layout</comment>
|
||||
<comment xml:lang="hr">Valentina layout</comment>
|
||||
<comment xml:lang="hu">Valentina layout</comment>
|
||||
<comment xml:lang="id">Valentina layout</comment>
|
||||
<comment xml:lang="is">Valentina layout</comment>
|
||||
<comment xml:lang="it">Valentina layout</comment>
|
||||
<comment xml:lang="ja">Valentina layout</comment>
|
||||
<comment xml:lang="ka">Valentina layout</comment>
|
||||
<comment xml:lang="kk">Valentina layout</comment>
|
||||
<comment xml:lang="km">Valentina layout</comment>
|
||||
<comment xml:lang="kmr-Latn">Valentina layout</comment>
|
||||
<comment xml:lang="ko">Valentina layout</comment>
|
||||
<comment xml:lang="lt">Valentina layout</comment>
|
||||
<comment xml:lang="lv">Valentina layout</comment>
|
||||
<comment xml:lang="mk">Valentina layout</comment>
|
||||
<comment xml:lang="ml">Valentina layout</comment>
|
||||
<comment xml:lang="mn">Valentina layout</comment>
|
||||
<comment xml:lang="mr">Valentina layout</comment>
|
||||
<comment xml:lang="nb">Valentina layout</comment>
|
||||
<comment xml:lang="ne">Valentina layout</comment>
|
||||
<comment xml:lang="nl">Valentina layout</comment>
|
||||
<comment xml:lang="nn">Valentina layout</comment>
|
||||
<comment xml:lang="nr">Valentina layout</comment>
|
||||
<comment xml:lang="nso">Valentina layout</comment>
|
||||
<comment xml:lang="oc">Valentina layout</comment>
|
||||
<comment xml:lang="om">Valentina layout</comment>
|
||||
<comment xml:lang="or">Valentina layout</comment>
|
||||
<comment xml:lang="pa-IN">Valentina layout</comment>
|
||||
<comment xml:lang="pl">Valentina layout</comment>
|
||||
<comment xml:lang="pt">Valentina layout</comment>
|
||||
<comment xml:lang="pt-BR">Valentina layout</comment>
|
||||
<comment xml:lang="ro">Valentina layout</comment>
|
||||
<comment xml:lang="ru">Valentina раскладка</comment>
|
||||
<comment xml:lang="rw">Valentina layout</comment>
|
||||
<comment xml:lang="si">Valentina layout</comment>
|
||||
<comment xml:lang="sk">Valentina layout</comment>
|
||||
<comment xml:lang="sl">Valentina layout</comment>
|
||||
<comment xml:lang="sr">Valentina layout</comment>
|
||||
<comment xml:lang="ss">Valentina layout</comment>
|
||||
<comment xml:lang="st">Valentina layout</comment>
|
||||
<comment xml:lang="sv">Valentina layout</comment>
|
||||
<comment xml:lang="ta">Valentina layout</comment>
|
||||
<comment xml:lang="te">Valentina layout</comment>
|
||||
<comment xml:lang="tg">Valentina layout</comment>
|
||||
<comment xml:lang="th">Valentina layout</comment>
|
||||
<comment xml:lang="tn">Valentina layout</comment>
|
||||
<comment xml:lang="tr">Valentina layout</comment>
|
||||
<comment xml:lang="ts">Valentina layout</comment>
|
||||
<comment xml:lang="ug">Valentina layout</comment>
|
||||
<comment xml:lang="uk">Valentina розкладка</comment>
|
||||
<comment xml:lang="uz">Valentina layout</comment>
|
||||
<comment xml:lang="ve">Valentina layout</comment>
|
||||
<comment xml:lang="vi">Valentina layout</comment>
|
||||
<comment xml:lang="xh">Valentina layout</comment>
|
||||
<comment xml:lang="zh-CN">Valentina layout</comment>
|
||||
<comment xml:lang="zh-TW">Valentina layout</comment>
|
||||
<comment xml:lang="zu">Valentina layout</comment>
|
||||
<glob pattern="*.vlt"/>
|
||||
<icon name="application-x-valentina-layout"/>
|
||||
</mime-type>
|
||||
</mime-info>
|
||||
|
|
|
@ -59,6 +59,7 @@ src_install() {
|
|||
|
||||
doman dist/debian/${PN}.1
|
||||
doman dist/debian/tape.1
|
||||
doman dist/debian/puzzle.1
|
||||
|
||||
cp dist/debian/valentina.sharedmimeinfo dist/debian/${PN}.xml || die
|
||||
insinto /usr/share/mime/packages
|
||||
|
|
BIN
dist/macx/layout.icns
vendored
Normal file
50
dist/macx/puzzle/Info.plist
vendored
|
@ -9,9 +9,9 @@
|
|||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>10.6</string>
|
||||
<string>10.7</string>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
<string>© 2013-2020, Valentina project</string>
|
||||
<string>© 2013-2021, Valentina project</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>@TYPEINFO@</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
|
@ -19,11 +19,53 @@
|
|||
<key>CFBundleIdentifier</key>
|
||||
<string>io.bitbucket.valentinaproject.@EXECUTABLE@</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.7.0</string>
|
||||
<string>0.7.47</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>0.7.0.0</string>
|
||||
<string>0.7.47.0</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleDocumentTypes</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>CFBundleTypeRole</key>
|
||||
<string>Editor</string>
|
||||
<key>CFBundleTypeIconFile</key>
|
||||
<string>layout.incs</string>
|
||||
<key>LSItemContentTypes</key>
|
||||
<array>
|
||||
<string>io.bitbucket.valentinaproject.vlt</string>
|
||||
</array>
|
||||
<key>CFBundleTypeName</key>
|
||||
<string>Valentina layout</string>
|
||||
<key>LSHandlerRank</key>
|
||||
<string>Owner</string>
|
||||
</dict>
|
||||
</array>
|
||||
<key>UTExportedTypeDeclarations</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>UTTypeConformsTo</key>
|
||||
<array>
|
||||
<string>public.text</string>
|
||||
<string>public.xml</string>
|
||||
</array>
|
||||
<key>UTTypeDescription</key>
|
||||
<string>Valentina layout</string>
|
||||
<key>UTTypeIconFile</key>
|
||||
<string>layout.icns</string>
|
||||
<key>UTTypeIdentifier</key>
|
||||
<string>io.bitbucket.valentinaproject.vlt</string>
|
||||
<key>UTTypeTagSpecification</key>
|
||||
<dict>
|
||||
<key>public.filename-extension</key>
|
||||
<array>
|
||||
<string>vlt</string>
|
||||
</array>
|
||||
<key>public.mime-type</key>
|
||||
<string>text/xml</string>
|
||||
</dict>
|
||||
</dict>
|
||||
</array>
|
||||
<key>NSRequiresAquaSystemAppearance</key>
|
||||
<true/>
|
||||
</dict>
|
||||
|
|
14
dist/puzzle.desktop
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Puzzle
|
||||
Exec=puzzle %F
|
||||
Version=1.0
|
||||
GenericName=Valentina's layout editor
|
||||
Comment=Create and edit layouts
|
||||
Comment[uk]=Створюйте і редагуйте розкладки
|
||||
Comment[ru]=Создавайте и редактируйте раскладку
|
||||
Icon=puzzle
|
||||
Terminal=false
|
||||
MimeType=application/x-valentina-layout;
|
||||
Categories=Qt;Utility;FileTools;
|
||||
TryExec=puzzle
|
9
dist/rpm/valentina.spec
vendored
|
@ -151,6 +151,9 @@ gzip -9c dist/debian/%{name}.1 > dist/debian/%{name}.1.gz &&
|
|||
gzip -9c dist/debian/tape.1 > dist/debian/tape.1.gz &&
|
||||
%{__install} -Dm 644 dist/debian/tape.1.gz %{buildroot}%{_mandir}/man1/tape.1.gz
|
||||
|
||||
gzip -9c dist/debian/puzzle.1 > dist/debian/puzzle.1.gz &&
|
||||
%{__install} -Dm 644 dist/debian/puzzle.1.gz %{buildroot}%{_mandir}/man1/puzzle.1.gz
|
||||
|
||||
cp dist/debian/valentina.sharedmimeinfo dist/debian/%{name}.xml &&
|
||||
%{__install} -Dm 644 dist/debian/%{name}.xml %{buildroot}%{_datadir}/mime/packages/%{name}.xml
|
||||
|
||||
|
@ -160,6 +163,7 @@ cp dist/debian/valentina.mime dist/debian/%{name} &&
|
|||
%if 0%{?suse_version} > 0
|
||||
%suse_update_desktop_file -r %{name} Graphics VectorGraphics 2DGraphics
|
||||
%suse_update_desktop_file -r tape Utility Applet
|
||||
%suse_update_desktop_file -r puzzle Utility Applet
|
||||
%endif
|
||||
|
||||
%post
|
||||
|
@ -194,8 +198,10 @@ fi
|
|||
%license LICENSE_GPL.txt
|
||||
%doc %{_mandir}/man1/%{name}.1*
|
||||
%doc %{_mandir}/man1/tape.1*
|
||||
%doc %{_mandir}/man1/puzzle.1*
|
||||
%{_bindir}/valentina
|
||||
%{_bindir}/tape
|
||||
%{_bindir}/puzzle
|
||||
%{_libdir}/libvpropertyexplorer.so
|
||||
%{_libdir}/libvpropertyexplorer.so.*
|
||||
%{_libdir}/libqmuparser.so
|
||||
|
@ -208,6 +214,7 @@ fi
|
|||
%{_datadir}/mime/packages/%{name}.xml
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/applications/tape.desktop
|
||||
%{_datadir}/applications/puzzle.desktop
|
||||
|
||||
%dir %{_datadir}/icons/
|
||||
%dir %{_datadir}/icons/hicolor/
|
||||
|
@ -242,7 +249,7 @@ fi
|
|||
%{_datadir}/%{name}/labels/*.xml
|
||||
|
||||
%clean
|
||||
rm -f dist/debian/%{name}.1.gz dist/debian/tape.1.gz dist/debian/%{name}.xml dist/debian/%{name}
|
||||
rm -f dist/debian/%{name}.1.gz dist/debian/tape.1.gz dist/debian/puzzle.1.gz dist/debian/%{name}.xml dist/debian/%{name}
|
||||
[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
|
||||
|
||||
|
||||
|
|
13
dist/win/inno/valentina.iss
vendored
|
@ -86,6 +86,7 @@ Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescrip
|
|||
Name: "fileassoc1"; Description: "{cm:CreateFileAssocVal}"; GroupDescription: "{cm:FileAssoc}"
|
||||
Name: "fileassoc2"; Description: "{cm:CreateFileAssocVit}"; GroupDescription: "{cm:FileAssoc}"
|
||||
Name: "fileassoc3"; Description: "{cm:CreateFileAssocVst}"; GroupDescription: "{cm:FileAssoc}"
|
||||
Name: "fileassoc4"; Description: "{cm:CreateFileAssocVlt}"; GroupDescription: "{cm:FileAssoc}"
|
||||
Name: "deletesettings"; Description: "{cm:RemoveAnyExistingSettings}"; GroupDescription: "{cm:ManageSettings}"; Flags: unchecked
|
||||
|
||||
[Types]
|
||||
|
@ -161,6 +162,7 @@ Name: "lang_files\chinese"; Description: "Chinese (China)"; Types: full custom;
|
|||
; Signing
|
||||
Source: ".\valentina\valentina.exe"; DestDir: "{app}"; Flags: ignoreversion sign
|
||||
Source: ".\valentina\tape.exe"; DestDir: "{app}"; Flags: ignoreversion sign
|
||||
Source: ".\valentina\puzzle.exe"; DestDir: "{app}"; Flags: ignoreversion sign
|
||||
Source: ".\valentina\vpropertyexplorer.dll"; DestDir: "{app}"; Flags: ignoreversion sign
|
||||
Source: ".\valentina\qmuparser2.dll"; DestDir: "{app}"; Flags: ignoreversion sign
|
||||
; Localizations
|
||||
|
@ -249,6 +251,7 @@ Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChang
|
|||
Root: "HKCR"; Subkey: ".val"; ValueType: string; ValueName: ""; ValueData: "Valentina.Pattern"; Flags: uninsdeletevalue; Tasks: fileassoc1
|
||||
Root: "HKCR"; Subkey: ".vit"; ValueType: string; ValueName: ""; ValueData: "Valentina.IndividualMeasurements"; Flags: uninsdeletevalue; Tasks: fileassoc2
|
||||
Root: "HKCR"; Subkey: ".vst"; ValueType: string; ValueName: ""; ValueData: "Valentina.StandardMeasurements"; Flags: uninsdeletevalue; Tasks: fileassoc3
|
||||
Root: "HKCR"; Subkey: ".vlt"; ValueType: string; ValueName: ""; ValueData: "Valentina.Layout"; Flags: uninsdeletevalue; Tasks: fileassoc3
|
||||
|
||||
Root: "HKCR"; Subkey: "Valentina.Pattern"; ValueType: string; ValueData: "Valentina pattern file"; Flags: uninsdeletekey; Tasks: fileassoc1
|
||||
Root: "HKCR"; Subkey: "Valentina.Pattern\DefaultIcon"; ValueType: string; ValueData: "{app}\pattern.ico,0"; Tasks: fileassoc1
|
||||
|
@ -262,6 +265,10 @@ Root: "HKCR"; Subkey: "Valentina.StandardMeasurements"; ValueType: string; Value
|
|||
Root: "HKCR"; Subkey: "Valentina.StandardMeasurements\DefaultIcon"; ValueType: string; ValueData: "{app}\s-measurements.ico,0"; Tasks: fileassoc3
|
||||
Root: "HKCR"; Subkey: "Valentina.StandardMeasurements\shell\open\command"; ValueType: string; ValueData: """{app}\tape.exe"" ""%1"""; Tasks: fileassoc3
|
||||
|
||||
Root: "HKCR"; Subkey: "Valentina.Layout"; ValueType: string; ValueData: "Valentina layout file"; Flags: uninsdeletekey; Tasks: fileassoc1
|
||||
Root: "HKCR"; Subkey: "Valentina.Layout\DefaultIcon"; ValueType: string; ValueData: "{app}\layout.ico,0"; Tasks: fileassoc1
|
||||
Root: "HKCR"; Subkey: "Valentina.Layout\shell\open\command"; ValueType: string; ValueData: """{app}\puzzle.exe"" ""%1"""; Tasks: fileassoc1
|
||||
|
||||
[CustomMessages]
|
||||
FileAssoc = Create file associations
|
||||
english.FileAssoc = Create file associations
|
||||
|
@ -287,6 +294,12 @@ russian.CreateFileAssocVst = *.vst (Мультиразмерный файл ме
|
|||
ukrainian.CreateFileAssocVst = *.vst (Мультирозмірний файл мірок)
|
||||
german.CreateFileAssocVst = *.vst (Multi-Size Maßdatei)
|
||||
|
||||
CreateFileAssocVlt = *.vlt (Layout file)
|
||||
english.CreateFileAssocVlt = *.vlt (Layout file)
|
||||
russian.CreateFileAssocVlt = *.vlt (Файл раскладки)
|
||||
ukrainian.CreateFileAssocVlt = *.vlt (Файл роскладки)
|
||||
german.CreateFileAssocVlt = *.vlt (Layoutdatei)
|
||||
|
||||
WarnRemoveOld = is installed at the moment. Remove old version?
|
||||
english.WarnRemoveOld = is installed at the moment. Remove old version?
|
||||
russian.WarnRemoveOld = установлена на данный момент. Удалить старую версию?
|
||||
|
|
BIN
dist/win/layout.ico
vendored
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
share/icons/128x128/apps/puzzle.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
share/icons/128x128/mimetypes/application-x-valentina-layout.png
Normal file
After Width: | Height: | Size: 4.4 KiB |
BIN
share/icons/256x256/apps/puzzle.png
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
share/icons/256x256/mimetypes/application-x-valentina-layout.png
Normal file
After Width: | Height: | Size: 9.5 KiB |
BIN
share/icons/48x48/apps/puzzle.png
Normal file
After Width: | Height: | Size: 4.9 KiB |
BIN
share/icons/48x48/mimetypes/application-x-valentina-layout.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
share/icons/512x512/apps/puzzle.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
share/icons/512x512/mimetypes/application-x-valentina-layout.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
share/icons/64x64/apps/puzzle.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
share/icons/64x64/mimetypes/application-x-valentina-layout.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
|
@ -66,17 +66,9 @@ include(../translations.pri)
|
|||
|
||||
# Set "make install" command for Unix-like systems.
|
||||
unix{
|
||||
# Prefix for binary file.
|
||||
isEmpty(PREFIX){
|
||||
PREFIX = $$DEFAULT_PREFIX
|
||||
}
|
||||
|
||||
unix:!macx{
|
||||
DATADIR =$$PREFIX/share
|
||||
DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
|
||||
|
||||
!macx{
|
||||
# Path to bin file after installation
|
||||
target.path = $$PREFIX/bin
|
||||
target.path = $$BINDIR
|
||||
|
||||
INSTALLS += \
|
||||
target
|
||||
|
@ -112,8 +104,7 @@ unix{
|
|||
QMAKE_INFO_PLIST = $$PWD/../../../dist/macx/puzzle/Info.plist
|
||||
|
||||
format.path = $$RESOURCES_DIR/
|
||||
format.files += $$PWD/../../../dist/macx/i-measurements.icns
|
||||
format.files += $$PWD/../../../dist/macx/s-measurements.icns
|
||||
format.files += $$PWD/../../../dist/macx/layout.icns
|
||||
|
||||
QMAKE_BUNDLE_DATA += \
|
||||
#libraries \
|
||||
|
|
|
@ -149,66 +149,80 @@ unix{
|
|||
tape.path = $$BINDIR
|
||||
tape.files += $${OUT_PWD}/../tape/$${DESTDIR}/tape
|
||||
|
||||
puzzle.path = $$BINDIR
|
||||
puzzle.files += $${OUT_PWD}/../puzzle/$${DESTDIR}/puzzle
|
||||
|
||||
# .desktop file
|
||||
desktop.path = $$DATADIR/applications/
|
||||
desktop.files += ../../../dist/$${TARGET}.desktop \
|
||||
desktop.files += ../../../dist/tape.desktop
|
||||
desktop.files += ../../../dist/tape.desktop \
|
||||
desktop.files += ../../../dist/puzzle.desktop
|
||||
|
||||
# logo
|
||||
hicolor_48_apps.path = $$DATADIR/icons/hicolor/48x48/apps/
|
||||
hicolor_48_apps.files += \
|
||||
../../../share/icons/48x48/apps/$${TARGET}.png \
|
||||
../../../share/icons/48x48/apps/tape.png
|
||||
../../../share/icons/48x48/apps/tape.png \
|
||||
../../../share/icons/48x48/apps/puzzle.png
|
||||
|
||||
hicolor_48_mimetypes.path = $$DATADIR/icons/hicolor/48x48/mimetypes/
|
||||
hicolor_48_mimetypes.files += \
|
||||
../../../share/icons/48x48/mimetypes/application-x-valentina-pattern.png \
|
||||
../../../share/icons/48x48/mimetypes/application-x-valentina-i-measurements.png \
|
||||
../../../share/icons/48x48/mimetypes/application-x-valentina-s-measurements.png
|
||||
../../../share/icons/48x48/mimetypes/application-x-valentina-s-measurements.png \
|
||||
../../../share/icons/48x48/mimetypes/application-x-valentina-layout.png
|
||||
|
||||
hicolor_64_apps.path = $$DATADIR/icons/hicolor/64x64/apps/
|
||||
hicolor_64_apps.files += \
|
||||
../../../share/icons/64x64/apps/$${TARGET}.png \
|
||||
../../../share/icons/64x64/apps/tape.png
|
||||
../../../share/icons/64x64/apps/tape.png \
|
||||
../../../share/icons/64x64/apps/puzzle.png
|
||||
|
||||
hicolor_64_mimetypes.path = $$DATADIR/icons/hicolor/64x64/mimetypes/
|
||||
hicolor_64_mimetypes.files += \
|
||||
../../../share/icons/64x64/mimetypes/application-x-valentina-pattern.png \
|
||||
../../../share/icons/64x64/mimetypes/application-x-valentina-i-measurements.png \
|
||||
../../../share/icons/64x64/mimetypes/application-x-valentina-s-measurements.png
|
||||
../../../share/icons/64x64/mimetypes/application-x-valentina-s-measurements.png \
|
||||
../../../share/icons/64x64/mimetypes/application-x-valentina-layout.png
|
||||
|
||||
hicolor_128_apps.path = $$DATADIR/icons/hicolor/128x128/apps/
|
||||
hicolor_128_apps.files += \
|
||||
../../../share/icons/128x128/apps/$${TARGET}.png \
|
||||
../../../share/icons/128x128/apps/tape.png
|
||||
../../../share/icons/128x128/apps/tape.png \
|
||||
../../../share/icons/128x128/apps/puzzle.png
|
||||
|
||||
hicolor_128_mimetypes.path = $$DATADIR/icons/hicolor/128x128/mimetypes/
|
||||
hicolor_128_mimetypes.files += \
|
||||
../../../share/icons/128x128/mimetypes/application-x-valentina-pattern.png \
|
||||
../../../share/icons/128x128/mimetypes/application-x-valentina-i-measurements.png \
|
||||
../../../share/icons/128x128/mimetypes/application-x-valentina-s-measurements.png
|
||||
../../../share/icons/128x128/mimetypes/application-x-valentina-s-measurements.png \
|
||||
../../../share/icons/128x128/mimetypes/application-x-valentina-layout.png
|
||||
|
||||
hicolor_256_apps.path = $$DATADIR/icons/hicolor/256x256/apps/
|
||||
hicolor_256_apps.files += \
|
||||
../../../share/icons/256x256/apps/$${TARGET}.png \
|
||||
../../../share/icons/256x256/apps/tape.png
|
||||
../../../share/icons/256x256/apps/tape.png \
|
||||
../../../share/icons/256x256/apps/puzzle.png
|
||||
|
||||
hicolor_256_mimetypes.path = $$DATADIR/icons/hicolor/256x256/mimetypes/
|
||||
hicolor_256_mimetypes.files += \
|
||||
../../../share/icons/256x256/mimetypes/application-x-valentina-pattern.png \
|
||||
../../../share/icons/256x256/mimetypes/application-x-valentina-i-measurements.png \
|
||||
../../../share/icons/256x256/mimetypes/application-x-valentina-s-measurements.png
|
||||
../../../share/icons/256x256/mimetypes/application-x-valentina-s-measurements.png \
|
||||
../../../share/icons/256x256/mimetypes/application-x-valentina-layout.png
|
||||
|
||||
hicolor_512_apps.path = $$DATADIR/icons/hicolor/512x512/apps/
|
||||
hicolor_512_apps.files += \
|
||||
../../../share/icons/512x512/apps/$${TARGET}.png \
|
||||
../../../share/icons/512x512/apps/tape.png
|
||||
../../../share/icons/512x512/apps/tape.png \
|
||||
../../../share/icons/512x512/apps/puzzle.png
|
||||
|
||||
hicolor_512_mimetypes.path = $$DATADIR/icons/hicolor/512x512/mimetypes/
|
||||
hicolor_512_mimetypes.files += \
|
||||
../../../share/icons/512x512/mimetypes/application-x-valentina-pattern.png \
|
||||
../../../share/icons/512x512/mimetypes/application-x-valentina-i-measurements.png \
|
||||
../../../share/icons/512x512/mimetypes/application-x-valentina-s-measurements.png
|
||||
../../../share/icons/512x512/mimetypes/application-x-valentina-s-measurements.png \
|
||||
../../../share/icons/512x512/mimetypes/application-x-valentina-layout.png
|
||||
|
||||
# Path to translation files after installation
|
||||
translations.path = $$PKGDATADIR/translations/
|
||||
|
@ -229,6 +243,7 @@ unix{
|
|||
INSTALLS += \
|
||||
target \
|
||||
tape \
|
||||
puzzle \
|
||||
desktop \
|
||||
hicolor_48_apps \
|
||||
hicolor_48_mimetypes \
|
||||
|
@ -273,6 +288,9 @@ unix{
|
|||
tape.path = $$MACOS_DIR
|
||||
tape.files += $${OUT_PWD}/../tape/$${DESTDIR}/tape.app/$$MACOS_DIR/tape
|
||||
|
||||
puzzle.path = $$MACOS_DIR
|
||||
puzzle.files += $${OUT_PWD}/../puzzle/$${DESTDIR}/puzzle.app/$$MACOS_DIR/puzzle
|
||||
|
||||
# Utility pdftops need for saving a layout image to PS and EPS formates.
|
||||
xpdf.path = $$MACOS_DIR
|
||||
xpdf.files += $${PWD}/../../../dist/macx/bin64/pdftops
|
||||
|
@ -298,6 +316,7 @@ unix{
|
|||
icns_resources.files += $$PWD/../../../dist/macx/i-measurements.icns
|
||||
icns_resources.files += $$PWD/../../../dist/macx/s-measurements.icns
|
||||
icns_resources.files += $$PWD/../../../dist/macx/pattern.icns
|
||||
icns_resources.files += $$PWD/../../../dist/macx/layout.icns
|
||||
|
||||
# Copy to bundle multisize measurements files
|
||||
# We cannot add none exist files to bundle through QMAKE_BUNDLE_DATA. That's why we must do this manually.
|
||||
|
@ -309,6 +328,7 @@ unix{
|
|||
label \
|
||||
libraries \
|
||||
tape \
|
||||
puzzle \
|
||||
xpdf \
|
||||
icns_resources
|
||||
}
|
||||
|
@ -322,11 +342,13 @@ win32:*g++* {
|
|||
package.files += \
|
||||
$${OUT_PWD}/$${DESTDIR}/valentina.exe \
|
||||
$${OUT_PWD}/../tape/$${DESTDIR}/tape.exe \
|
||||
$${OUT_PWD}/../puzzle/$${DESTDIR}/puzzle.exe \
|
||||
$${OUT_PWD}/../tape/$${DESTDIR}/diagrams.rcc \
|
||||
$$PWD/../../../dist/win/valentina.ico \
|
||||
$$PWD/../../../dist/win/i-measurements.ico \
|
||||
$$PWD/../../../dist/win/s-measurements.ico \
|
||||
$$PWD/../../../dist/win/pattern.ico \
|
||||
$$PWD/../../../dist/win/layout.ico \
|
||||
$$PWD/../../../dist/win/pdftops.exe \
|
||||
$$PWD/../../../dist/win/EUDC.TTE \
|
||||
$$PWD/../../../AUTHORS.txt \
|
||||
|
|