Date: Sat, 16 Aug 2003 16:22:56 +0300
authorSam Lantinga <slouken@libsdl.org>
Sat, 23 Aug 2003 23:25:46 +0000
changeset 6936c119628180d
parent 692 04dd6c6d7c30
child 694 f0c696e476da
Date: Sat, 16 Aug 2003 16:22:56 +0300
From: "Mike Gorchak"
Subject: Package building for QNX6

I'm just completed the package description file for QNX6 - qpg, it is like a\
.spec files for Linux. Please place SDL.qpg.in file in the root of the proj\
ect, where .spec file is placed. And sdl12qpg.diff - just adding the SDL.qpg\
.in. The same for the SDL_image. I'm planning to add .qpg files creation for\
all SDL* projects.

As for shared library building for QNX6. It is very hard to improve the exis\
ting libtool code to support QNX shared libraries. Much easyiest is to remov\
e libtool.m4 code from the acinclude.m4 for those persons, who building shar\
ed libraries for QNX6. I'm described all what they need to do with .so under\
QNX6 in the README.QNX file. And 90% of people used the precompiled librari\
es, so I think it is not big problem :)
SDL.qpg.in
configure.in
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/SDL.qpg.in	Sat Aug 23 23:25:46 2003 +0000
     1.3 @@ -0,0 +1,110 @@
     1.4 +<QPG:Generation>
     1.5 +   <QPG:Options>
     1.6 +      <QPG:User unattended="yes" verbosity="0" listfiles="yes"/>
     1.7 +      <QPG:Defaults type="qnx_package"/>
     1.8 +      <QPG:Source></QPG:Source>
     1.9 +      <QPG:Release date="today" number="+"/>
    1.10 +      <QPG:Build></QPG:Build>
    1.11 +      <QPG:FileSorting strip="yes"/>
    1.12 +      <QPG:Package targets="standart"/>
    1.13 +      <QPG:Repository generate="yes"/>
    1.14 +      <QPG:FinalDir></QPG:FinalDir>
    1.15 +      <QPG:Cleanup></QPG:Cleanup>
    1.16 +   </QPG:Options>
    1.17 +
    1.18 +   <QPG:Responsible>
    1.19 +      <QPG:Company>QNX.ORG.RU Community</QPG:Company>
    1.20 +      <QPG:Department></QPG:Department>
    1.21 +      <QPG:Group></QPG:Group>
    1.22 +      <QPG:Team>QNX.ORG.RU Team</QPG:Team>
    1.23 +      <QPG:Employee>Mike Gorchak</QPG:Employee>
    1.24 +      <QPG:EmailAddress>mike@malva.ua</QPG:EmailAddress>
    1.25 +   </QPG:Responsible>
    1.26 +
    1.27 +   <QPG:Values>
    1.28 +      <QPG:Files>
    1.29 +         <QPG:Add file="./COPYING" install="LicenseUrl/" handling="repdata"/>
    1.30 +         <QPG:Add permissions="0755" file="./src/.libs/libSDL-1.2.so.0" install="/opt/lib/"/>
    1.31 +         <QPG:Add filetype="symlink" file="libSDL.so" install="/opt/lib/" linkto="libSDL-1.2.so.0"/>
    1.32 +         <QPG:Add filetype="symlink" file="libSDL-1.1.so.0" install="/opt/lib/" linkto="libSDL-1.2.so.0"/>
    1.33 +         <QPG:Add filetype="symlink" file="libSDL-1.0.so.0" install="/opt/lib/" linkto="libSDL-1.2.so.0"/>
    1.34 +         <QPG:Add permissions="0644" file="./src/.libs/libSDL.a" install="/opt/lib/"/>
    1.35 +         <QPG:Add permissions="0644" file="./src/.libs/libSDL.lai" install="/opt/lib/libSDL.la"/>
    1.36 +         <QPG:Add permissions="0644" file="./include/*.h" install="/opt/include/SDL/"/>
    1.37 +         <QPG:Add permissions="0755" file="./sdl-config" install="/opt/bin/"/>
    1.38 +         <QPG:Add permissions="0644" file="./BUGS" install="/usr/doc/SDL12/"/>
    1.39 +         <QPG:Add permissions="0644" file="./COPYING" install="/usr/doc/SDL12/"/>
    1.40 +         <QPG:Add permissions="0644" file="./CREDITS" install="/usr/doc/SDL12/"/>
    1.41 +         <QPG:Add permissions="0644" file="./INSTALL" install="/usr/doc/SDL12/"/>
    1.42 +         <QPG:Add permissions="0644" file="./README" install="/usr/doc/SDL12/"/>
    1.43 +         <QPG:Add permissions="0644" file="./README-SDL.txt" install="/usr/doc/SDL12/"/>
    1.44 +         <QPG:Add permissions="0644" file="./README.CVS" install="/usr/doc/SDL12/"/>
    1.45 +         <QPG:Add permissions="0644" file="./README.QNX" install="/usr/doc/SDL12/"/>
    1.46 +         <QPG:Add permissions="0644" file="./TODO" install="/usr/doc/SDL12/"/>
    1.47 +         <QPG:Add permissions="0644" file="./WhatsNew" install="/usr/doc/SDL12/"/>
    1.48 +         <QPG:Add permissions="0644" file="./docs.html" install="/usr/doc/SDL12/Changes.html"/>
    1.49 +         <QPG:Add permissions="0644" file="./docs/index.html" install="/usr/doc/SDL12/docs/"/>
    1.50 +         <QPG:Add permissions="0644" file="./docs/html/*.html" install="/usr/doc/SDL12/docs/html/"/>
    1.51 +         <QPG:Add permissions="0644" file="./docs/images/rainbow.gif" install="/usr/doc/SDL12/docs/images/"/>
    1.52 +         <QPG:Add permissions="0644" file="./docs/man3/*.3" install="/opt/man/man3/"/>
    1.53 +         <QPG:Add permissions="0644" file="./sdl.m4" install="/opt/share/aclocal/"/>
    1.54 +      </QPG:Files>
    1.55 +      <QPG:PackageFilter>
    1.56 +         <QPM:PackageManifest>
    1.57 +            <QPM:PackageDescription>
    1.58 +               <QPM:PackageType>Library</QPM:PackageType>
    1.59 +               <QPM:PackageName>SDL</QPM:PackageName>
    1.60 +               <QPM:PackageReleaseNumber>1</QPM:PackageReleaseNumber>
    1.61 +               <QPM:PackageRepository>http://qnx.org.ru/repository</QPM:PackageRepository>
    1.62 +               <QPM:FileVersion>2.0</QPM:FileVersion>
    1.63 +            </QPM:PackageDescription>
    1.64 +            <QPM:ProductDescription>
    1.65 +               <QPM:ProductName>SDL</QPM:ProductName>
    1.66 +               <QPM:ProductIdentifier>SDL</QPM:ProductIdentifier>
    1.67 +               <QPM:ProductEmail>slouken@libsdl.org</QPM:ProductEmail>
    1.68 +               <QPM:VendorName>public</QPM:VendorName>
    1.69 +               <QPM:VendorInstallName>public</QPM:VendorInstallName>
    1.70 +               <QPM:VendorURL>http://www.libsdl.org</QPM:VendorURL>
    1.71 +               <QPM:VendorEmbedURL/>
    1.72 +               <QPM:VendorEmail>slouken@libsdl.org</QPM:VendorEmail>
    1.73 +               <QPM:AuthorName>Sam Lantinga</QPM:AuthorName>
    1.74 +               <QPM:AuthorURL>http://www.libsdl.org</QPM:AuthorURL>
    1.75 +               <QPM:AuthorEmbedURL/>
    1.76 +               <QPM:AuthorEmail>slouken@libsdl.org</QPM:AuthorEmail>
    1.77 +               <QPM:ProductIconSmall/>
    1.78 +               <QPM:ProductIconLarge/>
    1.79 +               <QPM:ProductDescriptionShort>This is the Simple DirectMedia Layer, a generic API that provides low level access to audio, keyboard, mouse, and display framebuffer across multiple platforms.</QPM:ProductDescriptionShort>
    1.80 +               <QPM:ProductDescriptionLong>This is the Simple DirectMedia Layer, a generic API that provides low level access to audio, keyboard, mouse, and display framebuffer across multiple platforms. This is the libraries, include files and other resources you can use to develop and run SDL applications.</QPM:ProductDescriptionLong>
    1.81 +               <QPM:ProductDescriptionURL>http://www.libsdl.org</QPM:ProductDescriptionURL>
    1.82 +               <QPM:ProductDescriptionEmbedURL/>
    1.83 +            </QPM:ProductDescription>
    1.84 +            <QPM:ReleaseDescription>
    1.85 +               <QPM:ReleaseVersion>@VERSION@</QPM:ReleaseVersion>
    1.86 +               <QPM:ReleaseUrgency>High</QPM:ReleaseUrgency>
    1.87 +               <QPM:ReleaseStability>Stable</QPM:ReleaseStability>
    1.88 +               <QPM:ReleaseNoteMinor/>
    1.89 +               <QPM:ReleaseNoteMajor/>
    1.90 +               <QPM:ReleaseBuild>1</QPM:ReleaseBuild>
    1.91 +               <QPM:CountryExclude/>
    1.92 +               <QPM:ReleaseCopyright>GNU General Public License</QPM:ReleaseCopyright>
    1.93 +            </QPM:ReleaseDescription>
    1.94 +            <QPM:ContentDescription>
    1.95 +               <QPM:ContentTopic>Software Development/Libraries and Extensions/C Libraries</QPM:ContentTopic>
    1.96 +               <QPM:ContentKeyword>SDL, audio, graphics, demos, games, emulators, media, layer</QPM:ContentKeyword>
    1.97 +               <QPM:Processor/>
    1.98 +               <QPM:TargetProcessor/>
    1.99 +               <QPM:TargetOS>qnx6</QPM:TargetOS>
   1.100 +               <QPM:HostOS>qnx6</QPM:HostOS>
   1.101 +               <QPM:DisplayEnvironment>Photon</QPM:DisplayEnvironment>
   1.102 +               <QPM:TargetAudience>Developer</QPM:TargetAudience>
   1.103 +               <QPM:TargetAudience>User</QPM:TargetAudience>
   1.104 +            </QPM:ContentDescription>
   1.105 +            <QPM:LicenseUrl>repdata://LicenseUrl/COPYING</QPM:LicenseUrl>
   1.106 +            <QPM:ProductInstallationDependencies>
   1.107 +               <QPM:ProductRequirements/>
   1.108 +            </QPM:ProductInstallationDependencies>
   1.109 +         </QPM:PackageManifest>
   1.110 +      </QPG:PackageFilter>
   1.111 +   </QPG:Values>
   1.112 +</QPG:Generation>
   1.113 +
     2.1 --- a/configure.in	Sat Aug 23 23:20:21 2003 +0000
     2.2 +++ b/configure.in	Sat Aug 23 23:25:46 2003 +0000
     2.3 @@ -2741,4 +2741,5 @@
     2.4  src/hermes/Makefile
     2.5  sdl-config
     2.6  SDL.spec
     2.7 +SDL.qpg
     2.8  ], [chmod +x sdl-config])