update to nutdb 10.12

new recipe-guess algorithm

from maintainer Jon Trembley <jon at brain-box.net>
This commit is contained in:
sturm 2004-12-25 19:35:34 +00:00
parent 574ea67282
commit a7022f3ea3
4 changed files with 27 additions and 30 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.4 2004/12/05 11:52:17 xsa Exp $
# $OpenBSD: Makefile,v 1.5 2004/12/25 19:35:34 sturm Exp $
COMMENT= "record what you eat and analyze your meals for nutrient composition"
PKGNAME= nutdb-10.11
DISTNAME= nut-10.11
PKGNAME= nutdb-10.12
DISTNAME= nut-10.12
CATEGORIES= biology
HOMEPAGE= http://www.lafn.org/~av832/
@ -20,7 +20,7 @@ MASTER_SITES= ${HOMEPAGE}
NO_REGRESS= Yes
ALL_TARGET= nut
ALL_TARGET= nut
USE_GMAKE= Yes

View File

@ -1,3 +1,3 @@
MD5 (nut-10.11.tar.gz) = cca4cac7c1d85723c09911c1afce77f3
RMD160 (nut-10.11.tar.gz) = cb06781f5160b471b08ec30f358bc63991f4d695
SHA1 (nut-10.11.tar.gz) = 4d4e16f4a00114f9ed57a830dce36a7bfcf039ab
MD5 (nut-10.12.tar.gz) = 1601d8734e0fa29a8ab002939f55e582
RMD160 (nut-10.12.tar.gz) = 23a68fd3a8c04fa37dfbc7fef0dc37291efac724
SHA1 (nut-10.12.tar.gz) = d08a4d751baa34d57fe51708d11305f0016dfbfd

View File

@ -1,15 +1,14 @@
--- nut.1.orig Fri Nov 26 07:32:10 2004
+++ nut.1 Sun Dec 5 12:42:21 2004
--- nut.1.orig Sat Dec 4 21:34:16 2004
+++ nut.1 Sat Dec 4 21:35:02 2004
@@ -4,13 +4,13 @@
.\" LP paragraph
.\" IP indented paragraph
.\" TP hanging label
-.TH NUT 1 "NUT - 2004.11.25"
+.TH NUTDB 1 "NUTDB - 2004.11.25"
-.TH NUT 1 "NUT - 2004.12.04"
+.TH NUTDB 1 "NUTDB - 2004.12.04"
.SH NAME
.SH SYNOPSIS
-.B nut [dbname]
+.B nutdb [dbname]
.B nut [dbname]
.SH DESCRIPTION
.LP
-.B NUT
@ -17,7 +16,7 @@
allows you to record what you eat and analyze your meals for nutrient
composition. The database included is the
USDA Nutrient Database for Standard Reference, Release 17, which contains
@@ -39,7 +39,7 @@ You may add your own recipes to the data
@@ -39,7 +39,7 @@
by creating them from the foods in the database.
You can also add foods from the information on commercial food labels. The program is completely menu-driven and there are no commands to learn.
@ -26,23 +25,21 @@
can be called with an optional argument to specify a database subdirectory.
For example, if a user tracks meals for other family members, each person
can have his own database, and each database is entirely separate.
@@ -124,8 +124,8 @@ for water gained or lost in preparation.
@@ -122,7 +122,7 @@
and provides an opportunity to adjust the weight of the servings to allow
for water gained or lost in preparation.
To add a labeled food
-NUT allows you to add a labeled food
+NUTDB allows you to add a labeled food
with an ordered list of ingredients and a nutrition statement,
-NUT allows you to find the ingredients and fill in the nutrient information from the label.
-NUT will then construct a recipe to fit the criteria the best it can.
+NUTDB allows you to find the ingredients and fill in the nutrient information from the label.
+NUTDB will then construct a recipe to fit the criteria the best it can.
The new food will have additional nutrients that
were not on the nutrition statement, but that the database says are in the food.
First, the labeled food is named.
@@ -141,18 +141,18 @@ copied into the program. Whenever you qu
select a different set of nutrients. The "DV" percentages for this part of
the program are the USA standard 2000-calorie Daily Values, and not any
@@ -141,18 +141,18 @@
customized options--but users can always set the label's nutrient information in grams.
-NUT then constructs an approximate recipe for the food to fill
+NUTDB then constructs an approximate recipe for the food to fill
Only Daily Value nutrients greater than zero are considered as
constraints when
-NUT constructs an approximate recipe in order to fill
+NUTDB constructs an approximate recipe in order to fill
in nutrient values that were not expressed on the food label.
After the recipe is displayed there is an additional opportunity to
edit the
@ -53,13 +50,13 @@
+after NUTDB constructed a recipe to specify the
additional vitamin amounts.
Whatever the rationale for additional editing, the user has total control
over the nutritional information, no matter what
over the nutritional information no matter what
-NUT's approximate recipe suggested. The new food record is saved in the database
+NUTDB's approximate recipe suggested. The new food record is saved in the database
in the same manner as a recipe.
To modify the serving size of an existing food, the food is selected
@@ -225,7 +225,7 @@ linolenic acid, e = EPA, and d = DHA.
@@ -225,7 +225,7 @@
.B Record 'The Usual'--Customary Meals:
When
@ -68,7 +65,7 @@
asks what you are having, you can answer "the usual." Specifically,
this function allows you to record a customary meal,
and give it a name. Later, when
@@ -256,7 +256,7 @@ food.db Food database
@@ -256,7 +256,7 @@
meal.db Meal database
theusual.db Customary Meals database
OPTIONS.txt Personal Options records

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.2 2004/12/05 11:52:17 xsa Exp $
@comment $OpenBSD: PLIST,v 1.3 2004/12/25 19:35:35 sturm Exp $
bin/nutdb
lib/nutdb/
lib/nutdb/FOOD_DES.txt