Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108127 - sys-libs/libtrash-2.4 (Version Bump, New Ebuild)
Summary: sys-libs/libtrash-2.4 (Version Bump, New Ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: MATSUU Takuto (RETIRED)
URL: http://pages.stern.nyu.edu/~marriaga/...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2005-10-04 15:12 UTC by Peter Hyman
Modified: 2005-11-04 21:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
sys-libs/libtrash-2.4.ebuild (libtrash-2.4.ebuild,1.73 KB, text/plain)
2005-10-04 15:12 UTC, Peter Hyman
Details
patch file required in the files directory (01_all_libtrash-2.4-install-fix.patch,2.57 KB, patch)
2005-10-04 15:13 UTC, Peter Hyman
Details | Diff
cleanTrash.cron (cleanTrash.cron,200 bytes, text/plain)
2005-10-04 15:13 UTC, Peter Hyman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Hyman 2005-10-04 15:12:11 UTC
Update to the trash manager. Note, NEW home page and download location. Also,
made small changes to the ebuild and removed its use of the $get_libdir variable
and updated patch file to conform to the new version. In addition, I added code
to install the strash program which had been included but not installed by prior
ebuilds. HTH
Comment 1 Peter Hyman 2005-10-04 15:12:52 UTC
Created attachment 69882 [details]
sys-libs/libtrash-2.4.ebuild
Comment 2 Peter Hyman 2005-10-04 15:13:24 UTC
Created attachment 69883 [details, diff]
patch file required in the files directory
Comment 3 Peter Hyman 2005-10-04 15:13:58 UTC
Created attachment 69884 [details]
cleanTrash.cron

same file included with the 2.2 ebuild. Simple enough :)
Comment 4 MATSUU Takuto (RETIRED) gentoo-dev 2005-10-08 04:00:22 UTC
hmm, I think that TRASH_DIR should be set '/.Trash' (GNOME).
do you have any reason of '/Trash'?
Comment 5 Peter Hyman 2005-10-08 04:53:26 UTC
(In reply to comment #4)
> hmm, I think that TRASH_DIR should be set '/.Trash' (GNOME).
> do you have any reason of '/Trash'?
> 

Well, it's because in the libtrash.conf file, the default TRASH_CAN location is
~/Trash. This was not changed in either libtrash 2.2 or this version. The
TRASH_DIR you refer to is only for the cleanup program ct2.pl which needs that
variable set to the same value as wherever the Trash can is. This program is
INACTIVE after ebuild install, since the cron file is completely commented out.

Remember, the cleanup scripts were written by others, not the author. So they
probably left in their own defaults in the code. The documentation _DOES_ say to
look at the top of the scripts to change defaults. In addition, the user can
create a ~/.libtrash file to override any of the compiled in defaults.

I kind of like the idea of having a Window-Manager-Neutral Trash can approach.
What if the user uses Enlightenment or Rox? There is no specified trash location
-- nothing to overwrite or conflict with. I do NOT like the idea of making it
hidden.

If you do change, you will need to change libtrash.conf also to make sure all
trash can locations are in sync. They are now. Let me know your thoughts.
Comment 6 MATSUU Takuto (RETIRED) gentoo-dev 2005-11-04 21:16:45 UTC
in cvs. thanks.
readd get_libdir because it needs on amd64.