Commit graph

34 commits

Author SHA1 Message Date
asau
372426dca4 "user-destdir" is default these days 2012-09-11 20:32:10 +00:00
obache
9940d71335 Update nut to 15.8.
Based on PR#43776 by Kamel Derouiche for 15.7.

What's new in nut 15.8:
 * This release updates the USDA database to include some data corrections for
   milk.
 * The program's initial data load is now considerably faster.

What's new in nut 15.7:
 * This version includes an improvement to the automatic calorie tool to make it
   better able to hold fat mass or lean mass constant.
 * Also, there is now a facility to explicitly set the ratio between linoleic
   and alpha-linolenic acids.

What's new in nut 15.0:
 * This release introduces the new USDA Nutrient Database SR22 and allows
   current nut installations to have their existing meal records reinterpreted
   with the new database.

What's new in nut 14.5a:
 * The new feature "Weight Log Regression" does not tell you what you weigh;
   what it does is apply linear regression to a series of daily weight and body
   fat percentage entries to smooth out the random noise and tell you which
   direction your weight is trending, how fast it is going there, and how much
   of the change is lean or fat.
2010-09-19 07:52:19 +00:00
wiz
5334cc804c Update to 14.4:
Changes: This release adds a feature that can automatically choose
food quantities when a meal is to have a particular amount of fat,
protein, or carbohydrate. Currently, you can modify a food quantity
from the meal list by typing the food number and a new quantity.
For example, "2 100g" means change food #2 to 100 grams. This
feature allows the user to type "protein", "carb", or "fat" instead
of an explicit new quantity. For example, "2 carb" indicates that
you want the second food's quantity changed so that the meal's
Daily Value for non-fiber carb is satisfied.

* 14.3

Changes: This release modifies the default polyunsaturated fat
reference values.

* 14.2

Changes: This release revises the default fatty acid reference
values.

* 14.1

Changes: This release updates the Omega-3 defaults.

* 14.0

Changes: This release introduces the new USDA Nutrient Database
SR21, and allows current nut installations to have their existing
meal records reinterpreted with the new database.
2009-08-09 23:15:43 +00:00
joerg
e209761d06 Remove @dirrm entries from PLISTs 2009-06-14 17:28:16 +00:00
obache
2c581bd82c Update nut to 13.2. Should close PR 34466.
Pkgsrc changes:
    Add DESTDIR support.

Recent changes (cannot available changes from 10.18 to 12.6 anymore).
13.2:
This release makes minor changes to the analysis reset and food suggestion
functions.
13.1:
This release changes some fatty acid defaults to allow more saturated fat when
eating low-carb, and to raise the maximum amount of long-chain Omega-3.
13.0:
This release introduces the new USDA Nutrient Database SR20 and allows current
NUT installations to have their existing meal records reinterpreted with the new
database.
12.7:
This release uses a new food name abbreviation algorithm so that food names are
more informative and less cryptic.
2008-01-30 05:43:55 +00:00
wiz
a7c8e0cd61 Reset maintainer on his request. 2008-01-19 09:16:17 +00:00
wiz
2e9cb6a61a Update MASTER_SITES and HOMEPAGE. From Zafer Aydogan. 2007-12-29 10:17:46 +00:00
rillig
2829e658f2 Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
${PREFIX}/${PKGMANDIR}.

Fixes PR 35265, although I did not use the patch provided therein.
2007-01-07 09:13:46 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
jlam
81edaaa606 Create directories before installing files into them. 2005-06-16 06:57:37 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
wiz
13b58306b5 Update to 10.18. Should fix PR 27404.
10.18:
This release contains a fix for the floating point
exception on NetBSD-2.0/alpha.
10.17:
This release corrects the formatting of the man page and
restores the correct alpha-linolenic acid reference
value, which was too low in the last release.
10.16:
This release fixes a segfault that occurs when analyzing
added and subtracted foods that total zero calories.
10.15:
This release completes the changing of all calculations
to substitute user averages for program constants in the
values of calories per gram of carb, fat, and protein,
and of the percentage of total fat that is fatty acids.
This means that personal options in terms of percentages
and ratios will be more precise.
2005-04-19 10:45:19 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
6fa3382159 Add RMD160 digests in addition to the SHA1 ones. 2005-02-22 21:28:55 +00:00
wiz
6c654dd3d7 Update to 10.14:
This release changes some computations to make the nutrient values for
packaged foods added from food labels more accurate.
2004-12-30 13:39:12 +00:00
wiz
ff1363f784 Update to 10.13.
New in 10.13:
This release fixes the incorrect "Analyze Meals" screen header that says
"Record Meals". It fixes the function that guesses recipes of packaged foods,
which worked properly but had a variable and a constant of the same value
reversed so that user modifications to increase the precision would fail.

