Brian Manning kirjoitti:
On Tue, Jun 9, 2009 at 12:34 PM, Ari Jolma wrote:
Spicy Jack,
This was a long time ago already. Did you get any reply or feedback? The
latest (May 30 2009) EU::MM still has this problem in MinGW.
I used a patch that you created for EU::Liblist::Kid to work
EU::MM's RT queue:
<http://rt.cpan.org/Dist/Display.html?Queue=ExtUtils-MakeMaker>. There are
already many open tickets about this and similar issues. An entry point is
<http://rt.cpan.org/Ticket/Display.html?id=21430>.
--
Prof. Ari Jolma
Environmental Management Informatio
I believe if it is used, gcc correctly sets __MSVCRT__
Regards,
Ari
--
Prof. Ari Jolma
Environmental Management Information Technology
Teknillinen Korkeakoulu / Helsinki University of Technology
tel: +358 9 4511 address: POBox 5300, 02015 TKK, Finland
Email: ari.jolma at tkk.fi URL
PL
3. Now the patch for ExtUtils/Depends.pm - that's attached
4. Gtk2 installs without problems - at least in my test just now with
everything freshly built.
These same steps
dlltool --input-def Gtk2.def --dllname Gtk2.dll --output-lib Gtk2.dll.a
copy Gtk2.dll.a blib/arch/auto/Gtk2
need to b
Torsten Schoenfeld kirjoitti:
Ari Jolma wrote:
My approach works but all this feels as a mixture between MS compilers
and cygwin, I'm not sure what should be fixed - at least I'd like to
change Glib et al Makefile.PL's so that I didn't need to hand-edit
Makefile.
find_extra_libs does not find my Glib.dll.a I have to add them
by hand to Makefile too (see the wiki page, it says "sometimes" though).
My approach works but all this feels as a mixture between MS compilers
and cygwin, I'm not sure what should be fixed - at least I'
Why is it that ExtUtils::Depends::find_extra_libs seems to assume that
import libraries have .lib extension if the OS is MSWin32 and .dll.a
when it is cygwin?
I'm using GTK binaries from
http://ftp.gnome.org/pub/GNOME/binaries/win32 and MinGW and thus the
import libraries have .dll.a extension
Torsten Schoenfeld kirjoitti:
> On Wed, 2008-04-16 at 08:30 +0300, Ari Jolma wrote:
>
>
>> Is anyone aware of SVG to Cairo rendering code?
> librsvg and thus Gnome2::Rsvg can do this.
Great! I had overlooked librsvg since its latest release seems to be
fr
not a separate library.
Ari
--
Prof. Ari Jolma
Geoinformatiikka / Geoinformatics
Teknillinen Korkeakoulu / Helsinki University of Technology
tel: +358 9 451 3886 address: POBox 1200, 02015 TKK, Finland
Email: ari.jolma at tkk.fi URL: http://ww
eek or so once I get what's missing in
> this release compiled and packaged.
>
> Thoughts/comments/flames welcome.
>
> Thanks,
>
> Brian
> _______
> gtk-perl-list mailing list
> gtk-perl-list@gnome.org
> http://mail.gnome.org/mail
, Glade, Perl, and a bunch of
modules became in my case ~37MB. However, it contains a lot of pods,
htmls, unused modules etc. so it could probably be stripped down quite a
bit.
Ari
--
Prof. Ari Jolma
Geoinformatiikka / Geoinformatics
Teknillinen Korkeakoulu / Helsinki University of Technology
Hi,
I updated to perl 5.10.0 without problems (only one test fails) and went
through compiling and installing Glib, Gtk2, and Cairo. I've reported
about these things before, but let's look at it again a bit. I'd love to
get these modules installed with cpan as many modules do even in MinGW.
I'm us
spicy jack kirjoitti:
> On 11/23/07, Ari Jolma <[EMAIL PROTECTED]> wrote:
>
>> I ask because in my MinGW builds I've had to disable threads.
>>
>
> You had to disable threads because something wouldn't compile or
> something wouldn't run?
&g
spicy jack kirjoitti:
> Please let me know if you have any questions.
>
This is the MinGW build? Do you build a threaded Perl?
I ask because in my MinGW builds I've had to disable threads.
Cheers,
Ari
___
gtk-perl-list mailing list
gtk-perl-list@
:
http://geoinformatics.tkk.fi/twiki/bin/view/Main/InstallingWithMinGW
Ari
> Thanks,
>
> Brian
> ___
> gtk-perl-list mailing list
> gtk-perl-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-perl-list
>
--
muppet kirjoitti:
>> How do I then react to the user scrolling?
>>
>
> By connecting to the value-changed signals on the vertical and
> horizontal adjustments.
In your example you create the ScrolledWindow with two adjustments.
In my case I want to manage the adjustments (and the image
muppet kirjoitti:
>
> On Nov 2, 2007, at 9:37 AM, Ari Jolma wrote:
>
>> GLib-GObject-CRITICAL **: g_object_notify: assertion `G_IS_OBJECT
>> (object)' failed
>>
>
> (gdb) run myscript --g-fatal-warnings otherargs...
> (gdb) backtrace
sadly, the res
*: g_object_notify: assertion
`G_IS_OBJECT (object)' failed
return 1;
}
Best regards,
Ari
--
Prof. Ari Jolma
Geoinformaatio- ja paikannustekniikka / Geoinformation and positioning
Teknillinen Korkeakoulu / Helsinki University of Technology
tel: +358 9 451 3886 a
Torsten Schoenfeld kirjoitti:
>> You can use pango_layout_get_pixel_size() to avoid the divisions.
Even simpler.
Now that I've got Cairo working, I'll should soon be able to release a
version of Gtk2::Ex::Geo, which is (almost) pure Perl. It will define a
framework for geospatial data viewers (
muppet kirjoitti:
> You shouldn't need to parse anything. gtk_font_selection_get_font_name()
> creates its result by calling pango_font_description_to_string(), so on your
> end it should be as simple as
>
> $font_name = $font_selection->get_font_name ();
> $font_desc = Gtk2::Pango::FontDescri
TW, I find parsing what it returns in
get_font_name difficult.
Cheers,
Ari
--
Prof. Ari Jolma
Geoinformaatio- ja paikannustekniikka / Geoinformation and positioning
Teknillinen Korkeakoulu / Helsinki University of Technology
tel: +358 9 451 3886 address: POBox 1200, 02015 TKK, Finland
Email: ari.jolma at
ws");
print STDERR "2\n";
$cr->move_to(200, 200);
print STDERR "3\n";
$cr->show_text("but this not åäöÅÄÖ");
print STDERR "4\n";
$cr->move_to(300, 300);
print STDERR "5\n";
$cr->show_text("neither this");
print STDERR &quo
muppet wrote:
>
> It works on X11. No idea about windows; if anything, it's probably a
> windows-gtk+ issue, not a perl bindings one.
ok, this is the reply for those not on gtk-list:
Tor Lillqvist kirjoitti:
> Ari Jolma writes:
> > I have a piece of code (Perl but that
[EMAIL PROTECTED] kirjoitti:
> t/Cairo...ok 1/68Free to wrong pool 285ca8 not 80184 at
I used to get these errors in MinGW, but then I built my Perl without
threads (comment away USE_MULTI, USE_ITHREADS, and USE_IMP_SYS) and the
problem is gone. The other possibility was to change all ca
Joe Smith kirjoitti:
> muppet wrote:
>
>> ...
>> The situations you want to watch out for are:
>>
>> - Any form of circular reference. Avoid keeping references to yourself.
>> - Take care with closures, and they can hide references to objects
>> and create reference cycles.
>> - NEVER overrid
in cmd.exe. Do they use another shell or what?
Regards,
Ari
>
> --
> It's all very complicated and would take a scientist to explain it.
>-- MST3K
>
>
> ___
> gtk-perl-list mailing list
> gtk-perl-list@gnome.org
&g
#x27;print "hello world\n"'
does not work. Since the Makefile uses a lot of these one liners, my
"make install" fails. I wonder why
http://gtk2-perl.sourceforge.net/win32/howto_build_gtk2perl_win32.html
does not mention this. Am I missing something?
Reg
n't exist.
>-- Simon Cozens
>
>
> _______
> gtk-perl-list mailing list
> [EMAIL PROTECTED]
> http://mail.gnome.org/mailman/listinfo/gtk-perl-list
>
--
Prof. Ari Jolma
Geoinformaatio- ja paikannustekniikka
Geoinformation an
I'm getting back to this issue, since I finally got a good gdb backtrace
and Glib NOISY log from the bug(?):
Below are three logs, the first and third are from gdb, they show that
the SegFault may happen at least in g_signal_emit_valist () and
g_signal_has_handler_pending (). The 2nd log shows
Ari Jolma kirjoitti:
> hmm, I updated to the latest (2.12.11) libgobject-2.0.0.dll from
> ftp://ftp.gtk.org/pub/glib/2.10 (I was using 2.10.7(?) which is
> available from http://gladewin32.sourceforge.net/modules/news/)
>
> and the problem disappeared...
>
This was only
hmm, I updated to the latest (2.12.11) libgobject-2.0.0.dll from
ftp://ftp.gtk.org/pub/glib/2.10 (I was using 2.10.7(?) which is
available from http://gladewin32.sourceforge.net/modules/news/)
and the problem disappeared...
Ari
muppet kirjoitti:
> Ari Jolma wrote:
>
>> I trie
muppet kirjoitti:
> Ari Jolma wrote:
>
>> I tried commenting out every line of code which has something to do with
>> signals and it turns out that if I connect the size_allocate signal to a
>> function (this is in sub INIT_INSTANCE of the subclass of
>> Gtk2
tion->values;
@{$self->{viewport_size}} = @v[2..3];
$self->render() if $v[2] != $old_v[0] or $v[3] != $old_v[1];
return 0;
}
Ari
--
Prof. Ari Jolma
Geoinformaatio- ja paikannustekniikka
Geoinformation and positioning technology
Teknillinen Korkeakoulu / Helsinki Univ
y if an object of that
class is created and used. I've defined two new signal types for the object.
Ari
>
> Greetings,
> Mario
> ___
> gtk-perl-list mailing list
> gtk-perl-list@gnome.org
> http://mail.gnome.org/mail
situation?
Ari Jolma kirjoitti:
> I have an application, which uses Gtk2 and other modules, which use
> linked libraries. In Windows (not in Linux, but I'm not sure if that
> means anything) I have a problem in global desctruction. If I close the
> app without doing anything ev
problem
does not appear if I run the app with -DD.
I'm running out of things to try. Does anybody here have any tips or ideas?
Ari
--
Prof. Ari Jolma
Geoinformaatio- ja paikannustekniikka
Geoinformation and positioning technology
Teknillinen Korkeakoulu / Helsinki University of Techno
to do that?
Best regards,
Ari
--
Prof. Ari Jolma
Geoinformaatio- ja paikannustekniikka
Geoinformation and positioning technology
Teknillinen Korkeakoulu / Helsinki University of Technology
POBox 1200, 02015 TKK, Finland
Email: ari.jolma at tkk.fi URL
equire at blib\lib/Glib/GenPod.pm line 217.
> dmake.exe: Error code 9, while making 'build/podindex'
>
> I've got ActivePerl 5.8.8.819.
My Perl is compiled with MinGW (that was easy) and the same dmake.exe
(and C compiler) that I use for the modules. I'm not sur
The set_size_request is an easy method. I tried to
explicitly set the adjustments with
Gtk2::ScrolledWindow->set_hadjustment and set_vadjustment but could not
get them working.
Ari
--
Prof. Ari Jolma
Geoinformaatio- ja paikannustekniikka
Geoinformation and positioning technology
Teknilline
Torsten Schoenfeld kirjoitti:
> On Wed, 2006-10-04 at 17:36 +0300, Ari Jolma wrote:
>
>> I'm building Gtk2 under MinGW.
>>
> needed. There's a hack for Win32 at the end of Gtk2's Makefile.PL,
> maybe it can be adapted for MinGW.
>
I
r how to debug?
Ari
--
Prof. Ari Jolma
Geoinformaatio- ja paikannustekniikka
Geoinformation and positioning technology
Teknillinen Korkeakoulu / Helsinki University of Technology
POBox 1200, 02015 TKK, Finland
Email: ari.jolma at tkk.fi URL: http://www.tkk.fi/~jolma
___
he link command does not seem
to help, g++ does not seem to see Cairo.dll.
Any help would be appreciated. My perl is also compiled under MinGW with
dmake.
Ari
--
Prof. Ari Jolma
Geoinformaatio- ja paikannustekniikka / Geoinformation and positioning
Teknillinen Korkeakoulu / Helsinki Universi
Hello,
I just found out this. I'm using GtkEntry for numbers. This is in
Windows and my Regional options says Decimal symbol is comma. When
set_text gets a number, the regional settings are honoured, but when the
same value is retrieved with get_text, the comma comes back and the
string is not
David kirjoitti:
> On Thu, Jun 29, 2006 at 12:13:12PM +0300, Ari Jolma wrote:
>
>> I guess my .packlist or what it is is probably very long now, since I
>> tend to install for tests. I never uninstall anything and I've had no
>> problems or almost never had
directories.
Ari
>
> These may be some unnecessary questions, but thought I'd ask before
> jumping in and perhaps messing things up badly.
> ___
> gtk-perl-list mailing list
> gtk-perl-list@gnome.org
> http://mail.gnome.org/
the program is closed.
What would be the best solution for this kind of case? All I can think
is to get rid of or avoid croaks.
Regards,
Ari
--
Prof. Ari Jolma
Kartografia ja Geoinformatiikka / Cartography and Geoinformatics
Teknillinen Korkeakoulu / Helsinki University of Technology
POBox
test code, it even does not finish, but at
least simple dialog boxes and windows (like my simple geodata viewer) work.
Cheers,
Ari
--
Prof. Ari Jolma
Kartografia ja Geoinformatiikka / Cartography and Geoinformatics
Teknillinen Korkeakoulu / Helsinki University of Technology
POBox 1200, 02015
Ari Jolma kirjoitti:
Hi,
I've been building things on MinGW. I saw earlier posts on compiling
Gtk2 on MinGW, two problems were mentioned: too long lines and
DynaLoader failing to load Gtk2.dll. I solved the too long lines
problem simply by using xs/*.o instead of the long list. For th
ly have the name dll.exp.dll in
their export table. They are also loaded in the run-time. A wild guess:
maybe having to specify Glib.dll when Gtk2.dll is linked, leads to
having to put Glib.dll in the path and maybe it is loaded somehow
differently than usual Perl module dlls??
Ari
--
Pr
Mitchell Laks wrote:
Medical images "slice" a patient into thousands of consecutive images.
Images will typically be stored on local disk as well as streamed over the
network to the workstation. They are then loaded in memory.
It is not unusual to be looking at 2000-3000 images at a time, eac
Mitchell Laks wrote:
Hi,
I am designing an open source application to display medical images (MRI and
CT etc).
Hi, I've been working on Gtk2::Ex::Geo modules, where a central
functionality is to display geospatial data.
I have read about the idea of splitting the functionality so that t
Szabó Géza wrote:
Dear All,
I have a very simple question for which you experts can answer me
surely in a second, but I was not able to find the solution even after
few hours googling. So I have a Treeview (and of cours e a treestore)
and I just want to simply clear all the whole treeview.
I
Ari Jolma wrote:
looking at process info, it seems that X is piling up memory, the code
$self->{pixmap} = $self->{pixbuf}->render_pixmap_and_mask;
$self->{image}->set_from_pixmap($self->{pixmap});
I've still seem to have a problem with this. I did a bit of
muppet wrote:
Ari Jolma wrote:
looking at process info, it seems that X is piling up memory, the code
$self->{pixmap} = $self->{pixbuf}->render_pixmap_and_mask;
$self->{image}->set_from_pixmap($self->{pixmap});
I've still seem to have a problem wi
Ari Jolma wrote:
muppet wrote:
If dealing with the separate XML file is a problem, you can embed
the XML in the perl file with very little effort. I've seen
various people use a Makefile rule to concatenate the .glade file
onto the .pm or .pl file before installation.
This is a
muppet wrote:
Alternatively, use a single offscreen pixmap for the source buffer,
and another for the annotate image; to "undraw" previous annotations,
copy from the clean one. This avoids the whole re-render stage.
This seems to remove the memory problem :) and if I understand
correctly,
muppet wrote:
1. create pixmap from the initial pixbuf and set the pixmap into the
image
2. draw on the pixmap
3. hide the ScrolledWindow
4. show the ScrolledWindow
Why the hide and show?
ok, that _was_ unnecessary, but did not solve the problem
Similarly, image data can be stored i
muppet wrote:
If dealing with the separate XML file is a problem, you can embed the
XML in the perl file with very little effort. I've seen various
people use a Makefile rule to concatenate the .glade file onto the
.pm or .pl file before installation.
This is a very good idea (I've done
Hi,
This is about the Gtk2::Ex::Geo modules, which are on CPAN. How the code
works is, at least partly, explained also on
http://map.hut.fi/PerlForGeoinformatics
I've got a derivative (subclass in Perl sense) of Gtk2::Gdk::Pixbuf. I
create it using gdk_pixbuf_new_from_data. The data is creat
I've made a module, which implements a dialog. The graphical design of
this dialog is made with glade and is thus an glade XML file and used in
the module with the help of Gtk2::GladeXML.
Now I have a simple question. How do I package this to the module so
that it is available at test time and at
as fixed or
dealt with? Do you have any recommendations/ideas? Of course the swig is
an added complication and the need to support more languages that Perl.
Ari
--
Prof. Ari Jolma
Kartografia ja Geoinformatiikka / Cartography and Geoinformatics
Teknillinen Korkeakoulu / Helsinki University o
ogr_driver = blessed in 'ogr::Driver' [O13]
|- ogr_layer = blessed in 'ogr::Layer' [O14]
|- srs = blessed in 'osr::SpatialReference' [O15]
|- type = HASH [S16]
`- update = 0 [S17]
--
Prof. Ari Jolma
Kartografia ja Geoinformatiikka / Cartography and Geoinformatics
Te
lt
I think. Does this question make sense? ;-)
Ari
--
Prof. Ari Jolma
Kartografia ja Geoinformatiikka / Cartography and Geoinformatics
Teknillinen Korkeakoulu / Helsinki University of Technology
POBox 1200, 02015 TKK, Finland
Email: ari.jolma at tkk.fi URL: http://www.tkk.fi/~
Ruben Vandamme kirjoitti:
muppet wrote:
Also done.
Anybody else? =)
Gtk2::GIS at http://libral.sourceforge.net/ ...
a geograhic information system
--
Prof. Ari Jolma
Kartografia ja Geoinformatiikka / Cartography and Geoinformatics
Teknillinen Korkeakoulu / Helsinki University of
has been good enough
for me.
Ari
Zach
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list
--
Prof. Ari Jolma
Kartografia ja Geoinformatiikka / Cartography and Geoinformatics
Teknillinen Korkeakoulu / Helsinki University of Technolo
mail.gnome.org/mailman/listinfo/gtk-perl-list
--
Prof. Ari Jolma
Kartografia ja Geoinformatiikka / Cartography and Geoinformatics
Teknillinen Korkeakoulu / Helsinki University of Technology
POBox 1200, 02015 TKK, Finland
Email: ari.jolma at tkk.fi URL: http://www.tkk.fi/~jolma
muppet wrote:
On Apr 11, 2005, at 8:11 PM, Gabor Szabo wrote:
I was looking at the tutorial of Stephen Wilhelm and here
http://personal.riverusers.com/~swilhelm/gtkperl-tutorial/
signalsandevents.html
That is, of course, the tutorial for the old gtk+ 1.x Gtk-Perl.
Does anybody know why this st
Ross McFarland wrote:
Florian Ragwitz said:
Hello list,
I recently wrote some perl [0]bindings for [1]libphat. They already work
quite well, but I'm still not sure which namespace to use. I currently
would prefer Gtk2::Phat to keep XS stuff in Gtk2:: and outside of
Gtk2::Ex::, which I think of a
Ross McFarland wrote:
it's not really standard practice to have the example app as a module.
I understand this, but what my ..App module actually does is that it
takes a couple of widgets and makes them work together, it is left for
the user (final app developer) to put or not to put these wid
Sorry for replying to my own post
Ari Jolma wrote:
Would it be ok to call the RasterWindow module (which subclasses
ScrolledWindow) Gtk2::Ex::RasterWindow? The problem is that it should
also support (geographic) vector data, so maybe Gtk2::Ex::GIWindow?
(GI = Geographic Information) Any
Regards,
Joern
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list
--
Prof. Ari Jolma
Kartografia ja Geoinformatiikka / Cartography and Geoinformatics
Teknillinen Korkeakoulu / Helsinki University of Techno
d Gtk2 are all cross-platform), is
maybe not simple to build on a non-GNU environment.
Ari Jolma
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list
Hello,
I'm working on an application, which has a GUI but I also want to have a
text-based shell (the usual Perl while(<>){eval}). It is enough that the
user is working on either the shell or the GUI, I don't want to use
threads (probably). The idea is similar to opening a dialog box for the
sh
muppet wrote:
In my custom widget I have an image, which I make on the fly. I also
can't seem to make the widget support flexible resizing of the
window, this also works in ScrolledWindow.
"flexible resizing"?
I mean basically the widget is an image viewer. The use has to be able to
zoom in -
muppet wrote:
Indeed, because "changed" is one of Gtk2::Adjustment's signals, not a
Gtk2::Scale's.
Also, the "changed" signal means that the properties of the
adjustment have changed -- e.g. the max value, the min
yes, actually I'm trying to catch the "resize-window" event, i.e., when
the us
Hello,
I have this kind of code:
my $h = new_with_range Gtk2::HScale (0,10,1);
$h->signal_connect("changed" => sub {print "changed\n" });
$h->signal_connect("value-changed" => sub {print"value changed\n"} );
this gives a warning: signal "changed" is invalid
my $h = new_with_range Gtk2::HScale (0,10
but I
expected it to be the drag-begin drag-end events, which I did not yet
get fired in any case.
Ari
--
Prof. Ari Jolma
Kartografia ja Geoinformatiikka / Cartography and Geoinformatics
Teknillinen Korkeakoulu / Helsinki University of Technology
POBox 1200, 02015 TKK, Finland
Email: ari.jolma at t
77 matches
Mail list logo