diff options
author | jhb <jhb@FreeBSD.org> | 2003-01-17 19:05:32 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2003-01-17 19:05:32 +0000 |
commit | dc23a6cc293c5c66de9b340f144e5ac526bba8ad (patch) | |
tree | 5693ab9d8e2cce0b997fefaa64f9d54c4151f882 /usr.sbin/sade/sade.h | |
parent | e4bbc64e1d967c8a58f0c9dee351e26d463366b0 (diff) | |
download | FreeBSD-src-dc23a6cc293c5c66de9b340f144e5ac526bba8ad.zip FreeBSD-src-dc23a6cc293c5c66de9b340f144e5ac526bba8ad.tar.gz |
- Rename installFixupBin to installFixupBase to finish up the 'bin' to
'base' dist rename.
- Rework struct dist to allow for different types of dists. There are
currently three types of dists: DT_TARBALL, the traditonal gzipped and
split tar file; DT_PACKAGE, a package; and DT_SUBDIST, a meta-dist in
the tree that has its own array of dists as its contents. For example,
the 'base' dist is a DT_TARBALL dist, the 'perl' dist is a DT_PACKAGE
dist, and the 'src' dist is a DT_SUBDIST dist with its own dist table
that contains 'sbase', 'ssys', etc.
- Add helper macros for defining array entries for the different types of
dists to try and make the statically defined dist table in dist.c more
readable.
- Split the logic to deal with a DT_TARBALL dist out of distExtract()
and into its own distExtractTarball() function. distExtract() now
calls other functions to extract each dist.
- Tweak the percentage complete calculation in distExtractTarball() to
do the multiply prior to the divide so it doesn't have to use floating
point.
- Axe the installPackage() function along with the special handling for
the perl and XFree86 dists in distExtractAll() since distExtract()
handles package dists directly now.
- Add back in subdists for the X packages based on the split up packages
that XFree86-4 uses that as closely map to the X dists we used with
X 3.3.x.
- Lots of things like distSetX() and the X dist masks are no longer
#ifndef X_AS_PKG since we use them in both cases now.
- Make the entire installFixupXFree() function #ifndef X_AS_PKG, we only
call it in that case anyways, and it's not suitable for the X_AS_PKG
case.
- Add in X dist menus for the X_AS_PKG case.
Approved by: re
Diffstat (limited to 'usr.sbin/sade/sade.h')
-rw-r--r-- | usr.sbin/sade/sade.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/usr.sbin/sade/sade.h b/usr.sbin/sade/sade.h index 5f19c13..68a16c9 100644 --- a/usr.sbin/sade/sade.h +++ b/usr.sbin/sade/sade.h @@ -413,11 +413,9 @@ extern Device *mediaDevice; /* Where we're getting our distribution from */ extern unsigned int Dists; /* Which distributions we want */ extern unsigned int CRYPTODists; /* Which naughty distributions we want */ extern unsigned int SrcDists; /* Which src distributions we want */ -#ifndef X_AS_PKG extern unsigned int XF86Dists; /* Which XFree86 dists we want */ extern unsigned int XF86ServerDists; /* The XFree86 servers we want */ extern unsigned int XF86FontDists; /* The XFree86 fonts we want */ -#endif extern int BootMgr; /* Which boot manager to use */ extern int StatusLine; /* Where to print our status messages */ extern DMenu MenuInitial; /* Initial installation menu */ @@ -467,13 +465,13 @@ extern DMenu MenuDiskDevices; /* Disk type devices */ extern DMenu MenuSubDistributions; /* Custom distribution menu */ extern DMenu MenuSrcDistributions; /* Source distribution menu */ extern DMenu MenuXF86; /* XFree86 main menu */ -#ifndef X_AS_PKG extern DMenu MenuXF86Select; /* XFree86 distribution selection menu */ extern DMenu MenuXF86SelectCore; /* XFree86 core distribution menu */ extern DMenu MenuXF86SelectServer; /* XFree86 server distribution menu */ +#if !defined(X_AS_PKG) && defined(__i386__) && defined(PC98) extern DMenu MenuXF86SelectPC98Server; /* XFree86 server distribution menu */ -extern DMenu MenuXF86SelectFonts; /* XFree86 font selection menu */ #endif +extern DMenu MenuXF86SelectFonts; /* XFree86 font selection menu */ extern DMenu MenuXDesktops; /* Disk devices menu */ extern DMenu MenuHTMLDoc; /* HTML Documentation menu */ extern DMenu MenuUsermgmt; /* User management menu */ @@ -589,9 +587,7 @@ extern int distSetXUser(dialogMenuItem *self); extern int distSetMinimum(dialogMenuItem *self); extern int distSetEverything(dialogMenuItem *self); extern int distSetSrc(dialogMenuItem *self); -#ifndef X_AS_PKG extern int distSetXF86(dialogMenuItem *self); -#endif extern int distExtractAll(dialogMenuItem *self); /* dmenu.c */ @@ -663,13 +659,14 @@ extern int installStandard(dialogMenuItem *self); extern int installFixitHoloShell(dialogMenuItem *self); extern int installFixitCDROM(dialogMenuItem *self); extern int installFixitFloppy(dialogMenuItem *self); -extern int installFixupBin(dialogMenuItem *self); +extern int installFixupBase(dialogMenuItem *self); +#ifndef X_AS_PKG extern int installFixupXFree(dialogMenuItem *self); +#endif extern int installUpgrade(dialogMenuItem *self); extern int installFilesystems(dialogMenuItem *self); extern int installVarDefaults(dialogMenuItem *self); extern void installEnvironment(void); -extern int installPackage(dialogMenuItem *self, char *package, char *desc); extern Boolean copySelf(void); /* kget.c */ |