<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Allegro 5RPM</title>
		<link>http://www.allegro.cc/forums/view/606355</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Fri, 25 Feb 2011 09:13:31 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><i>(<span class="cuss"><span>Goddamn</span></span> thread title... I thought the 5 and R looked kind of close...)</i></p><p>I&#39;m going to be attempting to create an RPM for Allegro 5. I&#39;m new to RPM though so my odds for success are somewhat questionable. Either way, I&#39;m hosting the project on GitHub just in case anybody else wants to join in (perhaps somebody that already knows how to create RPMs, but any help is welcome).</p><p>The project is hosted on GitHub: <a href="http://github.com/bamccaig/allegro5-rpm">http://github.com/bamccaig/allegro5-rpm</a></p><p>There&#39;s basically just a stub spec file and a helper script right now. It doesn&#39;t build an RPM yet, let alone one that works; let alone one that any distro would accept. Hopefully I can find time to make one that works in time... Or better yet, one of you can. <img src="http://www.allegro.cc/forums/smileys/lipsrsealed.gif" alt=":-X" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Thu, 10 Feb 2011 03:03:33 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><pre class="terminal scroll">Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt	(revision 14478)
+++ CMakeLists.txt	(working copy)
@@ -923,6 +923,15 @@
     add_subdirectory(python)
 endif(WANT_PYTHON_WRAPPER)
 
+set(CPACK_GENERATOR  &quot;DEB;RPM&quot;)
+set(CPACK_PACKAGE_NAME &quot;liballegro5&quot;)
+set(CPACK_PACKAGE_VERSION  &quot;${ALLEGRO_VERSION}&quot;)
+set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE &quot;amd64&quot;)
+set(CPACK_RPM_PACKAGE_ARCHITECTURE &quot;x86_64&quot;)
+set(CPACK_PACKAGE_CONTACT &quot;AlexTheAlligator&quot;)
+set(CPACK_PACKAGE_DESCRIPTION_SUMMARY &quot;Allegro 5 game development library&quot;)
+include(CPack)
 
+
 #-----------------------------------------------------------------------------#
 # vim: set sts=4 sw=4 et:</pre><p>
</p><pre class="terminal">$ cmake .. &amp;&amp; make package -j4
$ ls liba*
liballegro5-5.0.0-Linux.deb  liballegro5-5.0.0-Linux.rpm</pre><p>
<img src="http://www.allegro.cc/forums/smileys/cool.gif" alt="8-)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Thu, 10 Feb 2011 04:44:39 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><img src="http://www.allegro.cc/forums/smileys/shocked.gif" alt=":o" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Thu, 10 Feb 2011 05:05:07 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Give a man a fish... sigh. <img src="http://www.allegro.cc/forums/smileys/rolleyes.gif" alt="::)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Mark Oates)</author>
		<pubDate>Thu, 10 Feb 2011 05:09:40 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>My goal with this project is to actually create something that Fedora (and possibly derivatives) will accept into their repositories. I&#39;m not sure if a generic solution will suffice (though it&#39;s certainly preferred if it will).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Thu, 10 Feb 2011 05:53:21 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I was planning on seeing what it would take to create a proper Debian package. Something that Debian would actually accept.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Thu, 10 Feb 2011 13:17:52 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Oh, CPack looks nice. Does it support OSX and iOS?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Elias)</author>
		<pubDate>Thu, 10 Feb 2011 18:58:17 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/606355/902735#target">Elias</a> said:</div><div class="quote"><p>Oh, CPack looks nice. Does it support OSX and iOS?</p></div></div><p>
Seems like it, although I&#39;m not entirely sure how it deals with libraries: <a href="http://www.cmake.org/Wiki/CMake:CPackPackageGenerators">http://www.cmake.org/Wiki/CMake:CPackPackageGenerators</a><br />I&#39;ll have to play around with that. From the look of things, this could be really useful (not just for Allegro).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Evert)</author>
		<pubDate>Thu, 10 Feb 2011 22:34:33 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;ve been researching the Fedora packaging guidelines and such. I&#39;ve joined some mailing lists that will hopefully help me to understand the process involved. I think that I&#39;m close to understanding the spec file format so hopefully I can create a working RPM soon. I think that I&#39;ll probably focus on Fedora 14 since it was apparently released as stable 3 months ago. I guess my plan of attack will be to upgrade Fedora (i.e., full system reinstall) and before doing anything special try out my RPM to see if it actually does install everything necessary. Hopefully the package reviewers will be able to help me identify if I have extra packages defined. If they don&#39;t know then I might need to justify my dependencies, which will probably require some help from the Allegro developers. My WIP list is currently this:</p><h5>BuildRequires:</h5><p>

