pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
qcad: add readme.txt to package & fix menu item
Module Name: pkgsrc-wip
Committed By: Iain Hibbert <plunky%netbsd.org@localhost>
Pushed By: plunky
Date: Thu Aug 4 14:17:41 2016 +0100
Changeset: d74218d6dd21053ff248dc9d27c7e5be6afce65f
Modified Files:
qcad/Makefile
qcad/PLIST
qcad/distinfo
Added Files:
qcad/patches/patch-scripts_Help_ShowReadme_ShowReadme.js
Log Message:
qcad: add readme.txt to package & fix menu item
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d74218d6dd21053ff248dc9d27c7e5be6afce65f
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
qcad/Makefile | 3 ++-
qcad/PLIST | 3 +++
qcad/distinfo | 1 +
qcad/patches/patch-scripts_Help_ShowReadme_ShowReadme.js | 15 +++++++++++++++
4 files changed, 21 insertions(+), 1 deletion(-)
diffs:
diff --git a/qcad/Makefile b/qcad/Makefile
index fcf883f..88889df 100644
--- a/qcad/Makefile
+++ b/qcad/Makefile
@@ -27,6 +27,7 @@ SUBST_CLASSES+= paths
SUBST_STAGE.paths= post-patch
SUBST_MESSAGE.paths= Attending to hard-coded paths.
SUBST_FILES.paths+= shared.pri src/core/RS.cpp src/core/RSettings.cpp
+SUBST_FILES.paths+= scripts/Help/ShowReadme/ShowReadme.js
SUBST_SED.paths= -e 's,@PREFIX@,${PREFIX},g'
# Note: Using pax to install the data files duplicates the lax permissions
@@ -64,7 +65,7 @@ do-install:
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
cd ${WRKSRC} && umask 133 && ${PAX} -rw fonts linetypes patterns \
plugins scripts themes ts ${DESTDIR}${PREFIX}/lib/${PKGBASE}
- cd ${WRKSRC} && umask 133 && ${PAX} -rw examples libraries \
+ cd ${WRKSRC} && umask 133 && ${PAX} -rw readme.txt examples libraries \
${DESTDIR}${PREFIX}/share/${PKGBASE}
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
diff --git a/qcad/PLIST b/qcad/PLIST
index 4ce1006..3db3a31 100644
--- a/qcad/PLIST
+++ b/qcad/PLIST
@@ -8959,6 +8959,7 @@ lib/qcad/scripts/File/ts/File_zh_TW.qm
lib/qcad/scripts/File/ts/File_zh_TW.ts
lib/qcad/scripts/File/ts/ts.pro
lib/qcad/scripts/Help/About/About.js
+lib/qcad/scripts/Help/About/About.js.orig
lib/qcad/scripts/Help/About/About.pro
lib/qcad/scripts/Help/About/AboutCredits.js
lib/qcad/scripts/Help/About/AboutDialog.ui
@@ -9296,6 +9297,7 @@ lib/qcad/scripts/Help/ReportTranslationError/ts/ReportTranslationError_zh_CN.ts
lib/qcad/scripts/Help/ReportTranslationError/ts/ReportTranslationError_zh_TW.qm
lib/qcad/scripts/Help/ReportTranslationError/ts/ReportTranslationError_zh_TW.ts
lib/qcad/scripts/Help/ShowReadme/ShowReadme.js
+lib/qcad/scripts/Help/ShowReadme/ShowReadme.js.orig
lib/qcad/scripts/Help/ShowReadme/ShowReadme.pro
lib/qcad/scripts/Help/ShowReadme/ShowReadmeDialog.ui
lib/qcad/scripts/Help/ShowReadme/ShowReadmeInit.js
@@ -18809,3 +18811,4 @@ share/qcad/libraries/templates/metric/iso_en_a4_metric_portrait_aec.dxf
share/qcad/libraries/templates/metric/iso_en_a4_metric_portrait_aec.rdf
share/qcad/libraries/templates/metric/title_block_80mm_x_80mm.dxf
share/qcad/libraries/templates/metric/title_block_80mm_x_80mm.rdf
+share/qcad/readme.txt
diff --git a/qcad/distinfo b/qcad/distinfo
index e0be6e9..3444520 100644
--- a/qcad/distinfo
+++ b/qcad/distinfo
@@ -6,6 +6,7 @@ SHA512 (qcad-3.15.4.1.zip) = d3d9ae386920ec5102ab8c49c0a3967994dbae0b9b04b256d64
Size (qcad-3.15.4.1.zip) = 37420623 bytes
SHA1 (patch-qcad.1) = 64beab5b4d83e889352d80b64ab09aaa080421c2
SHA1 (patch-scripts_Help_About_About.js) = a0425c9fab1a5828d4ec87eedfffe771c72e5f95
+SHA1 (patch-scripts_Help_ShowReadme_ShowReadme.js) = 499fbae66f8f9c6267da7e7c0011d6caa48bb5d6
SHA1 (patch-shared.pri) = fa940892d1deab185a752cab8e5346a04ba1bf03
SHA1 (patch-shared__app.pri) = e0361f809815691b435d5112ee67e86918a85189
SHA1 (patch-src_3rdparty_dxflib_dxflib.pro) = f16fb28a741a8a99e38adc2faa8037298bd174e2
diff --git a/qcad/patches/patch-scripts_Help_ShowReadme_ShowReadme.js b/qcad/patches/patch-scripts_Help_ShowReadme_ShowReadme.js
new file mode 100644
index 0000000..b849291
--- /dev/null
+++ b/qcad/patches/patch-scripts_Help_ShowReadme_ShowReadme.js
@@ -0,0 +1,15 @@
+$NetBSD$
+
+fix path to file
+
+--- scripts/Help/ShowReadme/ShowReadme.js.orig 2016-07-01 07:13:14.000000000 +0000
++++ scripts/Help/ShowReadme/ShowReadme.js
+@@ -19,7 +19,7 @@
+
+ include("../Help.js");
+
+-ShowReadme.readmeFile = "readme.txt";
++ShowReadme.readmeFile = "@PREFIX@/share/qcad/readme.txt";
+
+ function ShowReadme(guiAction) {
+ Help.call(this, guiAction);
Home |
Main Index |
Thread Index |
Old Index