* [9fans] cleaning up gentoo plan9port ebuild [not found] <mailman.10536.1267643675.1513.9fans@9fans.net> @ 2010-03-03 20:22 ` EBo 2010-03-03 20:59 ` Jacob Todd ` (2 more replies) 0 siblings, 3 replies; 8+ messages in thread From: EBo @ 2010-03-03 20:22 UTC (permalink / raw) To: 9fans While working on merging and cleaning up the 3 or 4 different portage ebuild trees for plan9 and plan9port I ran into a number of things which I need clarified: * Gentoo's plan9port report's the license as MIT, yet the LICENSE file says it is Lucent-1.02. Which is correct? * Gentoo's plan9port also sets DEPEND="x11-apps/xauth". Is xauth a build or runtime dependency? * Am I correct in my understanding that the only two things that the install configuration ("${PLAN9}/INSTALL -c") do is change the hardwired /usr/local/plan9 paths, and build the documentation in $PLAN9/dist? * I've built an updated live ebuild which works directly from the plan9port mercurial tree. Is there enough interest to request that this be added to gentoo portage? Thanks EBo -- ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [9fans] cleaning up gentoo plan9port ebuild 2010-03-03 20:22 ` [9fans] cleaning up gentoo plan9port ebuild EBo @ 2010-03-03 20:59 ` Jacob Todd 2010-03-04 17:39 ` Balwinder S Dheeman 2010-03-05 2:42 ` Andy Spencer 2 siblings, 0 replies; 8+ messages in thread From: Jacob Todd @ 2010-03-03 20:59 UTC (permalink / raw) To: 9fans [-- Attachment #1: Type: text/plain, Size: 499 bytes --] On Wed, Mar 03, 2010 at 01:22:00PM -0700, EBo wrote: > While working on merging and cleaning up the 3 or 4 different portage ebuild > trees for plan9 and plan9port I ran into a number of things which I need > clarified: > > * Gentoo's plan9port report's the license as MIT, yet the LICENSE file says it > is Lucent-1.02. Which is correct? As p9p uses a lot of code from Plan 9, I would suspect that the correct license is Lucent-whatever. -- I am a man who does not exist for others. [-- Attachment #2: Type: application/pgp-signature, Size: 205 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [9fans] cleaning up gentoo plan9port ebuild 2010-03-03 20:22 ` [9fans] cleaning up gentoo plan9port ebuild EBo 2010-03-03 20:59 ` Jacob Todd @ 2010-03-04 17:39 ` Balwinder S Dheeman 2010-03-05 2:42 ` Andy Spencer 2 siblings, 0 replies; 8+ messages in thread From: Balwinder S Dheeman @ 2010-03-04 17:39 UTC (permalink / raw) To: 9fans On 03/04/2010 01:55 AM, EBo wrote: > While working on merging and cleaning up the 3 or 4 different portage ebuild > trees for plan9 and plan9port I ran into a number of things which I need > clarified: > > * Gentoo's plan9port report's the license as MIT, yet the LICENSE file says it > is Lucent-1.02. Which is correct? > > * Gentoo's plan9port also sets DEPEND="x11-apps/xauth". Is xauth a build or > runtime dependency? > > * Am I correct in my understanding that the only two things that the install > configuration ("${PLAN9}/INSTALL -c") do is change the hardwired > /usr/local/plan9 paths, and build the documentation in $PLAN9/dist? > > * I've built an updated live ebuild which works directly from the plan9port > mercurial tree. Is there enough interest to request that this be added to > gentoo portage? I added http://aur.archlinux.org/packages/plan9us-hg/plan9us-hg/README.too to an AUR http://aur.archlinux.org/packages.php?ID=32983 for ArchLinux, we build from mercurial repo. How about adding a slightly re-phrased REAME.too as follows: "The bulk of this software is derived from Plan 9 and is thus distributed under the Lucent Public License, Version 1.02, reproduced below. There are a few exceptions: libutf, libfmt, and libregexp are distributed under simpler BSD-like boilerplates. See the LICENSE files in those directories. There are other exceptions, also marked with LICENSE files in their directories or marked at the top of the file. The bitmap fonts in the font/luc, font/lucm, font/lucsans, and font/pelm directory are copyright B&H Inc. and distributed under more restricted terms under agreement with B&H. See the NOTICE file in those directories. Most of the COPYRIGHT, LICENSE, NOTICE and, or README informative files are installed, but in /usr/local/plan9/unix or $PLAN9/unix directory." -- Balwinder S "bdheeman" Dheeman Registered Linux User: #229709 Anu'z Linux@HOME (Unix Shoppe) Machines: #168573, 170593, 259192 Chandigarh, UT, 160062, India Plan9, T2, Arch/Debian/FreeBSD/XP Home: http://werc.homelinux.net/ Visit: http://counter.li.org/ ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [9fans] cleaning up gentoo plan9port ebuild 2010-03-03 20:22 ` [9fans] cleaning up gentoo plan9port ebuild EBo 2010-03-03 20:59 ` Jacob Todd 2010-03-04 17:39 ` Balwinder S Dheeman @ 2010-03-05 2:42 ` Andy Spencer 2010-03-05 2:53 ` erik quanstrom 2010-03-05 13:00 ` EBo 2 siblings, 2 replies; 8+ messages in thread From: Andy Spencer @ 2010-03-05 2:42 UTC (permalink / raw) To: ebo, Fans of the OS Plan 9 from Bell Labs [-- Attachment #1: Type: text/plain, Size: 758 bytes --] > * Gentoo's plan9port also sets DEPEND="x11-apps/xauth". Is xauth a > build or runtime dependency? I think it would be a runtime dependency, xauth pulls in all the X11 libraries so you can X forward the GUIs from a headless machine. On the other hand, most of my binaries seem to be statically linked, so I'm not sure. > * I've built an updated live ebuild which works directly from the > plan9port mercurial tree. Is there enough interest to request that > this be added to gentoo portage? I would like a live ebuild in portage, or at least an updated version of the tree. I have a live ebuild that I wrote a while back already, but it has a few bugs. There's a related gentoo bug: http://bugs.gentoo.org/show_bug.cgi?id=273890 [-- Attachment #2: Type: application/pgp-signature, Size: 205 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [9fans] cleaning up gentoo plan9port ebuild 2010-03-05 2:42 ` Andy Spencer @ 2010-03-05 2:53 ` erik quanstrom 2010-03-05 13:00 ` EBo 1 sibling, 0 replies; 8+ messages in thread From: erik quanstrom @ 2010-03-05 2:53 UTC (permalink / raw) To: 9fans > > * Gentoo's plan9port also sets DEPEND="x11-apps/xauth". Is xauth a > > build or runtime dependency? > > I think it would be a runtime dependency, xauth pulls in all the X11 > libraries so you can X forward the GUIs from a headless machine. On the > other hand, most of my binaries seem to be statically linked, so I'm not > sure. i think it's neither. xauth is an application. and the x libraries are not staticly linked: ; ldd sam linux-vdso.so.1 => (0x00007fff9d4a3000) libm.so.6 => /lib/libm.so.6 (0x00007ff821485000) libutil.so.1 => /lib/libutil.so.1 (0x00007ff821282000) libpthread.so.0 => /lib/libpthread.so.0 (0x00007ff821067000) libc.so.6 => /lib/libc.so.6 (0x00007ff820d18000) /lib64/ld-linux-x86-64.so.2 (0x00007ff821706000) - erik ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [9fans] cleaning up gentoo plan9port ebuild 2010-03-05 2:42 ` Andy Spencer 2010-03-05 2:53 ` erik quanstrom @ 2010-03-05 13:00 ` EBo 2010-03-05 13:30 ` EBo 1 sibling, 1 reply; 8+ messages in thread From: EBo @ 2010-03-05 13:00 UTC (permalink / raw) To: Andy Spencer, ebo, Fans of the OS Plan 9 from Bell Labs Andy Spencer <andy753421@gmail.com> said: > I think it would be a runtime dependency, xauth pulls in all the X11 > libraries so you can X forward the GUIs from a headless machine. On the > other hand, most of my binaries seem to be statically linked, so I'm not > sure. I had fixed it as: DEPEND="x11-apps/xauth" RDEPEND="${DEPEND}" which appeased the reviewers, and seems to be the proper fix. > I would like a live ebuild in portage, or at least an updated version of > the tree. I have a live ebuild that I wrote a while back already, but it > has a few bugs. There's a related gentoo bug: > > http://bugs.gentoo.org/show_bug.cgi?id=273890 Your ebuild is the one I started from. Thanks! While they had me tweak a bunch of stuff to pass Sunrise review, the only real problem is that plan9port.tgz is updated on a regular basis and the ebuild expects any source to be static and pass a MD5 check (IIRC) unless it is specifically set up for CVS, SVN, Mecurial, etc. This caused the ebuild to fail its check the next time plan9port.tgz was updated. I've since rewritten it for mecurial. There is still an issue with the "mv * "${D}/${PLAN9}", but there are issues with using "doins -r" as it strips the executable bit off all files installed, and "dobin" sets everything to executable... I'll post a reply to bugs.gentoo and make a point to sent it to you when I finish the Sunrise review of my recent changes. EBo -- ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [9fans] cleaning up gentoo plan9port ebuild 2010-03-05 13:00 ` EBo @ 2010-03-05 13:30 ` EBo 2010-03-05 13:46 ` erik quanstrom 0 siblings, 1 reply; 8+ messages in thread From: EBo @ 2010-03-05 13:30 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs > > > * Gentoo's plan9port also sets DEPEND="x11-apps/xauth". Is xauth a > > > build or runtime dependency? > > ... > > i think it's neither. xauth is an application. and the x libraries are not > staticly linked: > ... OK. I dug a little deeper and found that rio uses x11-libs/libX11 and x11-libs/libXext as build dependencies. These I think are the correct ones to use and not xauth. This does raise the issue then if the gentoo ebuilds should conditionally use X and not build rio if you do not want rio on a non-gui system. That will of course be an issue for a program specific ebuild system and not for plan9port. EBo -- ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [9fans] cleaning up gentoo plan9port ebuild 2010-03-05 13:30 ` EBo @ 2010-03-05 13:46 ` erik quanstrom 0 siblings, 0 replies; 8+ messages in thread From: erik quanstrom @ 2010-03-05 13:46 UTC (permalink / raw) To: ebo, 9fans > OK. I dug a little deeper and found that rio uses x11-libs/libX11 and > x11-libs/libXext as build dependencies. These I think are the correct ones to > use and not xauth. This does raise the issue then if the gentoo ebuilds > should conditionally use X and not build rio if you do not want rio on a > non-gui system. That will of course be an issue for a program specific ebuild > system and not for plan9port. here's the full list of dynamic libraries used on a random gentoo box i tried: ; cd $PLAN9/bin ;>[2=]ldd `{file `{find .}|grep 'ELF.* shared'|sed 's/:.*//'}|grep -v :| sed 's/=>.*//'|grep -v /lib64/ld-linux-x86|sort|uniq libX11.so.6 libXau.so.6 libXdmcp.so.6 libXext.so.6 libc.so.6 libdl.so.2 libm.so.6 libpthread.so.0 libresolv.so.2 libutil.so.1 libxcb.so.1 linux-vdso.so.1 - erik ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-03-05 13:46 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <mailman.10536.1267643675.1513.9fans@9fans.net> 2010-03-03 20:22 ` [9fans] cleaning up gentoo plan9port ebuild EBo 2010-03-03 20:59 ` Jacob Todd 2010-03-04 17:39 ` Balwinder S Dheeman 2010-03-05 2:42 ` Andy Spencer 2010-03-05 2:53 ` erik quanstrom 2010-03-05 13:00 ` EBo 2010-03-05 13:30 ` EBo 2010-03-05 13:46 ` erik quanstrom
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).