From c23cd34fd6cbe350e7529bf29bdab9db60660a71 Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Wed, 17 Feb 2021 06:33:04 +0300 Subject: [PATCH] eudev: rebuild 32bit pkgconfig. --- system/base/eudev/actions.py | 48 +++++++++++++++++++----------------- system/base/eudev/pspec.xml | 6 ++--- 2 files changed, 29 insertions(+), 25 deletions(-) diff --git a/system/base/eudev/actions.py b/system/base/eudev/actions.py index 4a86fabf..1b61e99b 100644 --- a/system/base/eudev/actions.py +++ b/system/base/eudev/actions.py @@ -1,31 +1,35 @@ #!/usr/bin/python # -*- coding: utf-8 -*- # -# Copyright 2015 TUBITAK/UEKAE -# Licensed under the GNU General Public License, version 2. -# See the file http://www.gnu.org/copyleft/gpl.txt. +# Licensed under the GNU General Public License, version 3. +# See the file https://www.gnu.org/licenses/gpl-3.0.txt +from pisi.actionsapi import shelltools from pisi.actionsapi import autotools from pisi.actionsapi import pisitools -from pisi.actionsapi import shelltools from pisi.actionsapi import get suffix = "32" if get.buildTYPE() == "emul32" else "" def setup(): autotools.autoreconf("-fis") - - autotools.configure("--prefix=/usr \ - --bindir=/sbin \ - --sbindir=/sbin \ - --libdir=/usr/lib \ - --sysconfdir=/etc \ - --libexecdir=/lib \ - --with-rootprefix= \ - --with-rootlibdir=/lib \ - --enable-split-usr \ - --enable-static \ - --disable-manpages ") + + j = "--prefix=/usr \ + --bindir=/sbin \ + --sbindir=/sbin \ + --libdir=/usr/lib \ + --sysconfdir=/etc \ + --libexecdir=/lib \ + --with-rootprefix= \ + --with-rootlibdir=/lib \ + --enable-split-usr \ + --enable-static \ + --disable-manpages " + + if get.buildTYPE() == "emul32": + j += "--libdir=/usr/lib32 --libexecdir=/lib32 --with-rootlibdir=/lib32" + + autotools.configure(j) pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") @@ -35,23 +39,23 @@ def build(): def install(): autotools.rawInstall("-j1 DESTDIR=%s%s" % (get.installDIR(), suffix)) #autotools.rawInstall("DESTDIR=%s" % get.installDIR()) - + # emul32 stop here if get.buildTYPE() == "emul32": - shelltools.move("%s%s/lib" % (get.installDIR(), suffix), "%s/lib%s" % (get.installDIR(), suffix)) - shelltools.move("%s%s/usr/lib" % (get.installDIR(), suffix), "%s/usr/lib%s" % (get.installDIR(), suffix)) + shelltools.move("%s%s/lib32" % (get.installDIR(), suffix), "%s/lib%s" % (get.installDIR(), suffix)) + shelltools.move("%s%s/usr/lib32" % (get.installDIR(), suffix), "%s/usr/lib%s" % (get.installDIR(), suffix)) #for f in shelltools.ls("%s/usr/lib32/pkgconfig" % get.installDIR()): # pisitools.dosed("%s/usr/lib32/pkgconfig/%s" % (get.installDIR(), f), "emul32", "usr") #shelltools.unlinkDir("%s%s" % (get.installDIR(), suffix)) shelltools.unlink("%s/usr/lib%s/libudev.so" % (get.installDIR(), suffix)) pisitools.dosym("/lib%s/libudev.so.1.6.3" % suffix, "/usr/lib%s/libudev.so" % suffix) - shelltools.unlinkDir("%s/usr/lib%s/pkgconfig" % (get.installDIR(), suffix)) + #shelltools.unlinkDir("%s/usr/lib%s/pkgconfig" % (get.installDIR(), suffix)) shelltools.unlinkDir("%s/lib%s/udev" % (get.installDIR(), suffix)) return - + #add link pisitools.dosym("/sbin/udevadm", "/bin/udevadm") - + # Create vol_id and scsi_id symlinks in /sbin probably needed by multipath-tools pisitools.dosym("/lib/udev/scsi_id", "/sbin/scsi_id") diff --git a/system/base/eudev/pspec.xml b/system/base/eudev/pspec.xml index ee518bbe..cc3d1178 100644 --- a/system/base/eudev/pspec.xml +++ b/system/base/eudev/pspec.xml @@ -15,7 +15,7 @@ https://github.com/gentoo/eudev/archive/v3.2.9.tar.gz - config.cache + config.cache glibc-devel @@ -93,7 +93,7 @@ - 2020-12-09 + 2021-02-17 3.2.9 Version bump. Mustafa Cinasal @@ -106,7 +106,7 @@ Mustafa Cinasal muscnsl@gmail.com - + 2019-12-25 3.2.8 Version bump