* [ITA} gd 2.2.5-2
@ 2018-11-11 21:25 Ken Brown
2018-11-11 22:38 ` Marco Atzeri
0 siblings, 1 reply; 3+ messages in thread
From: Ken Brown @ 2018-11-11 21:25 UTC (permalink / raw)
To: cygwin-apps
[-- Attachment #1: Type: text/plain, Size: 583 bytes --]
Although there's been no new upstream release since the last Cygwin release,
there have been some bug fixes (including one that I just found to fix a crash
on 32-bit Cygwin), which warrant a new release.
I'm attaching my cygport file and the one patch that can't be gotten by "cygport
fetch". I'm also attaching, for comparison, the cygport file from the current
Cygwin release.
There are two test failures on 32-bit Cygwin. (There were four before I fixed
the crash I mentioned above.) I've reported them upstream and hope to get them
fixed eventually.
Ken
[-- Attachment #2: gd.cygport --]
[-- Type: text/plain, Size: 1287 bytes --]
NAME="gd"
VERSION=2.2.5
RELEASE=2
DEPEND="libwebp-devel libimagequant-devel"
CATEGORY="Libs"
SUMMARY="A library for the dynamic creation of images by programmers"
DESCRIPTION="GD is an open source code library for the dynamic creation of images by programmers.
GD creates PNG, JPEG and GIF images, among other formats. GD is commonly used to
generate charts, graphics, thumbnails, and most anything else, on the fly. While not
restricted to use on the web, the most common applications of GD involve web site development."
HOMEPAGE="https://libgd.github.io/"
SRC_URI="https://github.com/libgd/libgd/releases/download/gd-${VERSION}/libgd-${VERSION}.tar.xz"
SRC_DIR="libgd-${VERSION}"
PATCH_URI+=" https://src.fedoraproject.org/cgit/rpms/gd.git/plain/gd-2.2.5-gdImageBmpPtr-double-free.patch"
PATCH_URI+=" https://src.fedoraproject.org/cgit/rpms/gd.git/plain/gd-2.2.5-upstream.patch"
PATCH_URI+=" fix_gdmalloc_alignment.patch"
PKG_NAMES="gd libgd3 libgd-devel"
gd_CATEGORY="Graphics"
gd_SUMMARY="${SUMMARY} (utilities)"
gd_CONTENTS="
usr/bin/*.exe
usr/bin/bdftogd
usr/share/doc/
"
libgd3_SUMMARY="${SUMMARY} (runtime)"
libgd3_CONTENTS="
usr/bin/cyggd-3.dll
"
libgd_devel_SUMMARY="${SUMMARY} (development)"
libgd_devel_CONTENTS="
usr/bin/*-config
usr/include/
usr/lib/
"
[-- Attachment #3: fix_gdmalloc_alignment.patch --]
[-- Type: text/plain, Size: 358 bytes --]
--- origsrc/libgd/src/gdhelpers.c 2018-11-10 15:34:10.000000000 -0500
+++ src/libgd/src/gdhelpers.c 2018-11-11 14:27:52.396640200 -0500
@@ -72,7 +72,10 @@ void * gdCalloc (size_t nmemb, size_t si
void *
gdMalloc (size_t size)
{
- return malloc (size);
+ void *ptr = NULL;
+ if (posix_memalign (&ptr, 16, size))
+ return NULL;
+ return ptr;
}
void *
[-- Attachment #4: gd.cygport.orig --]
[-- Type: text/plain, Size: 1106 bytes --]
NAME="gd"
VERSION=2.2.5
RELEASE=1
CATEGORY="Libs"
SUMMARY="A library for the dynamic creation of images by programmers"
DESCRIPTION="GD is an open source code library for the dynamic creation of images by programmers.
GD creates PNG, JPEG and GIF images, among other formats. GD is commonly used to
generate charts, graphics, thumbnails, and most anything else, on the fly. While not
restricted to use on the web, the most common applications of GD involve web site development."
HOMEPAGE="https://libgd.github.io/"
SRC_URI="https://github.com/libgd/libgd/releases/download/gd-${VERSION}/libgd-${VERSION}.tar.xz"
SRC_DIR="libgd-${VERSION}"
PKG_NAMES="gd libgd3 libgd-devel"
gd_CATEGORY="Graphics"
gd_SUMMARY="${SUMMARY} (utilities)"
gd_CONTENTS="
usr/bin/*.exe
usr/bin/bdftogd
usr/share/doc/
"
libgd3_SUMMARY="${SUMMARY} (runtime)"
libgd3_CONTENTS="
usr/bin/cyggd-3.dll
"
libgd_devel_SUMMARY="${SUMMARY} (development)"
libgd_devel_CONTENTS="
usr/bin/*-config
usr/include/
usr/lib/
"
DIFF_EXCLUDES="Makefile.in"
src_compile() {
cd ${S}
# cygautoreconf
lndirs
cd ${B}
cygconf
cygmake
}
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ITA} gd 2.2.5-2
2018-11-11 21:25 [ITA} gd 2.2.5-2 Ken Brown
@ 2018-11-11 22:38 ` Marco Atzeri
2018-11-12 14:22 ` Andrew Schulman
0 siblings, 1 reply; 3+ messages in thread
From: Marco Atzeri @ 2018-11-11 22:38 UTC (permalink / raw)
To: cygwin-apps
Am 11.11.2018 um 22:25 schrieb Ken Brown:
> Although there's been no new upstream release since the last Cygwin release,
> there have been some bug fixes (including one that I just found to fix a crash
> on 32-bit Cygwin), which warrant a new release.
>
> I'm attaching my cygport file and the one patch that can't be gotten by "cygport
> fetch". I'm also attaching, for comparison, the cygport file from the current
> Cygwin release.
>
> There are two test failures on 32-bit Cygwin. (There were four before I fixed
> the crash I mentioned above.) I've reported them upstream and hope to get them
> fixed eventually.
>
> Ken
>
it looks good to me.
I updated the cygwin-pkg-maint
Regards
Marco
---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ITA} gd 2.2.5-2
2018-11-11 22:38 ` Marco Atzeri
@ 2018-11-12 14:22 ` Andrew Schulman
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Schulman @ 2018-11-12 14:22 UTC (permalink / raw)
To: cygwin-apps
> Am 11.11.2018 um 22:25 schrieb Ken Brown:
> > Although there's been no new upstream release since the last Cygwin release,
> > there have been some bug fixes (including one that I just found to fix a crash
> > on 32-bit Cygwin), which warrant a new release.
> >
> > I'm attaching my cygport file and the one patch that can't be gotten by "cygport
> > fetch". I'm also attaching, for comparison, the cygport file from the current
> > Cygwin release.
> >
> > There are two test failures on 32-bit Cygwin. (There were four before I fixed
> > the crash I mentioned above.) I've reported them upstream and hope to get them
> > fixed eventually.
> >
> > Ken
> >
>
> it looks good to me.
> I updated the cygwin-pkg-maint
Gold star awarded! https://cygwin.com/goldstars/#KB
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-11-12 14:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-11 21:25 [ITA} gd 2.2.5-2 Ken Brown
2018-11-11 22:38 ` Marco Atzeri
2018-11-12 14:22 ` Andrew Schulman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).