This commit is contained in:
Ertuğrul Erata
2015-06-25 00:03:56 +03:00
parent ffbbf11346
commit ed4b0f6086
38 changed files with 3833 additions and 1 deletions
+3
View File
@@ -0,0 +1,3 @@
<PISI>
<Name>programming.build</Name>
</PISI>
+114
View File
@@ -0,0 +1,114 @@
# -*- 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 shelltools
from pisi.actionsapi import pkgconfig
from pisi.actionsapi import get
from pisi.actionsapi import kde4
#WorkDir = "%s-%s.src" % (get.srcNAME(), get.srcVERSION())
libdir = "/usr/lib32/llvm" if get.buildTYPE() == "emul32" else "/usr/lib/llvm"
lib = "lib32" if get.buildTYPE() == "emul32" else "lib"
def setup():
if not shelltools.isDirectory("tools/clang"):
pisitools.dosed("tools/cfe-3.5.0.src/lib/Driver/ToolChains.cpp", '"ld"', '"ld.gold"')
shelltools.move("tools/cfe-%s.src" % get.srcVERSION(), "tools/clang")
shelltools.move("tools/clang-tools-extra-*", "tools/clang/extra")
if not shelltools.isDirectory("projects/compiler-rt"):
shelltools.move("projects/compiler-rt-3.5*", "projects/compiler-rt")
pisitools.dosed("utils/llvm-build/llvm-build", "python", "python2.7")
pisitools.dosed("bindings/ocaml/Makefile.ocaml", '\$\(PROJ_libdir\)', libdir)
pisitools.dosed("Makefile.config.in", "\$\(PROJ_prefix\)/etc/llvm", "/etc/llvm")
pisitools.dosed("Makefile.config.in", "\$\(PROJ_prefix\)/lib", "$(PROJ_prefix)/%s/llvm" % lib)
pisitools.dosed("Makefile.config.in", "\$\(PROJ_prefix\)/docs/llvm", "$(PROJ_prefix)/share/doc/llvm")
pisitools.dosed("tools/llvm-config/llvm-config.cpp", '(ActiveLibDir\s=\sActivePrefix\s\+\s\"\/lib)(.*)', r'\1/llvm\2')
pisitools.dosed("autoconf/configure.ac", '\LLVM_LIBDIR="\$\{prefix\}/lib"', 'LLVM_LIBDIR="${prefix}/%s/llvm"' % lib)
pisitools.dosed("Makefile.rules", "\$\(RPATH\)\s-Wl,\$\(ExmplDir\)\s\$\(DynamicFlag\)", "$(DynamicFlag)")
pisitools.dosed("Makefile.rules", "\$\(RPATH\)\s-Wl,\$\(ToolDir\)\s\$\(DynamicFlag\)", "$(DynamicFlag)")
shelltools.export("CPPFLAGS","%s %s" % (get.CXXFLAGS(),pkgconfig.getLibraryCFLAGS("libffi")))
#pic_option = "enable" if get.ARCH() == "x86_64" else "disable"
shelltools.export("CC", "gcc")
shelltools.export("CXX", "g++")
options = "--libdir=%s \
--datadir=/usr/share/llvm \
--sysconfdir=/etc \
--enable-shared \
--enable-libffi \
--enable-targets=all \
--disable-expensive-checks \
--disable-debug-runtime \
--disable-assertions \
--disable-assertions \
--with-python=/usr/bin/python2.7 \
--with-binutils-include=/usr/include \
" % libdir
autotools.configure(options)
#def check():
# autotools.make("check")
# autotools.make("-C tools/clang test")
def build():
autotools.make("REQUIRES_RTTI=1")
def install():
if get.buildTYPE() == "emul32":
autotools.rawInstall("DESTDIR=%s \
PROJ_etcdir=/etc/llvm \
PROJ_libdir=/usr/lib32/llvm \
PROJ_docsdir=/%s/llvm"
% (get.installDIR(), get.docDIR()))
shelltools.chmod("%s/usr/lib32/llvm/*.a" % get.installDIR(), mode = 0644)
pisitools.dosym("llvm/LLVMgold.so", "/usr/lib32/LLVMgold.so")
pisitools.remove("/usr/lib32/llvm/*LLVMHello.*")
return
else:
autotools.rawInstall("DESTDIR=%s \
PROJ_etcdir=/etc/llvm \
PROJ_libdir=%s \
PROJ_docsdir=/%s/llvm"
% (get.installDIR(), libdir, get.docDIR()))
shelltools.chmod("%s/usr/lib/llvm/*.a" % get.installDIR(), 0644)
# Install static analyzers which aren't installed by default
for exe in ("scan-build", "scan-view"):
pisitools.insinto("/usr/lib/clang-analyzer/%s" % exe, "tools/clang/tools/%s/%s" % (exe, exe))
pisitools.dosym("/usr/lib/clang-analyzer/%s/%s" % (exe, exe), "/usr/bin/%s" % exe)
pisitools.dodir("/etc/ld.so.conf.d")
shelltools.echo("%s/etc/ld.so.conf.d/51-llvm.conf" % get.installDIR(), "/usr/lib/llvm")
# Symlink the gold plugin where clang expects it
pisitools.dosym("llvm/LLVMgold.so", "/usr/lib/LLVMgold.so")
# Remove example file
pisitools.remove("/usr/lib/llvm/*LLVMHello.*")
pisitools.remove("/usr/share/doc/llvm/*.tar.gz")
pisitools.remove("/usr/share/doc/llvm/ocamldoc/html/*.tar.gz")
pisitools.removeDir("/usr/share/doc/llvm/ps")
# Install vim syntax files for .ll and .td files
# llvm.vim additional file add ftdetct vim file to detect .ll and .td as llvm files
pisitools.insinto("/usr/share/vim/vimfiles/syntax", "utils/vim/*.vim")
# Install kate syntax file
pisitools.insinto("%s/katepart/syntax" % kde4.appsdir, "utils/kate/*.xml")
pisitools.dodoc("CREDITS.TXT", "LICENSE.TXT", "README.txt")
@@ -0,0 +1,39 @@
Index: cmake/modules/Makefile
===================================================================
--- cmake/modules/Makefile (revision 217483)
+++ cmake/modules/Makefile (revision 217484)
@@ -33,6 +33,16 @@
LLVM_ENABLE_RTTI := 0
endif
+LLVM_LIBS_TO_EXPORT := $(subst -l,,$(shell $(LLVM_CONFIG) --libs $(LINK_COMPONENTS) || echo Error))
+
+ifeq ($(LLVM_LIBS_TO_EXPORT),Error)
+$(error llvm-config --libs failed)
+endif
+
+ifndef LLVM_LIBS_TO_EXPORT
+$(error LLVM_LIBS_TO_EXPORT cannot be empty)
+endif
+
OBJMODS := LLVMConfig.cmake LLVMConfigVersion.cmake LLVMExports.cmake
$(PROJ_OBJ_DIR)/LLVMConfig.cmake: LLVMConfig.cmake.in $(LLVMBuildCMakeFrag)
@@ -45,7 +55,7 @@
-e 's/@LLVM_VERSION_PATCH@/'"$(LLVM_VERSION_PATCH)"'/' \
-e 's/@PACKAGE_VERSION@/'"$(LLVMVersion)"'/' \
-e 's/@LLVM_COMMON_DEPENDS@//' \
- -e 's/@LLVM_AVAILABLE_LIBS@/'"$(subst -l,,$(LLVMConfigLibs))"'/' \
+ -e 's/@LLVM_AVAILABLE_LIBS@/'"$(LLVM_LIBS_TO_EXPORT)"'/' \
-e 's/@LLVM_ALL_TARGETS@/'"$(ALL_TARGETS)"'/' \
-e 's/@LLVM_TARGETS_TO_BUILD@/'"$(TARGETS_TO_BUILD)"'/' \
-e 's/@LLVM_TARGETS_WITH_JIT@/'"$(TARGETS_WITH_JIT)"'/' \
@@ -83,7 +93,7 @@
$(Echo) 'Generating LLVM CMake target exports file'
$(Verb) ( \
echo '# LLVM CMake target exports. Do not include directly.' && \
- for lib in $(subst -l,,$(LLVMConfigLibs)); do \
+ for lib in $(LLVM_LIBS_TO_EXPORT); do \
echo 'add_library('"$$lib"' STATIC IMPORTED)' && \
echo 'set_property(TARGET '"$$lib"' PROPERTY IMPORTED_LOCATION "'"$(PROJ_libdir)/lib$$lib.a"'")' ; \
done && \
@@ -0,0 +1,28 @@
Index: llvm-toolchain-snapshot-3.5~svn211313/tools/bugpoint/Makefile
===================================================================
--- llvm-toolchain-snapshot-3.5~svn211313.orig/tools/bugpoint/Makefile
+++ llvm-toolchain-snapshot-3.5~svn211313/tools/bugpoint/Makefile
@@ -12,6 +12,9 @@ TOOLNAME := bugpoint
LINK_COMPONENTS := asmparser instrumentation scalaropts ipo linker bitreader \
bitwriter irreader vectorize objcarcopts codegen
+# Crappy workaround to make sure it links correctly.
+LLVMLibsOptions := ../../lib/IR/Release*/Pass.o
+
# Support plugins.
NO_DEAD_STRIP := 1
Index: llvm-toolchain-snapshot-3.5~svn211313/tools/opt/Makefile
===================================================================
--- llvm-toolchain-snapshot-3.5~svn211313.orig/tools/opt/Makefile
+++ llvm-toolchain-snapshot-3.5~svn211313/tools/opt/Makefile
@@ -10,7 +10,9 @@
LEVEL := ../..
TOOLNAME := opt
LINK_COMPONENTS := bitreader bitwriter asmparser irreader instrumentation scalaropts objcarcopts ipo vectorize all-targets codegen
+# Crappy workaround to make sure it links correctly.
+LLVMLibsOptions := ../../lib/IR/Release*/Pass.o
# Support plugins.
NO_DEAD_STRIP := 1
+202
View File
@@ -0,0 +1,202 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>llvm</Name>
<Homepage>http://www.llvm.org/</Homepage>
<Packager>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Packager>
<License>NCSA</License>
<Summary>The Low Level Virtual Machine</Summary>
<Description>The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. Despite its name, LLVM has little to do with traditional virtual machines, though it does provide helpful libraries that can be used to build them.</Description>
<Archive sha1sum="58d817ac2ff573386941e7735d30702fe71267d5" type="tarxz">http://llvm.org/releases/3.5.0/llvm-3.5.0.src.tar.xz</Archive>
<Archive sha1sum="834cee2ed8dc6638a486d8d886b6dce3db675ffa" type="tarxz" target="llvm-3.5.0.src/tools">http://llvm.org/releases/3.5.0/cfe-3.5.0.src.tar.xz</Archive>
<Archive sha1sum="74a84493e3313c180490a4affbb92d61ee4f0d21" type="tarxz" target="llvm-3.5.0.src/tools">http://llvm.org/releases/3.5.0/clang-tools-extra-3.5.0.src.tar.xz</Archive>
<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>ocaml</Dependency>
<Dependency>libffi-devel</Dependency>
<Dependency>libedit-devel</Dependency>
<!-- Use new plugin-api.h header file from binutils to enable LLVM gold plugin -->
<Dependency>binutils</Dependency>
</BuildDependencies>
<Patches>
<Patch>llvm-3.5.0-fix-cmake-llvm-exports.patch</Patch>
<Patch>llvm-3.5.0-force-link-pass.o.patch</Patch>
</Patches>
</Source>
<Package>
<Name>llvm</Name>
<IsA>app:console</IsA>
<IsA>library</IsA>
<RuntimeDependencies>
<Dependency release="current">llvm-libs</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="executable">/usr/bin/llvm-config</Path>
<Path fileType="header">/usr/include/llvm*</Path>
<Path fileType="library">/usr/lib/llvm</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/etc/ld.so.conf.d</Path>
<Path fileType="data">/etc/llvm</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/vim</Path>
<Path fileType="data">/usr/share/llvm/cmake</Path>
<!-- Kate syntax file -->
<Path fileType="data">/usr/share/kde4</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<Package>
<Name>llvm-libs</Name>
<IsA>library</IsA>
<Files>
<Path fileType="library">/usr/lib/llvm/libLLVM-3*</Path>
<Path fileType="data">/usr/share/licenses/llvm-libs/LICENSE</Path>
</Files>
</Package>
<Package>
<Name>llvm-ocaml</Name>
<IsA>library</IsA>
<PartOf>programming.language.ocaml</PartOf>
<Summary>OCaml binding for LLVM</Summary>
<RuntimeDependencies>
<Dependency release="current">llvm</Dependency>
<Dependency>ocaml</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/ocaml</Path>
</Files>
</Package>
<Package>
<Name>llvm-clang-analyzer</Name>
<IsA>app:console</IsA>
<Summary>A source code analysis framework</Summary>
<Description>The Clang Static Analyzer consists of both a source code analysis framework and a standalone tool that finds bugs in C and Objective-C programs.</Description>
<RuntimeDependencies>
<Dependency release="current">llvm-clang</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/lib/clang-analyzer</Path>
<Path fileType="executable">/usr/bin/scan-*</Path>
</Files>
</Package>
<Package>
<Name>llvm-clang</Name>
<Summary>A C language family front-end for LLVM</Summary>
<Description>The goal of the Clang project is to create a new C, C++, Objective C and Objective C++ front-end for the LLVM compiler.</Description>
<RuntimeDependencies>
<Dependency release="current">llvm</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin/clang*</Path>
<Path fileType="executable">/usr/bin/tblgen</Path>
<Path fileType="library">/usr/lib/clang</Path>
<Path fileType="library">/usr/lib/clang/libclang.so</Path>
<Path fileType="man">/usr/share/man/man1/clang.1</Path>
</Files>
</Package>
<Package>
<Name>llvm-clang-devel</Name>
<Summary>Development headers for llvm-clang</Summary>
<RuntimeDependencies>
<Dependency release="current">llvm-clang</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include/clang</Path>
<Path fileType="header">/usr/include/clang-c</Path>
</Files>
</Package>
<Package>
<Name>llvm-docs</Name>
<PartOf>programming.docs</PartOf>
<IsA>data:doc</IsA>
<Summary>Documentation for LLVM</Summary>
<Files>
<Path fileType="doc">/usr/share/doc/llvm/html</Path>
<Path fileType="doc">/usr/share/doc/llvm/ocamldoc</Path>
</Files>
</Package>
<Package>
<Name>llvm-32bit</Name>
<PartOf>emul32</PartOf>
<Summary>32-bit shared libraries for llvm</Summary>
<BuildType>emul32</BuildType>
<BuildDependencies>
<Dependency>zlib-32bit</Dependency>
<Dependency>libffi-32bit</Dependency>
</BuildDependencies>
<RuntimeDependencies>
<Dependency release="current">llvm</Dependency>
<Dependency>zlib-32bit</Dependency>
<Dependency>libffi-32bit</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib32</Path>
</Files>
</Package>
<History>
<Update release="7">
<Date>2014-09-23</Date>
<Version>3.5.0</Version>
<Comment>Version bump.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="6">
<Date>2014-05-11</Date>
<Version>3.4.1</Version>
<Comment>Release bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2014-05-11</Date>
<Version>3.4.1</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2013-09-01</Date>
<Version>3.3</Version>
<Comment>Release bump, already cleaned.</Comment>
<Name>marcin bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2013-07-26</Date>
<Version>3.3</Version>
<Comment>Version bump.</Comment>
<Name>marcin bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-02-18</Date>
<Version>3.2</Version>
<Comment>version bump</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-06-11</Date>
<Version>3.1</Version>
<Comment>First release</Comment>
<Name>marcin bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
</History>
</PISI>
+33
View File
@@ -0,0 +1,33 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>llvm</Name>
<Summary xml:lang="tr">Düşük Seviye Sanal Makine (LLVM)</Summary>
<Description xml:lang="tr">LLVM projesi, modüler ve tekrar tekrar kullanılabilir derleyici teknolojileri koleksiyonudur. Adının aksine geleneksel sanal makinelerden çok farklıdır; ancak sanal makineleri oluşturmak için faydalı kitaplıklar içerir.</Description>
</Source>
<Package>
<Name>llvm-ocaml</Name>
<Summary xml:lang="tr">LLVM için OCaml bağlayıcısı</Summary>
</Package>
<Package>
<Name>llvm-clang-analyzer</Name>
<Summary xml:lang="tr">C ve Objective-C için kod analiz altyapısı</Summary>
</Package>
<Package>
<Name>llvm-clang</Name>
<Summary xml:lang="tr">LLVM için C dili ailesi ön ucu</Summary>
</Package>
<Package>
<Name>llvm-clang-devel</Name>
<Summary xml:lang="tr">llvm-clang için başlık dosyaları</Summary>
</Package>
<Package>
<Name>llvm-docs</Name>
<Summary xml:lang="tr">LLVM belgeleri</Summary>
</Package>
</PISI>
+3
View File
@@ -0,0 +1,3 @@
<PISI>
<Name>programming.language.ocaml</Name>
</PISI>
@@ -0,0 +1,45 @@
#!/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 shelltools
from pisi.actionsapi import get
def setup():
#shelltools.export("CFLAGS", get.CFLAGS().replace("-fomit-frame-pointer", ""))
#shelltools.export("LDFLAGS", get.LDFLAGS())
autotools.rawConfigure("-prefix /usr \
-bindir /usr/bin \
-x11include /usr/include \
-libdir /usr/lib/ocaml \
-mandir /usr/share/man \
--with-pthread")
def build():
autotools.make("-j1 world")
autotools.make("-j1 opt")
autotools.make("-j1 opt.opt")
autotools.make("-C emacs ocamltags")
def install():
autotools.rawInstall("BINDIR=%(install)s/usr/bin \
LIBDIR=%(install)s/usr/lib/ocaml \
MANDIR=%(install)s/usr/share/man" \
% { "install": get.installDIR()})
pisitools.dodoc("Changes", "LICENSE", "README")
''' autotools.rawInstall("-C emacs \
BINDIR=%(install)s/usr/bin \
EMACSDIR=%(install)s/usr/share/emacs/site-lisp"
% { "install": get.installDIR()})
'''
# Remove rpaths from stublibs .so files
shelltools.system("chrpath --delete %s/usr/lib/ocaml/stublibs/*.so"
% get.installDIR())
@@ -0,0 +1,24 @@
From ccc1bf226619608230dc94b26377756719cf7b20 Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Tue, 24 Jun 2014 22:29:38 +0100
Subject: [PATCH 01/12] Don't ignore ./configure, it's a real git file.
---
.gitignore | 1 -
1 file changed, 1 deletion(-)
diff --git a/.gitignore b/.gitignore
index d36195a..dbb0e3e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,7 +19,6 @@
/.depend
/.depend.nt
/.DS_Store
-/configure
/ocamlc
/ocamlc.opt
/expunge
--
2.0.4
@@ -0,0 +1,18 @@
From 0e3b6450f6ab803442a809b6da41d5d5c5da650f Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Thu, 7 Jun 2012 15:36:16 +0100
Subject: [PATCH 02/12] Ensure empty compilerlibs/ directory is created by git.
This directory exists in the OCaml tarball, but is empty. As a
result, git ignores it unless we put a dummy file in it.
---
compilerlibs/.exists | 0
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 compilerlibs/.exists
diff --git a/compilerlibs/.exists b/compilerlibs/.exists
new file mode 100644
index 0000000..e69de29
--
2.0.4
@@ -0,0 +1,29 @@
From 79f0f91e3e4abbfbd3564c11ea72e53310236afc Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Tue, 24 Jun 2014 10:00:15 +0100
Subject: [PATCH 03/12] Don't add rpaths to libraries.
---
tools/Makefile.shared | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/Makefile.shared b/tools/Makefile.shared
index 2517434..75a75b4 100644
--- a/tools/Makefile.shared
+++ b/tools/Makefile.shared
@@ -112,9 +112,9 @@ ocamlmklibconfig.ml: ../config/Makefile
echo 'let ext_dll = "$(EXT_DLL)"'; \
echo 'let supports_shared_libraries = $(SUPPORTS_SHARED_LIBRARIES)';\
echo 'let mkdll = "$(MKDLL)"'; \
- echo 'let byteccrpath = "$(BYTECCRPATH)"'; \
- echo 'let nativeccrpath = "$(NATIVECCRPATH)"'; \
- echo 'let mksharedlibrpath = "$(MKSHAREDLIBRPATH)"'; \
+ echo 'let byteccrpath = ""'; \
+ echo 'let nativeccrpath = ""'; \
+ echo 'let mksharedlibrpath = ""'; \
echo 'let toolpref = "$(TOOLPREF)"'; \
sed -n -e 's/^#ml //p' ../config/Makefile) \
> ocamlmklibconfig.ml
--
2.0.4
@@ -0,0 +1,240 @@
From 11b377aee2811891635982a5590fef62f12645b6 Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Tue, 29 May 2012 20:40:36 +0100
Subject: [PATCH 04/12] ocamlbyteinfo, ocamlplugininfo: Useful utilities from
Debian, sent upstream.
See:
http://git.debian.org/?p=pkg-ocaml-maint/packages/ocaml.git;a=tree;f=debian/ocamlbyteinfo;hb=HEAD
---
ocamlbyteinfo.ml | 101 +++++++++++++++++++++++++++++++++++++++++++++++++
ocamlplugininfo.ml | 109 +++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 210 insertions(+)
create mode 100644 ocamlbyteinfo.ml
create mode 100644 ocamlplugininfo.ml
diff --git a/ocamlbyteinfo.ml b/ocamlbyteinfo.ml
new file mode 100644
index 0000000..eb9a293
--- /dev/null
+++ b/ocamlbyteinfo.ml
@@ -0,0 +1,101 @@
+(***********************************************************************)
+(* *)
+(* Objective Caml *)
+(* *)
+(* Xavier Leroy, projet Gallium, INRIA Rocquencourt *)
+(* *)
+(* Copyright 2009 Institut National de Recherche en Informatique et *)
+(* en Automatique. All rights reserved. This file is distributed *)
+(* under the terms of the GNU Library General Public License, with *)
+(* the special exception on linking described in file ../../LICENSE. *)
+(* *)
+(***********************************************************************)
+
+(* $Id$ *)
+
+(* Dumps a bytecode binary file *)
+
+open Sys
+open Dynlinkaux
+
+let input_stringlist ic len =
+ let get_string_list sect len =
+ let rec fold s e acc =
+ if e != len then
+ if sect.[e] = '\000' then
+ fold (e+1) (e+1) (String.sub sect s (e-s) :: acc)
+ else fold s (e+1) acc
+ else acc
+ in fold 0 0 []
+ in
+ let sect = String.create len in
+ let _ = really_input ic sect 0 len in
+ get_string_list sect len
+
+let print = Printf.printf
+let perr s =
+ Printf.eprintf "%s\n" s;
+ exit(1)
+let p_title title = print "%s:\n" title
+
+let p_section title format pdata = function
+ | [] -> ()
+ | l ->
+ p_title title;
+ List.iter
+ (fun (name, data) -> print format (pdata data) name)
+ l
+
+let p_list title format = function
+ | [] -> ()
+ | l ->
+ p_title title;
+ List.iter
+ (fun name -> print format name)
+ l
+
+let _ =
+ try
+ let input_name = Sys.argv.(1) in
+ let ic = open_in_bin input_name in
+ Bytesections.read_toc ic;
+ List.iter
+ (fun section ->
+ try
+ let len = Bytesections.seek_section ic section in
+ if len > 0 then match section with
+ | "CRCS" ->
+ p_section
+ "Imported Units"
+ "\t%s\t%s\n"
+ Digest.to_hex
+ (input_value ic : (string * Digest.t) list)
+ | "DLLS" ->
+ p_list
+ "Used Dlls" "\t%s\n"
+ (input_stringlist ic len)
+ | "DLPT" ->
+ p_list
+ "Additional Dll paths"
+ "\t%s\n"
+ (input_stringlist ic len)
+ | "PRIM" ->
+ let prims = (input_stringlist ic len) in
+ print "Uses unsafe features: ";
+ begin match prims with
+ [] -> print "no\n"
+ | l -> print "YES\n";
+ p_list "Primitives declared in this module"
+ "\t%s\n"
+ l
+ end
+ | _ -> ()
+ with Not_found | Failure _ | Invalid_argument _ -> ()
+ )
+ ["CRCS"; "DLLS"; "DLPT"; "PRIM"];
+ close_in ic
+ with
+ | Sys_error msg ->
+ perr msg
+ | Invalid_argument("index out of bounds") ->
+ perr (Printf.sprintf "Usage: %s filename" Sys.argv.(0))
diff --git a/ocamlplugininfo.ml b/ocamlplugininfo.ml
new file mode 100644
index 0000000..e28800f
--- /dev/null
+++ b/ocamlplugininfo.ml
@@ -0,0 +1,109 @@
+(***********************************************************************)
+(* *)
+(* Objective Caml *)
+(* *)
+(* Xavier Leroy, projet Gallium, INRIA Rocquencourt *)
+(* *)
+(* Copyright 2009 Institut National de Recherche en Informatique et *)
+(* en Automatique. All rights reserved. This file is distributed *)
+(* under the terms of the GNU Library General Public License, with *)
+(* the special exception on linking described in file ../../LICENSE. *)
+(* *)
+(***********************************************************************)
+
+(* $Id$ *)
+
+(* Dumps a .cmxs file *)
+
+open Natdynlink
+open Format
+
+let file =
+ try
+ Sys.argv.(1)
+ with _ -> begin
+ Printf.eprintf "Usage: %s file.cmxs\n" Sys.argv.(0);
+ exit(1)
+ end
+
+exception Abnormal_exit
+
+let error s e =
+ let eprint = Printf.eprintf in
+ let print_exc s = function
+ | End_of_file ->
+ eprint "%s: %s\n" s file
+ | Abnormal_exit ->
+ eprint "%s\n" s
+ | e -> eprint "%s\n" (Printexc.to_string e)
+ in
+ print_exc s e;
+ exit(1)
+
+let read_in command =
+ let cmd = Printf.sprintf command file in
+ let ic = Unix.open_process_in cmd in
+ try
+ let line = input_line ic in
+ begin match (Unix.close_process_in ic) with
+ | Unix.WEXITED 0 -> Str.split (Str.regexp "[ ]+") line
+ | Unix.WEXITED _ | Unix.WSIGNALED _ | Unix.WSTOPPED _ ->
+ error
+ (Printf.sprintf
+ "Command \"%s\" exited abnormally"
+ cmd
+ )
+ Abnormal_exit
+ end
+ with e -> error "File is empty" e
+
+let get_offset adr_off adr_sec =
+ try
+ let adr = List.nth adr_off 4 in
+ let off = List.nth adr_off 5 in
+ let sec = List.hd adr_sec in
+
+ let (!) x = Int64.of_string ("0x" ^ x) in
+ let (+) = Int64.add in
+ let (-) = Int64.sub in
+
+ Int64.to_int (!off + !sec - !adr)
+
+ with Failure _ | Invalid_argument _ ->
+ error
+ "Command output doesn't have the expected format"
+ Abnormal_exit
+
+let print_infos name crc defines cmi cmx =
+ let print_name_crc (name, crc) =
+ printf "@ %s (%s)" name (Digest.to_hex crc)
+ in
+ let pr_imports ppf imps = List.iter print_name_crc imps in
+ printf "Name: %s@." name;
+ printf "CRC of implementation: %s@." (Digest.to_hex crc);
+ printf "@[<hov 2>Globals defined:";
+ List.iter (fun s -> printf "@ %s" s) defines;
+ printf "@]@.";
+ printf "@[<v 2>Interfaces imported:%a@]@." pr_imports cmi;
+ printf "@[<v 2>Implementations imported:%a@]@." pr_imports cmx
+
+let _ =
+ let adr_off = read_in "objdump -h %s | grep ' .data '" in
+ let adr_sec = read_in "objdump -T %s | grep ' caml_plugin_header$'" in
+
+ let ic = open_in file in
+ let _ = seek_in ic (get_offset adr_off adr_sec) in
+ let header = (input_value ic : Natdynlink.dynheader) in
+ if header.magic <> Natdynlink.dyn_magic_number then
+ raise(Error(Natdynlink.Not_a_bytecode_file file))
+ else begin
+ List.iter
+ (fun ui ->
+ print_infos
+ ui.name
+ ui.crc
+ ui.defines
+ ui.imports_cmi
+ ui.imports_cmx)
+ header.units
+ end
--
2.0.4
@@ -0,0 +1,27 @@
From 5308c47681201ef3beef3e543ab877f81aa08784 Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Tue, 29 May 2012 20:44:18 +0100
Subject: [PATCH 05/12] configure: Allow user defined C compiler flags.
---
configure | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/configure b/configure
index dbc6178..c1133ee 100755
--- a/configure
+++ b/configure
@@ -1633,6 +1633,10 @@ case "$buggycc" in
nativecccompopts="$nativecccompopts -fomit-frame-pointer";;
esac
+# Allow user defined C Compiler flags
+bytecccompopts="$bytecccompopts $CFLAGS"
+nativecccompopts="$nativecccompopts $CFLAGS"
+
# Finish generated files
cclibs="$cclibs $mathlib"
--
2.0.4
@@ -0,0 +1,118 @@
From 0641f11626be99c8bde349520ac28a8d93106856 Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Tue, 1 Apr 2014 11:17:07 +0100
Subject: [PATCH 09/12] arg: Add no_arg and get_arg helper functions.
The no_arg function in this patch is a no-op. It will do something
useful in the followups.
The get_arg function simply checks the next position on the command
line exists and returns that argument or raises a Arg.Missing.
This patch should introduce no functional change, it is simply code
refactoring.
In particular, this should not change the treatment of Arg.current
(see: http://caml.inria.fr/mantis/view.php?id=5197#c11147)
---
stdlib/arg.ml | 47 ++++++++++++++++++++++++++---------------------
1 file changed, 26 insertions(+), 21 deletions(-)
diff --git a/stdlib/arg.ml b/stdlib/arg.ml
index 0f6480b..a41e0a2 100644
--- a/stdlib/arg.ml
+++ b/stdlib/arg.ml
@@ -134,56 +134,62 @@ let parse_argv_dynamic ?(current=current) argv speclist anonfun errmsg =
try assoc3 s !speclist
with Not_found -> stop (Unknown s)
in
+ let no_arg () = () in
+ let get_arg () =
+ if !current + 1 < l then argv.(!current + 1)
+ else stop (Missing s)
+ in
begin try
let rec treat_action = function
- | Unit f -> f ();
- | Bool f when !current + 1 < l ->
- let arg = argv.(!current + 1) in
+ | Unit f -> no_arg (); f ();
+ | Bool f ->
+ let arg = get_arg () in
begin try f (bool_of_string arg)
with Invalid_argument "bool_of_string" ->
raise (Stop (Wrong (s, arg, "a boolean")))
end;
incr current;
- | Set r -> r := true;
- | Clear r -> r := false;
- | String f when !current + 1 < l ->
- f argv.(!current + 1);
+ | Set r -> no_arg (); r := true;
+ | Clear r -> no_arg (); r := false;
+ | String f ->
+ let arg = get_arg () in
+ f arg;
incr current;
- | Symbol (symb, f) when !current + 1 < l ->
- let arg = argv.(!current + 1) in
+ | Symbol (symb, f) ->
+ let arg = get_arg () in
if List.mem arg symb then begin
- f argv.(!current + 1);
+ f arg;
incr current;
end else begin
raise (Stop (Wrong (s, arg, "one of: "
^ (make_symlist "" " " "" symb))))
end
- | Set_string r when !current + 1 < l ->
- r := argv.(!current + 1);
+ | Set_string r ->
+ r := get_arg ();
incr current;
- | Int f when !current + 1 < l ->
- let arg = argv.(!current + 1) in
+ | Int f ->
+ let arg = get_arg () in
begin try f (int_of_string arg)
with Failure "int_of_string" ->
raise (Stop (Wrong (s, arg, "an integer")))
end;
incr current;
- | Set_int r when !current + 1 < l ->
- let arg = argv.(!current + 1) in
+ | Set_int r ->
+ let arg = get_arg () in
begin try r := (int_of_string arg)
with Failure "int_of_string" ->
raise (Stop (Wrong (s, arg, "an integer")))
end;
incr current;
- | Float f when !current + 1 < l ->
- let arg = argv.(!current + 1) in
+ | Float f ->
+ let arg = get_arg () in
begin try f (float_of_string arg);
with Failure "float_of_string" ->
raise (Stop (Wrong (s, arg, "a float")))
end;
incr current;
- | Set_float r when !current + 1 < l ->
- let arg = argv.(!current + 1) in
+ | Set_float r ->
+ let arg = get_arg () in
begin try r := (float_of_string arg);
with Failure "float_of_string" ->
raise (Stop (Wrong (s, arg, "a float")))
@@ -196,7 +202,6 @@ let parse_argv_dynamic ?(current=current) argv speclist anonfun errmsg =
f argv.(!current + 1);
incr current;
done;
- | _ -> raise (Stop (Missing s))
in
treat_action action
with Bad m -> stop (Message m);
--
2.0.4
@@ -0,0 +1,84 @@
From 4d1defe6f017b86b0766fd02005a468bedd9aa88 Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Tue, 1 Apr 2014 11:21:40 +0100
Subject: [PATCH 10/12] arg: Allow flags such as --flag=arg as well as --flag
arg.
Allow flags to be followed directly by their argument, separated by an '='
sign. This is consistent with what GNU getopt_long and many other
command line parsing libraries allow.
Fix for the following issue:
http://caml.inria.fr/mantis/view.php?id=5197
---
stdlib/arg.ml | 30 ++++++++++++++++++++++++------
stdlib/arg.mli | 3 ++-
2 files changed, 26 insertions(+), 7 deletions(-)
diff --git a/stdlib/arg.ml b/stdlib/arg.ml
index a41e0a2..5ffdabc 100644
--- a/stdlib/arg.ml
+++ b/stdlib/arg.ml
@@ -55,6 +55,12 @@ let rec assoc3 x l =
| _ :: t -> assoc3 x t
;;
+let split s =
+ let i = String.index s '=' in
+ let len = String.length s in
+ String.sub s 0 i, String.sub s (i+1) (len-(i+1))
+;;
+
let make_symlist prefix sep suffix l =
match l with
| [] -> "<none>"
@@ -130,14 +136,26 @@ let parse_argv_dynamic ?(current=current) argv speclist anonfun errmsg =
while !current < l do
let s = argv.(!current) in
if String.length s >= 1 && s.[0] = '-' then begin
- let action =
- try assoc3 s !speclist
- with Not_found -> stop (Unknown s)
+ let action, follow =
+ try assoc3 s !speclist, None
+ with Not_found ->
+ try
+ let keyword, arg = split s in
+ assoc3 keyword !speclist, Some arg
+ with Not_found -> stop (Unknown s)
in
- let no_arg () = () in
+ let no_arg () =
+ match follow with
+ | None -> ()
+ | Some arg -> stop (Wrong (s, arg, "no argument")) in
let get_arg () =
- if !current + 1 < l then argv.(!current + 1)
- else stop (Missing s)
+ match follow with
+ | None ->
+ if !current + 1 < l then argv.(!current + 1)
+ else stop (Missing s)
+ | Some arg ->
+ decr current;
+ arg
in
begin try
let rec treat_action = function
diff --git a/stdlib/arg.mli b/stdlib/arg.mli
index 22eda40..7078071 100644
--- a/stdlib/arg.mli
+++ b/stdlib/arg.mli
@@ -25,7 +25,8 @@
[Unit], [Set] and [Clear] keywords take no argument. A [Rest]
keyword takes the remaining of the command line as arguments.
Every other keyword takes the following word on the command line
- as argument.
+ as argument. For compatibility with GNU getopt_long, [keyword=arg]
+ is also allowed.
Arguments not preceded by a keyword are called anonymous arguments.
Examples ([cmd] is assumed to be the command name):
--
2.0.4
+106
View File
@@ -0,0 +1,106 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>ocaml</Name>
<Homepage>http://www.ocaml.org/</Homepage>
<Packager>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Packager>
<License>OPL</License>
<IsA>app:console</IsA>
<Summary>Fast modern type-inferring functional programming language</Summary>
<Description>A fast modern type-inferring functional programming language descended from the ML (Meta Language) family.</Description>
<!-- Caution! Updating this package to a new version, may break ocaml modules like facile. Modules need to be recompiled to resolve this. Also, errors like below are indications of this situation:
File "_none_", line 1, characters 0-1:
Error: Files /usr/lib/ocaml/facile/facile.cmxa and /usr/lib/ocaml/stdlib.cmxa
make inconsistent assumptions over implementation Printf
-->
<Archive sha1sum="d86b0be89f6e921b90e7230da40620dd16758fc1" type="tarxz">http://caml.inria.fr/pub/distrib/ocaml-4.02/ocaml-4.02.1.tar.xz</Archive>
<BuildDependencies>
<Dependency>zlib-devel</Dependency>
<Dependency>ncurses-devel</Dependency>
<Dependency>libX11-devel</Dependency>
<Dependency>chrpath</Dependency>
</BuildDependencies>
<Patches>
<Patch>fedora/0001-Don-t-ignore-.-configure-it-s-a-real-git-file.patch</Patch>
<Patch>fedora/0002-Ensure-empty-compilerlibs-directory-is-created-by-gi.patch</Patch>
<Patch>fedora/0003-Don-t-add-rpaths-to-libraries.patch</Patch>
<Patch>fedora/0004-ocamlbyteinfo-ocamlplugininfo-Useful-utilities-from-.patch</Patch>
<Patch>fedora/0005-configure-Allow-user-defined-C-compiler-flags.patch</Patch>
<Patch>fedora/0009-arg-Add-no_arg-and-get_arg-helper-functions.patch</Patch>
<Patch>fedora/0010-arg-Allow-flags-such-as-flag-arg-as-well-as-flag-arg.patch</Patch>
<Patch>fedora/0011-PR-6517-use-ISO-C99-types-u-int-32-64-_t-in-preferen.patch</Patch>
</Patches>
</Source>
<Package>
<Name>ocaml</Name>
<RuntimeDependencies>
<Dependency>zlib</Dependency>
<Dependency>ncurses</Dependency>
<Dependency>libX11</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin/</Path>
<Path fileType="library">/usr/lib/</Path>
<Path fileType="doc">/usr/share/doc/</Path>
<Path fileType="man">/usr/share/man/</Path>
</Files>
</Package>
<History>
<Update release="7">
<Date>2015-04-04</Date>
<Version>4.02.1</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="6">
<Date>2014-11-16</Date>
<Version>4.00.2</Version>
<Comment>Rebuild</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2014-09-23</Date>
<Version>4.00.2</Version>
<Comment>Version bump.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2014-05-24</Date>
<Version>3.4.1</Version>
<Comment>Version bump.</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2014-02-07</Date>
<Version>4.00.1</Version>
<Comment>Rebuild.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2014-01-29</Date>
<Version>4.01.0</Version>
<Comment>Version bump.</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-09-20</Date>
<Version>4.00.0</Version>
<Comment>First release</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,18 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>ocaml</Name>
<Summary xml:lang="tr">Hızlı ve modern bir programlama dili</Summary>
<Description xml:lang="tr">OcaML, ML dilinin soyundan gelen fonksiyonel bir programlama dilidir</Description>
</Source>
<Package>
<Name>ocaml-mode</Name>
<Summary xml:lang="tr">Emacs için ocaml kipi</Summary>
</Package>
<Package>
<Name>labltk</Name>
<Summary xml:lang="tr">Ocaml için tk araç bağlayıcıları</Summary>
</Package>
</PISI>
+3
View File
@@ -0,0 +1,3 @@
<PISI>
<Name>programming.language.tcl</Name>
</PISI>
+61
View File
@@ -0,0 +1,61 @@
# -*- 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 get
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
def setup():
shelltools.unlinkDir("%s/tcl8.6.4/pkgs/sqlite3.8.8.3" % get.workDIR())
shelltools.cd("unix")
autotools.autoreconf("-fi")
autotools.configure("--with-encoding=utf-8 \
--enable-threads \
--enable-man-compression=gzip \
--mandir=/usr/share/man \
--enable-man-symlinks \
--enable-shared \
--enable-64bit")
def build():
shelltools.cd("unix")
autotools.make()
def install():
shelltools.cd("unix")
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
# Collect private headers, 3rd party apps like Tile depends on this
shelltools.cd("..")
pisitools.dodir("/usr/include/tcl-private/generic")
pisitools.dodir("/usr/include/tcl-private/unix")
shelltools.copy("unix/*.h","%s/usr/include/tcl-private/unix" % get.installDIR())
shelltools.copy("generic/*.h", "%s/usr/include/tcl-private/generic" % get.installDIR())
# Remove duplicated headers
pisitools.remove("/usr/include/tcl-private/generic/tcl.h")
pisitools.remove("/usr/include/tcl-private/generic/tclDecls.h")
pisitools.remove("/usr/include/tcl-private/generic/tclPlatDecls.h")
# Remove man file sqlite paket çakışması için silindi.
#pisitools.remove("/usr/share/man/mann/sqlite3.n")
# Expect package needs these symlinks
pisitools.dosym("/usr/include/tcl-private/unix/tclUnixPort.h","/usr/include/tcl-private/generic/tclUnixPort.h")
pisitools.dosym("/usr/include/tcl-private/unix/tclUnixThrd.h","/usr/include/tcl-private/generic/tclUnixThrd.h")
# Remove tmp path from tclConfig.sh
pisitools.dosed("%s/usr/lib/tclConfig.sh" % get.installDIR(),"%s/unix" % get.curDIR() ,"/usr/lib/")
pisitools.dosed("%s/usr/lib/tclConfig.sh" % get.installDIR(),"%s" % get.curDIR() ,"/usr/include/tcl-private")
# Some apps need compat headers
pisitools.dodir("/usr/include/tcl-private/compat")
shelltools.copy("compat/*.h", "%s/usr/include/tcl-private/compat" % get.installDIR())
pisitools.dosym("/usr/bin/tclsh8.6","/usr/bin/tclsh")
pisitools.dodoc("ChangeLog","changes","license.terms","README")
+19
View File
@@ -0,0 +1,19 @@
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 194cf90..76773f3 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1415,12 +1415,12 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
# get rid of the warnings.
#CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
- SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}'
+ SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS} -fPIC -Wl,-soname,${@}'
DL_OBJS="tclLoadDl.o"
DL_LIBS="-ldl"
LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
AS_IF([test $doRpath = yes], [
- CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'])
+ CC_SEARCH_FLAGS=''])
LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
AS_IF([test "`uname -m`" = "alpha"], [CFLAGS="$CFLAGS -mieee"])
AS_IF([test $do64bit = yes], [
+35
View File
@@ -0,0 +1,35 @@
diff --git a/generic/tclInt.h b/generic/tclInt.h
index 380284f..7bb5eb9 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -3160,7 +3160,7 @@ MODULE_SCOPE void TclClockInit(Tcl_Interp *interp);
MODULE_SCOPE int TclClockOldscanObjCmd(
ClientData clientData, Tcl_Interp *interp,
int objc, Tcl_Obj *const objv[]);
-MODULE_SCOPE int Tcl_CloseObjCmd(ClientData clientData,
+extern int Tcl_CloseObjCmd(ClientData clientData,
Tcl_Interp *interp, int objc,
Tcl_Obj *const objv[]);
MODULE_SCOPE int Tcl_ConcatObjCmd(ClientData clientData,
@@ -3343,7 +3343,7 @@ MODULE_SCOPE int Tcl_RenameObjCmd(ClientData clientData,
MODULE_SCOPE int Tcl_RepresentationCmd(ClientData clientData,
Tcl_Interp *interp, int objc,
Tcl_Obj *const objv[]);
-MODULE_SCOPE int Tcl_ReturnObjCmd(ClientData clientData,
+extern int Tcl_ReturnObjCmd(ClientData clientData,
Tcl_Interp *interp, int objc,
Tcl_Obj *const objv[]);
MODULE_SCOPE int Tcl_ScanObjCmd(ClientData clientData,
diff --git a/generic/tclPort.h b/generic/tclPort.h
index 12a60db..d817154 100644
--- a/generic/tclPort.h
+++ b/generic/tclPort.h
@@ -20,7 +20,7 @@
#if defined(_WIN32)
# include "tclWinPort.h"
#else
-# include "tclUnixPort.h"
+# include "../unix/tclUnixPort.h"
#endif
#include "tcl.h"
+135
View File
@@ -0,0 +1,135 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>tcl</Name>
<Homepage>http://www.tcl.tk</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>as-is</License>
<IsA>app:console</IsA>
<Summary>Tcl programming language</Summary>
<Description>Tcl provides a powerful platform for creating integration applications that tie together diverse applications, protocols, devices, and frameworks.</Description>
<Archive sha1sum="33c5a083a23cf54f15e25a9e787dc39ef3fa0a2b" type="targz">mirrors://sourceforge/tcl/tcl8.6.4-src.tar.gz</Archive>
<BuildDependencies>
<Dependency>zlib-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>tcl</Name>
<RuntimeDependencies>
<Dependency>zlib</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/lib/tcl8.5</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<Package>
<Name>tcl-devel</Name>
<Summary>Development files for tcl</Summary>
<RuntimeDependencies>
<Dependency release="current">tcl</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/*.a</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/lib/tclConfig.sh</Path>
<Path fileType="man">/usr/share/man/man3</Path>
</Files>
</Package>
<Package>
<Name>sqlite-tcl</Name>
<Summary>files for sqlite-tcl</Summary>
<RuntimeDependencies>
<Dependency release="current">tcl</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/sqlite3.8.8.3/libsqlite*</Path>
<Path fileType="data">/usr/lib/tcl8/8.6/tdbc/sqlite3-1.0.3.tm</Path>
<Path fileType="man">/usr/share/man/mann/tdbc_sqlite3.n</Path>
<Path fileType="man">/usr/share/man/mann/sqlite3.n</Path>
</Files>
</Package>
<History>
<Update release="10">
<Date>2015-06-11</Date>
<Version>8.6.4</Version>
<Comment>Version bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="9">
<Date>2015-03-03</Date>
<Version>8.6.3</Version>
<Comment>Rebuild.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="8">
<Date>2014-12-12</Date>
<Version>8.6.3</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="7">
<Date>2014-09-30</Date>
<Version>8.6.2</Version>
<Comment>Version bump.</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
<Update release="6">
<Date>2014-05-17</Date>
<Version>8.6.1</Version>
<Comment>Add patch.</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2014-01-06</Date>
<Version>8.6.1</Version>
<Comment>Rebuild to fix stripping.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2013-10-24</Date>
<Version>8.6.1</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2013-07-26</Date>
<Version>8.6.0</Version>
<Comment>Move pc files to devel pack, increase release no.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-01-26</Date>
<Version>8.6.0</Version>
<Comment>bump</Comment>
<Name>Erdinç Gültekin</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-09-15</Date>
<Version>8.5.12</Version>
<Comment>First release</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
</History>
</PISI>
+14
View File
@@ -0,0 +1,14 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>tcl</Name>
<Summary xml:lang="tr">Tcl programlama dili</Summary>
<Description xml:lang="tr">Tcl, çeşitli uygulamalar geliştirmek için kullanılabilen bir programlama dilidir. </Description>
<Description xml:lang="es">Tcl provee una plataforma potente para crear aplicaciones de integración de diversos aplicaciones, protocolos, dispositivos y frameworks</Description>
</Source>
<Package>
<Name>tcl-devel</Name>
<Summary xml:lang="tr">tcl için geliştirme dosyaları</Summary>
</Package>
</PISI>
+47
View File
@@ -0,0 +1,47 @@
#!/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 get
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
WorkDir="tk%s" % get.srcVERSION()
def setup():
shelltools.cd("unix")
autotools.autoconf()
autotools.configure("--enable-threads \
--enable-man-compression=gzip \
--enable-man-symlinks \
--enable-64bit \
--with-x \
--enable-xft")
def build():
autotools.make("-C unix")
def install():
shelltools.system("make -C unix DESTDIR=%s install" % get.installDIR())
# Collect private headers, 3rd party apps like Tile depends on this
pisitools.dodir("/usr/include/tk-private/generic")
pisitools.dodir("/usr/include/tk-private/unix")
shelltools.copy("unix/*.h", "%s/usr/include/tk-private/unix" % get.installDIR())
shelltools.copy("generic/*.h", "%s/usr/include/tk-private/generic" % get.installDIR())
# Remove duplicated headers
pisitools.remove("/usr/include/tk-private/generic/tk.h")
pisitools.remove("/usr/include/tk-private/generic/tkDecls.h")
pisitools.remove("/usr/include/tk-private/generic/tkPlatDecls.h")
# Remove tmp path from tclConfig.sh
pisitools.dosed("%s/usr/lib/tkConfig.sh" % get.installDIR(), "%s/unix" % get.curDIR(), "/usr/lib/")
pisitools.dosed("%s/usr/lib/tkConfig.sh" % get.installDIR(), get.curDIR(), "/usr/include/tk-private")
pisitools.dosym("/usr/bin/wish8.6", "/usr/bin/wish")
pisitools.dodoc("ChangeLog", "changes", "license.terms", "README")
+27
View File
@@ -0,0 +1,27 @@
diff -Nuar tk8.5.10.orig/unix/tcl.m4 tk8.5.10/unix/tcl.m4
--- tk8.5.10.orig/unix/tcl.m4 2011-08-01 14:24:06.823000004 +0300
+++ tk8.5.10/unix/tcl.m4 2011-08-01 14:43:01.760000005 +0300
@@ -1399,12 +1399,12 @@
# get rid of the warnings.
#CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
- SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}'
+ SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS} -Wl,-soname,${@}'
DL_OBJS="tclLoadDl.o"
DL_LIBS="-ldl"
LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
AS_IF([test $doRpath = yes], [
- CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'])
+ CC_SEARCH_FLAGS=''])
LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
AS_IF([test "`uname -m`" = "alpha"], [CFLAGS="$CFLAGS -mieee"])
AS_IF([test $do64bit = yes], [
@@ -1431,7 +1431,7 @@
SHLIB_CFLAGS="-fPIC"
SHLIB_SUFFIX=".so"
- SHLIB_LD='${CC} -shared'
+ SHLIB_LD='${CC} ${CFLAGS} -shared'
DL_OBJS=""
DL_LIBS="-ldl"
LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
+19
View File
@@ -0,0 +1,19 @@
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 194cf90..c470e36 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1415,12 +1415,12 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
# get rid of the warnings.
#CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
- SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}'
+ SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS} -Wl,-soname,${@}'
DL_OBJS="tclLoadDl.o"
DL_LIBS="-ldl"
LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
AS_IF([test $doRpath = yes], [
- CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'])
+ CC_SEARCH_FLAGS=''])
LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
AS_IF([test "`uname -m`" = "alpha"], [CFLAGS="$CFLAGS -mieee"])
AS_IF([test $do64bit = yes], [
@@ -0,0 +1,15 @@
diff --git a/unix/configure.in b/unix/configure.in
index e7bf023..7d12f41 100755
--- a/unix/configure.in
+++ b/unix/configure.in
@@ -485,8 +485,8 @@ if test $tk_aqua = no; then
XFT_LIBS=`xft-config --libs 2>/dev/null` || found_xft="no"
if test "$found_xft" = "no" ; then
found_xft=yes
- XFT_CFLAGS=`pkg-config --cflags xft 2>/dev/null` || found_xft="no"
- XFT_LIBS=`pkg-config --libs xft 2>/dev/null` || found_xft="no"
+ XFT_CFLAGS=`pkg-config --cflags xft freetype2 2>/dev/null` || found_xft="no"
+ XFT_LIBS=`pkg-config --libs xft freetype2 2>/dev/null` || found_xft="no"
fi
AC_MSG_RESULT([$found_xft])
dnl make sure that compiling against Xft header file doesn't bomb
+13
View File
@@ -0,0 +1,13 @@
diff --git a/unix/Makefile.in b/unix/Makefile.in
index 3914940..a69df0e 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -743,7 +743,7 @@ install-binaries: $(TK_LIB_FILE) $(TK_STUB_LIB_FILE) ${WISH_EXE}
fi
@echo "Installing $(LIB_FILE) to $(DLL_INSTALL_DIR)/"
@@INSTALL_LIB@
- @chmod 555 "$(DLL_INSTALL_DIR)/$(LIB_FILE)"
+ @chmod 755 "$(DLL_INSTALL_DIR)/$(LIB_FILE)"
@if test -f "tk${MAJOR_VERSION}${MINOR_VERSION}.dll"; then \
$(INSTALL_LIBRARY) "tk${MAJOR_VERSION}${MINOR_VERSION}.dll" "$(DLL_INSTALL_DIR)";\
chmod 555 "$(DLL_INSTALL_DIR)/tk${MAJOR_VERSION}${MINOR_VERSION}.dll";\
+114
View File
@@ -0,0 +1,114 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>tcltk</Name>
<Homepage>http://www.tcl.tk</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>as-is</License>
<IsA>library</IsA>
<Summary>An X11 toolkit implemented with the Tcl scripting language</Summary>
<Description>Tk is an X Windows widget set designed to work closely with the tcl scripting language. It allows you to write simple programs with full featured GUIs in only a little more time then it takes to write a text based interface.</Description>
<Archive sha1sum="244ddc0f64cc3d429c9d86135d0bbe2cf06c9360" type="targz">mirrors://sourceforge/tcl/tk8.6.3-src.tar.gz</Archive>
<BuildDependencies>
<Dependency>tcl-devel</Dependency>
<Dependency>libX11-devel</Dependency>
<Dependency>libXft-devel</Dependency>
<!--<Dependency>libXScrnSaver-devel</Dependency>-->
<Dependency>fontconfig-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">tk-8.6.1-conf.patch</Patch>
<Patch level="1">tk-8.6.1-fix-xft.patch</Patch>
<Patch level="1">tk-8.6.1-make.patch</Patch>
</Patches>
</Source>
<Package>
<Name>tcltk</Name>
<RuntimeDependencies>
<Dependency>tcl</Dependency>
<Dependency>libX11</Dependency>
<Dependency>libXft</Dependency>
<!--<Dependency>libXScrnSaver</Dependency>-->
<Dependency>fontconfig</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/lib/tk8.5</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<Package>
<Name>tcltk-devel</Name>
<Summary>Development files for tcltk</Summary>
<RuntimeDependencies>
<Dependency release="current">tcltk</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/*.a</Path>
<Path fileType="data">/usr/lib/tkConfig.sh</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="man">/usr/share/man/man3</Path>
</Files>
</Package>
<History>
<Update release="7">
<Date>2014-12-14</Date>
<Version>8.6.3</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="6">
<Date>2014-09-30</Date>
<Version>8.6.2</Version>
<Comment>Version bump.</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2014-05-17</Date>
<Version>8.6.1</Version>
<Comment>Version bump and add patch.</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2014-03-09</Date>
<Version>8.6.0</Version>
<Comment>Rebuild</Comment>
<Name>Varol Maksutoğlu</Name>
<Email>waroi@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2013-07-26</Date>
<Version>8.6.0</Version>
<Comment>Move pc files to devel pack, increase release no.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-01-26</Date>
<Version>8.6.0</Version>
<Comment>bump</Comment>
<Name>Erdinç Gültekin</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-09-15</Date>
<Version>8.5.12</Version>
<Comment>First release</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
</History>
</PISI>
+14
View File
@@ -0,0 +1,14 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>tcltk</Name>
<Summary xml:lang="tr">Tcl betik dili ile yazılmış X11 araç ve kitaplıkları</Summary>
<Summary xml:lang="fr">Tk est une boîte à outils X11 implémentée avec le langage de script Tcl.</Summary>
<Description xml:lang="tr">Tk, tcl betik dili ile birlikte kullanılması için tasarlanmış bir X Windows araç setidir. Metin tabanlı arayüzlere oranla daha kısa sürede tam özellikli grafik arayüzlere sahip basit programlar yazmanızı sağlar.</Description>
</Source>
<Package>
<Name>tcltk-devel</Name>
<Summary xml:lang="tr">tcltk için geliştirme dosyaları</Summary>
</Package>
</PISI>
+6 -1
View File
@@ -23,6 +23,7 @@
<Name>libXdamage</Name>
<RuntimeDependencies>
<Dependency>libXfixes</Dependency>
<Dependency>libX11</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
@@ -36,6 +37,7 @@
<RuntimeDependencies>
<Dependency release="current">libXdamage</Dependency>
<Dependency>libXfixes-devel</Dependency>
<Dependency>libX11-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include/X11</Path>
@@ -50,9 +52,12 @@
<Summary>32-bit shared libraries for libXdamage</Summary>
<BuildType>emul32</BuildType>
<BuildDependencies>
<Dependency>libXfixes</Dependency>
<Dependency>glibc-32bit</Dependency>
<Dependency>libX11-32bit</Dependency>
<Dependency>libXfixes-32bit</Dependency>
</BuildDependencies>
<RuntimeDependencies>
<Dependency>glibc-32bit</Dependency>
<Dependency release="current">libXdamage</Dependency>
<Dependency>libXfixes-32bit</Dependency>
<Dependency>libX11-32bit</Dependency>
+20
View File
@@ -0,0 +1,20 @@
# -*- 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("AUTHORS", "ChangeLog", "COPYING", "NEWS", "README")
@@ -0,0 +1,29 @@
From 4acfdaf95adb0a05c2a25550bdde036c865902f4 Mon Sep 17 00:00:00 2001
From: Julien Cristau <jcristau@debian.org>
Date: Mon, 02 Dec 2013 15:26:24 +0000
Subject: Use FT_*_H macros instead of including <freetype/*.h>
freetype moved its headers around in 2.5.1.
Signed-off-by: Julien Cristau <jcristau@debian.org>
---
diff --git a/src/xftglyphs.c b/src/xftglyphs.c
index 2f3dc5a..4b5fb82 100644
--- a/src/xftglyphs.c
+++ b/src/xftglyphs.c
@@ -21,10 +21,10 @@
*/
#include "xftint.h"
-#include <freetype/ftoutln.h>
-#include <freetype/ftlcdfil.h>
+#include FT_OUTLINE_H
+#include FT_LCD_FILTER_H
-#include <freetype/ftsynth.h>
+#include FT_SYNTHESIS_H
/*
* Validate the memory info for a font
--
cgit v0.9.0.2-2-gbebe
+128
View File
@@ -0,0 +1,128 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libXft</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 Xft library</Summary>
<Description>libXft is the X FreeType interface library.</Description>
<Archive sha1sum="e025d790a7b6c4d283a78d8df06615cb10278e2d" type="tarbz2">mirrors://xorg/individual/lib/libXft-2.3.2.tar.bz2</Archive>
<BuildDependencies>
<Dependency>util-macros</Dependency>
<Dependency>freetype-devel</Dependency>
<Dependency>expat-devel</Dependency>
<Dependency>fontconfig-devel</Dependency>
<Dependency>libXrender-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libXft</Name>
<RuntimeDependencies>
<Dependency>libX11</Dependency>
<Dependency>freetype</Dependency>
<Dependency>fontconfig</Dependency>
<Dependency>libXrender</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>libXft-devel</Name>
<Summary>Development files for libXft</Summary>
<RuntimeDependencies>
<Dependency release="current">libXft</Dependency>
<Dependency>freetype-devel</Dependency>
<Dependency>fontconfig-devel</Dependency>
<Dependency>libXrender-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<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>libXft-32bit</Name>
<PartOf>emul32</PartOf>
<Summary>32-bit shared libraries for libXft</Summary>
<BuildType>emul32</BuildType>
<BuildDependencies>
<Dependency>freetype-32bit</Dependency>
<Dependency>fontconfig-32bit</Dependency>
<Dependency>libXrender-32bit</Dependency>
<Dependency>zlib-32bit</Dependency>
<Dependency>libX11-32bit</Dependency>
<Dependency>glibc-32bit</Dependency>
</BuildDependencies>
<RuntimeDependencies>
<Dependency release="current">libXft</Dependency>
<Dependency>freetype-32bit</Dependency>
<Dependency>fontconfig-32bit</Dependency>
<Dependency>libXrender-32bit</Dependency>
<Dependency>zlib-32bit</Dependency>
<Dependency>libX11-32bit</Dependency>
<Dependency>glibc-32bit</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib32</Path>
</Files>
</Package>
<History>
<Update release="6">
<Date>2014-08-31</Date>
<Version>2.3.2</Version>
<Comment>Version bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2014-05-16</Date>
<Version>2.3.1</Version>
<Comment>Release bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2014-02-01</Date>
<Version>2.3.1</Version>
<Comment>Rebuild for freetype.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2013-10-07</Date>
<Version>2.3.1</Version>
<Comment>Rebuild.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-08-25</Date>
<Version>2.3.1</Version>
<Comment>Release bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-11-22</Date>
<Version>2.3.1</Version>
<Comment>First release</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
</History>
</PISI>
+19
View File
@@ -0,0 +1,19 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libXft</Name>
<Summary xml:lang="tr">X.Org Xft kitaplığı</Summary>
<Summary xml:lang="fr">Librairie Xft de X.Org</Summary>
<Summary xml:lang="de">X.Org Xft Bibliothek</Summary>
</Source>
<Package>
<Name>libXft-devel</Name>
<Summary xml:lang="tr">libXft için geliştirme dosyaları</Summary>
</Package>
<Package>
<Name>libXft-32bit</Name>
<Summary xml:lang="tr">libXft için 32-bit paylaşımlı kitaplıklar</Summary>
</Package>
</PISI>
+12
View File
@@ -13,10 +13,17 @@
<Summary>Library to convert evdev keycodes to keysyms</Summary>
<Description>Library to convert evdev keycodes to keysyms</Description>
<Archive sha1sum="1307210814f6771383a542981f2dbe29c80f91b4" type="targz">https://github.com/xkbcommon/libxkbcommon/archive/xkbcommon-0.5.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>util-macros</Dependency>
<Dependency>libxcb-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libxkbcommon</Name>
<RuntimeDependencies>
<Dependency>libxcb</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="doc">/usr/share/doc/libxkbcommon/</Path>
<Path fileType="library">/usr/lib/lib*.so*</Path>
@@ -41,9 +48,14 @@
<PartOf>emul32</PartOf>
<Summary>32-bit shared libraries for libxkbcommon</Summary>
<BuildType>emul32</BuildType>
<BuildDependencies>
<Dependency>libxcb-32bit</Dependency>
<Dependency>glibc-32bit</Dependency>
</BuildDependencies>
<RuntimeDependencies>
<Dependency release="current">libxkbcommon</Dependency>
<Dependency>libxcb-32bit</Dependency>
<Dependency>glibc-32bit</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib32</Path>
+9
View File
@@ -13,10 +13,17 @@
<Summary>A number of libraries which sit on top of libxcb</Summary>
<Description>The xcb-util module provides a number of libraries which sit on top of libxcb, the core X protocol library, and some of the extension libraries.</Description>
<Archive sha1sum="02060d8e2e70838fc41cd3a27c7f2909090d8c20" type="tarbz2">http://xcb.freedesktop.org/dist/xcb-util-0.3.9.tar.bz2</Archive>
<BuildDependencies>
<Dependency>util-macros</Dependency>
<Dependency>libxcb-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>xcb-util</Name>
<RuntimeDependencies>
<Dependency>libxcb</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
@@ -43,10 +50,12 @@
<BuildType>emul32</BuildType>
<BuildDependencies>
<Dependency>libxcb-32bit</Dependency>
<Dependency>glibc-32bit</Dependency>
</BuildDependencies>
<RuntimeDependencies>
<Dependency release="current">xcb-util</Dependency>
<Dependency>libxcb-32bit</Dependency>
<Dependency>glibc-32bit</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib32</Path>