Re: [gtk-list] Gtk-Perl CVS111699 & Gnome Panel



"BrYan P. Johnson" wrote:
> 
> This may be a stupid question, but since Gtk-Perl now has to be
> compiled piecemeal, how do I compile it with support for the gnome
> panel? The Makefile.PL in the Gnome directory doesn't do anything when
> I specify --with-gnome-panel or --with-panel.
This may be a stupid answer but as far as I can work it out:
The new approach allows you to rebuild a submodule without having to
rebuild the whole package.

The toplevel Makefile.PL now creates the documentation for the specified
packages but does no more for the sub modules. So what I do is

  cd /path/to/gnome-perl-cvs-dir
  perl Makefile.PL --with-gnome ...etc...

All the generated docs for all the modules are in the build directory
/path/to/gnome-perl-cvs-dir/build/perl-gtk-ref.pod and perl-gtk-ds.pod 
I usually run pod2html on them to make some browsable files and then

  perl Makefile.PL    # Without submodules so that it only builds Gtk
  make test
  su
  make install

  cd GdkImlib   # necessary to build Gnome
  perl Makefile.PL
  make test
  su
  make install

  cd ../Gnome
  perl Makefile.PL
  make test
  su
  make install

  ...      # repeat for each submodule that I want to build

I don't know if it is necessary to 'make install' each package before you
build the next submodule but it doesn't seem to hurt :)

HTH, Dermot



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]