Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 308963 Details for
Bug 301311
gnome2.eclass installs empty /var/lib for many packages
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gnome2.eclass.patch
gnome2.eclass.patch (text/plain), 1.78 KB, created by
Gilles Dartiguelongue (RETIRED)
on 2012-04-14 18:41:43 UTC
(
hide
)
Description:
gnome2.eclass.patch
Filename:
MIME Type:
Creator:
Gilles Dartiguelongue (RETIRED)
Created:
2012-04-14 18:41:43 UTC
Size:
1.78 KB
patch
obsolete
>Index: gnome2.eclass >=================================================================== >RCS file: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v >retrieving revision 1.104 >diff -u -B -u -r1.104 gnome2.eclass >--- gnome2.eclass 14 Dec 2011 19:47:54 -0000 1.104 >+++ gnome2.eclass 14 Apr 2012 18:28:48 -0000 >@@ -125,6 +125,11 @@ > G2CONF="${G2CONF} --disable-maintainer-mode" > fi > >+ # Pass --disable-scrollkeeper when possible >+ if grep -q "disable-scrollkeeper" configure; then >+ G2CONF="${G2CONF} --disable-scrollkeeper" >+ fi >+ > # Avoid sandbox violations caused by gnome-vfs (bug #128289 and #345659) > addwrite "$(unset HOME; echo ~)/.gnome2" > >@@ -172,10 +177,9 @@ > # 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. >- if [[ -z "$(find "${D}" -name '*.omf')" ]]; then >- export SCROLLKEEPER_UPDATE="0" >- fi > rm -rf "${ED}${sk_tmp_dir}" >+ rmdir "${ED}/var/lib" 2>/dev/null >+ rmdir "${ED}/var" 2>/dev/null > > # Make sure this one doesn't get in the portage db > rm -fr "${ED}/usr/share/applications/mimeinfo.cache" >@@ -197,6 +201,7 @@ > gnome2_gconf_savelist > gnome2_icon_savelist > gnome2_schemas_savelist >+ gnome2_scrollkeeper_savelist > } > > # @FUNCTION: gnome2_pkg_postinst >@@ -209,10 +214,7 @@ > fdo-mime_mime_database_update > gnome2_icon_cache_update > gnome2_schemas_update >- >- if [[ "${SCROLLKEEPER_UPDATE}" = "1" ]]; then >- gnome2_scrollkeeper_update >- fi >+ gnome2_scrollkeeper_update > } > > # @#FUNCTION: gnome2_pkg_prerm >@@ -230,8 +232,5 @@ > fdo-mime_mime_database_update > gnome2_icon_cache_update > gnome2_schemas_update >- >- if [[ "${SCROLLKEEPER_UPDATE}" = "1" ]]; then >- gnome2_scrollkeeper_update >- fi >+ gnome2_scrollkeeper_update > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 301311
: 308963 |
308965