public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* [ITP] jansson 2.11
@ 2018-09-11 18:31 Ken Brown
  2018-09-11 18:59 ` Marco Atzeri
  0 siblings, 1 reply; 4+ messages in thread
From: Ken Brown @ 2018-09-11 18:31 UTC (permalink / raw)
  To: cygwin-apps

[-- Attachment #1: Type: text/plain, Size: 2171 bytes --]

jansson is in Debian and Fedora:

   https://packages.debian.org/source/stretch/jansson
   https://apps.fedoraproject.org/packages/jansson

My cygport file is attached.

Package files:

http://sanibeltranquility.com/cygwin/x86/release/jansson/jansson-2.11-1-src.tar.xz
http://sanibeltranquility.com/cygwin/x86/release/jansson/jansson-2.11-1.hint
http://sanibeltranquility.com/cygwin/x86/release/jansson/libjansson-devel/libjansson-devel-2.11-1.hint
http://sanibeltranquility.com/cygwin/x86/release/jansson/libjansson-devel/libjansson-devel-2.11-1.tar.xz
http://sanibeltranquility.com/cygwin/x86/release/jansson/libjansson-doc/libjansson-doc-2.11-1.hint
http://sanibeltranquility.com/cygwin/x86/release/jansson/libjansson-doc/libjansson-doc-2.11-1.tar.xz
http://sanibeltranquility.com/cygwin/x86/release/jansson/jansson-debuginfo/jansson-debuginfo-2.11-1.hint
http://sanibeltranquility.com/cygwin/x86/release/jansson/jansson-debuginfo/jansson-debuginfo-2.11-1.tar.xz
http://sanibeltranquility.com/cygwin/x86/release/jansson/libjansson4/libjansson4-2.11-1.hint
http://sanibeltranquility.com/cygwin/x86/release/jansson/libjansson4/libjansson4-2.11-1.tar.xz
http://sanibeltranquility.com/cygwin/x86_64/release/jansson/jansson-2.11-1-src.tar.xz
http://sanibeltranquility.com/cygwin/x86_64/release/jansson/jansson-2.11-1.hint
http://sanibeltranquility.com/cygwin/x86_64/release/jansson/libjansson-devel/libjansson-devel-2.11-1.hint
http://sanibeltranquility.com/cygwin/x86_64/release/jansson/libjansson-devel/libjansson-devel-2.11-1.tar.xz
http://sanibeltranquility.com/cygwin/x86_64/release/jansson/libjansson-doc/libjansson-doc-2.11-1.hint
http://sanibeltranquility.com/cygwin/x86_64/release/jansson/libjansson-doc/libjansson-doc-2.11-1.tar.xz
http://sanibeltranquility.com/cygwin/x86_64/release/jansson/jansson-debuginfo/jansson-debuginfo-2.11-1.hint
http://sanibeltranquility.com/cygwin/x86_64/release/jansson/jansson-debuginfo/jansson-debuginfo-2.11-1.tar.xz
http://sanibeltranquility.com/cygwin/x86_64/release/jansson/libjansson4/libjansson4-2.11-1.hint
http://sanibeltranquility.com/cygwin/x86_64/release/jansson/libjansson4/libjansson4-2.11-1.tar.xz

License: MIT

Ken

[-- Attachment #2: jansson.cygport --]
[-- Type: text/plain, Size: 905 bytes --]

NAME="jansson"
VERSION=2.11
RELEASE=1

HOMEPAGE="http://www.digip.org/jansson"
SRC_URI="${HOMEPAGE}/releases/jansson-${VERSION}.tar.bz2"
CATEGORY="Libs"
SUMMARY="A C library for encoding, decoding, and manipulating JSON data"
DESCRIPTION="Jansson is a C library for encoding, decoding, and manipulating JSON
data"

DEPEND="python3-sphinx"

PKG_NAMES="libjansson4 libjansson-devel libjansson-doc"

libjansson4_SUMMARY="${SUMMARY} (runtime)"
libjansson4_CONTENTS="usr/bin/*-4.dll"

libjansson_devel_SUMMARY="${SUMMARY} (development)"
libjansson_devel_CONTENTS="
	--exclude=usr/share/doc/jansson/html
	usr/include
	usr/lib
	usr/share/doc"

libjansson_doc_SUMMARY="${SUMMARY} (documentation)"
libjansson_doc_CONTENTS="usr/share/doc/jansson/html"

src_compile() {
	cd ${S}
	cygautoreconf
	cd ${B}
	cygconf
	cygmake
	cygmake html
}

src_install() {
	cd ${B}
	cyginstall
	docinto html
	dodoc doc/_build/html/*
}

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ITP] jansson 2.11
  2018-09-11 18:31 [ITP] jansson 2.11 Ken Brown
@ 2018-09-11 18:59 ` Marco Atzeri
  2018-09-11 19:36   ` Ken Brown
  0 siblings, 1 reply; 4+ messages in thread
From: Marco Atzeri @ 2018-09-11 18:59 UTC (permalink / raw)
  To: cygwin-apps

Am 11.09.2018 um 20:31 schrieb Ken Brown:
> jansson is in Debian and Fedora:
> 
>    https://packages.debian.org/source/stretch/jansson
>    https://apps.fedoraproject.org/packages/jansson
> 
> My cygport file is attached.
> 

build fine but test fails as requires installation.
If you add this, it will test without any installation

src_test() {
         PATH=${B}/src/.libs/:${PATH}
         cd ${B}
         make -i check
}


---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ITP] jansson 2.11
  2018-09-11 18:59 ` Marco Atzeri
