Mention distro-info-data dependency.

This commit is contained in:
Luis Guzman 2022-04-06 11:02:38 -05:00
parent 8ce21fe8d2
commit 0207425fed
4 changed files with 55 additions and 41 deletions

View file

@ -1,34 +1,45 @@
diff -Nru source/distro-info-util.c source_b/distro-info-util.c
--- source/distro-info-util.c 2019-03-07 13:33:56.000000000 -0600
+++ source_b/distro-info-util.c 2021-12-17 09:47:58.217720979 -0600
@@ -545,7 +545,7 @@
--- source/distro-info-util.c 2021-11-04 15:27:37.000000000 -0600
+++ source/distro-info-util.c_fix 2022-04-06 10:00:23.394992023 -0500
@@ -423,10 +423,6 @@
free(list->distro->milestones[MILESTONE_EOL_LTS]);
free(list->distro->milestones[MILESTONE_EOL_ELTS]);
#endif
" -a --all list all known versions\n"
" -d --devel latest development version\n"
-#ifdef UBUNTU
- free(list->distro->milestones[MILESTONE_EOL_SERVER]);
- free(list->distro->milestones[MILESTONE_EOL_ESM]);
-#endif
free(list->distro);
free(list);
list = next;
@@ -581,7 +577,7 @@
" -t --testing current testing version\n"
#endif
" -s --stable latest stable version\n"
-#ifdef UBUNTU
+#ifdef TRISQUEL
" --lts latest long term support (LTS) version\n"
#endif
#ifdef DEBIAN
@@ -553,9 +553,6 @@
@@ -592,9 +588,6 @@
" -l --lts list of all LTS supported versions\n"
" -e --elts list of all Extended LTS supported versions\n"
#endif
" -s --stable latest stable version\n"
" --supported list of all supported stable versions\n"
-#ifdef UBUNTU
- " --supported-esm list of all Ubuntu Advantage supported stable versions\n"
-#endif
" --unsupported list of all unsupported stable versions\n"
" -c --codename print the codename (default)\n"
" -f --fullname print the full name\n"
@@ -612,7 +605,7 @@
#ifdef DEBIAN
" -t --testing current testing version\n"
"--elts, "
#endif
@@ -573,16 +570,13 @@
"--alias, "
#endif
"--all, --devel, "
-#ifdef UBUNTU
+#ifdef TRISQUEL
"--latest, --lts, "
"--latest, "
#endif
#ifdef DEBIAN
"--lts, "
@@ -620,9 +613,6 @@
"--oldstable, "
#endif
"--stable, --supported, "
@ -38,7 +49,7 @@ diff -Nru source/distro-info-util.c source_b/distro-info-util.c
"--series, "
#ifdef DEBIAN
"--testing, "
@@ -611,7 +605,7 @@
@@ -651,7 +641,7 @@
#ifdef DEBIAN
char *alias_codename = NULL;
#endif
@ -47,7 +58,7 @@ diff -Nru source/distro-info-util.c source_b/distro-info-util.c
bool filter_latest = false;
#endif
@@ -624,9 +618,6 @@
@@ -664,9 +654,6 @@
{"devel", no_argument, NULL, 'd' },
{"stable", no_argument, NULL, 's' },
{"supported", no_argument, NULL, 'S' },
@ -57,7 +68,7 @@ diff -Nru source/distro-info-util.c source_b/distro-info-util.c
{"unsupported", no_argument, NULL, 'U' },
{"codename", no_argument, NULL, 'c' },
{"fullname", no_argument, NULL, 'f' },
@@ -636,14 +627,14 @@
@@ -678,14 +665,14 @@
{"oldstable", no_argument, NULL, 'o' },
{"testing", no_argument, NULL, 't' },
#endif
@ -74,7 +85,7 @@ diff -Nru source/distro-info-util.c source_b/distro-info-util.c
const char *short_options = "hadscrfly::";
#endif
#ifdef DEBIAN
@@ -689,7 +680,7 @@
@@ -731,7 +718,7 @@
case 'd':
selected_filters++;
filter_cb = filter_devel;
@ -83,7 +94,7 @@ diff -Nru source/distro-info-util.c source_b/distro-info-util.c
select_cb = select_latest_created;
#endif
#ifdef DEBIAN
@@ -740,7 +731,7 @@
@@ -782,7 +769,7 @@
free(date);
return EXIT_SUCCESS;
@ -92,7 +103,7 @@ diff -Nru source/distro-info-util.c source_b/distro-info-util.c
case 'l':
selected_filters++;
filter_latest = true;
@@ -782,15 +773,6 @@
@@ -836,15 +823,6 @@
select_cb = NULL;
break;
@ -108,7 +119,7 @@ diff -Nru source/distro-info-util.c source_b/distro-info-util.c
#ifdef DEBIAN
case 't':
selected_filters++;
@@ -922,7 +904,7 @@
@@ -976,7 +954,7 @@
selected = select_series(distro_list, series_name);
} else {
selected = get_distro(distro_list, date, filter_cb, select_cb);