[packagekit] Multinline package descriptions

Richard Hughes hughsient at gmail.com
Tue Nov 4 00:34:38 PST 2008


On Mon, 2008-11-03 at 21:14 +0100, Sebastian Heinlein wrote:
> I made some efforts to provide multiline package descriptions in the apt
> backend: Basically each paragraph is in one line. 

Yes, this is what we do in yum:

(from memory)
replace \n\n with XXX
replace \n with " "
replace XXX with \n

> Too make the descriptions more readable I would like to add a margin of
> 2 pixels left, right and above of each paragraph in the textview.

Sounds good to me.

> But this doesn't look very well for descriptions with fixed lines.

You mean the bullet list?

> So I am interested in what kind of descriptions are provided by other
> backends.

99.9% of packages in Fedora just have a single paragragh so I've never
thought about a mult-para descriptions.

Richard.





More information about the PackageKit mailing list