Browse Source

tasksel 1.8 never got added to CVS, I'm adding it.

The 1.7->1.8 changes were done by Randolph Chung <tausq@debian.org>
tags/debian_version_1_8
David Whedon 20 years ago
parent
commit
7302a87e17
6 changed files with 22 additions and 9 deletions
  1. +4
    -2
      data.c
  2. +9
    -0
      debian/changelog
  3. +1
    -0
      debian/control
  4. +1
    -1
      debian/menu
  5. +6
    -5
      slangui.c
  6. +1
    -1
      tasks/polish

+ 4
- 2
data.c View File

@@ -1,4 +1,4 @@
/* $Id: data.c,v 1.13 2001/07/02 03:43:58 ajt Rel $ */
/* $Id: data.c,v 1.14 2001/09/16 20:14:58 dwhedon Rel $ */
/* data.c - encapsulates functions for reading a package listing like dpkg's available file
* Internally, packages are stored in a binary tree format to faciliate search operations
*/
@@ -70,8 +70,10 @@ static void tasks_walk_enumerate(const void *nodep, const VISIT order, const int
}


static int taskcompare(const struct task_t *l, const struct task_t *r)
static int taskcompare(const void *lp, const void *rp)
{
const struct task_t *l = (const struct task_t *)lp;
const struct task_t *r = (const struct task_t *)rp;
return strcmp(l->name, r->name);
}



+ 9
- 0
debian/changelog View File

@@ -1,3 +1,12 @@
tasksel (1.8) unstable; urgency=low

* Add build-depends. Closes: #105475
* Code fixes. Closes: #103974
* task changes. Closes: #107830
* add su-to-root to menu entry. Closes: #71993

-- Randolph Chung <tausq@debian.org> Thu, 30 Aug 2001 21:24:23 -0700

tasksel (1.7) unstable; urgency=medium

* Use new X meta packages. Closes: #103773 (RC base bug)


+ 1
- 0
debian/control View File

@@ -3,6 +3,7 @@ Section: base
Priority: optional
Maintainer: Randolph Chung <tausq@debian.org>
Standards-Version: 3.5.6.0
Build-Depends: debhelper, slang1-dev

Package: tasksel
Architecture: any


+ 1
- 1
debian/menu View File

@@ -1,3 +1,3 @@
?package(tasksel):needs="text" section="Apps/System"\
title="Task selector"\
command="/usr/bin/tasksel"
command="su-to-root /usr/bin/tasksel"

+ 6
- 5
slangui.c View File

@@ -1,4 +1,4 @@
/* $Id: slangui.c,v 1.22 2001/05/23 17:39:54 joeyh Rel $ */
/* $Id: slangui.c,v 1.23 2001/09/16 20:14:58 dwhedon Rel $ */
/* slangui.c - SLang user interface routines */
/* TODO: the redraw code is a bit broken, also this module is using way too many
* global vars */
@@ -92,7 +92,7 @@ static char *getsectiondesc(char *sec) {

static void initdisplayhints(void) {
int i, j, k;
char *lastsec;
char *lastsec = NULL;

_displaylines = 0;
for (i = 0; i < _tasks->count; i++) {
@@ -112,7 +112,7 @@ static void initdisplayhints(void) {
char *sec = TASK_SECTION(_tasksary[j]);
if (strcmp(sec, sectiondesc[i].section) == 0) {
_displayhint[k++] = -1;
for (j; j < _tasks->count; j++) {
for (; j < _tasks->count; j++) {
char *sec = TASK_SECTION(_tasksary[j]);
if (strcmp(sec, sectiondesc[i].section) == 0) {
_displayhint[k++] = j;
@@ -140,9 +140,10 @@ static void initdisplayhints(void) {
}
}

int taskseccompare(const struct task_t **pl, const struct task_t **pr)
int taskseccompare(const void *pl, const void *pr)
{
struct task_t *l = *pl, *r = *pr;
const struct task_t *l = *((const struct task_t **)pl);
const struct task_t *r = *((const struct task_t **)pr);
char *ls = NULL, *rs = NULL;
int y = strcmp(l->name, r->name);
if (y == 0) return 0;


+ 1
- 1
tasks/polish View File

@@ -14,6 +14,6 @@ Packages:
xfonts-biznet-iso-8859-2-base
xfonts-biznet-iso-8859-2-75dpi
manpages-pl-dev
wpolish
doc-linux-pl-html
xfonts-biznet-iso-8859-2-100dpi
language-env

Loading…
Cancel
Save