Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 7296] Libpatch

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT metalab.unc.edu
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 7296] Libpatch
  • Date: Sun, 12 Dec 2004 17:53:34 -0500

http://bugs.sourcemage.org/show_bug.cgi?id=7296





------- Additional Comments From ruskie AT email.si 2004-12-12 17:53 -------
This is closest to a spec I'll come for several months I guess...

I was trying mutt one day and wanted some patches applied to it but I didn't
want to modify the spell files directcly I just wanted to add them on the fly
while casting so the first idea was make it a sort of a config_local but for
patches.
So this is the first role it fulfils. Also got me thinking why not store the
uri's of the patches in some file so that they can be brought up on a recast
so
that's also in there.
This original role I really want included in sorcery no matter what happens to
the PATCHES file idea

Then I started thinking why not add a PATCHES file to spells in the form of

type_of_patch "uri_to_patch_file(either.gz,.bz2,plain)" "for_opt_patch_desc"

i.e. from the mutt-devel spell also included as an attachment
mandatory_patch
"http://vorlon.cwru.edu/~jrh29/mutt/patch-1.5.6.jrh.sidebar.13";
mandatory_patch
"http://www.mutt.org.ua/download/mutt-1.5.6/patch-1.5.6.rr.compressed.gz";

optional_patch
"http://www.mutt.org.ua/download/mutt-1.5.6/patch-1.5.6.vvv.nntp.gz"; "nntp
support"
optional_patch
"http://www.mutt.org.ua/download/mutt-1.5.6/patch-1.5.6.vvv.quote.gz"; "quote
support"
optional_patch
"http://www.mutt.org.ua/download/mutt-1.5.6/patch-1.5.6.vvv.ru.gz"; "russian
support"

As noted it uses uri and libdownload or whatever sorcery uses for downloading
the files. That way te uri can be anything that libdownload supports(though
not
sure if possible to take out single files from cvs but that's atm irrelevant)

This way all the spells would have a single unfirom way of having patches
added
to spells without acctually having to include them in any BUILD or PRE_BUILD
files except where really necesary(don't have a clue about the necessary part
though)


I hope this enlightens for now....
This could also use perhaps a dialog interface and I guess the kernel spell
would benefit greatly from it as well...

*note* no md5sum checking for patches

Hope it helps for a start... and since I won't have really much time for this
in
the coming months I hope someone will be willing to comb it through and find
any
necessary changes(if required) and fix them. I'm having second thoughts about
it
but that's just me... I always get them after a while with anything...
Also note when I was thinking about this I was thinking why not add something
no
other distro has to make ours stand out from the crowd...



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




Archive powered by MHonArc 2.6.24.

Top of Page