Re: [Fink-devel] symlink in gtk+ package
Masanori Sekino wrote: gtk+ (=1.2.10-10) package provides two symlinks, `gdk - gtk-1.2/gdk' and `gtk - gtk-1.2/gtk'. But they break many GNOME2 package's compilation, so I'd like to remove them. Masanori, I've been working on Gnome 2 as well, so that I could get Nautilus working. I'm running into this same problem with libbonoboui2. The Gnome 2 packages all add '-I/sw/include/gtk-2.0 -I/sw/lib/gtk-2.0/include', so theoretically '#include gtk/gtk.h' should work. However, pangoxft needs freetype2, and `freetype-config --cflags` has -I/sw/include in it. The .pc (pkgconfig) file for libgnomecanvas2 puts pango before gtk+-2.0 in the Depends: field, so `pkg-config --cflags libgnomecanvas-2.0` puts -I/sw/include before -I/sw/include/gtk-2.0. This makes gtk/gtk.h resolve to /sw/include/gtk-1.2/gtk.h instead of the gtk 2.0 version, and that's where the problem lies. There are several possible fixes: 1) Patch the libgnomecanvas2 .pc file so that gtk+-2.0 is at the front. This is an easy fix, and I have verified that this puts -I/sw/include/gtk-2.0 before -I/sw/include in libgnomecanvas's cflags, but there is no guarantee that other packages won't also put pango first in the Depends field. 2) Prevent -I/sw/include from being added to pango's cflags. This is also easy, and is great because it will ensure that -I/sw/include will never be placed before -I/sw/include/gtk-2.0. However, this may break packages that use NoSetCPPFLAGS if they still need to include stuff from /sw/include. 3) Remove the /sw/include/gtk symlink. This is not so easy, it could cause many problems, but may be necessary. By the way, here are the Gnome 2 packages I have finished (well at least they compile) or am working on: Updated: bonobo-activation2-1.0.0 gconf2-1.1.11 gnome-vfs2(-ssl)-1.9.17 libbonobo2-2.0.0 libglade2-2.0.0 libgnomecanvas2-2.0.0 linc1-0.5.0 orbit2-2.4.0 New: eel2-0.2.27 gail15-0.15.1 libbonoboui2-2.0.0 libgnome2-2.0.0 libgnomeui2-2.0.0 nautilus-1.1.19 A couple of these packages use a very effective fix I came up with to solve the problems some packages have when upgraded. It stops programs from linking to already-installed versions of a library, instead of the upgraded version in /sw/src/%n/. Please contact me so we can coordinate our efforts. Dave Vasilevsky ___ Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] symlink in gtk+ package
H, On 2002.06.12, at 16:18, Dave Vasilevsky wrote: There are several possible fixes: 1) Patch the libgnomecanvas2 .pc file so that gtk+-2.0 is at the front. This is an easy fix, and I have verified that this puts -I/sw/include/gtk-2.0 before -I/sw/include in libgnomecanvas's cflags, but there is no guarantee that other packages won't also put pango first in the Depends field. 2) Prevent -I/sw/include from being added to pango's cflags. This is also easy, and is great because it will ensure that -I/sw/include will never be placed before -I/sw/include/gtk-2.0. However, this may break packages that use NoSetCPPFLAGS if they still need to include stuff from /sw/include. 3) Remove the /sw/include/gtk symlink. This is not so easy, it could cause many problems, but may be necessary. I already started 3), because I think it is necessary and it is easier if we do it earlier. I listed packages which depends (or build-depends) on gtk+ and confirmed that they can be compiled without symlinks. version of package I confirmed .info name (empty version denotes not confirmed yet) == abiword amaya-gtk aria0.10.0-2 asp2php aterm 0.4.2-2 axyftp 0.5.1-5 basiliskii bidwatcher bluefish0.7-1 bonobo 1.0.20-1 bonobo-conf 0.14-2 bundle-gnome1.4-3 calcoo 1.3.9-1 chemtool control-center 1.4.0.5-2 dama danican deskmenu dia dillo 0.6.6-1 directoryadministrator dopewars eboard 0.5.1-1 eboard-extras 1pl2-1 eel 1.0.2-3 enlightenment eog 0.6-3 eterm ethereal ethereal-ssl euler evolution fnlib freeciv fvwm2 fvwm2-no-gnome gabber gabber-ssl gaim gal19 0.19.2-1 galeon gbiff gconf 1.0.9-1 gdis gdk-pixbuf 0.16.0-6 ghex1.2.1-1 ghx gimp gimp-perl glade glchess glibwww 0.2-4 gnapster gnomame gnome-applets 1.4.0.5-2 gnome-apt 0.3.15-3 gnome-core 1.4.0.8-1 gnome-games 1.4.0.4-2 gnome-libs 1.4.1.7-1 gnome-pim 1.4.0-1 gnome-print 0.36-1 gnome-python1.4.1-7 gnome-utils 1.4.1.2-2 gnome-vfs 1.0.5-4 gnome-vfs-ssl 1.0.5-4 gnomeicu gnotepad+ 1.3.3-1 gnubg gnubg-bearoff gnucash gnumeric gpa gperiodic gq gqview 1.0.2-1 grustibus gtk+extra 0.99.16-3 gtk+extra17 0.99.17-1 gtk-engines 0.12-1 gtk-gnutella gtk-perl-pm 0.7008-5 gtkglarea 1.2.3-2 gtkgraph gtkhtml 1.0.2-1 gtkmm 1.2.8-2 gtkmonop gtkyahoo gtop1.0.13-1 guppi guppi16 icewm imlib 1.9.10-9 jags jpilot 0.99.2-2 lame libdv libglade0.17-3 libgtop 1.0.13-6 librsvg 1.0.3-2 libstroke mc 4.5.55-1 mjpegtools-1.5 mlview mozilla mplayer mtoolsfm-1.9 mtr multi-gnome-terminal myodbc-unixodbc nautilus nessus-common nethack nmap oaf 0.6.10-1 oregano pan peacock pygtk 0.6.8-2 rep-gtk 0.15-3 rox sambasentinel sawfish 1.0.1-1 scigraphica scipy sodipodi0.24.1-2 spacechart starplot starplot-gliese-3 stuphead sylpheed0.7.4-3 sylpheed-ssl terraform uae unixodbc vice vim 6.1-1 visualos wxgtk wxpython-wxgtk xchat xchat-ssl xfce xmms1.2.7-1 xmms-crossfade xmms-mad xscorch By the way, here are the Gnome 2 packages I have finished (well at least they compile) or am working on: What I finished or working on is: libgtop2 gail1 libgnome2 libgnomeprint2 libwnck1 libzvt2 libbonoboui2 libgnomeui2 libgnomeprintui2 gnome-desktop gnome-session gnome-terminal gnome-panel gnome-utils gnome-applets
[Fink-devel] symlink in gtk+ package
Hi, gtk+ (=1.2.10-10) package provides two symlinks, `gdk - gtk-1.2/gdk' and `gtk - gtk-1.2/gtk'. But they break many GNOME2 package's compilation, so I'd like to remove them. These symlinks are introduced when header files of gtk+ are moved into gtk-1.2 directory and it was very very long ago. Most programs, at least bundle-gnome, can be built without these symlinks. But there are too many programs which depends on gtk+ and it's hard to confirm this removal is safe. Is there any idea? Any helps are appreciated, --- Masanori Sekino mailto:[EMAIL PROTECTED] ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] symlink in gtk+ package
At 3:12 Uhr +0900 11.06.2002, Masanori Sekino wrote: Hi, gtk+ (=1.2.10-10) package provides two symlinks, `gdk - gtk-1.2/gdk' and `gtk - gtk-1.2/gtk'. But they break many GNOME2 package's compilation, so I'd like to remove them. These symlinks are introduced when header files of gtk+ are moved into gtk-1.2 directory and it was very very long ago. Most programs, at least bundle-gnome, can be built without these symlinks. But there are too many programs which depends on gtk+ and it's hard to confirm this removal is safe. Is there any idea? Any helps are appreciated, Basically, we would have to recompile everything with these symlinks to verify that nothing breaks. I don't see a shortcut for this. Max -- --- Max Horn Software Developer email: mailto:[EMAIL PROTECTED] phone: (+49) 6151-494890 ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel