some very primitve tools for admin 3rd party pkg

Uwe Brauer oub at gmx.net
Sat Sep 4 10:14:19 EDT 2004


>>>>> "SY" == Steve Youngs <steve at youngs.au.com> writes:

    SY> * Uwe Brauer <oub at gmx.net> writes:
    >> I have written some short and primitive tools for dealing with
    >> 3rd party pkg. May somebody could improve this to something
    >> decent. Steve I know that you have been thinking about this
    >> problem.

    SY> hehe, yep.

    >> (defvar my-prefix-pkg "/usr/share/xemacs21" "*Prefix of the
    >> global 3rd party directory")

    SY> This needs to be either

    SY>   $prefix/lib/xemacs/site-packages/


Again not on debian!
    SY> or

    SY>   $HOME/.xemacs/site-packages/

    SY> But probably it needs to be both.

    >> (defun my-delete-3rd-pkg () "A small hack for deleting 3rd
    >> party pkg, which are placed either in ~/.xemacs/xemacs-packages
    >> or in prefix/xemacs-packages."  (interactive) (shell-command
    >> (concat "rm -rf `cat pkginfo/MANIFEST."  (read-string "Name of
    >> pkg: (Must be in ~/.xemacs/xemacs-packages or in
    >> prefix/xemacs-packages.): ") "`")))

    SY> Where's `my-install-3rd-pkg'? :-)


    >> (defun my-list-3rd-pkg ()

    SY> Needs to come up in `pui-list-packages'

    SY> Uwe, I see what you are trying to get to and I think what you
    SY> have is great.  However, what I am looking for is seamless
    SY> integration into the current PUI tools.

Right, besides my primitive stuff uses linux/unix tools and does not
work for Window, at least not without difficulties. That's why I think
we should have a closer look of Stephens proposal. Did you get it to work?

    SY> Now, just to throw some ideas into the air (these are coming
    SY> to me now as I write this so they'll probably be full of
    SY> holes)...

    SY> A 3rd party package developer puts 2 files on his FTP
    SY> server...

    SY>   foo-1.99-3rdppkg.tar.gz foo-info

    SY> The first one is obvious.  The 2nd is like our
    SY> package-index.LATEST file except it only has the details for
    SY> the foo package.

    SY> On his website, under installation instructions it says...

    SY> M-x pui-install-3rd-party-pkg RET
    SY> /ftp.foo.org:/pub/pkg/foo-info RET


That for sure is nice, but requires  more infrastructure (may be a lot
more of infrastructure) than what I have in mind. I use alien a lot. I
download  source compile it install it  and then order to convert into
deb. So for me it is just a convenient way for un installing (and
installing) not so much upgrading, but sure what you have in mind is
much more general and cleaner.
    SY> The user does that, and churn churn churn, his foo package is
    SY> updated to 1.99.


Uwe 




More information about the XEmacs-Beta mailing list