From b108b37e958a6ae686e388a7b5ff4f1120b3f2eb Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Tue, 12 Jan 2016 20:12:11 +0100 Subject: [PATCH 1/8] Initial commit. Added README file. --- README | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 README diff --git a/README b/README new file mode 100644 index 0000000..e69de29 -- 2.26.2 From bc801b046766de6f88c006a93f8b1cff4cff5cb2 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Tue, 12 Jan 2016 20:23:16 +0100 Subject: [PATCH 2/8] orangepipc-arm: Created repository --- README | 1 + 1 file changed, 1 insertion(+) diff --git a/README b/README index e69de29..8d1c8b6 100644 --- a/README +++ b/README @@ -0,0 +1 @@ + -- 2.26.2 From 6011db2e520acc5271841b298e94fcd0841fac5e Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Wed, 13 Jan 2016 15:04:52 +0000 Subject: [PATCH 3/8] ports: overlayed ports port for the orangepipc --- ports/.footprint | 19 +++++++++++++++++++ ports/.md5sum | 9 +++++++++ ports/Pkgfile | 20 ++++++++++++++++++++ ports/contrib.rsync.inactive | 3 +++ ports/core-arm.rsync | 3 +++ ports/core.rsync | 3 +++ ports/opt-arm.rsync | 3 +++ ports/opt.rsync | 3 +++ ports/orangepipc-arm.rsync | 3 +++ ports/xorg-arm.rsync | 3 +++ ports/xorg.rsync | 3 +++ 11 files changed, 72 insertions(+) create mode 100644 ports/.footprint create mode 100644 ports/.md5sum create mode 100644 ports/Pkgfile create mode 100644 ports/contrib.rsync.inactive create mode 100644 ports/core-arm.rsync create mode 100644 ports/core.rsync create mode 100644 ports/opt-arm.rsync create mode 100644 ports/opt.rsync create mode 100644 ports/orangepipc-arm.rsync create mode 100644 ports/xorg-arm.rsync create mode 100644 ports/xorg.rsync diff --git a/ports/.footprint b/ports/.footprint new file mode 100644 index 0000000..4b907f4 --- /dev/null +++ b/ports/.footprint @@ -0,0 +1,19 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/ports/ +-rw-r--r-- root/root etc/ports/contrib.rsync.inactive +-rw-r--r-- root/root etc/ports/core-arm.rsync +-rw-r--r-- root/root etc/ports/core.rsync +drwxr-xr-x root/root etc/ports/drivers/ +-rw-r--r-- root/root etc/ports/opt-arm.rsync +-rw-r--r-- root/root etc/ports/opt.rsync +-rw-r--r-- root/root etc/ports/orangepipc-arm.rsync +-rw-r--r-- root/root etc/ports/xorg-arm.rsync +-rw-r--r-- root/root etc/ports/xorg.rsync +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/ports +drwxr-xr-x root/root usr/ports/ +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man8/ +-rw-r--r-- root/root usr/share/man/man8/ports.8.gz diff --git a/ports/.md5sum b/ports/.md5sum new file mode 100644 index 0000000..f3ee9e6 --- /dev/null +++ b/ports/.md5sum @@ -0,0 +1,9 @@ +50fce84f0327ee5c100f66594024b5f2 contrib.rsync.inactive +7db07c243cf80a2fe71364555e234901 core-arm.rsync +faedd8944bd5ecc397f73bf73bd624d4 core.rsync +ca6c61c26966a4535e19e5df020163e8 opt-arm.rsync +eded5385d3637f1918a82f4409abc64a opt.rsync +52d461b673af6b3501479524c0d73e85 orangepipc-arm.rsync +1f178e2bb1beab9782993931c9832280 ports-1.5.tar.gz +f86c5b27a36bfc161d9c5f07d3997455 xorg-arm.rsync +c24101073a06fc58a02c99bf5d56bea7 xorg.rsync diff --git a/ports/Pkgfile b/ports/Pkgfile new file mode 100644 index 0000000..42707d3 --- /dev/null +++ b/ports/Pkgfile @@ -0,0 +1,20 @@ +# Description: CRUX ports system tools +# URL: http://crux.nu +# Maintainer: CRUX System Team, core-ports at crux dot nu +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu +# Depends on: + +name=ports +version=1.5 +release=17 +source=(http://crux.nu/files/tools/ports/$name-$version.tar.gz \ + core.rsync opt.rsync xorg.rsync contrib.rsync.inactive \ + core-arm.rsync opt-arm.rsync xorg-arm.rsync orangepipc-arm.rsync) + +build () { + cd $name-$version + make + make DESTDIR=$PKG MANDIR=/usr/share/man install + + install -m 0644 $SRC/*.rsync* $PKG/etc/ports +} diff --git a/ports/contrib.rsync.inactive b/ports/contrib.rsync.inactive new file mode 100644 index 0000000..f69aa5d --- /dev/null +++ b/ports/contrib.rsync.inactive @@ -0,0 +1,3 @@ +host=crux.nu +collection=ports/crux-3.2/contrib/ +destination=/usr/ports/contrib diff --git a/ports/core-arm.rsync b/ports/core-arm.rsync new file mode 100644 index 0000000..93b44fd --- /dev/null +++ b/ports/core-arm.rsync @@ -0,0 +1,3 @@ +host=crux-arm.nu +collection=ports/crux-3.2/core-arm/ +destination=/usr/ports/core-arm diff --git a/ports/core.rsync b/ports/core.rsync new file mode 100644 index 0000000..8dc4ec3 --- /dev/null +++ b/ports/core.rsync @@ -0,0 +1,3 @@ +host=crux.nu +collection=ports/crux-3.2/core/ +destination=/usr/ports/core diff --git a/ports/opt-arm.rsync b/ports/opt-arm.rsync new file mode 100644 index 0000000..49b9a4f --- /dev/null +++ b/ports/opt-arm.rsync @@ -0,0 +1,3 @@ +host=crux-arm.nu +collection=ports/crux-3.2/opt-arm/ +destination=/usr/ports/opt-arm diff --git a/ports/opt.rsync b/ports/opt.rsync new file mode 100644 index 0000000..73f531a --- /dev/null +++ b/ports/opt.rsync @@ -0,0 +1,3 @@ +host=crux.nu +collection=ports/crux-3.2/opt/ +destination=/usr/ports/opt diff --git a/ports/orangepipc-arm.rsync b/ports/orangepipc-arm.rsync new file mode 100644 index 0000000..a070b37 --- /dev/null +++ b/ports/orangepipc-arm.rsync @@ -0,0 +1,3 @@ +host=crux-arm.nu +collection=ports/crux-3.2/orangepipc-arm/ +destination=/usr/ports/orangepipc-arm diff --git a/ports/xorg-arm.rsync b/ports/xorg-arm.rsync new file mode 100644 index 0000000..f1aa120 --- /dev/null +++ b/ports/xorg-arm.rsync @@ -0,0 +1,3 @@ +host=crux-arm.nu +collection=ports/crux-3.2/xorg-arm/ +destination=/usr/ports/xorg-arm diff --git a/ports/xorg.rsync b/ports/xorg.rsync new file mode 100644 index 0000000..842965f --- /dev/null +++ b/ports/xorg.rsync @@ -0,0 +1,3 @@ +host=crux.nu +collection=ports/crux-3.2/xorg/ +destination=/usr/ports/xorg -- 2.26.2 From 3d67e31d82e006b152429c430073042bfbb04c96 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Wed, 13 Jan 2016 15:05:36 +0000 Subject: [PATCH 4/8] prt-get: overlayed prt-get.conf for the orangepipc --- prt-get/.footprint | 17 ++++++++++++++ prt-get/.md5sum | 3 +++ prt-get/Pkgfile | 22 +++++++++++++++++ prt-get/README | 9 +++++++ prt-get/prt-get.aliases | 9 +++++++ prt-get/prt-get.conf | 52 +++++++++++++++++++++++++++++++++++++++++ 6 files changed, 112 insertions(+) create mode 100644 prt-get/.footprint create mode 100644 prt-get/.md5sum create mode 100644 prt-get/Pkgfile create mode 100644 prt-get/README create mode 100644 prt-get/prt-get.aliases create mode 100644 prt-get/prt-get.conf diff --git a/prt-get/.footprint b/prt-get/.footprint new file mode 100644 index 0000000..7304127 --- /dev/null +++ b/prt-get/.footprint @@ -0,0 +1,17 @@ +drwxr-xr-x root/root etc/ +-rw-r--r-- root/root etc/prt-get.conf +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +lrwxrwxrwx root/root usr/bin/prt-cache -> prt-get +-rwxr-xr-x root/root usr/bin/prt-get +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man5/ +-rw-r--r-- root/root usr/share/man/man5/prt-get.conf.5.gz +drwxr-xr-x root/root usr/share/man/man8/ +-rw-r--r-- root/root usr/share/man/man8/prt-cache.8.gz +-rw-r--r-- root/root usr/share/man/man8/prt-get.8.gz +drwxr-xr-x root/root var/ +drwxr-xr-x root/root var/lib/ +drwxr-xr-x root/root var/lib/pkg/ +-rw-r--r-- root/root var/lib/pkg/prt-get.aliases diff --git a/prt-get/.md5sum b/prt-get/.md5sum new file mode 100644 index 0000000..fd2d131 --- /dev/null +++ b/prt-get/.md5sum @@ -0,0 +1,3 @@ +a37751f1627a4e0125c8ffadfa85be80 prt-get-5.19.tar.gz +4f6b710e4d2b18c70cfe5e4a593938b7 prt-get.aliases +ea6d4deac1f0c496a408ad5d6d0f2cff prt-get.conf diff --git a/prt-get/Pkgfile b/prt-get/Pkgfile new file mode 100644 index 0000000..4bda6a1 --- /dev/null +++ b/prt-get/Pkgfile @@ -0,0 +1,22 @@ +# Description: A utility to simplify ports searching/installing +# URL: http://jw.smts.ch/files/crux/prt-get_quickstart.html +# Maintainer: CRUX System Team, core-ports at crux dot nu +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu +# Depends on: + +name=prt-get +version=5.19 +release=3 +source=(http://crux.nu/files/prt-get-$version.tar.gz + prt-get.conf prt-get.aliases) + +build() { + cd ${name}-${version} + + ./configure --prefix=/usr + make + make DESTDIR=$PKG install + + install -m 644 $SRC/prt-get.conf $PKG/etc/ + install -D -m 644 $SRC/prt-get.aliases $PKG/var/lib/pkg/prt-get.aliases +} diff --git a/prt-get/README b/prt-get/README new file mode 100644 index 0000000..a38f6c4 --- /dev/null +++ b/prt-get/README @@ -0,0 +1,9 @@ +NOTE: + +Some people have reported problems when using optimizations larger than +-O2; typical symptoms are "prt-get install X" saying that a package is +installed while "prt-get update X" saying it's not, or "prt-get listinst" +printing just nothing. + +If you experience strange effects, please try recompiling with + CXXFLAGS="-O2 -pipe" diff --git a/prt-get/prt-get.aliases b/prt-get/prt-get.aliases new file mode 100644 index 0000000..2e7af63 --- /dev/null +++ b/prt-get/prt-get.aliases @@ -0,0 +1,9 @@ +j2sdk: j2re +j2sdk: jre +jdk: jre +openmotif: lesstif +postfix: sendmail +exim: sendmail +qmail: sendmail +masqmail: sendmail +xorg: x11 diff --git a/prt-get/prt-get.conf b/prt-get/prt-get.conf new file mode 100644 index 0000000..28734d6 --- /dev/null +++ b/prt-get/prt-get.conf @@ -0,0 +1,52 @@ +### +### prt-get conf +### + +# note: the order matters: the package found first is used +prtdir /usr/ports/orangepipc-arm +prtdir /usr/ports/core-arm +prtdir /usr/ports/opt-arm +prtdir /usr/ports/xorg-arm +prtdir /usr/ports/core +prtdir /usr/ports/opt +prtdir /usr/ports/xorg + +# the following line enables the user maintained contrib collection +#prtdir /usr/ports/contrib + +### use mypackage form local directory +# prtdir /home/packages/build:mypackage + +### log options: +# writelog enabled # (enabled|disabled) +# logmode overwrite # (append|overwrite) +# rmlog_on_success yes # (no|yes) +logfile /var/log/pkgbuild/%n.log + # path, %p=path to port dir, %n=port name + # %v=version, %r=release + +### use alternate cache file (default: /var/lib/pkg/prt-get.cache +# cachefile /mnt/nfs/cache + +### print README information: +# readme verbose # (verbose|compact|disabled) + +### prefer higher versions in sysup / diff +# preferhigher no # (yes|no) + +### use regexp search +# useregex no # (yes|no) + +### run pre- and post-installs scripts; yes is equivalent to the +### --install-scripts option +# runscripts no # (no|yes) + + +### EXPERT SECTION ### + +### alternative commands +# makecommand pkgmk +# addcommand pkgadd +# removecommand pkgrm +# runscriptcommand sh + -- 2.26.2 From 7e849cd895039ac43ba99a61b92af95f0ade50cd Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Tue, 16 Feb 2016 19:31:14 +0100 Subject: [PATCH 5/8] libump: Initial commit --- libump/.footprint | 14 ++++++++++++++ libump/.md5sum | 0 libump/Pkgfile | 27 +++++++++++++++++++++++++++ 3 files changed, 41 insertions(+) create mode 100644 libump/.footprint create mode 100644 libump/.md5sum create mode 100644 libump/Pkgfile diff --git a/libump/.footprint b/libump/.footprint new file mode 100644 index 0000000..8bc1b0e --- /dev/null +++ b/libump/.footprint @@ -0,0 +1,14 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/ump/ +-rw-r--r-- root/root usr/include/ump/ump.h +-rw-r--r-- root/root usr/include/ump/ump_platform.h +-rw-r--r-- root/root usr/include/ump/ump_ref_drv.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libUMP.a +-rwxr-xr-x root/root usr/lib/libUMP.la +lrwxrwxrwx root/root usr/lib/libUMP.so -> libUMP.so.3.0.0 +lrwxrwxrwx root/root usr/lib/libUMP.so.3 -> libUMP.so.3.0.0 +-rwxr-xr-x root/root usr/lib/libUMP.so.3.0.0 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libump.pc diff --git a/libump/.md5sum b/libump/.md5sum new file mode 100644 index 0000000..e69de29 diff --git a/libump/Pkgfile b/libump/Pkgfile new file mode 100644 index 0000000..c947c96 --- /dev/null +++ b/libump/Pkgfile @@ -0,0 +1,27 @@ +# Description: Unified Memory Provider, userspace library +# URL: https://github.com/linux-sunxi/libump +# Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu +# Depends on: + +name=libump +version=git +release=1 +source=() + +build() { + if [ ! -d $PKGMK_SOURCE_DIR/$name ]; then + git clone https://github.com/linux-sunxi/libump.git $PKGMK_SOURCE_DIR/$name + else + cd $PKGMK_SOURCE_DIR/$name && git fetch + fi + cp -r $PKGMK_SOURCE_DIR/$name $SRC + + mkdir -p $PKG/usr/lib + + cd $SRC/$name + autoreconf -i + ./configure --prefix=/usr + make + make DESTDIR=$PKG install +} -- 2.26.2 From 5bf98bbec2c0f803d23b1786bc43bfdfeda1c28e Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Tue, 16 Feb 2016 19:31:49 +0100 Subject: [PATCH 6/8] libdri2: Initial commit --- libdri2/.footprint | 13 +++++++++++++ libdri2/.md5sum | 0 libdri2/Pkgfile | 23 +++++++++++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 libdri2/.footprint create mode 100644 libdri2/.md5sum create mode 100644 libdri2/Pkgfile diff --git a/libdri2/.footprint b/libdri2/.footprint new file mode 100644 index 0000000..686e7d5 --- /dev/null +++ b/libdri2/.footprint @@ -0,0 +1,13 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/X11/ +drwxr-xr-x root/root usr/include/X11/extensions/ +-rw-r--r-- root/root usr/include/X11/extensions/dri2.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libdri2.a +-rwxr-xr-x root/root usr/lib/libdri2.la +lrwxrwxrwx root/root usr/lib/libdri2.so -> libdri2.so.1.0.0 +lrwxrwxrwx root/root usr/lib/libdri2.so.1 -> libdri2.so.1.0.0 +-rwxr-xr-x root/root usr/lib/libdri2.so.1.0.0 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/dri2.pc diff --git a/libdri2/.md5sum b/libdri2/.md5sum new file mode 100644 index 0000000..e69de29 diff --git a/libdri2/Pkgfile b/libdri2/Pkgfile new file mode 100644 index 0000000..3c652c7 --- /dev/null +++ b/libdri2/Pkgfile @@ -0,0 +1,23 @@ +# Description: split out dri2 client side code from mesa, libva, libvdpau, etc.. +# URL: https://github.com/robclark/libdri2 +# Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu +# Depends on: git libdrm xorg-libx11 xorg-libxext + +name=libdri2 +version=git +release=1 +source=() + +build() { + if [ ! -d $PKGMK_SOURCE_DIR/$name ]; then + git clone https://github.com/robclark/libdri2.git $PKGMK_SOURCE_DIR/$name + else + cd $PKGMK_SOURCE_DIR/$name && git fetch + fi + cp -r $PKGMK_SOURCE_DIR/$name $SRC + + cd $SRC/$name + ./autogen.sh --prefix=/usr + make DESTDIR=$PKG install +} -- 2.26.2 From 0eef76eaa5a734199822c9f6db69d48d8c4c20a7 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Tue, 16 Feb 2016 19:32:56 +0100 Subject: [PATCH 7/8] sunxi-mali: Initial commit --- sunxi-mali/.footprint | 27 +++++++++++++++++++++++++++ sunxi-mali/.md5sum | 0 sunxi-mali/Pkgfile | 27 +++++++++++++++++++++++++++ sunxi-mali/README | 22 ++++++++++++++++++++++ sunxi-mali/post-install | 18 ++++++++++++++++++ 5 files changed, 94 insertions(+) create mode 100644 sunxi-mali/.footprint create mode 100644 sunxi-mali/.md5sum create mode 100644 sunxi-mali/Pkgfile create mode 100644 sunxi-mali/README create mode 100755 sunxi-mali/post-install diff --git a/sunxi-mali/.footprint b/sunxi-mali/.footprint new file mode 100644 index 0000000..3eeaff2 --- /dev/null +++ b/sunxi-mali/.footprint @@ -0,0 +1,27 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/EGL/ +-rw-r--r-- root/root usr/include/EGL/egl.h +-rw-r--r-- root/root usr/include/EGL/eglext.h +-rw-r--r-- root/root usr/include/EGL/eglplatform.h +drwxr-xr-x root/root usr/include/GLES/ +-rw-r--r-- root/root usr/include/GLES/gl.h +-rw-r--r-- root/root usr/include/GLES/glext.h +-rw-r--r-- root/root usr/include/GLES/glplatform.h +drwxr-xr-x root/root usr/include/GLES2/ +-rw-r--r-- root/root usr/include/GLES2/gl2.h +-rw-r--r-- root/root usr/include/GLES2/gl2ext.h +-rw-r--r-- root/root usr/include/GLES2/gl2platform.h +drwxr-xr-x root/root usr/include/KHR/ +-rw-r--r-- root/root usr/include/KHR/khrplatform.h +drwxr-xr-x root/root usr/lib/ +lrwxrwxrwx root/root usr/lib/libEGL.so -> libEGL.so.1 +lrwxrwxrwx root/root usr/lib/libEGL.so.1 -> libEGL.so.1.4 +lrwxrwxrwx root/root usr/lib/libEGL.so.1.4 -> libMali.so +lrwxrwxrwx root/root usr/lib/libGLESv1_CM.so -> libGLESv1_CM.so.1 +lrwxrwxrwx root/root usr/lib/libGLESv1_CM.so.1 -> libGLESv1_CM.so.1.1 +lrwxrwxrwx root/root usr/lib/libGLESv1_CM.so.1.1 -> libMali.so +lrwxrwxrwx root/root usr/lib/libGLESv2.so -> libGLESv2.so.2 +lrwxrwxrwx root/root usr/lib/libGLESv2.so.2 -> libGLESv2.so.2.0 +lrwxrwxrwx root/root usr/lib/libGLESv2.so.2.0 -> libMali.so +-rw-r--r-- root/root usr/lib/libMali.so diff --git a/sunxi-mali/.md5sum b/sunxi-mali/.md5sum new file mode 100644 index 0000000..e69de29 diff --git a/sunxi-mali/Pkgfile b/sunxi-mali/Pkgfile new file mode 100644 index 0000000..31b8b63 --- /dev/null +++ b/sunxi-mali/Pkgfile @@ -0,0 +1,27 @@ +# Description: Sunxi Mali-400 support libraries. +# URL: https://github.com/linux-sunxi/sunxi-mali +# Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu +# Depends on: libdri2 libump mesa3d + +name=sunxi-mali +version=git +release=1 +source=() + +build() { + if [ ! -d $PKGMK_SOURCE_DIR/$name ]; then + git clone https://github.com/linux-sunxi/sunxi-mali.git $PKGMK_SOURCE_DIR/$name + else + cd $PKGMK_SOURCE_DIR/$name && git fetch + fi + cp -r $PKGMK_SOURCE_DIR/$name $SRC + + mkdir -p $PKG/usr/lib + + cd $SRC/$name + git submodule init + git submodule update + make -j1 config ABI=armhf VERSION=r3p0 + make DESTDIR=$PKG install +} diff --git a/sunxi-mali/README b/sunxi-mali/README new file mode 100644 index 0000000..55f3cc5 --- /dev/null +++ b/sunxi-mali/README @@ -0,0 +1,22 @@ + +README for sunxi-mali + +# Mesa3d overwritten files by sunxi-mali +# ls -la /usr/lib/libEGL.so* + +# Mesa3d files +# lrwxrwxrwx 1 root root 11 Oct 4 2013 /usr/lib/libEGL.so -> libEGL.so.1 +# lrwxrwxrwx 1 root root 15 Mar 13 12:39 /usr/lib/libEGL.so.1 -> libEGL.so.1.0.0 +# -rwxr-xr-x 1 root root 88K Mar 10 12:23 /usr/lib/libEGL.so.1.0.0 + +# sunxi-mali files +# lrwxrwxrwx 1 root root 10 Oct 4 2013 /usr/lib/libEGL.so.1.4 -> libMali.so + +# Make a backup to restore mesa3d +# mv /usr/lib/libEGL.so.1 /usr/lib/libEGL_so_1 + +# Link to the new file provided by sunxi-mali +# ln -s libEGL.so.1.4 /usr/lib/libEGL.so.1 + +# To restore the backup, rename the file again to restore the old link: +# mv /usr/lib/libEGL_so_1 /usr/lib/libEGL.so.1 diff --git a/sunxi-mali/post-install b/sunxi-mali/post-install new file mode 100755 index 0000000..93ff3c0 --- /dev/null +++ b/sunxi-mali/post-install @@ -0,0 +1,18 @@ +#!/bin/sh + +# Mesa3d overwritten files by sunxi-mali +#$ ls -la /usr/lib/libEGL.so* + +# Mesa3d files +#lrwxrwxrwx 1 root root 11 Oct 4 2013 /usr/lib/libEGL.so -> libEGL.so.1 +#lrwxrwxrwx 1 root root 15 Mar 13 12:39 /usr/lib/libEGL.so.1 -> libEGL.so.1.0.0 +#-rwxr-xr-x 1 root root 88K Mar 10 12:23 /usr/lib/libEGL.so.1.0.0 + +# sunxi-mali files +#lrwxrwxrwx 1 root root 10 Oct 4 2013 /usr/lib/libEGL.so.1.4 -> libMali.so + +# Make a backup to restore mesa3d +mv /usr/lib/libEGL.so.1 /usr/lib/libEGL_so_1 + +# Link to the new file provided by sunxi-mali +ln -s libEGL.so.1.4 /usr/lib/libEGL.so.1 -- 2.26.2 From 4f1f692c87ebe2f4a670fdbdff3f0972dc58e590 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Tue, 16 Feb 2016 19:33:34 +0100 Subject: [PATCH 8/8] xf86-video-sunxifb: Initial commit --- xf86-video-sunxifb/.footprint | 10 ++++++++++ xf86-video-sunxifb/.md5sum | 0 xf86-video-sunxifb/Pkgfile | 25 +++++++++++++++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 xf86-video-sunxifb/.footprint create mode 100644 xf86-video-sunxifb/.md5sum create mode 100644 xf86-video-sunxifb/Pkgfile diff --git a/xf86-video-sunxifb/.footprint b/xf86-video-sunxifb/.footprint new file mode 100644 index 0000000..28ef16a --- /dev/null +++ b/xf86-video-sunxifb/.footprint @@ -0,0 +1,10 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/xorg/ +drwxr-xr-x root/root usr/lib/xorg/modules/ +drwxr-xr-x root/root usr/lib/xorg/modules/drivers/ +-rwxr-xr-x root/root usr/lib/xorg/modules/drivers/fbturbo_drv.la +-rwxr-xr-x root/root usr/lib/xorg/modules/drivers/fbturbo_drv.so +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man4/ +-rw-r--r-- root/root usr/man/man4/fbturbo.4.gz diff --git a/xf86-video-sunxifb/.md5sum b/xf86-video-sunxifb/.md5sum new file mode 100644 index 0000000..e69de29 diff --git a/xf86-video-sunxifb/Pkgfile b/xf86-video-sunxifb/Pkgfile new file mode 100644 index 0000000..838ea67 --- /dev/null +++ b/xf86-video-sunxifb/Pkgfile @@ -0,0 +1,25 @@ +# Description: xorg driver xf86-video-sunxifb Mali-400 X11/DRI2/EXA drivers +# URL: https://github.com/linux-sunxi/xf86-video-mali +# Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu +# Depends on: sunxi-mali + +name=xf86-video-sunxifb +version=git +release=1 +source=() + +build() { + if [ ! -d $PKGMK_SOURCE_DIR/$name ]; then + git clone https://github.com/ssvb/xf86-video-sunxifb.git $PKGMK_SOURCE_DIR/$name + else + cd $PKGMK_SOURCE_DIR/$name && git fetch + fi + cp -r $PKGMK_SOURCE_DIR/$name $SRC + + cd $SRC/$name + autoreconf -vi + ./configure --prefix=/usr --mandir=/usr/man + make + make DESTDIR=$PKG install +} -- 2.26.2