Re: Gtkmm Windows Maintainership

2008-07-15 Thread Jens Georg
Hi Armin,

 Hi Cedric,

 I would like to experiment with building gtkmm and companion libraries
 on Windows with mingw and MSVC, to eventually take over maintainership
 of the Windows installer at least temporarily and/or partially. In a
 mail from April 2008 [1], you proposed to put the installer script into
 SVN. Did this happen in the meanwhile? If not, could you please make it
 available somewhere, so I can play around with it?

 I would then also create some documentation as I go.

I made libsigc++ and libcairomm compile with msvc 9, working on the rest
;) If you need a hand, just raise yours.

Regards, Jens

___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


up-to-date libglade-dev package for win32

2008-07-16 Thread Jens Georg
Hi,

I'm looking for an up-to-date libglade-dev package including the msvc
*.lib files to compile libglademm . The package on ftp.gnome.org only
includes the .dll.a for mingw and the package on gladewin32.sf.net is
missing Changeset 539, it seems, because I run exactly into this error.

2007-11-26  Armin Burgmeier  [EMAIL PROTECTED]

* glade/glade.def: Add glade_xml_construct_from_buffer to the list of
exported symbols, otherwise it is not available on Windows.



___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


Re: up-to-date libglade-dev package for win32

2008-07-16 Thread Jens Georg
 I'm looking for an up-to-date libglade-dev package including the msvc
 *.lib files to compile libglademm . The package on ftp.gnome.org only
 includes the .dll.a for mingw and the package on gladewin32.sf.net is
 missing Changeset 539, it seems, because I run exactly into this error.

Nevermind. I can just use LIB /def: from msvc.

___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


Re: Gtkmm Windows Maintainership

2008-07-17 Thread Jens Georg

 You should maybe add the project files into the subversion repositories,
 so that it is easy for others to build the libraries using the same
 compiler.

The project files for MSVC 7 from SVN are just fine to use with MSVC 9
despite from the two patches I already sent to bugzilla, but that's a
more general problem with the project files. I'm currently trying to
tweak them a little bit to need less manual include path configuration
though.

___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


Re: Libpng DLL conflict

2008-07-29 Thread Jens Georg
 I have been having trouble with libpng, a noticed that it was calling 
 libpng12.dll from the GTK/bin folder instead of libpng.dll from the 
 applications folder. As there may be a version conflict, I would like my 
 program to use the local copy, although presumably GTK may need to use 
 it's own copy.

A simple solution that may work or blow up: rename libpng.dll to
libpng12.dll. That version might conflict with GTK's. The name of the
DLL is (at least for MSVC) coded in the .lib import library.

 
 Is there any way of specifying where the dll is loaded from?

Microsoft recently introduced the concept of manifests to describe
which version of a DLL to use. 

But I think this only applies to the DLLs in the Side-by-Side assembly
(The infamous WinSxS directory) which contains mostly the MS runtime
stuff.

Welcome to DLL hell.

___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


Re: Glibmm Compilation.

2008-07-30 Thread Jens Georg
 
 c2001: newline in constant.

Just a wild guess:

 - Some weird \n vs. \r\n linefeed issue?
 - accidently edited file?


___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


Crash in Glib::Object::~Object()

2008-08-09 Thread Jens Georg

Dear List,

I'm on Windows using a self-compiled gtkmm with MSVC 2008.

When defining derivatives from Glib::Object, I experience a crash upon 
destruction, even for simple cases as:


class Foo : public Glib::Object
{
public:
Foo() :
Glib::ObjectBase(typeid(Foo)),
Glib::Object()
{}

virtual ~Foo() {};
};

int main(int argc, char* argv[])
{
  Gtk::Main kit(argc, argv);

  Foo *f = new Foo();

  delete f;
}

According to the MSVC debugger, the Glib::ObjectBase pointer seems 
bogus. Has anyone experienced such behaviour before? The sample programs 
I tried seemd to work fine...


Regards, Jens.
___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


Re: Embed movie player using mplayer - How to execute mplayer (fork?)

2008-08-18 Thread Jens Georg

 How can I execute mplayer in my program? I tried using fork but didn't
 work...
 When I create a graphic app I need a different aproach?
 And to be more complicated I need a solution that works on linux and
 windows... :'(

Glib provides an abstraction layer above the various OS process spawning
methods, have a look at 

http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/group__Spawn.html


___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


Re: Embed movie player using mplayer - How to execute mplayer (fork?)

