Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 376535 - clutter.eclass : add support for .xz tarballs
Summary: clutter.eclass : add support for .xz tarballs
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-26 21:49 UTC by Alexandre Rostovtsev (RETIRED)
Modified: 2011-08-14 06:33 UTC (History)
0 users

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 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-07-26 21:49:49 UTC
.xz tarballs are finally starting to appear on sources.clutter-project.org (see http://source.clutter-project.org/sources/clutter-gtk/1.0/); it would be nice if the clutter eclass supoorted them.

I suggest that it use the same logic as the gnome.org.eclass:


if has "${EAPI:-0}" 0 1 2 3; then
        : ${CLUTTER_TARBALL_SUFFIX:="bz2"}
else
        : ${CLUTTER_TARBALL_SUFFIX:="xz"}
fi

SRC_URI="http://www.clutter-project.org/sources/${PN}/${RV[0]}.${RV[1]}/${P}.tar.${CLUTTER_TARBALL_SUFFIX}"
Comment 1 Pacho Ramos gentoo-dev 2011-07-27 09:44:04 UTC
I fully agree, any objections? (I would probably try to implement this around Friday as I will probably be out during all August)
Comment 2 Nirbheek Chauhan (RETIRED) gentoo-dev 2011-07-29 19:26:08 UTC
(Almost) all clutter projects are now hosted on ftp.gnome.org and on git.gnome.org — the ebuilds should inherit gnome.org instead.

We'll eventually deprecated clutter.eclass and remove it since it does nothing special anymore.
Comment 3 Pacho Ramos gentoo-dev 2011-07-30 16:45:47 UTC
Maybe clutter.eclass should drop its SRC_URI handling and inherit gnome.org eclass then :-/
Comment 4 Nirbheek Chauhan (RETIRED) gentoo-dev 2011-08-14 06:33:55 UTC
(In reply to comment #3)
> Maybe clutter.eclass should drop its SRC_URI handling and inherit gnome.org
> eclass then :-/

Not all clutter packages are hosted on gnome infrastructure yet. I'm closing this as WONTFIX. The correct solution is to do:

  inherit clutter gnome.org

For all clutter packages on ftp.gnome.org.