Re: [gentoo-dev] encode useflag

2005-05-15 Thread Daniel Goller
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Diego 'Flameeyes' Pettenò wrote:
| Another useflag-related question.
|
| Currently, the encode useflag is defined as follow:
|
| encode - Adds support for MEncoder or LaME encoder, wherever applicable
|
| this is a loose definition which is quite useless for medium user, as
it's
| used also in a non-complete-standard way in all ebuilds.
|
| My proposal is to start using lame useflag to enable lame support (in
software
| which is just encoding on itself), and using encode with a slight
different
| definition for example:
|
| encode - Adds support for encoding files in addiction to decoding
should this be ok'ed make sure to put addition, not addiction
|
| so that it can be used to enable generic encoding support instead of
specific
| using lame or mencoder.
|
| Comments?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFChuvPUpKYMelfdYERAm5XAJ0QKEhbGcBiPju0RWYoDDIeU4NNsQCfby8l
Hy1CnYNhXUTkeOT5t8ZoelE=
=wYmu
-END PGP SIGNATURE-
--
gentoo-dev@gentoo.org mailing list


Re: [gentoo-dev] Re: have_NPTL proposal/question

2005-05-15 Thread Graham Murray
R Hill [EMAIL PROTECTED] writes:

 the only thing i know of that needs LT is Xen, and they're already 
 working on NPTL support.

Also the (user space) driver from Epson for the Stylus Photo R800
printer needs Linuxthreads. While much of this is available in source
code form, it includes a couple of binary libraries. These do not work
correctly using NPTL. 
-- 
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] List of packages which 'inherit gcc'

2005-05-15 Thread Mike Frysinger
On Sunday 15 May 2005 04:54 pm, Danny van Dyk wrote:
 Please use toolchain-funcs.eclass where possible.

note that the only syntax change you need to make is:
gcc-getCC - tc-getCC
gcc-getCXX - tc-getCXX

otherwise toolchain-funcs should drop in nicely for gcc

 Also, Diego 
 (Flameeyes) asked me to remind the maintainers of those packages to make
 sure their routines work with gcc-4, too.
 (Things like [[ $(gcc-version) == 3.4 ]] should be changed to apply to
 gcc-4 as well, as that version is even more nitpicking than gcc-3.4)

even better, you should ask yourself why you need to check the gcc version and 
see if you cant make it make work properly regardless of the version
-mike
-- 
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] List of packages which 'inherit gcc'

2005-05-15 Thread Michael Cummings
Would have been nice to get this email before portage started griping a day or 
so ago.

