Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293532 - Prefix to gx86: Perl
Summary: Prefix to gx86: Perl
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-17 19:20 UTC by Fabian Groffen
Modified: 2009-11-26 21:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Groffen gentoo-dev 2009-11-17 19:20:49 UTC
The packages in dev-perl and perl-core are mostly maintained by the perl herd.  Exceptions are two packages which we have in the Prefix tree:
  dev-perl/Algorithm-Diff (sci herd)
  dev-perl/MP3-Tag (sound herd)

Perl packages in general depend a lot internally to dev-perl or perl-core packages.  All dependencies outside these two categories and the perl-virtuals are:
  app-arch/bzip2
  app-arch/unzip
  app-i18n/kakasi
  app-text/aspell
  app-text/gtkspell
  dev-lang/perl
  dev-lang/ruby
  dev-libs/expat
  dev-libs/glib
  dev-libs/libxml2
  dev-libs/libxslt
  dev-libs/openssl
  dev-libs/syck
  gnome-base/gnome-vfs
  mail-filter/libspf2
  media-libs/flac
  media-libs/freetype
  media-libs/jpeg
  media-libs/libpng
  net-dns/libidn
  sci-mathematics/pari
  sys-apps/sed
  sys-devel/gettext
  sys-libs/db
  sys-libs/zlib
  virtual/libc
  virtual/mysql
  x11-libs/cairo
  x11-libs/gtk+
  x11-libs/libX11
  x11-libs/libXext
  x11-libs/libXft
  x11-libs/libXrender
  x11-libs/pango

Some of these involve a lot of dependencies as well.
Comment 1 Fabian Groffen gentoo-dev 2009-11-18 11:19:50 UTC
the differences of dev-perl ebuilds excluding unimportant ones and KEYWORDS with those grom gx86: (I just removed all old ebuilds from the prefix tree and fixed some minor diffs)

