From: Richard W.M. Jones <"Richard W.M. Jones "> Date: Mon, 19 Jan 2009 14:31:19 +0000 (+0000) Subject: Added package status page. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;ds=sidebyside;h=df247d7a482037c758a5b7295bddb249424068ad;p=fedora-mingw.git Added package status page. --- diff --git a/packagestatus.txt b/packagestatus.txt new file mode 100644 index 0000000..c8629a5 --- /dev/null +++ b/packagestatus.txt @@ -0,0 +1,882 @@ +Status of packages in Fedora, EPEL and RHEL, last updated on 2009-01-19. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameEPEL 5Fedora 10DevelPending
mingw32-atk
MinGW Windows Atk library
   1.24.0
mingw32-binutils
MinGW Windows binutils
2.192.192.19 
mingw32-boost
MinGW Windows port of Boost C++ Libraries
   1.34.1
mingw32-bzip2
MinGW port of bzip2 file compression utility
1.0.51.0.51.0.5 
mingw32-cairo
MinGW Windows Cairo library
   1.8.0
mingw32-cairomm
MinGW Windows C++ API for the cairo graphics library
   1.6.2
mingw32-curl
MinGW Windows port of curl and libcurl
   7.18.2
mingw32-dbus
MinGW Windows port of DBus
   1.2.4
mingw32-dlfcn
Implements a wrapper for dlfcn (dlopen dlclose dlsym dlerror)
000 
mingw32-example   1.2.3
mingw32-expat
MinGW Windows port of expat XML parser library
   2.0.1
mingw32-filesystem
MinGW base filesystem and environment
404042 
mingw32-flexdll
FlexDLL Windows DLL plugin API which is like dlopen
   0.11
mingw32-fontconfig
MinGW Windows Fontconfig library
   2.6.0
mingw32-freetype
Free and portable font rendering engine
2.3.82.3.82.3.8 
mingw32-gc
MinGW Windows port of GC garbage collector for C and C++
   7.1
mingw32-gcc
MinGW Windows cross-compiler (GCC) for C
4.3.24.3.24.3.2 
mingw32-gdb
MinGW port of the GNU debugger (gdb)
   6.8
mingw32-gdbm
MinGW port of GNU database routines
1.8.01.8.01.8.0 
mingw32-gettext
GNU libraries and utilities for producing multi-lingual messages
0.170.170.17 
mingw32-glib2
MinGW Windows GLib2 library
   2.18.1
mingw32-glibmm24
MinGW Windows C++ interface for GTK2 (a GUI library for X)
   2.18.1
mingw32-gnutls
MinGW Windows GnuTLS TLS/SSL encryption library
   2.4.2
mingw32-gsl
MinGW Windows port of the GNU Scientific Library
   1.11
mingw32-gtk-vnc
MinGW Windows port of VNC client GTK widget
   0.3.8
mingw32-gtk2
MinGW Windows Gtk2 library
   2.14.4
mingw32-gtkmm24
MinGW Windows C++ interface for GTK2 (a GUI library for X)
   2.14.1
mingw32-iconv
GNU libraries and utilities for character set conversion
1.121.121.12 
mingw32-jasper
MinGW Windows Jasper library
   1.900.1
mingw32-libgcrypt
MinGW Windows gcrypt encryption library
   1.4.3
mingw32-libglade2
MinGW Windows Libglade2 library
   2.6.3
mingw32-libgpg-error
MinGW Windows GnuPGP error library
   1.6
mingw32-libgsf
MinGW Windows port of GNOME Structured File Library
   1.14.10
mingw32-libidn
MinGW Windows Internationalized Domain Name support library
   1.9
mingw32-libjpeg
MinGW Windows Libjpeg library
   6b
mingw32-libpng
MinGW Windows Libpng library
1.2.341.2.341.2.34 
mingw32-libsigc++20
MinGW Windows port of the typesafe signal framework for C++
   2.2.2
mingw32-libssh2
MinGW Windows library implementing the SSH2 protocol
   0.18
mingw32-libvirt
MinGW Windows libvirt virtualization library
   0.5.0
mingw32-libxml2
MinGW Windows libxml2 XML processing library
   2.7.2
mingw32-libxslt
MinGW Windows Library providing the Gnome XSLT engine
   1.1.24
mingw32-nsis
Nullsoft Scriptable Install System
   2.39
mingw32-nsiswrapper
Helper program for making NSIS Windows installers
   3
mingw32-nspr
MinGW Windows port of the Netscape Portable Runtime (NSPR)
   4.7.2
mingw32-nss
MinGW Windows port of NSS (Network Security Services)
   3.12.2.0
mingw32-ocaml
Objective Caml MinGW cross-compiler and programming environment
   3.11.0
mingw32-ocaml-calendar
MinGW Windows OCaml library for managing dates and times
   2.0.4
mingw32-ocaml-csv
MinGW Windows OCaml library for reading and writing CSV files
   1.1.7
mingw32-ocaml-curses
MinGW Windows OCaml bindings for ncurses
   1.0.3
mingw32-ocaml-extlib
MinGW Windows port of OCaml ExtLib
   1.5.1