On Sunday 15 May 2005 16:54, Danny van Dyk wrote:
 Hi all,

 grepped the tree tonight for ebuilds which inherit (deprecated)
 gcc.eclass. Attache is a list of packages that have at least one ebuild
 that matches ^inherit.*gcc.

 Please use toolchain-funcs.eclass where possible. Also, Diego
 (Flameeyes) asked me to remind the maintainers of those packages to make
 sure their routines work with gcc-4, too.
 (Things like [[ $(gcc-version) == 3.4 ]] should be changed to apply to
 gcc-4 as well, as that version is even more nitpicking than gcc-3.4)

 Here we go:

 app-admin/socklog
 app-admin/sus
 app-arch/arc
 app-arch/arj
 app-arch/gzip-x86
 app-arch/pbzip2
 app-arch/rpm2targz
 app-benchmarks/lmbench
 app-cdr/arson
 app-cdr/b5i2iso
 app-cdr/bchunk
 app-cdr/cdemu
 app-cdr/cdrdao
 app-cdr/cdrtools
 app-cdr/dvdrtools
 app-cdr/mdf2iso
 app-crypt/cli-crypt
 app-editors/nedit
 app-emacs/mpg123-el
 app-emulation/tiger
 app-emulation/vmware-workstation
 app-emulation/xtrs
 app-i18n/dbskkd-cdb
 app-i18n/jmcce
 app-i18n/kcc
 app-misc/emelfm
 app-misc/mmv
 app-misc/pax-utils
 app-text/7plus
 app-text/ghostscript
 app-text/html2text
 app-text/recode
 app-text/unix2dos
 app-text/vlna
 dev-cpp/gnomemm
 dev-db/cdb
 dev-db/mysql++
 dev-dotnet/mono
 dev-embedded/gpsim
 dev-embedded/picasm
 dev-games/hawknl
 dev-java/blackdown-jdk
 dev-java/blackdown-jre
 dev-lang/erlang
 dev-lang/gnu-smalltalk
 dev-lang/perl
 dev-lang/pm3
 dev-lang/tolua
 dev-libs/DirectFB
 dev-libs/bglibs
 dev-libs/dietlibc
 dev-libs/djb
 dev-libs/libmoe
 dev-libs/openssl
 dev-libs/xalan-c
 dev-lisp/clisp
 dev-tex/cjk-latex
 dev-tex/csindex
 dev-util/efence
 dev-util/lincvs
 dev-util/webcpp
 games-action/atanks
 games-action/glaxium
 games-action/poopmup
 games-action/xshipwars
 games-arcade/gunocide2ex
 games-arcade/tuxracer
 games-emulation/fbzx
 games-emulation/fceultra
 games-emulation/generator
 games-emulation/mupen64
 games-emulation/xmame
 games-emulation/xmess
 games-fps/anaglyph-stereo-quake
 games-fps/prboom
 games-fps/quake1
 games-fps/quake2-icculus
 games-fps/ttyquake
 games-kids/gtans
 games-misc/wumpus
 games-mud/powwow
 games-puzzle/quadra
 games-roguelike/moria
 games-roguelike/nethack
 games-rpg/egoboo
 games-rpg/freedroid
 games-server/halflife-metamod
 games-server/tetrix
 games-simulation/pmars-sdl
 games-sports/race
 games-strategy/wesnoth
 gnome-base/gnome-vfs
 gnome-extra/drwright
 gnome-extra/guppi
 mail-client/mozilla-thunderbird
 mail-filter/qmail-scanner
 mail-mta/mini-qmail
 media-fonts/pcf2bdf
 media-gfx/duhdraw
 media-gfx/fbi
 media-gfx/gimageview
 media-gfx/transfig
 media-gfx/w3mimgfb
 media-gfx/yafray
 media-libs/flac
 media-libs/libemf
 media-libs/libfame
 media-libs/libmatroska
 media-libs/libmpeg3
 media-libs/libpng
 media-libs/libvorbis
 media-libs/netpbm
 media-libs/quicktime4linux
 media-libs/smpeg
 media-libs/vflib
 media-libs/xine-lib
 media-plugins/mythmusic
 media-plugins/rmxmms
 media-sound/lame
 media-sound/mup
 media-sound/museseq
 media-sound/vorbis-tools
 media-video/asfrecorder
 media-video/cinelerra
 media-video/cinelerra-cvs
 media-video/dvdbackup
 media-video/ffmpeg
 media-video/goggles
 media-video/kdenlive
 media-video/lve
 media-video/mjpegtools
 media-video/mpgtx
 media-video/piave
 media-video/transcode
 media-video/vlc
 media-video/xanim
 media-video/xmovie
 net-analyzer/bigeye
 net-analyzer/ethereal
 net-analyzer/gnu-netcat
 net-analyzer/nmap
 net-analyzer/nttcp
 net-analyzer/sonar
 net-analyzer/tcpdump
 net-analyzer/traceroute-nanog
 net-analyzer/ttcp
 net-fs/openafs
 net-im/bitlbee
 net-im/gabber
 net-im/gaim
 net-irc/irssistats
 net-libs/cvm
 net-libs/gecko-sdk
 net-libs/libesmtp
 net-libs/liblockfile
 net-mail/checkpassword
 net-mail/checkpw
 net-mail/cmd5checkpw
 net-mail/cvm-vmailmgr
 net-mail/dot-forward
 net-mail/ezmlm
 net-mail/mailfront
 net-mail/mailwrapper
 net-mail/poppassd_pam
 net-mail/qlogtools
 net-mail/queue-fix
 net-mail/relay-ctrl
 net-mail/vmailmgr
 net-misc/dante
 net-misc/datapipe
 net-misc/etherwake
 net-misc/ifenslave
 net-misc/mknbi
 net-misc/tightvnc
 net-misc/udhcp
 net-p2p/dclib
 net-print/poster
 sci-geosciences/gempak
 sys-apps/gradm
 sys-apps/hdparm
 sys-apps/iproute2
 sys-apps/memtester
 sys-boot/grub
 sys-boot/syslinux
 sys-devel/bison
 sys-devel/distcc
 sys-kernel/gentoo-sources
 sys-libs/glibc
 sys-libs/libtrash
 sys-libs/pam
 sys-libs/pam_ssh_agent
 sys-libs/uclibc
 www-client/mozilla
 www-client/mozilla-firefox
 x11-misc/fbdesk
 x11-plugins/wmtz


 --
 Danny van Dyk [EMAIL PROTECTED]
 Gentoo/AMD64 Project, Gentoo Scientific Project