$ for e in */*.ebuild ; do if [[ ! -f /nfs/ra/export/gentoo/rsync-tree/dev-pe
rl/${e} ]] ; then echo "not in gx86: ${e}" ; continue ; fi ; diff -U0 -I "^KEYWORDS=" -I "^# Copyright" -I '^# $Header:' "${e}" rsync-tree/dev-perl/${e} ; done

--- Crypt-SSLeay/Crypt-SSLeay-0.57.ebuild       2009-09-25 20:32:17 +0200
+++ rsync-tree/dev-perl/Crypt-SSLeay/Crypt-SSLeay-0.57.ebuild     2009-09-23 19:35:31 +0200
@@ -26 +26 @@
-myconf="${myconf} --lib=${EPREFIX}/usr ${EPREFIX}/usr"
+myconf="${myconf} /usr"

--- DBD-Pg/DBD-Pg-2.15.1.ebuild 2009-10-20 21:18:37 +0200
+++ rsync-tree/dev-perl/DBD-Pg/DBD-Pg-2.15.1.ebuild      2009-10-16 16:35:34 +0200
@@ -28 +28 @@
-       postgres_include="$(readlink -f ${EPREFIX}/usr/include/postgresql)"
+       postgres_include="$(readlink -f /usr/include/postgresql)"

not in gx86: Mac-Pasteboard/Mac-Pasteboard-0.002.ebuild

--- Net-DNS/Net-DNS-0.65.ebuild 2009-09-29 22:48:44 +0200
+++ rsync-tree/dev-perl/Net-DNS/Net-DNS-0.65.ebuild      2009-09-27 17:06:58 +0200
@@ -27 +26,0 @@
-PATCHES=( ${FILESDIR}/${PN}-0.64-ar.patch )

--- Net-SSLeay/Net-SSLeay-1.35.ebuild   2009-11-03 11:05:33 +0100
+++ rsync-tree/dev-perl/Net-SSLeay/Net-SSLeay-1.35.ebuild2009-03-21 03:09:30 +0100
@@ -25,3 +24,0 @@
-export OPENSSL_PREFIX=${EPREFIX}/usr
-
-myconf="${myconf} ${EPREFIX}/usr"

--- PortageXS/PortageXS-0.02.09.ebuild  2009-04-11 17:52:29 +0200
+++ rsync-tree/dev-perl/PortageXS/PortageXS-0.02.09.ebuild
        2009-01-19 13:06:32 +0100
@@ -5 +5 @@
-inherit perl-module eutils prefix
+inherit perl-module
@@ -24,8 +23,0 @@
-       epatch "${FILESDIR}"/${P}-prefix.patch
-       cd "${S}"
-       eprefixify \
-               lib/PortageXS/Core.pm \
-               lib/PortageXS.pm \
-               usr/bin/portagexs_client \
-               usr/sbin/portagexsd
-
@@ -43 +35 @@
-               cp -r "${S}"/usr "${ED}"
+               cp -r "${S}"/usr "${D}"
@@ -45 +37 @@
-       cp -r "${S}"/etc "${ED}"
+       cp -r "${S}"/etc "${D}"
--- PortageXS/PortageXS-0.02.10.ebuild  2009-10-29 18:03:58 +0100
+++ rsync-tree/dev-perl/PortageXS/PortageXS-0.02.10.ebuild    2009-04-15 21:07:08 +0200
@@ -5 +5 @@
-inherit perl-module eutils prefix
+inherit perl-module
@@ -24,8 +23,0 @@
-       cd "${S}"
-       epatch "${FILESDIR}"/${PN}-0.02.09-prefix.patch
-       eprefixify \
-               lib/PortageXS/Core.pm \
-               lib/PortageXS.pm \
-               usr/bin/portagexs_client \
-               usr/sbin/portagexsd
-
@@ -43 +35 @@
-               cp -r "${S}"/usr "${ED}"
+               cp -r "${S}"/usr "${D}"
@@ -45 +37 @@
-       cp -r "${S}"/etc "${ED}"
+       cp -r "${S}"/etc "${D}"
@@ -49 +41 @@
-       if [ -d "${EPREFIX}"/etc/portagexs ]; then
+       if [ -d /etc/portagexs ]; then

--- SGMLSpm/SGMLSpm-1.03-r5.ebuild      2009-04-11 17:52:29 +0200
+++ rsync-tree/dev-perl/SGMLSpm/SGMLSpm-1.03-r5.ebuild   2007-07-12 11:05:38 +0200
@@ -30 +30 @@
-       sed -i -e "s:SPECDIR = \${PERL5DIR}:SPECDIR = ${ED}/usr/share/SGMLS:" Makefile
+       sed -i -e "s:SPECDIR = \${PERL5DIR}:SPECDIR = ${D}/usr/share/SGMLS:" Makefile
@@ -33,6 +32,0 @@
-
-       sed -i \
-               -e "s:PERL = :PERL = ${EPREFIX}:" \
-               -e "s:PERL5DIR = \${D}:PERL5DIR = ${ED}:" \
-               -e "s:BINDIR = \${D}:BINDIR = ${ED}:" \
-               -e "s:HTMLDIR = \${D}:HTMLDIR = ${ED}:" Makefile
@@ -48 +42 @@
-#      cd ${ED}/usr/lib/${package}/vendor_perl/${version}
+#      cd ${D}/usr/lib/${package}/vendor_perl/${version}

--- libwww-perl/libwww-perl-5.831.ebuild        2009-10-20 21:33:06 +0200
+++ rsync-tree/dev-perl/libwww-perl/libwww-perl-5.831.ebuild      2009-10-08 01:06:47 +0200
@@ -28,10 +28,3 @@
-
-       touch "${T}"/lowercase
-       if [[ ! -f ${T}/LOWERCASE ]] ; then
-               # most OSX users are on a case-INsensitive filesystem, so don't install
-               # these, as in particular HEAD will collide with head (coreutils)
-               # this also applies for interix (windows underneath)
-               dosym /usr/bin/lwp-request /usr/bin/GET
-               dosym /usr/bin/lwp-request /usr/bin/POST
-               dosym /usr/bin/lwp-request /usr/bin/HEAD
-       fi
+       dosym /usr/bin/lwp-request /usr/bin/GET
+       dosym /usr/bin/lwp-request /usr/bin/POST
+       dosym /usr/bin/lwp-request /usr/bin/HEAD
--- libwww-perl/libwww-perl-5.833.ebuild        2009-10-20 21:33:06 +0200
+++ rsync-tree/dev-perl/libwww-perl/libwww-perl-5.833.ebuild      2009-10-07 19:43:23 +0200
@@ -28,10 +28,3 @@
-
-       touch "${T}"/lowercase
-       if [[ ! -f ${T}/LOWERCASE ]] ; then
-               # most OSX users are on a case-INsensitive filesystem, so don't install
-               # these, as in particular HEAD will collide with head (coreutils)
-               # this also applies for interix (windows underneath)
-               dosym /usr/bin/lwp-request /usr/bin/GET
-               dosym /usr/bin/lwp-request /usr/bin/POST
-               dosym /usr/bin/lwp-request /usr/bin/HEAD
-       fi
+       dosym /usr/bin/lwp-request /usr/bin/GET
+       dosym /usr/bin/lwp-request /usr/bin/POST
+       dosym /usr/bin/lwp-request /usr/bin/HEAD

--- math-pari/math-pari-2.010709.ebuild 2009-04-11 17:41:39 +0200
+++ rsync-tree/dev-perl/math-pari/math-pari-2.010709.ebuild       2009-04-05 10:08:24 +0200
@@ -28,2 +27,0 @@
-PATCHES="${FILESDIR}"/${PN}-darwin.patch
-
@@ -36,3 +34 @@
-       if use sparc || [[ ${CHOST} == *86-*-darwin* ]]; then
-               myconf="${myconf} machine=none"
-       fi
+       use sparc && myconf="${myconf} machine=none"
--- math-pari/math-pari-2.010801.ebuild 2009-05-14 10:21:54 +0200
+++ rsync-tree/dev-perl/math-pari/math-pari-2.010801.ebuild       2009-02-23 11:05:58 +0100
@@ -31,6 +30,0 @@
-src_unpack() {
-       perl-module_src_unpack
-       cd "${WORKDIR}"
-       epatch "${FILESDIR}"/${P}-duplicate-object-darwin.patch
-}
-
@@ -43,3 +37 @@
-       if use sparc ; then
-               myconf="${myconf} machine=none"
-       fi
+       use sparc && myconf="${myconf} machine=none"
--- math-pari/math-pari-2.01080602.ebuild       2009-11-14 17:21:15 +0100
+++ rsync-tree/dev-perl/math-pari/math-pari-2.01080602.ebuild     2009-11-13 03:17:34 +0100
@@ -11 +11 @@
-inherit perl-module eutils
+inherit perl-module
@@ -49,2 +48,0 @@
-
-       epatch "${FILESDIR}"/${PN}-darwin.patch
@@ -59,3 +57 @@
-       if use sparc ; then
-               myconf="${myconf} machine=none"
-       fi
+       use sparc && myconf="${myconf} machine=none"

--- perl-tk/perl-tk-804.028-r2.ebuild   2009-06-12 17:42:45 +0200
+++ rsync-tree/dev-perl/perl-tk/perl-tk-804.028-r2.ebuild2009-06-11 19:35:33 +0200
@@ -33,2 +33 @@
-       "${FILESDIR}"/${PN}-CVE-2008-0553.patch
-       "${FILESDIR}"/${PN}-804.027-interix-x11.patch )
+       "${FILESDIR}"/${PN}-CVE-2008-0553.patch )
@@ -36 +35 @@
-myconf="X11ROOT=${EPREFIX}/usr XFT=1 -I${EPREFIX}/usr/include/ -l${EPREFIX}/usr/$(get_libdir)"
+myconf="X11ROOT=/usr XFT=1 -I/usr/include/ -l/usr/$(get_libdir)"
Comment 2 Fabian Groffen gentoo-dev 2009-11-18 11:32:02 UTC
The same thing for perl-core:

$ for e in */*.ebuild ; do if [[ ! -f rsync-tree/perl-core/${e} ]] ; then echo "not in gx86: ${e}" ; continue ; fi ; diff -U0 -I "^KEYWORDS=" -I "^# Copyright" -I "^# $Header:" "${e}" rsync-tree/perl-core/${e} ; done

