Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 665578 - GNOME packages vala handling in a meson world (default enable?)
Summary: GNOME packages vala handling in a meson world (default enable?)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-09 14:16 UTC by Mart Raudsepp
Modified: 2019-03-26 22:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mart Raudsepp gentoo-dev 2018-09-09 14:16:54 UTC
With meson the C files aren't pregenerated anymore for vala projects, thus for many packages, the dependencies USE=vala will be required, e.g. gtksourceview[vala], but these aren't default enabled, resulting in manual intervention need.
It's time to discuss how to handle this. Do we want to package.use them in gnome profiles? Global USE enabled in gnome profiles? IUSE default per-package? Something else?
Some are more often needed than others (some libraries vapi might not be needed at all), hence considering per-package gnome profile enable or IUSE defalt in addition to global rules.

Thoughts?
Comment 1 Arfrever Frehtes Taifersar Arahesis 2018-09-10 21:54:24 UTC
+1 for IUSE defaults when useful.
Comment 2 Larry the Git Cow gentoo-dev 2018-12-07 19:05:29 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d81a539e51afea58227d5e686d00632b58da55a1

commit d81a539e51afea58227d5e686d00632b58da55a1
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2018-12-07 17:51:30 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2018-12-07 19:04:14 +0000

    x11-libs/gtksourceview: bump to 3.24.9
    
    Remove unecessary itstool dep - configure checks for it, but
    it's non-fatal and nothing uses the resulting ITSTOOL build
    variable.
    Default enable USE=vala, because various things are starting
    to require it in a meson build world - already the case with
    gnome-calculator.
    Stop passing --disable-deprecations, as that actually adds
    G_DISABLE_DEPRECATED and so on, which we actually do NOT want
    to happen - but we ended up not having them anyways, as we
    sed the configure logic to not add them. So this instructs
    it to do the right thing, instead of relying on the eclass
    logic to force us doing the right thing.
    
    Bug: https://bugs.gentoo.org/665578
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>
    Package-Manager: Portage-2.3.52, Repoman-2.3.11

 x11-libs/gtksourceview/Manifest                    |  1 +
 x11-libs/gtksourceview/gtksourceview-3.24.9.ebuild | 57 ++++++++++++++++++++++
 2 files changed, 58 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2019-02-17 11:34:54 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17dce04efab9f0b1e9d18a4016b9f163fe43ca03

commit 17dce04efab9f0b1e9d18a4016b9f163fe43ca03
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2019-02-17 11:20:47 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2019-02-17 11:21:27 +0000

    gnome-base/librsvg: default enable USE=vala
    
    vala:0.40 and newer don't ship a librsvg vapi file anymore,
    while various things (especially when building with meson)
    are quite likely to need it. Default enable the vapi file
    building here to reduce package.use tweaks that have to be
    done.
    
    Bug: https://bugs.gentoo.org/678210
    Bug: https://bugs.gentoo.org/678212
    Bug: https://bugs.gentoo.org/665578
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 gnome-base/librsvg/librsvg-2.40.20.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 4 Larry the Git Cow gentoo-dev 2019-02-23 12:23:21 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ff025d9b2355a6f5f660adcf756e421622abedd

commit 2ff025d9b2355a6f5f660adcf756e421622abedd
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2019-02-23 12:06:37 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2019-02-23 12:22:52 +0000

    dev-libs/libgweather: bump to 3.28.3
    
    Default enable USE=vala now, as it is increasing required by applications
    due to no pregenerated C in them with meson. Currently gnome-clocks already
    requires it.
    
    Bug: https://bugs.gentoo.org/665578
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 dev-libs/libgweather/Manifest                      |   1 +
 .../libgweather/files/3.28.3-meson-tweaks.patch    | 107 +++++++++++++++++++++
 dev-libs/libgweather/libgweather-3.28.3.ebuild     |  67 +++++++++++++
 profiles/package.mask                              |   1 +
 4 files changed, 176 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89323b9e5c6b5e2e90d6a3e709f99cf46772aeb9

