gnome2_src_install does: local sk_tmp_dir="/var/lib/scrollkeeper" dodir "${sk_tmp_dir}" ... rm -rf "${D}${sk_tmp_dir}" ... unfortunately, this causes many packages to leave behind an empty /var/lib when they otherwise dont need/care about it. perhaps after the `rm -rf`, you add: rmdir "${D}"/var/lib "${D}"/var >& /dev/null # don't leave empty dirs also, the install line looks weird: emake ... "scrollkeeper_localstate_dir=${D}${sk_tmp_dir} " ... are you sure there's supposed to be a trailing space there ?
I am not sure if this is still needed now that scrollkeeper is not being used :-|
well, scrollkeeper is still used by some packages but the problem is that the eclass is a bit stupid and creates to directory anyway. The whole scrollkeeper handling needs reviewing imho.
Created attachment 308963 [details, diff] gnome2.eclass.patch This patch: * passes --disable-scrollkeeper when the argument exists (number of ebuilds doing this by hand) * removes /var/lib/scrollkeeper up to /var if the folder is empty in order to leave no traces in the package content file * uses gnome2_scrollkeeper_savelist which is coming in gnome2-utils.eclass patch * drops useless checks around gnome2_scrollkeeper_update due to changes in gnome2-utils.eclass patch As a result SCROLLKEEPER_UPDATE variable has no effect at all anymore (only 3 ebuilds using it, that I'll work on cleaning up asap).
Created attachment 308965 [details, diff] gnome2-utils.eclass.patch This patch: * defines a new variable GNOME2_ECLASS_SCROLLS which contains the list of scrolls installed by the package * updates gnome2_scrollkeeper_update to match other updater function behavior * adds a gnome2_scrollkeeper_savelist function that finds and saves scrolls * adds gnome-doc-utils.make to the list of makefiles to modify * provides a little fix for a test in gnome2_omf_fix (looked like a typo)
*** Bug 413975 has been marked as a duplicate of this bug. ***
FTR, since there were no complaints, I commited the changes with appropriate ebuild modifications for camorama (with glib-2.32 build fixes), ekiga and gtetrinet. If there is any problem with it, feel free to ping me on irc or by mail. And finally all gnome2 inheriting ebuilds will not have /var/lib in vdb.
And closing now. Thanks all.