-- 
-o()o-
Michael Cummings   |#gentoo-dev, #gentoo-perl
Gentoo Perl Dev|on irc.freenode.net 
-o()o-
-- 
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] List of packages which 'inherit gcc'

2005-05-15 Thread Mike Frysinger
On Sunday 15 May 2005 05:11 pm, Michael Cummings wrote:
 Would have been nice to get this email before portage started griping a day
 or so ago.

portage isnt griping, gcc.eclass is because i put it there

besides, i didnt use caps and i said 'Please', so it's just a friendly 
notice !
-mike
-- 
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] i have an idea ! (erescue)

2005-05-15 Thread Carlos Silva
On Sun, 2005-05-15 at 17:18 -0400, Mike Frysinger wrote:
 one advantage that other binary based package managers have over Gentoo is 
 ease of recovery from broken core packages ... break your gcc ?  no problem ! 
  
 simply do `apt-get install gcc` or `rpm -i gcc` or whatever
 
 my proposal is to implement a new utility (called 'erescue' for lack of a 
 better name) that is written in C and designed to be statically linked ... 
 then next time you break a core system package which cannot be recovered by 
 simply running `emerge` a few times, you run `erescue broken package`
 
 for example, when i broke binutils in unstable with a gcc4 patch, i noticed 
 that it's hard for users to *easily* recover from this ... we developers end 
 up scrambling to build a bunch of binary packages for a variety of compatible 
 compiler/libc combinations so the user can just wget the file and run `emerge 
 binutils.tbz2` and be on their way
 
 the packages that would be eligible for an 'erescue' package would be just 
 about everything when you do `USE=-* emerge system -ep` ... i'm sure we can 
 trim many of those out though :)  maybe even create a new USE flag for some 
 of these core packages so that we can trim out more files
 
 the idea would be to create very bare min packages so that the user can 
 simply 
 'rescue' themselves ... after that, they it's up to them to re-emerge the 
 package to apply all their fun ricer-optimizations as they see fit
 
 i dont think it'd be too hard to integrate this 'rescue set' into a catalyst 
 target so that it'll become part of our normal release schedule of stage 
 tarballs
 -mike

I like the ideia :)


signature.asc
Description: This is a digitally signed message part


Portage bitching out loud [Re: [gentoo-dev] List of packages which 'inherit gcc']

2005-05-15 Thread Tom Wesley
On Sun, 2005-05-15 at 17:21 -0400, Mike Frysinger wrote:
 On Sunday 15 May 2005 05:11 pm, Michael Cummings wrote:
  Would have been nice to get this email before portage started griping a day
  or so ago.
 
 portage isnt griping, gcc.eclass is because i put it there
 
 besides, i didnt use caps and i said 'Please', so it's just a friendly 
 notice !
 -mike

