diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-emacs/mldonkey/files | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
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-vd.patch | 121 |
2 files changed, 139 insertions, 0 deletions
diff --git a/app-emacs/mldonkey/files/50mldonkey-gentoo.el b/app-emacs/mldonkey/files/50mldonkey-gentoo.el new file mode 100644 index 000000000000..c3bb77b43aaa --- /dev/null +++ b/app-emacs/mldonkey/files/50mldonkey-gentoo.el @@ -0,0 +1,18 @@ +(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-vd.patch b/app-emacs/mldonkey/files/mldonkey-0.0.4b-vd.patch new file mode 100644 index 000000000000..a763643f78b2 --- /dev/null +++ b/app-emacs/mldonkey/files/mldonkey-0.0.4b-vd.patch @@ -0,0 +1,121 @@ +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 |