Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#5451 closed enhancement (fixed)

Add appstream-glib-0.2.5

Reported by: christopher Owned by: Fernando de Oliveira
Priority: normal Milestone: 7.6
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

Hello,

The new version of appdata-tools now requires appstream-glib. This is a hard requirement.

I have created a new page on the systemd branch under genlib as it is a library.

Please find attached the page that I created. As it is a new page I am not sure that I can use svn diff, so I have just included the page as is.

I hope that I have all the dependencies correct. I am almost positive that I have. Please check and I will mirror any changes you make on the systemd branch.

I have yet to do the stats for appdata-tools-0.1.8

Regards,

Christopher.

Attachments (1)

appstream-glib.xml (8.0 KB ) - added by christopher 10 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 by Fernando de Oliveira, 10 years ago

Owner: changed from blfs-book@… to Fernando de Oliveira
Status: newassigned

by christopher, 10 years ago

Attachment: appstream-glib.xml added

comment:2 by christopher, 10 years ago

Hello Fernando,

I have just fixed the attachment as when I looked at it online, I had followed the template exactly and had capitalized all the xlinks and html tags and it looked awful. Now only the title has any capitals in it.

Sorry for that previous mess. It will now mean that the patch I attached for the appdata-tools page will need to have APPSTREAM-GLIB in the xref changed to: appstream-glib.

For some weird reason I just can not get the spacing correct for the configure switches. They look fine in vim, and even in gedit, yet the published version is out of alignment.

Regards,

Christopher.

comment:3 by bdubbs@…, 10 years ago

Alignment can be tricky. <screen><userinput> is not rendered so subsequent lines have to take that into account:

<screen><userinput>./configure --prefix=/usr    \
            --disable-static \
            --disable-rpm    \
            --enable-introspection=yes &amp;&amp;

When editing, add a newline after <userinput>, do the alignment, then remove the newline.

It can and also be tricky if there are entities in a line.

comment:4 by Fernando de Oliveira, 10 years ago

Summary: appdata-tools-0.1.8 new requirementsAdd appstream-glib-0.2.5

comment:5 by Fernando de Oliveira, 10 years ago

Resolution: fixed
Status: assignedclosed

Thanks, Christopher.

I preferred to include it in genutils, because it is very similar to appdata-tools, and IIRC, that was what Bruce recommended me.

About the dependencies, I found different from you. However, I am not an example to be followed about this matter, so perhaps someone else will need to resolve our differences. Depending on the result, again appdata-tools will need to have dependencies fixed.

Actually, some dependencies: freetype2, fontconfig and pango are tested by configure with one command, then do not appear anywhere else in the build. I am suspecting they are runtime dependencies. I tested the command used by configure and it fails if any one of them is not found.

Pango requires Harfbuzz-0.9.35 > FreeType-2.5.3

FPango requires Xorg Libraries > fontconfig-2.11

That is the reason I included Pango and removed Fontconfig-2.11.1.

One more thing, didn't find the need to use two switches:

--disable-rpm: it cannot be found in BLFS, so it just gets a no.

--enable-introspection=yes: I built with and without, found no difference.

Hopefully fixed at r14162.

in reply to:  5 comment:6 by christopher, 10 years ago

Replying to fo:

Thanks, Christopher.

I preferred to include it in genutils, because it is very similar to appdata-tools, and IIRC, that was what Bruce recommended me.

About the dependencies, I found different from you. However, I am not an example to be followed about this matter, so perhaps someone else will need to resolve our differences. Depending on the result, again appdata-tools will need to have dependencies fixed.

Actually, some dependencies: freetype2, fontconfig and pango are tested by configure with one command, then do not appear anywhere else in the build. I am suspecting they are runtime dependencies. I tested the command used by configure and it fails if any one of them is not found.

Pango requires Harfbuzz-0.9.35 > FreeType-2.5.3

FPango requires Xorg Libraries > fontconfig-2.11

That is the reason I included Pango and removed Fontconfig-2.11.1.

One more thing, didn't find the need to use two switches:

--disable-rpm: it cannot be found in BLFS, so it just gets a no.

--enable-introspection=yes: I built with and without, found no difference.

Hopefully fixed at r14162.

Hello Fernando,

I really find it funny that you put appstream-glib in genutils, because that was exactly where I had put it at first, right under appdata-tools and I only changed it after reading the developers site that stated it was a library.

Regarding the dependencies, thats fine. As I am much much newer to it than you I had to ask that things were checked.

I got the list of dependencies by editing the configure.ac file. The chain dependencies really get me. Having to check each and every depended on package on each package page and then to only include the bare minimum.

I needed the practice with adding new pages. I find it a lot easier just to use the template and modify that rather than spending a long time looking for a similar page to copy.

Regards,

Christopher.

comment:7 by Fernando de Oliveira, 10 years ago

Thanks, Christopher,

I've read that and other pages. Somewhere they decided to add appstream-builder which is a utility. But your argument is also valid.

Can anyone else resolve this for us, or just let both main and systemd as they are, classifying differently?

I don't mind moving to genlib.

Note: See TracTickets for help on using tickets.