2008-08-19 Thread Jens Georg
 Sorry Paulo, I sent reply to one, first.
 
 One quick gotcha is that argv contains a vector of all the command
 options.
 These are typically separated by spaces when typed on the command line.
 However, your example has the whole command as one option.
 So put the wid to a std::string, widstring, and
 
   argv.push_back(mplayer);
   argv.push_back(-quiet);
   argv.push_back(-slave);
   argv.push_back(-idle);
   argv.push_back(-wid);
   argv.push_back(widstring);
   argv.push_back(/home/test.avi);

There's actually a function doing this for you,

Glib::shell_parse_argv
(http://gtkmm.org/docs/glibmm-2.4/docs/reference/html/group__ShellUtils.html#gbc52fcb14cfc7a5ba37ca821cc837818)

or you could use the Glib::spawn_command_line_sync/async functions.

 

Glib::spawn_async_with_pipes(std::string(/usr/bin),argv,Glib::SpawnFlags(0));
 
 Personally, I'm using fork combined with execlp():

That's not very portable when concerning windows, is it?


___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


Re: Gtkmm Windows Runtime Installer - Silent Option

2008-10-14 Thread Jens Georg
 Yes, I think this is fairly common on Windows. Even MS doesn't seem to
 have a good-enough record of ABI stability for all their DLLs, plus
 installers are rarely well-behaved, so they can easily overwrite each
 other's DLLs if they are shared. Opinions differ.

At least Microsoft is trying to clean that up using their Side-By-Side 
Assembly cache and (embedded) manifests(ever seen the WinSxS directory, 
which is intended for .NET but which applies to runtime DLLs as well). 


___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


Re: linkbutton and documentation

2009-10-21 Thread Jens Georg
 And.. about the documentation... Since the doc is on gnome lib, i can 
 hardly find anything. Before, I had this link: 
 http://www.gtkmm.org/docs/gtkmm-2.4/docs/
 
 and from that I could find anything like: Glib, Gio, ustring, any widget 
 etc. I really used to it to find things there. Now if I have to find 
 something I _always_ have to use the upper-right search entry to start 
 somewhere...

http://gtkmm.org/documentation.shtml

___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


Re: Converting signal code from RubyGTK to Gtkmm

2010-07-10 Thread Jens Georg

 $image.signal_connect('expose_event') do
 if $rgb == nil || $rgb.length != $iwidth*$iheight*3
 puts 'rgb buffer is null or wrong length'
 else
 Gdk::RGB.draw_rgb_image($image.window,
 $image.style.fg_gc($image.state),
 0, 0, $iwidth, $iheight,
 Gdk::RGB::Dither::NORMAL, $rgb, $iwidth*3, 0, 0)
 end
 end

It's actually the ruby bindings that are totaly $favourite_curse, c-like
function wrapping with no OOP at all, as it seems.
 
draw_image is is a method of the window/drawable, hence:

http://library.gnome.org/devel/gtkmm/unstable/classGdk_1_1Drawable.html#a8ea32afd4ea08f6abea8de6fc268ccb6


___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


soupmm status

2011-02-05 Thread Jens Georg
Hi,

I'm in the process of binding the GUPnP stack for *mm..

GUPnP uses libsoup for all the heavy HTTP lifting so some of the classes
and functions return/need various bits and pieces from soup.

I found that there is a soupmm repository on git.gnome.org, but the last
commit looks like it's been abandoned since ~mid 2009.

Does anyone in here know something about its state? I tried to contact
the author but mail just bounces.

Regards,
Jens. 

___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


Re: soupmm status

2011-02-11 Thread Jens Georg

 Hi!
 
 Maybe try to contact with him by deviantart (he was there 20h ago)
 or by the Facebook or by other webpage where he has a profile
 http://siavashs.org/about

Ah, thanks, the gmail address worked :)


___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


Re: Using gtkmm and gtk+ in one application

2011-02-28 Thread Jens Georg
On Sun, 2011-02-27 at 18:36 +0100, Stefan Westerfeld wrote:

 To see if that would work, I've tried to use a gtk+ hello world, written in C.
 Then I added a file written in C++, which would create a Gtk::Main object
 (after gtk_init was called by the C application), and then some widgets. That
 seemed to work. Both, widgets created by the C part and widgets created by the
 C++ part appeared to function.
 
 So... is it possible to extend gtk+/C applications with gtkmm code, or are
 there any problems that I should be aware of when mixing both?

