mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

120 lines
1.6 KiB

  1. #!/usr/bin/perl -w
  2. #
  3. # This script checks the ROCK Linux dependency database
  4. # against the proposed build order from the GNOME release
  5. # notes and creates scripts/dep_fixes.txt entries based on
  6. # the results.
  7. use strict;
  8. # this is fetched from
  9. # http://www.gnome.org/start/2.6/notes/rninstallation.html
  10. my @proposed_order = qw(
  11. libxml2
  12. libxslt
  13. gtk-doc
  14. glib
  15. libidl
  16. orbit2
  17. intltool
  18. libbonobo
  19. fontconfig
  20. Render
  21. Xrender
  22. Xft
  23. pango
  24. atk
  25. shared-mime-info
  26. gtk+
  27. gconf
  28. gnome-mime-data
  29. gnome-vfs
  30. esound
  31. libgnome
  32. libart_lgpl23
  33. libglade
  34. libgnomecanvas
  35. libbonoboui
  36. hicolor-icon-theme
  37. gnome-icon-theme
  38. gnome-keyring
  39. libgnomeui
  40. startup-notification
  41. gtk-engines
  42. gnome-themes
  43. gnome-desktop
  44. libwnck
  45. scrollkeeper
  46. gnome-panel
  47. gnome-session
  48. vte
  49. gnome-terminal
  50. libgtop
  51. gail
  52. gnome-applets
  53. metacity
  54. libgsf
  55. libcroco
  56. librsvg
  57. eel
  58. nautilus
  59. control-center
  60. gtkhtml
  61. yelp
  62. bug-buddy
  63. libgnomeprint
  64. libgnomeprintui
  65. gtksourceview
  66. gedit
  67. eog
  68. ggv
  69. file-roller
  70. gconf-editor
  71. gnome-utils
  72. gal
  73. gnome-system-monitor
  74. gstreamer
  75. gst-plugins
  76. gnome-media
  77. nautilus-media
  78. gnome-netstatus
  79. gcalctool
  80. gpdf
  81. gucharmap
  82. nautilus-cd-burner
  83. zenity
  84. gnome-speech
  85. at-spi
  86. gnome-mag
  87. gnopernicus
  88. gok
  89. epiphany
  90. gnomemeeting
  91. gnome-games
  92. gnome2-user-docs
  93. );
  94. my %deps;
  95. my %bogus;
  96. open(F, "<scripts/dep_db.txt") or die;
  97. while (<F>) {
  98. my @list = split /[: \n]+/;
  99. my $p = shift @list;
  100. $deps{$p}{$_} = 1 foreach (@list);
  101. }
  102. close F;
  103. while ($#proposed_order >= 0) {
  104. my $p = shift @proposed_order;
  105. foreach (@proposed_order) {
  106. $bogus{$p}{$_} = 1
  107. if defined $deps{$p}{$_};
  108. }
  109. }
  110. foreach my $p (sort keys %bogus) {
  111. print "$p\tdel\t", join(" ", sort keys %{$bogus{$p}}), "\n";
  112. }