diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:56:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:56:41 +0100 |
commit | d87262dd706fec50cd150aab3e93883b6337466d (patch) | |
tree | 246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-emacs/mldonkey/files | |
parent | 71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-emacs/mldonkey/files')
-rw-r--r-- | app-emacs/mldonkey/files/50mldonkey-gentoo.el | 18 | ||||
-rw-r--r-- | app-emacs/mldonkey/files/mldonkey-0.0.4b-emacs-26.patch | 14 | ||||
-rw-r--r-- | app-emacs/mldonkey/files/mldonkey-0.0.4b-vd.patch | 121 |
3 files changed, 0 insertions, 153 deletions
diff --git a/app-emacs/mldonkey/files/50mldonkey-gentoo.el b/app-emacs/mldonkey/files/50mldonkey-gentoo.el deleted file mode 100644 index c3bb77b43aaa..000000000000 --- a/app-emacs/mldonkey/files/50mldonkey-gentoo.el +++ /dev/null @@ -1,18 +0,0 @@ -(add-to-list 'load-path "@SITELISP@") -(autoload 'mldonkey "mldonkey" "Run the MlDonkey interface." t) - -(setq mldonkey-vd-filename-filters - '(mldonkey-vd-filename-remove-p20 - mldonkey-vd-filename-remove-trailing-ws)) - -(setq mldonkey-vd-sort-functions - '((not mldonkey-vd-sort-dl-state) - (not mldonkey-vd-sort-dl-percent))) - -(setq mldonkey-vd-sort-fin-functions - '(mldonkey-vd-sort-dl-number)) - -(add-hook 'mldonkey-pause-hook 'mldonkey-vd) -(add-hook 'mldonkey-resume-hook 'mldonkey-vd) -(add-hook 'mldonkey-commit-hook 'mldonkey-vd) -(add-hook 'mldonkey-recover-temp-hook 'mldonkey-vd) diff --git a/app-emacs/mldonkey/files/mldonkey-0.0.4b-emacs-26.patch b/app-emacs/mldonkey/files/mldonkey-0.0.4b-emacs-26.patch deleted file mode 100644 index 0548fd96c97f..000000000000 --- a/app-emacs/mldonkey/files/mldonkey-0.0.4b-emacs-26.patch +++ /dev/null @@ -1,14 +0,0 @@ -Fix byte compilation with Emacs 26. -https://bugs.gentoo.org/647638 - ---- mldonkey-el-0.0.4b-orig/mldonkey-vd.el -+++ mldonkey-el-0.0.4b/mldonkey-vd.el -@@ -801,7 +801,7 @@ - (insert "\n"))) - - --(defun mldonkey-vd-insert (&optional ignore-1 &optional ignore-2) -+(defun mldonkey-vd-insert (&optional ignore-1 ignore-2) - - "Insert the table with the downloads in the MlDonkey buffer." - diff --git a/app-emacs/mldonkey/files/mldonkey-0.0.4b-vd.patch b/app-emacs/mldonkey/files/mldonkey-0.0.4b-vd.patch deleted file mode 100644 index a763643f78b2..000000000000 --- a/app-emacs/mldonkey/files/mldonkey-0.0.4b-vd.patch +++ /dev/null @@ -1,121 +0,0 @@ -Patch by Peter Salvi <vukung@yahoo.com> to conform to MLDonkey 2.9.2, -taken from http://www.emacswiki.org/cgi-bin/wiki/download/mldonkey-vd.patch.gz -and ported to mldonkey-0.0.4b - ---- mldonkey-el-0.0.4b-orig/mldonkey-vd.el 2005-01-15 20:54:53.000000000 +0100 -+++ mldonkey-el-0.0.4b/mldonkey-vd.el 2008-01-03 10:53:18.000000000 +0100 -@@ -107,6 +107,26 @@ - :group 'mldonkey - :type 'boolean) - -+(defcustom mldonkey-show-release-status nil -+ "Show the release status of a download." -+ :group 'mldonkey -+ :type 'boolean) -+ -+(defcustom mldonkey-show-comments nil -+ "Show the number of comments in a download." -+ :group 'mldonkey -+ :type 'boolean) -+ -+(defcustom mldonkey-show-user nil -+ "Show the user of a download." -+ :group 'mldonkey -+ :type 'boolean) -+ -+(defcustom mldonkey-show-group nil -+ "Show the group of a download." -+ :group 'mldonkey -+ :type 'boolean) -+ - (defcustom mldonkey-show-filename t - "Show the filename of a download." - :group 'mldonkey -@@ -275,6 +295,14 @@ - ;; FIXME: does a network may contain spaces? - "\\[\\(.*?\\)[ \t]*\\([0-9]+\\)\\]" ; network and number - "[ \t]+" -+ "\\(R\\|\\-\\)" ; release status -+ "[ \t]+" -+ "\\([0-9]+\\)" ; comments -+ "[ \t]+" -+ "\\([^ \t]+\\)" ; user -+ "[ \t]+" -+ "\\([^ \t]+\\)" ; group -+ "[ \t]+" - "\\([^\n]+\\)" ; filename - "[ \t]+" - "\\([0-9\\.]+\\)" ; percent -@@ -283,10 +311,9 @@ - "[ \t]+" - "\\([0-9\\.]+\\(?:gb\\|mb\\|kb\\|b\\)\\)" ; size - "[ \t]+" -- ;; "\\([0-9\\.]+\\(?:gb\\|mb\\|kb\\|b\\|[ \t]*chunks\\)\\)" ; left -- "\\([0-9]+%\\)" ; avail -+ "\\([0-9:\\-]+\\)" ; last seen - "[ \t]+" -- "\\([0-9]+\\):\\([0-9\\-]+\\)" ; age and last seen -+ "\\([0-9:\\-]+\\)" ; age - "[ \t]+" - "\\([0-9]+\\)/\\([0-9]+\\)" ; active sources and total sources - "[ \t]+" -@@ -454,7 +481,7 @@ - (setq mldonkey-vd-num-downloading (1+ mldonkey-vd-num-downloading)) - (add-to-list - 'mldonkey-vd-downloading-list -- (vconcat (mapcar 'mldonkey-vd-get-match (number-sequence 1 13)))))) -+ (vconcat (mapcar 'mldonkey-vd-get-match (number-sequence 1 16)))))) - - - (defun mldonkey-vd-get-finished () -@@ -523,13 +550,16 @@ - - (vector "net " - "# " -+ "rel " -+ "com " -+ "user " -+ "gr " - "file " - "% " - "down " - "size " -- "av " -- "a " - "l " -+ "a " - "as " - "ts " - "kb/s " -@@ -553,8 +583,11 @@ - - (vector 'right - 'right -- 'left -+ 'right - 'right -+ 'left -+ 'left -+ 'left - 'right - 'right - 'right -@@ -584,13 +617,16 @@ - - (vector mldonkey-show-network - mldonkey-show-number -+ mldonkey-show-release-status -+ mldonkey-show-comments -+ mldonkey-show-user -+ mldonkey-show-group - mldonkey-show-filename - mldonkey-show-percent - mldonkey-show-downloaded - mldonkey-show-size -- mldonkey-show-avail -- mldonkey-show-days - mldonkey-show-last-seen -+ mldonkey-show-days - mldonkey-show-active-sources - mldonkey-show-total-sources - mldonkey-show-rate |