Comments (14)
Ok, nice to know, thanks :)
The package is ready; it's just waiting for someone to upload it in the main Debian archive (I'm haven't full privileges yet, and I can't do the first upload myself).
from libspng.
It was an unintended side effect of renaming the Meson project to "spng", the pkgconfig name changed with it. It was not spotted until much later, by that time the new name was expected in some projects.
For v1.0.0 (the version planned to include breaking changes) it will probably be changed it to the shorter version for CMake, newer libraries don't have the prefix either.
from libspng.
Thanks for the info :)
I forgot to mention this earlier, but if you want to follow packaging progress you can look at https://bugs.debian.org/1024643
from libspng.
libspng is now in Debian!
https://tracker.debian.org/news/1416587/accepted-libspng-073-1-source-amd64-all-into-unstable/
from libspng.
from libspng.
I removed the debian/
directory on the master
branch.
The Meson build should be considered the "official" one. It contains the unit tests, though the tests also depend on libpng, some distros have libpng as a build-depends as a result. There's some progress in decoupling some of the tests from that dependency but have no ETA on that.
There will be a new minor bugfix release soon, if some other change should be included in the next version let me know.
from libspng.
Having libpng-dev as a build dependency isn't an issue at all, don't worry.
Other than the removal of debian/
I have no requests. Thanks :D
from libspng.
Hi again :)
I'm mostly done with packaging, but I now have a few questions regarding licensing.
- What's the license of the files under
tests/crashers/
andtests/misc/
? Are they part of PngTest? - Is there a reason why
spng.h
is licensed under theBSD-2-Clause AND libpng-2.0
instead of just theBSD-2-Clause
or evenBSD-2-Clause OR libpng-2.0
? As far as I can tell, code originating from libpng is only part ofspng.c
, not the header file.
from libspng.
tests/misc/
should fall under the project's license.
tests/crashers/
is more complicated, the majority of it are from https://github.com/glennrp/libpng/tree/libpng16/contrib/testpngs/crashers, those fall under the libpng
license according to the package's copyright
. The rest (invalid_gray_alpha_sbit.png
, missing_plte.png
, zero_gama.png
, zero_width.png
) are produced by OSS-Fuzz, I'm not sure what their status is, they're only published on the chromium bug tracker.
As far as I can tell, code originating from libpng is only part of spng.c, not the header file.
That makes sense, I just haven't considered them separate before.
from libspng.
Fixed the SPDX ID for spng.h
, I could reorganize tests/crashers/
so only the meson.build
and a subdirectory like ossfuzz
would be an exception in the copyright
file.
from libspng.
from libspng.
Hi, the package is now pretty much ready, but I noticed something that you might've not considered while I was writing tests for the package. The .pc file generated by Meson is named spng.pc
, while the one used by CMake is named libspng.pc
. I guess that the pkg-config file generated by Meson should have the "lib" prefix too, right? This would be more in line with the project name and also libpng's own .pc file.
PS: you can add filebase: 'libspng'
to the pkg.generate()
call to change the .pc file name
from libspng.
AFAIK they usually need a good reason to accept a new package, like another package that already depends on it. It's worth mentioning libvips, it's already in Debian and it prefers spng over libpng, it is a dependency on Mac/homebrew (https://formulae.brew.sh/formula/vips) for this reason and I believe it's also bundled with the Windows builds.
from libspng.
https://www.mail-archive.com/[email protected]/msg1893857.html
Is fixing that bug essential for shipping the library in the next version of Debian? I have a vague idea how new Debian releases are prepared, at some point they drop packages that have outstanding bugs but not sure if it applies in this case.
from libspng.
Related Issues (20)
- libpng canβt read files. HOT 2
- spng_encode_image() creating invalid png file HOT 5
- Support for Windows BMP HOT 1
- SPNG_FMT_PNG is big-endian even while little-endian system HOT 5
- TRUECOLOR vs RGB8 HOT 4
- spng_encode_image doesn't fail if a pixel index is bigger than spng_plte::n_entries HOT 2
- Add option to check palette indices
- Clang: error: type '_Float32' (aka 'float') in generic association compatible with previously specified type 'float' HOT 1
- Decode RGB16 / G16 HOT 3
- accept a possible invalid png file HOT 2
- Compatibility with PNG images with zero-length EXIF chunk HOT 3
- Consider revising error handling for large chunks
- Simple error in libspng site HOT 1
- accept a possible problematic png image silently HOT 5
- Error linking libspng functions when compiling Mingw-w64 project HOT 4
- Example for spng_set_png_stream() HOT 1
- Indexed .PNGs don't seem to handle alpha channel correctly HOT 1
- Website basic usage example has wrong parameter order for spng_decode_image() HOT 1
- No subimage when creating an image from scratch HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libspng.