Merge branch 'master' of github.com:pisilinux/main

This commit is contained in:
Ertuğrul Erata
2018-05-08 19:06:52 +03:00
29 changed files with 140688 additions and 139611 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/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 pisitools
def install():
pisitools.insinto("/usr/share/fonts/amiri", "Amiri*.ttf")
pisitools.dodoc("OFL.txt", "README-Arabic", "README", )
pisitools.insinto("/usr/share/amiri-fonts", "*.pdf")
+36
View File
@@ -0,0 +1,36 @@
<?xml version="1.0"?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>amiri-fonts</Name>
<Homepage>http://www.google.com/get/noto</Homepage>
<Packager>
<Name>Stefan Gronewold</Name>
<Email>groni@pisilinux.org</Email>
</Packager>
<License>Apache</License>
<IsA>data:font</IsA>
<Summary>A classical Arabic typeface</Summary>
<Description>Amiri is a classical Arabic typeface in Naskh style for typesetting books and other running text.</Description>
<Archive sha1sum="c832ab2294fe9188e9b14a7039b19d49605a1b7a" type="zip">https://github.com/khaledhosny/amiri-font/releases/download/0.111/amiri-0.111.zip</Archive>
</Source>
<Package>
<Name>amiri-fonts</Name>
<Files>
<Path fileType="data">/usr/share/doc</Path>
<Path fileType="doc">/usr/share/fonts/amiri</Path>
<Path fileType="doc">/usr/share/amiri-fonts</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2018-05-08</Date>
<Version>0.111</Version>
<Comment>First release</Comment>
<Name>Stefan Gronewold</Name>
<Email>groni@pisilinux.org</Email>
</Update>
</History>
</PISI>
+11
View File
@@ -0,0 +1,11 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>amiri-fonts</Name>
<Summary xml:lang="tr">Arapça TTF yazı tipleri</Summary>
<Summary xml:lang="en">Arabic TTF fonts</Summary>
<Description xml:lang="en">Amiri is a classical Arabic typeface.</Description>
<Description xml:lang="tr">Amiri klasik bir Arap yazıdır.</Description>
</Source>
</PISI>
+19
View File
@@ -0,0 +1,19 @@
#!/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 pisitools
def install():
pisitools.insinto("/usr/share/fonts/sil-lateef", "LateefGR-Regular.ttf")
pisitools.dodoc("OFL.txt", "OFL-FAQ.txt", "README.txt", "FONTLOG.txt")
pisitools.insinto("/usr/share/sil-lateef/documentation", "./documentation/*.pdf")
pisitools.insinto("/usr/share/sil-lateef/documentation", "./documentation/*.odt")
pisitools.insinto("/usr/share/sil-lateef/documentation", "./documentation/*.txt")
pisitools.insinto("/usr/share/sil-lateef/web", "./web/*.html")
pisitools.insinto("/usr/share/sil-lateef/web", "./web/*.css")
pisitools.insinto("/usr/share/sil-lateef/web", "./web/*.woff")
+37
View File
@@ -0,0 +1,37 @@
<?xml version="1.0"?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>sil-lateef</Name>
<Homepage>https://software.sil.org/lateef/</Homepage>
<Packager>
<Name>Stefan Gronewold</Name>
<Email>groni@pisilinux.org</Email>
</Packager>
<License>custom:OFL</License>
<IsA>data:font</IsA>
<Summary>OpenType Arabic font from SIL</Summary>
<Description>Lateef is named after Shah Abdul Lateef Bhitai, the famous Sindhi mystic and poet. It is intended to be an appropriate style for use in Sindhi and other languages of southern Asia..</Description>
<Archive sha1sum="be0d83b3d7d97d6429136a54590488ea3b3cce68" type="zip">http://software.sil.org/downloads/r/lateef/LateefGR-1.200.zip</Archive>
</Source>
<Package>
<Name>sil-lateef</Name>
<Files>
<Path fileType="data">/usr/share/doc</Path>
<Path fileType="doc">/usr/share/fonts/sil-lateef</Path>
<Path fileType="doc">/usr/share/sil-lateef/documentation</Path>
<Path fileType="doc">/usr/share/sil-lateef/web</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2018-05-08</Date>
<Version>1.200</Version>
<Comment>First release.</Comment>
<Name>Stefan Gronewold</Name>
<Email>groni@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,11 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>amiri-fonts</Name>
<Summary xml:lang="tr">Arapça TTF yazı tipleri</Summary>
<Summary xml:lang="en">Arabic TTF fonts</Summary>
<Description xml:lang="en">Amiri is a classical Arabic typeface.</Description>
<Description xml:lang="tr">Amiri klasik bir Arap yazıdır.</Description>
</Source>
</PISI>
+22
View File
@@ -0,0 +1,22 @@
#!/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
WorkDir = "gl-117-1.3.2-src"
def setup():
autotools.configure()
def build():
autotools.make()
def install():
autotools.rawInstall('DESTDIR="%s"' % get.installDIR())
pisitools.dodoc("AUTHORS", "ChangeLog", "README", "FAQ", "NEWS")
+13
View File
@@ -0,0 +1,13 @@
[Desktop Entry]
Type=Application
Version=1.0
Encoding=UTF-8
Name=GL 117
Name[tr]= GL 117
GenericName=3D Flight Simulator
GenericName[tr]=3B Uçuş Simulasyonu
Icon=gl117
Exec=gl-117
Terminal=false
StartupNotify=false
Categories=Application;Game;Simulation;
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

