Ikey Doherty | 11 Jul 13:12 2014
Picon

Seeking to improve Budgie compatibility with the GNOME stack


Hello all,

I have a quick few questions that I hope others may be able to help with here.

As some of you know, I develop the Budgie desktop [1]. In short, this is a tiny session binary, a GTK panel and "budgie-wm"
which is built on libmutter, with a modified version of the default plugin, default.c
One of the aims of the project is to keep tight integration with the GNOME desktop, and avoid forking. So, it kinda proves
what can actually be achieved with the GNOME stack without taking a butchers knife to it :)

I want to improve compatibility and I've encountered a couple of issues, notably when testing the GNOME 3.12 upgrade,
as we're looking to sync in Evolve OS [2].

It appears something has changed in gnome-control-center with 3.12 - unfortunately I only had a few minutes to do a dummy-run
on an Ubuntu installation, and well, we all know what Ubuntu+GNOME can be like... So I need some verification on this.

When running gnome-control-center within Budgie, there are no options in gnome-control-center. With Ubuntu it only shows the
stuff they jimmied into the package, but the GNOME stuff is definitely not there. Now, the session does lie and set the
DESKTOP_SESSION variable as gnome.

Is this something that happened within GNOME or is this the usual Ubuntu + GNOME + craq experience?
If it is, is there something I can do about this within Budgie to improve compatibility?

Secondly, gnome-music fails to start (Ubuntu tester informed me) - as its looking for the notifications interface, it doesn't
gracefully handle the absence. That's totally fine, really. What I need to know, given gnome-music attempts to tie in with
the screen guard, does GNOME use the freedesktop standards or are there some exceptions I need to be wary of?

Many thanks,
Ikey Doherty

P.S. I should point out that Budgie does not officially support Ubuntu due to the plethora of issues I've had in attempting
(Continue reading)

John Coppens | 1 Jul 18:33 2014

pangocairo tutorial translated into Python


Hi all,

I translated the tutorial from page

https://developer.gnome.org/pango/stable/pango-Cairo-Rendering.html

into Python2. If anyone is interested, I've uploaded the translation
to my page:

http://http://jcoppens.com/soft/howto/pygtk/pangocairo.en.php

As there are very few Python pangocairo examples available, there
might be interest in adding this to the gnome pages too.

John
Hristo Venev | 7 May 15:55 2014

[PATCH] vte: set_colors_rgba does not set alpha


bug 728675

This is half the work required for transparency support in
gnome-terminal.

diff --git a/src/vte.c b/src/vte.c
index 8617b73..2e57a94 100644
--- a/src/vte.c
+++ b/src/vte.c
 <at>  <at>  -2928,6 +2928,7  <at>  <at>  vte_terminal_set_colors_rgba(VteTerminal
*terminal,
                                  _pango_color_from_rgba(&fg,
foreground),
                                  _pango_color_from_rgba(&bg,
background),
                                  pal, palette_size);
+    _vte_terminal_set_background_alpha(terminal, background->alpha);

     g_free (pal);
 }
--

-- 
Tristian Celestin | 7 May 02:13 2014

Developing using libraries installed via jhbuild


I used jhbuild to download and install the most recent version of the GTK and GtkSourceView libraries (both 3.12). These most recent versions are installed in ~/jhbuild/install.


I also have GTK 3.10, GtkSourceView 3.10, and Clang installed in the usual system directories (/usr/include, /usr/lib64).

I would like to develop an application using GTK 3.12, GtkSourceView 3.12, and Clang. How do I configure configure.ac to search for the GTK and GtkSourceView in ~/jhbuild/install instead of /usr/include while ensuring that libclang is still found in /usr/lib64. Currently, I'm using pkg_config to detect the GTK libraries. 
_______________________________________________
gnome-devel-list mailing list
gnome-devel-list <at> gnome.org
https://mail.gnome.org/mailman/listinfo/gnome-devel-list
Arthur Lambert | 4 Mar 15:44 2014
Picon

[GLIB] memory leak in glib 2.32.4 ?


Hi All,

I am using glib with GValue, GPtrArray to communicate with dbus. I
have a big memory leak in my code. I am running an embedded target
with glib 2.32.4. I am currently trying to  code some little binary to
detect the leak. I am not the author of the code so it is quite hard
for me to debug it.

