Mailinglist Archive: opensuse-mingw (21 mails)

< Previous Next >
[opensuse-mingw] Python script to download packages from the download repository
  • From: Maarten Bosmans <mkbosmans@xxxxxxxxx>
  • Date: Mon, 21 Mar 2011 15:38:16 +0100
  • Message-id: <AANLkTi=HRUNiqJ68ufRLFmaLzSa5r2_nU9RkjEAQ9PdN@mail.gmail.com>
Hi all,

For a couple of months now I am using a python script to automate the
downloading of packages for windows. as it might by of interest for
more people, I have now cleaned it up a bit. See attached file. Keep
in mind that although very much usable, this is still work in
progress.

The only dependencies are Python (>= v3.1) and 7zip. I use it mainly
from cygwin on Windows, but is also works from cmd.exe (make sure you
have 7z.exe in the path) and Linux.

The simplest usage form is:
./download-mingw-rpm.py libpoppler
This downloads DLLs of poppler(mingw32-libpoppler package +
dependencies) and extracts the packages below the location of the
script.

You can also specify another repository and build a zip file of the
extracted packages. This is what I use to build a zip file of a mingw
build of PulseAudio, to provide an easy download for people that want
to try PulseAudio on Windows:
./download-mingw-rpm.py --make-zip --project
home:mkbosmans:mingw32:pulseaudio pulseaudio

I hope this can be of convenience for some people. Feedback appreciated.

Maarten
< Previous Next >
List Navigation
This Thread
  • No further messages