Re: [gentoo-user] Re: Building and using binary packages with emerge/portage

2005-05-31 Thread Ow Mun Heng
On Mon, 2005-05-30 at 21:17 -0700, Zac Medico wrote: --- Ow Mun Heng [EMAIL PROTECTED] wrote: I'm sorry but I looked inside the content of a tbz2 file and didn't find that it has any references to the /var/db directory. The data not inside the tar archive. It's appended onto the end

Re: [gentoo-user] Re: Building and using binary packages with emerge/portage

2005-05-31 Thread Zac Medico
--- Ow Mun Heng [EMAIL PROTECTED] wrote: In This case, how would one determine what IUSE values were used for the package said package then? How can one use to view this data? #!/usr/bin/python import sys if len(sys.argv)!=2: print usage: %s tbz2 file % sys.argv[0]

Re: [gentoo-user] Re: Building and using binary packages with emerge/portage

2005-05-31 Thread Ow Mun Heng
On Mon, 2005-05-30 at 23:57 -0700, Zac Medico wrote: --- Ow Mun Heng [EMAIL PROTECTED] wrote: In This case, how would one determine what IUSE values were used for the package said package then? How can one use to view this data? #!/usr/bin/python import sys if len(sys.argv)!=2:

Re: [gentoo-user] Re: Building and using binary packages with emerge/portage

2005-05-31 Thread Zac Medico
--- Ow Mun Heng [EMAIL PROTECTED] wrote: answer the 2nd question I have regarding the + or - and whether the USE flag is in USE? This should do the trick: #!/usr/bin/python import sys if len(sys.argv)!=2: print usage: %s tbz2 file % sys.argv[0] sys.exit(1) sys.path =

Re: [gentoo-user] Re: Building and using binary packages with emerge/portage

2005-05-31 Thread Ow Mun Heng
On Tue, 2005-05-31 at 00:56 -0700, Zac Medico wrote: #!/usr/bin/python import sys if len(sys.argv)!=2: print usage: %s tbz2 file % sys.argv[0] sys.exit(1) sys.path = [/usr/lib/portage/pym]+sys.path import xpak mytbz2=xpak.tbz2(sys.argv[1]) myuse=mytbz2.getelements(USE)

Re: [gentoo-user] Re: Building and using binary packages with emerge/portage

2005-05-31 Thread Zac Medico
--- Ow Mun Heng [EMAIL PROTECTED] wrote: So if I understand it correctly, what is being done is XPAK will take the USE flags from the system which compiled the binary and then sort of make a comparison with the USE flags for that particular package and work from there? Am I right?

Re: [gentoo-user] Re: Building and using binary packages with emerge/portage

2005-05-31 Thread Ow Mun Heng
On Tue, 2005-05-31 at 02:33 -0700, Zac Medico wrote: --- Ow Mun Heng [EMAIL PROTECTED] wrote: So if I understand it correctly, what is being done is XPAK will take the USE flags from the system which compiled the binary and then sort of make a comparison with the USE flags for that

Re: [gentoo-user] Re: Building and using binary packages with emerge/portage

2005-05-31 Thread Zac Medico
--- Ow Mun Heng [EMAIL PROTECTED] wrote: Cool.. nice script by the way. I'm gonna include that in Edition 3 (July) of the MyOSS Magazine (http://mag.my-opensource.org) as Tips and Tricks. (crediting you of course) Oh it's really nothing. Glad I could help. ;-) Zac

Re: [gentoo-user] Re: Building and using binary packages with emerge/portage

2005-05-31 Thread Paul Varner
On Mon, 2005-05-30 at 21:35 -0700, Mark Knecht wrote: On 5/30/05, Ow Mun Heng [EMAIL PROTECTED] wrote: On Mon, 2005-05-30 at 10:13 -0700, Mark Knecht wrote: On 5/30/05, Ow Mun Heng [EMAIL PROTECTED] wrote: Someone correct me if I'm wrong, but I don't think those binary packages

Re: [gentoo-user] Re: Building and using binary packages with emerge/portage

2005-05-31 Thread Graham Murray
Paul Varner [EMAIL PROTECTED] writes: With the exception of openoffice-bin, when revdep-rebuild indicates that it wants to rebuild a -bin package it means that the ebuild is potentially missing dependencies. Also, I believe, opera. This has dependencies on a number of different version of a

[gentoo-user] Re: Building and using binary packages with emerge/portage

2005-05-30 Thread Calvin Spealman
This is a shame, for sure. Being able to build binary packages with portage, that can include such meta-information, would be a huge asset to using gentoo as a meta-distribution, as it is so often claimed to be. On 5/30/05, Ow Mun Heng [EMAIL PROTECTED] wrote: On Sun, 2005-05-29 at 18:01 -0500,

Re: [gentoo-user] Re: Building and using binary packages with emerge/portage

2005-05-30 Thread Mark Knecht
On 5/30/05, Ow Mun Heng [EMAIL PROTECTED] wrote: Someone correct me if I'm wrong, but I don't think those binary packages propagate into /var/db as well. (IF they do, I think they might not reflect the actual USE flags used to built the binary. This probably accounts for revdep-rebuild never

Re: [gentoo-user] Re: Building and using binary packages with emerge/portage

2005-05-30 Thread Ow Mun Heng
On Mon, 2005-05-30 at 10:13 -0700, Mark Knecht wrote: On 5/30/05, Ow Mun Heng [EMAIL PROTECTED] wrote: Someone correct me if I'm wrong, but I don't think those binary packages propagate into /var/db as well. (IF they do, I think they might not reflect the actual USE flags used to built

Re: [gentoo-user] Re: Building and using binary packages with emerge/portage

2005-05-30 Thread Ow Mun Heng
On Mon, 2005-05-30 at 13:34 -0700, Zac Medico wrote: --- Mark Knecht [EMAIL PROTECTED] wrote: On 5/30/05, Ow Mun Heng [EMAIL PROTECTED] wrote: Someone correct me if I'm wrong, but I don't think those binary packages propagate into /var/db as well. (IF they do, I think they might

Re: [gentoo-user] Re: Building and using binary packages with emerge/portage

2005-05-30 Thread Zac Medico
--- Ow Mun Heng [EMAIL PROTECTED] wrote: I'm sorry but I looked inside the content of a tbz2 file and didn't find that it has any references to the /var/db directory. The data not inside the tar archive. It's appended onto the end of the tbz2 file. You know it's there because if you unzip

Re: [gentoo-user] Re: Building and using binary packages with emerge/portage

2005-05-30 Thread Mark Knecht
On 5/30/05, Ow Mun Heng [EMAIL PROTECTED] wrote: On Mon, 2005-05-30 at 10:13 -0700, Mark Knecht wrote: On 5/30/05, Ow Mun Heng [EMAIL PROTECTED] wrote: Someone correct me if I'm wrong, but I don't think those binary packages propagate into /var/db as well. (IF they do, I think they