</p><ul><li><p>alsa-lib-devel
</p></li><li><p>cmake dumb-devel
</p></li><li><p>flac-devel
</p></li><li><p>freetype-devel
</p></li><li><p>gcc
</p></li><li><p>gtk2-devel
</p></li><li><p>libcurl-devel
</p></li><li><p>libjpeg-devel
</p></li><li><p>libpng-devel
</p></li><li><p>libvorbis-devel
</p></li><li><p>make
</p></li><li><p>mesa-libGL-devel
</p></li><li><p>mesa-libGLU-devel
</p></li><li><p>physfs-devel
</p></li><li><p>pulseaudio-libs-devel</p></li></ul><h5>Requires:</h5><p>

</p><ul><li><p>alsa-lib-devel
</p></li><li><p>dumb-devel
</p></li><li><p>flac-devel
</p></li><li><p>freetype-devel
</p></li><li><p>gtk2-devel
</p></li><li><p>libjpeg-devel
</p></li><li><p>libpng-devel
</p></li><li><p>libvorbis-devel
</p></li><li><p>mesa-libGL-devel
</p></li><li><p>mesa-libGLU-devel
</p></li><li><p>physfs-devel
</p></li><li><p>pulseaudio-libs-devel</p></li></ul><p>My naive understanding being that <tt>BuildRequires</tt> indicates packages needed only for the build process; <tt>.src.rpm</tt> to <tt>.rpm</tt>. <tt>Requires</tt> then is actually required to use the package. If you see something that doesn&#39;t make sense or notice something missing then please let me know. Hopefully I can get around to completing the initial build soon. AFAIK, I should only need to describe the build process now, which should be pretty straight forward thanks to <tt>cmake</tt> and <tt>make</tt>. I&#39;m not entirely sure how RPM determines which files are installed and how to remove them (I know of no <tt>make uninstall</tt> option for Allegro&#39;s build system). I&#39;d like to think that RPM installs to a sandbox first and determines based on that, but I&#39;m too green to know. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Tue, 15 Feb 2011 11:19:59 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You are going to want to split all the addons into separate rpms, which are only &quot;Recommended&quot; for the main rpm. So all of the addon dependencies aren&#39;t a &quot;BuildRequires&quot; or a &quot;Requires&quot; for the core lib.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Tue, 15 Feb 2011 11:48:14 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Ah, true. Very good point. <img src="http://www.allegro.cc/forums/smileys/lipsrsealed.gif" alt=":-X" /> That&#39;s going to complicate matters somewhat. I think for starters I&#39;ll just try to get the whole of Allegro 5 into an RPM (i.e., what you get with <tt>cmake .. &amp;&amp; make &amp;&amp; su -c &#39;make install&#39;</tt>). I&#39;ll worry about separating things later.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Wed, 16 Feb 2011 03:58:59 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>If the way Debian (and Ubuntu I believe) handles things applies to Fedora&#39;s system, then the Requires would be the binary install, and they should not rely on the devel packages. You would need a devel package to go alongside the main one.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (MiquelFire)</author>
		<pubDate>Wed, 16 Feb 2011 05:39:05 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/606355/903678#target">MiquelFire</a> said:</div><div class="quote"><p>
