summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authortony mancill <tmancill@debian.org>2026-05-04 20:56:26 -0700
committertony mancill <tmancill@debian.org>2026-05-04 20:56:26 -0700
commit968f87a8adf2eadd3a7f4b5000dac88ab0f7dc57 (patch)
treef824c17c62d6d03f9348b51a3ae85256492a8814 /debian/patches
parentc23b939ac13a16e4fa8861a5d2e3053b4d90b512 (diff)
parent35a0b17a46923a56ca7f6dc649868609815c70b1 (diff)
Merge branch 'debian/latest' into debian/trixie-backports
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/allcall7-location45
-rw-r--r--debian/patches/series1
2 files changed, 46 insertions, 0 deletions
diff --git a/debian/patches/allcall7-location b/debian/patches/allcall7-location
new file mode 100644
index 00000000..3464bd94
--- /dev/null
+++ b/debian/patches/allcall7-location
@@ -0,0 +1,45 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1848,13 +1848,8 @@ install (FILES
+ sat.dat
+ contrib/Ephemeris/JPLEPH
+ eclipse.txt
+- DESTINATION ${CMAKE_INSTALL_DATADIR}/${CMAKE_PROJECT_NAME}
+- #COMPONENT runtime
+- )
+-
+-install (FILES
+ ALLCALL7.TXT
+- DESTINATION ${CMAKE_INSTALL_BINDIR}
++ DESTINATION ${CMAKE_INSTALL_DATADIR}/${CMAKE_PROJECT_NAME}
+ #COMPONENT runtime
+ )
+
+--- a/CMakeLists_wsjtx.txt
++++ b/CMakeLists_wsjtx.txt
+@@ -1826,13 +1826,8 @@ install (FILES
+ sat.dat
+ contrib/Ephemeris/JPLEPH
+ eclipse.txt
+- DESTINATION ${CMAKE_INSTALL_DATADIR}/${CMAKE_PROJECT_NAME}
+- #COMPONENT runtime
+- )
+-
+-install (FILES
+ ALLCALL7.TXT
+- DESTINATION ${CMAKE_INSTALL_BINDIR}
++ DESTINATION ${CMAKE_INSTALL_DATADIR}/${CMAKE_PROJECT_NAME}
+ #COMPONENT runtime
+ )
+
+--- a/widgets/mainwindow.cpp
++++ b/widgets/mainwindow.cpp
+@@ -17343,7 +17343,7 @@ void MainWindow::on_actionErase_Ignore_L
+
+ void MainWindow::read_ALLCALL7()
+ {
+- static QFile AllCall7File {"ALLCALL7.TXT"};
++ static QFile AllCall7File {"/usr/share/wsjtx/ALLCALL7.TXT"};
+ QTextStream AllCall7Stream(&AllCall7File);
+ if(AllCall7File.open(QIODevice::ReadOnly | QIODevice::Text)) {
+ while (!AllCall7Stream.atEnd()) {
diff --git a/debian/patches/series b/debian/patches/series
index 465d6cf5..3d3b46d0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -8,3 +8,4 @@
defuse-expiry
install-all-utils
sounds-dir
+allcall7-location