After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 783589 - Second revision of meson build port
Second revision of meson build port
Status: RESOLVED FIXED
Product: gnome-todo
Classification: Other
Component: General
3.25.x
Other Linux
: Normal enhancement
: ---
Assigned To: GNOME To Do maintainer(s)
GNOME To Do maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-06-09 10:23 UTC by Iñigo Martínez
Modified: 2017-07-05 12:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Improved meson build port (32.24 KB, patch)
2017-06-09 10:23 UTC, Iñigo Martínez
none Details | Review
Improved meson build port (33.86 KB, patch)
2017-06-15 09:38 UTC, Iñigo Martínez
none Details | Review
Improved meson build port (39.18 KB, patch)
2017-06-21 20:43 UTC, Iñigo Martínez
none Details | Review
Improved meson build port (39.26 KB, patch)
2017-06-22 11:23 UTC, Iñigo Martínez
committed Details | Review
Performance improvements for meson buld port (6.97 KB, patch)
2017-07-04 09:41 UTC, Iñigo Martínez
committed Details | Review

Description Iñigo Martínez 2017-06-09 10:23:42 UTC
Created attachment 353450 [details] [review]
Improved meson build port

After being involved on different meson build ports, I have been able to improve the meson build port of gnome-todo. The set of main changes is as follows:

- Added ToDo website for PACKAGE_URL define.
- Added generation of the enums schema.
- Added a post install script for generating icon theme cache and compile different schemas.
- Fixed documentation generation by using GTK prefixes.
- Added mkdb_args, which will be available in the future meson releases.
- Removed unused meson build options and changed enable-nls option to be enabled by default.
- Fixed plugins to be created as shared modules.
- Removed listed headers.
Comment 1 Iñigo Martínez 2017-06-15 09:38:10 UTC
Created attachment 353811 [details] [review]
Improved meson build port

meson 0.41.0 has been release a couple of days ago, so I've decided to update the patch. The list of changes is as follows:

- Use i18n module instead of using custom targets.
- Changed application data information install directory to the new proposed 'metainfo' directory.
- Use pkgconfig module's generate function to generate pc file.
- Raised meson required version to 0.41.0.
Comment 2 Georges Basile Stavracas Neto 2017-06-18 17:21:59 UTC
Review of attachment 353811 [details] [review]:

Looks like this patch doesn't apply against master.
Comment 3 Iñigo Martínez 2017-06-21 20:43:03 UTC
Created attachment 354203 [details] [review]
Improved meson build port

My fault. I started working on a branch which was older than the one submitted. Here goes an updated patch.
Comment 4 Iñigo Martínez 2017-06-22 11:23:43 UTC
Created attachment 354243 [details] [review]
Improved meson build port

A minor improvement to take advantage of the install_subdir function which makes the code cleaner.
Comment 5 Georges Basile Stavracas Neto 2017-06-23 06:54:08 UTC
Comment on attachment 354243 [details] [review]
Improved meson build port

Refreshingly nice. Thanks! Still keeping this bug open for future improvements.
Comment 6 Iñigo Martínez 2017-07-04 09:41:49 UTC
Created attachment 354870 [details] [review]
Performance improvements for meson buld port

Some performance improvements for meson build port.
Comment 7 Georges Basile Stavracas Neto 2017-07-04 13:11:22 UTC
Review of attachment 354870 [details] [review]:

Was the removal of docs/meson.build intentional?
Comment 8 Iñigo Martínez 2017-07-04 13:30:49 UTC
Yes, I have removed it in purpose as it doesn't provide anything useful for the building step.

It does only include the 'reference' directory, which is now referenced directly from the main meson build file in the source root directory.
Comment 9 Georges Basile Stavracas Neto 2017-07-05 12:42:50 UTC
Review of attachment 354870 [details] [review]:

Let's go for it then!
Comment 10 Georges Basile Stavracas Neto 2017-07-05 12:45:27 UTC
Attachment 354870 [details] pushed as 7b304e9 - project: Performance improvements for meson build port