xffm bugfixes

edscott wilson garcia edscott at imp.mx
Mon Mar 31 18:48:16 CEST 2003


El lun, 31-03-2003 a las 02:59, Benedikt Meurer escribió:
> On Mon, 31, Mar 2003, Benedikt Meurer wrote:
> 
> > > - Autotype functions now include binary package management: 
> > >    * Install (rpm, deb, FreeBSD.tgz) 
> > >    * Update (rpm, FreeBSD.tgz) 
> > >    * Description (rpm, FreeBSD.tgz) 
> > >    * List contents (rpm, FreeBSD.tgz) 
> > >    (I dunno the instructions to do update, description and list for dpkg
> > > :-|) 
> > 
> > Hm, two things: 
> > 
> > 	a) I don't think, that a filemanager should do the job of a
> > 	   package manager.
> 
> Just to get that clear: I thought XFce4 should follow the Unix philosophy
> of tools. But xffm is going to be an all-in-one monster application like
> other filemanagers did too.

No. Wrong again. You have a murky picture of xffm.  Just to make things
clear, xffm does four things: list, move, copy, and execute files. The
support for pkg_add is the same as that which exists for rpm and dpkg in
xftree (which is by no means is a fm monster). Support for installing
with pkg_add is exactly one line of code:
{".tgz","pkg_add",N_("Install Package"),NULL,0},

Xffm follows the pythagorean philosophy: "Never pick up what has already
fallen". Filemanagers only job should be to provide an easy GUI access
to all files (including executables). The executable files rpm, dpkg,
pkg_add, pkg_update, pkg_info are no different than other executables
like gimp, gv, abiword, oowriter, xdvi, and gvim, which, by the way, are
also supported by xffm. Again, if support is not desired for any
supported executable, it should not be installed. If it is not
installed, xffm will not support it. For example, to mount/unmount, xffm
just executes the unix tool "mount".

> 
> > 	b) If you use standard pkg_{add,info,delete} than everything
> > 	   will work out of the box on Open/NetBSD too.
> > 	   (else I'll look at that tonight)
> 
> And with any other system using pkg tools too, of course :)

Support should work fine in xffm for Open/NetBSD, as long as pkg_add,
pkg_update and pkg_info are installed.

 
Edscott

> 
> regards,
> Benedikt
> 
> -- 
> Those who do not understand Unix are condemned to reinvent it, poorly.
>     -- Henry Spencer
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://moongroup.com/mailman/listinfo/xfce4-dev
> 





More information about the Xfce4-dev mailing list