Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 549180

Summary: gnome2.eclass: drop scrollkeeper stuff
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 262490, 571378    

Description Pacho Ramos gentoo-dev 2015-05-11 14:43:00 UTC
As rarian is used for ages, the stuff in eclass prepared to workaround problems with scrollkeeper-update could be dropped because the rarian compat script doesn't do anything        

This could be dropped:
# if this is not present, scrollkeeper-update may segfault and
        # create bogus directories in /var/lib/
        local sk_tmp_dir="/var/lib/scrollkeeper"
        dodir "${sk_tmp_dir}" || die "dodir failed"
[...]
        # Do not keep /var/lib/scrollkeeper because:
        # 1. The scrollkeeper database is regenerated at pkg_postinst()
        # 2. ${ED}/var/lib/scrollkeeper contains only indexes for the current pkg
        #    thus it makes no sense if pkg_postinst ISN'T run for some reason.
        rm -rf "${ED}${sk_tmp_dir}"
        rmdir "${ED}/var/lib" 2>/dev/null
        rmdir "${ED}/var" 2>/dev/null



But I am unsure about this:
        emake DESTDIR="${D}" "scrollkeeper_localstate_dir=${ED}${sk_tmp_dir} " "$@" install || die "install failed"
Comment 1 Pacho Ramos gentoo-dev 2016-01-20 11:31:46 UTC
Maybe we could finally try to drop all the scrollkeeper stuff from eapi6 gnome2_src_install. 

I wonder if this could also be dropped just now for all eapis as scrollkeeper-update from rarian (the only provider for years in the tree) simply does nothing
Comment 2 Pacho Ramos gentoo-dev 2016-04-03 12:58:04 UTC
[master dc527ce] gnome2.eclass/gnome2-utils.eclass: implement eapi6 support and take advantage of that for finally fixing many bugs/enhancements that were waiting for this (#571378)
 2 files changed, 113 insertions(+), 47 deletions(-)