If the way Debian (and Ubuntu I believe) handles things applies to Fedora&#39;s system, then the Requires would be the binary install, and they should not rely on the devel packages. You would need a devel package to go alongside the main one.
</p></div></div><p>
I think you&#39;re right. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /> Good catch.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Wed, 16 Feb 2011 07:22:08 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You probably also want to provide separate debug packages too.</p><p>(no-one ever said packaging was simple)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Wed, 16 Feb 2011 07:25:21 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You&#39;re probably right too, Thomas. <img src="http://www.allegro.cc/forums/smileys/lipsrsealed.gif" alt=":-X" /> That will probably be more complicated to satisfy though so I&#39;ll wait until I get a working RPM to attempt that (same as the addon and <tt>-devel</tt> packages).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Wed, 16 Feb 2011 07:26:06 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/606355/903685#target">bamccaig</a> said:</div><div class="quote"><p>That will probably be more complicated to satisfy though so I&#39;ll wait until I get a working RPM to attempt that (same as the addon and -devel packages).</p></div></div><p>It shouldn&#39;t actually be that hard. Its a single option when building, so it should be easy enough to support.</p><p>The debug packages would only include the libs.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Wed, 16 Feb 2011 07:30:57 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yeah, without having any practical experience, I think what I&#39;ll have to do for the various packages is build as normal (except where specific targets are available) and then strip out the excess... I&#39;m not sure yet whether that will mean adding patches to the build system, adding scripts after the fact, or what... Apparently the Fedora guidelines discourage the use of lots of scripting in RPMs and prefer you to patch the upstream... So I&#39;m not entirely sure how I&#39;d have to handle it. I think the first step anyway is getting an RPM to build. Period. <img src="http://www.allegro.cc/forums/smileys/lipsrsealed.gif" alt=":-X" /></p><p>I should note that installing <tt>-debuginfo</tt> packages seems to affect applications at run-time so I&#39;m not sure if it&#39;s a matter of overwriting the existing libraries with the debug versions or if it&#39;s some other voodoo that I&#39;m not yet aware of.. That is to say, if somebody were to have an Allegro 5 game distributed via Fedora&#39;s package repositories and somebody wanted to report a crash, the Fedora maintainers would want them to install the <tt>-debuginfo</tt> package so that the dump had symbol names and such instead of addresses. At least, from what I&#39;ve gathered. I&#39;ve only personally reported one or two bugs this way and was pretty blind doing so.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Wed, 16 Feb 2011 07:38:12 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/606355/903687#target">bamccaig</a> said:</div><div class="quote"><p>Apparently the Fedora guidelines discourage the use of lots of scripting in RPMs and prefer you to patch the upstream..</p></div></div><p>Thats kindof annoying. Does that mean actually submit those changes upstream? or just keep patches along with the srpm? Debian explicitly states they don&#39;t like upstream having a debian/ directory with pre-made debian packaging info in it. Most packages will delete that directory as part of its patching, and then build its own.</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>I should note that installing -debuginfo packages seems to affect applications at run-time so I&#39;m not sure if it&#39;s a matter of overwriting the existing libraries with the debug versions or if it&#39;s some other voodoo that I&#39;m not yet aware of.. </p></div></div><p>Depends on how its done. .so.debug libs don&#39;t effect apps at runtime unless run inside gdb or valgrind. And allegro&#39;s debug libs are named differently so they can&#39;t effect most apps at runtime.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Wed, 16 Feb 2011 07:42:48 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/606355/903688#target">Thomas Fjellstrom</a> said:</div><div class="quote"><p>
Thats kindof annoying. Does that mean actually submit those changes upstream? or just keep patches along with the srpm?
</p></div></div><p>
I think the latter (though the former might be preferred in cases where the change is not Fedora specific). I assume you would include patches in the RPM (the spec format has patch fields) which would be run against the extracted source tarball. I&#39;m guessing then that if you did need to do non-trivial scripting tasks that you would include patches to add scripts... I&#39;m not sure yet. I still have a long ways to go. <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />
</p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/606355/903688#target">Thomas Fjellstrom</a> said:</div><div class="quote"><p>
And allegro&#39;s debug libs are named differently so they can&#39;t effect most apps at runtime.
</p></div></div><p>
Which is why I&#39;m confused. Would I be expected to somehow copy/rename/symlink the debug libraries or what? I haven&#39;t taken the time to look for answers yet.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Wed, 16 Feb 2011 07:45:46 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/606355/903689#target">bamccaig</a> said:</div><div class="quote"><p>Which is why I&#39;m confused. Would I be expected to somehow copy/rename/symlink the debug libraries or what? I haven&#39;t taken the time to look for answers yet.</p></div></div><p>Course not. Either the apps link to the release libs, or they link to the debug libs.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Wed, 16 Feb 2011 07:49:31 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/606355/903691#target">Thomas Fjellstrom</a> said:</div><div class="quote"><p>
Course not. Either the apps link to the release libs, or they link to the debug libs.
</p></div></div><p>
Then how can installing <tt>-debuginfo</tt> packages add detail to crash dumps? AFAIK, the many packages that link to the library aren&#39;t updated when you install the <tt>-debuginfo</tt> package. Maybe the bug reporting application does a lookup in the debug libraries itself, but I&#39;m not sure if that would be possible if the application was running against a non-debug version of the library.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Wed, 16 Feb 2011 07:51:31 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/606355/903692#target">bamccaig</a> said:</div><div class="quote"><p>Then how can installing -debuginfo packages add detail to crash dumps? AFAIK, the many packages that link to the library aren&#39;t updated when you install the -debuginfo package. Maybe the bug reporting application does a lookup in the debug libraries itself, but I&#39;m not sure if that would be possible if the application was running against a non-debug version of the library.</p></div></div><p>In that case, if you wanted to support that, you&#39;d have to rename the debug libs to the same as the main libs, except with an extension of .so.debug  IIRC. Then GDB and other debuggers will pick up the .debug libs instead of the release ones when giving tracebacks.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Wed, 16 Feb 2011 07:53:04 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Release libraries contain debug symbols, too, if you use the build configuration RelWithDebInfo (the default) and do not strip them when installing. You just do not get additional sanity checks within Allegro, which come with the Debug configuration (which also disables compiler optimisations, etc.)</p><p>By my understanding, the -debuginfo package would contain the debugging symbols stripped out of the libraries in the original package. It should not be replacing libraries.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Wang)</author>
		<pubDate>Wed, 16 Feb 2011 12:09:39 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>OK, now I have a spec file that builds RPMs. <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" /> In fact, it somehow also built a <tt>-debuginfo</tt> one... <img src="http://www.allegro.cc/forums/smileys/lipsrsealed.gif" alt=":-X" /> Not sure if it&#39;s correct or just some default that won&#39;t be accepted. Anyway, I still have a long ways to go separating them. If I run the core RPM through rpmlint then I get a ton of errors for devel files in a non-devel package. <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" /></p><p><i>** APPEND **</i></p><p>Am I to assume that these are all addons?</p><ul><li><p>allegro_acodec
