[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[pkg-wine-party] Bug#848839: AppStream metadata for Wine



Hi Matthias,

I'm working on an AppStream file for Wine (winehq.org), mainly to have
it shown in the Software Center. I'm mostly done by now (initial version
attached, icons are not finished yet, and stuff in there is still static).

Now I got a few questions.  I hope you can help me, or tell me a better
place to ask.



Background:

I assume you generally know Wine.

There is a wine.desktop, but for other reasons we only ship it as an
example.  Still, other distros probably install it.  However that
.desktop file has "NoDisplay=true" so afaik it wouldn't be used for
AppStream anyway.

Wine itself is not a graphical application, but of course it can be used
to run such.  On its own it has a few graphical helper applications
(winecfg, notepad, ...), but also provides e.g. wineconsole.



1.) Component type "desktop" or "generic"?

Which one should we use, given above described background?
Is "generic" visible in the software center?
Does "generic" accept tags which are defined only for "desktop"?



2.) License

I'd like to stick with the upstream license LGPL-2.1+.
Does this work for AppStream purposes?
Alternatively I'm thinking about e.g. "LGPL2.1+ or MIT".



3.) Which "id" should we use?

Stretch will ship 2 versions of Wine:

- src:wine which tracks upstreams stable branch
- src:wine-development which tracks the development branch

I thought about ignoring the desktop file completely, and use for
upstream and our src:wine:

​  <id>org.winehq.wine</id>
​  <name>Wine</name>

Then I'd expand the id and change the name for src:wine-development to

​  <id>org.winehq.wine.development</id>
​  <name>Wine (development version)</name>


Thanks in advance!
Greets
jre
<?xml version="1.0" encoding="UTF-8"?>
â??<!-- Copyright 2017 Jens Reyer <jre.winesim@gmail.com> -->
â??<component type="desktop">
â??  <id>org.winehq.wine.development</id>
â??  <metadata_license>LGPL-2.1+</metadata_license>
â??  <project_license>LGPL-2.1+</project_license>
â??  <name>Wine (development version)</name>
  â??<summary>Run Windows applications on Linux, BSD, Solaris and Mac OS X</summary>  
â??
â??  <description>
â??    <p>
    â??  Wine (originally an acronym for "Wine Is Not an Emulator") is a compatibility
      layer capable of running Windows applications on several POSIX-compliant
      operating systems, such as Linux, Mac OSX, & BSD. Instead of simulating
      internal Windows logic like a virtual machine or emulator, Wine translates
      Windows API calls into POSIX calls on-the-fly, eliminating the performance
      and memory penalties of other methods and allowing you to cleanly integrate
      Windows applications into your desktop.
â??    </p>
â??  </description>

  <icon type="stock">wine</icon>
  â??<icon type="cached">wine.png</icon>
  â??<icon type="remote" width="64" height="64">http://example.com/icons/foobar.png</icon>
  â??<icon type="local" width="64" height="64">/usr/share/pixmaps/foobar.png</icon>

  <url type="homepage">https://www.winehq.org/</url>
  <url type="bugtracker">https://bugs.winehq.org/</url>
  <url type="faq">https://wiki.winehq.org/FAQ</url>
  <url type="help">https://wiki.winehq.org/</url>
  <url type="donation">https://www.winehq.org/donate</url>
  <url type="translate">https://wiki.winehq.org/Translating</url>
â??  <project_group>WineHQ</project_group>

â??  <releases>
    <release version="2.0-rc4" date="2017-01-06">
â??      <description>
â??        <p>Bug fixes only, we are in code freeze.</p>
â??      </description>
â??    </release>
â??  </releases>

  <mimetypes>
â??    <mimetype>application/x-ms-dos-executable</mimetype>
â??    <mimetype>application/x-msi</mimetype>
â??    <mimetype>application/x-ms-shortcut</mimetype>
 â?? </mimetypes>
â??</component>

Reply to: