works for mesa

in blfs mesa not need llvm?
This commit is contained in:
Ertuğrul Erata
2015-06-28 09:06:44 +03:00
parent 8d9df98363
commit a403ebbf35
11 changed files with 307 additions and 7 deletions
@@ -0,0 +1,30 @@
diff -upr llvm-3.6.0.src.orig/docs/Makefile llvm-3.6.0.src/docs/Makefile
--- llvm-3.6.0.src.orig/docs/Makefile 2014-10-29 00:45:25.000000000 +0200
+++ llvm-3.6.0.src/docs/Makefile 2015-02-28 10:12:35.647351241 +0200
@@ -41,7 +41,7 @@ install_targets := install-html
ifeq ($(ENABLE_DOXYGEN),1)
install_targets += install-doxygen
endif
-ifdef OCAMLDOC
+ifdef OCAMLFIND
ifneq (,$(filter ocaml,$(BINDINGS_TO_BUILD)))
install_targets += install-ocamldoc
endif
@@ -49,7 +49,7 @@ endif
install-local:: $(install_targets)
generated_targets := doxygen
-ifdef OCAMLDOC
+ifdef OCAMLFIND
generated_targets += ocamldoc
endif
@@ -120,7 +120,7 @@ regen-ocamldoc:
$(Verb) $(MAKE) -C $(LEVEL)/bindings/ocaml ocamldoc
$(Verb) $(MKDIR) $(PROJ_OBJ_DIR)/ocamldoc/html
$(Verb) \
- $(OCAMLDOC) -d $(PROJ_OBJ_DIR)/ocamldoc/html -sort -colorize-code -html \
+ $(OCAMLFIND) ocamldoc -d $(PROJ_OBJ_DIR)/ocamldoc/html -sort -colorize-code -html \
`$(FIND) $(LEVEL)/bindings/ocaml -name "*.odoc" \
-path "*/$(BuildMode)/*.odoc" -exec echo -load '{}' ';'`
@@ -0,0 +1,9 @@
#include <bits/wordsize.h>
#if __WORDSIZE == 32
#include "config-32.h"
#elif __WORDSIZE == 64
#include "config-64.h"
#else
#error "Unknown word size"
#endif
@@ -0,0 +1,9 @@
#include <bits/wordsize.h>
#if __WORDSIZE == 32
#include "llvm-config-32.h"
#elif __WORDSIZE == 64
#include "llvm-config-64.h"
#else
#error "Unknown word size"
#endif
+3
View File
@@ -17,6 +17,9 @@
<Archive sha1sum="61f3e78088ce4a0787835036f2d3c61ede11e928" type="tarxz" target="llvm-3.5.0.src/projects">http://llvm.org/releases/3.5.0/compiler-rt-3.5.0.src.tar.xz</Archive>
<BuildDependencies>
<Dependency>zlib-devel</Dependency>
<Dependency>libxml2-devel</Dependency>
<Dependency>ncurses-devel</Dependency>
<Dependency>ocaml</Dependency>
<Dependency>libffi-devel</Dependency>
<Dependency>libedit-devel</Dependency>
+24
View File
@@ -0,0 +1,24 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
autotools.configure("--disable-static \
--enable-widec \
--disable-dependency-tracking \
--enable-fast-install")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("ChangeLog", "COPYING", "THANKS")
pisitools.remove("/usr/lib/libedit.la")
+76
View File
@@ -0,0 +1,76 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libedit</Name>
<Homepage>http://www.thrysoee.dk/editline</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>BSD</License>
<IsA>library</IsA>
<Summary>An autotool and libtoolized port of the NetBSD Editline library</Summary>
<Description>libedit is a command line editing and history library. It is designed to be used by interactive programs that allow the user to type commands at a terminal prompt.</Description>
<Archive sha1sum="c5bf50b433ea35f9fc883400cde674556c44af30" type="targz">http://thrysoee.dk/editline/libedit-20150325-3.1.tar.gz</Archive>
<BuildDependencies>
<Dependency>ncurses-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libedit</Name>
<RuntimeDependencies>
<Dependency>ncurses</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>libedit-devel</Name>
<Summary>Development files for libedit</Summary>
<RuntimeDependencies>
<Dependency release="current">libedit</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="man">/usr/share/man/man3</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2015-06-25</Date>
<Version>3.1_20150325</Version>
<Comment>Version bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="3">
<Date>2014-05-19</Date>
<Version>3.1_20140213</Version>
<Comment>Version bump.</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-10-27</Date>
<Version>3.1_20130712</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-10-17</Date>
<Version>3.0_20120601</Version>
<Comment>First release</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
</History>
</PISI>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libedit</Name>
<Summary xml:lang="tr">NetBSD Editline kitaplığının Linux portu</Summary>
<Description xml:lang="tr">libedit, geçmiş bilgisini ve komut satırı düzenleme işlerini kolaylaştıran bir kitaplıktır.</Description>
</Source>
<Package>
<Name>libedit-devel</Name>
<Summary xml:lang="tr">libedit için geliştirme dosyaları</Summary>
</Package>
</PISI>
+21
View File
@@ -0,0 +1,21 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
autotools.autoreconf("-vif")
autotools.configure("--disable-static")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("ChangeLog", "COPYING", "README")
+96
View File
@@ -0,0 +1,96 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libXScrnSaver</Name>
<Homepage>http://www.x.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>MIT</License>
<IsA>library</IsA>
<Summary>X.Org XScrnSaver library</Summary>
<Description>LibXScrnSaver allows using screensavers in X clients.</Description>
<Archive sha1sum="7b8298eec371c33a71232e3653370a98f03c6c88" type="tarbz2">mirrors://xorg/individual/lib/libXScrnSaver-1.2.2.tar.bz2</Archive>
<BuildDependencies>
<Dependency>libXext-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libXScrnSaver</Name>
<RuntimeDependencies>
<Dependency>libXext</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>libXScrnSaver-devel</Name>
<Summary>Development files for libXScrnSaver</Summary>
<RuntimeDependencies>
<Dependency release="current">libXScrnSaver</Dependency>
<Dependency>libXext-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include/X11</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/lib32/pkgconfig</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<Package>
<Name>libXScrnSaver-32bit</Name>
<PartOf>emul32</PartOf>
<Summary>32-bit shared libraries for libXScrnSaver</Summary>
<BuildType>emul32</BuildType>
<BuildDependencies>
<Dependency>libX11-32bit</Dependency>
<Dependency>libXext-32bit</Dependency>
</BuildDependencies>
<RuntimeDependencies>
<Dependency release="current">libXScrnSaver</Dependency>
<Dependency>libX11-32bit</Dependency>
<Dependency>libXext-32bit</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib32</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2014-05-16</Date>
<Version>1.2.2</Version>
<Comment>Release bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2013-10-07</Date>
<Version>1.2.2</Version>
<Comment>Rebuild.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-08-25</Date>
<Version>1.2.2</Version>
<Comment>Release bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-06-01</Date>
<Version>1.2.2</Version>
<Comment>First release</Comment>
<Name>Erdem Artan</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,19 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libXScrnSaver</Name>
<Summary xml:lang="tr">X.Org XScrnSaver kitaplığı</Summary>
<Summary xml:lang="fr">Librairie XScrnSaver de X.Org</Summary>
<Summary xml:lang="de">X.Org XScrnSaver Bibliothek</Summary>
</Source>
<Package>
<Name>libXScrnSaver-devel</Name>
<Summary xml:lang="tr">libXScrnSaver için geliştirme dosyaları</Summary>
</Package>
<Package>
<Name>libXScrnSaver-32bit</Name>
<Summary xml:lang="tr">libXScrnSaver için 32-bit paylaşımlı kitaplıklar</Summary>
</Package>
</PISI>
+7 -7
View File
@@ -14,8 +14,8 @@
<Description>Epoxy is a library for handling OpenGL function pointer management for you.</Description>
<Archive sha1sum="e700520711b9e4fa07c286aa36e431d8ad4133f5" type="targz">https://github.com/anholt/libepoxy/archive/v1.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3</Dependency>
<Dependency>xorg-util</Dependency>
<Dependency>python3</Dependency>
<Dependency>xorg-util</Dependency>
<Dependency>mesa-devel</Dependency>
</BuildDependencies>
</Source>
@@ -26,13 +26,13 @@
<Dependency>mesa</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc/xdg</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="executable">/usr/lib</Path>
<Path fileType="config">/etc/xdg</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="executable">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="doc">/usr/share/man</Path>
<Path fileType="doc">/usr/share/man</Path>
</Files>
</Package>