some packages update and rebuild

This commit is contained in:
alihanozturk
2017-02-15 13:52:22 +03:00
parent a2fbc97b8e
commit 23fd4d0482
9 changed files with 182 additions and 16 deletions
+1 -1
View File
@@ -26,4 +26,4 @@ def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dohtml(".")
pisitools.dodoc("COPYING", "NEWS", "ChangeLog")
pisitools.dodoc("COPYING", "README*")
@@ -0,0 +1,34 @@
diff -up gd-2.1.0/config/gdlib-config.in.multilib gd-2.1.0/config/gdlib-config.in
--- gd-2.1.0/config/gdlib-config.in.multilib 2013-04-21 16:58:17.820010758 +0200
+++ gd-2.1.0/config/gdlib-config.in 2013-04-21 16:59:27.896317922 +0200
@@ -7,9 +7,10 @@
# installation directories
prefix=@prefix@
exec_prefix=@exec_prefix@
-libdir=@libdir@
+libdir=`pkg-config gdlib --variable=libdir`
includedir=@includedir@
bindir=@bindir@
+ldflags=`pkg-config gdlib --variable=ldflags`
usage()
{
@@ -68,7 +69,7 @@ while test $# -gt 0; do
echo @GDLIB_REVISION@
;;
--ldflags)
- echo @LDFLAGS@
+ echo $ldflags
;;
--libs)
echo -lgd @LIBS@ @LIBICONV@
@@ -83,7 +84,7 @@ while test $# -gt 0; do
echo "GD library @VERSION@"
echo "includedir: $includedir"
echo "cflags: -I@includedir@"
- echo "ldflags: @LDFLAGS@"
+ echo "ldflags: $ldflags"
echo "libs: @LIBS@ @LIBICONV@"
echo "libdir: $libdir"
echo "features: @FEATURES@"
@@ -0,0 +1,42 @@
From 2b3dd57a6ccb2940f2e9119ae04e14362e2a1f61 Mon Sep 17 00:00:00 2001
From: Remi Collet <fedora@famillecollet.com>
Date: Fri, 22 Jul 2016 08:14:12 +0200
Subject: [PATCH] Fix gd2/gd2_read.c:8:6: error: 'error' may be used
uninitialized in this function [-Werror=maybe-uninitialized]
Also report about any error, not only the last one.
---
tests/gd2/gd2_read.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/tests/gd2/gd2_read.c b/tests/gd2/gd2_read.c
index 94fe069..8ce8bd1 100644
--- a/tests/gd2/gd2_read.c
+++ b/tests/gd2/gd2_read.c
@@ -5,7 +5,7 @@
int main(int argc, char *argv[])
{
- int error, i = 0;
+ int error = 0, i = 0;
gdImagePtr im, exp;
FILE *fp;
char *path[] = {
@@ -40,8 +40,6 @@ int main(int argc, char *argv[])
gdTestErrorMsg("image %s differs from expected result\n", path[i]);
gdImageDestroy(im);
error = 1;
- } else {
- error = 0;
}
if (exp) {
gdImageDestroy(exp);
@@ -52,8 +50,6 @@ int main(int argc, char *argv[])
gdTestErrorMsg("image %s should have failed to be loaded\n", path[i]);
gdImageDestroy(im);
error = 1;
- } else {
- error = 0;
}
}
i++;
@@ -0,0 +1,51 @@
From c9b601a658a79e6ea2aad29fbf60ca6e24ccef1e Mon Sep 17 00:00:00 2001
From: "Christoph M. Becker" <cmbecker69@gmx.de>
Date: Wed, 18 Jan 2017 13:59:02 +0100
Subject: [PATCH] Fix build issue regarding INT_MAX
For portability gd_gd2.c needs to include <limits.h>.
---
src/gd_gd2.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gd_gd2.c b/src/gd_gd2.c
index c2904ca..049c4c5 100644
--- a/src/gd_gd2.c
+++ b/src/gd_gd2.c
@@ -74,6 +74,7 @@
/* 2.0.29: no more errno.h, makes windows happy */
#include <math.h>
+#include <limits.h>
#include <string.h>
#include "gd.h"
#include "gd_errors.h"
From 55ac28a293eaa8c531870c8bb8ecc04b333975f4 Mon Sep 17 00:00:00 2001
From: "Christoph M. Becker" <cmbecker69@gmx.de>
Date: Thu, 19 Jan 2017 01:02:58 +0100
Subject: [PATCH] Fix #357: 2.2.4: Segfault in test suite.
We make sure to never pass a negative `int` as argument to a `size_t`
parameter.
---
src/gd_io_dp.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/gd_io_dp.c b/src/gd_io_dp.c
index eda2eeb..cb38794 100644
--- a/src/gd_io_dp.c
+++ b/src/gd_io_dp.c
@@ -292,6 +292,10 @@ static int dynamicGetbuf(gdIOCtxPtr ctx, void *buf, int len)
rlen = dp->realSize - dp->pos;
}
+ if (rlen < 0) {
+ return 0;
+ }
+
memcpy(buf, (void *) ((char *)dp->data + dp->pos), rlen);
dp->pos += rlen;
+13 -2
View File
@@ -13,7 +13,8 @@
<IsA>library</IsA>
<Summary>A fast library for creating graphic images</Summary>
<Description>The gd graphics library allows your code to quickly draw images complete with lines, arcs, text, multiple colors, cut and paste from other images, and flood fills, and to write out the result as a PNG or JPEG file. This is particularly useful in Web applications, where PNG and JPEG are two of the formats accepted for inline images by most browsers. Note that gd is not a paint program.</Description>
<Archive sha1sum="b089ee7fc0b47b8aa4c2c70087506806637f03be" type="targz">https://github.com/libgd/libgd/archive/gd-2.1.1.tar.gz</Archive> <BuildDependencies>
<Archive sha1sum="67779817d7aecb94594c43ace949af350ca1df7f" type="tarxz">https://github.com/libgd/libgd/releases/download/gd-2.2.4/libgd-2.2.4.tar.xz</Archive>
<BuildDependencies>
<Dependency>fontconfig-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>freetype-devel</Dependency>
@@ -23,7 +24,10 @@
<Dependency>libvpx-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch>gd-2.1.1-libvpx-1.4.0.patch</Patch>
<!-- <Patch>gd-2.1.1-libvpx-1.4.0.patch</Patch> -->
<Patch level="1">gd-2.1.0-multilib.patch</Patch>
<Patch level="1">gd-2.2.3-tests.patch</Patch>
<Patch level="1">gd-2.2.4-upstream.patch</Patch>
</Patches>
</Source>
@@ -67,6 +71,13 @@
</Package>
<History>
<Update release="3">
<Date>2017-02-15</Date>
<Version>2.2.4</Version>
<Comment>Version Bump</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2016-06-12</Date>
<Version>2.1.1</Version>
+8 -1
View File
@@ -12,7 +12,7 @@
<IsA>library</IsA>
<Summary>Jansson is a C library for encoding, decoding and manipulating JSON data.</Summary>
<Description>It features: Simple and intuitive API and data model, Comprehensive documentation, No dependencies on other libraries, Full Unicode support (UTF-8), Extensive test suite.</Description>
<Archive sha1sum="51cd3b57f152132de686bb8c1f4471cc9ca7970e" type="tarbz2">http://www.digip.org/jansson/releases/jansson-2.7.tar.bz2</Archive>
<Archive sha1sum="d8c04a344c37afff17cd17ffb3ca2a8a08c1eafc" type="tarbz2">http://www.digip.org/jansson/releases/jansson-2.9.tar.bz2</Archive>
<BuildDependencies>
<Dependency>glibc-devel</Dependency>
</BuildDependencies>
@@ -46,6 +46,13 @@
</Package>
<History>
<Update release="3">
<Date>2017-02-15</Date>
<Version>2.9</Version>
<Comment>Version Bump</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2016-06-09</Date>
<Version>2.7</Version>
+17 -10
View File
@@ -12,20 +12,20 @@
<IsA>library</IsA>
<Summary>Subtitle rendering library</Summary>
<Description>libass is a portable subtitle rendering library for the ASS/SSA.</Description>
<Archive sha1sum="a48a5d160f0644423f1baa66f88aae8fe24c9487" type="tarxz">https://github.com/libass/libass/releases/download/0.13.1/libass-0.13.1.tar.xz</Archive>
<Archive sha1sum="c11da6214fdbbaaf145862d215a77fa243126e3e" type="tarxz">https://github.com/libass/libass/releases/download/0.13.6/libass-0.13.6.tar.xz</Archive>
<BuildDependencies>
<Dependency versionFrom="2.11">fontconfig-devel</Dependency>
<Dependency versionFrom="2.5.5">freetype-devel</Dependency>
<Dependency versionFrom="0.19">fribidi-devel</Dependency>
<Dependency versionFrom="2.12.1">fontconfig-devel</Dependency>
<Dependency versionFrom="2.7.1">freetype-devel</Dependency>
<Dependency versionFrom="0.19.7">fribidi-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libass</Name>
<RuntimeDependencies>
<Dependency versionFrom="2.11">fontconfig</Dependency>
<Dependency versionFrom="2.5.5">freetype</Dependency>
<Dependency versionFrom="0.19">fribidi</Dependency>
<Dependency versionFrom="2.12.1">fontconfig</Dependency>
<Dependency versionFrom="2.7.1">freetype</Dependency>
<Dependency versionFrom="0.19.7">fribidi</Dependency>
<Dependency>harfbuzz</Dependency>
</RuntimeDependencies>
<Files>
@@ -39,9 +39,9 @@
<Summary>Development files for libass</Summary>
<RuntimeDependencies>
<Dependency release="current">libass</Dependency>
<Dependency versionFrom="2.11">fontconfig-devel</Dependency>
<Dependency versionFrom="2.5.5">freetype-devel</Dependency>
<Dependency versionFrom="0.19">fribidi-devel</Dependency>
<Dependency versionFrom="2.12.1">fontconfig-devel</Dependency>
<Dependency versionFrom="2.7.1">freetype-devel</Dependency>
<Dependency versionFrom="0.19.7">fribidi-devel</Dependency>
<Dependency>harfbuzz-devel</Dependency>
</RuntimeDependencies>
<Files>
@@ -51,6 +51,13 @@
</Package>
<History>
<Update release="3">
<Date>2017-02-15</Date>
<Version>0.13.6</Version>
<Comment>Version Bump</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2016-06-09</Date>
<Version>0.13.1</Version>
+8 -1
View File
@@ -12,7 +12,7 @@
<IsA>library</IsA>
<Summary>Library to access Blu-Ray disks for video playback</Summary>
<Description>Libbluray package is aiming to provide a full portable free open source bluray library, which can be plugged into popular media players to allow full bluray navigation and playback on Linux. It will eventually be compatible with all current titles, and will be easily portable and embeddable in standard players such as mplayer and vlc.</Description>
<Archive sha1sum="34eedb13e220eb88a5f58660bdb4e727e775fc83" type="tarbz2">ftp://ftp.videolan.org/pub/videolan/libbluray/0.9.2/libbluray-0.9.2.tar.bz2</Archive>
<Archive sha1sum="0d993610b2bd4b69d98828f69675aa613d870798" type="tarbz2">ftp://ftp.videolan.org/pub/videolan/libbluray/0.9.3/libbluray-0.9.3.tar.bz2</Archive>
<BuildDependencies>
<Dependency>libtool</Dependency>
<Dependency>doxygen</Dependency>
@@ -60,6 +60,13 @@
</Package>
<History>
<Update release="3">
<Date>2017-02-15</Date>
<Version>0.9.3</Version>
<Comment>Version Bump</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2016-06-09</Date>
<Version>0.9.2</Version>
+8 -1
View File
@@ -14,7 +14,7 @@
<IsA>library</IsA>
<Summary>Library parsing the Corel cdr documents</Summary>
<Description>Libcdr is library providing ability to interpret and import Corel Draw drawings into various applications.</Description>
<Archive sha1sum="244b92a51451ab4c2abc9aebfbe521e6277f7800" type="tarxz">http://dev-www.libreoffice.org/src/libcdr/libcdr-0.1.2.tar.xz</Archive>
<Archive sha1sum="af1cad13b431f31a27fb2a1b0599a9c479a732cf" type="tarxz">http://dev-www.libreoffice.org/src/libcdr/libcdr-0.1.3.tar.xz</Archive>
<BuildDependencies>
<Dependency>doxygen</Dependency>
<Dependency>zlib-devel</Dependency>
@@ -61,6 +61,13 @@
</Package>
<History>
<Update release="3">
<Date>2017-02-15</Date>
<Version>0.1.3</Version>
<Comment>Version Bump</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2016-06-09</Date>
<Version>0.1.2</Version>