Mailing List Archive

Freedesktop utils in ebuild
Hi list,

I'm currently trying to update an ebuild (x11-misc/zim) to a new version.
The old one uses a patch to disable running "update-desktop-database" and
instead using the fdo-mime_desktop_database_update function.

Now - the new ebuild also wants to call:

- update-mime-database --> disable and use fdo-mime_mime_database_update ?
- xdg-icon-resource install --> let it run? - or disable it (and replace it
by what)?

Would be glad, if someone could clarify the use here :)

- Necoro

--
gentoo-dev@lists.gentoo.org mailing list
Re: Freedesktop utils in ebuild [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

René 'Necoro' Neumann schrieb:
> Hi list,
>
> I'm currently trying to update an ebuild (x11-misc/zim) to a new version.
> The old one uses a patch to disable running "update-desktop-database" and
> instead using the fdo-mime_desktop_database_update function.
>
> Now - the new ebuild also wants to call:
>
> - update-mime-database --> disable and use fdo-mime_mime_database_update ?
> - xdg-icon-resource install --> let it run? - or disable it (and replace it
> by what)?
>
> Would be glad, if someone could clarify the use here :)
>
> - Necoro
>

Ping? - Anyone?

Regards,
Necoro
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkhO8b0ACgkQ4UOg/zhYFuBFSQCfXwsTyG+wgmwFRZeYDTYYu9IS
6FwAn0Vde7NSQkehB4T0BHymKGeC4b27
=SAW7
-----END PGP SIGNATURE-----
--
gentoo-dev@lists.gentoo.org mailing list
Re: Freedesktop utils in ebuild [ In reply to ]
Tue, 10 Jun 2008 23:27:26 +0200
René 'Necoro' Neumann <lists@necoro.eu> kirjoitti:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> René 'Necoro' Neumann schrieb:
> > Hi list,
> >
> > I'm currently trying to update an ebuild (x11-misc/zim) to a new
> > version. The old one uses a patch to disable running
> > "update-desktop-database" and instead using the
> > fdo-mime_desktop_database_update function.
> >
> > Now - the new ebuild also wants to call:
> >
> > - update-mime-database --> disable and use
> > fdo-mime_mime_database_update ?

yes, because it (re)generates cache file that doesn't belong to any
package we need to run it in postinst. to avoid file-collision.

> > - xdg-icon-resource install --> let it run? - or disable it (and
> > replace it by what)?

unsure (as i've neved touched it) but i'd say if it respects DESTDIR and
doesn't have any file-collisions when installing, let it run

plus it will be very likely ME who commits new zim, as usual.. so open
up a bug for the new version & your suggested ebuild.

thanks, Samuli
--
gentoo-dev@lists.gentoo.org mailing list
Re: Freedesktop utils in ebuild [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Samuli Suominen schrieb:
>>> - xdg-icon-resource install --> let it run? - or disable it (and
>>> replace it by what)?
>
> unsure (as i've neved touched it) but i'd say if it respects DESTDIR and
> doesn't have any file-collisions when installing, let it run

Seems like it does not ... moved it to post{inst,rm}

> plus it will be very likely ME who commits new zim, as usual.. so open
> up a bug for the new version & your suggested ebuild.

Done -> bug #226143

- - Necoro
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkhRoZkACgkQ4UOg/zhYFuCaPQCeMC7MKf8HBN4rNH63xHmJ1ArE
+SoAnj+WH53MRi3s9xe01N3LEi1g6MDt
=hLU1
-----END PGP SIGNATURE-----
--
gentoo-dev@lists.gentoo.org mailing list