Can portage moaning about various validation that end users don't care
about be made a FEATURE?  I hate upgrading package-x and the guy
standing over my shoulder seeing Invalid blah blah.

-- 
Tom Wesley [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] i have an idea ! (erescue)

2005-05-15 Thread Krzysiek Pawlik
Mike Frysinger wrote:
 [...]

Use `quickpkg` before dangerous updates/merges. If something brakes -
untar the package.

-- 
Krzysiek 'Nelchael' Pawlik RLU #322999[EMAIL PROTECTED]
gentoo base system - kernel 2.6.11-ck8   GPG:0x7E226904
http://fatcat.ftj.agh.edu.pl/~nelchael/
Never forget: 2 + 2 = 5 for extremely large values of 2.
-- 
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] List of packages which 'inherit gcc'

2005-05-15 Thread Michael Cummings
Thanks! Just the cue I needed :)

On Sunday 15 May 2005 17:03, Mike Frysinger wrote:
 On Sunday 15 May 2005 04:54 pm, Danny van Dyk wrote:
  Please use toolchain-funcs.eclass where possible.

 note that the only syntax change you need to make is:
 gcc-getCC - tc-getCC
 gcc-getCXX - tc-getCXX

 otherwise toolchain-funcs should drop in nicely for gcc

-- 
-o()o-
Michael Cummings   |#gentoo-dev, #gentoo-perl
Gentoo Perl Dev|on irc.freenode.net 
-o()o-
-- 
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] List of packages which 'inherit gcc'

2005-05-15 Thread Jason Wever
On Sun, 15 May 2005 22:54:20 +0200
Danny van Dyk [EMAIL PROTECTED] wrote:

 net-im/bitlbee

Fixed.

Cheers,
-- 
Jason Wever
Gentoo/Sparc Team Co-Lead


pgpcThbNhS88K.pgp
Description: PGP signature


Re: [gentoo-dev] i have an idea ! (erescue)

2005-05-15 Thread Donnie Berkholz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Krzysiek Pawlik wrote:
 Use `quickpkg` before dangerous updates/merges. If something brakes -
 untar the package.

Doesn't work too well when tar's broken too. =)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCh84IXVaO67S1rtsRAibiAKD6i0twE/06iCEqe+uiHa8ht3tUVQCgoYTo
A+8VR9nD42r+NlH3M4tVFUE=
=+Fva
-END PGP SIGNATURE-
-- 
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] List of packages which 'inherit gcc'

2005-05-15 Thread Danny van Dyk
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Daniel Drake schrieb:
sys-kernel/gentoo-sources
 I don't see any gentoo-sources ebuilds using this. Can you please re-check?
Ok, i seem to have used the wrong tree (a bit outdated CVS instead
livetree, sorry). Here is a new list which still consists of 161 items
and should be uptodate:

