www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/09/02:56:37

To: djgpp AT delorie DOT com
Date: Thu, 09 Mar 2000 06:48:59 0000
From: "nimrod a. abing" <synflood AT eudoramail DOT com>
Message-ID: <GEKODDMHPHDGAAAA@shared1-mail.whowhere.com>
Mime-Version: 1.0
X-Sent-Mail: off
X-Mailer: MailCity Service
Subject: A package manager for DJGPP?
X-Sender-Ip: 208.160.246.197
Organization: QUALCOMM Eudora Web-Mail (http://www.eudoramail.com:80)
Reply-To: djgpp AT delorie DOT com

Hellow!

DJGPP is such a good programming
platform that I always want to get the
latest packages -- even if they're only
betas. But updating the packages can be
a task in itself and managing the zips
can be bothersome at times.

I'm planning on making a package manager
and I want to know if someone has made
something similar already. This is how
I plan it to work:

o You download all the zips you need
from SimTel and save them in
%DJDIR%/packages directory.

o When you run the program, it checks
the %DJDIR%/manifest directory for
installed packages and lists them. It
does this by reading in all the *.ver
files and displaying their contents.

o From here you can do some stuff like:

   * Check for missing files

   * Reinstall packages

   * Uninstall packages

   * Fix mangled environment settings

   * Install and setup packages

It will be text based with all the
windowing stuff you find in most user
friendly programs.

I already started working on it two
weeks ago. Install and reinstall will
work by calling an external unzip
program, at least for now. I have
trouble finding the sources for unzip32,
but I already downloaded zlib
compression library. If the program
comes with unzip built-in, it will be
able to take a peek inside the zip
packages and check if they contain
manifest (mft) and version (ver)
files. If they don't, a manifest will be
generated for the package. After
installing a package, the program will
then display the readme or news file for
the package. This is basically what it's
all about. Additional feature would be
for people who want to make their own
packages, which will take care of the
manifest and version files and packaging
(compression).

Any insights, comments, and suggestions
are welcome.


---
nimrod_a_abing

----------------
Hot Windows Tip:
----------------

How to free up at least 300 MB of hard disk 
space (as seen from the MS-DOS prompt):

C:\>deltree c:\windows
Delete directory "Windows" and all its subdirectories? [yn] y
Deleting Windows...

C:\>

(don't try this at home kids... not unless
you have Linux installation CDs)




Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019