commit 89323b9e5c6b5e2e90d6a3e709f99cf46772aeb9
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2019-02-23 09:54:56 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2019-02-23 12:22:49 +0000

    media-libs/gsound: default enable USE=vala
    
    Various GNOME packages will unconditionally need it (gnome-clocks
    in main tree already does). Default enable it, as it just means
    need of a vala slot at build time.
    
    Bug: https://bugs.gentoo.org/665578
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 media-libs/gsound/gsound-1.0.2-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 5 Larry the Git Cow gentoo-dev 2019-02-23 17:19:37 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec5d9bb06c5bf178d764be5fcde10b0546046703

commit ec5d9bb06c5bf178d764be5fcde10b0546046703
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2019-02-23 17:19:08 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2019-02-23 17:19:08 +0000

    net-libs/gnome-online-accounts: default enable USE=vala
    
    Various GNOME packages will unconditionally need it (gnome-contacts
    in main tree already does). Default enable it, as it just means
    need of a vala slot at build time.
    
    Bug: https://bugs.gentoo.org/665578
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 net-libs/gnome-online-accounts/gnome-online-accounts-3.28.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 6 Larry the Git Cow gentoo-dev 2019-03-07 21:14:09 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=978d84bdf4a798117285dfd18e6acb1ec0ef55ec

commit 978d84bdf4a798117285dfd18e6acb1ec0ef55ec
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2019-03-07 17:10:09 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2019-03-07 21:13:10 +0000

    net-libs/libsoup: default enable USE=vala
    
    Various GNOME packages will unconditionally need it. Default enable
    it, as it just means need of a vala slot at build time. Vala itself
    ships a libsoup vapi too, but it should be better to have it from
    the library itself, so it matches the API the library version
    actually provides.
    
    Bug: https://bugs.gentoo.org/665578
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 net-libs/libsoup/libsoup-2.62.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f44a68df03515029c306b6913d0ec7e533a159d0

commit f44a68df03515029c306b6913d0ec7e533a159d0
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2019-03-07 16:57:33 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2019-03-07 21:11:36 +0000

    net-libs/gtk-vnc: default enable USE=vala
    
    Various GNOME packages will unconditionally need it (gnome-boxes
    in main tree already will). Default enable it, as it just means
    need of a vala slot at build time.
    
    Bug: https://bugs.gentoo.org/665578
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 net-libs/gtk-vnc/gtk-vnc-0.8.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 7 Larry the Git Cow gentoo-dev 2019-03-14 10:47:58 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e0edba77a478650ed779b58e28fdcd8a0e986fb

commit 2e0edba77a478650ed779b58e28fdcd8a0e986fb
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2019-03-14 10:43:51 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2019-03-14 10:43:51 +0000

    app-crypt/libsecret: default enable USE=vala
    
    Various GNOME packages will unconditionally need it (seahorse
    in main tree already does). Default enable it, as it just means
    need of a vala slot at build time.
    
    Bug: https://bugs.gentoo.org/665578
    Bug: https://bugs.gentoo.org/680308
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 app-crypt/libsecret/libsecret-0.18.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 8 Larry the Git Cow gentoo-dev 2019-03-17 09:16:05 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16017e2ca6518bcb5436210b31d2ddafe6a8cf46

commit 16017e2ca6518bcb5436210b31d2ddafe6a8cf46
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2019-03-17 09:02:55 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2019-03-17 09:10:44 +0000

    media-libs/gexiv2: default enable USE=vala
    
    Various GNOME packages will unconditionally need it (shotwell
    in main tree already does). Default enable it, as it just means
    need of a vala slot at build time.
    
    Bug: https://bugs.gentoo.org/665578
    Bug: https://bugs.gentoo.org/676644
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 media-libs/gexiv2/gexiv2-0.10.10-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 9 Larry the Git Cow gentoo-dev 2019-03-26 22:15:30 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e41bf8e3ad13e5f1efc2ef2117123cba1151e01

commit 4e41bf8e3ad13e5f1efc2ef2117123cba1151e01
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2019-03-26 22:03:48 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2019-03-26 22:03:48 +0000

    app-crypt/gcr: default enable USE=vala
    
    Various GNOME packages unconditionally need it (e.g. seahorse
    for a long time). Default enable it, as it just means need of
    a vala slot at build time. For GNOME profiles this was done
    via profile-specific package.use before.
    
    Bug: https://bugs.gentoo.org/665578
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 app-crypt/gcr/gcr-3.28.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)