+58
View File
@@ -0,0 +1,58 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>gl117</Name>
<Homepage>http://www.heptargon.de/gl-117/gl-117.html</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<Icon>gl117</Icon>
<IsA>app:gui</IsA>
<Summary>Flight simulator</Summary>
<Description>GL117 is an action-packed flight simulator.</Description>
<Archive sha1sum="9782e1438fab9e992c20092a48cc50b01bc72f34" type="tarbz2">mirrors://sourceforge/gl-117/gl-117-1.3.2-src.tar.bz2</Archive>
<BuildDependencies>
<Dependency>mesa-devel</Dependency>
<Dependency>libsdl-devel</Dependency>
<Dependency>freeglut-devel</Dependency>
<Dependency>mesa-glu-devel</Dependency>
<Dependency>sdl-mixer-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>gl117</Name>
<RuntimeDependencies>
<Dependency>mesa</Dependency>
<Dependency>libsdl</Dependency>
<Dependency>freeglut</Dependency>
<Dependency>mesa-glu</Dependency>
<Dependency>sdl-mixer</Dependency>
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share/gl-117</Path>
<Path fileType="data">/usr/share/pixmaps</Path>
<Path fileType="data">/usr/share/applications</Path>
</Files>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/usr/share/pixmaps/gl117.png">gl117.png</AdditionalFile>
<AdditionalFile owner="root" permission="0644" target="/usr/share/applications/gl117.desktop">gl117.desktop</AdditionalFile>
</AdditionalFiles>
</Package>
<History>
<Update release="1">
<Date>2010-12-17</Date>
<Version>1.3.2</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>gl117</Name>
<Summary xml:lang="tr">Uçak savaşı oyunu</Summary>
<Description xml:lang="tr">GL117, uçağınızla savaştığınız aksiyon dolu bir oyundur.</Description>
</Source>
</PISI>
+139966 -139603
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1 +1 @@
8aa7256d80606efd46999c85ee6696fe188e5719
0b05ba0246729fc0690c317da9695f894f36c129
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
4775f257e53ccf5a85abf895b30f9575c6cc8b6e
2968bf12709d33ef58024aebf5fa25b74f5ed96b
+9 -1
View File
@@ -13,7 +13,7 @@
<IsA>library</IsA>
<Summary>Provides useful functions commonly found on BSD systems</Summary>
<Description>This library provides useful functions commonly found on BSD systems, and lacking on others like GNU systems, thus making it easier to port projects with strong BSD origins, without needing to embed the same code over and over again on each project.</Description>
<Archive sha1sum="39fd9f427a202568f35622b754b547e1607419da" type="tarxz">https://libbsd.freedesktop.org/releases/libbsd-0.8.3.tar.xz</Archive>
<Archive sha1sum="1fef4a4896df478d0d52f273ff6cd97d198ec870" type="tarxz">https://libbsd.freedesktop.org/releases/libbsd-0.8.7.tar.xz</Archive>
</Source>
<Package>
@@ -34,10 +34,18 @@
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="man">/usr/share/man/man3</Path>
<Path fileType="man">/usr/share/man/man7</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2018-05-07</Date>
<Version>0.8.7</Version>
<Comment>Version Bump</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2017-01-27</Date>
<Version>0.8.3</Version>
+10 -1
View File
@@ -12,11 +12,12 @@
<IsA>library</IsA>
<Summary>Hierarchical pool based memory allocator</Summary>
<Description>libtalloc is a library which implements a hierarchical allocator with destructors which is the core memory allocator in samba.</Description>
<Archive sha1sum="4b59061f0ee5f337aacef0c258a4ffd05b3fec6c" type="targz">http://www.samba.org/ftp/talloc/talloc-2.1.10.tar.gz</Archive>
<Archive sha1sum="e4e85e40bdb8225e8987a2f5ade7694b49390a94" type="targz">http://www.samba.org/ftp/talloc/talloc-2.1.13.tar.gz</Archive>
<BuildDependencies>
<Dependency>docbook-xsl</Dependency>
<Dependency>libxslt-devel</Dependency>
<Dependency>python-devel</Dependency>
<Dependency>libbsd-devel</Dependency>
<Dependency>attr-devel</Dependency>
</BuildDependencies>
</Source>
@@ -25,6 +26,7 @@
<Name>libtalloc</Name>
<RuntimeDependencies>
<Dependency>python</Dependency>
<Dependency>libbsd</Dependency>
<Dependency>attr</Dependency>
</RuntimeDependencies>
<Files>
@@ -68,6 +70,13 @@
</Package>
<History>
<Update release="6">
<Date>2018-05-08</Date>
<Version>2.1.13</Version>
<Comment>Version Bump</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="5">
<Date>2017-12-27</Date>
<Version>2.1.10</Version>
+12 -3
View File
@@ -12,13 +12,14 @@
<IsA>library</IsA>
<Summary>Event system based on the talloc memory management library</Summary>
<Description>libtevent is an event system based on the talloc memory management library. It is the core event system used in Samba. Tevent has support for many event types, including timers, signals, and the classic file descriptor events.</Description>
<Archive sha1sum="ed21eea3e85ecbe4320586330a7d3c8c13bfe3e8" type="targz">https://www.samba.org/ftp/tevent/tevent-0.9.34.tar.gz</Archive>
<Archive sha1sum="52abcf7e7e298ccaca3b13e72a567cfaf3fb2da0" type="targz">https://www.samba.org/ftp/tevent/tevent-0.9.36.tar.gz</Archive>
<BuildDependencies>
<Dependency>python-devel</Dependency>
<Dependency>libbsd-devel</Dependency>
<Dependency>gdb-devel</Dependency>
<Dependency>libtalloc-devel</Dependency>
<Dependency>libxslt</Dependency>
<Dependency>docbook-xsl</Dependency>
<Dependency>libxslt</Dependency>
<Dependency>docbook-xsl</Dependency>
</BuildDependencies>
</Source>
@@ -26,6 +27,7 @@
<Name>libtevent</Name>
<RuntimeDependencies>
<Dependency>libtalloc</Dependency>
<Dependency>libbsd</Dependency>
<Dependency>python</Dependency>
</RuntimeDependencies>
<Files>
@@ -47,6 +49,13 @@
</Package>
<History>
<Update release="6">
<Date>2018-05-08</Date>
<Version>0.9.36</Version>
<Comment>Version bump</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="5">
<Date>2017-12-27</Date>
<Version>0.9.34</Version>
+13
View File
@@ -0,0 +1,13 @@
#!/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 pisitools
def install():
pisitools.dobin("setconf.py")
pisitools.rename("/usr/bin/setconf.py", "setconf")
pisitools.doman("setconf.1.gz")
pisitools.dodoc("COPYING")
+43
View File
@@ -0,0 +1,43 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>setconf</Name>
<Homepage>http://setconf.roboticoverlords.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>console</IsA>
<Summary>Utility to easily change settings in configuration files</Summary>
<Description>setconf, Utility to easily change settings in configuration files</Description>
<Archive sha1sum="c15376d56456c5c6efbf0306f836fcfb4d7a8b93" type="tarxz">http://setconf.roboticoverlords.org/setconf-0.7.5.tar.xz</Archive>
</Source>
<Package>
<Name>setconf</Name>
<Files>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="executable">/usr/bin</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2018-05-06</Date>
<Version>0.7.5</Version>
<Comment>Version bump</Comment>
<Name>Stefan Gronewold</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2014-07-04</Date>
<Version>0.6.2</Version>
<Comment>First release</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>setconf</Name>
<Summary xml:lang="en">Utility to easily change settings in configuration files</Summary>
<Description xml:lang="en">setconf, Utility to easily change settings in configuration files</Description>
</Source>
</PISI>
+35
View File
@@ -0,0 +1,35 @@
#!/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 shelltools
from pisi.actionsapi import get
major, minor = get.srcVERSION().split(".", 1)
def setup():
shelltools.system("setconf Makefile TINYXML_USE_STL YES")
shelltools.system('setconf Makefile RELEASE_CFLAGS "$CXXFLAGS -fPIC"')
#pisitools.dosed("Makefile", "@MAJOR_V@", "%s" % major)
#pisitools.dosed("Makefile", "@MINOR_V@", "%s" % minor)
def build():
autotools.make()
shelltools.system('g++ -fPIC "$CXXFLAGS" -shared -o "libtinyxml.so.0.2.6.2" \
-Wl,-soname,"libtinyxml.so.0" $(ls *.o | grep -v xmltest)')
def install():
pisitools.insinto("/usr/include", "*.h")
# pisi dolib does not care for symlinks
# pisitools.dolib("libtinyxml.so*")
for i in shelltools.ls("libtinyxml.so*"):
pisitools.insinto("/usr/lib/", i)
pisitools.dosym("/usr/lib/libtinyxml.so.0.2.6.2", "usr/lib/libtinyxml.so.0")
pisitools.dosym("/usr/lib/libtinyxml.so.0.2.6.2", "usr/lib/libtinyxml.so")
pisitools.dodoc("changes.txt", "readme.txt")
pisitools.dohtml("docs/*")
@@ -0,0 +1,164 @@
--- Makefile.orig 2010-08-21 20:52:22.923386908 +0000
+++ Makefile 2010-08-21 14:29:13.000000000 +0000
@@ -1,130 +1,33 @@
-#****************************************************************************
-#
-# Makefile for TinyXml test.
-# Lee Thomason
-# www.grinninglizard.com
-#
-# This is a GNU make (gmake) makefile
-#****************************************************************************
-
-# DEBUG can be set to YES to include debugging info, or NO otherwise
-DEBUG := NO
-
-# PROFILE can be set to YES to include profiling info, or NO otherwise
-PROFILE := NO
-
-# TINYXML_USE_STL can be used to turn on STL support. NO, then STL
-# will not be used. YES will include the STL files.
-TINYXML_USE_STL := NO
-
-#****************************************************************************
-
-CC := gcc
-CXX := g++
-LD := g++
-AR := ar rc
-RANLIB := ranlib
-
-DEBUG_CFLAGS := -Wall -Wno-format -g -DDEBUG
-RELEASE_CFLAGS := -Wall -Wno-unknown-pragmas -Wno-format -O3
-
-LIBS :=
-
-DEBUG_CXXFLAGS := ${DEBUG_CFLAGS}
-RELEASE_CXXFLAGS := ${RELEASE_CFLAGS}
-
-DEBUG_LDFLAGS := -g
-RELEASE_LDFLAGS :=
-
-ifeq (YES, ${DEBUG})
- CFLAGS := ${DEBUG_CFLAGS}
- CXXFLAGS := ${DEBUG_CXXFLAGS}
- LDFLAGS := ${DEBUG_LDFLAGS}
-else
- CFLAGS := ${RELEASE_CFLAGS}
- CXXFLAGS := ${RELEASE_CXXFLAGS}
- LDFLAGS := ${RELEASE_LDFLAGS}
-endif
-
-ifeq (YES, ${PROFILE})
- CFLAGS := ${CFLAGS} -pg -O3
- CXXFLAGS := ${CXXFLAGS} -pg -O3
- LDFLAGS := ${LDFLAGS} -pg
-endif
-
-#****************************************************************************
-# Preprocessor directives
-#****************************************************************************
-
-ifeq (YES, ${TINYXML_USE_STL})
- DEFS := -DTIXML_USE_STL
-else
- DEFS :=
-endif
-
-#****************************************************************************
-# Include paths
-#****************************************************************************
-
-#INCS := -I/usr/include/g++-2 -I/usr/local/include
-INCS :=
-
-
-#****************************************************************************
-# Makefile code common to all platforms
-#****************************************************************************
-
-CFLAGS := ${CFLAGS} ${DEFS}
-CXXFLAGS := ${CXXFLAGS} ${DEFS}
-
-#****************************************************************************
-# Targets of the build
-#****************************************************************************
-
-OUTPUT := xmltest
-
-all: ${OUTPUT}
-
-
-#****************************************************************************
-# Source files
-#****************************************************************************
-
-SRCS := tinyxml.cpp tinyxmlparser.cpp xmltest.cpp tinyxmlerror.cpp tinystr.cpp
-
-# Add on the sources for libraries
-SRCS := ${SRCS}
-
-OBJS := $(addsuffix .o,$(basename ${SRCS}))
-
-#****************************************************************************
-# Output
-#****************************************************************************
-
-${OUTPUT}: ${OBJS}
- ${LD} -o $@ ${LDFLAGS} ${OBJS} ${LIBS} ${EXTRA_LIBS}
-
-#****************************************************************************
-# common rules
-#****************************************************************************
-
-# Rules for compiling source files to object files
-%.o : %.cpp
- ${CXX} -c ${CXXFLAGS} ${INCS} $< -o $@
-
-%.o : %.c
- ${CC} -c ${CFLAGS} ${INCS} $< -o $@
-
-dist:
- bash makedistlinux
+AR ?= ar
+CXX ?= g++
+CXXFLAGS += -Wall
+RANLIB ?= ranlib
+
+name = libtinyxml
+major = @MAJOR_V@
+minor = @MINOR_V@
+version = $(major).$(minor)
+
+src = tinyxml.cpp tinyxmlparser.cpp tinyxmlerror.cpp tinystr.cpp
+lo = $(addsuffix .lo,$(basename ${src}))
+o = $(addsuffix .o,$(basename ${src}))
+
+all: $(name).a $(name).so
+
+%.o: %.cpp
+ $(CXX) -c $(CXXFLAGS) $(CPPFLAGS) $< -o $@
+
+$(name).a: $(o)
+ $(AR) rc $(name).a $(o)
+ $(RANLIB) $(name).a
+
+%.lo: %.cpp
+ $(CXX) -c $(CXXFLAGS) $(CPPFLAGS) -fPIC $< -o $@
+
+$(name).so: $(lo)
+ $(CXX) $(LDFLAGS) -fPIC -shared $(lo) -Wl,-soname,$(name).so.$(major) -o $(name).so.$(version)
+ ln -s $(name).so.$(version) $(name).so.$(major)
+ ln -s $(name).so.$(version) $(name).so
clean:
- -rm -f core ${OBJS} ${OUTPUT}
-
-depend:
- #makedepend ${INCS} ${SRCS}
-
-tinyxml.o: tinyxml.h tinystr.h
-tinyxmlparser.o: tinyxml.h tinystr.h
-xmltest.o: tinyxml.h tinystr.h
-tinyxmlerror.o: tinyxml.h tinystr.h
+ -rm -f *.o *.lo *.so* *.a
@@ -0,0 +1,18 @@
Description: TinyXml is built with TIXML_USE_STL, so we have to
enforce it when the library is used.
Author: Felix Geyer <debfx-pkg@fobos.de>
diff -Nur tinyxml-2.5.3/tinyxml.h tinyxml-2.5.3.patch/tinyxml.h
--- tinyxml-2.5.3/tinyxml.h 2007-05-07 00:41:23.000000000 +0200
+++ tinyxml-2.5.3.patch/tinyxml.h 2009-07-08 22:32:03.000000000 +0200
@@ -26,6 +26,10 @@
#ifndef TINYXML_INCLUDED
#define TINYXML_INCLUDED
+#ifndef TIXML_USE_STL
+ #define TIXML_USE_STL
+#endif
+
#ifdef _MSC_VER
#pragma warning( push )
#pragma warning( disable : 4530 )
@@ -0,0 +1,64 @@
? entity.patch
Index: tinyxml.cpp
===================================================================
RCS file: /cvsroot/tinyxml/tinyxml/tinyxml.cpp,v
retrieving revision 1.105
diff -u -r1.105 tinyxml.cpp
--- tinyxml.cpp 5 Jun 2010 19:06:57 -0000 1.105
+++ tinyxml.cpp 19 Jul 2010 21:24:16 -0000
@@ -57,30 +57,7 @@
{
unsigned char c = (unsigned char) str[i];
- if ( c == '&'
- && i < ( (int)str.length() - 2 )
- && str[i+1] == '#'
- && str[i+2] == 'x' )
- {
- // Hexadecimal character reference.
- // Pass through unchanged.
- // &#xA9; -- copyright symbol, for example.
- //
- // The -1 is a bug fix from Rob Laveaux. It keeps
- // an overflow from happening if there is no ';'.
- // There are actually 2 ways to exit this loop -
- // while fails (error case) and break (semicolon found).
- // However, there is no mechanism (currently) for
- // this function to return an error.
- while ( i<(int)str.length()-1 )
- {
- outString->append( str.c_str() + i, 1 );
- ++i;
- if ( str[i] == ';' )
- break;
- }
- }
- else if ( c == '&' )
+ if ( c == '&' )
{
outString->append( entity[0].str, entity[0].strLength );
++i;
Index: xmltest.cpp
===================================================================
RCS file: /cvsroot/tinyxml/tinyxml/xmltest.cpp,v
retrieving revision 1.89
diff -u -r1.89 xmltest.cpp
--- xmltest.cpp 5 Jun 2010 17:41:52 -0000 1.89
+++ xmltest.cpp 19 Jul 2010 21:24:16 -0000
@@ -1340,6 +1340,16 @@
}*/
}
+ #ifdef TIXML_USE_STL
+ {
+ TiXmlDocument xml;
+ xml.Parse("<foo>foo&amp;#xa+bar</foo>");
+ std::string str;
+ str << xml;
+ XmlTest( "Entity escaping", "<foo>foo&amp;#xa+bar</foo>", str.c_str() );
+ }
+ #endif
+
/* 1417717 experiment
{
TiXmlDocument xml;
+10
View File
@@ -0,0 +1,10 @@
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: TinyXml
Description: simple, small, C++ XML parser
Version: 2.6.2
Libs: -L${libdir} -ltinyxml
Cflags: -I${includedir}
+83
View File
@@ -0,0 +1,83 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>tinyxml</Name>
<Homepage>http://www.grinninglizard.com/tinyxml</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>ZLIB</License>
<IsA>library</IsA>
<Summary>A simple, small, C++ XML parser</Summary>
<Description>TinyXML is a simple, small, C++ XML parser that can be easily integrating into other programs.</Description>
<Archive sha1sum="a425a22ff331dafa570b2a508a37a85a4eaa4127" type="zip">mirrors://sourceforge/tinyxml/tinyxml/2.6.2/tinyxml_2_6_2.zip</Archive>
<Patches>
<!--<Patch>Makefile.patch</Patch>-->
<Patch level="1">enforce-use-stl.patch</Patch>
<Patch>entity.patch</Patch>
</Patches>
<BuildDependencies>
<Dependency>setconf</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>tinyxml</Name>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="doc">/usr/share/doc/tinyxml/html</Path>
</Files>
</Package>
<Package>
<Name>tinyxml-devel</Name>
<Summary>Development files for tinyxml</Summary>
<RuntimeDependencies>
<Dependency release="current">tinyxml</Dependency>
</RuntimeDependencies>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/usr/lib/pkgconfig/tinyxml.pc">tinyxml.pc</AdditionalFile>
</AdditionalFiles>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2018-05-06</Date>
<Version>2.6.2</Version>
<Comment>Rebuild for Pisi Linux 2.0</Comment>
<Name>Stefan Gronewold</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2014-07-04</Date>
<Version>2.6.2</Version>
<Comment>version bump</Comment>
<Name>Kamil Atlı</Name>
<Email>suvarice@gmail.com</Email>
</Update>
<Update release="2">
<Date>2014-03-09</Date>
<Version>2.6.1</Version>
<Comment>Rebuild</Comment>
<Name>Varol Maksutoğlu</Name>
<Email>waroi@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2011-01-19</Date>
<Version>2.6.1</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>tinyxml</Name>
<Summary xml:lang="tr">Basit ve hafif bir XML ayrıştırıcı</Summary>
<Description xml:lang="tr">TinyXML, C++ için basit ve hafif bir XML ayrıştırıcıdır. Diğer programlara kolayca entegre edilebilir.</Description>
</Source>
<Package>
<Name>tinyxml-devel</Name>
<Summary xml:lang="tr">tinyxml için geliştirme başlıkları</Summary>
</Package>
</PISI>
+9 -1
View File
@@ -13,7 +13,7 @@
<IsA>app:console</IsA>
<Summary>Trivial database library</Summary>
<Description>libtdb contains C library and Python bindings to access to a trivial database. TDB is very much like GDBM and BSDDB except that it allows multiple simultaneous writers and uses locking internally to keep writers from trampling on each other.</Description>
<Archive sha1sum="86fec2b5e698ef15da07be4a26672773575e37cd" type="targz">https://www.samba.org/ftp/tdb/tdb-1.3.12.tar.gz</Archive>
<Archive sha1sum="0bdf33c1bd27922fcb7a71faf826bd7d500c256e" type="targz">https://www.samba.org/ftp/tdb/tdb-1.3.15.tar.gz</Archive>
<BuildDependencies>
<Dependency>libxslt</Dependency>
<Dependency>python-devel</Dependency>
@@ -28,6 +28,7 @@
<Name>libtdb</Name>
<RuntimeDependencies>
<Dependency>python</Dependency>
<Dependency>libbsd</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
@@ -50,6 +51,13 @@
</Package>
<History>
<Update release="5">
<Date>2018-05-08</Date>
<Version>1.3.15</Version>
<Comment>Version Bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="4">
<Date>2017-02-09</Date>
<Version>1.3.12</Version>