[SCM] openimageio/master: debian/: from static to shared library

mfv-guest at users.alioth.debian.org mfv-guest at users.alioth.debian.org
Fri Mar 2 16:15:21 UTC 2012


The following commit has been merged in the master branch:
commit 2ab3003d7121894e5529a0718d7f0aecf2e12af9
Author: Matteo F. Vescovi <mfv.debian at gmail.com>
Date:   Fri Mar 2 15:42:28 2012 +0100

    debian/: from static to shared library
    
    Initial Ubuntu packaging was providing a static library,
    while it's good Debian practise to use shared libraries.
    Done so.
    
    Git-Dch: Short

diff --git a/debian/control b/debian/control
index 6ee712e..c77ef94 100644
--- a/debian/control
+++ b/debian/control
@@ -23,12 +23,56 @@ Homepage: http://www.openimageio.org/
 Vcs-Git: git://anonscm.debian.org/pkg-multimedia/openimageio.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-multimedia/openimageio.git
 
-Package: libopenimageio-dev
-Section: libdevel
+Package: libopenimageio1.0
 Architecture: any
 Depends:
  ${misc:Depends},
  ${shlibs:Depends}
+Description: Library for reading and writing images - runtime
+ OpenImageIO is a library for reading and writing images, and a bunch of
+ related classes, utilities, and applications. Main features include:
+ .
+  * Extremely simple but powerful ImageInput and ImageOutput APIs for reading
+    and writing 2D images that is format agnostic -- that is, a "client app"
+    doesn't need to know the details about any particular image file formats.
+    Specific formats are implemented by DLL/DSO plugins.
+ .
+  * Format plugins for TIFF, JPEG/JFIF, OpenEXR, PNG, HDR/RGBE, Targa,
+    JPEG-2000, DPX, Cineon, FITS, BMP, ICO, RMan Zfile, Softimage PIC, DDS,
+    SGI, PNM/PPM/PGM/PBM, Field3d, WebP. More coming! The plugins are really
+    good at understanding all the strange corners of the image formats, and
+    are very careful about preserving image metadata (including Exif, GPS, and
+    IPTC data).
+  .
+  * An ImageCache class that transparently manages a cache so that it can access
+    truly vast amounts of image data (thousands of image files totaling hundreds
+    of GB) very efficiently using only a tiny amount (tens of megabytes at most)
+    of runtime memory. Additionally, a TextureSystem class provides filtered
+    MIP-map texture lookups, atop the nice caching behavior of ImageCache.
+ .
+  * Several image tools based on these classes, including iinfo (print detailed
+    info about images), iconvert (convert among formats, data types, or modify
+    metadata), idiff (compare images),igrep (search images for matching
+    metadata). Because these tools are based on ImageInput/ImageOutput, they
+    work with any image formats for which ImageIO plugins are available.
+ .
+  * A really nice image viewer, iv, also based on OpenImageIO classes (and so
+    will work with any formats for which plugins are available).
+ .
+  * Supported on Linux, OS X, and Windows.
+ .
+  * All available under the BSD license, so you may modify it and use it in both
+    open source or proprietary apps.
+ .
+ This package contains the runtime library for building programs that use
+ libOpenImageIO.
+
+Package: libopenimageio-dev
+Section: libdevel
+Architecture: any
+Depends:
+ libopenimageio1.0 (= ${binary:Version}),
+ ${misc:Depends}
 Suggests:
  openimageio-doc
 Description: Library for reading and writing images - development
diff --git a/debian/libopenimageio-dev.install b/debian/libopenimageio-dev.install
index 4ce4634..63c4260 100644
--- a/debian/libopenimageio-dev.install
+++ b/debian/libopenimageio-dev.install
@@ -1,2 +1,2 @@
 usr/include
-usr/lib/lib*.a
+usr/lib/lib*.so
diff --git a/debian/libopenimageio1.0.install b/debian/libopenimageio1.0.install
new file mode 100644
index 0000000..d0dbfd1
--- /dev/null
+++ b/debian/libopenimageio1.0.install
@@ -0,0 +1 @@
+usr/lib/lib*.so.*
diff --git a/debian/rules b/debian/rules
index 3c76aed..07fa53f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,9 +14,7 @@ override_dh_auto_configure:
 	dh_auto_configure -- \
 		-DCMAKE_CXX_FLAGS="$(CXXFLAGS)" \
 		-DCMAKE_SKIP_RPATH=ON \
-		-DBUILDSTATIC=ON \
 		-DUSE_FIELD3D=OFF \
-		-DUSE_JASPER=OFF \
 		-DUSE_PYTHON=OFF
 
 override_dh_auto_test:

-- 
openimageio packaging



More information about the pkg-multimedia-commits mailing list