So I have currently for example a little main which does not leak at
all on a desktop linux version (Fedora 17) which use the same glib
version( perhaps not exactly the same verson but major, minor and
macro number version seems to be the same. But when I run this piece
of code on my embedded linux, I have a leak of 4 Bytes per loop
iteration.

Code is :
#define SIZE_INNER_ARRAY 5
...

static void data_constructor_array_struct_string_array_struct_string_variant(GPtrArray
*data, const gchar *client_objname)
{
  guint member_count;
  GValueArray *outer_struct = g_value_array_new(1);
  GPtrArray *inner_array = g_ptr_array_new ();

  printf ("client objname : %s\n", client_objname);

  g_value_array_append(outer_struct, NULL);
(Continue reading)

Bruce Perens | 25 Feb 06:35 2014

tablet touchscreen configuration


Hi folks,

Is there a mailing list for tablet issues or tablet developers? I didn't see one. Indeed the mailing lists that aren't for developers seem to be for specific applications rather than the system itself. So, please forgive me if this is misplaced.

I've set up Gnome 3 from Debian unstable on a Panasonic Toughpad FZ-G1. This has two sensor surfaces on the screen: a stylus that is or emulates a Wacom, and an eGalaxy Touch which is a multitouch finger touchscreen. Both are using evdev, the eGalaxy also has mtdev. Kernel is 3.14 .

If anyone has tested this device with Gnome or indeed Linux, there isn't any web evidence. It works, with a few little issues that I am now running down.

The Wacom works correctly. The eGalaxy Touch mostly works, but something is different about the button events. On the screen keyboard, the buttons highlight when I touch them but they don't act as if they've been pressed. This also happens on all of the shell panel buttons. But finger-touch on a dock icon correctly launches the program.

In xev, button press and release events look identical between the two devices.

Nice to see that Gnome 3 is mostly usable on tablets. I can probably test multitouch when I get through this issue.

    Thanks

    Bruce

(Continue reading)

Stefan Sauer | 19 Feb 10:13 2014
Picon

small incompatible change in gtk-doc 1.20 wrt |[]| markdown


hi,

we discovered that change c4d09c7c95c45a1226e83f5ddd7d0f4ce2b1a1a9 which
has been release as part of gtk-doc 1.20 causes a regression for a use
that worked so far. The |[ ... ]| syntax is a shortcut for
<informalexample><programlisting> ...
</programlisting></informalexample>. Now this is automatically wrapped
as CDATA which is convenient as one does not need to use entities for
e.g. &. Unfortunately that breaks cases where one uses xi:inlcude to
embed the actual example. We fixed all the cases that we found in
modules part of the jhbuild gnome module set. The fix is easy, just
replace the |[ ]| with the docbook tags for now. For a example see
http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=a4fd0f9351ee319f850aca2acb42f8856a2c1a12

Sorry for any inconvenience,

Stefan
Cruceru Calin | 17 Feb 10:17 2014
Picon

Starting contributing - some questions


Hello everyone,


I'm a first year computer-science romanian student and I would like to start contributing to Gnome.

Firstly, I have to say that I haven't decided yet upon a project on which to contribute, that is why I'm writing to this mailing-list since I expect to get more general advice here.

As far as my knowledgement is concerned, I am well-versed in C and C++, bash scripting and I'm a beginner in javascript. I'm also very passionate about Linux and Gnome in particular. Taking in consideration this, I want you to suggest me a couple of projects which have as requirements these programming languages and where I can find easy bugs to fix for the beginning.

I already read the wiki pages and installed the needed development tools. In fact, right now the jhbuild script is running and it seems promising.

I have one more explicit question to end with: is there a method to import all project's sources in an IDE ( anjuta I guess is most used ) ? I mean in one step or somehow and have it organized in the project within the IDE as they are in the project's directory.

Thank you and I'm looking forward for your support !

Cruceru Calin-Cristian
_______________________________________________
gnome-devel-list mailing list
gnome-devel-list <at> gnome.org
https://mail.gnome.org/mailman/listinfo/gnome-devel-list
Tae Wong | 4 Dec 11:41 2013
Picon

GNOME site loading slow


Note that this is the mailing list for GNOME development; it's not
better to report problems with GNOME infrastructure.

When trying to load GNOME.org you'll get an error message saying that
the site can't be displayed.
Dylan McCall | 25 Aug 18:53 2013
Picon

Detect when the user logs out, and save state?


I'm working on a small program that sits in the background and runs
several counters and timers:
https://wiki.gnome.org/SummerOfCode2013/Projects/DylanMccall_BreakTimer

When the user logs out, I want my application to save its current
state to a file, and then restore from that file when the user logs
back in. Most of this is implemented (with Vala), and I'm connecting
to the SIGINT, SIGTERM and SIGHUP signals to trigger a clean exit:

public int main(string[] args) {
    application = new HelperApplication();
    Posix.signal(Posix.SIGINT, sigint_cb);
    Posix.signal(Posix.SIGTERM, sigint_cb);
    Posix.signal(Posix.SIGHUP, sigint_cb);
    int status = application.run(args);
    return status;
}

void sigint_cb(int signal_number) {
    application.quit();
}

(There is a bunch of code in application.quit that handles the state
saving stuff).

Everything is fine if I exit the program by sending it one of those
signals, of course. The problem I'm running into is gnome-session
seems to be more aggressive (is it sending SIGKILL?), so, when the
user logs out, my program doesn't get a chance to save its state.
(Continue reading)

Robin Stocker | 12 Jul 18:54 2013

Experience from writing a tiny GNOME app in Gjs


Hey hey,

I wrote a tiny app in Gjs yesterday and wanted to share my experience.
It's a wrapper around the Spotify web player to add support for media
keys (play/pause, next, previous). It uses Gtk, WebKitGTK+ 2, and DBus.

I started with the gnome-devel-demos [1], which gives a very nice
introduction. The hello world was running quickly and the edit/run cycle
is of course very fast due to not needing compilation.

For adding media key support, I looked at what totem does [2], and tried
to reproduce it. This is where I hit the first road block, there's no
API reference for JS on developer.gnome.org. But I think this should be
addressed with bug 693378. Through searching I found some documentation
which helped [4] (although some things didn't work as documented).

For the WebKitGTK+ API, I looked at the C API reference and puzzled it
out. This was also kind of hard, but it's the same problem as above.

For making it easy to install this, I experimented with a .desktop file
which references the .js and icon through relative paths, but had no
success. I resorted to having an install.sh that expands the paths and
copies the file to ~/.local/share/applications/. I'm eagerly awaiting
the "app bundles" work, which should improve the situation [5].

All in all, I think the GNOME platform is moving in the right direction
and there's potential in having a good app development story.

Finally, here's the link to the source, if anyone is interested:
(Continue reading)


Gmane