New in 10.12:
The function that guesses the recipes of packaged foods based on the
nutrition and ingredient statements has been rewritten. A much faster
implementation is achieved by quantizing all the values. This algorithm is a
search through all possible recipes because simultaneous equations do not
work for this problem.

New in 10.11:
This release contains a fix for bad Pumpkin Pie values, specifically, null
"carb/prot/fat" values for foods for which the USDA does not supply this
data.

New in 10.10:
This release fixes a bug in the function that allows foods to be added from
food labels. The carb/protein/fat field was not correct because
calories-per-gram fields were not explicitly set.

New in 10.9:
This release contains a fix for wrong calories-per-gram values when the
program starts because it read a float as an integer from the options file.

New in 10.8:
This release contains many small changes, among them an update of the fatty
acid reference values, a removal of the hard-to-obtain "Alaska Native" foods
as food suggestions, and a closer approximation when protein or carbs are
expressed as a percentage of calories.

New in 10.7:
This release changes how personal options are saved to disk so that personal
options will never be lost across program upgrades. Changes have also been
made to how the program upgrades itself on dual-boot systems, and levels of
the Omega-3 reference values have been modified.

New in 10.6:
This release fixes minor bugs related to the "Carb/Prot/Fat" field. Values
for alcoholic beverages have been corrected. Also, an error was fixed that
led to different fat values based on whether the user input changes to the
protein and carb "Daily Values" in percentages or grams. If the two
operations led to the same number of grams of protein and carbs, there should
have been no difference in the fat value.

New in 10.5:
This release adjusts the Omega-3 default reference values, for which there are
no U.S.A. Daily Values, so that EPA and DHA will be higher and alpha-linolenic
acid a little lower.

New in 10.4:
This release contains two minor design changes to the new feature of the last
release, which automatically chooses a meal analysis period. Always choosing
integer days, the new version picks the day closest to the target rather than
the day before; and allows no period shorter than five days, instead of four.

