Package Details: libtrash 3.4-1

Git Clone URL: https://aur.archlinux.org/libtrash.git (read-only)
Package Base: libtrash
Description: A shared, preloaded library that implements a trash can under Linux
Upstream URL: http://pages.stern.nyu.edu/~marriaga/software/libtrash/
Licenses: GPL
Submitter: td123
Maintainer: juantascon
Last Packager: juantascon
Votes: 9
Popularity: 0.101566
First Submitted: 2011-06-17 02:43
Last Updated: 2018-03-26 15:14

Latest Comments

1 2 Next › Last »

dreieck commented on 2018-03-26 15:06

All versions are also directly accessible on the server, as

http://pages.stern.nyu.edu/~marriaga/software/libtrash/libtrash-{major}.{minor}.tgz

dreieck commented on 2018-03-26 14:39

Upstream released new version with bugs fixed:

http://pages.stern.nyu.edu/~marriaga/software/libtrash/ http://pages.stern.nyu.edu/~marriaga/software/libtrash/libtrash-latest.tgz

Version 3.4 -- please update pkgver and checksums.

dreieck commented on 2018-03-11 14:04

Currently there are some issues with libtrash and LyX and kate (and maybe other QT-programmes), and also with tar -x I had an issue.

https://github.com/termih/libtrash/issues/3 https://github.com/termih/libtrash/issues/2

The author did acknowledge that he got the report and said he will look at it.

juantascon commented on 2016-02-12 02:33

the author replied seems like he deleted a .o from the tarball, and that is why the sums changed, update to reflect this and removed the bash shell script

dreieck commented on 2016-02-09 23:17

There's also some "weird" problem with libtrash and pipes, but it's an upstream bug, I have contacted the author. I wrote a summary on it there: http://unix.stackexchange.com/questions/260756/patch-bad-file-descriptor-in-combination-with-pipe-and-ld-preload-libtrash

dreieck commented on 2016-02-09 23:15

Also, your message in 'libtrash.install' is wrong: By arch linux default, /etc/profile.d/*.sh get sourced regardless of their executable bit if we have a login shell.

The section in /etc/profile, which is responsible for it, looks:

if test -d /etc/profile.d/; then
for profile in /etc/profile.d/*.sh; do
test -r "$profile" && . "$profile"
done
unset profile
fi

--> if it is readable and ends with '.sh', it get's sourced.

juantascon commented on 2016-02-09 23:08

I've contacted the author because I find it weird that the checksum changed because no new version has been released, regarding the script I'll remove it soon in favor of being set manually, more people seem to be moving away from bash and it sounds nuts to support very single shell out there.

dreieck commented on 2016-02-09 23:00

Also, please update libtrash.sh such that it honours already existing LD_PRELOAD. Now it discards everything, but correct behaviour would be to preserve what is already there.

So, do it like this:

export LD_PRELOAD="/usr/lib/libtrash.so:${LD_PRELOAD}"

(Don't forget the double quotes, at least around the variable, but it is no harm to have them around everything)

dreieck commented on 2016-02-09 22:52

sha256sum of upstream has changed. Please update.

juantascon commented on 2015-02-11 15:07

have you tried something like this: UNCOVER_DIRS=/dev mc