Le dimanche 21 novembre 2004 à 20:10 +0100, PUYDT Julien a écrit : > Le samedi 20 novembre 2004 à 11:36 +0100, Damien Sandras a écrit : > > > Would it be possible to get rid of the toplevel config.h entirely? > > > > No, it is required for translations. > > Are you sure the translations are using a C header file? > I'm not sure, I just know it is required for translations to work and other projects are using config.h > Here is what the various defines in config.h are used for (with my > previous patch applied, which adds VERSION_NUMBER): > * BUILD_NUMBER, VERSION, VERSION_NUMBER, MAJOR_VERSION, MINOR_VERSION, > BUILD_TYPE: used in src/gnomemeeting.cpp, src/ils.cpp, > src/main_window.cpp, src/druid.cpp, src/callbacks.cpp to determine the > type of version in different ways. > * GETTEXT_PACKAGE: src/main_window.cpp to initialize gettext. > * HAVE_DECL_STRCASECMP, HAVE_XMLREGISTERNODEDEFAULT, > HAVE_XMLSAXHANDLERV1: lib/xdap/xdap.h, lib/xdap/xdap.c, src/ils.cpp > * ENABLE_NLS, HAVE_BIND_TEXTDOMAIN_CODESET, HAVE_DCGETTEXT, > HAVE_DLFCN_H, HAVE_GETTEXT, HAVE_INTTYPES_H, HAVE_LC_MESSAGES, > HAVE_LIBXML2, HAVE_LOCALE_H, HAVE_MEMORY_H, HAVE_STDINT_H, > HAVE_STDLIB_H, HAVE_STRINGS_H, HAVE_STRING_H, HAVE_SYS_STAT_H, > HAVE_SYS_TYPES_H, HAVE_UNISTD_H, PACKAGE, PACKAGE_BUGREPORT, > PACKAGE_LOCALE_DIR, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME, > PACKAGE_VERSION, STDC_HEADERS: unused in the sources. > > Notice that for example GETTEXT_PACKAGE is specifically defined as > "gnomemeeting" in configure.in, so could probably go away in favor of > for example PACKAGE or PACKAGE_NAME, which have the same value... > It is required for GETTEXT to work. Anyway, that can be cleaned after 1.2 if required. > Snark > > _______________________________________________ > Gnomemeeting-devel-list mailing list > Gnomemeeting-devel-list gnome org > http://mail.gnome.org/mailman/listinfo/gnomemeeting-devel-list -- _ Damien Sandras (o- GnomeMeeting: http://www.gnomemeeting.org/ //\ FOSDEM : http://www.fosdem.org v_/_ H.323 phone : callto:ils.seconix.com/dsandras seconix com
Attachment:
signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=