recipes: Preserve warnings flags appending the C flags in some (specific) recipes
[dragora.git] / qi / NEWS
blob9b989382929bf460172b0d05ac7f4c8cafbae538
1 2022-05-02  Matias Fonzo  <selk@dragora.org>
3     * Version 2.8 released.
5     * Use full remove mode when upgrading a package.  The purpose of this
6       change is to clean up the removal of a previous package when the
7       upgrade mode is invoked.  Previously the package documentation
8       directory (and other possible files) were left on the filesystem.
10     * Minor enhancements.
12 2021-12-14  Matias Fonzo  <selk@dragora.org>
14     * Version 2.7 released.
16     * Now Qi is more precise with exit status number 4 and 6, by hitting
17       "exit" instead of just returning from the functions.
19     * Small corrections for the description of Qi and also for the manual
20       have been sent by Antonio Diaz Diaz.  Thanks!
22 2021-11-01  Matias Fonzo  <selk@dragora.org>
24     * Version 2.6 released.
26     * build: Make a checksum file for the copy of the recipe (the one
27       included in the package, from which the recipe was built).
29     * Do not read the configuration file on create, extract, and order
30       modes.  It is not necessary to read the config file in these modes.
32     * Minor changes.
34 2021-09-28  Matias Fonzo  <selk@dragora.org>
36     * Version 2.5 released.
38     * Searching for previously installed packages in an upgrade has been
39       simplified, which will speed up and save resources in upgrade mode.
41     * The network downloader has been changed to make use of GNU Wget2.
43     * Minor enhancements.
45 2021-04-12  Matias Fonzo  <selk@dragora.org>
47     * Version 2.4 released.
49     * recipes: Added the variable "QICPPFLAGS" to pass the C/C++
50       preprocessor flags to the environment variable "CPPFLAGS".
52     * recipes: Added the "docs" and "docsdir" variables to be unset
53       after processing a recipe.
55     * recipes: Added support for executing other defined functions
56       besides the main build() function.
58     * recipes: Include build flags only if it is a real architecture
59       when creating a package meta.
61     * Change default values for QICFLAGS, QICXXFLAGS from "-g0 -O2" to
62       just "-O2".  Including default value for LDFLAGS from "-s" to
63       just "" (none).  This is to provide more generic values in the
64       package manager distribution.
66     * The documentation is in line with the changes made, plus the
67       sample recipes have been updated.
69     * Minor changes.
71 2020-12-25  Matias Fonzo  <selk@dragora.org>
73     * Version 2.3 released.
75     * doc: The general documentation of Qi has been divided to allow its
76       inclusion from other .texi files.  This does not affect the internal
77       functioning of Qi or the reading of the documentation for the user,
78       but rather it prepares for the incoming Dragora Handbook (Dragora is
79       the project from which Qi is currently developed).
81     * Minor changes.
83 2020-11-09  Matias Fonzo  <selk@dragora.org>
85     * Version 2.2 released.
87     * Get the absolute path name to compose the current working directory
88       when build.  A bug introduced in qi-2.0.
90     * The readconfig() function has been simplified.
92 2020-09-07  Matias Fonzo  <selk@dragora.org>
94     * Version 2.1 released.
96     * Make the code for searching previous packages in an upgrade work again
97       (bug introduced in previous version).
99     * Minor changes.
101 2020-08-22  Matias Fonzo  <selk@dragora.org>
103     * Version 2.0 released.
105     * The user interface has been revised to better differenciate commands
106       and options, for example: `qi install` instead of `qi -i`, `qi remove`
107       instead of `qi -d`, `qi upgrade` instead of `qi -u`, `qi build`
108       instead of `qi -b`, and so on.
110     * The layout of the produced package names has been changed to better
111       differenciate the software name and its version.
113       Before: name-version-architecture-release[@pkgcategory].tlz
114       Now:    name_version_architecture-release[@pkgcategory].tlz
116     * The verbosity level has been changed to a minimal but essential result,
117       while it can now be adjusted from the configuration file.
119     * configure: The --arch= option has been added to define the default
120       package architecture.
122     * install: Fix assignation of 'rootdir' when it is empty and it
123       relies on the value of 'targetdir' when runs a post-install script
124       from subshell.
126     * doc: Fix examples for 'rootdir' since the package directory and
127       the target directory are relative to the specified root directory.
129     * recipes: Add the special variable 'keep_destdir' to complement
130       'keep_srcdir' in order to preserve 'destdir' when using build command.
132     * Be quieter by default in relation to the graft(1) output, if the
133       -v option is given it returns to the previous qi output behavior.
135     * Set the --missing-crc option to tarlz(1) by default to make the
136       package integrity check more reliable.
138     * Use the power of awk(1) to display package descriptions.
140     * Check and report if qi is connected to a terminal when reading from
141       standard input.
143     * Qi's messages have been improved to differentiate themselves from
144       the output of other programs.
146     * Added "coreutils", "bash", and "mksh" to the blacklist filter when
147       upgrading packages.
149     * Support for the SOURCE_DATE_EPOCH specification has been added.
150       See: https://reproducible-builds.org/specs/source-date-epoch/
152     * Default Qi C flags to be passed to the compiler (QICFLAGS, QICXXFLAGS)
153       has been changed from "-g0 -Os" to "-g0 -O2".
155     * The DESCRIPTION, OPTIONS, and ENVIRONMENT sections for the man page
156       (generated by help2man) have been reorganized.
158     * The main Info manual has been refreshed to reflect all these changes.
160     * The examples in the doc directory have been updated.
162     * The CREDITS file has been updated.
164     * Code clean up and minor (but important) enhancements.
166 2020-04-20  Matias Fonzo  <selk@dragora.org>
168     * Version 1.4 released.
170     * build: Added support for optional "package category".  If the
171       variable 'pkgcategory' is declared in a recipe, Qi will produce
172       packages ala "<name>-<version>-<architecture>+release@category".
174     * general: The configuration file is now included instead of being
175       analyzed.  This is to have more room to declare things in general.
177     * build: The 'arch' value is used as suffix for produced packages
178       in order to have a well-organized (per-arch) output directory,
179       e.g:
180        /var/cache/qi/packages/noarch/
181        /var/cache/qi/packages/i586/
182        /var/cache/qi/packages/x86_64/
183        ...
185     * The code of blacklisted packages in the updates has been simplified.
187     * doc: The "Variables from the environment" section has been improved.
189     * build: The 'full_pkgname' variable is now added on the meta tag file.
191     * doc: The manual has been updated to conform to this version.
193     * Minor changes.
195 2019-09-10  Matias Fonzo  <selk@dragora.org>
197     * Version 1.3 released.
199     * Check the exit status when a recipe is imported or included.
200       This will help to catch possible errors when using shell code,
201       rather than proceeding with the recipe.
203     * Minor changes.
205 2019-07-30  Matias Fonzo  <selk@dragora.org>
207     * Version 1.2 released.
209     * The variable 'arch' has been added to the package meta file,
210       additionally, the variables 'program' and 'version' has been
211       replaced with 'pkgname' and 'pkgversion' which take the value
212       of those if they have not been previously established.
214     * Minor changes.
216 2019-05-19  Matias Fonzo  <selk@dragora.org>
218     * Version 1.1 released.
220     * Default external tool for uncompressing files based on .tar.lz
221       archives has been changed in the unpack() function from tarlz(1) to
222       lzip(1) in combination with tar(1).  This is because some files
223       could have been produced using a header format that differs from the
224       default format used by tarlz(1), e.g. the GNU format (by GNU tar).
226     * Some phrases have been improved in the manual, under the section
227       "5.3 Writing recipes".  Thanks to kelsoo.
229 2019-04-15  Matias Fonzo  <selk@dragora.org>
231     * Version 1.0 (stable) released.
233     * The manual (user guide) has been updated.