@ 2018-09-11 19:36   ` Ken Brown
  2018-09-12  5:43     ` Marco Atzeri
  0 siblings, 1 reply; 4+ messages in thread
From: Ken Brown @ 2018-09-11 19:36 UTC (permalink / raw)
  To: cygwin-apps

On 9/11/2018 2:58 PM, Marco Atzeri wrote:
> Am 11.09.2018 um 20:31 schrieb Ken Brown:
>> jansson is in Debian and Fedora:
>>
>>    https://packages.debian.org/source/stretch/jansson
>>    https://apps.fedoraproject.org/packages/jansson
>>
>> My cygport file is attached.
>>
> 
> build fine but test fails as requires installation.
> If you add this, it will test without any installation
> 
> src_test() {
>          PATH=${B}/src/.libs/:${PATH}
>          cd ${B}
>          make -i check
> }

Thanks!  I was wondering how to fix that.  I previously did it the hard 
way, by doing a separate in-tree build and running 'make check' there.

Ken

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ITP] jansson 2.11
  2018-09-11 19:36   ` Ken Brown
@ 2018-09-12  5:43     ` Marco Atzeri
  0 siblings, 0 replies; 4+ messages in thread
From: Marco Atzeri @ 2018-09-12  5:43 UTC (permalink / raw)
  To: cygwin-apps

Am 11.09.2018 um 21:36 schrieb Ken Brown:
> On 9/11/2018 2:58 PM, Marco Atzeri wrote:
>> Am 11.09.2018 um 20:31 schrieb Ken Brown:
>>> jansson is in Debian and Fedora:
>>>
>>>    https://packages.debian.org/source/stretch/jansson
>>>    https://apps.fedoraproject.org/packages/jansson
>>>
>>> My cygport file is attached.
>>>
>>
>> build fine but test fails as requires installation.
>> If you add this, it will test without any installation
>>
>> src_test() {
>>          PATH=${B}/src/.libs/:${PATH}
>>          cd ${B}
>>          make -i check
>> }
> 
> Thanks!  I was wondering how to fix that.  I previously did it the hard 
> way, by doing a separate in-tree build and running 'make check' there.
> 
> Ken

with that is GTG
I added jansson to the package list.

Regards
Marco


---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-09-12  5:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-11 18:31 [ITP] jansson 2.11 Ken Brown
2018-09-11 18:59 ` Marco Atzeri
2018-09-11 19:36   ` Ken Brown
2018-09-12  5:43     ` Marco Atzeri

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).