app-admin/socklog
app-admin/sus
app-arch/arc
app-arch/arj
app-arch/gzip-x86
app-arch/pbzip2
app-arch/rpm2targz
app-benchmarks/lmbench
app-cdr/arson
app-cdr/b5i2iso
app-cdr/bchunk
app-cdr/cdemu
app-cdr/cdrdao
app-cdr/cdrtools
app-cdr/dvdrtools
app-cdr/mdf2iso
app-crypt/cli-crypt
app-editors/nedit
app-emacs/mpg123-el
app-emulation/tiger
app-emulation/vmware-workstation
app-emulation/xtrs
app-i18n/dbskkd-cdb
app-i18n/jmcce
app-i18n/kcc
app-misc/emelfm
app-misc/mmv
app-misc/pax-utils
app-text/7plus
app-text/ghostscript
app-text/html2text
app-text/recode
app-text/unix2dos
app-text/vlna
dev-cpp/gnomemm
dev-db/cdb
dev-db/mysql++
dev-embedded/gpsim
dev-embedded/picasm
dev-games/hawknl
dev-java/blackdown-jdk
dev-java/blackdown-jre
dev-lang/erlang
dev-lang/gnu-smalltalk
dev-lang/perl
dev-lang/pm3
dev-lang/tolua
dev-libs/DirectFB
dev-libs/bglibs
dev-libs/dietlibc
dev-libs/djb
dev-libs/libmoe
dev-libs/xalan-c
dev-lisp/clisp
dev-tex/cjk-latex
dev-tex/csindex
dev-util/lincvs
dev-util/webcpp
games-action/atanks
games-action/glaxium
games-action/poopmup
games-arcade/gunocide2ex
games-emulation/fbzx
games-emulation/fceultra
games-emulation/generator
games-emulation/mupen64
games-emulation/mupen64-jttl_sound
games-emulation/mupen64-riceplugin
games-emulation/xmame
games-emulation/xmess
games-fps/prboom
games-fps/quake1
games-fps/ttyquake
games-kids/gtans
games-misc/wumpus
games-mud/powwow
games-puzzle/quadra
games-roguelike/moria
games-roguelike/nethack
games-rpg/egoboo
games-rpg/freedroid
games-server/tetrix
games-simulation/pmars-sdl
games-sports/race
games-strategy/wesnoth
gnome-base/gnome-vfs
gnome-extra/drwright
gnome-extra/guppi
mail-client/mozilla-thunderbird
mail-filter/qmail-scanner
mail-mta/mini-qmail
media-fonts/pcf2bdf
media-gfx/duhdraw
media-gfx/fbi
media-gfx/gimageview
media-gfx/transfig
media-gfx/w3mimgfb
media-gfx/yafray
media-libs/libemf
media-libs/netpbm
media-libs/vflib
media-plugins/mythmusic
media-video/cinelerra
net-analyzer/bigeye
net-analyzer/gnu-netcat
net-analyzer/nmap
net-analyzer/nttcp
net-analyzer/sonar
net-analyzer/tcpdump
net-analyzer/traceroute-nanog
net-analyzer/ttcp
net-fs/openafs
net-im/bitlbee
net-im/gabber
net-im/gaim
net-irc/irssistats
net-libs/cvm
net-libs/gecko-sdk
net-libs/libesmtp
net-libs/liblockfile
net-mail/checkpassword
net-mail/checkpw
net-mail/cmd5checkpw
net-mail/cvm-vmailmgr
net-mail/dot-forward
net-mail/ezmlm
net-mail/mailfront
net-mail/mailwrapper
net-mail/qlogtools
net-mail/queue-fix
net-mail/relay-ctrl
net-mail/vmailmgr
net-misc/br2684ctl
net-misc/datapipe
net-misc/etherwake
net-misc/ifenslave
net-misc/mknbi
net-misc/tightvnc
net-misc/udhcp
net-p2p/dclib
net-print/poster
net-proxy/dante
sys-apps/gradm
sys-apps/hdparm
sys-apps/iproute2
sys-apps/memtester
sys-block/buffer
sys-boot/grub
sys-boot/syslinux
sys-devel/bison
sys-devel/distcc
sys-libs/libtrash
sys-libs/pam
sys-libs/pam_ssh_agent
sys-process/runit
www-client/mozilla
www-client/mozilla-firefox
x11-misc/fbdesk
x11-plugins/wmtz

Danny
- --
Danny van Dyk [EMAIL PROTECTED]
Gentoo/AMD64 Project, Gentoo Scientific Project
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCh9BzaVNL8NrtU6IRAneLAJ4pW3WvO2S6QZkdS06Wra1pXtjCFwCgi8ny
t8ZmmqQDNLafZu1uQohDC0E=
=5PBN
-END PGP SIGNATURE-
-- 
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] i have an idea ! (erescue)

