Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 366247 - gnome-base/gnome-session should pull x11-misc/xdg-user-dirs-gtk in
Summary: gnome-base/gnome-session should pull x11-misc/xdg-user-dirs-gtk in
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: InOverlay
Depends on: gnome3
Blocks:
  Show dependency tree
 
Reported: 2011-05-06 17:28 UTC by Pacho Ramos
Modified: 2012-02-12 14:11 UTC (History)
2 users (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 2011-05-06 17:28:07 UTC
I think it's what upstream would prefer to get folder names updated when changing locale, this is also done in major distributions and this one looks to work fine for me for a long time.



Reproducible: Always
Comment 1 Nirbheek Chauhan (RETIRED) gentoo-dev 2011-05-06 17:55:04 UTC
We already do this in the overlay, gnome-session pulls it in.

http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=blob;f=gnome-base/gnome-session/gnome-session-3.0.1.ebuild;hb=HEAD

I didn't add it to GNOME 2 because it has gone stable, is deprecated, and I don't think we should touch it any more.
Comment 2 Pacho Ramos gentoo-dev 2011-05-06 18:02:09 UTC
I could add it in a future if a revbump for 2.32 is needed also
Comment 3 Pacho Ramos gentoo-dev 2011-05-06 18:03:25 UTC
In overlay ebuild I can read:
  91         # FIXME: this should be done by x11-misc/xdg-user-dirs
  92         doexe "${FILESDIR}/10-user-dirs-update" || die "doexe failed"

Maybe that one could also be fixed in xdg-user-dirs :-/
Comment 4 Nirbheek Chauhan (RETIRED) gentoo-dev 2011-05-06 18:34:02 UTC
(In reply to comment #3)
> In overlay ebuild I can read:
>   91         # FIXME: this should be done by x11-misc/xdg-user-dirs
>   92         doexe "${FILESDIR}/10-user-dirs-update" || die "doexe failed"
> 
> Maybe that one could also be fixed in xdg-user-dirs :-/

I wasn't entirely sure if DEs other than GNOME wanted this. This needs to be discussed/decided as well; blocking GNOME 3 release...
Comment 5 Pacho Ramos gentoo-dev 2011-05-06 18:46:28 UTC
Will CC freedesktop people then to check for comment #3 and following ;-)
Comment 6 Otávio Cipriani 2011-08-19 00:41:10 UTC
I think it is important to notice that "xdg-user-dirs-gtk-update" only works if "xdg-user-dirs-update" is run BEFORE it (bug #270852).
Comment 7 Nirbheek Chauhan (RETIRED) gentoo-dev 2011-08-19 12:04:33 UTC
(In reply to comment #6)
> I think it is important to notice that "xdg-user-dirs-gtk-update" only works if
> "xdg-user-dirs-update" is run BEFORE it (bug #270852).

This is already being done right now for GNOME, since xdg-user-dirs-update is run before gnome-session is started, and then gnome-session starts xdg-user-dirs-gtk-update.
Comment 8 Otávio Cipriani 2011-08-19 16:40:27 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > I think it is important to notice that "xdg-user-dirs-gtk-update" only works if
> > "xdg-user-dirs-update" is run BEFORE it (bug #270852).
> 
> This is already being done right now for GNOME, since xdg-user-dirs-update is
> run before gnome-session is started, and then gnome-session starts
> xdg-user-dirs-gtk-update.

I know it is a little out of scope, but can you please tell me where/when "xdg-user-dirs-update" is run?

I had to create the ".desktop" file I sent to bug #270852 to run "xdg-user-dirs-update". Without it "xdg-user-dirs-update" is NOT being run on my computer.
Comment 9 Nirbheek Chauhan (RETIRED) gentoo-dev 2011-08-19 20:01:38 UTC
(In reply to comment #8)
> I know it is a little out of scope, but can you please tell me where/when
> "xdg-user-dirs-update" is run?
> 
> I had to create the ".desktop" file I sent to bug #270852 to run
> "xdg-user-dirs-update". Without it "xdg-user-dirs-update" is NOT being run on
> my computer.

Ah, you must be running GNOME 2. This is done by GNOME 3, see gnome-session-3.0.2.ebuild
Comment 10 Otávio Cipriani 2011-08-19 20:10:47 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > I know it is a little out of scope, but can you please tell me where/when
> > "xdg-user-dirs-update" is run?
> > 
> > I had to create the ".desktop" file I sent to bug #270852 to run
> > "xdg-user-dirs-update". Without it "xdg-user-dirs-update" is NOT being run on
> > my computer.
> 
> Ah, you must be running GNOME 2. This is done by GNOME 3, see
> gnome-session-3.0.2.ebuild

Yes, I am running GNOME 2.

Thank you very much.
Comment 11 Pacho Ramos gentoo-dev 2011-09-12 10:01:43 UTC
+*gnome-session-2.32.1-r3 (12 Sep 2011)
+
+  12 Sep 2011; Pacho Ramos <pacho@gentoo.org> -gnome-session-2.32.1.ebuild,
+  +gnome-session-2.32.1-r3.ebuild,
+  +files/gnome-session-2.32.1-dialog-size.patch,
+  +files/gnome-session-2.32.1-dialog-size2.patch,
+  +files/gnome-session-2.32.1-gsettings-conditions.patch,
+  +files/gnome-session-2.32.1-idle-transition.patch:
+  Also support Gsettings conditions to work with latest libcanberra, fix race
+  condition in idle monitor, fix dialog size, pull in x11-misc/xdg-user-dirs
+  stuff as done in gnome-session-3. Remove old.
+