1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
|
Description: Rename tape to valentina-tape
Author: Jonas Smedegaard <<dr@jones.dk>
Forwarded: no
Last-Update: 2019-01-01
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/dist/debian/tape.1
+++ b/dist/debian/tape.1
@@ -1,10 +1,10 @@
.\" Manpage for tape.
.\" Contact dismine@gmail.com to correct errors.
-.TH tape 1 "10 March, 2017" "tape man page"
+.TH valentina-tape 1 "10 March, 2017" "valentina-tape man page"
.SH NAME
-Tape \- Valentina's measurements editor.
+valentina-tape \- Valentina's measurements editor.
.SH SYNOPSIS
-tape [options] file
+valentina-tape [options] file
.SH DESCRIPTION
.B Valentina
is a cross-platform patternmaking program which allows designers
@@ -13,7 +13,7 @@
measurements. It blends new technologies with traditional methods to create
a unique pattern making tool.
-.B Tape
+.B valentina-tape
is a part of Valentina. And used for creating and editing measurement files.
.SH OPTIONS
.IP "-h, --help"
--- a/dist/debian/valentina.1
+++ b/dist/debian/valentina.1
@@ -603,4 +603,4 @@
.SH AUTHOR
.RI "This manual page was written by Roman Telezhynskyi <" dismine@gmail.com ">"
.SH "SEE ALSO"
-.BR tape (1)
+.BR valentina-tape (1)
--- a/src/app/valentina/core/vapplication.cpp
+++ b/src/app/valentina/core/vapplication.cpp
@@ -412,7 +412,7 @@
{
const QString tape = QStringLiteral("tape");
#ifdef Q_OS_WIN
- QFileInfo tapeFile(QCoreApplication::applicationDirPath() + "/" + tape + ".exe");
+ QFileInfo tapeFile(QCoreApplication::applicationDirPath() + "/valentina-" + tape + ".exe");
if (tapeFile.exists())
{
return tapeFile.absoluteFilePath();
@@ -422,7 +422,7 @@
return QCoreApplication::applicationDirPath() + "/../../tape/bin/" + tape + ".exe";
}
#elif defined(Q_OS_MAC)
- QFileInfo tapeFile(QCoreApplication::applicationDirPath() + "/" + tape);
+ QFileInfo tapeFile(QCoreApplication::applicationDirPath() + "/valentina-" + tape);
if (tapeFile.exists())
{
return tapeFile.absoluteFilePath();
@@ -440,7 +440,7 @@
}
}
#else // Unix
- return tape;
+ return "valentina-" + tape;
#endif
}
|