[Mageia-dev] Automatically determining all "GNOME" packages

nicolas vigier boklm at mars-attacks.org
Thu Feb 9 10:34:51 CET 2012


On Thu, 09 Feb 2012, Olav Vitters wrote:

> For GNOME QA purposes, I'd like to list all Mageia packages which come
> from *.gnome.org (download.gnome.org or ftp.gnome.org).
> 
> In the spec file, the Source: usually has an URL. IMO the most reliable
> option is checking the Source: URL.
> I thought of matching http://git.gnome.org/repositories.txt or
> http://download.gnome.org/sources to the Mageia package name; but I
> already know that there are differences.
> I also looked into "urpmq", but I don't see any way to determine the
> Source URL.
> 
> 
> So: anyone know of a good way to query the Source: URL from all the spec
> files?

You can use info.xml.lzma files on mirrors.

With something like this :
GET http://twiska.zarb.org/mageia/distrib/cauldron/SRPMS/core/release/media_info/info.xml.lzma \
| unxz | perl -MXML::Simple -e 'print join "\n", map { $_->{"fn"} } grep { $_->{"url"} =~ /\.gnome\.org/ } @{XMLin("-")->{"info"}};'

And this give me this list of source packages :

xdg-user-dirs-gtk-0.8-5.mga1.src
gdm-3.2.1.1-3.mga2.src
libgtop2-2.28.4-1.mga2.src
bug-buddy-2.32.0-4.mga2.src
latexila-2.3.1-1.mga2.src
sushi-0.3.0-1.mga2.src
yelp-3.3.3-1.mga2.src
gnome-system-monitor-3.3.4-1.mga2.src
libunique-1.1.6-6.mga2.src
gnome-contacts-3.3.4-1.mga2.src
nautilus-3.3.5-1.mga2.src
java-access-bridge-1.26.2-4.mga2.src
gnome-vfs2-2.24.4-3.mga2.src
evolution-groupwise-3.3.5-1.mga2.src
emerillon-0.1.90-4.mga2.src
gnome-games-3.3.5-1.mga2.src
gnome-mag-0.16.3-2.mga2.src
libbonobo-2.32.1-3.mga2.src
gnome-js-common-0.1.2-2.mga1.src
vinagre-3.3.4-2.mga2.src
gnome-speech-0.4.25-7.mga2.src
gdlmm-3.3.2-1.mga2.src
pyorbit-2.24.0-6.mga1.src
fonts-ttf-bitstream-vera-1.10-10.mga1.src
yelp-xsl-3.3.2-1.mga2.src
gnome-session-3.3.5-1.mga2.src
gnome-web-photo-0.10.5-1.mga2.src
gtkglextmm-1.2.0-1.mga2.src
gnumeric-1.11.1-1.mga2.src
python-gobject3-3.1.0-1.mga2.src
brasero-3.2.0-2.mga2.src
gnome-icon-theme-3.2.1.2-1.mga2.src
modemmanager-0.5.1.95-1.mga2.src
libwnck3-3.3.5-1.mga2.src
atk1.0-2.3.3-1.mga2.src
libgee0.6-0.6.4-1.mga2.src
gcr-3.3.4-1.mga2.src
gnome-screensaver-3.2.0-1.mga2.src
totem-3.3.4-4.mga2.src
grilo-plugins-0.1.18-1.mga2.src
json-glib-0.14.2-1.mga2.src
devhelp-3.3.3-1.mga2.src
empathy-3.3.5-3.mga2.src
libbonoboui-2.24.5-3.mga2.src
vte-0.28.2-3.mga2.src
pessulus-2.30.4-1.mga1.src
gnome-disk-utility-3.3.91-1.mga2.src
baobab-3.3.1-1.mga2.src
gnome-keyring-3.3.5-1.mga2.src
labyrinth-0.4.0-2.mga1.src
file-roller-3.3.3-1.mga2.src
mutter-3.3.5-1.mga2.src
evince-3.3.5-1.mga2.src
gnome-color-manager-3.3.5-1.mga2.src
drwright-3.2.4-1.mga2.src
libgnomecanvas-2.30.3-4.mga2.src
evolution-3.3.5-2.mga2.src
libgnome-keyring-3.3.5-1.mga2.src
evolution-sharp-0.21.1-13.mga2.src
gnome-documents-0.3.4-2.mga2.src
eog-3.3.5-1.mga2.src
moserial-3.0.5-1.mga2.src
networkmanager-applet-0.9.2.0-3.mga2.src
gnome-python-2.28.1-3.mga2.src
zenity-3.2.0-1.mga2.src
libchamplain-0.12.1-2.mga2.src
gnome-system-log-3.3.1-1.mga2.src
libgnomekbd-3.2.0-1.mga2.src
accerciser-3.3.5-1.mga2.src
gedit-plugins-3.3.2-1.mga2.src
gnote-0.8.2-1.mga2.src
libgxps-0.2.1-1.mga2.src
libglade2.0-2.6.4-6.mga2.src
epiphany-3.3.5-1.mga2.src
pinpoint-0.1.4-3.mga2.src
gnome-python-desktop-2.32.0-12.mga2.src
python-gobject-2.28.6-5.mga2.src
glib-networking-2.31.6-1.mga2.src
libpeas-1.2.0-2.mga2.src
cheese-3.3.5-1.mga2.src
gnome-doc-utils-0.20.6-1.mga2.src
gnome-phone-manager-0.68-7.mga2.src
libgtkhtml2-2.11.1-8.mga2.src
gnome-desktop-2.32.1-2.mga2.src
gnome-power-manager-3.3.3-1.mga2.src
networkmanager-vpnc-0.9.0-1.mga2.src
vino-3.3.3-1.mga2.src
perl-Gtk2-NotificationBubble-0.01-13.mga2.src
gtk-engines2-2.20.2-1.mga1.src
glade-3.10.2-1.mga2.src
gnome-utils-3.2.1-1.mga2.src
GConf2-3.2.3-1.mga2.src
tomboy-1.9.6-1.mga2.src
gtranslator-2.90.8-2.mga2.src
gnome-user-docs-3.2.2-1.mga2.src
yelp-tools-3.3.2-1.mga2.src
goffice0.8-0.8.17-2.mga2.src
ocrfeeder-0.7.7-1.mga2.src
gir-repository-0.6.6-0.20100907.3.mga1.src
notification-daemon-0.7.3-1.mga2.src
gnome-pilot-2.91.93-3.mga2.src
gnome-font-viewer-3.3.2.1-1.mga2.src
gdl-3.3.4-1.mga2.src
cantarell-fonts-0.0.7-1.mga2.src
vte3-0.31.0-2.mga2.src
nemiver-0.9.1-2.mga2.src
python-gtksourceview-2.10.1-3.mga1.src
libgweather-3.2.1-1.mga2.src
mobile-broadband-provider-info-20110511-2.git20120114.1.mga2.src
at-spi-1.32.0-5.mga2.src
gvfs-1.11.3-0.20120131.2.mga2.src
libgnomecups-0.2.3-6.mga1.src
python-gtkglext-1.1.0-9.mga1.src
gamin-0.1.10-8.mga2.src
libunique3-3.0.2-2.mga2.src
networkmanager-openconnect-0.9.0-1.mga2.src
evolution-data-server-3.3.5-1.mga2.src
gnome-games-extra-data-3.2.0-1.mga2.src
gedit-cossa-3.2.0-1.mga2.src
gnome-search-tool-3.3.1-1.mga2.src
libgdata-0.11.0-1.mga2.src
ORBit2-2.14.19-2.mga2.src
regexxer-0.10-1.mga2.src
orca-3.3.5-1.mga2.src
gnome-tweak-tool-3.3.4-1.mga2.src
seahorse-sharing-3.2.1-1.mga2.src
gnome-menus-3.3.5-1.mga2.src
rest-0.7.12-1.mga2.src
gnome-backgrounds-3.3.3-1.mga2.src
gnome-terminal-3.3.0-1.mga2.src
caribou-0.4.1-2.mga2.src
gnome-dictionary-3.3.2-1.mga2.src
nautilus-sendto-3.0.1-3.mga2.src
gedit-3.3.2-3.mga2.src
libgee0.8-0.7.1-1.mga2.src
gnome-mime-data-2.18.0-8.mga1.src
goobox-3.0.0-1.mga2.src
gtksourceviewmm2-2.10.2-2.mga2.src
epiphany-extensions-3.2.0-1.mga2.src
gconf-editor-3.0.1-1.mga2.src
gjs-1.31.10-1.mga2.src
networkmanager-openvpn-0.9.2.0-1.mga2.src
gnome-nettool-3.0.1-1.mga2.src
gnome-shell-extensions-3.3.2-1.mga2.src
libgnomeui2-2.24.5-3.mga2.src
rhythmbox-2.95-2.mga2.src
frogr-0.6.1-1.mga2.src
nautilus-python-1.1-1.mga2.src
aisleriot-3.3.1-1.mga2.src
gnome-media-2.91.2-1.mga2.src
libgnome2-2.32.1-8.mga2.src
gnome-screenshot-3.3.2-1.mga2.src
gnome-applets-3.3.1-1.mga2.src
gnome-python-extras-2.25.3-35.mga2.src
networkmanager-pptp-0.9.0-1.mga2.src
gnome-devel-docs-3.3.1-1.mga2.src
libsoup-2.37.5-1.mga2.src
gobject-introspection-1.31.10-1.mga2.src
giggle-0.6.1-1.mga2.src
gtksourceviewmm-3.2.0-1.mga2.src
libepc-0.4.4-1.mga2.src
planner-0.14.6-1.mga2.src
goffice-0.9.1-1.mga2.src
gnome-video-effects-0.3.0-3.mga2.src
ghex-3.0.0-2.mga2.src
gtkhtml-3.14-3.32.2-2.mga2.src
libwnck-2.30.7-1.mga2.src
gnome-online-accounts-3.3.0-1.mga2.src
networkmanager-0.9.2.0-1.mga2.src
rygel-0.13.0-1.mga2.src
gnome-common-3.1.0-1.mga2.src
dconf-0.11.5-1.mga2.src
dia-0.97.2-1.mga2.src
evolution-exchange-3.3.5-1.mga2.src
grilo-0.1.18-1.mga2.src
eog-plugins-3.2.2-2.mga2.src
libgnome-media-profiles-3.0.0-8.mga2.src
glade3-3.8.1-2.mga2.src
mousetweaks-3.2.1-1.mga2.src
sabayon-2.30.1-3.mga1.src
libgee-0.7.2-1.mga2.src
gnome-desktop3-3.3.5-1.mga2.src
vala-0.15.1-1.mga2.src
nautilus-open-terminal-0.19-1.mga2.src
gnome-panel-3.3.5-1.mga2.src
seed-3.2.0-1.mga2.src
gnome-shell-3.3.5-1.mga2.src
gnome-settings-daemon-3.3.5-1.mga2.src
gnome-control-center-3.3.5-1.mga2.src
gnome-themes-standard-3.3.5.1-1.mga2.src
metacity-2.34.2-1.mga2.src
gnome-boxes-3.3.5.1-1.mga2.src



More information about the Mageia-dev mailing list