diff --git a/README.txt b/README.txt index 7063a24fd..e4ea2ef14 100644 --- a/README.txt +++ b/README.txt @@ -5,7 +5,7 @@ Valentina Web page: https://smart-pattern.com.ua/ Wiki: https://wiki.valentinaproject.org Valentina main repository: https://gitlab.com/smart-pattern/valentina PPA for Ubuntu (develop): https://launchpad.net/~dismine/+archive/valentina-dev -Help translate https://www.transifex.com/organization/valentina +Help translate https://explore.transifex.com/valentina/valentina-project/ Valentina ========== diff --git a/dist/debian/valentina.install b/dist/debian/valentina.install index a933781e9..4734c7908 100644 --- a/dist/debian/valentina.install +++ b/dist/debian/valentina.install @@ -16,3 +16,4 @@ usr/share/icons/hicolor/256x256/mimetypes/* usr/share/icons/hicolor/512x512/apps/* usr/share/icons/hicolor/512x512/mimetypes/* usr/share/applications/* +usr/share/metainfo/* diff --git a/dist/rpm/valentina.spec b/dist/rpm/valentina.spec index 2fe5e489a..ff2609d98 100644 --- a/dist/rpm/valentina.spec +++ b/dist/rpm/valentina.spec @@ -23,6 +23,9 @@ BuildRequires: qt5-qtxmlpatterns-devel >= 5.4.0 BuildRequires: qt5-qtsvg-devel >= 5.4.0 BuildRequires: qt5-qttools-devel >= 5.4.0 +BuildRequires: desktop-file-utils +BuildRequires: libappstream-glib + Requires: qt5-qtsvg >= 5.4.0 Requires: qt5-qtbase-gui >= 5.4.0 Requires: qt5-qtxmlpatterns >= 5.4.0 @@ -172,6 +175,12 @@ cp dist/debian/valentina.mime dist/debian/%{name} && %suse_update_desktop_file -r puzzle Utility Applet %endif +%check +appstream-util validate-relax --nonet "%{buildroot}%{_datadir}/metainfo/ua.com.smart-pattern.valentina.metainfo.xml" +desktop-file-validate %{buildroot}%{_datadir}/applications/ua.com.smart-pattern.valentina.desktop +desktop-file-validate %{buildroot}%{_datadir}/applications/ua.com.smart-pattern.tape.desktop +desktop-file-validate %{buildroot}%{_datadir}/applications/ua.com.smart-pattern.puzzle.desktop + %post /sbin/ldconfig update-desktop-database &> /dev/null ||: @@ -219,6 +228,7 @@ fi %{_datadir}/applications/ua.com.smart-pattern.valentina.desktop %{_datadir}/applications/ua.com.smart-pattern.tape.desktop %{_datadir}/applications/ua.com.smart-pattern.puzzle.desktop +%{_datadir}/metainfo/ua.com.smart-pattern.valentina.metainfo.xml %{_datadir}/icons/hicolor diff --git a/dist/ua.com.smart-pattern.valentina.metainfo.xml b/dist/ua.com.smart-pattern.valentina.metainfo.xml new file mode 100644 index 000000000..4010d1569 --- /dev/null +++ b/dist/ua.com.smart-pattern.valentina.metainfo.xml @@ -0,0 +1,95 @@ + + + + ua.com.smart-pattern.valentina.desktop + ua.com.smart-pattern.valentina.desktop + Valentina + Provides a cross-platform patternmaking program which allows designers to create and model patterns of clothing + CC0-1.0 + GPL-3.0-or-later + +

+ 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. +

+
+ + Graphics + + https://smart-pattern.com.ua/valentina/download/ + https://gitlab.com/smart-pattern/valentina/-/issues + https://explore.transifex.com/valentina/valentina-project/ + https://smart-pattern.com.ua/contact/ + https://gitlab.com/smart-pattern/valentina + https://smart-pattern.com.ua/valentina/contribute/ + Roman Telezhynskyi + contact@smart-pattern.com.ua + + + + +

+ This is a development release in the 0.7 series. +