</p></li><li><p>allegro_audio
</p></li><li><p>allegro_color
</p></li><li><p>allegro_dialog
</p></li><li><p>allegro_font
</p></li><li><p>allegro_image
</p></li><li><p>allegro_main
</p></li><li><p>allegro_memfile
</p></li><li><p>allegro_physfs
</p></li><li><p>allegro_primitives
</p></li><li><p>allegro_ttf</p></li></ul><p><i>** APPPEND **</i></p><p>By my calculations there should be 39 RPMs in total for Allegro 5. <img src="http://www.allegro.cc/forums/smileys/shocked.gif" alt=":o" /> Core library + 12 addons * 3 packages each (main, devel, debuginfo). <img src="http://www.allegro.cc/forums/smileys/lipsrsealed.gif" alt=":-X" /> Fortunately, it seems I can define them all in a single spec file, which probably means I&#39;ll only have to build once and then just specify which package each file goes to. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p><i>** UPDATE **</i></p><p>I think that I nearly have the files organized properly. I guess now I need to start testing it to see if it does what it&#39;s supposed to do. Then I can consider making an official review request.</p><p>Per advice, I&#39;ve contacted the current allegro package maintainers and the one that replied sounded happy to let me maintain the allegro5 packages and is encouraging me to do it (as well as 4.4). So it looks like I might become an official Fedora packager for Allegro and Allegro-based games. <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" /></p><p><i>** UPDATE **</i></p><p>Please review the summaries and descriptions in <a href="http://www.allegro.cc/files/attachment/603474">allegro5-rpm-info.txt</a> (the many Allegro 5 RPM packages). I don&#39;t really know what the various addons are for exactly so I had to <span class="cuss"><span>bull<span class="cuss"><span>shit</span></span></span></span> a little bit. Once these are OKed I will submit my initial review request. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Thu, 24 Feb 2011 22:13:22 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>The descriptions seem correct.</p><p>I don&#39;t know that you should even include the allegro-main library. I think it&#39;s just an empty library on Linux.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Thu, 24 Feb 2011 23:11:29 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/606355/905083#target">Matthew Leverton</a> said:</div><div class="quote"><p>
The descriptions seem correct.
</p></div></div><p>
Thank you. I&#39;ve created a review request: <a href="https://bugzilla.redhat.com/show_bug.cgi?id=680205">https://bugzilla.redhat.com/show_bug.cgi?id=680205</a>
</p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/606355/905083#target">Matthew Leverton</a> said:</div><div class="quote"><p>
I don&#39;t know that you should even include the allegro-main library. I think it&#39;s just an empty library on Linux.
</p></div></div><p>
You may be correct. IIRC, I was told in #allegro-dev that it should be used anyway for platform independent programs. <img src="http://www.allegro.cc/forums/smileys/undecided.gif" alt=":-/" /> I didn&#39;t actually bother to look inside it until now. It looks like it surely will be compiled down to practically nothing in Linux, but I guess at least the header files are still necessary to avoid warnings about them being missing. <img src="http://www.allegro.cc/forums/smileys/undecided.gif" alt=":-/" /> I wonder what, if anything, is even in the .so (and why it would be compiled at all in Linux)... <img src="http://www.allegro.cc/forums/smileys/lipsrsealed.gif" alt=":-X" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Fri, 25 Feb 2011 00:16:52 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><pre>
pepsi@fractalcmt:~ 01:48 PM $ ls /usr/local/lib/liballegro_main.so -l
lrwxrwxrwx 1 root root 22 2011-02-21 20:30 /usr/local/lib/liballegro_main.so -&gt; liballegro_main.so.5.0
pepsi@fractalcmt:~ 01:49 PM $ ls /usr/local/lib/liballegro_main.so.5.0 -l
lrwxrwxrwx 1 root root 24 2011-02-21 16:45 /usr/local/lib/liballegro_main.so.5.0 -&gt; liballegro_main.so.5.0.0
pepsi@fractalcmt:~ 01:49 PM $ ls /usr/local/lib/liballegro_main.so -l
lrwxrwxrwx 1 root root 22 2011-02-21 20:30 /usr/local/lib/liballegro_main.so -&gt; liballegro_main.so.5.0
pepsi@fractalcmt:~ 01:49 PM $ ls /usr/local/lib/liballegro_main.so.5.0 -l
lrwxrwxrwx 1 root root 24 2011-02-21 16:45 /usr/local/lib/liballegro_main.so.5.0 -&gt; liballegro_main.so.5.0.0
pepsi@fractalcmt:~ 01:49 PM $ ls /usr/local/lib/liballegro_main.so.5.0.0 -l
-rwxr-xr-x 1 root root 4074 2011-02-21 20:29 /usr/local/lib/liballegro_main.so.5.0.0
pepsi@fractalcmt:~ 01:49 PM $ nm /usr/local/lib/liballegro_main.so.5.0.0
000014dc a _DYNAMIC
00001628 a <u>GLOBAL_OFFSET_TABLE</u>
         w _Jv_RegisterClasses