Apart from the code looking dead-ugly (like inscape used to look, don't
know if it's still the case), not really.


___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


Re: Wrapping Clutter functions.

2011-09-04 Thread Jens Georg
On So, 2011-09-04 at 04:32 -0700, Ian Martin wrote:

 The return value is a pointer to the object itself.  In C I believe
 this helps chain the function; I'm struggling to see why I'd bother in
 C++.  So can I change it to return void (or mabe bool?) or is that
 messing with the library too much?

Why wouldn't it be nice to have the possibility of saying
animator.set_key().set_key().set_key()... ?

Looks quite C++.

___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


Re: Virtual Keyboard

2012-05-02 Thread Jens Georg
On Mo, 2012-04-30 at 15:55 -0700, kenton.wil...@gmail.com wrote:
 On Mon, 30 Apr 2012 23:39:13 +0200, Florian Philipp
 li...@binarywings.net wrote:
 Am 30.04.2012 23:31, schrieb kenton.wil...@gmail.com:
 
 What environment are we talking about? Linux with X-Server?
 
 Regards,
 Florian Philipp
 
 
 Yes, Linux and X11.

Have you seen the Maliit? That's the OSK used on the N9 and Mer/Nemo.

https://wiki.maliit.org/Main_Page


___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


Re: g_hash_table

2013-03-06 Thread Jens Georg
[ g_hash_table_* missing ]

  This isn't a criticism BTW.  I'm just curious to know why it's missing.

I suppose there's no real need to bind that with std::map and std::hash
available.


___
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list


Re: gtkmm 3 win32?

2013-09-06 Thread Jens Georg
Nice effort!

Given that sf has started acting odd by adding weird installers [1] that
download even weirder toolbars[2] 

[1]http://www.davescomputertips.com/sourceforges-new-installer-bundles-adware/
[2]http://sourceforge.net/devshare/why

I'd probably chose a different hosting site.

 Hi guys,
 
  
 
 I have a Gtk+ 3.7.2 and Gtkmm 3.6.0 stack built with MSVC 2012 on
 windows 7 and seems perfectly working for many month on windows vista,
 windows 7 and windows 8 in 32/64 bits, I haven’t yet release an
 installer with the LIBs, the DLLs, the headers and the share folder.
 If you wish, I can create a sourceforge page and upload my installer
 of the Gtk+ stack 3.7.2 (+ Gtkmm 3.6.0) this afternoon.
 
  
 
 Regards
 
  
 
 Marco Dos Santos Oliveira
 
 EBU/European Broadcasting Union
 
 Technology and Innovation Department
 
 
  
 
 From: gtkmm-list [mailto:gtkmm-list-boun...@gnome.org] On Behalf Of
 Jacob Patrick
 Sent: lundi 2 septembre 2013 20:52
 To: gtkmm-list@gnome.org
 Subject: gtkmm 3 win32?
 
 
  
 
 Hello, I was wondering the when the binary's of Gtkmm 3 for windows
 will be released? I am creating an app on gtkmm 3.0 (since its stable,
 rather than 3.4 unstable) and I would love to get it compiled on
 win32. I tried to compile the source code, but i could not resolve for
 the life of me the dependencies of glibmm. It wanted libsigc++-2.0
 which I already installed, and some other things it could not find.
 This was attempted on MinGW with msys and the msys-get-inst installer
 with the pre-included packages since the latest catalogue packages
 created errors installing with gettext. The last news I heard about
 gtkmm3 for windows was in 2012 and a whole year has passed since.
 
  
 
 
 Thanks.
 
 
 
 __
 
 **
 This email and any files transmitted with it are confidential and
 intended solely for the use of the individual or entity to whom they
 are addressed. 
 If you have received this email in error, please notify the system
 manager. This footnote also confirms that this email message has been
 swept by the mailgateway
 **
 
 ___
 gtkmm-list mailing list
 gtkmm-list@gnome.org
 https://mail.gnome.org/mailman/listinfo/gtkmm-list


___
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list


Re: An instance of Gdk::PixbufError is throwing...

2013-10-31 Thread Jens Georg
Hi,

  Glib::RefPtr Gdk::Pixbuf m_pixbuf =
 Gdk::Pixbuf::create_from_file (Glib::build_filename
 (DATADIR, picture.svg), 130, 130);

 Is it normal that this code that ran perfectly in past now produces an
 abortion in runtime ?

 With a message like, 
 terminate called after throwing an instance of 'Gdk::PixbufError'
 Aborted
 I'm using jhbuild branch master, with the following releases,

Did you build librsvg after building gdk-pixbuf? Otherwise you don't
have a SVG GdkPixbufLoader.



___
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list


Re: Trapping Glib critical error messages

2019-08-08 Thread Jens Georg
On Do, Aug 8, 2019 at 9:12 AM, Kjell Ahlstedt via gtkmm-list 
 wrote:

Or, in gdb: break g_log



You might want to set a condition then, though, because some things are 
quite debug-chatty


___
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list