[Gambas-user] TextBox and CR
Good morning everyone! In one of my programs there is a TextBox enabling the user to type in a search word. The TextBox seems to ignore a Return at the end, so I chose a ? at the end of the string to indicate go and search. It's a bit roundabout, however, isn't there a way to tell TextBox to include a CR in the string when Return is pressed? This is the code now (Suche means Search): PUBLIC SUB Suche_Change() IF trim(Suche.Text) = THEN RETURN IF String.Right(Suche.Text, 1) ? THEN RETURN SucheStarten(Suche.Text) END Any easy way to make this react to a CR? Thanks for your ideas! Rolf -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] TextBox and CR
Hi Rolf You could try this: PUBLIC SUB TextBox1_KeyPress() DIM lcode AS Variant lcode = Key.Code IF NOT IsNull(lcode) THEN IF lcode = Key.Enter OR lcode = Key.Return THEN Message.Info(Go SEARCH buddy!) END IF END IF END Regards, Caveat On Tue, 2010-04-20 at 09:42 +0200, Rolf-Werner Eilert wrote: Good morning everyone! In one of my programs there is a TextBox enabling the user to type in a search word. The TextBox seems to ignore a Return at the end, so I chose a ? at the end of the string to indicate go and search. It's a bit roundabout, however, isn't there a way to tell TextBox to include a CR in the string when Return is pressed? This is the code now (Suche means Search): PUBLIC SUB Suche_Change() IF trim(Suche.Text) = THEN RETURN IF String.Right(Suche.Text, 1) ? THEN RETURN SucheStarten(Suche.Text) END Any easy way to make this react to a CR? Thanks for your ideas! Rolf -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Problem with directory /lib
-Mensaje original- De: craf p...@vtr.net Reply-to: mailing list for gambas users gambas-user@lists.sourceforge.net Para: Lista Gambas Ingles gambas-user@lists.sourceforge.net Asunto: [Gambas-user] Problem with directory /lib Fecha: Mon, 19 Apr 2010 11:15:32 -0400 Hi. I managed to install a console program compiled on Ubuntu 9.04 to Ubuntu 8.04, using shared libraries. The problem is with a program that uses the GTK or QT library, and they require the libraries that are in the lib folder, and take into account that come with the PC and not those that are packaged with the project. Example. If I provide shared libraries are located in the lib folder, should be exported with the following: export LD_LIBRARY_PATH =/opt/proyect/gambas2/lib_shared/lib:/opt/proyect/gambas2/lib_shared/usr/l ib The path /usr/lib is taken into account, but the path /lib, and take the PC where you are installing the program. I also tested: export LD_LIBRARY_PATH = $LD_LIBRARY_PATH:/opt/proyect/gambas2/lib_shared/lib:/opt/proyect/gambas2/ lib_shared/usr/lib export LD_LIBRARY_PATH =/opt/proyect/gambas2/lib_shared/lib:/opt/proyect/gambas2/lib_shared/usr/l ib:$LD_LIBRARY_PATH but nothing... Is there any way to force you to take the path /lib specified in the file .sh by one and not the PC? Regards -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user Hi. Searching the Internet the reason why the put the path to the folder /lib in the LD_LIBRARY_PATH variable is not taken into account, if you take into account the /lib of the computer where the program is being installed with shared libraries. He added explanation found: -- It is very possible to have multiple versions of glibc on the same system (we do that every day). However, you need to know that glibc consists of many pieces (200+ shared libraries) which all must match. One of the pieces is ld-linux.so.2, and it must match libc.so.6, or you'll see the errors you are seeing. The absolute path to ld-linux.so.2 is hard-coded into the executable at link time, and can not be easily changed after the link is done.---THAT IS THE PROBLEM¡¡¡ To build an executable that will work with the new glibc, do this: g++ main.o -o myapp ... \ -Wl,-rpath=/path/to/newglibc \ -Wl,-dynamic-linker=/path/to/newglibc/ld-linux.so.2 The -rpath linker option will make the runtime loader search for libraries in /path/to/newglibc (so you wouldn't have to set LD_LIBRARY_PATH before running it), and the -dynamic-linker option will bake path to correct ld-linux.so.2 into the application. source:http://stackoverflow.com/questions/847179/multiple-glibc-libraries-o n-a-single-host/851229#851229 -- -- In short, if I want to be transported for example ld-linux.so.2 file from a computer with Ubuntu 9.10 to another distribution that does not have the same version. I can only do so if at compile Gambas added routes where I have copied my shared libraries, so that then can be called with the variable LD_LIBRARY_PATH. Now, I saw also that you can use the LD_PRELOAD variable, Can I use?. Regards. So I suggest that you always use the glibc stuff of the target system (libc.so, ld-linux.so, libffi.so...), and provide the other shared libraries only. Apparently only the ld-linux.so path is hardcoded (at least on my Mandriva), and points at /lib. I think this should be the path used by all distributions, so that should not be the problem. All other shared libraries used by the interpreter are resolved at runtime. $ ldd gbx3 linux-gate.so.1 = (0xe000) libm.so.6 = /lib/i686/libm.so.6 (0xb786e000) libintl.so.8 = /lib/libintl.so.8 (0xb7863000) libc.so.6 = /lib/i686/libc.so.6 (0xb7702000) libdl.so.2 = /lib/libdl.so.2 (0xb76fd000) libpthread.so.0 = /lib/i686/libpthread.so.0 (0xb76e2000) libffi.so.5 = /usr/lib/libffi.so.5 (0xb76db000) /lib/ld-linux.so.2 (0xb78b5000) Regards, -- Benoît Minisini -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta.
Re: [Gambas-user] TextBox and CR
Great, thanks! I just wonder why you load Key.Code into a variable before examining it - isn't Key.Code a variable itself? (Or is it a function, and you wanted to avoid calling it more than once?) Rolf Am 20.04.2010 10:58, schrieb Caveat: Hi Rolf You could try this: PUBLIC SUB TextBox1_KeyPress() DIM lcode AS Variant lcode = Key.Code IF NOT IsNull(lcode) THEN IF lcode = Key.Enter OR lcode = Key.Return THEN Message.Info(Go SEARCH buddy!) END IF END IF END Regards, Caveat On Tue, 2010-04-20 at 09:42 +0200, Rolf-Werner Eilert wrote: Good morning everyone! In one of my programs there is a TextBox enabling the user to type in a search word. The TextBox seems to ignore a Return at the end, so I chose a ? at the end of the string to indicate go and search. It's a bit roundabout, however, isn't there a way to tell TextBox to include a CR in the string when Return is pressed? This is the code now (Suche means Search): PUBLIC SUB Suche_Change() IF trim(Suche.Text) = THEN RETURN IF String.Right(Suche.Text, 1) ? THEN RETURN SucheStarten(Suche.Text) END Any easy way to make this react to a CR? Thanks for your ideas! Rolf -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] TextBox and CR
Hi Rolf, I guess you're right. I threw the code together very quickly, just to make a working example for you. But 100% correct, you don't need lcode or AS Variant or DIM or lcode = Key.Code... :-) Let's just hope this doesn't turn into another marathon static const? thread ;-) Regards, Caveat On Tue, 2010-04-20 at 11:39 +0200, Rolf-Werner Eilert wrote: Great, thanks! I just wonder why you load Key.Code into a variable before examining it - isn't Key.Code a variable itself? (Or is it a function, and you wanted to avoid calling it more than once?) Rolf Am 20.04.2010 10:58, schrieb Caveat: Hi Rolf You could try this: PUBLIC SUB TextBox1_KeyPress() DIM lcode AS Variant lcode = Key.Code IF NOT IsNull(lcode) THEN IF lcode = Key.Enter OR lcode = Key.Return THEN Message.Info(Go SEARCH buddy!) END IF END IF END Regards, Caveat On Tue, 2010-04-20 at 09:42 +0200, Rolf-Werner Eilert wrote: Good morning everyone! In one of my programs there is a TextBox enabling the user to type in a search word. The TextBox seems to ignore a Return at the end, so I chose a ? at the end of the string to indicate go and search. It's a bit roundabout, however, isn't there a way to tell TextBox to include a CR in the string when Return is pressed? This is the code now (Suche means Search): PUBLIC SUB Suche_Change() IF trim(Suche.Text) = THEN RETURN IF String.Right(Suche.Text, 1) ? THEN RETURN SucheStarten(Suche.Text) END Any easy way to make this react to a CR? Thanks for your ideas! Rolf -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Compiling Gambas3 on Fedora 12
Il 19/04/2010 20:22, Matteo Pasotti ha scritto: Hi All, I'm trying to compile gambas3 on Fedora 12 x86_64 and I can't understand which package I must install to enable gb.gtk. Currently I've installed gtk+-devel, gtk2-devel and gtk+extra-devel but nothing change. Does anyone has any tips? -- Matteo I'm still trying without success. The currently installed packages (gtk related) on my system are the following: # GConf2-gtk.x86_64 2.28.0-4.fc12.2 @updates PackageKit-gtk-module.x86_640.5.7-2.fc12 @updates authconfig-gtk.x86_64 6.0.0-2.fc12 @updates clutter-gtk.x86_64 0.10.2-1.fc12 @fedora-local gambas2-gb-gtk.x86_64 2.19.0-2.fc12@updates gambas2-gb-gtk-ext.x86_64 2.19.0-2.fc12@updates gambas2-gb-gtk-svg.x86_64 2.19.0-2.fc12@updates gnome-python2-gtkhtml2.x86_64 2.25.3-17.fc12 @updates gtk+.x86_64 1:1.2.10-69.fc12 @fedora gtk+-devel.x86_64 1:1.2.10-69.fc12 @fedora gtk+extra.x86_642.1.1-13.fc12@updates gtk+extra-devel.x86_64 2.1.1-13.fc12@updates gtk-doc.noarch 1.11-5.fc12 @fedora gtk-sharp2.x86_64 2.12.9-1.fc12 @anaconda-InstallationRepo-200911081904.x86_64 gtk-vnc.x86_64 0.3.10-2.fc12@updates gtk2.x86_64 2.18.9-3.fc12@updates gtk2-debuginfo.x86_64 2.18.9-3.fc12 @updates-debuginfo gtk2-devel.x86_64 2.18.9-3.fc12@updates gtk2-engines.x86_64 2.18.4-4.fc12@fedora gtk2-immodule-xim.x86_642.18.9-3.fc12@updates gtkglext-devel.x86_64 1.2.0-10.fc12@fedora gtkglext-libs.x86_641.2.0-10.fc12@fedora gtkhtml2.x86_64 2.11.1-6.fc12 @anaconda-InstallationRepo-200911081904.x86_64 gtkhtml2-devel.x86_64 2.11.1-6.fc12@fedora gtkhtml3.x86_64 3.28.3-1.fc12@updates gtkimageview.x86_64 1.6.3-2.fc12 @fedora gtkmm24.x86_64 2.18.2-1.fc12@updates gtkmm24-devel.x86_642.18.2-1.fc12@updates gtksourceview.x86_641:1.8.5-7.fc12 @fedora gtksourceview-devel.x86_64 1:1.8.5-7.fc12 @fedora gtksourceview2.x86_64 2.8.2-1.fc12 @updates gtkspell.x86_64 2.0.16-1.fc12@updates libcanberra-gtk2.x86_64 0.22-1.fc12 @fedora libchamplain-gtk.x86_64 0.4.3-1.fc12 @updates libgtkhotkey.x86_64 0.2.1-3.fc12 @fedora libgtkhotkey-devel.x86_64 0.2.1-3.fc12 @fedora libgtksourceviewmm.x86_64 1:0.3.1-5.fc12 @fedora libgtksourceviewmm-devel.x86_64 1:0.3.1-5.fc12 @fedora libunicapgtk.x86_64 0.9.8-1.fc12 @updates pinentry-gtk.x86_64 0.7.6-4.fc12 @fedora-local pygtk2.x86_64 2.16.0-1.fc12 @anaconda-InstallationRepo-200911081904.x86_64 pygtk2-libglade.x86_64 2.16.0-1.fc12 @anaconda-InstallationRepo-200911081904.x86_64 pygtksourceview.x86_64 2.8.0-1.fc12 @fedora-local python-slip-gtk.noarch 0.2.8-1.fc12 @updates pywebkitgtk.x86_64 1.1.6-2.fc12 @fedora report-gtk.x86_64 0.10-5.fc12 @updates usermode-gtk.x86_64 1.104-1.fc12 @updates webkitgtk.x86_641.1.15.4-1.fc12 @updates glib.x86_64 1:1.2.10-33.fc12 @fedora glib-devel.x86_64 1:1.2.10-33.fc12 @fedora glib2.x86_642.22.5-1.fc12@updates glib2-debuginfo.x86_64 2.22.5-1.fc12 @updates-debuginfo glib2-devel.x86_64 2.22.5-1.fc12@updates glibc.x86_642.11.1-4 @updates glibc-common.x86_64 2.11.1-4 @updates glibc-debuginfo.x86_64 2.11.1-4 @updates-debuginfo glibc-devel.x86_64 2.11.1-4 @updates glibc-headers.x86_642.11.1-4 @updates glibmm24.x86_64 2.22.1-1.fc12
Re: [Gambas-user] Compiling Gambas3 on Fedora 12
Il 19/04/2010 20:22, Matteo Pasotti ha scritto: Hi All, I'm trying to compile gambas3 on Fedora 12 x86_64 and I can't understand which package I must install to enable gb.gtk. Currently I've installed gtk+-devel, gtk2-devel and gtk+extra-devel but nothing change. Does anyone has any tips? I'm still trying without success. The currently installed packages (gtk related) on my system are the following: # GConf2-gtk.x86_64 2.28.0-4.fc12.2 @updates PackageKit-gtk-module.x86_640.5.7-2.fc12 @updates authconfig-gtk.x86_64 6.0.0-2.fc12 @updates clutter-gtk.x86_64 0.10.2-1.fc12 @fedora-local gambas2-gb-gtk.x86_64 2.19.0-2.fc12@updates gambas2-gb-gtk-ext.x86_64 2.19.0-2.fc12@updates gambas2-gb-gtk-svg.x86_64 2.19.0-2.fc12@updates gnome-python2-gtkhtml2.x86_64 2.25.3-17.fc12 @updates gtk+.x86_64 1:1.2.10-69.fc12 @fedora gtk+-devel.x86_64 1:1.2.10-69.fc12 @fedora gtk+extra.x86_642.1.1-13.fc12@updates gtk+extra-devel.x86_64 2.1.1-13.fc12@updates gtk-doc.noarch 1.11-5.fc12 @fedora gtk-sharp2.x86_64 2.12.9-1.fc12 @anaconda-InstallationRepo-200911081904.x86_64 gtk-vnc.x86_64 0.3.10-2.fc12@updates gtk2.x86_64 2.18.9-3.fc12@updates gtk2-debuginfo.x86_64 2.18.9-3.fc12 @updates-debuginfo gtk2-devel.x86_64 2.18.9-3.fc12@updates gtk2-engines.x86_64 2.18.4-4.fc12@fedora gtk2-immodule-xim.x86_642.18.9-3.fc12@updates gtkglext-devel.x86_64 1.2.0-10.fc12@fedora gtkglext-libs.x86_641.2.0-10.fc12@fedora gtkhtml2.x86_64 2.11.1-6.fc12 @anaconda-InstallationRepo-200911081904.x86_64 gtkhtml2-devel.x86_64 2.11.1-6.fc12@fedora gtkhtml3.x86_64 3.28.3-1.fc12@updates gtkimageview.x86_64 1.6.3-2.fc12 @fedora gtkmm24.x86_64 2.18.2-1.fc12@updates gtkmm24-devel.x86_642.18.2-1.fc12@updates gtksourceview.x86_641:1.8.5-7.fc12 @fedora gtksourceview-devel.x86_64 1:1.8.5-7.fc12 @fedora gtksourceview2.x86_64 2.8.2-1.fc12 @updates gtkspell.x86_64 2.0.16-1.fc12@updates libcanberra-gtk2.x86_64 0.22-1.fc12 @fedora libchamplain-gtk.x86_64 0.4.3-1.fc12 @updates libgtkhotkey.x86_64 0.2.1-3.fc12 @fedora libgtkhotkey-devel.x86_64 0.2.1-3.fc12 @fedora libgtksourceviewmm.x86_64 1:0.3.1-5.fc12 @fedora libgtksourceviewmm-devel.x86_64 1:0.3.1-5.fc12 @fedora libunicapgtk.x86_64 0.9.8-1.fc12 @updates pinentry-gtk.x86_64 0.7.6-4.fc12 @fedora-local pygtk2.x86_64 2.16.0-1.fc12 @anaconda-InstallationRepo-200911081904.x86_64 pygtk2-libglade.x86_64 2.16.0-1.fc12 @anaconda-InstallationRepo-200911081904.x86_64 pygtksourceview.x86_64 2.8.0-1.fc12 @fedora-local python-slip-gtk.noarch 0.2.8-1.fc12 @updates pywebkitgtk.x86_64 1.1.6-2.fc12 @fedora report-gtk.x86_64 0.10-5.fc12 @updates usermode-gtk.x86_64 1.104-1.fc12 @updates webkitgtk.x86_641.1.15.4-1.fc12 @updates glib.x86_64 1:1.2.10-33.fc12 @fedora glib-devel.x86_64 1:1.2.10-33.fc12 @fedora glib2.x86_642.22.5-1.fc12@updates glib2-debuginfo.x86_64 2.22.5-1.fc12 @updates-debuginfo glib2-devel.x86_64 2.22.5-1.fc12@updates glibc.x86_642.11.1-4 @updates glibc-common.x86_64 2.11.1-4 @updates glibc-debuginfo.x86_64 2.11.1-4 @updates-debuginfo glibc-devel.x86_64 2.11.1-4 @updates glibc-headers.x86_642.11.1-4 @updates glibmm24.x86_64 2.22.1-1.fc12 @fedora-local glibmm24-devel.x86_64 2.22.1-1.fc12@fedora # The
Re: [Gambas-user] TextBox and CR
On Tuesday 20 April 2010, Caveat wrote: Hi Rolf, I guess you're right. I threw the code together very quickly, just to make a working example for you. But 100% correct, you don't need lcode or AS Variant or DIM or lcode = Key.Code... :-) In general I should say the same. But Key.Code is in a way dynamic and a new KeyPress could occur before the related subroutine is finished. So otherwise I say it is not wrong but playing the safe way taht it is and stay the same for sure. Just my two cents :) Let's just hope this doesn't turn into another marathon static const? thread ;-) LOL (still it was interesting and I did learn something too) Regards, Caveat Best regards, Ron_1st -- -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] TextBox and CR
On Tuesday 20 April 2010, Caveat wrote: Hi Rolf, I guess you're right. I threw the code together very quickly, just to make a working example for you. But 100% correct, you don't need lcode or AS Variant or DIM or lcode = Key.Code... :-) In general I should say the same. But Key.Code is in a way dynamic and a new KeyPress could occur before the related subroutine is finished. No, unless you explicitely call the event loop (with WAIT). -- Benoît Minisini -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Compiling Gambas3 on Fedora 12
Il 20/04/2010 16:35, Benoît Minisini ha scritto: Il 19/04/2010 20:22, Matteo Pasotti ha scritto: Hi All, I'm trying to compile gambas3 on Fedora 12 x86_64 and I can't understand which package I must install to enable gb.gtk. Currently I've installed gtk+-devel, gtk2-devel and gtk+extra-devel but nothing change. Does anyone has any tips? I'm still trying without success. The currently installed packages (gtk related) on my system are the following: # GConf2-gtk.x86_64 2.28.0-4.fc12.2 @updates PackageKit-gtk-module.x86_640.5.7-2.fc12 @updates authconfig-gtk.x86_64 6.0.0-2.fc12 @updates clutter-gtk.x86_64 0.10.2-1.fc12 @fedora-local gambas2-gb-gtk.x86_64 2.19.0-2.fc12@updates gambas2-gb-gtk-ext.x86_64 2.19.0-2.fc12@updates gambas2-gb-gtk-svg.x86_64 2.19.0-2.fc12@updates gnome-python2-gtkhtml2.x86_64 2.25.3-17.fc12 @updates gtk+.x86_64 1:1.2.10-69.fc12 @fedora gtk+-devel.x86_64 1:1.2.10-69.fc12 @fedora gtk+extra.x86_642.1.1-13.fc12@updates gtk+extra-devel.x86_64 2.1.1-13.fc12@updates gtk-doc.noarch 1.11-5.fc12 @fedora gtk-sharp2.x86_64 2.12.9-1.fc12 @anaconda-InstallationRepo-200911081904.x86_64 gtk-vnc.x86_64 0.3.10-2.fc12@updates gtk2.x86_64 2.18.9-3.fc12@updates gtk2-debuginfo.x86_64 2.18.9-3.fc12 @updates-debuginfo gtk2-devel.x86_64 2.18.9-3.fc12@updates gtk2-engines.x86_64 2.18.4-4.fc12@fedora gtk2-immodule-xim.x86_642.18.9-3.fc12@updates gtkglext-devel.x86_64 1.2.0-10.fc12@fedora gtkglext-libs.x86_641.2.0-10.fc12@fedora gtkhtml2.x86_64 2.11.1-6.fc12 @anaconda-InstallationRepo-200911081904.x86_64 gtkhtml2-devel.x86_64 2.11.1-6.fc12@fedora gtkhtml3.x86_64 3.28.3-1.fc12@updates gtkimageview.x86_64 1.6.3-2.fc12 @fedora gtkmm24.x86_64 2.18.2-1.fc12@updates gtkmm24-devel.x86_642.18.2-1.fc12@updates gtksourceview.x86_641:1.8.5-7.fc12 @fedora gtksourceview-devel.x86_64 1:1.8.5-7.fc12 @fedora gtksourceview2.x86_64 2.8.2-1.fc12 @updates gtkspell.x86_64 2.0.16-1.fc12@updates libcanberra-gtk2.x86_64 0.22-1.fc12 @fedora libchamplain-gtk.x86_64 0.4.3-1.fc12 @updates libgtkhotkey.x86_64 0.2.1-3.fc12 @fedora libgtkhotkey-devel.x86_64 0.2.1-3.fc12 @fedora libgtksourceviewmm.x86_64 1:0.3.1-5.fc12 @fedora libgtksourceviewmm-devel.x86_64 1:0.3.1-5.fc12 @fedora libunicapgtk.x86_64 0.9.8-1.fc12 @updates pinentry-gtk.x86_64 0.7.6-4.fc12 @fedora-local pygtk2.x86_64 2.16.0-1.fc12 @anaconda-InstallationRepo-200911081904.x86_64 pygtk2-libglade.x86_64 2.16.0-1.fc12 @anaconda-InstallationRepo-200911081904.x86_64 pygtksourceview.x86_64 2.8.0-1.fc12 @fedora-local python-slip-gtk.noarch 0.2.8-1.fc12 @updates pywebkitgtk.x86_64 1.1.6-2.fc12 @fedora report-gtk.x86_64 0.10-5.fc12 @updates usermode-gtk.x86_64 1.104-1.fc12 @updates webkitgtk.x86_641.1.15.4-1.fc12 @updates glib.x86_64 1:1.2.10-33.fc12 @fedora glib-devel.x86_64 1:1.2.10-33.fc12 @fedora glib2.x86_642.22.5-1.fc12@updates glib2-debuginfo.x86_64 2.22.5-1.fc12 @updates-debuginfo glib2-devel.x86_64 2.22.5-1.fc12@updates glibc.x86_642.11.1-4 @updates glibc-common.x86_64 2.11.1-4 @updates glibc-debuginfo.x86_64 2.11.1-4 @updates-debuginfo glibc-devel.x86_64 2.11.1-4 @updates glibc-headers.x86_642.11.1-4 @updates glibmm24.x86_64 2.22.1-1.fc12 @fedora-local glibmm24-devel.x86_64 2.22.1-1.fc12
Re: [Gambas-user] TextBox and CR
No, don't worry :-) So, this is my code now: PUBLIC SUB Suche_KeyPress() DIM t$ AS String IF Key.Code = Key.Return OR Key.Code = Key.Enter THEN t$ = Trim$(Suche.Text) IF t$ THEN SucheStarten(t$) END IF END IF END I introduced t$ (old BASIC manners, I know :-) ) to avoid calling trim for several times, and I feel it's shorter and reads easier. Then I set Key.Return first as it would be pressed more probably, and this routine is called for each key. Later I realized that this is nonsense as it will check for Key.Enter with every key typed other than Return ;-) anyway... Regards Rolf Am 20.04.2010 14:44, schrieb Caveat: Hi Rolf, I guess you're right. I threw the code together very quickly, just to make a working example for you. But 100% correct, you don't need lcode or AS Variant or DIM or lcode = Key.Code... :-) Let's just hope this doesn't turn into another marathon static const? thread ;-) Regards, Caveat On Tue, 2010-04-20 at 11:39 +0200, Rolf-Werner Eilert wrote: Great, thanks! I just wonder why you load Key.Code into a variable before examining it - isn't Key.Code a variable itself? (Or is it a function, and you wanted to avoid calling it more than once?) Rolf Am 20.04.2010 10:58, schrieb Caveat: Hi Rolf You could try this: PUBLIC SUB TextBox1_KeyPress() DIM lcode AS Variant lcode = Key.Code IF NOT IsNull(lcode) THEN IF lcode = Key.Enter OR lcode = Key.Return THEN Message.Info(Go SEARCH buddy!) END IF END IF END Regards, Caveat On Tue, 2010-04-20 at 09:42 +0200, Rolf-Werner Eilert wrote: Good morning everyone! In one of my programs there is a TextBox enabling the user to type in a search word. The TextBox seems to ignore a Return at the end, so I chose a ? at the end of the string to indicate go and search. It's a bit roundabout, however, isn't there a way to tell TextBox to include a CR in the string when Return is pressed? This is the code now (Suche means Search): PUBLIC SUB Suche_Change() IF trim(Suche.Text) = THEN RETURN IF String.Right(Suche.Text, 1) ? THEN RETURN SucheStarten(Suche.Text) END Any easy way to make this react to a CR? Thanks for your ideas! Rolf -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] TextBox and CR
Rolf-Werner Eilert ha scritto: No, don't worry :-) So, this is my code now: PUBLIC SUB Suche_KeyPress() DIM t$ AS String IF Key.Code = Key.Return OR Key.Code = Key.Enter THEN t$ = Trim$(Suche.Text) IF t$ THEN SucheStarten(t$) END IF END IF END I introduced t$ (old BASIC manners, I know :-) ) to avoid calling trim for several times, and I feel it's shorter and reads easier. Then I set Key.Return first as it would be pressed more probably, and this routine is called for each key. Later I realized that this is nonsense as it will check for Key.Enter with every key typed other than Return ;-) anyway... No... it will check for Key.Enter every key you press, be it Return or not! Just kidding, but it's true... :-) Regards, Doriano -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] smtp question
Hi everyone! Any idea when the smtpclient work with password property?? I need send email on my program. Any idea about?? Other method??? Tks --- |/ Wellington de Souza Pinto C o o ] wspi...@click21.com.br ^ -x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x- ___ Para fazer uma ligação DDD pra perto ou pra longe, faz um 21. A Embratel tem tarifas muito baratas esperando por você. Aproveite! -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] User components in Gambas 3
Hi, I post this mail on both mailing-lists: please answer on the developer mailing-list if possible, as this is related to the development version! I'm currently thinking about how user components should work in Gambas 3, as I dislike the way it was designed in Gambas 2. In Gambas 2, user components work the same way as normal components made with Gambas, except that they are symbolic located in the home directory that point at the real executables. That design lead to many problems: you can't make packages of user components easily, and if the real executable moves, the symbolic link is broken while the IDE think the component is there. So, for Gambas 3, I propose a different design: - There are no user components anymore. - Instead, a project will be able to depend on other projects. - The list of associated projects will be defined in the IDE project option dialog. - That list will be just a list of project *names*. - At design time, these project will be search inside one or more directories that will be defined as a IDE global option. - At run time, the associated projects will be searched by using the $PATH environmental variable, as any other executables. Consequently: - The IDE global option will tell where you store the projects you want to use as components. - These projects will be packaged separately and installed like any other Gambas projects. - They should have a special name, because they are not real executables, but some sort of Gambas libraries instead. - So the project executables should be in the $PATH. And so the main project will find them easily. - When creating the main project packages, it will be easy to add a dependency on the associated project packages. I need to find a good term for these associated projects. I'd like to find something different than component. Even if internally the interpreter will use the same code to load them, I want the user to understand easily that they do not work the same way. Maybe library would be a good term... What do you think about the new design? -- Benoît Minisini -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] smtp question
Hi everyone! Any idea when the smtpclient work with password property?? I need send email on my program. Any idea about?? Other method??? Tks That was implemented a few days ago in Gambas 3 (revision #2866). Fabien had some problem with it, but I couldn't find why. It works there! -- Benoît Minisini -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Compiling Gambas3 on Fedora 12
Il 20/04/2010 16:58, Matteo Pasotti ha scritto: Il 20/04/2010 16:35, Benoît Minisini ha scritto: Il 19/04/2010 20:22, Matteo Pasotti ha scritto: Hi All, I'm trying to compile gambas3 on Fedora 12 x86_64 and I can't understand which package I must install to enable gb.gtk. Currently I've installed gtk+-devel, gtk2-devel and gtk+extra-devel but nothing change. Does anyone has any tips? I'm still trying without success. The currently installed packages (gtk related) on my system are the following: # GConf2-gtk.x86_64 2.28.0-4.fc12.2 @updates PackageKit-gtk-module.x86_640.5.7-2.fc12 @updates authconfig-gtk.x86_64 6.0.0-2.fc12 @updates clutter-gtk.x86_64 0.10.2-1.fc12 @fedora-local gambas2-gb-gtk.x86_64 2.19.0-2.fc12 @updates gambas2-gb-gtk-ext.x86_64 2.19.0-2.fc12 @updates gambas2-gb-gtk-svg.x86_64 2.19.0-2.fc12 @updates gnome-python2-gtkhtml2.x86_64 2.25.3-17.fc12 @updates gtk+.x86_64 1:1.2.10-69.fc12 @fedora gtk+-devel.x86_64 1:1.2.10-69.fc12 @fedora gtk+extra.x86_642.1.1-13.fc12 @updates gtk+extra-devel.x86_64 2.1.1-13.fc12 @updates gtk-doc.noarch 1.11-5.fc12 @fedora gtk-sharp2.x86_64 2.12.9-1.fc12 @anaconda-InstallationRepo-200911081904.x86_64 gtk-vnc.x86_64 0.3.10-2.fc12 @updates gtk2.x86_64 2.18.9-3.fc12 @updates gtk2-debuginfo.x86_64 2.18.9-3.fc12 @updates-debuginfo gtk2-devel.x86_64 2.18.9-3.fc12 @updates gtk2-engines.x86_64 2.18.4-4.fc12 @fedora gtk2-immodule-xim.x86_642.18.9-3.fc12 @updates gtkglext-devel.x86_64 1.2.0-10.fc12 @fedora gtkglext-libs.x86_641.2.0-10.fc12 @fedora gtkhtml2.x86_64 2.11.1-6.fc12 @anaconda-InstallationRepo-200911081904.x86_64 gtkhtml2-devel.x86_64 2.11.1-6.fc12 @fedora gtkhtml3.x86_64 3.28.3-1.fc12 @updates gtkimageview.x86_64 1.6.3-2.fc12 @fedora gtkmm24.x86_64 2.18.2-1.fc12 @updates gtkmm24-devel.x86_642.18.2-1.fc12 @updates gtksourceview.x86_641:1.8.5-7.fc12 @fedora gtksourceview-devel.x86_64 1:1.8.5-7.fc12 @fedora gtksourceview2.x86_64 2.8.2-1.fc12 @updates gtkspell.x86_64 2.0.16-1.fc12 @updates libcanberra-gtk2.x86_64 0.22-1.fc12 @fedora libchamplain-gtk.x86_64 0.4.3-1.fc12 @updates libgtkhotkey.x86_64 0.2.1-3.fc12 @fedora libgtkhotkey-devel.x86_64 0.2.1-3.fc12 @fedora libgtksourceviewmm.x86_64 1:0.3.1-5.fc12 @fedora libgtksourceviewmm-devel.x86_64 1:0.3.1-5.fc12 @fedora libunicapgtk.x86_64 0.9.8-1.fc12 @updates pinentry-gtk.x86_64 0.7.6-4.fc12 @fedora-local pygtk2.x86_64 2.16.0-1.fc12 @anaconda-InstallationRepo-200911081904.x86_64 pygtk2-libglade.x86_64 2.16.0-1.fc12 @anaconda-InstallationRepo-200911081904.x86_64 pygtksourceview.x86_64 2.8.0-1.fc12 @fedora-local python-slip-gtk.noarch 0.2.8-1.fc12 @updates pywebkitgtk.x86_64 1.1.6-2.fc12 @fedora report-gtk.x86_64 0.10-5.fc12 @updates usermode-gtk.x86_64 1.104-1.fc12 @updates webkitgtk.x86_641.1.15.4-1.fc12 @updates glib.x86_64 1:1.2.10-33.fc12 @fedora glib-devel.x86_64 1:1.2.10-33.fc12 @fedora glib2.x86_642.22.5-1.fc12 @updates glib2-debuginfo.x86_64 2.22.5-1.fc12 @updates-debuginfo glib2-devel.x86_64 2.22.5-1.fc12 @updates glibc.x86_642.11.1-4 @updates glibc-common.x86_64 2.11.1-4 @updates glibc-debuginfo.x86_64 2.11.1-4 @updates-debuginfo glibc-devel.x86_64 2.11.1-4 @updates glibc-headers.x86_642.11.1-4
Re: [Gambas-user] Compiling Gambas3 on Fedora 12
Il 20/04/2010 16:58, Matteo Pasotti ha scritto: Il 20/04/2010 16:35, Benoît Minisini ha scritto: Il 19/04/2010 20:22, Matteo Pasotti ha scritto: Hi All, I'm trying to compile gambas3 on Fedora 12 x86_64 and I can't understand which package I must install to enable gb.gtk. Currently I've installed gtk+-devel, gtk2-devel and gtk+extra-devel but nothing change. Does anyone has any tips? I'm still trying without success. The currently installed packages (gtk related) on my system are the following: # GConf2-gtk.x86_64 2.28.0-4.fc12.2 @updates PackageKit-gtk-module.x86_640.5.7-2.fc12 @updates authconfig-gtk.x86_64 6.0.0-2.fc12 @updates clutter-gtk.x86_64 0.10.2-1.fc12 @fedora-local gambas2-gb-gtk.x86_64 2.19.0-2.fc12 @updates gambas2-gb-gtk-ext.x86_64 2.19.0-2.fc12 @updates gambas2-gb-gtk-svg.x86_64 2.19.0-2.fc12 @updates gnome-python2-gtkhtml2.x86_64 2.25.3-17.fc12 @updates gtk+.x86_64 1:1.2.10-69.fc12 @fedora gtk+-devel.x86_64 1:1.2.10-69.fc12 @fedora gtk+extra.x86_642.1.1-13.fc12 @updates gtk+extra-devel.x86_64 2.1.1-13.fc12 @updates gtk-doc.noarch 1.11-5.fc12 @fedora gtk-sharp2.x86_64 2.12.9-1.fc12 @anaconda-InstallationRepo-200911081904.x86_64 gtk-vnc.x86_64 0.3.10-2.fc12 @updates gtk2.x86_64 2.18.9-3.fc12 @updates gtk2-debuginfo.x86_64 2.18.9-3.fc12 @updates-debuginfo gtk2-devel.x86_64 2.18.9-3.fc12 @updates gtk2-engines.x86_64 2.18.4-4.fc12 @fedora gtk2-immodule-xim.x86_642.18.9-3.fc12 @updates gtkglext-devel.x86_64 1.2.0-10.fc12 @fedora gtkglext-libs.x86_641.2.0-10.fc12 @fedora gtkhtml2.x86_64 2.11.1-6.fc12 @anaconda-InstallationRepo-200911081904.x86_64 gtkhtml2-devel.x86_64 2.11.1-6.fc12 @fedora gtkhtml3.x86_64 3.28.3-1.fc12 @updates gtkimageview.x86_64 1.6.3-2.fc12 @fedora gtkmm24.x86_64 2.18.2-1.fc12 @updates gtkmm24-devel.x86_642.18.2-1.fc12 @updates gtksourceview.x86_641:1.8.5-7.fc12 @fedora gtksourceview-devel.x86_64 1:1.8.5-7.fc12 @fedora gtksourceview2.x86_64 2.8.2-1.fc12 @updates gtkspell.x86_64 2.0.16-1.fc12 @updates libcanberra-gtk2.x86_64 0.22-1.fc12 @fedora libchamplain-gtk.x86_64 0.4.3-1.fc12 @updates libgtkhotkey.x86_64 0.2.1-3.fc12 @fedora libgtkhotkey-devel.x86_64 0.2.1-3.fc12 @fedora libgtksourceviewmm.x86_64 1:0.3.1-5.fc12 @fedora libgtksourceviewmm-devel.x86_64 1:0.3.1-5.fc12 @fedora libunicapgtk.x86_64 0.9.8-1.fc12 @updates pinentry-gtk.x86_64 0.7.6-4.fc12 @fedora-local pygtk2.x86_64 2.16.0-1.fc12 @anaconda-InstallationRepo-200911081904.x86_64 pygtk2-libglade.x86_64 2.16.0-1.fc12 @anaconda-InstallationRepo-200911081904.x86_64 pygtksourceview.x86_64 2.8.0-1.fc12 @fedora-local python-slip-gtk.noarch 0.2.8-1.fc12 @updates pywebkitgtk.x86_64 1.1.6-2.fc12 @fedora report-gtk.x86_64 0.10-5.fc12 @updates usermode-gtk.x86_64 1.104-1.fc12 @updates webkitgtk.x86_641.1.15.4-1.fc12 @updates glib.x86_64 1:1.2.10-33.fc12 @fedora glib-devel.x86_64 1:1.2.10-33.fc12 @fedora glib2.x86_642.22.5-1.fc12 @updates glib2-debuginfo.x86_64 2.22.5-1.fc12 @updates-debuginfo glib2-devel.x86_64 2.22.5-1.fc12 @updates glibc.x86_642.11.1-4 @updates glibc-common.x86_64 2.11.1-4 @updates glibc-debuginfo.x86_64 2.11.1-4 @updates-debuginfo glibc-devel.x86_64 2.11.1-4 @updates glibc-headers.x86_642.11.1-4 @updates glibmm24.x86_64 2.22.1-1.fc12 @fedora-local glibmm24-devel.x86_64 2.22.1-1.fc12 @fedora # The ./configure output, if it can be useful: # checking for GTK+ toolkit component with pkg-config... no Did you install pkg-config ? Yes, I forgot to insert it into the list pkgconfig.x86_641:0.23-9.fc12 @anaconda-InstallationRepo-200911081904.x86_64 Now I've enabled all components except gb.gtk. The ./configure output follows:
Re: [Gambas-user] Compiling Gambas3 on Fedora 12
Il 21/04/2010 01:38, Benoît Minisini ha scritto: If pkg-config does not give the GTK+ paths, then something need to be install, but I can't tell you what as I don't know Fedora at all. Maybe a Fedora user can help you? Thanks Benoît, finally I've discovered the package missing: gettext-devel. When I've two minutes I'll try to write down a list of the packages for fedora, considering that there's no docs about it and fedora has strange packaging conventions. Regards Indeed: gettext-devel and pkg-config for gtk+ should not have any relation at all! -- Benoît Minisini -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Compiling Gambas3 on Fedora 12
Il 21/04/2010 02:08, Benoît Minisini ha scritto: Il 21/04/2010 01:38, Benoît Minisini ha scritto: If pkg-config does not give the GTK+ paths, then something need to be install, but I can't tell you what as I don't know Fedora at all. Maybe a Fedora user can help you? Thanks Benoît, finally I've discovered the package missing: gettext-devel. When I've two minutes I'll try to write down a list of the packages for fedora, considering that there's no docs about it and fedora has strange packaging conventions. Regards Indeed: gettext-devel and pkg-config for gtk+ should not have any relation at all! I still don't know in the details the relations between the fedora packages and the gb components, I was reading [1] and [2] and my last command was yum install librsvg2-devel gettext-devel Reading the documentation on the site [1], I've concluded that gtk doesn't depends from librsvg2 and viceversa, maybe incorrectly? It's for this reason that I wrote only gettext-devel in the previous mail. Before the last command specified above, ./configure doesn't enable gb.gtk. After that it does. Benoît, I'm sorry, I rarely compile from sources. If You need more details let me know. [1] http://gambasdoc.org/help/install?viewen [2] http://gambasdoc.org/help/install/mandriva?view -- Matteo -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Compiling Gambas3 on Fedora 12
Il 21/04/2010 02:08, Benoît Minisini ha scritto: Il 21/04/2010 01:38, Benoît Minisini ha scritto: If pkg-config does not give the GTK+ paths, then something need to be install, but I can't tell you what as I don't know Fedora at all. Maybe a Fedora user can help you? Thanks Benoît, finally I've discovered the package missing: gettext-devel. When I've two minutes I'll try to write down a list of the packages for fedora, considering that there's no docs about it and fedora has strange packaging conventions. Regards Indeed: gettext-devel and pkg-config for gtk+ should not have any relation at all! I still don't know in the details the relations between the fedora packages and the gb components, I was reading [1] and [2] and my last command was yum install librsvg2-devel gettext-devel Reading the documentation on the site [1], I've concluded that gtk doesn't depends from librsvg2 and viceversa, maybe incorrectly? It's for this reason that I wrote only gettext-devel in the previous mail. Before the last command specified above, ./configure doesn't enable gb.gtk. After that it does. Benoît, I'm sorry, I rarely compile from sources. If You need more details let me know. [1] http://gambasdoc.org/help/install?viewen [2] http://gambasdoc.org/help/install/mandriva?view Ha, I see now: librsvg2 is now a dependency of the GTK+ command, with cairo. gb.gtk now has native support for SVG files! The wiki is not up to date. If you want to create a Fedora page at http://gambasdoc.org/help/install, do not hesitate! Regards, -- Benoît Minisini -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Compiling Gambas3 on Fedora 12
Is it possible to make LiveCD Linux+Gambas for windows programmers to try, play with it and decide? Regards --- On Tue, 4/20/10, Benoît Minisini gam...@users.sourceforge.net wrote: From: Benoît Minisini gam...@users.sourceforge.net Subject: Re: [Gambas-user] Compiling Gambas3 on Fedora 12 To: mailing list for gambas users gambas-user@lists.sourceforge.net Received: Tuesday, April 20, 2010, 6:12 PM Il 21/04/2010 02:08, Benoît Minisini ha scritto: Il 21/04/2010 01:38, Benoît Minisini ha scritto: If pkg-config does not give the GTK+ paths, then something need to be install, but I can't tell you what as I don't know Fedora at all. Maybe a Fedora user can help you? Thanks Benoît, finally I've discovered the package missing: gettext-devel. When I've two minutes I'll try to write down a list of the packages for fedora, considering that there's no docs about it and fedora has strange packaging conventions. Regards Indeed: gettext-devel and pkg-config for gtk+ should not have any relation at all! I still don't know in the details the relations between the fedora packages and the gb components, I was reading [1] and [2] and my last command was yum install librsvg2-devel gettext-devel Reading the documentation on the site [1], I've concluded that gtk doesn't depends from librsvg2 and viceversa, maybe incorrectly? It's for this reason that I wrote only gettext-devel in the previous mail. Before the last command specified above, ./configure doesn't enable gb.gtk. After that it does. Benoît, I'm sorry, I rarely compile from sources. If You need more details let me know. [1] http://gambasdoc.org/help/install?viewen [2] http://gambasdoc.org/help/install/mandriva?view Ha, I see now: librsvg2 is now a dependency of the GTK+ command, with cairo. gb.gtk now has native support for SVG files! The wiki is not up to date. If you want to create a Fedora page at http://gambasdoc.org/help/install, do not hesitate! Regards, -- Benoît Minisini -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user