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