Re: The issue of compiling and running gedit 3.7.1 within jhbuild.



On 11/09/2012 03:17 PM, Jasper St. Pierre wrote:
It seems that you didn't build dconf, gnome-icon-theme, or gnome-themes-standard. You need to build all of these, even if the versions you have are new enough. I'm not sure about the ATK warning, but try building atk and all of its dependencies.

I've installed all of these packages, but still I meet the following errors:

-----------
werner@debian-asus:~$ jhbuild shell
werner@debian-asus:~$ gedit
Gtk-Message: Failed to load module "canberra-gtk-module"

** (gedit:32150): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

** (gedit:32150): WARNING **: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files

** (gedit:32150): WARNING **: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files

** (gedit:32150): WARNING **: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files

** (gedit:32150): WARNING **: Could not load theme icon user-bookmarks-symbolic: Icon 'user-bookmarks-symbolic' not present in theme

** (gedit:32150): WARNING **: Could not load theme icon user-home-symbolic: Icon 'user-home-symbolic' not present in theme

** (gedit:32150): WARNING **: Could not load theme icon drive-harddisk-symbolic: Icon 'drive-harddisk-symbolic' not present in theme

** (gedit:32150): WARNING **: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files

** (gedit:32150): CRITICAL **: atk_bridge_adaptor_cleanup: assertion `inited' failed
werner@debian-asus:~$

------------

Regards

You can use `jhbuild run gedit`, but I just recommend using `jhbuild shell`. You can look through the code to see all the environment variables it sets; there's a lot of them. PATH, LD_LIBRARY_PATH, GI_TYPELIB_PATH for introspection programs.

I put something into my ~/.bashrc that tells me if I'm in a jhbuild session or not, using the JHBUILD_PREFIX envvar.




On Fri, Nov 9, 2012 at 1:55 AM, Hongyi Zhao <hongyi zhao gmail com> wrote:
Hi all,

I've successfully compiled the gedit 3.7.1 within jhbuild.  Then I run it as follows:

--------------------------
werner@debian-asus:~$ jhbuild shell
werner@debian-asus:~$ which gedit
/opt/jhbuild/gnome/bin/gedit
werner@debian-asus:~$ gedit
Gtk-Message: Failed to load module "canberra-gtk-module"

** (gedit:2681): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.

** (gedit:2681): WARNING **: Could not load theme icon user-bookmarks-symbolic: Icon 'user-bookmarks-symbolic' not present in theme

** (gedit:2681): WARNING **: Could not load theme icon user-home-symbolic: Icon 'user-home-symbolic' not present in theme

** (gedit:2681): WARNING **: Could not load theme icon drive-harddisk-symbolic: Icon 'drive-harddisk-symbolic' not present in theme

** (gedit:2681): CRITICAL **: atk_bridge_adaptor_cleanup: assertion `inited' failed
werner@debian-asus:~$ gedit --version
gedit - Version 3.7.1
----------------------------

As you can see, I meet so many WARNINGs, how to solve these issues?

Furthermore, in order to run the gedit, I must first running the jhbuild shell ,  I want to know how can I export the corresponding environment variables setted by  'jhbuild shell' so that I can use the latest version of gedit without running the " jhbuild shell"  first?

Regards

--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.

_______________________________________________
gtk-list mailing list
gtk-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-list



--
  Jasper



-- 
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.


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