+
    +
  • Fix layout sheet export with empty name.
  • +
  • Fix visualization for tool Point from circle and tangent.
  • +
  • Fix loading background image.
  • +
  • Puzzle: message "Invalid version: Max supported version 0.1.2" when opening 0.1.1 file in Val 0.7.52.
  • +
  • Fix export measurement separator to CSV.
  • +
  • Fix option Hide labels.
  • +
  • Improve segmenting a curve for calculating a piece path.
  • +
  • [smart-pattern/valentina#184] Fix incorrect seam allowance.
  • +
  • Export area of piece in Final measurements.
  • +
  • New option Show accuracy radius.
  • +
  • New option Interactive tools.
  • +
  • Improve error messages while import CSV data.
  • +
  • Fix regression in dialog Known measurements.
  • +
+
+ + valentina#187 + valentina#189 + +
+
+ + +

+ This is a development release in the 0.7 series. +

+
    +
  • Fix crash when default locale is ru.
  • +
  • Puzzle app. Fix incorrect update of a layout piece.
  • +
  • Fix visualization for tool Point of intersection line and axis.
  • +
  • Improved curve segment warnings.
  • +
  • Tape app. Add action Add separator to menu.
  • +
  • Tape app. Fix crash after switching language.
  • +
  • Fix Valentina app crash after canceling a tool.
  • +
  • Puzzle app. Fix reading a piece name.
  • +
  • Fix warning while segmenting flipped arc.
  • +
  • Tape app. "Export from existing ..." now supports multisize measurements.
  • +
  • Fix main path validation. False positive double curve.
  • +
  • Fix Setup multisize measurements dialog. Improved handling Height dimension.
  • +
  • Fix updating dimension labels in Valentina app.
  • +
  • Fix menu on Mac OS X.
  • +
  • Add function's argument template with name in the Formula Wizard.
  • +
  • Unit type for increments.
  • +
  • Support for options Force Flipping and Forbid Flipping in Puzzle.
  • +
  • Remember selected dimension values.
  • +
  • Fix segmenting a simple curve.
  • +
  • Fix export tiled pdf on Mac OS.
  • +
  • Improve visualization for tools.
  • +
  • Fix calculating an elliptical arc.
  • +
  • Enable Approximation scale option for Elliptical arc.
  • +
  • Fix bug in seam allowance.
  • +
  • Allow resizing Spline path dialog.
  • +
  • Improve highlighting file in file browser for Linux.
  • +
+
+
+ +
diff --git a/qbs/imports/VToolApp.qbs b/qbs/imports/VToolApp.qbs index 762fe5e6a..9631bd027 100644 --- a/qbs/imports/VToolApp.qbs +++ b/qbs/imports/VToolApp.qbs @@ -25,8 +25,7 @@ VApp { name: "freedesktop" prefix: FileInfo.joinPaths(project.sourceDirectory, "dist", FileInfo.pathSeparator()) files: [ - "ua.com.smart-pattern." + product.targetName + ".desktop", - "ua.com.smart-pattern." + product.targetName + ".metainfo.xml" + "ua.com.smart-pattern." + product.targetName + ".desktop" ] } diff --git a/src/app/valentina/valentina.pro b/src/app/valentina/valentina.pro index bc2fbc4b4..c27b3581d 100644 --- a/src/app/valentina/valentina.pro +++ b/src/app/valentina/valentina.pro @@ -158,6 +158,10 @@ unix{ desktop.files += ../../../dist/ua.com.smart-pattern.tape.desktop \ desktop.files += ../../../dist/ua.com.smart-pattern.puzzle.desktop + # .metainfo.xml file + metainfo.path = $$DATADIR/metainfo/ + metainfo.files += ../../../dist/ua.com.smart-pattern.$${TARGET}.metainfo.xml + # logo hicolor_48_apps.path = $$DATADIR/icons/hicolor/48x48/apps/ hicolor_48_apps.files += \ @@ -245,6 +249,7 @@ unix{ tape \ puzzle \ desktop \ + metainfo \ hicolor_48_apps \ hicolor_48_mimetypes \ hicolor_64_apps \ diff --git a/src/app/valentina/valentina.qbs b/src/app/valentina/valentina.qbs index 5e075e809..3451b3487 100644 --- a/src/app/valentina/valentina.qbs +++ b/src/app/valentina/valentina.qbs @@ -209,6 +209,14 @@ VToolApp { qbs.installDir: buildconfig.installBinaryPath } + Group { + name: "freedesktop" + prefix: FileInfo.joinPaths(project.sourceDirectory, "dist", FileInfo.pathSeparator()) + files: [ + "ua.com.smart-pattern." + product.targetName + ".metainfo.xml" + ] + } + Group { name: "48x48/apps" prefix: FileInfo.joinPaths(project.sourceDirectory, "share", "icons", "48x48", "apps", FileInfo.pathSeparator())