--- Compress-Raw-Zlib/Compress-Raw-Zlib-2.021.ebuild    2009-11-11 16:21:02 +0100
+++ rsync-tree/perl-core/Compress-Raw-Zlib/Compress-Raw-Zlib-2.021.ebuild 2009-09-12 08:06:58 +0200
@@ -27,2 +27,2 @@
-               INCLUDE = ${EPREFIX}/usr/include
-               LIB = ${EPREFIX}/usr/$(get_libdir)
+               INCLUDE = /usr/include
+               LIB = /usr/$(get_libdir)
--- Compress-Raw-Zlib/Compress-Raw-Zlib-2.023.ebuild    2009-11-14 18:23:27 +0100
+++ rsync-tree/perl-core/Compress-Raw-Zlib/Compress-Raw-Zlib-2.023.ebuild 2009-11-10 11:36:59 +0100
@@ -27,2 +27,2 @@
-               INCLUDE = ${EPREFIX}/usr/include
-               LIB = ${EPREFIX}/usr/$(get_libdir)
+               INCLUDE = /usr/include
+               LIB = /usr/$(get_libdir)
Comment 3 Fabian Groffen gentoo-dev 2009-11-18 11:44:40 UTC
obviously the perl and libperl ebuilds themselves are full of changes and patches
Comment 4 Fabian Groffen gentoo-dev 2009-11-22 17:34:10 UTC
Mac-Pasteboard imported in gx86.

I've degraded all Prefix profiles to exp status in gx86, which means we can import the whole of dev-perl and perl-core without caring about the deps.
Comment 5 Fabian Groffen gentoo-dev 2009-11-26 21:19:43 UTC
deps are no longer necessary, continuing this thing in bug #294758