2005-05-15 Thread Krzysiek Pawlik
Donnie Berkholz wrote:
 Use `quickpkg` before dangerous updates/merges. If something brakes -
 untar the package.
 
 Doesn't work too well when tar's broken too. =)

Use static tar na bzip2 ;) Seriously: I'm for erescue (or whatever name
will be chosen).

-- 
Krzysiek 'Nelchael' Pawlik RLU #322999[EMAIL PROTECTED]
gentoo base system - kernel 2.6.11-ck8   GPG:0x7E226904
http://fatcat.ftj.agh.edu.pl/~nelchael/
According to my calculations the problem doesn't exist.
-- 
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] List of packages which 'inherit gcc'

2005-05-15 Thread Diego 'Flameeyes' Petten
On Monday 16 May 2005 00:42, Danny van Dyk wrote:
 media-video/cinelerra
I've specifically ignored this package as it needs to go away very soon. It's 
p.masked, also.

-- 
Diego Flameeyes Pettenò
Gentoo Developer (Gentoo/FreeBSD, Video, Gentoo/AMD64)

http://dev.gentoo.org/~flameeyes/



pgpRtjuf0IT0d.pgp
Description: PGP signature


Re: [gentoo-dev] List of packages which 'inherit gcc'

2005-05-15 Thread Lance Albertson
On Mon, 2005-05-16 at 00:42 +0200, Danny van Dyk wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Daniel Drake schrieb:
 sys-kernel/gentoo-sources
  I don't see any gentoo-sources ebuilds using this. Can you please re-check?
 Ok, i seem to have used the wrong tree (a bit outdated CVS instead
 livetree, sorry). Here is a new list which still consists of 161 items
 and should be uptodate:

Probably best to make a bug to track this instead of tracking it on a
ML :)

Cheers,

-- 
Lance Albertson [EMAIL PROTECTED]
Gentoo Infrastructure | Operations Manager

---
Public GPG key:  http://www.ramereth.net/lance.asc
Key fingerprint: 0423 92F3 544A 1282 5AB1  4D07 416F A15D 27F4 B742

ramereth/irc.freenode.net


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] i have an idea ! (erescue)

2005-05-15 Thread Sami Samhuri
* On Sun May-15-2005 at 04:48:04 PM -0600, Ryan said:
[...]
 something, then its your fault for not having a backup.  Of coarse this
 is just ONE way to backup. There are a bazillion ways to do it.  The
 choice is up to you.  Besides, if you are running the unstable branch

And if Gentoo provides yet another choice for one to use in recovery
then that sounds good to me. :)

-- 
Sami Samhuri


pgpuMMGhtbdVw.pgp
Description: PGP signature


Re: [gentoo-dev] i have an idea ! (erescue)

2005-05-15 Thread david stanek
On Sun, May 15, 2005 at 03:32:40PM -0700, Donnie Berkholz wrote:

 Krzysiek Pawlik wrote:
  Use `quickpkg` before dangerous updates/merges. If something brakes -
  untar the package.
 
 Doesn't work too well when tar's broken too. =)

How about statically linking a version of tar with portage. This way
tar cannot be broken. Add an option to emerge, --backup or something
similar, that will automatically run quickpkg. Then make a erescue
executable that can parse the command line to figure out which
package the user wants to be rescued from, and execute the new tar
command.

-- 
David Stanek
www.roninds.net

GPG keyID #6272EDAF on http://pgp.mit.edu
Key fingerprint = 8BAA 7E11 8856 E148 6833  655A 92E2 3E00 6272 EDAF


pgpQUoBThCuhI.pgp
Description: PGP signature


Re: [gentoo-dev] List of packages which 'inherit gcc'

2005-05-15 Thread Danny van Dyk
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Lance Albertson schrieb:
 Probably best to make a bug to track this instead of tracking it on a
 ML :)
Jupp. See BUG #92745 ;-)