New in 10.3: don't know.
2004-12-26 15:11:22 +00:00
wiz
6e02d7ee41 Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
2004-12-03 15:14:50 +00:00
wiz
5eeee836c2 Update to 10.2:
This release fixes a computation error in the value for monounsaturated fat
when the user sets a fat level higher than the Daily Value.
2004-08-18 11:22:36 +00:00
wiz
d147c8fb22 Update to 10.1:
10.1:
This release adds a fix for zero values that display as no data.
10.0:
This release updates the USDA Nutrient Database to version SR17, and allows
current NUT installations to have their existing meal records reinterpreted
with the new database.
9.20:
This release optimizes the new code of the last release, the focus of which
was distinguishing no data from zero in the USDA database.
9.19:
The program now distinguishes between zero values and no data in the USDA
database, and uses this information to produce a new screen that lists foods
high in some nutrient while minimizing some other nutrient.
9.18:
This release contains revisions to the polyunsaturated fatty acid reference
values and how they scale up as fats increase and carbs decrease.
9.17:
This release provides what may be more reasonable or optimal default settings
for fat percentages when the user sets the program for low carb.
9.16:
This release contains bugfixes for a segmentation fault which occurred when
entering a control-D and a monounsaturated fat reference value that was too
high.
9.15:
This release makes serving sizes more consistent among food groups. It adds
functions to change the default serving size, and to sort foods by nutrients
per serving.
9.14:
This release adds support for an optional database subdirectory, allowing the
user to easily maintain multiple databases, for multiple family members, for
instance. It also adds display of non-fiber carbohydrate grams ("net carbs")
on the main analysis screen.
9.13:
The program now allows commercial foods that have a nutrition label and an
ordered ingredients statement to be added to the food database. An
approximation to a food's recipe is found that best fits the criteria and the
recipe is analyzed to provide information about the additional nutrients not
stated on the nutrition label.
9.12:
[unknown]
2004-08-15 12:06:34 +00:00
snj
9791cde6d6 Use buildlink3. Requested by Georg Schwarz in PR pkg/26654. 2004-08-14 15:51:37 +00:00
wiz
7e32f9de41 Update to 9.11:
New in 9.11:
Because the program uses the approximation of 4 calories per gram
for carbohydrate and protein to analyze meals according to the
"Daily Value" -- although real food has various values for calories
per gram -- the program now refigures fat percentage values at each
analysis so that when calories, carbs, and protein are each at
exactly 100%, fat will be also.
New in 9.10:
This release fixes a buffer overflow in the food selection function
which caused the program to not find certain foods even though they
existed in the database.
New in 9.9:
A bug has been fixed in which during food selection, the program
lost the value of the food name key. Also, some of the program's
reference values for the essential fatty acids have been modified.
New in 9.8:
The program now defaults to either grams or ounces, depending on
the weight unit the user enters to specify servings. A bug in
handling customary meal names that are too long has been fixed.
New in 9.7:
The program computes essential fatty acid reference values based
on the user's diet. Prior releases aimed toward a particular balance
of Omega-6 and Omega-3. This release allows the user to specify
the balance between Omega-6 and Omega-3 without having to determine
the amount of the individual fatty acids.
New in 9.6:
The program is now capable of understanding food names in simple
English, such as "fried chicken" and "mashed potatoes." This is
accomplished by including the list of abbreviations the USDA uses
and by successively searching for each tokenized term, whatever
the order in the USDA name.
2004-03-10 18:37:48 +00:00
grant
ed16993a08 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-22 07:14:59 +00:00
wiz
0989e29e4b Update to 9.5:
9.5:
The last release introduced a bug when adding customary meals to
regular meals. The program now adds the foods without the additional
prompt screen.
9.4:
This release changes the method of searching for foods to a substring
search. The narrowing-down of food categories to a unique food is
the same as in prior releases.
2003-12-25 14:46:17 +00:00
wiz
08e57f51e7 Update to 9.3:
This release fixes a bug in the graphs where the "Daily Value" was
such a small percentage of the values graphed that the DV line
indicator exceeded the graph width.
2003-12-13 10:44:06 +00:00
wiz
2577cc71b7 Update to 9.2:
9.2:
The upper limit of the polyunsaturated reference value for linoleic
acid has been reduced to 4% of calories, while that for alpha
linolenic acid has been raised to 2%. An internal constant for the
percentage of total fat that is fatty acids has been replaced by
a function that figures it for each analysis.

9.1:
The program is no longer limited to three meals a day, and can now
be set for 1 to 19 meals per day. A list of the meals not yet
recorded for a selected day is displayed as a mnemonic during the
"Record Meals" function.
2003-10-05 10:24:57 +00:00
wiz
2e372d02f3 Update to 9.0.
Changes: This release introduces the new USDA Nutrient Database,
SR16, which has 6,661 foods and 125 nutrients, and includes an
automatic conversion feature so that NUT 8.x installations can
preserve existing meal records and have them interpreted with the
latest USDA database.
2003-08-11 07:26:00 +00:00
martti
ff0278ea30 COMMENT should start with a capital letter. 2003-07-21 16:24:36 +00:00
wiz
157928c4de Update to 8.10. Not sure what has changed since 4.x, but I'd guess rather
much.
2003-07-12 12:23:12 +00:00
zuntum
273821c4d3 Move pkg/ files into package's toplevel directory 2001-10-31 20:59:00 +00:00
agc
b78848d6ca Move to sha1 digests, and add distfile sizes. 2001-04-19 16:02:23 +00:00
agc
18ea9c7e79 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 10:22:24 +00:00
wiz
2db9056f6e Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 13:41:26 +00:00
wiz
3a91bc506c remove trailing '.' 2000-02-05 18:18:14 +00:00
garbled
ca40abfb5a Initial import of nut program.
record what you eat and analyze your meals.
2000-01-11 02:56:33 +00:00