SDL.qpg.in
author Sam Lantinga <slouken@libsdl.org>
Tue, 25 Jan 2005 16:57:11 +0000
changeset 1032 c1c2efca4548
parent 863 a4853bc3b4f8
child 1289 c07c6ef7c93e
permissions -rw-r--r--
Date: Mon, 24 Jan 2005 21:37:56 +0800
From: Chris Taylor
Subject: Patch to put back dynamic OpenGL loading for MPW

I sent a patch a while ago that removes dynamic OpenGL loading for
Macintosh Programmer's Workshop. Dynamic loading DOES actually work
when an SDL program is built with MPW, it just has to be set up for it.
(Whoops!!) This is the ideal way to get OpenGL extensions to work,
which D2X uses quite a few of.

This patch puts dynamic loading back in SDL for Mac OS 9. It applies to
current CVS. I noticed that two members need to be set when
DrawSprocket is used.
     1 <QPG:Generation>
     2    <QPG:Options>
     3       <QPG:User unattended="yes" verbosity="0" listfiles="yes"/>
     4       <QPG:Defaults type="qnx_package"/>
     5       <QPG:Source></QPG:Source>
     6       <QPG:Release date="today" number="+"/>
     7       <QPG:Build></QPG:Build>
     8       <QPG:FileSorting strip="yes"/>
     9       <QPG:Package targets="standart"/>
    10       <QPG:Repository generate="yes"/>
    11       <QPG:FinalDir></QPG:FinalDir>
    12       <QPG:Cleanup></QPG:Cleanup>
    13    </QPG:Options>
    14 
    15    <QPG:Responsible>
    16       <QPG:Company>QNX.ORG.RU Community</QPG:Company>
    17       <QPG:Department></QPG:Department>
    18       <QPG:Group></QPG:Group>
    19       <QPG:Team>QNX.ORG.RU Team</QPG:Team>
    20       <QPG:Employee>Mike Gorchak</QPG:Employee>
    21       <QPG:EmailAddress>mike@malva.ua</QPG:EmailAddress>
    22    </QPG:Responsible>
    23 
    24    <QPG:Values>
    25       <QPG:Files>
    26          <QPG:Add file="./COPYING" install="LicenseUrl/" handling="repdata"/>
    27          <QPG:Add permissions="0755" file="./src/.libs/libSDL-@SDL_MAJOR_VERSION@.@SDL_MINOR_VERSION@.so.@SDL_BINARY_AGE@" install="/opt/lib/"/>
    28          <QPG:Add filetype="symlink" file="libSDL.so" install="/opt/lib/" linkto="libSDL-@SDL_MAJOR_VERSION@.@SDL_MINOR_VERSION@.so.@SDL_BINARY_AGE@"/>
    29          <QPG:Add filetype="symlink" file="libSDL-@SDL_MAJOR_VERSION@.@SDL_MINOR_VERSION@.so.0" install="/opt/lib/" linkto="libSDL-@SDL_MAJOR_VERSION@.@SDL_MINOR_VERSION@.so.@SDL_BINARY_AGE@"/>
    30          <QPG:Add filetype="symlink" file="libSDL-@SDL_MAJOR_VERSION@.1.so.0" install="/opt/lib/" linkto="libSDL-@SDL_MAJOR_VERSION@.@SDL_MINOR_VERSION@.so.@SDL_BINARY_AGE@"/>
    31          <QPG:Add filetype="symlink" file="libSDL-@SDL_MAJOR_VERSION@.0.so.0" install="/opt/lib/" linkto="libSDL-@SDL_MAJOR_VERSION@.@SDL_MINOR_VERSION@.so.@SDL_BINARY_AGE@"/>
    32          <QPG:Add permissions="0644" file="./src/.libs/libSDL.a" install="/opt/lib/"/>
    33          <QPG:Add permissions="0644" file="./src/.libs/libSDL.lai" install="/opt/lib/libSDL.la"/>
    34          <QPG:Add permissions="0644" file="./src/main/libSDLmain.a" install="/opt/lib/"/>
    35          <QPG:Add permissions="0644" file="./include/*.h" install="/opt/include/SDL/"/>
    36          <QPG:Add permissions="0755" file="./sdl-config" install="/opt/bin/"/>
    37          <QPG:Add permissions="0644" file="./BUGS" install="/usr/doc/SDL12/"/>
    38          <QPG:Add permissions="0644" file="./COPYING" install="/usr/doc/SDL12/"/>
    39          <QPG:Add permissions="0644" file="./CREDITS" install="/usr/doc/SDL12/"/>
    40          <QPG:Add permissions="0644" file="./INSTALL" install="/usr/doc/SDL12/"/>
    41          <QPG:Add permissions="0644" file="./README" install="/usr/doc/SDL12/"/>
    42          <QPG:Add permissions="0644" file="./README-SDL.txt" install="/usr/doc/SDL12/"/>
    43          <QPG:Add permissions="0644" file="./README.CVS" install="/usr/doc/SDL12/"/>
    44          <QPG:Add permissions="0644" file="./README.QNX" install="/usr/doc/SDL12/"/>
    45          <QPG:Add permissions="0644" file="./TODO" install="/usr/doc/SDL12/"/>
    46          <QPG:Add permissions="0644" file="./WhatsNew" install="/usr/doc/SDL12/"/>
    47          <QPG:Add permissions="0644" file="./docs.html" install="/usr/doc/SDL12/Changes.html"/>
    48          <QPG:Add permissions="0644" file="./docs/index.html" install="/usr/doc/SDL12/docs/"/>
    49          <QPG:Add permissions="0644" file="./docs/html/*.html" install="/usr/doc/SDL12/docs/html/"/>
    50          <QPG:Add permissions="0644" file="./docs/images/rainbow.gif" install="/usr/doc/SDL12/docs/images/"/>
    51          <QPG:Add permissions="0644" file="./docs/man3/*.3" install="/opt/man/man3/"/>
    52          <QPG:Add permissions="0644" file="./sdl.m4" install="/opt/share/aclocal/"/>
    53       </QPG:Files>
    54       <QPG:PackageFilter>
    55          <QPM:PackageManifest>
    56 
    57             <QPM:PackageDescription>
    58                <QPM:PackageType>Library</QPM:PackageType>
    59                <QPM:PackageName>SDL</QPM:PackageName>
    60                <QPM:PackageReleaseNumber>1</QPM:PackageReleaseNumber>
    61                <QPM:PackageRepository>http://qnx.org.ru/repository</QPM:PackageRepository>
    62                <QPM:FileVersion>2.0</QPM:FileVersion>
    63             </QPM:PackageDescription>
    64 
    65             <QPM:ProductDescription>
    66                <QPM:ProductName>Simple DirectMedia Layer (SDL)</QPM:ProductName>
    67                <QPM:ProductIdentifier>SDL</QPM:ProductIdentifier>
    68                <QPM:ProductEmail>slouken@libsdl.org</QPM:ProductEmail>
    69                <QPM:VendorName>public</QPM:VendorName>
    70                <QPM:VendorInstallName>public</QPM:VendorInstallName>
    71                <QPM:VendorURL>http://www.libsdl.org</QPM:VendorURL>
    72                <QPM:VendorEmbedURL/>
    73                <QPM:VendorEmail>slouken@libsdl.org</QPM:VendorEmail>
    74                <QPM:AuthorName>Sam Lantinga</QPM:AuthorName>
    75                <QPM:AuthorURL>http://www.libsdl.org</QPM:AuthorURL>
    76                <QPM:AuthorEmbedURL/>
    77                <QPM:AuthorEmail>slouken@libsdl.org</QPM:AuthorEmail>
    78                <QPM:ProductIconSmall/>
    79                <QPM:ProductIconLarge/>
    80                <QPM:ProductDescriptionShort>This is the Simple DirectMedia Layer (SDL), a generic API that provides low level access to audio, keyboard, mouse, and display framebuffer across multiple platforms.</QPM:ProductDescriptionShort>
    81                <QPM:ProductDescriptionLong>This is the Simple DirectMedia Layer (SDL), 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>
    82                <QPM:ProductDescriptionURL>http://www.libsdl.org</QPM:ProductDescriptionURL>
    83                <QPM:ProductDescriptionEmbedURL/>
    84             </QPM:ProductDescription>
    85 
    86             <QPM:ReleaseDescription>
    87                <QPM:ReleaseVersion>@VERSION@</QPM:ReleaseVersion>
    88                <QPM:ReleaseUrgency>High</QPM:ReleaseUrgency>
    89                <QPM:ReleaseStability>Stable</QPM:ReleaseStability>
    90                <QPM:ReleaseNoteMinor/>
    91                <QPM:ReleaseNoteMajor/>
    92                <QPM:ReleaseBuild>1</QPM:ReleaseBuild>
    93                <QPM:CountryExclude/>
    94                <QPM:ReleaseCopyright>GNU Lesser General Public License</QPM:ReleaseCopyright>
    95             </QPM:ReleaseDescription>
    96 
    97             <QPM:ContentDescription>
    98                <QPM:ContentTopic xmlmultiple="true">Software Development/Libraries and Extensions/C Libraries</QPM:ContentTopic>
    99                <QPM:ContentKeyword>SDL, audio, graphics, demos, games, emulators, direct, media, layer</QPM:ContentKeyword>
   100                <QPM:TargetOS>qnx6</QPM:TargetOS>
   101                <QPM:HostOS>none</QPM:HostOS>
   102                <QPM:DisplayEnvironment xmlmultiple="true">Photon</QPM:DisplayEnvironment>
   103                <QPM:DisplayEnvironment xmlmultiple="true">Console</QPM:DisplayEnvironment>
   104                <QPM:TargetAudience xmlmultiple="true">Developer</QPM:TargetAudience>
   105                <QPM:TargetAudience xmlmultiple="true">User</QPM:TargetAudience>
   106             </QPM:ContentDescription>
   107             <QPM:LicenseUrl>repdata://LicenseUrl/COPYING</QPM:LicenseUrl>
   108          </QPM:PackageManifest>
   109       </QPG:PackageFilter>
   110 
   111       <QPG:PackageFilter proc="none" target="none">
   112          <QPM:PackageManifest>
   113             <QPM:ProductInstallationDependencies>
   114                <QPM:ProductRequirements></QPM:ProductRequirements>
   115             </QPM:ProductInstallationDependencies>
   116          </QPM:PackageManifest>
   117       </QPG:PackageFilter>
   118 
   119       <QPG:PackageFilter proc="x86" target="none">
   120          <QPM:PackageManifest>
   121             <QPM:ProductInstallationDependencies>
   122                <QPM:ProductRequirements></QPM:ProductRequirements>
   123             </QPM:ProductInstallationDependencies>
   124          </QPM:PackageManifest>
   125       </QPG:PackageFilter>
   126 
   127       <QPG:PackageFilter proc="none" target="x86">
   128          <QPM:PackageManifest>
   129             <QPM:ProductInstallationDependencies>
   130                <QPM:ProductRequirements></QPM:ProductRequirements>
   131             </QPM:ProductInstallationDependencies>
   132          </QPM:PackageManifest>
   133       </QPG:PackageFilter>
   134 
   135       <QPG:PackageFilter proc="x86" target="x86">
   136          <QPM:PackageManifest>
   137             <QPM:ProductInstallationDependencies>
   138                <QPM:ProductRequirements></QPM:ProductRequirements>
   139             </QPM:ProductInstallationDependencies>
   140          </QPM:PackageManifest>
   141       </QPG:PackageFilter>
   142 
   143    </QPG:Values>
   144 </QPG:Generation>