configure:error - atk - pkg-config-glib-1.2.8
Hello ladies and gentle men. I configure -->make-->make installed the following packages in order successfully: zlib-1.2.3 libpng-1.2.18 libiconv-1.11.1 pkg-config-0.22 m4-1.4.11 -->autoconf-2.63 -->automake-1.10.1 -->libtool-2.2.4 -->fontconfig-2.4.2 -->freetype-2.3.5 -->pixman-0.10.0 -->cairo-1.6.4 -->glib-2.19.0 -->pango-1.20.5 When When I go to install ATK it gives me the following error message: 'configure: error: ***GLLIB-2.0.0 or better is required. The latest version of GLIB is available from ftp://ftp.gtk.org/. If GLIB is ***installed but not in the same location as pkg-config add the location of the file glib-2.0.pc to the ***environment variable PKG_CONFIG_PATH.' I could see atleast that glib-2.19.0 is the latest version however I foung glib-1.2.8 in the pkg-config package directory and I cut it and replaced it with glib-2.19.0 and tried to configure pkg-config, it failed. What do you think of this problem. How could the old glib-1.2.8 happen to exist in pkg-config without myself(the programmer) installing that version og glib. Thanks, regards, Embiza __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: How do I set up the system to launch my app when the user double-clicks a file?
2008/10/17 Garth's KidStuff <[EMAIL PROTECTED]>: > I'd like to have a user install my application (LoggerLite) and then be able > to double-click on a "LoggerLite" file and have LoggerLite automatically > launch. I see how one can use the "Open With" tab in a File's "properties" I guess this is on Linux? Freedesktop.org has two standards for this: a way of registering new file types, so that the system can put a name to the files your app makes, and a way of registering new applications so that they appear in a menu and have an associated set of file types. You need to write two small files which desicribe your file type and your application, then run two scripts: update-mime-database update-desktop-database Check the docs for details. This should work for Gnome and KDE and maybe some others. Different magic is required for Windows and for OS X. John ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
How do I set up the system to launch my app when the user double-clicks a file?
Hey All, I'd like to have a user install my application (LoggerLite) and then be able to double-click on a "LoggerLite" file and have LoggerLite automatically launch. I see how one can use the "Open With" tab in a File's "properties" dialog to change what app launches when double-clicking that file, but I want to do this programatically -- without having to ask the user to set this. Any ideas? Thanks in advance. -Garth -- Garth Upshaw Garth's KidStuff ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Layout Composite Widget Components Using Glade-3? / Pluggable widgets replacement for Glade custom widget?
On Fri, Oct 17, 2008 at 2:10 AM, Daniel Yek <[EMAIL PROTECTED]> wrote: [...] > This is done by installing custom widgets catalog into catalog directory, > installing custom plugin libraries, loading optional/custom plugin > libraries, installing and loading glade-3 custom widget icons, right? > > If so, is this not the pluggable widget that I referred to earlier? > Actually no, I think you are getting mixed up the a GtkPlug widget is that the case ? If you want to design your composite widget layout in glade, that is one thing... but its not a custom widget ;-) if you write a catalog for a real widget that you have written, a widget in C or another bound language, then you integrate it (or only fake it..) right into the glade palette - no need for a go between object. Cheers, -Tristan ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
GTK+ 2.14.4 released
GTK+ 2.14.4 is now available for download at: ftp://ftp.gtk.org/pub/gtk/2.14/ http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.14/ gtk+-2.14.4.tar.bz2 md5sum: 72bf65a54d2d29a6644dc0d28313ee67 gtk+-2.14.4.tar.gz md5sum: 159b77707ceb50012086481603153a14 This is a bug fix release in the 2.14 series. What is GTK+ GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, GTK+ is suitable for projects ranging from small one-off tools to complete application suites. GTK+ has been designed from the ground up to support a range of languages, not only C/C++. Using GTK+ from languages such as Perl and Python (especially in combination with the Glade GUI builder) provides an effective method of rapid application development. GTK+ is free software and part of the GNU Project. However, the licensing terms for GTK+, the GNU LGPL, allow it to be used by all developers, including those developing proprietary software, without any license fees or royalties. Where to get more information about GTK+ Information about GTK+ including links to documentation can be found at: http://www.gtk.org/ An installation guide for GTK+ 2.x is found at: http://developer.gnome.org/doc/API/2.0/gtk/gtk-building.html Common questions: http://developer.gnome.org/doc/API/2.0/gtk/gtk-question-index.html http://www.gtk.org/faq/ Overview of Changes from GTK+ 2.14.3 to 2.14.4 == * Bugs fixed: 553135 eog crash: assertion failed... 553241 double freed pointer in lpr_write cause firefox3 crash 553133 GtkFileChooser won't ask to mount a volume 553578 tabs are not drawn correctly 553211 GtkFileChooserButton unsets filter after first use 554141 uninitialized data use/free in gtkclipboard-quartz.c 554690 mem leak in filechooser 554691 mem leak in filechooser 554696 invalid free function used 554698 mem leak in filechooser 554701 filechooser spams console with useless warnings 554704 gtkfilesystemmodel does too much work 554506 combining diacritics broken, became deadkeys 530575 GtkEntry with invisible chars has a confused cursor... 371908 Password Entry broken 132501 Make utility window translate to tool window in win32 554702 gtkfilesystem leaks GError 554192 double press on the "circumflex" dead key... 550342 Splash screens have a caption 555000 Wrong treatment on non-spacing marks dead keys... 552318 menubar mnemonics consumed even when gtk-enable-mnemonics=false 555779 GtkCellRendererPixbuf crashed on failed GIcon lookup 555791 Nautilus Crashes when opening USB MP3 Player Contents * Updated translations: Catalan (ca) German (de) Spanish (es) French (fr) Italian (it) Japanese (ja) Macedonian (mk) Brazilian Portugese (pt_BR) Slovak (sk) Swedish (sv) Thanks to all contributors: Tor Lillqvist Michael Natterer Chris Wang Marek Kasik Owen Taylor Davyd Madeley Jon A. Cruz Richard Hult Christian Persch Simos Xenitellis Jonathan Blandford Andreas Moog Alex Larsson Michael Natterer Pedro Villavicencio October 17, 2008 Matthias Clasen ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Layout Composite Widget Components Using Glade-3? / Pluggable widgets replacement for Glade custom widget?
On Thu, Oct 16, 2008 at 10:01 PM, Daniel Yek <[EMAIL PROTECTED]> wrote: > Hi, > > I have been wondering, if I were to create a (custom) composite widget to > contain several standard GTK+ widgets from within a larger Glade project, is > there a way I can keep both the application layout and the composite widget > layout in the same Glade-3 project? (It is nicer if all widgets appear in > the same design view.) > > Do I have to use the custom widget in Glade (which is marked as deprecated) > to create composite widget? Is pluggable widget the replacement mechanism > for custom widget? > > I read a little about pluggable widgets, but I'm not familiar with creating > pluggable widgets and I am likely not able to spend time on that. How much > additional time is needed to turn a custom widget into a pluggable widget? > Is there a generic mechanism that automatically turn a custom widget into a > pluggable widget where it might be possible? :-) > > I'm just trying to figure out how to best create and use composite widgets. > Ideas and advice are appreciated. Thanks. Well, in trunk you are allowed non GtkWindow toplevel objects, and you are allowed to use a more lax naming scheme - so it can be as easy as defining some widget layouts in glade... and then the art is how you parse it with gtkbuilder. you should be able to use builder first to build your main window, and then go back in the file and build your other "composed" widgets seperately, and just add them to your interface with gtk_container_add() yourself. Glade can also integrate your own real custom GtkWidget derived object into the runtime, thats why we deprecated the old custom widget hook. Cheers, -Tristan ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: GtkPixbuf from Char buffer
Hi, ext gary liquid wrote: have you considered caching the downloaded file to disk and reading from there using the standard function? This would give you the obvious benefit of allowing offline usage and faster requerying. There isn't an infinite amount of memory available and having to download images everytime could cause user angst. I believe /tmp is mapped to real memory and not the flash drive, so would not cause real problems and wouldn't be much slower (someone can confirm this?) This is a no-no. The system /tmp is a RAM-disk with 1/2MB max size and it's used by all applications. It's intended for _small_ (few KB) temporary files. For larger or more permanent[1] things one should use $TMPDIR i.e. /var/tmp which is on Flash. [1] See the Filesystem Hierarchy Standard: http://www.pathname.com/fhs/ Even though it may require a little bit more time to organise a cache file plan, it may be worth it in the end? - Eero ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: GtkPixbuf from Char buffer
arto, have you considered caching the downloaded file to disk and reading from there using the standard function? This would give you the obvious benefit of allowing offline usage and faster requerying. There isn't an infinite amount of memory available and having to download images everytime could cause user angst. I believe /tmp is mapped to real memory and not the flash drive, so would not cause real problems and wouldn't be much slower (someone can confirm this?) Even though it may require a little bit more time to organise a cache file plan, it may be worth it in the end? Gary (lcuk on #maemo) On Thu, Oct 16, 2008 at 3:12 PM, Arto Karppinen < [EMAIL PROTECTED]> wrote: > > Hi, were developing an application which is supposed to show user images > downloaded from web server using xmlrpc. The problem is that we cant > quite figure out how to create a pixbuf from a buffer which contains the > RAW contents of a file. > > Functions like: > >gdk_pixbuf_new_from_data >gdk_pixbuf_new_from_inline >gdk_pixbuf_from_pixdata > > all seem to expect the image to be in some particular format already, > while what we need is more like gdk_pixbuf_new_from_file() which is able > to autodetect everything and just read the file. > > All information that our application has about the image are: > - Name of file. > - Size of file. > - Contents of file. > > -- > Arto Karppinen > -- > [EMAIL PROTECTED] > ___ > maemo-developers mailing list > [EMAIL PROTECTED] > https://lists.maemo.org/mailman/listinfo/maemo-developers > ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: GtkPixbuf from Char buffer
Hello! One way is to create GdkPixbufLoader and feed your image with gdk_pixbuf_loader_write. It will parse it and give you GdkPixbuf. Another way is to save data into temporary file and do gdk_pixbuf_new_from_file (). Thanks, Daniil. On Thu, Oct 16, 2008 at 5:12 PM, Arto Karppinen <[EMAIL PROTECTED]> wrote: > > Hi, were developing an application which is supposed to show user images > downloaded from web server using xmlrpc. The problem is that we cant > quite figure out how to create a pixbuf from a buffer which contains the > RAW contents of a file. > > Functions like: > >gdk_pixbuf_new_from_data >gdk_pixbuf_new_from_inline >gdk_pixbuf_from_pixdata > > all seem to expect the image to be in some particular format already, > while what we need is more like gdk_pixbuf_new_from_file() which is able > to autodetect everything and just read the file. > > All information that our application has about the image are: > - Name of file. > - Size of file. > - Contents of file. > > -- > Arto Karppinen > -- > [EMAIL PROTECTED] > ___ > maemo-developers mailing list > [EMAIL PROTECTED] > https://lists.maemo.org/mailman/listinfo/maemo-developers > ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
How to create alpha pixmap on drawingarea?
HELLO: I using a GtkDrawingarea to show pixmap video,program need to measure something,such as line length,area,girth, volume,and then draw text on it. because the pixmap video can stop,i need the text still on the pixmap,so i need to use 2 channels, how can i do this ? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list