minou666 Posted August 5, 2018 Report Share Posted August 5, 2018 What would be the equivalent in funtoo for what we use in archlinux to replace packages. Here is an example, not complete since it overrides more packages but you should get the idea of what I am trying to do The package name is 'ti-xsgx-ddk-um provides=('ti-xsgx-ddk-um' 'xtrans' 'xproto' 'xextproto' 'libxcb' 'libxau' 'inputproto' 'kbproto' 'libx11' 'libxrender' 'libxft' 'libxext' 'libxdmcp' 'mesa') conflicts=('xtrans' 'xproto' 'xextproto' 'libxcb' 'libxau' 'inputproto' 'kbproto' 'libx11' 'libxrender' 'libxft' 'libxext' 'libxdmcp' 'mesa') replaces=('xtrans' 'xproto' 'xextproto' 'libxcb' 'libxau' 'inputproto' 'kbproto' 'libx11' 'libxrender' 'libxft' 'libxext' 'libxdmcp' 'mesa') Michel Link to comment Share on other sites More sharing options...
0 minou666 Posted August 12, 2018 Author Report Share Posted August 12, 2018 I did find a solution. I will document the whole thing on my user page when I am done. I found the solution on a Gentoo page. On /etc/portage/profile I created a file named package.provided with the following content : x11-libs/libX11-1.6.5 x11-libs/libxcb-1.12-r2 x11-libs/libxkbfile-1.0.9-r1 x11-libs/libxshmfence-1.2 media-libs/mesa-17.2.8 x11-libs/libXrender-0.9.10 x11-libs/libXdamage-1.1.4-r1 x11-apps/xkbcomp-1.4.0 dev-libs/expat-2.2.0-r1 media-libs/fontconfig-2.11.1-r2 x11-proto/fontsproto-2.1.3 x11-libs/libdrm-2.4.83-r1 x11-libs/cairo-1.14.8 x11-libs/pixman-0.34.0 x11-misc/xcb-2.4-r1 media-gfx/xv-3.10a-r19 sys-libs/zlib-1.2.11-r2 x11-libs/libXv-1.0.11 x11-libs/libXvMC-1.0.10 x11-proto/xextproto-7.3.0 x11-proto/randrproto-1.5.0 x11-proto/compositeproto-0.4.2-r1 x11-proto/damageproto-1.2.1-r1 x11-proto/fixesproto-5.0-r1 x11-proto/glproto-1.4.17-r1 x11-proto/dri2proto-2.8-r1 x11-proto/dri3proto-1.0 x11-proto/inputproto-2.3.2 x11-proto/kbproto-1.0.7 x11-proto/recordproto-1.14.2-r1 x11-proto/renderproto-0.11.1-r1 x11-proto/resourceproto-1.2.0 x11-proto/scrnsaverproto-1.2.2-r1 x11-proto/videoproto-2.3.3 x11-proto/presentproto-1.1 x11-proto/xf86dgaproto-2.1-r2 x11-proto/xf86driproto-2.1.1-r1 x11-proto/xf86vidmodeproto-2.3.1-r1 x11-proto/xineramaproto-1.2.1-r1 x11-proto/xcmiscproto-1.2.2 x11-proto/xproto-7.0.31 dev-libs/libevdev-1.5.7 x11-libs/libXau-1.0.8 x11-libs/libXdmcp-1.1.2-r1 x11-libs/libXext-1.3.3 x11-libs/libXmu-1.1.2 x11-libs/libXrandr-1.5.1 x11-libs/libXt-1.1.5 x11-libs/libXxf86vm-1.1.4 x11-libs/libXfont-1.5.4 x11-libs/libXi-1.7.9 x11-libs/libXft-2.3.2 x11-libs/libXinerama-1.1.3 x11-libs/libXfixes-5.0.3 media-libs/freetype-2.8 x11-libs/libICE-1.0.9-r1 x11-libs/libfontenc-1.1.3 sys-libs/mtdev-1.1.5 x11-base/xorg-server-1.19.3-r2 x11-base/xorg-drivers-1.19 x11-drivers/xf86-input-keyboard-1.9.0 x11-drivers/xf86-input-evdev-2.10.5 x11-drivers/xf86-input-mouse-1.9.2 x11-libs/libSM-1.2.2-r1 media-fonts/font-util-1.3.1 All these are provided by the binary blobs from Texas Instruments. Imagination doesn't seem to want to provide the source code for the EGL libraries and the license for xorg is not GPL so we are stuck with binaries. So far they seem close in version to those used by Funtoo. I had issues on Arch Linux since a few applications would not compile. I am hoping that I will not get these issues here. My goal is to have a working mate desktop on my beagleboard X15 boards and eventually my beaglebone black boards. SGX files that are duplicates of those of funtoo are on /usr/local/XSGX/ For MESA they have custom names suzie /etc/portage/profile # la -la /usr/lib/*MESA* lrwxrwxrwx 1 root root 34 11 aoû 18:52 /usr/lib/libGLESv1_PVR_MESA.so -> libGLESv1_PVR_MESA.so.1.15.4564147* lrwxrwxrwx 1 root root 34 11 aoû 18:52 /usr/lib/libGLESv1_PVR_MESA.so.1 -> libGLESv1_PVR_MESA.so.1.15.4564147* -rwxr-xr-x 1 root root 425332 11 aoû 18:50 /usr/lib/libGLESv1_PVR_MESA.so.1.15.4564147* lrwxrwxrwx 1 root root 34 11 aoû 18:52 /usr/lib/libGLESv2_PVR_MESA.so -> libGLESv2_PVR_MESA.so.1.15.4564147* lrwxrwxrwx 1 root root 34 11 aoû 18:52 /usr/lib/libGLESv2_PVR_MESA.so.1 -> libGLESv2_PVR_MESA.so.1.15.4564147* -rwxr-xr-x 1 root root 443392 11 aoû 18:50 /usr/lib/libGLESv2_PVR_MESA.so.1.15.4564147* Some stuff like the TI gstreamer won't work with it as they need to run outside of X. The whole thing is listed as experimental by TI. Michel Link to comment Share on other sites More sharing options...
Question
minou666
What would be the equivalent in funtoo for what we use in archlinux to replace packages.
Here is an example, not complete since it overrides more packages but you should get the idea of what I am trying to do
The package name is 'ti-xsgx-ddk-um
provides=('ti-xsgx-ddk-um' 'xtrans' 'xproto' 'xextproto' 'libxcb'
'libxau' 'inputproto' 'kbproto' 'libx11' 'libxrender'
'libxft' 'libxext' 'libxdmcp' 'mesa')
conflicts=('xtrans' 'xproto' 'xextproto' 'libxcb' 'libxau' 'inputproto'
'kbproto' 'libx11' 'libxrender' 'libxft' 'libxext' 'libxdmcp' 'mesa')
replaces=('xtrans' 'xproto' 'xextproto' 'libxcb' 'libxau' 'inputproto'
'kbproto' 'libx11' 'libxrender' 'libxft' 'libxext' 'libxdmcp' 'mesa')
Michel
Link to comment
Share on other sites
1 answer to this question
Recommended Posts