<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On 10.05.2013 19:13, Sandro Mani wrote:<br>
</div>
<blockquote cite="mid:518D2AC2.5000709@gmail.com" type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<br>
<div class="moz-cite-prefix">On 10.05.2013 17:03, Erik van
Pienbroek wrote:<br>
</div>
<blockquote
cite="mid:1368198187.22978.32.camel@erik.terneuzen.openftd.org"
type="cite">
<pre wrap="">Sandro Mani schreef op vr 10-05-2013 om 16:15 [+0200]:
</pre>
<blockquote type="cite">
<pre wrap="">It would be nice to standardize the practice, I think there are two
issues to discuss:
1. When should exes be shipped?
2. Should they be shipped in the main package, or in a subpackage (i.e.
-tools)?
</pre>
</blockquote>
<pre wrap="">I think we've got multiple kind of executables:
1. Helper executables which are required by the library in question
to operate, for example: gspawn-win32-helper.exe in glib2
2. Executables which can be used to test the library in question,
for example: gsettings.exe in glib2 and gtk-demo.exe in gtk+</pre>
</blockquote>
Do encoders / decoders, and foo2bar converters in general (i.e.
image_to_j2k.exe, j2k_to_image.exe in openjpeg, or cwebp.exe,
dwebp.exe in libwebp) enter this category?<br>
<blockquote
cite="mid:1368198187.22978.32.camel@erik.terneuzen.openftd.org"
type="cite">
<pre wrap="">3. Native executables which generate other files, for example: moc-qt5
in qt5-qtbase and i686-w64-mingw32-pkg-config in mingw-pkg-config</pre>
</blockquote>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<blockquote
cite="mid:1368198187.22978.32.camel@erik.terneuzen.openftd.org"
type="cite">
<pre wrap="">4. Cross-compiled executables which generate other files, for example
glib-genmarshal.exe in glib2</pre>
</blockquote>
Do executables such as libpng-config.exe also enter this category?<br>
<blockquote
cite="mid:1368198187.22978.32.camel@erik.terneuzen.openftd.org"
type="cite">
<pre wrap="">5. End-user executables, for example pidgin.exe and firefox.exe
</pre>
</blockquote>
I guess one should clarify the distinction between groups 2, 4 and
5 better. One possible scenario for including foo2bar converters
is that (though probably a bad choice) some user may have his
application not link to the library, but call the foo2bar.exe
executable via system() or subprocess.Popen. Group 5 would for
sure include anything that is a GUI application, but drawing the
line for command-line applications is less easy IMO.<br>
<br>
Best,<br>
Sandro<br>
<br>
</blockquote>
<br>
To briefly revive this, any suggestions on what guidelines should be
adopted for command line tools which are potentially end-user tools,
but may also be useful for applications which wish to call them?<br>
<br>
Best,<br>
Sandro<br>
<br>
</body>
</html>