Re: [anjuta-devel] Some Patches



Hi Arnel,


Le 21/12/2011 07:22, Arnel A. Borja a écrit :
I have some patches that I want to be included in Anjuta, but I'm not
sure if I should create a bug in Bugzilla or just use the Mailing Lists.

I think it's a bit better to create a bug in Bugzilla as it's easier to remember the patches even when we don't apply them immediately. Anyway, we are grateful to get these patches so we try to review them in time.


0001: build-basic-autotools: Remove --enable-maintainer-mode from defaults
-----
Since project-wizard no longer uses AM_MAINTAINER_MODE, I think this
option should be removed from the default arguments to configure. Some
warnings will be shown if this will not be removed, one of them saying
that it's an unknown argument.

The issue is that some projects are still using AM_MAINTAINER_MODE() or AM_MAINTAINER_MODE([disable]). In this case this switch is really useful so I think it's rather better to keep it but I haven't a strong opinion about it.


0002: anjuta-build-tutorial: Remove AM_MAINTAINER_MODE
-----
Since AM_MAINTAINER_MODE is no longer used in project-wizard, it is no
longer necessary to discuss this in the tutorial. It will only confuse
new users, showing information that is unnecessary to understand
creation of basic projects in Anjuta.

Ok.


0003: class-gen: Use convention for get-private macros
-----
GObjects are commonly have a macro to get the private data related to
it. They are commonly named "[PREFIX]_[SUFFIX]_GET_PRIVATE". But
class-gen uses "[PREFIX]_[SUFFIX]_PRIVATE", which is wrong; it will
mislead the user thinking that the macro is supposed to cast a pointer
to a certain private data, just like what GTK_TREE_MODEL, G_OBJECT, etc.

I seems useful but I don't know this code, I will look at this.


0004: project-wizard: Use Automake variables for defines
-----
Templates in project-wizard unnecessary recreate the value of localedir,
while PACKAGE_DATA_DIR is misleading; instead of using $(pkgdatadir) to
point to a package's data dir, it uses $(datadir) which points to the
system's data dir.

I think I have done this taking Anjuta's Makefile.am as example but I'm agree with you.



0005: project-wizard: Move PROJECT_CFLAGS to own line
-----
Unnecessary, but may help to make reading Makefiles easier.

Ok.


0006: project-wizard: Don't symlink Automake files
-----
Using symlink (the default) instead of copy poses the risk of adding
files to version control without their contents. So, when a user that
uses a different operating system or Linux distro pulls from
git/svn/etc: *BOOM*.

Ok.


Regards,

Sébastien



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