public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] portage idea - auto embed user patches
@ 2006-12-21 14:32 Alexander Zubkov
  2006-12-21 14:41 ` Yuri Vasilevski
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Alexander Zubkov @ 2006-12-21 14:32 UTC (permalink / raw
  To: gentoo-dev

Hi!
I have some idea on extending portage building system (ebuild?).
Sometimes I'm (for example) want to apply custom patch to some package.
This patch can do something unusual, that can not be accepted by
maintainers and I know this. But I like features in my patch and want it
to apply automatically when updating the package. Not to do it like this:
$ ebuild /usr/portage/pkg-categoty/some-package/some-package-1.0 unpack
$ cd /var/tmp/portage/pkg-categoty/some-package/work/...
$ patch -p1 < ~/my-patch-for-some-package
$ cd
$ ebuild /usr/portage/pkg-categoty/some-package/some-package-1.0 merge

It is lot of manual work. The idea is having an file, for example
/etc/portage/package.patch with contents like this:
=pkg-category/some-package-1*      /path/to/my-patch-for-some-package

Of course, patches could fail in newer versions. But when I'll use that
feature - I'll understand why it can be and it'll be more convenient to
maintain it.

-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2006-12-27 21:15 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-21 14:32 [gentoo-dev] portage idea - auto embed user patches Alexander Zubkov
2006-12-21 14:41 ` Yuri Vasilevski
2006-12-21 15:12   ` Alexander Zubkov
2006-12-21 15:30     ` Alec Warner
2006-12-22  2:34       ` [gentoo-dev] " Steve Long
2006-12-22  3:47         ` Steev Klimaszewski
2006-12-23 18:18           ` Edward Catmur
2006-12-27 21:13             ` [gentoo-dev] " Steve Long
2006-12-21 14:50 ` [gentoo-dev] " Raymond Lewis Rebbeck
2006-12-21 15:03   ` Alexander Zubkov
2006-12-21 14:58 ` Timothy Redaelli
2006-12-21 16:01   ` Alexander Zubkov
2006-12-21 18:59 ` Bo Ørsted Andresen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox