Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 549180 - gnome2.eclass: drop scrollkeeper stuff
Summary: gnome2.eclass: drop scrollkeeper stuff
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gnome2.eclass 571378
  Show dependency tree
 
Reported: 2015-05-11 14:43 UTC by Pacho Ramos
Modified: 2016-04-03 12:58 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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(-)