000014cc d <u>_CTOR_END</u>_
000014c8 d <u>_CTOR_LIST</u>_
000014d4 d <u>_DTOR_END</u>_
000014d0 d <u>_DTOR_LIST</u>_
000004c4 r <u>_FRAME_END</u>_
000014d8 d <u>_JCR_END</u>_
000014d8 d <u>_JCR_LIST</u>_
00001640 A __bss_start
         w __cxa_finalize@@GLIBC_2.1.3
00000470 t __do_global_ctors_aux
000003b0 t __do_global_dtors_aux
0000163c d __dso_handle
         w <u>_gmon_start</u>_
00000467 t __i686.get_pc_thunk.bx
00001640 A _edata
00001648 A _end
000004a8 T _fini
00000348 T _init
00001640 b completed.5936
00001644 b dtor_idx.5938
00000430 t frame_dummy
</pre><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Fri, 25 Feb 2011 00:50:41 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Now that I actually look at the package contents, there&#39;s really nothing in the main addon packages at all... There&#39;s only the empty (for all intents and purposes) shared object file and its symlinks, and the useless (for all intents and purposes) .pc file... Not even a header file. Then again, perhaps the developers wanted for UNIX build systems to be able to still link to this shared object library (which does nothing) so that users don&#39;t need special OS X build rules? It looks like Linux-wise I could get rid of the main addon altogether, but perhaps the Allegro developers want it distributed anyway? <i>Well?</i> <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Fri, 25 Feb 2011 01:12:37 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Thats pretty much it. This way you don&#39;t have to special case linking. You can just link to allegro and allegro_main and call it a day.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Fri, 25 Feb 2011 01:21:57 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/606355/905099#target">bamccaig</a> said:</div><div class="quote"><p>Then again, perhaps the developers wanted for UNIX build systems to be able to still link to this shared object library (which does nothing) so that users don&#39;t need special OS X build rules? It looks like Linux-wise I could get rid of the main addon altogether, but perhaps the Allegro developers want it distributed anyway?</p></div></div><p>
Basically this, yes.<br />With allegro-main included in the linker options (through pkg-config), the same code compiles, <i>with the exact same Makefile</i>, on any flavour of UNIX, including Linux and Mac OS X.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Evert)</author>
		<pubDate>Fri, 25 Feb 2011 02:12:27 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You might want to place allegro_main in the main allegro package.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Wang)</author>
		<pubDate>Fri, 25 Feb 2011 04:38:15 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/606355/905129#target">Peter Wang</a> said:</div><div class="quote"><p>
You might want to place allegro_main in the main allegro package.
</p></div></div><p>
The allegro package maintainer (who is going to be sponsoring me if all works out) actually suggested that I merge most of the addons (basically any that don&#39;t pull in extra dependencies) into the main package. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /> So no worries. That will be addressed shortly. Thanks for the help.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Fri, 25 Feb 2011 09:13:31 +0000</pubDate>
	</item>
</rss>