Danny
- --
Danny van Dyk [EMAIL PROTECTED]
Gentoo/AMD64 Project, Gentoo Scientific Project
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCh+oTaVNL8NrtU6IRAi59AJ95sxNQ8Az1ePykT9OyQpkijNeMmwCghgh0
IMTq+gFZaUTvyI4nouSVKMk=
=IJCt
-END PGP SIGNATURE-
-- 
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] i have an idea ! (erescue)

2005-05-15 Thread John Myers
On Sunday 15 May 2005 16:41, david stanek wrote:
 Add an option to emerge, --backup or something
 similar, that will automatically run quickpkg.

If you set FEATURES=buildpkg, portage automatically makes binary packages 
for you. No need to add new support.


pgpqwMjzk44tL.pgp
Description: PGP signature


Re: [gentoo-dev] i have an idea ! (erescue)

2005-05-15 Thread David Stanek
On Sun, May 15, 2005 at 06:12:13PM -0700, John Myers wrote:
 On Sunday 15 May 2005 16:41, david stanek wrote:
  Add an option to emerge, --backup or something
  similar, that will automatically run quickpkg.
 
 If you set FEATURES=buildpkg, portage automatically makes binary packages 
 for you. No need to add new support.

That would build a binary package for the potentially broken
package. What it would need to do is build a binary package of the
existing merged package. So a user can recover from a botched
upgrade.

-- 
David Stanek
www.roninds.net

GPG keyID #6272EDAF on http://pgp.mit.edu
Key fingerprint = 8BAA 7E11 8856 E148 6833  655A 92E2 3E00 6272 EDAF


pgpXNiuhdlWu3.pgp
Description: PGP signature


Re: [gentoo-dev] i have an idea ! (erescue)

2005-05-15 Thread David Stanek
On Sun, May 15, 2005 at 09:56:54PM -0400, David Stanek wrote:
 On Sun, May 15, 2005 at 06:12:13PM -0700, John Myers wrote:
  On Sunday 15 May 2005 16:41, david stanek wrote:
   Add an option to emerge, --backup or something
   similar, that will automatically run quickpkg.
  
  If you set FEATURES=buildpkg, portage automatically makes binary packages 
  for you. No need to add new support.
 
 That would build a binary package for the potentially broken
 package. What it would need to do is build a binary package of the
 existing merged package. So a user can recover from a botched
 upgrade.

Actually a very simple safe-emerge script can be easily written. It
could first do an 'emerge --buildpkg' on the existing merged package,
if that package was already merged.

The other part would be to create a statically linked version of tar
that can be used in a recovery situation.

-- 
David Stanek
www.roninds.net

GPG keyID #6272EDAF on http://pgp.mit.edu
Key fingerprint = 8BAA 7E11 8856 E148 6833  655A 92E2 3E00 6272 EDAF


pgpvGsYgziGCW.pgp
Description: PGP signature


Re: [gentoo-dev] i have an idea ! (erescue)

2005-05-15 Thread David Stanek
On Sun, May 15, 2005 at 09:07:15PM -0700, Sami Samhuri wrote:
 * On Sun May-15-2005 at 05:18:06 PM -0400, Mike Frysinger said:
 [...]
  my proposal is to implement a new utility (called 'erescue' for lack of a 
  better name) that is written in C and designed to be statically linked ... 
  then next time you break a core system package which cannot be recovered by 
  simply running `emerge` a few times, you run `erescue broken package`
 
 Everyone who is saying that Portage can already sort of handle this
 seems to be missing one important point. If Python is broken then emerge
 won't work. The proposed erescue would still work in that case.

If erescue is a statically built binary that basically untars a
backed up copy of a package, why would it depend on Python?


-- 
David Stanek
www.roninds.net

GPG keyID #6272EDAF on http://pgp.mit.edu
Key fingerprint = 8BAA 7E11 8856 E148 6833  655A 92E2 3E00 6272 EDAF


pgpxBL8wrNK4r.pgp
Description: PGP signature