SDL.qpg.in
author Ozkan Sezer <sezeroz@gmail.com>
Fri, 22 Jun 2018 21:03:40 +0300
branchSDL-1.2
changeset 12026 67f391c74aee
parent 6130 987c365cc7bf
permissions -rw-r--r--
SDLMain.m: replace CPS* stuff with activateIgnoringOtherApps (bug #4114)

CPS stuff are deprecated and emit warnings at runtime, e.g.:

warning: CPSGetCurrentProcess(): This call is deprecated and should not be called anymore
warning: CPSSetForegroundOperationState() (as above)
warning: capture_display; Captured mirror master 0x350000c1 (unit 1) on behalf of slave 0x042716c0 (unit 0)

http://lists.libsdl.org/pipermail/sdl-libsdl.org/2006-April/055749.html
suggests doing something like:

ProcessSerialNumber psn = { 0, kCurrentProcess};
TransformProcessType (&psn, kProcessTransformToForegroundApplication);
SetFrontProcess (&psn);

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