Re: Nano version changes



Hi All,
The following change/changes have been suggested to help with
compatibility in packaging other dependent packages in Debian, Ubuntu,
and maybe others.  Please look review them and let me know what you
think.

Thanks

On Mon, May 11, 2009 at 2:12 PM, Felipe Castro <fefcas gmail com> wrote:
> Hello,
>
> Well, I have found that, as every binary release until now isn't
> compatible with all the others before, and if you accept my
> suggestion, then the library version could begin from 0:0:0.
>
> See then, the changes in "configure.ac":
>
> ...
> # Package version
> m4_define([databox_major_version], [0]) # Change in case of really major changes
> m4_define([databox_minor_version], [9]) # Change in case of changes in
> exisiting API
> m4_define([databox_micro_version], [0]) # Change in case of new
> functions being added
> m4_define([databox_nano_version],  [2]) # Change for bug fixes, code
> cleanup, etc.
> m4_define([databox_version],
> [databox_major_version.databox_minor_version.databox_micro_version.databox_nano_version])
>
> # Library version
> m4_define([databox_lt_current],  [0]) # Change in case of any API
> changes (add, remove or modify), and set revision to 0.
> m4_define([databox_lt_revision], [0]) # Change in case of bug fixes,
> code cleanup, etc, with no API change at all; else, set to 0.
> m4_define([databox_lt_age],      [0]) # If changes were only adding
> some API, increase this, else, set to 0 (age must be less or equal
> current).
> m4_define([databox_lt_version],  [lt_current:lt_revision:lt_age])
>
> AC_INIT(gtkdatabox, databox_version)
>
> # This configures autoheader to generate a config.h file
> #
> AM_CONFIG_HEADER(config.h)
>
> AC_SUBST(LT_CURRENT, [databox_lt_version])
> AC_SUBST(DATABOX_VERSION, [databox_version])
> ...
>
>
> I didn't touch your package revision system, if you think those four
> fields are useful, keep on. But I added the library revision system,
> which is somehow different from the other. And the "gtk/Makefile.am"
> would become:
>
> ...
> libgtkdatabox_la_LDFLAGS= \
>                        -version-info $(LT_CURRENT)\
>                         GTK_LIBS@
> ...
>
> I didn't test those changes, I must do it at home, now I'm stuck in
> the Win system at my work... For now, that's it. But, be aware, don't
> release only to apply these changes, wait for some thing new to get
> in.
>
> Kind regards,
>
> Felipe Castro.
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]