Rename .desktop file names to reverse DNS convention.
This commit is contained in:
parent
1b2143e026
commit
56850aef55
2
dist/AppImage/appimage.yml
vendored
2
dist/AppImage/appimage.yml
vendored
|
@ -66,6 +66,6 @@ script:
|
|||
# bundle icu's data
|
||||
- mkdir -p $BUILD_APPDIR/usr/share/icu
|
||||
- cp /usr/share/icu/*/icudt*.dat $BUILD_APPDIR/usr/share/icu/
|
||||
- linuxdeployqt $BUILD_APPDIR/usr/share/applications/valentina.desktop -bundle-non-qt-libs -verbose=2 -no-strip
|
||||
- linuxdeployqt $BUILD_APPDIR/usr/share/applications/ua.com.smart-pattern.valentina.desktop -bundle-non-qt-libs -verbose=2 -no-strip
|
||||
# Show what we have done
|
||||
- find $BUILD_APPDIR/
|
||||
|
|
6
dist/rpm/valentina.spec
vendored
6
dist/rpm/valentina.spec
vendored
|
@ -216,9 +216,9 @@ fi
|
|||
%dir %{_datadir}/mime/
|
||||
%dir %{_datadir}/mime/packages/
|
||||
%{_datadir}/mime/packages/%{name}.xml
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/applications/tape.desktop
|
||||
%{_datadir}/applications/puzzle.desktop
|
||||
%{_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}/icons/hicolor
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ VApp {
|
|||
name: "freedesktop"
|
||||
prefix: FileInfo.joinPaths(project.sourceDirectory, "dist", FileInfo.pathSeparator())
|
||||
files: [
|
||||
product.targetName + ".desktop"
|
||||
"ua.com.smart-pattern." + product.targetName + ".desktop"
|
||||
]
|
||||
}
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ auto main(int argc, char *argv[]) -> int
|
|||
app.InitOptions();
|
||||
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 7, 0)
|
||||
app.setDesktopFileName("puzzle.desktop");
|
||||
VPApplication::setDesktopFileName(QStringLiteral("ua.com.smart-pattern.puzzle.desktop"));
|
||||
#endif
|
||||
|
||||
QTimer::singleShot(0, &app, &VPApplication::ProcessCMD);
|
||||
|
|
|
@ -69,7 +69,7 @@ auto main(int argc, char *argv[]) -> int
|
|||
app.InitOptions();
|
||||
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 7, 0)
|
||||
app.setDesktopFileName("tape.desktop");
|
||||
MApplication::setDesktopFileName(QStringLiteral("ua.com.smart-pattern.tape.desktop"));
|
||||
#endif
|
||||
|
||||
QTimer::singleShot(0, &app, &MApplication::ProcessCMD);
|
||||
|
|
|
@ -81,7 +81,7 @@ auto main(int argc, char *argv[]) -> int
|
|||
app.InitOptions();
|
||||
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 7, 0)
|
||||
app.setDesktopFileName("valentina.desktop");
|
||||
VApplication::setDesktopFileName(QStringLiteral("ua.com.smart-pattern.valentina.desktop"));
|
||||
#endif
|
||||
|
||||
if (VApplication::IsGUIMode() && VAbstractApplication::VApp()->Settings()->IsAutomaticallyCheckUpdates())
|
||||
|
|
|
@ -154,9 +154,9 @@ unix{
|
|||
|
||||
# .desktop file
|
||||
desktop.path = $$DATADIR/applications/
|
||||
desktop.files += ../../../dist/$${TARGET}.desktop \
|
||||
desktop.files += ../../../dist/tape.desktop \
|
||||
desktop.files += ../../../dist/puzzle.desktop
|
||||
desktop.files += ../../../dist/ua.com.smart-pattern.$${TARGET}.desktop \
|
||||
desktop.files += ../../../dist/ua.com.smart-pattern.tape.desktop \
|
||||
desktop.files += ../../../dist/ua.com.smart-pattern.puzzle.desktop
|
||||
|
||||
# logo
|
||||
hicolor_48_apps.path = $$DATADIR/icons/hicolor/48x48/apps/
|
||||
|
|
Loading…
Reference in New Issue
Block a user