SDL.qpg.in
author Sam Lantinga <slouken@libsdl.org>
Sun, 21 Sep 2003 18:32:04 +0000
changeset 720 f90d80d68071
parent 718 cbc0f7fabd1c
child 753 b14fdadd8311
permissions -rw-r--r--
N Sep 17 8791 Sam Lantinga Re: tks source released
Date: Sun, 07 Sep 2003 02:51:58 +0200
From: Stephane Marchesin
Subject: [SDL] Two little patches

Compiling SDL with a recent gcc (gcc 3.3.1, 3.3 doesn't have this
behaviour) gives some nasty warnings :

SDL_blit_A.c: In function `BlitRGBtoRGBSurfaceAlpha128MMX':
SDL_blit_A.c:223: warning: integer constant is too large for "long" type
SDL_blit_A.c:225: warning: integer constant is too large for "long" type
SDL_blit_A.c:227: warning: integer constant is too large for "long" type
[...]

The first attached patch (longlongfix.patch) tells gcc to really treat
those constants as unsigned long long and not long.

The second patch (nasinclude.patch) fixes an include problem I had while
compiling nas audio : when the <audio/audiolib.h> file lies in
/usr/X11R6/include, a -I/usr/X11R6/include option is needed or the file
isn't found.
     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-1.2.so.0" install="/opt/lib/"/>
    28          <QPG:Add filetype="symlink" file="libSDL.so" install="/opt/lib/" linkto="libSDL-1.2.so.0"/>
    29          <QPG:Add filetype="symlink" file="libSDL-1.1.so.0" install="/opt/lib/" linkto="libSDL-1.2.so.0"/>
    30          <QPG:Add filetype="symlink" file="libSDL-1.0.so.0" install="/opt/lib/" linkto="libSDL-1.2.so.0"/>
    31          <QPG:Add permissions="0644" file="./src/.libs/libSDL.a" install="/opt/lib/"/>
    32          <QPG:Add permissions="0644" file="./src/.libs/libSDL.lai" install="/opt/lib/libSDL.la"/>
    33          <QPG:Add permissions="0644" file="./src/main/libSDLmain.a" install="/opt/lib/"/>
    34          <QPG:Add permissions="0644" file="./include/*.h" install="/opt/include/SDL/"/>
    35          <QPG:Add permissions="0755" file="./sdl-config" install="/opt/bin/"/>
    36          <QPG:Add permissions="0644" file="./BUGS" install="/usr/doc/SDL12/"/>
    37          <QPG:Add permissions="0644" file="./COPYING" install="/usr/doc/SDL12/"/>
    38          <QPG:Add permissions="0644" file="./CREDITS" install="/usr/doc/SDL12/"/>
    39          <QPG:Add permissions="0644" file="./INSTALL" install="/usr/doc/SDL12/"/>
    40          <QPG:Add permissions="0644" file="./README" install="/usr/doc/SDL12/"/>
    41          <QPG:Add permissions="0644" file="./README-SDL.txt" install="/usr/doc/SDL12/"/>
    42          <QPG:Add permissions="0644" file="./README.CVS" install="/usr/doc/SDL12/"/>
    43          <QPG:Add permissions="0644" file="./README.QNX" install="/usr/doc/SDL12/"/>
    44          <QPG:Add permissions="0644" file="./TODO" install="/usr/doc/SDL12/"/>
    45          <QPG:Add permissions="0644" file="./WhatsNew" install="/usr/doc/SDL12/"/>
    46          <QPG:Add permissions="0644" file="./docs.html" install="/usr/doc/SDL12/Changes.html"/>
    47          <QPG:Add permissions="0644" file="./docs/index.html" install="/usr/doc/SDL12/docs/"/>
    48          <QPG:Add permissions="0644" file="./docs/html/*.html" install="/usr/doc/SDL12/docs/html/"/>
    49          <QPG:Add permissions="0644" file="./docs/images/rainbow.gif" install="/usr/doc/SDL12/docs/images/"/>
    50          <QPG:Add permissions="0644" file="./docs/man3/*.3" install="/opt/man/man3/"/>
    51          <QPG:Add permissions="0644" file="./sdl.m4" install="/opt/share/aclocal/"/>
    52       </QPG:Files>
    53       <QPG:PackageFilter>
    54          <QPM:PackageManifest>
    55 
    56             <QPM:PackageDescription>
    57                <QPM:PackageType>Library</QPM:PackageType>
    58                <QPM:PackageName>SDL</QPM:PackageName>
    59                <QPM:PackageReleaseNumber>1</QPM:PackageReleaseNumber>
    60                <QPM:PackageRepository>http://qnx.org.ru/repository</QPM:PackageRepository>
    61                <QPM:FileVersion>2.0</QPM:FileVersion>
    62             </QPM:PackageDescription>
    63 
    64             <QPM:ProductDescription>
    65                <QPM:ProductName>SDL</QPM:ProductName>
    66                <QPM:ProductIdentifier>SDL</QPM:ProductIdentifier>
    67                <QPM:ProductEmail>slouken@libsdl.org</QPM:ProductEmail>
    68                <QPM:VendorName>public</QPM:VendorName>
    69                <QPM:VendorInstallName>public</QPM:VendorInstallName>
    70                <QPM:VendorURL>http://www.libsdl.org</QPM:VendorURL>
    71                <QPM:VendorEmbedURL/>
    72                <QPM:VendorEmail>slouken@libsdl.org</QPM:VendorEmail>
    73                <QPM:AuthorName>Sam Lantinga</QPM:AuthorName>
    74                <QPM:AuthorURL>http://www.libsdl.org</QPM:AuthorURL>
    75                <QPM:AuthorEmbedURL/>
    76                <QPM:AuthorEmail>slouken@libsdl.org</QPM:AuthorEmail>
    77                <QPM:ProductIconSmall/>
    78                <QPM:ProductIconLarge/>
    79                <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>
    80                <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>
    81                <QPM:ProductDescriptionURL>http://www.libsdl.org</QPM:ProductDescriptionURL>
    82                <QPM:ProductDescriptionEmbedURL/>
    83             </QPM:ProductDescription>
    84 
    85             <QPM:ReleaseDescription>
    86                <QPM:ReleaseVersion>@VERSION@</QPM:ReleaseVersion>
    87                <QPM:ReleaseUrgency>High</QPM:ReleaseUrgency>
    88                <QPM:ReleaseStability>Stable</QPM:ReleaseStability>
    89                <QPM:ReleaseNoteMinor/>
    90                <QPM:ReleaseNoteMajor/>
    91                <QPM:ReleaseBuild>1</QPM:ReleaseBuild>
    92                <QPM:CountryExclude/>
    93                <QPM:ReleaseCopyright>GNU Lesser General Public License</QPM:ReleaseCopyright>
    94             </QPM:ReleaseDescription>
    95 
    96             <QPM:ContentDescription>
    97                <QPM:ContentTopic xmlmultiple="true">Software Development/Libraries and Extensions/C Libraries</QPM:ContentTopic>
    98                <QPM:ContentKeyword>SDL, audio, graphics, demos, games, emulators, media, layer</QPM:ContentKeyword>
    99                <QPM:TargetOS>qnx6</QPM:TargetOS>
   100                <QPM:HostOS>none</QPM:HostOS>
   101                <QPM:DisplayEnvironment xmlmultiple="true">Photon</QPM:DisplayEnvironment>
   102                <QPM:TargetAudience xmlmultiple="true">Developer</QPM:TargetAudience>
   103                <QPM:TargetAudience xmlmultiple="true">User</QPM:TargetAudience>
   104             </QPM:ContentDescription>
   105             <QPM:LicenseUrl>repdata://LicenseUrl/COPYING</QPM:LicenseUrl>
   106          </QPM:PackageManifest>
   107       </QPG:PackageFilter>
   108 
   109       <QPG:PackageFilter proc="none" target="none">
   110          <QPM:PackageManifest>
   111             <QPM:ProductInstallationDependencies>
   112                <QPM:ProductRequirements></QPM:ProductRequirements>
   113             </QPM:ProductInstallationDependencies>
   114          </QPM:PackageManifest>
   115       </QPG:PackageFilter>
   116 
   117       <QPG:PackageFilter proc="x86" target="none">
   118          <QPM:PackageManifest>
   119             <QPM:ProductInstallationDependencies>
   120                <QPM:ProductRequirements></QPM:ProductRequirements>
   121             </QPM:ProductInstallationDependencies>
   122          </QPM:PackageManifest>
   123       </QPG:PackageFilter>
   124 
   125       <QPG:PackageFilter proc="none" target="x86">
   126          <QPM:PackageManifest>
   127             <QPM:ProductInstallationDependencies>
   128                <QPM:ProductRequirements></QPM:ProductRequirements>
   129             </QPM:ProductInstallationDependencies>
   130          </QPM:PackageManifest>
   131       </QPG:PackageFilter>
   132 
   133       <QPG:PackageFilter proc="x86" target="x86">
   134          <QPM:PackageManifest>
   135             <QPM:ProductInstallationDependencies>
   136                <QPM:ProductRequirements></QPM:ProductRequirements>
   137             </QPM:ProductInstallationDependencies>
   138          </QPM:PackageManifest>
   139       </QPG:PackageFilter>
   140 
   141    </QPG:Values>
   142 </QPG:Generation>