opensuse / brp-extract-appdata Goto Github PK
View Code? Open in Web Editor NEWCreate AppStream compatible data during pkg build
Create AppStream compatible data during pkg build
When building a package with translated desktop and appdata.xml file the script 72-translate-appdata fails (below).
`
[ 31s] ... running 72-translate-appdata
[ 31s] error: incorrect format: array iterator used with different sized arrays
[ 31s] error: incorrect format: array iterator used with different sized arrays
[ 31s] error: incorrect format: array iterator used with different sized arrays
`
Running a private OBS here. The customer is starting to use a lot of appdata, and distributing internal software via GNOME Software (the "store"). Everything works fine with SLED 12 SP4. OBS extracts the appdata.xml files and icons properly, and publishes them to the repositories.
However, when we added anything newer, like openSUSE Leap 15.0 ou SLE 15, the appdata is not extracted at all, and no appdata/appicon information is generated in the repodata directory.
I noticed that this is mentioned in the build logs for every package that doesn't work:
[ 63s] ... running 72-translate-appdata
[ 63s] error: incorrect format: array iterator used with different sized arrays
Also, SLED 12 SP4 uses brp-extract-appdata-2012.02.13-4.1 version whereas all others seem to use this one:
[44/137] cumulate brp-extract-appdata-2016.05.04-1.23
Please note that the packages themselves are exactly the same. All we did was to enable the builds for SLE15/Leap15/SLE15-SP1/Leap15.1, and the appdata does not get extracted for these. The builds on SLED 12 SP4 work perfectly, as it uses the older version of brp-extract-appdata.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.