aboutsummaryrefslogtreecommitdiff
path: root/system/rmw
diff options
context:
space:
mode:
authorAndy Alt <andy400-dev@yahoo.com>2018-12-07 23:00:24 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-12-07 23:00:24 +0700
commit3d6809694f058b433d67d96cf42524ec33611f06 (patch)
tree4514f1e2e5f8e778a13bcefe2512ef11ccc571e8 /system/rmw
parent6fac3c27929199f2a4a61408cb0649278321fac1 (diff)
system/rmw: Updated for version 0.7.01.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/rmw')
-rw-r--r--system/rmw/README11
-rw-r--r--system/rmw/README.Slackware107
-rw-r--r--system/rmw/rmw.SlackBuild2
-rw-r--r--system/rmw/rmw.info8
-rw-r--r--system/rmw/slack-desc16
5 files changed, 71 insertions, 73 deletions
diff --git a/system/rmw/README b/system/rmw/README
index 115485abb9b8..201e917723c5 100644
--- a/system/rmw/README
+++ b/system/rmw/README
@@ -1,7 +1,4 @@
-rmw is an OS portable cli trash can utility written in C. It can send
-files to your "Desktop" trash, or a completely separate folder. It can
-also: restore files; permanently delete files that were rmw'ed more
-than xx number of days ago; skip files or directories that have a
-"PROTECT" directive in the configuration file; and append a unique
-string to the filenames so they won't be overwritten (duplication
-protection).
+rmw (ReMove to Waste) is a cross-platform command-line "trash can"
+utility. It can send files to your "Desktop" trash, or a completely
+separate folder; restore files and append a unique string to the
+filenames so they won't be overwritten (duplication protection).
diff --git a/system/rmw/README.Slackware b/system/rmw/README.Slackware
index c7c03d8d8f40..d1e8f1c504a1 100644
--- a/system/rmw/README.Slackware
+++ b/system/rmw/README.Slackware
@@ -1,49 +1,63 @@
-[![Build Status](https://travis-ci.org/theimpossibleastronaut/rmw.svg?branch=master)](https://travis-ci.org/theimpossibleastronaut/rmw)
-[![Build Status](https://semaphoreci.com/api/v1/andy5995/rmw-3/branches/master/badge.svg)](https://semaphoreci.com/andy5995/rmw-3)
+# rmw v0.7.01
-# rmw v0.4.05
+rmw (ReMove to Waste) is a cross-platform command-line "trash can"
+utility. It can send files to your "Desktop" trash, or a completely
+separate folder; restore files and append a unique string to the
+filenames so they won't be overwritten (duplication protection).
-rmw is a cross-platform command-line "trash can" utility. It can send
-files to your "Desktop" trash, or a completely separate folder. It can
-also: restore files; permanently delete files that were rmw'ed more
-than x number of days ago; skip files or directories that have a
-"PROTECT" directive in the configuration file; and append a unique
-string to the filenames so they won't be overwritten (duplication
-protection).
+Web site: https://remove-to-waste.info/
-Web site: https://github.com/theimpossibleastronaut/rmw/wiki
+## Build Status
-Anyone interested in this project is welcome to join the [Matrix chat
-room](https://matrix.to/#/!XeJxcdkywroPaRKKtr:matrix.org).
+* [Travis Build](https://travis-ci.org/theimpossibleastronaut/rmw) ![Build Status](https://travis-ci.org/theimpossibleastronaut/rmw.svg?branch=master)
+* [Semaphore Build](https://semaphoreci.com/andy5995/rmw-3) ![Build Status](https://semaphoreci.com/api/v1/andy5995/rmw-3/branches/master/badge.svg)
-## For Translators
+## Screenshots
-We use Transifex to translate the output messages. To start translating
-rmw, ​create an account in Transifex and ask to join a translation
-team (or create a new one) at
-https://www.transifex.com/na-309/rmw/
+![rmw usage output](https://remove-to-waste.info/images/Screenshot_2018-11-01_21-45-05_911x795.png)
+[More Screenshots](https://remove-to-waste.info/screenshots.html)
+
+## Contact / Support
+
+See website [Help and Support section](https://remove-to-waste.info/#support)
## Required libraries
-libncurses5
+libncursesw
-If you are building from source, you will need the libncurses(5 or 6)-dev
+If you are building from source, you will need the libncursesw(5 or 6)-dev
package from your operating system distribution.
-## Installation
+Note: On OpenBSD, you must precede `./configure` with `MENU_LIBS=-lmenuw`.
+Example:
-### With superuser privileges:
+ MENU_LIBS=-lmenuw ./configure
-Use `./configure --help` to view available compile-time options.
+Note: rmw has been built on Windows 2 years ago using Cygwin but it
+didn't use the proper directories. We have no Windows developers
+working on this project and are hoping that some will join soon!. As
+stated in the description, the goal of this project is a
+"cross-platform" utility; so getting rmw to work reliably on Windows is
+still on the TODO list.
- ./configure
- make
- make install
+## Compiling
### As a normal user:
- ./configure --prefix=$HOME/usr
+Use `../configure --help` to view available compile-time options.
+
+ mkdir build
+ cd build
+ ../configure
+ make
+
+### Installing without superuser privileges
+
+If you would like to install rmw without superuser privileges, use a prefix
+that you have write access to. Example:
+
+ ../configure --prefix=$HOME/usr
make
make install
@@ -75,16 +89,8 @@ Add a tap and install rmw:
If you installed rmw as a normal user, this next step can be skipped.
After rmw is installed, create the user configuration directory by
-typing 'rmw' and hitting enter. Afterward, copy rmwrc to
-$HOME/.config/rmw and rename it to 'config':
-
- cd ~/.config/rmw
- ~/.config/rmw$ cp rmwrc config
-
-Then edit the file to suit your needs.
-
-rmw will automatically create a 'lastpurge' and 'lastrmw' in that same
-directory.
+typing 'rmw' and hitting enter. A configuration file will be
+automatically created in $HOME/.config/rmw. Edit the file as desired.
== Configuration File ==
@@ -116,7 +122,6 @@ Restore FILE(s) from a WASTE directory
-g, --purge run purge even if it's been run today
-o, --orphaned check for orphaned files (maintenance)
-f, --force allow purge to run
--B, --bypass bypass directory protection
-v, --verbose increase output messages
-w, --warranty display warranty
-V, --version display version and license information
@@ -162,30 +167,26 @@ NOTE: That feature will not process wildcards unless the user is in a
<WASTE>/files folder and the filespec actually exists in the present working
directory.
-== Protected directories ==
-
-If 'PROTECT = /home/andy' is specified in the config file, /home/andy, and all
-dirs and files beneath it will be "protected"; they will be skipped, and this
-warning will be displayed:
-
-"File is in protected directory: <filename/dir>"
-
-WASTE folders and the rmw configuration/data directory are protected by
-default (there is no need to add a 'PROTECT =' line for them.
-
-Protection can by bypassed using -B
-
== -t, --translate ==
-If a translation of the configuration file is available in your native
-language is available, it will be displayed.
+A translation of the configuration file in your native
+language (if available) will be displayed.
(If you would be interested in adding a translation, please visit
https://github.com/theimpossibleastronaut/rmw/wiki/Translating)
== -f, --force ==
+
rmw will normally refuse to purge directories if they contain non-writable
subdirectories. You can use -f 2 times if you ever see a message that tells
you "permission denied; directory still contains files" (e.g. rwm -gff).
+## Notes
+
+After you use rmw, it will create a 'lastpurge' and 'lastrmw' file in
+$HOME/config/rmw. `lastpurge` contains the day of the last time rmw did
+a purge check (it only checks once per day). `lastrmw` contains the
+filenames of the last rmw operation; the file is read when `rmw -u` is
+used.
+
```
diff --git a/system/rmw/rmw.SlackBuild b/system/rmw/rmw.SlackBuild
index 3c0ddbdde4bf..1d20a46e0cf2 100644
--- a/system/rmw/rmw.SlackBuild
+++ b/system/rmw/rmw.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=rmw
-VERSION=${VERSION:-0.4.05}
+VERSION=${VERSION:-0.7.01}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
diff --git a/system/rmw/rmw.info b/system/rmw/rmw.info
index 81c3ae9dea10..54fcbb68d778 100644
--- a/system/rmw/rmw.info
+++ b/system/rmw/rmw.info
@@ -1,8 +1,8 @@
PRGNAM="rmw"
-VERSION="0.4.05"
-HOMEPAGE="https://github.com/theimpossibleastronaut/rmw/wiki"
-DOWNLOAD="https://github.com/theimpossibleastronaut/rmw/releases/download/v0.4.05/rmw-0.4.05.tar.gz"
-MD5SUM="6de074da3fcf206c7791d73ff81a70b0"
+VERSION="0.7.01"
+HOMEPAGE="https://remove-to-waste.info/"
+DOWNLOAD="https://github.com/theimpossibleastronaut/rmw/releases/download/v0.7.01/rmw-0.7.01.tar.gz"
+MD5SUM="33cbad38e4feb796b26ac39584f89794"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/system/rmw/slack-desc b/system/rmw/slack-desc
index dee6a3392a59..e041e6399963 100644
--- a/system/rmw/slack-desc
+++ b/system/rmw/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
rmw: rmw (command line trash can/recycle bin)
rmw:
-rmw: rmw is an OS portable cli trash can utility written in C. It can send
-rmw: files to your "Desktop" trash, or a completely separate folder. It
-rmw: can rmw: also: restore files; permanently delete files that were
-rmw: rmw'ed more than xx number of days ago; skip files or directories
-rmw: that have a "PROTECT" directive in the configuration file; and append
-rmw: a unique string to the filenames so they won't be overwritten
-rmw: (duplication protection).
+rmw: ReMove to Waste is a cross-platform command-line "trash can"
+rmw: utility. It can send files to your "Desktop" trash, or a completely
+rmw: separate folder; restore files and append a unique string to the
+rmw: filenames so they won't be overwritten (duplication protection).
+rmw:
+rmw: Homepage: https://remove-to-waste.info/
+rmw:
+rmw:
rmw:
-rmw: Homepage: https://github.com/theimpossibleastronaut/rmw/wiki