Update to 0.4.0.

Changelog at
<https://sourceforge.net/project/shownotes.php?release_id=456317>.
This commit is contained in:
Thierry Thomas 2006-10-31 22:03:34 +00:00
parent c7d187c791
commit 42be1f8869
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=175950
8 changed files with 120 additions and 70 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= rkward
PORTVERSION= 0.3.7
PORTVERSION= 0.4.0
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

View file

@ -1,3 +1,3 @@
MD5 (rkward-0.3.7.tar.gz) = af80a7fb17b1a9b4d79974d317a81029
SHA256 (rkward-0.3.7.tar.gz) = 6b0430a10b446fe4585d4aedc3c481e2c2ed582f81183b73645524b46d965366
SIZE (rkward-0.3.7.tar.gz) = 1289882
MD5 (rkward-0.4.0.tar.gz) = d12e5ec4772b25e040671a526b80ba01
SHA256 (rkward-0.4.0.tar.gz) = 93615a49d805d6a58ac0912ea680d5f73acc363e19af9962c81fec157d2acc13
SIZE (rkward-0.4.0.tar.gz) = 1280753

View file

@ -1,31 +0,0 @@
--- rkward/dialogs/rkloadlibsdialog.cpp.orig Mon Sep 11 00:59:43 2006
+++ rkward/dialogs/rkloadlibsdialog.cpp Sun Sep 17 22:27:38 2006
@@ -38,6 +38,14 @@
#include "../debug.h"
+#ifdef __FreeBSD__
+# include <sys/types.h>
+# include <unistd.h>
+# include <pwd.h>
+
+ struct passwd *passe;
+#endif
+
#define GET_CURRENT_LIBLOCS_COMMAND 1
RKLoadLibsDialog::RKLoadLibsDialog (QWidget *parent, RCommandChain *chain, bool modal) : KDialogBase (KDialogBase::Tabbed, Qt::WStyle_DialogBorder, parent, 0, modal, i18n ("Configure Packages"), KDialogBase::Ok | KDialogBase::Apply | KDialogBase::Cancel | KDialogBase::User1) {
@@ -166,7 +174,12 @@
QTextStream stream (&file);
stream << "options (repos=" + repos_string + ")\n" + command_string;
if (as_root) {
- stream << QString ("system (\"chown ") + cuserid (0) + " " + QDir (RKSettingsModuleGeneral::filesPath ()).filePath ("package_archive") + "/*\")\n";
+ #ifdef __FreeBSD__
+ passe = getpwuid((uid_t) 0);
+ stream << QString ("system (\"chown ") + passe->pw_name + " " + QDir (RKSettingsModuleGeneral::filesPath ()).filePath ("package_archive") + "/*\")\n";
+ #else
+ stream << QString ("system (\"chown ") + cuserid (0) + " " + QDir (RKSettingsModuleGeneral::filesPath ()).filePath ("package_archive") + "/*\")\n";
+ #endif
}
stream << "q ()\n";
file.close();

View file

@ -25,20 +25,60 @@ share/apps/rkward/corr_matrix/code.php
share/apps/rkward/corr_matrix/description.xml
share/apps/rkward/detachedwindowcontainer.rc
share/apps/rkward/distributions.pluginmap
share/apps/rkward/distributions/beta_probabilities.php
share/apps/rkward/distributions/beta_probabilities.xml
share/apps/rkward/distributions/beta_quantiles.php
share/apps/rkward/distributions/beta_quantiles.xml
share/apps/rkward/distributions/binomial_probabilities.php
share/apps/rkward/distributions/binomial_probabilities.xml
share/apps/rkward/distributions/binomial_quantiles.php
share/apps/rkward/distributions/binomial_quantiles.xml
share/apps/rkward/distributions/binomial_tail_probabilities.php
share/apps/rkward/distributions/binomial_tail_probabilities.xml
share/apps/rkward/distributions/cauchy_probabilities.php
share/apps/rkward/distributions/cauchy_probabilities.xml
share/apps/rkward/distributions/cauchy_quantiles.php
share/apps/rkward/distributions/cauchy_quantiles.xml
share/apps/rkward/distributions/chi_squared_probabilities.php
share/apps/rkward/distributions/chi_squared_probabilities.xml
share/apps/rkward/distributions/chi_squared_quantiles.php
share/apps/rkward/distributions/chi_squared_quantiles.xml
share/apps/rkward/distributions/exponential_probabilities.php
share/apps/rkward/distributions/exponential_probabilities.xml
share/apps/rkward/distributions/exponential_quantiles.php
share/apps/rkward/distributions/exponential_quantiles.xml
share/apps/rkward/distributions/f_probabilities.php
share/apps/rkward/distributions/f_probabilities.xml
share/apps/rkward/distributions/f_quantiles.php
share/apps/rkward/distributions/f_quantiles.xml
share/apps/rkward/distributions/gamma_probabilities.php
share/apps/rkward/distributions/gamma_probabilities.xml
share/apps/rkward/distributions/gamma_quantiles.php
share/apps/rkward/distributions/gamma_quantiles.xml
share/apps/rkward/distributions/geom_probabilities.php
share/apps/rkward/distributions/geom_probabilities.xml
share/apps/rkward/distributions/geom_quantiles.php
share/apps/rkward/distributions/geom_quantiles.xml
share/apps/rkward/distributions/gumbel_probabilities.php
share/apps/rkward/distributions/gumbel_probabilities.xml
share/apps/rkward/distributions/gumbel_quantiles.php
share/apps/rkward/distributions/gumbel_quantiles.xml
share/apps/rkward/distributions/hypergeometric_probabilities.php
share/apps/rkward/distributions/hypergeometric_probabilities.xml
share/apps/rkward/distributions/hypergeometric_quantiles.php
share/apps/rkward/distributions/hypergeometric_quantiles.xml
share/apps/rkward/distributions/log_normal_probabilities.php
share/apps/rkward/distributions/log_normal_probabilities.xml
share/apps/rkward/distributions/log_normal_quantiles.php
share/apps/rkward/distributions/log_normal_quantiles.xml
share/apps/rkward/distributions/logistic_probabilities.php
share/apps/rkward/distributions/logistic_probabilities.xml
share/apps/rkward/distributions/logistic_quantiles.php
share/apps/rkward/distributions/logistic_quantiles.xml
share/apps/rkward/distributions/negative_binomial_probabilities.php
share/apps/rkward/distributions/negative_binomial_probabilities.xml
share/apps/rkward/distributions/negative_binomial_quantiles.php
share/apps/rkward/distributions/negative_binomial_quantiles.xml
share/apps/rkward/distributions/normal_probabilities.php
share/apps/rkward/distributions/normal_probabilities.xml
share/apps/rkward/distributions/normal_quantiles.php
@ -57,10 +97,26 @@ share/apps/rkward/distributions/plot_t_distribution.php
share/apps/rkward/distributions/plot_t_distribution.xml
share/apps/rkward/distributions/poisson_probabilities.php
share/apps/rkward/distributions/poisson_probabilities.xml
share/apps/rkward/distributions/poisson_quantiles.php
share/apps/rkward/distributions/poisson_quantiles.xml
share/apps/rkward/distributions/t_probabilities.php
share/apps/rkward/distributions/t_probabilities.xml
share/apps/rkward/distributions/t_quantiles.php
share/apps/rkward/distributions/t_quantiles.xml
share/apps/rkward/distributions/uniform_probabilities.php
share/apps/rkward/distributions/uniform_probabilities.xml
share/apps/rkward/distributions/uniform_quantiles.php
share/apps/rkward/distributions/uniform_quantiles.xml
share/apps/rkward/distributions/weibull_probabilities.php
share/apps/rkward/distributions/weibull_probabilities.xml
share/apps/rkward/distributions/weibull_quantiles.php
share/apps/rkward/distributions/weibull_quantiles.xml
share/apps/rkward/distributions/wilcoxon_probabilities.php
share/apps/rkward/distributions/wilcoxon_probabilities.xml
share/apps/rkward/distributions/wilcoxon_quantiles.php
share/apps/rkward/distributions/wilcoxon_quantiles.xml
share/apps/rkward/icons/function.png
share/apps/rkward/icons/list.png
share/apps/rkward/icons/rkward_logo.png
share/apps/rkward/phpfiles/common.php
share/apps/rkward/plots.pluginmap

View file

@ -6,7 +6,7 @@
#
PORTNAME= rkward
PORTVERSION= 0.3.7
PORTVERSION= 0.4.0
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

View file

@ -1,3 +1,3 @@
MD5 (rkward-0.3.7.tar.gz) = af80a7fb17b1a9b4d79974d317a81029
SHA256 (rkward-0.3.7.tar.gz) = 6b0430a10b446fe4585d4aedc3c481e2c2ed582f81183b73645524b46d965366
SIZE (rkward-0.3.7.tar.gz) = 1289882
MD5 (rkward-0.4.0.tar.gz) = d12e5ec4772b25e040671a526b80ba01
SHA256 (rkward-0.4.0.tar.gz) = 93615a49d805d6a58ac0912ea680d5f73acc363e19af9962c81fec157d2acc13
SIZE (rkward-0.4.0.tar.gz) = 1280753

View file

@ -1,31 +0,0 @@
--- rkward/dialogs/rkloadlibsdialog.cpp.orig Mon Sep 11 00:59:43 2006
+++ rkward/dialogs/rkloadlibsdialog.cpp Sun Sep 17 22:27:38 2006
@@ -38,6 +38,14 @@
#include "../debug.h"
+#ifdef __FreeBSD__
+# include <sys/types.h>
+# include <unistd.h>
+# include <pwd.h>
+
+ struct passwd *passe;
+#endif
+
#define GET_CURRENT_LIBLOCS_COMMAND 1
RKLoadLibsDialog::RKLoadLibsDialog (QWidget *parent, RCommandChain *chain, bool modal) : KDialogBase (KDialogBase::Tabbed, Qt::WStyle_DialogBorder, parent, 0, modal, i18n ("Configure Packages"), KDialogBase::Ok | KDialogBase::Apply | KDialogBase::Cancel | KDialogBase::User1) {
@@ -166,7 +174,12 @@
QTextStream stream (&file);
stream << "options (repos=" + repos_string + ")\n" + command_string;
if (as_root) {
- stream << QString ("system (\"chown ") + cuserid (0) + " " + QDir (RKSettingsModuleGeneral::filesPath ()).filePath ("package_archive") + "/*\")\n";
+ #ifdef __FreeBSD__
+ passe = getpwuid((uid_t) 0);
+ stream << QString ("system (\"chown ") + passe->pw_name + " " + QDir (RKSettingsModuleGeneral::filesPath ()).filePath ("package_archive") + "/*\")\n";
+ #else
+ stream << QString ("system (\"chown ") + cuserid (0) + " " + QDir (RKSettingsModuleGeneral::filesPath ()).filePath ("package_archive") + "/*\")\n";
+ #endif
}
stream << "q ()\n";
file.close();

View file

@ -25,20 +25,60 @@ share/apps/rkward/corr_matrix/code.php
share/apps/rkward/corr_matrix/description.xml
share/apps/rkward/detachedwindowcontainer.rc
share/apps/rkward/distributions.pluginmap
share/apps/rkward/distributions/beta_probabilities.php
share/apps/rkward/distributions/beta_probabilities.xml
share/apps/rkward/distributions/beta_quantiles.php
share/apps/rkward/distributions/beta_quantiles.xml
share/apps/rkward/distributions/binomial_probabilities.php
share/apps/rkward/distributions/binomial_probabilities.xml
share/apps/rkward/distributions/binomial_quantiles.php
share/apps/rkward/distributions/binomial_quantiles.xml
share/apps/rkward/distributions/binomial_tail_probabilities.php
share/apps/rkward/distributions/binomial_tail_probabilities.xml
share/apps/rkward/distributions/cauchy_probabilities.php
share/apps/rkward/distributions/cauchy_probabilities.xml
share/apps/rkward/distributions/cauchy_quantiles.php
share/apps/rkward/distributions/cauchy_quantiles.xml
share/apps/rkward/distributions/chi_squared_probabilities.php
share/apps/rkward/distributions/chi_squared_probabilities.xml
share/apps/rkward/distributions/chi_squared_quantiles.php
share/apps/rkward/distributions/chi_squared_quantiles.xml
share/apps/rkward/distributions/exponential_probabilities.php
share/apps/rkward/distributions/exponential_probabilities.xml
share/apps/rkward/distributions/exponential_quantiles.php
share/apps/rkward/distributions/exponential_quantiles.xml
share/apps/rkward/distributions/f_probabilities.php
share/apps/rkward/distributions/f_probabilities.xml
share/apps/rkward/distributions/f_quantiles.php
share/apps/rkward/distributions/f_quantiles.xml
share/apps/rkward/distributions/gamma_probabilities.php
share/apps/rkward/distributions/gamma_probabilities.xml
share/apps/rkward/distributions/gamma_quantiles.php
share/apps/rkward/distributions/gamma_quantiles.xml
share/apps/rkward/distributions/geom_probabilities.php
share/apps/rkward/distributions/geom_probabilities.xml
share/apps/rkward/distributions/geom_quantiles.php
share/apps/rkward/distributions/geom_quantiles.xml
share/apps/rkward/distributions/gumbel_probabilities.php
share/apps/rkward/distributions/gumbel_probabilities.xml
share/apps/rkward/distributions/gumbel_quantiles.php
share/apps/rkward/distributions/gumbel_quantiles.xml
share/apps/rkward/distributions/hypergeometric_probabilities.php
share/apps/rkward/distributions/hypergeometric_probabilities.xml
share/apps/rkward/distributions/hypergeometric_quantiles.php
share/apps/rkward/distributions/hypergeometric_quantiles.xml
share/apps/rkward/distributions/log_normal_probabilities.php
share/apps/rkward/distributions/log_normal_probabilities.xml
share/apps/rkward/distributions/log_normal_quantiles.php
share/apps/rkward/distributions/log_normal_quantiles.xml
share/apps/rkward/distributions/logistic_probabilities.php
share/apps/rkward/distributions/logistic_probabilities.xml
share/apps/rkward/distributions/logistic_quantiles.php
share/apps/rkward/distributions/logistic_quantiles.xml
share/apps/rkward/distributions/negative_binomial_probabilities.php
share/apps/rkward/distributions/negative_binomial_probabilities.xml
share/apps/rkward/distributions/negative_binomial_quantiles.php
share/apps/rkward/distributions/negative_binomial_quantiles.xml
share/apps/rkward/distributions/normal_probabilities.php
share/apps/rkward/distributions/normal_probabilities.xml
share/apps/rkward/distributions/normal_quantiles.php
@ -57,10 +97,26 @@ share/apps/rkward/distributions/plot_t_distribution.php
share/apps/rkward/distributions/plot_t_distribution.xml
share/apps/rkward/distributions/poisson_probabilities.php
share/apps/rkward/distributions/poisson_probabilities.xml
share/apps/rkward/distributions/poisson_quantiles.php
share/apps/rkward/distributions/poisson_quantiles.xml
share/apps/rkward/distributions/t_probabilities.php
share/apps/rkward/distributions/t_probabilities.xml
share/apps/rkward/distributions/t_quantiles.php
share/apps/rkward/distributions/t_quantiles.xml
share/apps/rkward/distributions/uniform_probabilities.php
share/apps/rkward/distributions/uniform_probabilities.xml
share/apps/rkward/distributions/uniform_quantiles.php
share/apps/rkward/distributions/uniform_quantiles.xml
share/apps/rkward/distributions/weibull_probabilities.php
share/apps/rkward/distributions/weibull_probabilities.xml
share/apps/rkward/distributions/weibull_quantiles.php
share/apps/rkward/distributions/weibull_quantiles.xml
share/apps/rkward/distributions/wilcoxon_probabilities.php
share/apps/rkward/distributions/wilcoxon_probabilities.xml
share/apps/rkward/distributions/wilcoxon_quantiles.php
share/apps/rkward/distributions/wilcoxon_quantiles.xml
share/apps/rkward/icons/function.png
share/apps/rkward/icons/list.png
share/apps/rkward/icons/rkward_logo.png
share/apps/rkward/phpfiles/common.php
share/apps/rkward/plots.pluginmap