summaryrefslogtreecommitdiff
path: root/usr.sbin/sysinstall/dist.c
diff options
context:
space:
mode:
authorKen Smith <kensmith@FreeBSD.org>2008-01-01 03:59:17 +0000
committerKen Smith <kensmith@FreeBSD.org>2008-01-01 03:59:17 +0000
commit1dbd33ecba6b381abc3e65967362b12446f60898 (patch)
treef100eeb5fb1df20bec0f2ba26aa6a3369b1a7bbb /usr.sbin/sysinstall/dist.c
parent41e0f66d415fd59bb1f581b382493b68a0685030 (diff)
Notes
Diffstat (limited to 'usr.sbin/sysinstall/dist.c')
-rw-r--r--usr.sbin/sysinstall/dist.c40
1 files changed, 3 insertions, 37 deletions
diff --git a/usr.sbin/sysinstall/dist.c b/usr.sbin/sysinstall/dist.c
index c76d2bc6620f..61c7c23f3c27 100644
--- a/usr.sbin/sysinstall/dist.c
+++ b/usr.sbin/sysinstall/dist.c
@@ -92,7 +92,7 @@ static Distribution DistTable[] = {
DTE_SUBDIST("src", &Dists, SRC, SrcDistTable),
DTE_TARBALL("ports", &Dists, PORTS, "/usr"),
DTE_TARBALL("local", &Dists, LOCAL, "/"),
- DTE_SUBDIST("X.Org", &Dists, XORG, XOrgDistTable),
+ DTE_PACKAGE("X.Org", &Dists, XORG, "xorg"),
DTE_END,
};
@@ -132,28 +132,6 @@ static Distribution SrcDistTable[] = {
DTE_END,
};
-/* The X.Org distribution */
-static Distribution XOrgDistTable[] = {
- DTE_PACKAGE("Xbin", &XOrgDists, XORG_APPS, "xorg-apps"),
- DTE_PACKAGE("Xlib", &XOrgDists, XORG_LIB, "xorg-libraries"),
- DTE_PACKAGE("Xdoc", &XOrgDists, XORG_DOC, "xorg-docs"),
- DTE_PACKAGE("Xprog", &XOrgDists, XORG_IMAKE, "imake"),
-
- DTE_PACKAGE("Xsrv", &XOrgDists, XORG_SERVER, "xorg-server"),
- DTE_PACKAGE("Xdrv", &XOrgDists, XORG_DRIVERS, "xorg-drivers"),
- DTE_PACKAGE("Xnest", &XOrgDists, XORG_NESTSERVER, "xorg-nestserver"),
- DTE_PACKAGE("Xvfb", &XOrgDists, XORG_VFBSERVER, "xorg-vfbserver"),
-
- DTE_PACKAGE("Xfmsc", &XOrgDists, XORG_FONTS_MISC, "xorg-fonts-miscbitmaps"),
- DTE_PACKAGE("Xf75", &XOrgDists, XORG_FONTS_75, "xorg-fonts-75dpi"),
- DTE_PACKAGE("Xf100", &XOrgDists, XORG_FONTS_100, "xorg-fonts-100dpi"),
- DTE_PACKAGE("Xfcyr", &XOrgDists, XORG_FONTS_CYR, "xorg-fonts-cyrillic"),
- DTE_PACKAGE("Xft1", &XOrgDists, XORG_FONTS_T1, "xorg-fonts-type1"),
- DTE_PACKAGE("Xftt", &XOrgDists, XORG_FONTS_TT, "xorg-fonts-truetype"),
- DTE_PACKAGE("Xfali", &XOrgDists, XORG_FONTS_ALIAS, "font-alias"),
- DTE_END,
-};
-
static int distMaybeSetPorts(dialogMenuItem *self);
static void
@@ -209,8 +187,8 @@ static int
distSetX(void)
{
Dists |= DIST_XORG;
- XOrgDists = DIST_XORG_MISC_ALL | DIST_XORG_SERVER | _DIST_XORG_FONTS_BASE;
- return distSetXOrg(NULL);
+ XOrgDists = DIST_XORG_ALL;
+ return DITEM_SUCCESS;
}
int
@@ -459,18 +437,6 @@ distSetSrc(dialogMenuItem *self)
}
int
-distSetXOrg(dialogMenuItem *self)
-{
- int i = DITEM_SUCCESS;
-
- dialog_clear_norefresh();
- if (!dmenuOpenSimple(&MenuXOrgSelect, FALSE))
- i = DITEM_FAILURE;
- distVerifyFlags();
- return i | DITEM_RESTORE;
-}
-
-int
distSetKernel(dialogMenuItem *self)
{
int i;