[Pkg-sdl-commits] [SCM] Debian packaging of SDL 1.2 branch, master, updated. debian/1.2.15-5-9-gd979dcb

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Sat Jul 27 18:50:58 UTC 2013


The following commit has been merged in the master branch:
commit d1880b059c6290c8e889c1fd71bf5845e8cd97a6
Author: Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>
Date:   Sat Jul 27 18:57:07 2013 +0100

    Bring the man page of sdl-config up to date (Closes: #695836)

diff --git a/debian/changelog b/debian/changelog
index 9d7120b..e735359 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,7 @@ libsdl1.2 (1.2.15-6) UNRELEASED; urgency=low
 
   [ Manuel A. Fernandez Montecelo ]
   * Switch to @debian.org address
+  * Bring the man page of sdl-config up to date (Closes: #695836)
 
  -- Felix Geyer <fgeyer at debian.org>  Sat, 18 May 2013 14:07:04 +0200
 
diff --git a/debian/sdl-config.1 b/debian/sdl-config.1
index ffd36df..4e7826f 100644
--- a/debian/sdl-config.1
+++ b/debian/sdl-config.1
@@ -3,11 +3,7 @@
 sdl-config \- script to get information about the installed version of SDL
 .SH SYNOPSIS
 .B sdl-config
-[ --prefix=
-.IR DIR ]
-[ --exec-prefix=
-.IR DIR ]
-[ --version ] [ --libs | --library-libs | --plugin-libs ] [ --cflags ]
+[--prefix=[DIR]] [--exec-prefix=[DIR]] [--version] [--cflags] [--libs] [--static-libs]
 .SH DESCRIPTION
 .B sdl-config
 is a tool that is used to configure and determine the compiler and linker
@@ -20,13 +16,14 @@ included with SDL.
 Print the compiler flags that are necessary to compile a program or library
 that uses SDL.
 .TP
-.BI --exec-prefix= DIR
-If specified, use
-.I DIR
-instead of the installation exec prefix that SDL was build with when
-computing the output for the --cflags, --libs, --library-libs, and
---plugin-libs options.  This option must be specified before any of the
---cflags, --libs, --library-libs, and --plugin-libs options.
+.BI --exec-prefix\fR[=\fIDIR\fR]
+If \fIDIR\fR is not specified, print the exec prefix of the current SDL
+installation.
+.IP
+If \fIDIR\fR is specified, use it instead of the installation exec prefix that
+SDL was built with when computing the output for the --cflags, --libs and
+--static-libs options.  This option must be specified before any of the options
+--cflags, --libs and --static-libs.
 .TP
 .B --libs
 Print the linker flags that are necessary to link a program that uses SDL.
@@ -34,27 +31,14 @@ Print the linker flags that are necessary to link a program that uses SDL.
 .B --static-libs
 Print the linker flags that are necessary to statically link a program that uses SDL.
 .TP
-.B --library-libs
-Print the linker flags that are necessary to link a library that uses SDL.
-(This excludes any static objects required for linking, since these must be
-linked only by executable programs.)
-.TP
-.B --plugin-libs
-Print the linker flags that are necessary to link an SDL-using object that
-is to be accessed via
-.IR dlopen (3).
-This may include static objects with PIC symbol information.  This option
-should
-.B not
-be used for ordinary shared libraries or standalone applications.
-.TP
-.BI --prefix= DIR
-If specified, use PREFIX instead of the installation prefix that SDL was
-built with when computing the output for the --cflags, --libs,
---library-libs, and --plugin-libs options.  This option is also used for
-the exec prefix if --exec-prefix was not specified.  This option must be
-specified before any of the --cflags, --libs, --library-libs, and
---plugin-libs options.
+.BI --prefix\fR[=\fIDIR\fR]
+If \fIDIR\fR is not specified, print the prefix of the current SDL installation.
+.IP
+If \fIDIR\fR is specified, use it instead of the installation prefix that SDL
+was built with when computing the output for the --cflags, --libs and
+--static-libs options.  This option is also used for the exec prefix if
+--exec-prefix was not specified.  This option must be specified before any of
+the options --cflags, --libs and --static-libs.
 .TP
 .B --version
 Prints the currently installed version of SDL on standard output.
@@ -69,18 +53,10 @@ gcc -o my_app $(sdl-config --libs) main.o util.o
 is how you might use
 .B sdl-config
 to link compiled objects into an executable program.
-.TP
-gcc -o libSDL_nifty-1.2.so.0.0.1 $(sdl --library-libs) read.o write.o munge.o
-is how you might use
-.B sdl-config
-to link compiled objects into a shared library.
-.TP
-gcc -o libnifty_xmms.so $(sdl --plugin-libs) stream.o blit.o deinterlace.o
-is how you might use
-.B sdl-config
-to link compiled objects into a plugin for use by another program.
 .SH AUTHOR
 The Simple DirectMedia Layer (SDL) library was written by Sam Lantinga.
 .PP
 This manual page was written by Branden Robinson, originally for Progeny
 Linux Systems, Inc., and the Debian Project.
+.br
+Updated in 2013 by Manuel A. Fernandez Montecelo <mafm at debian.org>.

-- 
Debian packaging of SDL 1.2



More information about the pkg-sdl-commits mailing list