Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Gnome2-VFS: msg#00107

gnome.gtk+.perl

Subject: Re: Gnome2-VFS


On Monday, June 14, 2004, at 05:07 PM, Ross McFarland wrote:

possible solutions:
- modify perl-Gnome2-VFS.spec.in to buildrequires gtk2-devel

i don't think this is necessary.

- modify Gnome2-VFS and/or Gtk2 so that gtk/gtk.h isn't needed to build Gnome2-VFS.

just VFS. it doesn't need to include gtk.h. in fact, i thought we'd already fixed that. :-/


the second case could have larger implications as in the codegen stuff probably shouldn't be part of Gtk2 etc, but i don't know about that.

the problem is that Gtk2::CodeGen special-cases GtkObject, and that makes its code inappropriate for going into Glib.

GtkObjects need to be sunk, so gtk2perl_new_gtkobject() always calls gperl_new_object() with "own" set to true. thus, CodeGen needs to know to treat GtkObjects differently and there's no way around it.

i suppose we could have an extensible Glib::CodeGen, to which Gtk2::CodeGen would add its own types. then packages like Gnome2::VFS could just use Glib::CodeGen directly, and other packages which also add "unique" semantics to GObject could be supported quite easily.

on the other hand, i've never committed a code generator to Glib because i wasn't happy with the generation techniques of Gtk2::CodeGen. it gets the job done, but it's not as elegant and extensible as it could be. ...not that i really want an xml type spec, but still.


--
Brian: If i recall correctly, this is the physics department.
Chris: That explains all that gravity.
-- Family Guy, "The Story on Page One"


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe