Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 678934 - gnome-extra/gnome-characters-3.30.0 with dev-libs/gjs-1.48.7 - gnome-characters: (org.gnome.Characters:2290): Gjs-CRITICAL **: 16:06:03.964: JS ERROR: SyntaxError: class is a reserved identifier @ resource:///org/gnome/Characters/js/main.js:50
Summary: gnome-extra/gnome-characters-3.30.0 with dev-libs/gjs-1.48.7 - gnome-characte...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-27 15:22 UTC by flisk
Modified: 2019-02-27 19:30 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 flisk 2019-02-27 15:22:50 UTC
gnome-extra/gnome-characters-3.30.0 fails to start when dev-libs/gjs-1.48.7 or older is installed. Upgrading to dev-libs/gjs-1.50.4 fixes this problem.

Reproducible: Always

Steps to Reproduce:
1. Accept keywords for gnome-extra/gnome-characters, but not dev-libs/gjs
2. Emerge gnome-extra/gnome-characters
3. Run gnome-characters
Actual Results:  
gnome-characters fails to start and produces the following output:

(org.gnome.Characters:2290): Gjs-CRITICAL **: 16:06:03.964: JS ERROR: SyntaxError: class is a reserved identifier @ resource:///org/gnome/Characters/js/main.js:50

Expected Results:  
gnome-characters should start normally.
Comment 1 Larry the Git Cow gentoo-dev 2019-02-27 19:30:34 UTC
The bug has been closed via the following commit(s):

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

commit e24d82aacbadbbba29724f6d06bdcd9aa0b564da
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2019-02-27 19:29:47 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2019-02-27 19:30:06 +0000

    gnome-extra/gnome-characters: dependency and license fixes
    
    License is GPL-2 or later (not GPL2-only) + BSD 3-clause.
    
    gjs-1.50 is needed for ES6 classes support - upstream had not correctly
    raised the dependency, filed
    https://gitlab.gnome.org/GNOME/gnome-characters/merge_requests/29
    
    appstream-glib build dep is unnecessary - appdata doesn't contain any
    tags that gettext version of appdata ITS doesn't have.
    
    Remove now unnecessary double icon cache update, as xdg.eclass already
    does it now.
    
    Closes: https://bugs.gentoo.org/678934
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 gnome-extra/gnome-characters/gnome-characters-3.30.0.ebuild | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)