diff --git a/system/devel/ccache/actions.py b/system/devel/ccache/actions.py deleted file mode 100644 index 0def369a..00000000 --- a/system/devel/ccache/actions.py +++ /dev/null @@ -1,31 +0,0 @@ -#!/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 shelltools -from pisi.actionsapi import autotools -from pisi.actionsapi import pisitools - -def setup(): - if shelltools.isDirectory("zlib"): - shelltools.unlinkDir("zlib") - - autotools.configure("--prefix=/usr") - -def build(): - autotools.make() - -#def check(): -# autotools.make("check") - -def install(): - autotools.install() - - # Create symlinks - for cc in ("gcc", "g++", "cc", "c++"): # , "clang" , "clang++" - pisitools.dosym("../../../bin/ccache", "/usr/lib/ccache/bin/%s" % cc) - #pisitools.dosym("../../../bin/ccache", "/usr/lib/ccache/bin/%s-%s" % (get.HOST(), cc)) - - #pisitools.dodoc("LICENSE.txt", "README.txt") diff --git a/system/devel/ccache/pspec.xml b/system/devel/ccache/pspec.xml deleted file mode 100644 index 15f90095..00000000 --- a/system/devel/ccache/pspec.xml +++ /dev/null @@ -1,79 +0,0 @@ - - - - - ccache - http://ccache.samba.org/ - - PisiLinux Community - admins@pisilinux.org - - GPLv3+ - app:console - Fast C/C++ compiler cache - ccache is a compiler cache. It speeds up recompilation of C/C++ code by caching previous compiles and detecting when the same compile is being done. - http://samba.org/ftp/ccache/ccache-3.2.tar.xz - - zlib-devel - - - - - ccache - - gcc - zlib - - - /usr/bin - /usr/lib/ccache/bin - /usr/share/doc - /usr/share/man - - - - - - 2014-11-23 - 3.2 - Version bump. - Yusuf Aydemir - yusuf.aydemir@pisilinux.org - - - 2014-05-11 - 3.1.9 - Release bump. - Marcin Bojara - marcin@pisilinux.org - - - 2013-10-22 - 3.1.9 - Rebuild. - Serdar Soytetir - kaptan@pisilinux.org - - - 2013-08-01 - 3.1.9 - Version bump - Serdar Soytetir - kaptan@pisilinux.org - - - 2013-02-16 - 3.1.9 - Version bump - Ertan Güven - ertan@pisilinux.org - - - 2012-12-15 - 3.1.8 - First release - canatan - admins@pisilinux.org - - - diff --git a/system/devel/ccache/translations.xml b/system/devel/ccache/translations.xml deleted file mode 100644 index 6c993de4..00000000 --- a/system/devel/ccache/translations.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - ccache - Hızlı C/C++ derleme önbelleği - ccache bir derleme önbelleğidir. Önceki derlemeleri önbelleğinde saklayıp, aynı derlemelerde bu önbelleği kullanarak C/C++ kodlarının yeniden derlenmelerini hızlandırır. - Cache de Compilation rapide - Cache veloz de compilador - - diff --git a/system/devel/check/actions.py b/system/devel/check/actions.py new file mode 100644 index 00000000..86428c51 --- /dev/null +++ b/system/devel/check/actions.py @@ -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 shelltools +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def setup(): + autotools.autoreconf("-fi") + autotools.configure("--disable-static") + + pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("AUTHORS", "COPYING.LESSER", "ChangeLog", "NEWS", "README", "TODO", "THANKS") diff --git a/system/devel/check/pspec.xml b/system/devel/check/pspec.xml new file mode 100644 index 00000000..2a3b8ddb --- /dev/null +++ b/system/devel/check/pspec.xml @@ -0,0 +1,101 @@ + + + + + check + http://sourceforge.net/projects/check/ + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + library + A unit test framework for C + check is a unit testing framework for C. It features a simple interface for defining unit tests, putting little in the way of the developer. Tests are run in a separate address space, so Check can catch both assertion failures and code errors that cause segmentation faults or other signals. The output from unit tests can be used within source code editors and IDEs. + mirrors://sourceforge/check/0.9.14/check-0.9.14.tar.gz + + + + check + + /usr/bin + /usr/lib + /usr/share/info + /usr/share/man/man1/checkmk.1 + /usr/share/doc + + + + + check-devel + Development files for check + + check + + + /usr/include + /usr/lib/pkgconfig + /usr/share/aclocal + + + + + check-docs + Documents for check + + /usr/share/doc/check/example + + + + + + 2014-10-31 + 0.9.14 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2014-05-20 + 0.9.12 + Verson bump. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-03-06 + 0.9.11 + Rebuild Unused + Varol Maksutoğlu + waroi@pisilinux.org + + + 2013-11-27 + 0.9.11 + Version bump. + Richard de Bruin + richdb@pisilinux.org + + + 2013-10-26 + 0.9.10 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2013-03-04 + 0.9.9 + Version bump + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2010-10-12 + 0.9.8 + First release + Pisi Linux Admins + admins@pisilinux.org + + + diff --git a/system/devel/check/translations.xml b/system/devel/check/translations.xml new file mode 100644 index 00000000..f52b7cac --- /dev/null +++ b/system/devel/check/translations.xml @@ -0,0 +1,18 @@ + + + + check + C için birim test ortamı + check C dili için yazılmış bir birim test ortamıdır. Birim test tanımlamak için bir arayüz sunan check, geliştiriciye test yapabilmesi için kolay bir ortam sağlar. + + + + check-devel + check için geliştirme dosyaları + + + + check-docs + check için geliştirme belgeleri + + diff --git a/system/devel/cmake/actions.py b/system/devel/cmake/actions.py deleted file mode 100644 index 4ae7bd61..00000000 --- a/system/devel/cmake/actions.py +++ /dev/null @@ -1,24 +0,0 @@ -# -*- 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 shelltools -from pisi.actionsapi import get - -def setup(): - autotools.rawConfigure("--parallel=%s \ - --system-libs \ - --no-qt-gui \ - --no-system-jsoncpp \ - --prefix=/usr \ - --datadir=/share/cmake \ - --docdir=/share/doc/cmake \ - --mandir=/share/man" % get.makeJOBS().replace("-j", "")) - -def build(): - autotools.make() - -def install(): - autotools.rawInstall("DESTDIR=%s" % get.installDIR()) diff --git a/system/devel/cmake/files/findfreetype.patch b/system/devel/cmake/files/findfreetype.patch deleted file mode 100644 index 20a508ab..00000000 --- a/system/devel/cmake/files/findfreetype.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/Modules/FindFreetype.cmake b/Modules/FindFreetype.cmake -index 179dc00..0f5a2b4 100644 ---- a/Modules/FindFreetype.cmake -+++ b/Modules/FindFreetype.cmake -@@ -62,10 +62,10 @@ find_path(FREETYPE_INCLUDE_DIR_ft2build ft2build.h - ENV GTKMM_BASEPATH - [HKEY_CURRENT_USER\\SOFTWARE\\gtkmm\\2.4;Path] - [HKEY_LOCAL_MACHINE\\SOFTWARE\\gtkmm\\2.4;Path] -- PATH_SUFFIXES include/freetype2 include -+ PATH_SUFFIXES include/freetype2 include/freetype include - ) - --find_path(FREETYPE_INCLUDE_DIR_freetype2 freetype/config/ftheader.h -+find_path(FREETYPE_INCLUDE_DIR_freetype2 config/ftheader.h - HINTS - ENV FREETYPE_DIR - PATHS -@@ -76,7 +76,7 @@ find_path(FREETYPE_INCLUDE_DIR_freetype2 freetype/config/ftheader.h - ENV GTKMM_BASEPATH - [HKEY_CURRENT_USER\\SOFTWARE\\gtkmm\\2.4;Path] - [HKEY_LOCAL_MACHINE\\SOFTWARE\\gtkmm\\2.4;Path] -- PATH_SUFFIXES include/freetype2 include -+ PATH_SUFFIXES include/freetype2 include/freetype include include/freetype2/freetype - ) - - find_library(FREETYPE_LIBRARY diff --git a/system/devel/cmake/pspec.xml b/system/devel/cmake/pspec.xml deleted file mode 100644 index bcb715d6..00000000 --- a/system/devel/cmake/pspec.xml +++ /dev/null @@ -1,144 +0,0 @@ - - - - - cmake - http://www.cmake.org - - PisiLinux Community - admins@pisilinux.org - - BSD - app:console - Cross-platform, open-source make system - CMake, the cross-platform, open-source make system. CMake is used to control the software compilation process using simple platform and compiler independent configuration files. CMake generates native makefiles and workspaces that can be used in the compiler environment of your choice. - http://www.cmake.org/files/v3.2/cmake-3.2.2.tar.gz - - curl-devel - expat-devel - libarchive-devel - ncurses-devel - zlib-devel - - - - - cmake - - curl - expat - libarchive - libgcc - ncurses - zlib - - - /usr/bin - /usr/share/cmake - /usr/share/aclocal/ - /usr/share/doc - /usr/share/man - - - - - - 2015-04-17 - 3.2.2 - Version bump. - Yusuf Aydemir - yusuf.aydemir@pisilinux.org - - - 2015-04-04 - 3.2.1 - Version bump. - Yusuf Aydemir - yusuf.aydemir@pisilinux.org - - - 2015-02-27 - 3.1.3 - Version bump. - Stefan Gronewold(groni) - groni@pisilinux.org - - - 2014-12-17 - 3.0.2 - Version bump. - Yusuf Aydemir - yusuf.aydemir@pisilinux.org - - - 2014-08-23 - 3.0.1 - Version bump. - Yusuf Aydemir - yusuf.aydemir@pisilinux.org - - - 2014-05-11 - 2.8.12.2 - Release bump. - Marcin Bojara - marcin@pisilinux.org - - - 2014-03-29 - 2.8.12.2 - Version bump. - Marcin Bojara - marcin@pisilinux.org - - - 2013-12-11 - 2.8.12.1 - Fix finding freetype issue. - Serdar Soytetir - kaptan@pisilinux.org - - - 2013-11-24 - 2.8.12.1 - Version bump. - Marcin Bojara - marcin@pisilinux.org - - - 2013-10-23 - 2.8.12 - Version bump. - Yusuf Aydemir - yusuf.aydemir@pisilinux.org - - - 2013-08-28 - 2.8.11.2 - Clean cmake. - Serdar Soytetir - kaptan@pisilinux.org - - - 2013-08-01 - 2.8.10.2 - Fix deps. - Serdar Soytetir - kaptan@pisilinux.org - - - 2013-02-17 - 2.8.10.2 - Version bump - Ertan Güven - ertan@pisilinux.org - - - 2012-12-01 - 2.8.10 - First release - Yusuf Aydemir - yusuf.aydemir@pisilinux.org - - - diff --git a/system/devel/cmake/translations.xml b/system/devel/cmake/translations.xml deleted file mode 100644 index 0dcee54e..00000000 --- a/system/devel/cmake/translations.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - cmake - Cmake, açık kaynak kodlu ve birden fazla platformda çalışan bir 'make' sistemidir. - Cmake, açık kaynak kodlu ve birden fazla platformda çalışan bir 'make' sistemidir. Yazılım derleme sürecini kontrol etmek için kullanılan CMake, derleyici bağımsız yapılandırma dosyalarının oluşturulmasını sağlar. - CMake, système make open-source et multi-plateforme. CMake est utilisé pour contrôler le processus de compilation de logiciel en utilisant une plate-forme de fichiers de configuration simple et indépendante de compilateur. CMake génère des makefiles et un environnement de travail natifs pouvant être utilisés dans l'environnement du compilateur de votre choix. - - diff --git a/system/devel/libarchive/actions.py b/system/devel/libarchive/actions.py deleted file mode 100644 index 1b715594..00000000 --- a/system/devel/libarchive/actions.py +++ /dev/null @@ -1,38 +0,0 @@ -#!/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 - -import os - -def setup(): - autotools.autoreconf("-fi") - autotools.configure("--disable-static \ - --disable-bsdtar \ - --disable-bsdcpio") - - pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") - -def build(): - autotools.make() - -#def check(): - #autotools.make("check") - -def install(): - autotools.rawInstall("DESTDIR=%s" % get.installDIR()) - - pisitools.remove("/usr/share/man/man5/tar.5") - pisitools.remove("/usr/share/man/man5/cpio.5") - pisitools.remove("/usr/share/man/man5/mtree.5") - - # Remove empty dirs - os.removedirs("%s/usr/share/man/man1" % get.installDIR()) - os.removedirs("%s/usr/bin" % get.installDIR()) - - pisitools.dodoc("COPYING","NEWS","README") diff --git a/system/devel/libarchive/pspec.xml b/system/devel/libarchive/pspec.xml deleted file mode 100644 index faf7e23e..00000000 --- a/system/devel/libarchive/pspec.xml +++ /dev/null @@ -1,104 +0,0 @@ - - - - - libarchive - http://code.google.com/p/libarchive/ - - PisiLinux Community - admins@pisilinux.org - - BSD - library - Library for reading and writing streaming archives - libarchive includes a library and command-line tools for reading and writing tar, cpio, zip, ISO, and other archive formats. - http://www.libarchive.org/downloads/libarchive-3.1.2.tar.gz - - acl-devel - attr-devel - bzip2 - libxml2-devel - openssl-devel - xz-devel - lzo-devel - zlib-devel - - - - - libarchive - - lzo - nettle - xz - acl - zlib - attr - bzip2 - libxml2 - - - /usr/lib - /usr/share/man - /usr/share/doc/libarchive - - - - - libarchive-devel - Development files for libarchive - - libarchive - - - /usr/include - /usr/lib/pkgconfig - /usr/share/man/man3 - - - - - - 2014-05-11 - 3.1.2 - Release bump. - Marcin Bojara - marcin@pisilinux.org - - - 2014-01-28 - 3.1.2 - unused fix. - Yusuf Aydemir - yusuf.aydemir@pisilinux.org - - - 2013-08-28 - 3.1.2 - Clean libarchive. - Serdar Soytetir - kaptan@pisilinux.org - - - 2013-08-01 - 3.1.2 - Fix deps. - Serdar Soytetir - kaptan@pisilinux.org - - - 2013-02-18 - 3.1.2 - Version bump - Ertan Güven - ertan@pisilinux.org - - - 2012-08-19 - 3.0.4 - First release - Ramazan Utku - admins@pisilinux.org - - - diff --git a/system/devel/libarchive/translations.xml b/system/devel/libarchive/translations.xml deleted file mode 100644 index 7b9eddbc..00000000 --- a/system/devel/libarchive/translations.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - libarchive - Birçok farklı akış arşiv formatını yaratan ve okuyan programlama kitaplığı - libarchive, tar, cpio, zip, ISO ve diğer arşiv biçimlerini okumak ve yazmak için bir kitaplık ve komut satırı araçları içerir. - - - - libarchive-devel - libarchive için geliştirme dosyaları - - diff --git a/system/devel/ppl/actions.py b/system/devel/ppl/actions.py deleted file mode 100644 index 472d743c..00000000 --- a/system/devel/ppl/actions.py +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- -# -# Licensed under the GNU General Public License, version 3. -# See the file http://www.gnu.org/copyleft/gpl.txt. - -from pisi.actionsapi import autotools -from pisi.actionsapi import pisitools -from pisi.actionsapi import get - - -def setup(): - autotools.configure('--enable-interfaces="c,cxx"') -def build(): - autotools.make() - -# tests run hours and hours, running it is left to packager -#def check(): -# autotools.make("check") - -def install(): - autotools.rawInstall("DESTDIR=%s" % get.installDIR()) - - pisitools.dodoc("BUGS", "COPYING", "CREDITS", "ChangeLog", "STANDARDS", "TODO", "README*", "NEWS") diff --git a/system/devel/ppl/pspec.xml b/system/devel/ppl/pspec.xml deleted file mode 100644 index fd116be1..00000000 --- a/system/devel/ppl/pspec.xml +++ /dev/null @@ -1,120 +0,0 @@ - - - - - ppl - http://www.cs.unipr.it/ppl/ - - Serdar Soytetir - kaptan@pisilinux.org - - GPLv3 - app:console - library - Pharma Polyhedra library - ppl is the Parma Polyhedra Library that provides numerical abstractions for analysis of complex systems. - http://bugseng.com/external/ppl/download/ftp/releases/1.1/ppl-1.1.tar.xz - - - gmp-devel - glpk-devel - - - - - ppl - - gmp - glpk - libgcc - - - /usr/bin - /usr/lib - /usr/share/doc/COPYING - /usr/share/doc/CREDITS - /usr/share/doc/README - /usr/share/doc/NEWS - /usr/share/man - - - - - ppl-docs - system.doc - Documentation for ppl - - ppl - - - /usr/share/doc/ppl - - - - - ppl-devel - Development files for ppl - - ppl - gmp-devel - - - /usr/bin/ppl-config - /usr/include - /usr/share/aclocal - /usr/share/man/man3 - - - - - - 2014-09-06 - 1.1 - Rebuild. - Serdar Soytetir - kaptan@pisilinux.org - - - 2014-05-11 - 1.1 - Release bump. - Marcin Bojara - marcin@pisilinux.org - - - 2014-03-29 - 1.1 - Version bump. - Serdar Soytetir - kaptan@pisilinux.org - - - 2013-08-27 - 1.0 - Clean ppl, version bump. - Serdar Soytetir - kaptan@pisilinux.org - - - 2013-08-01 - 1.0 - Fix deps. - Serdar Soytetir - kaptan@pisilinux.org - - - 2013-02-19 - 1.0 - Add patch for gmp 5.10. - Serdar Soytetir - kaptan@pisilinux.org - - - 2012-07-13 - 1.0 - First release - Serdar Soytetir - kaptan@pisilinux.org - - - diff --git a/system/devel/ppl/translations.xml b/system/devel/ppl/translations.xml deleted file mode 100644 index 1ce0ff4d..00000000 --- a/system/devel/ppl/translations.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - ppl - Pharma Polyhedra kitaplığı - ppl, kompleks sistemlerin analizi için sayısal ayrım sağlayan Pharma Polyhedra kitaplığıdır. - - - - ppl-docs - ppl kitaplığı belgeleri - - - - ppl-devel - ppl için geliştirme dosyaları - - diff --git a/system/devel/swig/actions.py b/system/devel/swig/actions.py deleted file mode 100644 index 2e5eb3e8..00000000 --- a/system/devel/swig/actions.py +++ /dev/null @@ -1,20 +0,0 @@ -#!/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() - -def build(): - autotools.make() - -def install(): - autotools.rawInstall("DESTDIR=%s" % get.installDIR()) - - pisitools.dodoc("ANNOUNCE", "CHANGES*", "LICENSE", "README", "TODO") diff --git a/system/devel/swig/pspec.xml b/system/devel/swig/pspec.xml deleted file mode 100644 index 98e95403..00000000 --- a/system/devel/swig/pspec.xml +++ /dev/null @@ -1,90 +0,0 @@ - - - - - swig - http://www.swig.org/ - - PisiLinux Community - admins@pisilinux.org - - GPLv3+ - BSD - app:console - Connects C/C++/Objective C to some high-level programming languages - Simplified Wrapper and Interface Generator, SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages. SWIG is used with different types of languages including common scripting languages such as Perl, PHP, Python, Tcl, Ruby and PHP - mirrors://sourceforge/swig/swig-3.0.2.tar.gz - - python - perl - - - - - swig - - zlib - libgcc - libpcre - - - /usr/bin - /usr/lib - /usr/share/swig - /usr/share/doc - /usr/share/man - - - - - - 2014-12-22 - 3.0.2 - Version bump. - Yusuf Aydemir - yusuf.aydemir@pisilinux.org - - - 2014-05-11 - 3.0.0 - Release bump. - Marcin Bojara - marcin@pisilinux.org - - - 2014-03-29 - 3.0.0 - Version bump. - Serdar Soytetir - kaptan@pisilinux.org - - - 2013-10-23 - 2.0.11 - Clean swig. - Serdar Soytetir - kaptan@pisilinux.org - - - 2013-07-24 - 2.0.10 - Version bump. - Yusuf Aydemir - yusuf.aydemir@pisilinux.org - - - 2013-02-17 - 2.0.9 - Version bump - Ertan Güven - ertan@pisilinux.org - - - 2012-09-15 - 2.0.8 - First release - Serdar Soytetir - kaptan@pisilinux.org - - - diff --git a/system/devel/swig/translations.xml b/system/devel/swig/translations.xml deleted file mode 100644 index c87bcf86..00000000 --- a/system/devel/swig/translations.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - swig - Basitleştirilmiş arayüz oluşturucu - SWIG, C ve C++ ile yazılmış uygulamaları çeşitli üst düzey programlama dilleri ile bağlayan bir yazılım geliştirme aracıdır. SWIG, genel betik dilleri olan Perl, PHP, Python, Tcl, Ruby gibi farklı diller ile kullanılır. - Simplified Wrapper and Interface Generator (Générateur d'interface de scripts d'enrobage simplifié), SWIG est un outil de développement qui connecte des programmes écrits en C et C++ avec divers langages de programmation de haut niveau. SWIG est utilisé avec différents type de langages incluant les langages de script habituels tels que Perl, PHP, Python, Tcl, Ruby. - - diff --git a/system/devel/uClibc/actions.py b/system/devel/uClibc/actions.py deleted file mode 100644 index 3962689b..00000000 --- a/system/devel/uClibc/actions.py +++ /dev/null @@ -1,104 +0,0 @@ -#!/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 shelltools -from pisi.actionsapi import autotools -from pisi.actionsapi import pisitools -from pisi.actionsapi import get - -# Reset CFLAGS -CFLAGS = "%s -D__USE_GNU -fgnu89-inline -fno-stack-protector" % get.CFLAGS() - -UCLIBC_ROOT="/usr/lib/uClibc" - -# Make parameters -MAKE_PARAMS = """\ -TARGET_CPU="%(target_cpu)s" -TARGET_ARCH="%(target_arch)s" -GCC_BIN="%(cc)s" -HOSTCC="%(cc)s" -CC="%(cc)s" -HOSTCFLAGS="%(cflags)s %(ldflags)s" -OPTIMIZATION="%(cflags)s -Os" -""" % { - "target_arch" : get.ARCH().replace("i686", "i386"), - "target_cpu" : get.ARCH(), - "cc" : get.CC(), - "cflags" : CFLAGS, - "ldflags" : get.LDFLAGS(), - } - -def remove_pisilinux_section(_dir): - import os - for k in shelltools.ls(_dir): - # FIXME: should we do this only on nonshared or all ? - # if ("crt" in k and k.endswith(".o")) or k.endswith("nonshared.a"): - if ("crt" in k and k.endswith(".o")) or k.endswith(".a"): - i = os.path.join(_dir, k) - shelltools.system('objcopy -R ".comment.PISILINUX.OPTs" -R ".note.gnu.build-id" %s' % i) - -def create_symlinks(): - systools = ("addr2line", "ar", "as", "cpp", "nm", - "objcopy", "objdump", "ranlib", - "size", "strings", "strip") - - gcclinks = ("c++", "cc", "g++") - - # Create arch prefixed symlinks in /usr/bin for systools - for tool in systools: - pisitools.dosym(tool, "/usr/bin/%s-uclibc-%s" % (get.ARCH(), tool)) - - for link in gcclinks: - pisitools.remove("%s/usr/bin/%s" % (UCLIBC_ROOT, link)) - pisitools.dosym("%s-uclibc-gcc" % get.ARCH(), "/usr/bin/%s-uclibc-%s" % (get.ARCH(), link)) - pisitools.dosym("/usr/bin/%s-uclibc-%s" % (get.ARCH(), link), "%s/usr/bin/%s" % (UCLIBC_ROOT, link)) - - for native in ("gcc", "ld"): - # Move around gcc and ld (native uClibc binaries) - pisitools.domove("%s/bin/%s-uclibc-%s" % (UCLIBC_ROOT, get.ARCH(), native), "/usr/bin") - pisitools.remove("%s/usr/bin/%s" % (UCLIBC_ROOT, native)) - pisitools.dosym("/usr/bin/%s-uclibc-%s" % (get.ARCH(), native), "%s/usr/bin/%s" % (UCLIBC_ROOT, native)) - - # Remove bin/ under UCLIBC_ROOT - pisitools.removeDir("%s/bin" % UCLIBC_ROOT) - -def setup(): - # Skip ether tests - shelltools.unlink("test/inet/tst-ethers-line.c") - shelltools.unlink("test/inet/tst-ethers.c") - - pisitools.dodir("kernel-include") - for d in ("asm", "asm-generic", "linux"): - shelltools.copytree("/usr/include/%s" % d, "kernel-include/%s" % d) - shelltools.sym("../kernel-include/%s" % d, "test/%s" % d) - - pisitools.dosed(".config", "^(TARGET_ARCH=).*$", '\\1"%s"' % get.ARCH()) - pisitools.dosed(".config", "^(UCLIBC_EXTRA_CFLAGS=).*$", '\\1"%s"' % CFLAGS) - pisitools.dosed(".config", "^(RUNTIME_PREFIX=).*$", '\\1"%s"' % UCLIBC_ROOT) - pisitools.dosed(".config", "^(DEVEL_PREFIX=).*$", '\\1"%s/usr"' % UCLIBC_ROOT) - -def build(): - shelltools.system('yes "" | make oldconfig') - - autotools.make("%s" % MAKE_PARAMS) - -def install(): - autotools.rawInstall('PREFIX="%s" %s' % (get.installDIR(), MAKE_PARAMS)) - autotools.rawInstall('-C utils PREFIX="%s" %s' % (get.installDIR(), MAKE_PARAMS), "utils_install") - - # Create symbolic links to /usr/include for some of the headers - for d in ("asm", "asm-generic", "linux"): - pisitools.dosym("/usr/include/%s" % d, "%s/usr/include/%s" % (UCLIBC_ROOT, d)) - - # For ld.so.conf files - pisitools.dodir("%s/etc" % UCLIBC_ROOT) - - # Create the necessary symlinks into /usr/bin - #create_symlinks() - - remove_pisilinux_section("%s/usr/lib/uClibc/usr/lib" % get.installDIR()) - - pisitools.dodoc("Changelog", "COPYING*", "TODO", "README") diff --git a/system/devel/uClibc/comar/pakhandler.py b/system/devel/uClibc/comar/pakhandler.py deleted file mode 100644 index 9d4c4aa7..00000000 --- a/system/devel/uClibc/comar/pakhandler.py +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/python - -import piksemel -import os - -UCLIBC_ROOT = "/usr/lib/uClibc" - -def updateLdSoConf(filepath): - parse = piksemel.parse(filepath) - for f in parse.tags("File"): - if UCLIBC_ROOT in f.getTagData("Path"): - os.system("%s/sbin/ldconfig -X" % UCLIBC_ROOT) - -def setupPackage(metapath, filepath): - updateLdSoConf(filepath) - -def cleanupPackage(metapath, filepath): - pass - -def postCleanupPackage(metapath, filepath): - updateLdSoConf(filepath) diff --git a/system/devel/uClibc/files/mandriva/uClibc-0.9.30.1-add-scanf-a-flag.patch b/system/devel/uClibc/files/mandriva/uClibc-0.9.30.1-add-scanf-a-flag.patch deleted file mode 100644 index 60d782a3..00000000 --- a/system/devel/uClibc/files/mandriva/uClibc-0.9.30.1-add-scanf-a-flag.patch +++ /dev/null @@ -1,121 +0,0 @@ ---- uClibc-0.9.30.1/libc/stdio/_scanf.c.a_flag~ 2008-09-09 15:01:58.000000000 +0200 -+++ uClibc-0.9.30.1/libc/stdio/_scanf.c 2009-12-07 01:32:49.000000000 +0100 -@@ -105,12 +105,11 @@ libc_hidden_proto(__ctype_b) - #endif - - #ifdef __UCLIBC_HAS_SCANF_GLIBC_A_FLAG__ --#ifdef L_vfscanf --/* only emit this once */ --#warning Forcing undef of __UCLIBC_HAS_SCANF_GLIBC_A_FLAG__ until implemented! --#endif -+#ifdef L_vfwscanf -+#warning Forcing undef of __UCLIBC_HAS_SCANF_GLIBC_A_FLAG__ until implemented for wchar! - #undef __UCLIBC_HAS_SCANF_GLIBC_A_FLAG__ - #endif -+#endif - - #undef __STDIO_HAS_VSSCANF - #if defined(__STDIO_BUFFERS) || !defined(__UCLIBC_HAS_WCHAR__) || defined(__UCLIBC_HAS_GLIBC_CUSTOM_STREAMS__) -@@ -934,7 +933,6 @@ int attribute_hidden __psfs_parse_spec(r - int p_m_spec_chars = p - spec_chars; - - #ifdef __UCLIBC_HAS_SCANF_GLIBC_A_FLAG__ --#error implement gnu a flag - if ((*p == 'a') - && ((psfs->fmt[1] == '[') || ((psfs->fmt[1]|0x20) == 's')) - ) { /* Assumes ascii for 's' and 'S' test. */ -@@ -1184,6 +1182,12 @@ int VFSCANF (FILE *__restrict fp, const - - int i; - -+#ifdef __UCLIBC_HAS_SCANF_GLIBC_A_FLAG__ -+#define MALLOC_CHUNK_SIZE 64 -+ unsigned int alen, aoffset; -+ unsigned char *abuf; -+#endif -+ - #ifdef __UCLIBC_MJN3_ONLY__ - #warning TODO: Fix MAX_DIGITS. We do not do binary, so...! - #endif -@@ -1408,12 +1412,32 @@ int VFSCANF (FILE *__restrict fp, const - b = (psfs.store ? ((unsigned char *) psfs.cur_ptr) : buf); - fail = 1; - -+#ifdef __UCLIBC_HAS_SCANF_GLIBC_A_FLAG__ -+ if (psfs.flags & FLAG_MALLOC) { -+ alen = MALLOC_CHUNK_SIZE; -+ if ((abuf = (unsigned char *) malloc(alen)) == NULL) { -+ goto NEXT_FMT; -+ } -+ b = abuf; -+ } -+#endif -+ - if (psfs.conv_num == CONV_c) { - if (sc.width == INT_MAX) { - sc.width = 1; - } - - while (__scan_getc(&sc) >= 0) { -+#ifdef __UCLIBC_HAS_SCANF_GLIBC_A_FLAG__ -+ aoffset = (unsigned int) b - (unsigned int) abuf; -+ if ((psfs.flags & FLAG_MALLOC) && ( aoffset + psfs.store >= alen)) { -+ alen += MALLOC_CHUNK_SIZE; -+ if ((abuf = (unsigned char *) realloc(abuf, alen)) == NULL) { -+ break; -+ } -+ b = abuf + aoffset; -+ } -+#endif - zero_conversions = 0; - *b = sc.cc; - b += psfs.store; -@@ -1429,6 +1453,17 @@ int VFSCANF (FILE *__restrict fp, const - if (psfs.conv_num == CONV_s) { - /* Yes, believe it or not, a %s conversion can store nuls. */ - while ((__scan_getc(&sc) >= 0) && !isspace(sc.cc)) { -+#ifdef __UCLIBC_HAS_SCANF_GLIBC_A_FLAG__ -+ aoffset = (unsigned int) b - (unsigned int) abuf; -+ if ((psfs.flags & FLAG_MALLOC) && ( aoffset + psfs.store >= alen)) { -+ alen += MALLOC_CHUNK_SIZE; -+ if ((abuf = (unsigned char *) realloc(abuf, alen)) == NULL) { -+ fail = 1; -+ break; -+ } -+ b = abuf + aoffset; -+ } -+#endif - zero_conversions = 0; - *b = sc.cc; - b += psfs.store; -@@ -1489,6 +1524,17 @@ int VFSCANF (FILE *__restrict fp, const - if (!scanset[sc.cc]) { - break; - } -+#ifdef __UCLIBC_HAS_SCANF_GLIBC_A_FLAG__ -+ aoffset = (unsigned int) b - (unsigned int) abuf; -+ if ((psfs.flags & FLAG_MALLOC) && ( aoffset + psfs.store >= alen)) { -+ alen += MALLOC_CHUNK_SIZE; -+ if ((abuf = (unsigned char *) realloc(abuf, alen)) == NULL) { -+ fail = 1; -+ break; -+ } -+ b = abuf + aoffset; -+ } -+#endif - *b = sc.cc; - b += psfs.store; - fail = 0; -@@ -1496,6 +1542,12 @@ int VFSCANF (FILE *__restrict fp, const - } - /* Common tail for processing of %s and %[. */ - -+#ifdef __UCLIBC_HAS_SCANF_GLIBC_A_FLAG__ -+ if (psfs.flags & FLAG_MALLOC) { -+ /* store the ptr to allocated string space, or even null */ -+ * (unsigned char **) psfs.cur_ptr = abuf; -+ } -+#endif - __scan_ungetc(&sc); - if (fail) { /* nothing stored! */ - goto DONE; diff --git a/system/devel/uClibc/files/mandriva/uClibc-0.9.30.2-add-rpmatch-function.patch b/system/devel/uClibc/files/mandriva/uClibc-0.9.30.2-add-rpmatch-function.patch deleted file mode 100644 index 7855005d..00000000 --- a/system/devel/uClibc/files/mandriva/uClibc-0.9.30.2-add-rpmatch-function.patch +++ /dev/null @@ -1,178 +0,0 @@ -diff -p -up uClibc/extra/Configs/Config.in.rpmatch~ uClibc/extra/Configs/Config.in ---- uClibc/extra/Configs/Config.in.rpmatch~ 2009-12-03 02:14:29.000000000 -0500 -+++ uClibc/extra/Configs/Config.in 2009-12-07 02:18:14.519923129 -0500 -@@ -1822,6 +1822,14 @@ config UCLIBC_HAS_FNMATCH_OLD - support, then stick with the old version (and say Y here). - Otherwise, you should use the new version (and say N here). - -+config UCLIBC_HAS_RPMATCH -+ bool "rpmatch Support" -+ default n -+ help -+ Answer Y if you want to include rpmatch() used by various apps. -+ -+ Most people will answer N. -+ - config UCLIBC_HAS_WORDEXP - bool "Support the wordexp() interface" - depends on UCLIBC_HAS_GLOB -diff -p -up uClibc/libc/misc/Makefile.in.rpmatch~ uClibc/libc/misc/Makefile.in ---- uClibc/libc/misc/Makefile.in.rpmatch~ 2009-12-03 02:14:29.000000000 -0500 -+++ uClibc/libc/misc/Makefile.in 2009-12-07 02:18:14.519923129 -0500 -@@ -22,6 +22,7 @@ include $(top_srcdir)libc/misc/internals - include $(top_srcdir)libc/misc/locale/Makefile.in - include $(top_srcdir)libc/misc/mntent/Makefile.in - include $(top_srcdir)libc/misc/regex/Makefile.in -+include $(top_srcdir)libc/misc/rpmatch/Makefile.in - include $(top_srcdir)libc/misc/search/Makefile.in - include $(top_srcdir)libc/misc/statfs/Makefile.in - include $(top_srcdir)libc/misc/syslog/Makefile.in -diff -p -up uClibc/libc/misc/rpmatch/.indent.pro.rpmatch~ uClibc/libc/misc/rpmatch/.indent.pro ---- uClibc/libc/misc/rpmatch/.indent.pro.rpmatch~ 2009-12-07 02:18:14.520922907 -0500 -+++ uClibc/libc/misc/rpmatch/.indent.pro 2009-12-07 02:18:14.520922907 -0500 -@@ -0,0 +1,33 @@ -+--blank-lines-after-declarations -+--blank-lines-after-procedures -+--break-before-boolean-operator -+--no-blank-lines-after-commas -+--braces-on-if-line -+--braces-on-struct-decl-line -+--comment-indentation25 -+--declaration-comment-column25 -+--no-comment-delimiters-on-blank-lines -+--cuddle-else -+--continuation-indentation4 -+--case-indentation0 -+--else-endif-column33 -+--space-after-cast -+--line-comments-indentation0 -+--declaration-indentation1 -+--dont-format-first-column-comments -+--dont-format-comments -+--honour-newlines -+--indent-level4 -+/* changed from 0 to 4 */ -+--parameter-indentation4 -+--line-length78 /* changed from 75 */ -+--continue-at-parentheses -+--no-space-after-function-call-names -+--dont-break-procedure-type -+--dont-star-comments -+--leave-optional-blank-lines -+--dont-space-special-semicolon -+--tab-size4 -+/* additions by Mark */ -+--case-brace-indentation0 -+--leave-preprocessor-space -diff -p -up uClibc/libc/misc/rpmatch/Makefile.in.rpmatch~ uClibc/libc/misc/rpmatch/Makefile.in ---- uClibc/libc/misc/rpmatch/Makefile.in.rpmatch~ 2009-12-07 02:18:14.520922907 -0500 -+++ uClibc/libc/misc/rpmatch/Makefile.in 2009-12-07 02:18:14.520922907 -0500 -@@ -0,0 +1,23 @@ -+# Makefile for uClibc -+# -+# Copyright (C) 2000-2008 Erik Andersen -+# -+# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. -+# -+ -+subdirs += libc/misc/rpmatch -+ -+CSRC := rpmatch.c -+ -+MISC_RPMATCH_DIR := $(top_srcdir)libc/misc/rpmatch -+MISC_RPMATCH_OUT := $(top_builddir)libc/misc/rpmatch -+ -+MISC_RPMATCH_SRC := $(patsubst %.c,$(MISC_RPMATCH_DIR)/%.c,$(CSRC)) -+MISC_RPMATCH_OBJ := $(patsubst %.c,$(MISC_RPMATCH_OUT)/%.o,$(CSRC)) -+ -+libc-$(UCLIBC_HAS_RPMATCH) += $(MISC_RPMATCH_OBJ) -+ -+objclean-y += misc_rpmatch_clean -+ -+misc_rpmatch_clean: -+ $(do_rm) $(addprefix $(MISC_RPMATCH_OUT)/*., o os) -diff -p -up uClibc/libc/misc/rpmatch/Makefile.rpmatch~ uClibc/libc/misc/rpmatch/Makefile ---- uClibc/libc/misc/rpmatch/Makefile.rpmatch~ 2009-12-07 02:18:14.520922907 -0500 -+++ uClibc/libc/misc/rpmatch/Makefile 2009-12-07 02:18:14.520922907 -0500 -@@ -0,0 +1,13 @@ -+# Makefile for uClibc -+# -+# Copyright (C) 2000-2005 Erik Andersen -+# -+# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. -+# -+ -+top_srcdir=../../../ -+top_builddir=../../../ -+all: objs -+include $(top_builddir)Rules.mak -+include Makefile.in -+include $(top_srcdir)Makerules -diff -p -up uClibc/libc/misc/rpmatch/rpmatch.c.rpmatch~ uClibc/libc/misc/rpmatch/rpmatch.c ---- uClibc/libc/misc/rpmatch/rpmatch.c.rpmatch~ 2009-12-07 02:18:14.520922907 -0500 -+++ uClibc/libc/misc/rpmatch/rpmatch.c 2009-12-07 02:30:25.447053083 -0500 -@@ -0,0 +1,64 @@ -+/* Determine whether string value is affirmation or negative response -+ according to current locale's data. -+ This file is part of the GNU C Library. -+ Copyright (C) 1996, 1997, 2000, 2003 Free Software Foundation, Inc. -+ -+ The GNU C Library is free software; you can redistribute it and/or -+ modify it under the terms of the GNU Lesser General Public -+ License as published by the Free Software Foundation; either -+ version 2.1 of the License, or (at your option) any later version. -+ -+ The GNU C Library is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -+ Lesser General Public License for more details. -+ -+ You should have received a copy of the GNU Lesser General Public -+ License along with the GNU C Library; if not, write to the Free -+ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -+ 02111-1307 USA. */ -+ -+#include -+#include -+#include -+ -+ -+int -+rpmatch (response) -+ const char *response; -+{ -+ /* Match against one of the response patterns, compiling the pattern -+ first if necessary. */ -+ auto int try (const int tag, const int match, const int nomatch, -+ const char **lastp, regex_t *re); -+ -+ int try (const int tag, const int match, const int nomatch, -+ const char **lastp, regex_t *re) -+ { -+ const char *pattern = nl_langinfo (tag); -+ if (pattern != *lastp) -+ { -+ /* The pattern has changed. */ -+ if (*lastp) -+ { -+ /* Free the old compiled pattern. */ -+ regfree (re); -+ *lastp = NULL; -+ } -+ /* Compile the pattern and cache it for future runs. */ -+ if (regcomp (re, pattern, REG_EXTENDED) != 0) -+ return -1; -+ *lastp = pattern; -+ } -+ -+ /* Try the pattern. */ -+ return regexec (re, response, 0, NULL, 0) == 0 ? match : nomatch; -+ } -+ -+ /* We cache the response patterns and compiled regexps here. */ -+ static const char *yesexpr, *noexpr; -+ static regex_t yesre, nore; -+ -+ return (try (YESEXPR, 1, 0, &yesexpr, &yesre) ?: -+ try (NOEXPR, 0, -1, &noexpr, &nore)); -+} diff --git a/system/devel/uClibc/files/mandriva/uclibc-gcc b/system/devel/uClibc/files/mandriva/uclibc-gcc deleted file mode 100644 index 803c241d..00000000 --- a/system/devel/uClibc/files/mandriva/uclibc-gcc +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -UCLIBC_PREFIX="/usr/lib/uClibc" - -export C_INCLUDE_PATH="$UCLIBC_PREFIX/usr/include:$(gcc -print-search-dirs|grep install:|cut -d\ -f2)/include" -export LD_RUN_PATH="$UCLIBC_PREFIX/lib" -export LIBRARY_PATH="$LD_RUN_PATH:$UCLIBC_PREFIX/usr/lib" -export GCC_EXEC_PREFIX="$LD_RUN_PATH" - -exec gcc -Wl,--dynamic-linker,$UCLIBC_PREFIX/lib/ld-uClibc.so.0 $@ diff --git a/system/devel/uClibc/files/pisilinux/linux-3.10-add___kernel_long_and___kernel_ulong.patch b/system/devel/uClibc/files/pisilinux/linux-3.10-add___kernel_long_and___kernel_ulong.patch deleted file mode 100644 index 8ae49570..00000000 --- a/system/devel/uClibc/files/pisilinux/linux-3.10-add___kernel_long_and___kernel_ulong.patch +++ /dev/null @@ -1,268 +0,0 @@ ---- a/libc/sysdeps/linux/alpha/bits/kernel_types.h -+++ b/libc/sysdeps/linux/alpha/bits/kernel_types.h -@@ -33,6 +33,8 @@ typedef __kernel_gid_t __kernel_old_gid_t; - typedef __kernel_uid_t __kernel_uid32_t; - typedef __kernel_gid_t __kernel_gid32_t; - typedef __kernel_dev_t __kernel_old_dev_t; -+typedef long __kernel_long_t; -+typedef unsigned long __kernel_ulong_t; - - typedef struct { - int val[2]; ---- a/libc/sysdeps/linux/arm/bits/kernel_types.h -+++ b/libc/sysdeps/linux/arm/bits/kernel_types.h -@@ -32,6 +32,8 @@ typedef unsigned short __kernel_old_uid_t; - typedef unsigned short __kernel_old_gid_t; - typedef long long __kernel_loff_t; - typedef __kernel_dev_t __kernel_old_dev_t; -+typedef long __kernel_long_t; -+typedef unsigned long __kernel_ulong_t; - - typedef struct { - #ifdef __USE_ALL ---- a/libc/sysdeps/linux/avr32/bits/kernel_types.h -+++ b/libc/sysdeps/linux/avr32/bits/kernel_types.h -@@ -39,6 +39,8 @@ typedef unsigned int __kernel_gid32_t; - typedef unsigned short __kernel_old_uid_t; - typedef unsigned short __kernel_old_gid_t; - typedef unsigned short __kernel_old_dev_t; -+typedef long __kernel_long_t; -+typedef unsigned long __kernel_ulong_t; - - #ifdef __GNUC__ - typedef long long __kernel_loff_t; ---- a/libc/sysdeps/linux/bfin/bits/kernel_types.h -+++ b/libc/sysdeps/linux/bfin/bits/kernel_types.h -@@ -32,6 +32,8 @@ typedef unsigned short __kernel_old_uid_t; - typedef unsigned short __kernel_old_gid_t; - typedef long long __kernel_loff_t; - typedef __kernel_dev_t __kernel_old_dev_t; -+typedef long __kernel_long_t; -+typedef unsigned long __kernel_ulong_t; - - typedef struct { - #ifdef __USE_ALL ---- a/libc/sysdeps/linux/c6x/bits/kernel_types.h -+++ b/libc/sysdeps/linux/c6x/bits/kernel_types.h -@@ -22,6 +22,8 @@ typedef unsigned int __kernel_gid32_t; - typedef unsigned int __kernel_old_uid_t; - typedef unsigned int __kernel_old_gid_t; - typedef unsigned int __kernel_old_dev_t; -+typedef long __kernel_long_t; -+typedef unsigned long __kernel_ulong_t; - typedef unsigned int __kernel_size_t; - typedef int __kernel_ssize_t; - typedef int __kernel_ptrdiff_t; ---- a/libc/sysdeps/linux/cris/bits/kernel_types.h -+++ b/libc/sysdeps/linux/cris/bits/kernel_types.h -@@ -28,6 +28,8 @@ typedef unsigned int __kernel_gid32_t; - typedef unsigned short __kernel_old_uid_t; - typedef unsigned short __kernel_old_gid_t; - typedef __kernel_dev_t __kernel_old_dev_t; -+typedef long __kernel_long_t; -+typedef unsigned long __kernel_ulong_t; - - #ifdef __GNUC__ - typedef long long __kernel_loff_t; ---- a/libc/sysdeps/linux/e1/bits/kernel_types.h -+++ b/libc/sysdeps/linux/e1/bits/kernel_types.h -@@ -31,6 +31,8 @@ typedef unsigned int __kernel_gid32_t; - typedef unsigned short __kernel_old_uid_t; - typedef unsigned short __kernel_old_gid_t; - typedef __kernel_dev_t __kernel_old_dev_t; -+typedef long __kernel_long_t; -+typedef unsigned long __kernel_ulong_t; - typedef long long __kernel_loff_t; - - /* ---- a/libc/sysdeps/linux/h8300/bits/kernel_types.h -+++ b/libc/sysdeps/linux/h8300/bits/kernel_types.h -@@ -32,6 +32,8 @@ typedef unsigned short __kernel_old_uid_t; - typedef unsigned short __kernel_old_gid_t; - typedef long long __kernel_loff_t; - typedef __kernel_dev_t __kernel_old_dev_t; -+typedef long __kernel_long_t; -+typedef unsigned long __kernel_ulong_t; - - typedef struct { - #ifdef __USE_ALL ---- a/libc/sysdeps/linux/hppa/bits/kernel_types.h -+++ b/libc/sysdeps/linux/hppa/bits/kernel_types.h -@@ -45,6 +45,8 @@ typedef long long __kernel_off64_t; - typedef unsigned long long __kernel_ino64_t; - - typedef unsigned int __kernel_old_dev_t; -+typedef long __kernel_long_t; -+typedef unsigned long __kernel_ulong_t; - - typedef struct { - #ifdef __USE_ALL ---- a/libc/sysdeps/linux/i386/bits/kernel_types.h -+++ b/libc/sysdeps/linux/i386/bits/kernel_types.h -@@ -40,6 +40,8 @@ typedef unsigned int __kernel_gid32_t; - typedef unsigned short __kernel_old_uid_t; - typedef unsigned short __kernel_old_gid_t; - typedef __kernel_dev_t __kernel_old_dev_t; -+typedef long __kernel_long_t; -+typedef unsigned long __kernel_ulong_t; - typedef long long __kernel_loff_t; - - typedef struct { ---- a/libc/sysdeps/linux/ia64/bits/kernel_types.h -+++ b/libc/sysdeps/linux/ia64/bits/kernel_types.h -@@ -52,5 +52,7 @@ typedef __kernel_gid_t __kernel_gid32_t; - - typedef unsigned int __kernel_dev_t; - typedef unsigned int __kernel_old_dev_t; -+typedef long __kernel_long_t; -+typedef unsigned long __kernel_ulong_t; - - #endif /* _ASM_IA64_POSIX_TYPES_H */ ---- a/libc/sysdeps/linux/m68k/bits/kernel_types.h -+++ b/libc/sysdeps/linux/m68k/bits/kernel_types.h -@@ -32,6 +32,8 @@ typedef unsigned short __kernel_old_uid_t; - typedef unsigned short __kernel_old_gid_t; - typedef long long __kernel_loff_t; - typedef __kernel_dev_t __kernel_old_dev_t; -+typedef long __kernel_long_t; -+typedef unsigned long __kernel_ulong_t; - - typedef struct { - #ifdef __USE_ALL ---- a/libc/sysdeps/linux/microblaze/bits/kernel_types.h -+++ b/libc/sysdeps/linux/microblaze/bits/kernel_types.h -@@ -44,6 +44,8 @@ typedef unsigned int __kernel_gid32_t; - typedef unsigned int __kernel_old_uid_t; - typedef unsigned int __kernel_old_gid_t; - typedef unsigned int __kernel_old_dev_t; -+typedef long __kernel_long_t; -+typedef unsigned long __kernel_ulong_t; - - #ifdef __GNUC__ - typedef long long __kernel_loff_t; ---- a/libc/sysdeps/linux/mips/bits/kernel_types.h -+++ b/libc/sysdeps/linux/mips/bits/kernel_types.h -@@ -32,6 +32,8 @@ typedef int __kernel_gid32_t; - typedef __kernel_uid_t __kernel_old_uid_t; - typedef __kernel_gid_t __kernel_old_gid_t; - typedef __kernel_dev_t __kernel_old_dev_t; -+typedef long __kernel_long_t; -+typedef unsigned long __kernel_ulong_t; - typedef long long __kernel_loff_t; - #else - typedef unsigned int __kernel_dev_t; -@@ -68,6 +70,8 @@ typedef int __kernel_gid32_t; - typedef __kernel_uid_t __kernel_old_uid_t; - typedef __kernel_gid_t __kernel_old_gid_t; - typedef __kernel_dev_t __kernel_old_dev_t; -+typedef long __kernel_long_t; -+typedef unsigned long __kernel_ulong_t; - typedef long long __kernel_loff_t; - #endif - ---- a/libc/sysdeps/linux/nios2/bits/kernel_types.h -+++ b/libc/sysdeps/linux/nios2/bits/kernel_types.h -@@ -31,6 +31,8 @@ typedef unsigned int __kernel_gid32_t; - typedef unsigned short __kernel_old_uid_t; - typedef unsigned short __kernel_old_gid_t; - typedef unsigned short __kernel_old_dev_t; -+typedef long __kernel_long_t; -+typedef unsigned long __kernel_ulong_t; - typedef long long __kernel_loff_t; - - typedef struct { ---- a/libc/sysdeps/linux/powerpc/bits/kernel_types.h -+++ b/libc/sysdeps/linux/powerpc/bits/kernel_types.h -@@ -36,6 +36,8 @@ typedef unsigned int __kernel_gid32_t; - typedef unsigned int __kernel_old_uid_t; - typedef unsigned int __kernel_old_gid_t; - typedef __kernel_dev_t __kernel_old_dev_t; -+typedef long __kernel_long_t; -+typedef unsigned long __kernel_ulong_t; - #else - typedef unsigned int __kernel_dev_t; - typedef unsigned int __kernel_ino_t; -@@ -61,6 +63,8 @@ typedef unsigned int __kernel_gid32_t; - typedef unsigned int __kernel_old_uid_t; - typedef unsigned int __kernel_old_gid_t; - typedef __kernel_dev_t __kernel_old_dev_t; -+typedef long __kernel_long_t; -+typedef unsigned long __kernel_ulong_t; - typedef long long __kernel_loff_t; - #endif - ---- a/libc/sysdeps/linux/sh/bits/kernel_types.h -+++ b/libc/sysdeps/linux/sh/bits/kernel_types.h -@@ -32,6 +32,8 @@ typedef unsigned int __kernel_gid32_t; - typedef unsigned short __kernel_old_uid_t; - typedef unsigned short __kernel_old_gid_t; - typedef __kernel_dev_t __kernel_old_dev_t; -+typedef long __kernel_long_t; -+typedef unsigned long __kernel_ulong_t; - typedef long long __kernel_loff_t; - - typedef struct { ---- a/libc/sysdeps/linux/sh64/bits/kernel_types.h -+++ b/libc/sysdeps/linux/sh64/bits/kernel_types.h -@@ -43,6 +43,8 @@ typedef unsigned int __kernel_gid32_t; - typedef unsigned short __kernel_old_uid_t; - typedef unsigned short __kernel_old_gid_t; - typedef __kernel_dev_t __kernel_old_dev_t; -+typedef long __kernel_long_t; -+typedef unsigned long __kernel_ulong_t; - typedef long long __kernel_loff_t; - - typedef struct { ---- a/libc/sysdeps/linux/sparc/bits/kernel_types.h -+++ b/libc/sysdeps/linux/sparc/bits/kernel_types.h -@@ -32,6 +32,8 @@ typedef unsigned short __kernel_gid16_t; - typedef __kernel_uid_t __kernel_old_uid_t; - typedef __kernel_gid_t __kernel_old_gid_t; - typedef __kernel_dev_t __kernel_old_dev_t; -+typedef long __kernel_long_t; -+typedef unsigned long __kernel_ulong_t; - typedef __kernel_uid_t __kernel_uid32_t; - typedef __kernel_gid_t __kernel_gid32_t; - typedef int __kernel_suseconds_t; -@@ -62,6 +64,8 @@ typedef unsigned int __kernel_gid32_t; - typedef unsigned short __kernel_old_uid_t; - typedef unsigned short __kernel_old_gid_t; - typedef __kernel_dev_t __kernel_old_dev_t; -+typedef long __kernel_long_t; -+typedef unsigned long __kernel_ulong_t; - typedef long long __kernel_loff_t; - #endif - ---- a/libc/sysdeps/linux/v850/bits/kernel_types.h -+++ b/libc/sysdeps/linux/v850/bits/kernel_types.h -@@ -41,6 +41,8 @@ typedef unsigned int __kernel_gid32_t; - typedef unsigned short __kernel_old_uid_t; - typedef unsigned short __kernel_old_gid_t; - typedef __kernel_dev_t __kernel_old_dev_t; -+typedef long __kernel_long_t; -+typedef unsigned long __kernel_ulong_t; - - typedef struct { - #ifdef __USE_ALL ---- a/libc/sysdeps/linux/x86_64/bits/kernel_types.h -+++ b/libc/sysdeps/linux/x86_64/bits/kernel_types.h -@@ -40,6 +40,8 @@ typedef unsigned int __kernel_gid32_t; - typedef unsigned short __kernel_old_uid_t; - typedef unsigned short __kernel_old_gid_t; - typedef __kernel_dev_t __kernel_old_dev_t; -+typedef long __kernel_long_t; -+typedef unsigned long __kernel_ulong_t; - typedef long long __kernel_loff_t; - - typedef struct { ---- a/libc/sysdeps/linux/xtensa/bits/kernel_types.h -+++ b/libc/sysdeps/linux/xtensa/bits/kernel_types.h -@@ -33,6 +33,8 @@ typedef unsigned int __kernel_gid32_t; - typedef unsigned short __kernel_old_uid_t; - typedef unsigned short __kernel_old_gid_t; - typedef unsigned short __kernel_old_dev_t; -+typedef long __kernel_long_t; -+typedef unsigned long __kernel_ulong_t; - typedef long long __kernel_loff_t; - - /* Beginning in 2.6 kernels, which is the first version that includes the diff --git a/system/devel/uClibc/files/shared-config.patch b/system/devel/uClibc/files/shared-config.patch deleted file mode 100644 index f1e5a5e1..00000000 --- a/system/devel/uClibc/files/shared-config.patch +++ /dev/null @@ -1,245 +0,0 @@ ---- /dev/null 2010-02-11 13:01:22.560459797 +0200 -+++ .config 2010-02-15 11:58:19.347565630 +0200 -@@ -0,0 +1,242 @@ -+# -+# Automatically generated make config: don't edit -+# Version: 0.9.30.2 -+# Mon Feb 15 11:58:19 2010 -+# -+# TARGET_alpha is not set -+# TARGET_arm is not set -+# TARGET_avr32 is not set -+# TARGET_bfin is not set -+# TARGET_cris is not set -+# TARGET_e1 is not set -+# TARGET_frv is not set -+# TARGET_h8300 is not set -+# TARGET_hppa is not set -+TARGET_i386=y -+# TARGET_i960 is not set -+# TARGET_ia64 is not set -+# TARGET_m68k is not set -+# TARGET_microblaze is not set -+# TARGET_mips is not set -+# TARGET_nios is not set -+# TARGET_nios2 is not set -+# TARGET_powerpc is not set -+# TARGET_sh is not set -+# TARGET_sh64 is not set -+# TARGET_sparc is not set -+# TARGET_v850 is not set -+# TARGET_vax is not set -+# TARGET_x86_64 is not set -+# TARGET_xtensa is not set -+ -+# -+# Target Architecture Features and Options -+# -+TARGET_ARCH="i386" -+FORCE_OPTIONS_FOR_ARCH=y -+# CONFIG_GENERIC_386 is not set -+# CONFIG_386 is not set -+# CONFIG_486 is not set -+# CONFIG_586 is not set -+# CONFIG_586MMX is not set -+# CONFIG_686 is not set -+# CONFIG_PENTIUMII is not set -+CONFIG_PENTIUMIII=y -+# CONFIG_PENTIUM4 is not set -+# CONFIG_K6 is not set -+# CONFIG_K7 is not set -+# CONFIG_ELAN is not set -+# CONFIG_CRUSOE is not set -+# CONFIG_WINCHIPC6 is not set -+# CONFIG_WINCHIP2 is not set -+# CONFIG_CYRIXIII is not set -+# CONFIG_NEHEMIAH is not set -+TARGET_SUBARCH="" -+ -+# -+# Using ELF file format -+# -+ARCH_LITTLE_ENDIAN=y -+ -+# -+# Using Little Endian -+# -+ARCH_HAS_MMU=y -+ARCH_USE_MMU=y -+UCLIBC_HAS_FLOATS=y -+UCLIBC_HAS_FPU=y -+DO_C99_MATH=y -+# UCLIBC_HAS_FENV is not set -+UCLIBC_HAS_LONG_DOUBLE_MATH=y -+KERNEL_HEADERS="/usr/include" -+HAVE_DOT_CONFIG=y -+ -+# -+# General Library Settings -+# -+# HAVE_NO_PIC is not set -+DOPIC=y -+# ARCH_HAS_NO_SHARED is not set -+# ARCH_HAS_NO_LDSO is not set -+HAVE_SHARED=y -+# FORCE_SHAREABLE_TEXT_SEGMENTS is not set -+LDSO_LDD_SUPPORT=y -+LDSO_CACHE_SUPPORT=y -+LDSO_PRELOAD_FILE_SUPPORT=y -+LDSO_BASE_FILENAME="ld.so" -+UCLIBC_STATIC_LDCONFIG=y -+LDSO_RUNPATH=y -+UCLIBC_CTOR_DTOR=y -+LDSO_GNU_HASH_SUPPORT=y -+# HAS_NO_THREADS is not set -+UCLIBC_HAS_THREADS=y -+# PTHREADS_DEBUG_SUPPORT is not set -+LINUXTHREADS_OLD=y -+UCLIBC_HAS_SYSLOG=y -+UCLIBC_HAS_LFS=y -+# MALLOC is not set -+# MALLOC_SIMPLE is not set -+MALLOC_STANDARD=y -+MALLOC_GLIBC_COMPAT=y -+UCLIBC_DYNAMIC_ATEXIT=y -+# COMPAT_ATEXIT is not set -+UCLIBC_SUSV3_LEGACY=y -+UCLIBC_SUSV3_LEGACY_MACROS=y -+# UCLIBC_HAS_STUBS is not set -+UCLIBC_HAS_SHADOW=y -+UCLIBC_HAS_PROGRAM_INVOCATION_NAME=y -+UCLIBC_HAS___PROGNAME=y -+UCLIBC_HAS_PTY=y -+ASSUME_DEVPTS=y -+UNIX98PTY_ONLY=y -+UCLIBC_HAS_GETPT=y -+UCLIBC_HAS_TM_EXTENSIONS=y -+UCLIBC_HAS_TZ_CACHING=y -+UCLIBC_HAS_TZ_FILE=y -+UCLIBC_HAS_TZ_FILE_READ_MANY=y -+UCLIBC_TZ_FILE_PATH="/etc/TZ" -+ -+# -+# Advanced Library Settings -+# -+UCLIBC_PWD_BUFFER_SIZE=256 -+UCLIBC_GRP_BUFFER_SIZE=256 -+ -+# -+# Support various families of functions -+# -+# UCLIBC_LINUX_MODULE_24 is not set -+UCLIBC_LINUX_SPECIFIC=y -+UCLIBC_HAS_GNU_ERROR=y -+UCLIBC_BSD_SPECIFIC=y -+UCLIBC_HAS_BSD_ERR=y -+# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set -+# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set -+UCLIBC_NTP_LEGACY=y -+UCLIBC_SV4_DEPRECATED=y -+UCLIBC_HAS_REALTIME=y -+UCLIBC_HAS_ADVANCED_REALTIME=y -+UCLIBC_HAS_EPOLL=y -+UCLIBC_HAS_XATTR=y -+# UCLIBC_HAS_PROFILING is not set -+UCLIBC_HAS_CRYPT_IMPL=y -+UCLIBC_HAS_CRYPT=y -+UCLIBC_HAS_NETWORK_SUPPORT=y -+UCLIBC_HAS_SOCKET=y -+UCLIBC_HAS_IPV4=y -+UCLIBC_HAS_IPV6=y -+UCLIBC_HAS_RPC=y -+# UCLIBC_HAS_FULL_RPC is not set -+# UCLIBC_HAS_REENTRANT_RPC is not set -+UCLIBC_USE_NETLINK=y -+UCLIBC_SUPPORT_AI_ADDRCONFIG=y -+# UCLIBC_HAS_BSD_RES_CLOSE is not set -+ -+# -+# String and Stdio Support -+# -+UCLIBC_HAS_STRING_GENERIC_OPT=y -+UCLIBC_HAS_STRING_ARCH_OPT=y -+UCLIBC_HAS_CTYPE_TABLES=y -+UCLIBC_HAS_CTYPE_SIGNED=y -+UCLIBC_HAS_CTYPE_UNSAFE=y -+# UCLIBC_HAS_CTYPE_CHECKED is not set -+# UCLIBC_HAS_CTYPE_ENFORCED is not set -+UCLIBC_HAS_WCHAR=y -+# UCLIBC_HAS_LOCALE is not set -+UCLIBC_HAS_HEXADECIMAL_FLOATS=y -+UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y -+UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9 -+UCLIBC_HAS_SCANF_GLIBC_A_FLAG=y -+# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set -+# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set -+# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set -+# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set -+# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set -+UCLIBC_HAS_STDIO_BUFSIZ_4096=y -+# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set -+UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y -+# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set -+# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set -+# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set -+UCLIBC_HAS_STDIO_GETC_MACRO=y -+UCLIBC_HAS_STDIO_PUTC_MACRO=y -+UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y -+UCLIBC_HAS_FOPEN_LARGEFILE_MODE=y -+UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE=y -+UCLIBC_HAS_GLIBC_CUSTOM_STREAMS=y -+UCLIBC_HAS_PRINTF_M_SPEC=y -+UCLIBC_HAS_ERRNO_MESSAGES=y -+# UCLIBC_HAS_SYS_ERRLIST is not set -+UCLIBC_HAS_SIGNUM_MESSAGES=y -+UCLIBC_HAS_SYS_SIGLIST=y -+UCLIBC_HAS_GNU_GETOPT=y -+UCLIBC_HAS_GNU_GETSUBOPT=y -+ -+# -+# Big and Tall -+# -+UCLIBC_HAS_REGEX=y -+# UCLIBC_HAS_REGEX_OLD is not set -+UCLIBC_HAS_FNMATCH=y -+# UCLIBC_HAS_FNMATCH_OLD is not set -+UCLIBC_HAS_RPMATCH=y -+# UCLIBC_HAS_WORDEXP is not set -+# UCLIBC_HAS_FTW is not set -+UCLIBC_HAS_GLOB=y -+UCLIBC_HAS_GNU_GLOB=y -+ -+# -+# Library Installation Options -+# -+SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)$(SHARED_LIB_DIRNAME)" -+RUNTIME_PREFIX="" -+DEVEL_PREFIX="" -+ -+# -+# Security options -+# -+# UCLIBC_BUILD_PIE is not set -+# UCLIBC_HAS_ARC4RANDOM is not set -+# HAVE_NO_SSP is not set -+# UCLIBC_HAS_SSP is not set -+UCLIBC_BUILD_RELRO=y -+# UCLIBC_BUILD_NOW is not set -+UCLIBC_BUILD_NOEXECSTACK=y -+ -+# -+# uClibc development/debugging options -+# -+CROSS_COMPILER_PREFIX="" -+UCLIBC_EXTRA_CFLAGS="" -+# DODEBUG is not set -+# DODEBUG_PT is not set -+# DOSTRIP is not set -+# DOASSERTS is not set -+# SUPPORT_LD_DEBUG is not set -+# SUPPORT_LD_DEBUG_EARLY is not set -+# UCLIBC_MALLOC_DEBUGGING is not set -+WARNINGS="-Wall" -+# EXTRA_WARNINGS is not set -+# DOMULTI is not set -+# UCLIBC_MJN3_ONLY is not set diff --git a/system/devel/uClibc/files/suse/uClibc.fix-pthread-warnings.patch b/system/devel/uClibc/files/suse/uClibc.fix-pthread-warnings.patch deleted file mode 100644 index 74248c05..00000000 --- a/system/devel/uClibc/files/suse/uClibc.fix-pthread-warnings.patch +++ /dev/null @@ -1,318 +0,0 @@ -Subject: fix pthread warnings - -From: Stefan Assmann - -This patch declares prototypes of several functions to get rid of the -following compiler warnings: -./libpthread/linuxthreads.old/sysdeps/x86_64/pt-machine.h:44: warning: no previous prototype for 'testandset' -./libpthread/linuxthreads.old/sysdeps/x86_64/pt-machine.h:62: warning: no previous prototype for '__compare_and_swap' -./libpthread/linuxthreads.old/sysdeps/ia64/pt-machine.h:101: warning: no previous prototype for '__compare_and_swap_with_release_semantics' - -Signed-off-by: Stefan Assmann ---- - libpthread/linuxthreads.old/sysdeps/alpha/pt-machine.h | 2 ++ - libpthread/linuxthreads.old/sysdeps/arm/pt-machine.h | 1 + - libpthread/linuxthreads.old/sysdeps/avr32/pt-machine.h | 2 ++ - libpthread/linuxthreads.old/sysdeps/bfin/pt-machine.h | 2 ++ - libpthread/linuxthreads.old/sysdeps/cris/pt-machine.h | 1 + - libpthread/linuxthreads.old/sysdeps/frv/pt-machine.h | 1 + - libpthread/linuxthreads.old/sysdeps/h8300/pt-machine.h | 1 + - libpthread/linuxthreads.old/sysdeps/i386/pt-machine.h | 2 ++ - libpthread/linuxthreads.old/sysdeps/ia64/pt-machine.h | 4 ++++ - libpthread/linuxthreads.old/sysdeps/m68k/pt-machine.h | 2 ++ - libpthread/linuxthreads.old/sysdeps/mips/pt-machine.h | 2 ++ - libpthread/linuxthreads.old/sysdeps/nios/pt-machine.h | 1 + - libpthread/linuxthreads.old/sysdeps/nios2/pt-machine.h | 1 + - libpthread/linuxthreads.old/sysdeps/powerpc/pt-machine.h | 3 +++ - libpthread/linuxthreads.old/sysdeps/sh/pt-machine.h | 1 + - libpthread/linuxthreads.old/sysdeps/v850/pt-machine.h | 1 + - libpthread/linuxthreads.old/sysdeps/x86_64/pt-machine.h | 2 ++ - libpthread/linuxthreads.old/sysdeps/xtensa/pt-machine.h | 1 + - 18 files changed, 30 insertions(+) - -Index: uClibc-0.9.31/libpthread/linuxthreads.old/sysdeps/x86_64/pt-machine.h -=================================================================== ---- uClibc-0.9.31.orig/libpthread/linuxthreads.old/sysdeps/x86_64/pt-machine.h -+++ uClibc-0.9.31/libpthread/linuxthreads.old/sysdeps/x86_64/pt-machine.h -@@ -40,6 +40,7 @@ register char * stack_pointer __asm__ (" - - - /* Spinlock implementation; required. */ -+PT_EI long int testandset (int *__spinlock); - PT_EI long int - testandset (int *__spinlock) - { -@@ -58,6 +59,7 @@ testandset (int *__spinlock) - /* Compare-and-swap for semaphores. */ - # define HAS_COMPARE_AND_SWAP - -+PT_EI int __compare_and_swap (long int *__p, long int __oldval, long int __newval); - PT_EI int - __compare_and_swap (long int *__p, long int __oldval, long int __newval) - { -Index: uClibc-0.9.31/libpthread/linuxthreads.old/sysdeps/alpha/pt-machine.h -=================================================================== ---- uClibc-0.9.31.orig/libpthread/linuxthreads.old/sysdeps/alpha/pt-machine.h -+++ uClibc-0.9.31/libpthread/linuxthreads.old/sysdeps/alpha/pt-machine.h -@@ -48,6 +48,7 @@ register char *stack_pointer __asm__("$3 - - - /* Spinlock implementation; required. */ -+PT_EI long int testandset (int *spinlock); - PT_EI long int - testandset (int *spinlock) - { -@@ -95,6 +96,7 @@ testandset (int *spinlock) - /* Compare-and-swap for semaphores. */ - - #define HAS_COMPARE_AND_SWAP -+PT_EI int __compare_and_swap (long int *p, long int oldval, long int newval); - PT_EI int - __compare_and_swap (long int *p, long int oldval, long int newval) - { -Index: uClibc-0.9.31/libpthread/linuxthreads.old/sysdeps/avr32/pt-machine.h -=================================================================== ---- uClibc-0.9.31.orig/libpthread/linuxthreads.old/sysdeps/avr32/pt-machine.h -+++ uClibc-0.9.31/libpthread/linuxthreads.old/sysdeps/avr32/pt-machine.h -@@ -34,6 +34,7 @@ extern long int testandset (int *spinloc - extern int __compare_and_swap (long int *p, long int oldval, long int newval); - - /* Spinlock implementation; required. */ -+PT_EI long int testandset (int *spinlock); - PT_EI long int - testandset (int *spinlock) - { -@@ -49,6 +50,7 @@ register char * stack_pointer __asm__ (" - /* Compare-and-swap for semaphores. */ - - #define HAS_COMPARE_AND_SWAP -+PT_EI int __compare_and_swap (long int *p, long int oldval, long int newval); - PT_EI int - __compare_and_swap(long int *p, long int oldval, long int newval) - { -Index: uClibc-0.9.31/libpthread/linuxthreads.old/sysdeps/bfin/pt-machine.h -=================================================================== ---- uClibc-0.9.31.orig/libpthread/linuxthreads.old/sysdeps/bfin/pt-machine.h -+++ uClibc-0.9.31/libpthread/linuxthreads.old/sysdeps/bfin/pt-machine.h -@@ -36,6 +36,7 @@ - It's ugly. But it's the only thing we can do now. - The handler of EXCPT 0x4 expects the address of the lock is passed through - R0. And the result is returned by R0. */ -+PT_EI long int testandset (int *spinlock); - PT_EI long int - testandset (int *spinlock) - { -@@ -51,6 +52,7 @@ testandset (int *spinlock) - } - - #define HAS_COMPARE_AND_SWAP -+PT_EI int __compare_and_swap (long int *p, long int oldval, long int newval); - PT_EI int - __compare_and_swap (long int *p, long int oldval, long int newval) - { -Index: uClibc-0.9.31/libpthread/linuxthreads.old/sysdeps/cris/pt-machine.h -=================================================================== ---- uClibc-0.9.31.orig/libpthread/linuxthreads.old/sysdeps/cris/pt-machine.h -+++ uClibc-0.9.31/libpthread/linuxthreads.old/sysdeps/cris/pt-machine.h -@@ -26,6 +26,7 @@ - # define PT_EI __extern_always_inline - #endif - -+PT_EI long int testandset (int *spinlock); - PT_EI long int - testandset (int *spinlock) - { -Index: uClibc-0.9.31/libpthread/linuxthreads.old/sysdeps/frv/pt-machine.h -=================================================================== ---- uClibc-0.9.31.orig/libpthread/linuxthreads.old/sysdeps/frv/pt-machine.h -+++ uClibc-0.9.31/libpthread/linuxthreads.old/sysdeps/frv/pt-machine.h -@@ -31,6 +31,7 @@ - #endif - - /* Spinlock implementation; required. */ -+PT_EI long int testandset (int *spinlock); - PT_EI long int - testandset (int *spinlock) - { -Index: uClibc-0.9.31/libpthread/linuxthreads.old/sysdeps/h8300/pt-machine.h -=================================================================== ---- uClibc-0.9.31.orig/libpthread/linuxthreads.old/sysdeps/h8300/pt-machine.h -+++ uClibc-0.9.31/libpthread/linuxthreads.old/sysdeps/h8300/pt-machine.h -@@ -29,6 +29,7 @@ - #endif - - /* Spinlock implementation; required. */ -+PT_EI long int testandset (int *spinlock); - PT_EI long int - testandset (int *spinlock) - { -Index: uClibc-0.9.31/libpthread/linuxthreads.old/sysdeps/i386/pt-machine.h -=================================================================== ---- uClibc-0.9.31.orig/libpthread/linuxthreads.old/sysdeps/i386/pt-machine.h -+++ uClibc-0.9.31/libpthread/linuxthreads.old/sysdeps/i386/pt-machine.h -@@ -43,6 +43,7 @@ extern int __compare_and_swap (long int - defined __athlon__ || defined __k8__) - - /* Spinlock implementation; required. */ -+PT_EI long int testandset (int *spinlock); - PT_EI long int - testandset (int *spinlock) - { -@@ -60,6 +61,7 @@ testandset (int *spinlock) - /* Compare-and-swap for semaphores. It's always available on i686. */ - #define HAS_COMPARE_AND_SWAP - -+PT_EI int __compare_and_swap (long int *p, long int oldval, long int newval); - PT_EI int - __compare_and_swap (long int *p, long int oldval, long int newval) - { -Index: uClibc-0.9.31/libpthread/linuxthreads.old/sysdeps/ia64/pt-machine.h -=================================================================== ---- uClibc-0.9.31.orig/libpthread/linuxthreads.old/sysdeps/ia64/pt-machine.h -+++ uClibc-0.9.31/libpthread/linuxthreads.old/sysdeps/ia64/pt-machine.h -@@ -82,6 +82,7 @@ register struct _pthread_descr_struct *_ - - #define HAS_COMPARE_AND_SWAP_WITH_RELEASE_SEMANTICS - -+PT_EI int __compare_and_swap (long int *p, long int oldval, long int newval); - PT_EI int - __compare_and_swap (long int *p, long int oldval, long int newval) - { -@@ -96,6 +97,8 @@ __compare_and_swap (long int *p, long in - return readval == oldval; - } - -+PT_EI int __compare_and_swap_with_release_semantics (long int *p, long int -+ oldval, long int newval); - PT_EI int - __compare_and_swap_with_release_semantics (long int *p, - long int oldval, -@@ -115,6 +118,7 @@ __compare_and_swap_with_release_semantic - #endif /* ELF_MACHINE_NAME */ - - /* Spinlock implementation; required. */ -+PT_EI long int testandset (int *spinlock); - PT_EI long int - testandset (int *spinlock) - { -Index: uClibc-0.9.31/libpthread/linuxthreads.old/sysdeps/m68k/pt-machine.h -=================================================================== ---- uClibc-0.9.31.orig/libpthread/linuxthreads.old/sysdeps/m68k/pt-machine.h -+++ uClibc-0.9.31/libpthread/linuxthreads.old/sysdeps/m68k/pt-machine.h -@@ -29,6 +29,7 @@ - #endif - - /* Spinlock implementation; required. */ -+PT_EI long int testandset (int *spinlock); - PT_EI long int - testandset (int *spinlock) - { -@@ -58,6 +59,7 @@ register char * stack_pointer __asm__ (" - - #if !defined(__mcoldfire__) && !defined(__mcf5200__) && !defined(__mc68000) - #define HAS_COMPARE_AND_SWAP -+PT_EI int __compare_and_swap (long int *p, long int oldval, long int newval); - PT_EI int - __compare_and_swap (long int *p, long int oldval, long int newval) - { -Index: uClibc-0.9.31/libpthread/linuxthreads.old/sysdeps/mips/pt-machine.h -=================================================================== ---- uClibc-0.9.31.orig/libpthread/linuxthreads.old/sysdeps/mips/pt-machine.h -+++ uClibc-0.9.31/libpthread/linuxthreads.old/sysdeps/mips/pt-machine.h -@@ -61,6 +61,7 @@ __NTH (_test_and_set (int *p, int v)) - - /* Spinlock implementation; required. */ - -+PT_EI long int testandset (int *spinlock); - PT_EI long int - testandset (int *spinlock) - { -@@ -77,6 +78,7 @@ register char * stack_pointer __asm__ (" - /* Compare-and-swap for semaphores. */ - - #define HAS_COMPARE_AND_SWAP -+PT_EI int __compare_and_swap (long int *p, long int oldval, long int newval); - PT_EI int - __compare_and_swap (long int *p, long int oldval, long int newval) - { -Index: uClibc-0.9.31/libpthread/linuxthreads.old/sysdeps/nios2/pt-machine.h -=================================================================== ---- uClibc-0.9.31.orig/libpthread/linuxthreads.old/sysdeps/nios2/pt-machine.h -+++ uClibc-0.9.31/libpthread/linuxthreads.old/sysdeps/nios2/pt-machine.h -@@ -28,6 +28,7 @@ - #endif - - /* Spinlock implementation; required. */ -+PT_EI long int testandset (int *spinlock); - PT_EI long int - testandset (int *spinlock) - { -Index: uClibc-0.9.31/libpthread/linuxthreads.old/sysdeps/nios/pt-machine.h -=================================================================== ---- uClibc-0.9.31.orig/libpthread/linuxthreads.old/sysdeps/nios/pt-machine.h -+++ uClibc-0.9.31/libpthread/linuxthreads.old/sysdeps/nios/pt-machine.h -@@ -33,6 +33,7 @@ - what else we can do before we have a swap like instruction? This is better - than nothing - */ -+PT_EI long int testandset (int *spinlock); - PT_EI long int - testandset (int *spinlock) - { -Index: uClibc-0.9.31/libpthread/linuxthreads.old/sysdeps/sh/pt-machine.h -=================================================================== ---- uClibc-0.9.31.orig/libpthread/linuxthreads.old/sysdeps/sh/pt-machine.h -+++ uClibc-0.9.31/libpthread/linuxthreads.old/sysdeps/sh/pt-machine.h -@@ -32,6 +32,7 @@ - extern long int testandset (int *spinlock); - - /* Spinlock implementation; required. */ -+PT_EI long int testandset (int *spinlock); - PT_EI long int - testandset (int *spinlock) - { -Index: uClibc-0.9.31/libpthread/linuxthreads.old/sysdeps/xtensa/pt-machine.h -=================================================================== ---- uClibc-0.9.31.orig/libpthread/linuxthreads.old/sysdeps/xtensa/pt-machine.h -+++ uClibc-0.9.31/libpthread/linuxthreads.old/sysdeps/xtensa/pt-machine.h -@@ -33,6 +33,7 @@ - #define MEMORY_BARRIER() __asm__ ("memw" : : : "memory") - - /* Spinlock implementation; required. */ -+PT_EI long int testandset (int *spinlock); - PT_EI long int - testandset (int *spinlock) - { -Index: uClibc-0.9.31/libpthread/linuxthreads.old/sysdeps/powerpc/pt-machine.h -=================================================================== ---- uClibc-0.9.31.orig/libpthread/linuxthreads.old/sysdeps/powerpc/pt-machine.h -+++ uClibc-0.9.31/libpthread/linuxthreads.old/sysdeps/powerpc/pt-machine.h -@@ -56,6 +56,7 @@ register struct _pthread_descr_struct *_ - #define HAS_COMPARE_AND_SWAP_WITH_RELEASE_SEMANTICS - #define IMPLEMENT_TAS_WITH_CAS - -+PT_EI int __compare_and_swap (long int *p, long int oldval, long int newval); - PT_EI int - __compare_and_swap (long int *p, long int oldval, long int newval) - { -@@ -79,6 +80,8 @@ __compare_and_swap (long int *p, long in - return ret == 0; - } - -+PT_EI int __compare_and_swap_with_release_semantics (long int *p, long int -+ oldval, long int newval); - PT_EI int - __compare_and_swap_with_release_semantics (long int *p, - long int oldval, long int newval) -Index: uClibc-0.9.31/libpthread/linuxthreads.old/sysdeps/v850/pt-machine.h -=================================================================== ---- uClibc-0.9.31.orig/libpthread/linuxthreads.old/sysdeps/v850/pt-machine.h -+++ uClibc-0.9.31/libpthread/linuxthreads.old/sysdeps/v850/pt-machine.h -@@ -29,6 +29,7 @@ register char *__stack_pointer __asm__ ( - - /* Atomically: If *PTR == OLD, set *PTR to NEW and return true, - otherwise do nothing and return false. */ -+PT_EI int __compare_and_swap (long int *p, long int oldval, long int newval); - PT_EI int - __compare_and_swap (long *ptr, long old, long new) - { diff --git a/system/devel/uClibc/files/suse/uclibc-gcc-suse b/system/devel/uClibc/files/suse/uclibc-gcc-suse deleted file mode 100644 index b2b2a89a..00000000 --- a/system/devel/uClibc/files/suse/uclibc-gcc-suse +++ /dev/null @@ -1,75 +0,0 @@ -#!/bin/sh -# This scripts is a simple wrapper to compile .c files statically with uClibc. -# Caution! Until now this has just been used to compile some helloworld.c and -# compiling busybox. Don't expect this to work out of the box. -# Patches welcome :) -# set -x - -if [ $# -eq 0 ]; then - echo "gcc-uClibc: no input files" - exit 1 -fi - -# make does the job for us -SHARED_LIB_LOADER_PREFIX="" -RUNTIME_PREFIX="/usr/lib/uClibc/" -DEVEL_PREFIX="/usr/lib/uClibc/" - -CMDLINE=($@) -USE_C= -END_GROUP= -UCLIBC_END= - -# tweak the commandline -for c in $(seq 0 $((${#CMDLINE[@]} - 1))); do - i="${CMDLINE[$c]}" - case "$i" in - -c) USE_C=1 ;; - -r) USE_C=1 ;; - -Wl,--end-group) - UCLIBC_END="-Wl,--end-group" - CMDLINE[$c]= - ;; - -DDEBUGUCLIBC) DEBUG_UCLIBC=1 ;; - esac -done - -# Environment -CC=$(which gcc) -LIBGCC="$($CC -print-libgcc-file-name)" -CC_INC=$($CC -print-file-name=include) -CC_INCFIXED=$($CC -print-file-name=include-fixed) -UCLIBC_INC="${DEVEL_PREFIX}include" -UCLIBC_CFLAGS="-Os -I$UCLIBC_INC -isystem $CC_INC -idirafter $CC_INCFIXED -idirafter /usr/include" -UCLIBC_LDFLAGS="-static -nostdinc -nostdlib" -if [ "$USE_C" ]; then - UCLIBC_OBJ= - UCLIBC_STATIC= -else - UCLIBC_OBJ="${DEVEL_PREFIX}lib/crt[1in].o" - UCLIBC_STATIC="${DEVEL_PREFIX}lib/libc.a $LIBGCC" -fi - -if [ "$1" = "-E" -a "$3" = "-" ]; then - $CC "$@" - exit $? -fi - -# Debug -if [ "$DEBUG_UCLIBC" ]; then - echo CC=\"$CC\" - echo LIBGCC=\"$LIBGCC\" - echo GCC_INC=\"$GCC_INC\" - echo GCC_INCFIXED=\"$GCC_INCFIXED\" - echo UCLIBC_INC=\"$UCLIBC_INC\" - echo UCLIBC_CFLAGS=\"$UCLIBC_CFLAGS\" - echo UCLIBC_LDFLAGS=\"$UCLIBC_LDFLAGS\" - echo UCLIBC_OBJ=\"$UCLIBC_OBJ\" - echo UCLIBC_STATIC=\"$UCLIBC_STATIC\" - echo CMDLINE=\"${CMDLINE[@]}\" - set -x -fi - -# call compiler -$CC $UCLIBC_LDFLAGS $UCLIBC_CFLAGS $GCC_INC ${CMDLINE[@]} $UCLIBC_OBJ $UCLIBC_STATIC $UCLIBC_END - diff --git a/system/devel/uClibc/files/test.c b/system/devel/uClibc/files/test.c deleted file mode 100644 index ff0bb049..00000000 --- a/system/devel/uClibc/files/test.c +++ /dev/null @@ -1,6 +0,0 @@ -#include - -int main() { - printf("Hello world\n"); - return 0; -} diff --git a/system/devel/uClibc/pspec.xml b/system/devel/uClibc/pspec.xml deleted file mode 100644 index d60b9dc6..00000000 --- a/system/devel/uClibc/pspec.xml +++ /dev/null @@ -1,104 +0,0 @@ - - - - - uClibc - http://www.uclibc.org - - PisiLinux Community - admins@pisilinux.org - - LGPLv2.1 - library - A C library for embedded Linux - uClibc is a C library for developing embedded Linux systems. It is much smaller than the GNU C Library but nearly all applications supported by glibc also work perfectly with uClibc. - http://www.uclibc.org/downloads/uClibc-0.9.33.2.tar.xz - - - mandriva/uClibc-0.9.30.2-add-rpmatch-function.patch - mandriva/uClibc-0.9.30.1-add-scanf-a-flag.patch - - - - - - - pisilinux/linux-3.10-add___kernel_long_and___kernel_ulong.patch - - - - - - suse/uClibc.fix-pthread-warnings.patch - - - - shared-config.patch - - - - - uClibc - - /usr/lib/uClibc/sbin/ldconfig - /usr/lib/uClibc/bin - /usr/lib/uClibc - /usr/lib/uClibc/lib - /usr/lib/uClibc/usr/lib - /usr/lib/uClibc/etc - /usr/share/doc - - - System.PackageHandler - - - - - uClibc-devel - Development files for uClibc - - uClibc - - - /usr/lib/uClibc/usr/include - /usr/lib/uClibc/usr/lib/*.o - /usr/lib/uClibc/usr/lib/*.a - - - /usr/lib/uClibc/usr/bin - - /usr/bin - - - - - - 2014-05-11 - 0.9.33.2 - Release bump. - Marcin Bojara - marcin@pisilinux.org - - - 2013-09-05 - 0.9.33.2 - build for kernel 3.10 - Erdinç Gültekin - erdincgultekin@pisilinux.org - - - 2013-09-05 - 0.9.33.2 - Add missing method to pakhandler.py - Marcin Bojara - marcin@pisilinux.org - - - 2012-08-19 - 0.9.33.2 - First release - Yusuf Aydemir - yusuf.aydemir@pisilinux.org - - - diff --git a/system/devel/uClibc/translations.xml b/system/devel/uClibc/translations.xml deleted file mode 100644 index cb75da7e..00000000 --- a/system/devel/uClibc/translations.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - uClibc - Düşük boyut için optimize edilmiş standart C kitaplığı - uClibc, düşük boyutlu olması için optimize edilmiş bir C kitaplığıdır. Farklı mimarilerde statik bağlanmış ve düşük boyutlu ikili dosyalar oluşturmak için kullanılabilir. - - - - uClibc-devel - uClibc için geliştirme başlıkları - -