mingw32-ocaml-findlib
MinGW Windows Objective CAML package manager and build helper
   1.2.3
mingw32-ocaml-lablgl
MinGW Windows port of LablGL is an OpenGL interface
   1.03
mingw32-ocaml-lablgtk
MinGW Windows port of LablGTK, OCaml interface to Gtk+
   2.10.1
mingw32-ocaml-libvirt
MinGW Windows port of OCaml binding for libvirt
   0.4.4.2
mingw32-ocaml-xml-light
MinGW Windows minimal XML parser and printer for OCaml
   2.2.cvs20070817
mingw32-openssl
MinGW port of the OpenSSL toolkit
   0.9.8g
mingw32-pango
MinGW Windows Pango library
   1.22.1
mingw32-pangomm
MinGW Windows C++ interface for Pango
   2.14.0
mingw32-pdcurses
Curses library for MinGW
3.43.43.4 
mingw32-pixman
MinGW Windows Pixman library
   0.13.2
mingw32-poco
MinGW Windows C++ libraries for network-centric applications
   1.3.3p1
mingw32-popt
MinGW Windows C library for parsing command line parameters
   1.13_cvs20081025
mingw32-portablexdr
MinGW Windows PortableXDR XDR / RPC library
   4.0.11
mingw32-pthreads
MinGW pthread library
2.8.02.8.02.8.0 
mingw32-readline
MinGW port of readline for editing typed command lines
5.25.25.2 
mingw32-runtime
MinGW Windows cross-compiler runtime
3.15.13.15.13.15.1 
mingw32-SDL
MinGW Windows port of SDL cross-platform multimedia library
1.2.131.2.131.2.13 
mingw32-sqlite
MinGW Windows port of sqlite embeddable SQL database engine
3.6.6.23.6.6.23.6.6.2 
mingw32-termcap
MinGW terminal feature database
1.3.11.3.11.3.1 
mingw32-w32api
Win32 header files and stubs
3.123.123.13 
mingw32-zlib
MinGW Windows zlib compression library
1.2.31.2.31.2.3 
Totals19191952
+ diff --git a/ocaml-status.pl b/status.pl similarity index 77% rename from ocaml-status.pl rename to status.pl index e0169d3..d249e1e 100755 --- a/ocaml-status.pl +++ b/status.pl @@ -1,39 +1,40 @@ #!/usr/bin/perl -wT -# Produce a status page for all current and pending OCaml packages. +# Produce a status page for all current and pending Fedora MinGW packages. # By Richard W.M. Jones -# $Id: ocaml-status.pl,v 1.7 2008/12/05 17:44:39 rjones Exp $ # # Requires: -# . All OCaml-related packages have to be checked out +# . All Fedora MinGW packages have to be checked out # under $HOME/d/fedora. -# . All pending packages have to be checked out under -# $HOME/d/redhat/ocaml. +# . All pending packages to be available in +# $HOME/d/fedora-mingw--devel. # # The output is normally placed here: -# http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora +# http://annexia.org/fedora_mingw # -# Checks that the package build-requires OCaml in order to know if -# it's an OCaml-related package. +# Checks that the package build-requires mingw32-* in order to know if +# it's an MinGW-related package. # # Only recognizes the Fedora/EPEL branches listed below and ignores -# anything else. There are no OCaml packages in RHEL at this time. +# anything else. There are no MinGW packages in RHEL at this time. +# +# XXX This script is a bit crap. Instead of using lame specfile +# parsing, this should be generated from the SRPMs. use strict; use POSIX qw(strftime); use CGI qw/:standard/; -my $fedora = $ENV{HOME} . "/d/fedora"; -my $pending = $ENV{HOME} . "/d/redhat/ocaml"; +my $home = $ENV{HOME}; +if ($home =~ m/(.*)/) { $home = $1; } + +my $fedora = $home . "/d/fedora"; +my $pending = $home . "/d/fedora-mingw--devel"; + +chdir $pending or die "$pending: $!\n"; + my %branches = ( - "EL-4" => { - name => "EPEL 4", - url => "http://fedoraproject.org/wiki/EPEL", - title => "Packages for Red Hat Enterprise Linux 4", - sortorder => 1, - class => "epelbg", - }, "EL-5" => { name => "EPEL 5", url => "http://fedoraproject.org/wiki/EPEL", @@ -41,18 +42,6 @@ my %branches = ( sortorder => 2, class => "epelbg", }, - "F-8" => { - name => "Fedora 8", - url => "http://fedoraproject.org/", - sortorder => 8, - class => "fedorabg", - }, - "F-9" => { - name => "Fedora 9", - url => "http://fedoraproject.org/", - sortorder => 9, - class => "fedorabg", - }, "F-10" => { name => "Fedora 10", url => "http://fedoraproject.org/", @@ -68,19 +57,24 @@ my %branches = ( }, "pending" => { name => "Pending", - url => "https://bugzilla.redhat.com/buglist.cgi?version=rawhide&component=Package+Review&target_milestone=&bug_status=NEW&bug_status=ASSIGNED&bug_status=NEEDINFO&bug_status=MODIFIED&short_desc_type=allwordssubstr&short_desc=ocaml&long_desc_type=allwordssubstr&long_desc=", + url => "https://bugzilla.redhat.com/buglist.cgi?version=rawhide&component=Package+Review&target_milestone=&bug_status=NEW&bug_status=ASSIGNED&bug_status=NEEDINFO&bug_status=MODIFIED&short_desc_type=allwordssubstr&short_desc=mingw32&long_desc_type=allwordssubstr&long_desc=", sortorder => 100, class => "pendingbg", }, ); # List of packages to ignore in pending. -my %ignore_pending = ( - "ocaml-foolib" => 1, - "ocaml-libvirt" => 1, -); +my %ignore_pending = (); +open IGNORE, "IGNORE" or die "IGNORE: $!\n"; +while () { + next if /^\#/ || /^$/; + m/(.*)/; # untaint + $ignore_pending{$1} = 1; +} +close IGNORE; -# List of packages to ignore in Fedora. +# List of packages to ignore in Fedora checkout, +# because they confuse this script. my %ignore_fedora = ( "cyrus-sasl" => 1, "kernel" => 1, @@ -107,8 +101,7 @@ sub collect { my $specfile_name = $2; my $branch = $1; if (exists $branches{$branch} && - !exists $ignore_fedora{$specfile_name} && - $specfile_name !~ /^mingw32/) { + !exists $ignore_fedora{$specfile_name}) { collect_specfile ($specfile, $branch); } } @@ -125,7 +118,7 @@ sub collect_specfile { my $branch = shift; # Read the specfile and parse the bits we understand. - my ($name, $version, $summary, $description, $url, $is_ocaml, + my ($name, $version, $summary, $description, $url, $is_mingw, @rpmdefines); @rpmdefines = (["nil", ""]); @@ -134,7 +127,7 @@ sub collect_specfile { if (/^Name:\s*(\S+)/) { $name = $1; $name = rpmsubst ($name, 1, @rpmdefines) if $name =~ /%{/; - $is_ocaml = 1 if $name =~ /ocaml/; + $is_mingw = 1 if $name =~ /mingw32/; } elsif (/^Version:\s*(\S+)/) { $version = $1; $version = rpmsubst ($version, 1, @rpmdefines) if $version =~ /%{/; @@ -143,9 +136,9 @@ sub collect_specfile { $url = rpmsubst ($url, 1, @rpmdefines) if $url =~ /%{/; } elsif (!$summary && /^Summary:\s*(.*)/) { $summary = $1; - $is_ocaml = 1 if $summary =~ /ocaml/i; - } elsif (/^(Build)?Requires:.*ocaml/) { - $is_ocaml = 1 + #$is_mingw = 1 if $summary =~ /mingw32/i; + } elsif (/^(Build)?Requires:.*mingw32/) { + $is_mingw = 1 } elsif (!$description && /^%description/) { $description = ""; while () { @@ -154,7 +147,7 @@ sub collect_specfile { } $description = rpmsubst ($description, 1, @rpmdefines) if $description =~ /%{/; - $is_ocaml = 1 if $description =~ /ocaml/i; + #$is_mingw = 1 if $description =~ /mingw/i; } # Handle simple RPM defines. @@ -168,17 +161,26 @@ sub collect_specfile { } } - # Check it's an OCaml package. If name/summary/description contains - # 'ocaml' or it Requires/BuildRequires some ocaml package then we - # assume it's OCaml-related. - if (!$is_ocaml) { - warn "warning: $name ($branch) ignored, not an OCaml package\n"; + # Check it's a MinGW package. If name/summary/description contains + # 'mingw' or it Requires/BuildRequires some mingw32-* package then we + # assume it's related. + if (!$is_mingw) { + warn "warning: $name ($branch) ignored, not a MinGW package\n"; return; } # Ignore certain packages appearing in pending branch. - if ($branch eq "pending" && exists $ignore_pending{$name}) { - return; + if ($branch eq "pending") { + if (exists $ignore_pending{$name}) { + return; + } + + # Also ignore packages marked NOT-FOR-FEDORA in pending. + my $dirname = $specfile; + $dirname =~ s{/[^/]+$}{}; + if (-f "$dirname/NOT-FOR-FEDORA") { + return; + } } #print "$name $version $url\n"; @@ -323,7 +325,7 @@ sub output_package { my $class = "released"; $class = "pending" if $branch eq "pending"; $class = "devel" if $branch eq "devel"; - $class = "ocaml" if $name eq "ocaml"; + $class = "filesystem" if $name eq "mingw32-filesystem"; print "$r{version}\n"; } else { @@ -350,9 +352,9 @@ sub output_trailer { # Define a standard package name order. sub pkgnameorder { - # "ocaml-*" packages always sort first. - return -1 if $a =~ /^ocaml/ && $b !~ /^ocaml/; - return 1 if $a !~ /^ocaml/ && $b =~ /^ocaml/; + # "mingw32-*" packages always sort first. + return -1 if $a =~ /^mingw32/ && $b !~ /^mingw32/; + return 1 if $a !~ /^mingw32/ && $b =~ /^mingw32/; return (lc($a) cmp lc($b)) }