--- libsoil-1.07~20080707.dfsg.orig/debian/libsoil1.symbols +++ libsoil-1.07~20080707.dfsg/debian/libsoil1.symbols @@ -0,0 +1,112 @@ +libSOIL.so.1 libsoil1 #MINVER# + LSE_master_colors_max_min@Base 1.07~20080707 + RGBE_to_RGBdivA2@Base 1.07~20080707 + RGBE_to_RGBdivA@Base 1.07~20080707 + SOIL_create_OGL_single_cubemap@Base 1.07~20080707 + SOIL_create_OGL_texture@Base 1.07~20080707 + SOIL_direct_load_DDS@Base 1.07~20080707 + SOIL_direct_load_DDS_from_memory@Base 1.07~20080707 + SOIL_free_image_data@Base 1.07~20080707 + SOIL_internal_create_OGL_texture@Base 1.07~20080707 + SOIL_last_result@Base 1.07~20080707 + SOIL_load_OGL_HDR_texture@Base 1.07~20080707 + SOIL_load_OGL_cubemap@Base 1.07~20080707 + SOIL_load_OGL_cubemap_from_memory@Base 1.07~20080707 + SOIL_load_OGL_single_cubemap@Base 1.07~20080707 + SOIL_load_OGL_single_cubemap_from_memory@Base 1.07~20080707 + SOIL_load_OGL_texture@Base 1.07~20080707 + SOIL_load_OGL_texture_from_memory@Base 1.07~20080707 + SOIL_load_image@Base 1.07~20080707 + SOIL_load_image_from_memory@Base 1.07~20080707 + SOIL_save_image@Base 1.07~20080707 + SOIL_save_screenshot@Base 1.07~20080707 + check_for_GL_errors@Base 1.07~20080707 + clamp_byte@Base 1.07~20080707 + compress_DDS_alpha_block@Base 1.07~20080707 + compress_DDS_color_block@Base 1.07~20080707 + compute_color_line_STDEV@Base 1.07~20080707 + convert_RGB_to_YCoCg@Base 1.07~20080707 + convert_YCoCg_to_RGB@Base 1.07~20080707 + convert_bit_range@Base 1.07~20080707 + convert_image_to_DXT1@Base 1.07~20080707 + convert_image_to_DXT5@Base 1.07~20080707 + find_max_RGBE@Base 1.07~20080707 + loaders@Base 1.07~20080707 + mipmap_image@Base 1.07~20080707 + query_DXT_capability@Base 1.07~20080707 + query_NPOT_capability@Base 1.07~20080707 + query_cubemap_capability@Base 1.07~20080707 + query_tex_rectangle_capability@Base 1.07~20080707 + result_string_pointer@Base 1.07~20080707 + rgb_888_from_565@Base 1.07~20080707 + rgb_to_565@Base 1.07~20080707 + save_image_as_DDS@Base 1.07~20080707 + scale_image_RGB_to_NTSC_safe@Base 1.07~20080707 + soilGlCompressedTexImage2D@Base 1.07~20080707 + stbi_bmp_load@Base 1.07~20080707 + stbi_bmp_load_from_file@Base 1.07~20080707 + stbi_bmp_load_from_memory@Base 1.07~20080707 + stbi_bmp_test_file@Base 1.07~20080707 + stbi_bmp_test_memory@Base 1.07~20080707 + stbi_convert_bit_range@Base 1.07~20080707 + stbi_dds_load@Base 1.07~20080707 + stbi_dds_load_from_file@Base 1.07~20080707 + stbi_dds_load_from_memory@Base 1.07~20080707 + stbi_dds_test_file@Base 1.07~20080707 + stbi_dds_test_memory@Base 1.07~20080707 + stbi_decode_DXT1_block@Base 1.07~20080707 + stbi_decode_DXT23_alpha_block@Base 1.07~20080707 + stbi_decode_DXT45_alpha_block@Base 1.07~20080707 + stbi_decode_DXT_color_block@Base 1.07~20080707 + stbi_failure_reason@Base 1.07~20080707 + stbi_hdr_load_from_file@Base 1.07~20080707 + stbi_hdr_load_from_memory@Base 1.07~20080707 + stbi_hdr_load_rgbe@Base 1.07~20080707 + stbi_hdr_load_rgbe_file@Base 1.07~20080707 + stbi_hdr_load_rgbe_memory@Base 1.07~20080707 + stbi_hdr_test_file@Base 1.07~20080707 + stbi_hdr_test_memory@Base 1.07~20080707 + stbi_hdr_to_ldr_gamma@Base 1.07~20080707 + stbi_hdr_to_ldr_scale@Base 1.07~20080707 + stbi_image_free@Base 1.07~20080707 + stbi_is_hdr@Base 1.07~20080707 + stbi_is_hdr_from_file@Base 1.07~20080707 + stbi_is_hdr_from_memory@Base 1.07~20080707 + stbi_jpeg_load@Base 1.07~20080707 + stbi_jpeg_load_from_file@Base 1.07~20080707 + stbi_jpeg_load_from_memory@Base 1.07~20080707 + stbi_jpeg_test_file@Base 1.07~20080707 + stbi_jpeg_test_memory@Base 1.07~20080707 + stbi_ldr_to_hdr_gamma@Base 1.07~20080707 + stbi_ldr_to_hdr_scale@Base 1.07~20080707 + stbi_load@Base 1.07~20080707 + stbi_load_from_file@Base 1.07~20080707 + stbi_load_from_memory@Base 1.07~20080707 + stbi_loadf@Base 1.07~20080707 + stbi_loadf_from_file@Base 1.07~20080707 + stbi_loadf_from_memory@Base 1.07~20080707 + stbi_png_load@Base 1.07~20080707 + stbi_png_load_from_file@Base 1.07~20080707 + stbi_png_load_from_memory@Base 1.07~20080707 + stbi_png_test_file@Base 1.07~20080707 + stbi_png_test_memory@Base 1.07~20080707 + stbi_psd_load@Base 1.07~20080707 + stbi_psd_load_from_file@Base 1.07~20080707 + stbi_psd_load_from_memory@Base 1.07~20080707 + stbi_psd_test_file@Base 1.07~20080707 + stbi_psd_test_memory@Base 1.07~20080707 + stbi_register_loader@Base 1.07~20080707 + stbi_rgb_888_from_565@Base 1.07~20080707 + stbi_tga_load@Base 1.07~20080707 + stbi_tga_load_from_file@Base 1.07~20080707 + stbi_tga_load_from_memory@Base 1.07~20080707 + stbi_tga_test_file@Base 1.07~20080707 + stbi_tga_test_memory@Base 1.07~20080707 + stbi_write_bmp@Base 1.07~20080707 + stbi_write_tga@Base 1.07~20080707 + stbi_zlib_decode_buffer@Base 1.07~20080707 + stbi_zlib_decode_malloc@Base 1.07~20080707 + stbi_zlib_decode_malloc_guesssize@Base 1.07~20080707 + stbi_zlib_decode_noheader_buffer@Base 1.07~20080707 + stbi_zlib_decode_noheader_malloc@Base 1.07~20080707 + up_scale_image@Base 1.07~20080707 --- libsoil-1.07~20080707.dfsg.orig/debian/compat +++ libsoil-1.07~20080707.dfsg/debian/compat @@ -0,0 +1 @@ +6 --- libsoil-1.07~20080707.dfsg.orig/debian/libsoil1.dirs +++ libsoil-1.07~20080707.dfsg/debian/libsoil1.dirs @@ -0,0 +1 @@ +usr/lib --- libsoil-1.07~20080707.dfsg.orig/debian/docs +++ libsoil-1.07~20080707.dfsg/debian/docs @@ -0,0 +1 @@ +soil.html \ No newline at end of file --- libsoil-1.07~20080707.dfsg.orig/debian/control +++ libsoil-1.07~20080707.dfsg/debian/control @@ -0,0 +1,49 @@ +Source: libsoil +Priority: extra +Maintainer: Debian Games Team +Uploaders: Christoph Egger +Build-Depends: debhelper (>= 6), mesa-common-dev, quilt, libgl1-mesa-dev +Standards-Version: 3.8.3 +Vcs-Git: git://git.debian.org/git/pkg-games/libsoil.git/ +Vcs-Browser: http://git.debian.org/?p=pkg-games/libsoil.git +Section: libs +Homepage: http://www.lonesock.net/soil.html + +Package: libsoil-dev +Section: libdevel +Architecture: any +Depends: libsoil1 (= ${binary:Version}) +Description: Simple OpenGL Image Library - development files + SOIL is a tiny C library used primarily for uploading textures into OpenGL. + It supports loading BMP, PNG, JPG, TGA, DDS, PSD and HDR files as well as + saving into TGA, BMP and DDS Files. + . + It is also able to perform common functions needed in loading OpenGL textures. + . + This package contains everything needed to develope software using libsoil. + +Package: libsoil1 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Simple OpenGL Image Library + SOIL is a tiny C library used primarily for uploading textures into OpenGL. + It supports loading BMP, PNG, JPG, TGA, DDS, PSD and HDR files as well as + saving into TGA, BMP and DDS Files. + . + It is also able to perform common functions needed in loading OpenGL textures. + . + This is the shared library potentially needed for some other software to work. + +Package: libsoil1-dbg +Section: debug +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, libsoil1 (= ${binary:Version}) +Description: Simple OpenGL Image Library - debug files + SOIL is a tiny C library used primarily for uploading textures into OpenGL. + It supports loading BMP, PNG, JPG, TGA, DDS, PSD and HDR files as well as + saving into TGA, BMP and DDS Files. + . + It is also able to perform common functions needed in loading OpenGL textures. + . + This package contains debug symbols for libsoil. It may be useful to debug + troubles in software related to libsoil. --- libsoil-1.07~20080707.dfsg.orig/debian/rules +++ libsoil-1.07~20080707.dfsg/debian/rules @@ -0,0 +1,75 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/quilt/quilt.make + +version=1.07 +major=1 + +configure: configure-stamp +configure-stamp: patch + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + cd src && $(MAKE) -f ../projects/makefile/alternate\ Makefile.txt + + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + cd src && $(MAKE) -f ../projects/makefile/alternate\ Makefile.txt clean + rm -f src/libSOIL.a + rm -f src/libSOIL.so.1.07-20071110 + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp + cd src && $(MAKE) -f ../projects/makefile/alternate\ Makefile.txt DESTDIR=$(CURDIR)/debian/tmp install + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_install --sourcedir=debian/tmp + dh_installman + dh_link + dh_strip --dbg-package=libsoil1-dbg + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- libsoil-1.07~20080707.dfsg.orig/debian/libsoil-dev.dirs +++ libsoil-1.07~20080707.dfsg/debian/libsoil-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include --- libsoil-1.07~20080707.dfsg.orig/debian/copyright +++ libsoil-1.07~20080707.dfsg/debian/copyright @@ -0,0 +1,40 @@ +This package was debianized by Christoph Egger on +Fri, 01 Aug 2008 22:46:49 +0200. + +It was downloaded from http://www.lonesock.net/soil.html + +Upstream Author: + + Jonathan Dummer + + based on stb_image by Sean Barrett + +Copyright: + + this Software is placed in public domain + + src/image_helper.c, src/image_helper.h and support/FreeBasic/SOIL.bi are also + licensed under the MIT license + Copyright © 2007-2008 Jonathan Dummer + + debian/ is + Copyright © 2008 Christoph Egger and under the MIT license + +The MIT license: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. --- libsoil-1.07~20080707.dfsg.orig/debian/changelog +++ libsoil-1.07~20080707.dfsg/debian/changelog @@ -0,0 +1,23 @@ +libsoil (1.07~20080707.dfsg-2) unstable; urgency=low + + * Rewraping long description to fit into 80 chars width + * Fixing typo in Vcs-Git field + * Add symbols control file + * Remove cruft from rules fle + * Bump standards Version + * Update my Mailadress + * Force strict Version on dependency of -dbg package + * Improve package description + * Build + Ship static lib build upstream as well + * Bump Standards Version from 3.8.1 to .3 * + * Adapt section for the debug package + * Impreoved README.source + + -- Christoph Egger Mon, 24 Aug 2009 14:01:44 +0200 + +libsoil (1.07~20080707.dfsg-1) unstable; urgency=low + + * Initial release (Closes: #482293) + + -- Christoph Egger Fri, 01 Aug 2008 22:46:49 +0200 + --- libsoil-1.07~20080707.dfsg.orig/debian/libsoil1.install +++ libsoil-1.07~20080707.dfsg/debian/libsoil1.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* --- libsoil-1.07~20080707.dfsg.orig/debian/libsoil-dev.install +++ libsoil-1.07~20080707.dfsg/debian/libsoil-dev.install @@ -0,0 +1,3 @@ +usr/include/* +usr/lib/lib*.so +usr/lib/lib*.a \ No newline at end of file --- libsoil-1.07~20080707.dfsg.orig/debian/README.source +++ libsoil-1.07~20080707.dfsg/debian/README.source @@ -0,0 +1,15 @@ +Task: apply debian patches +Tools: quilt +Command: quilt push -a +Description: + Please read /usr/share/doc/quilt/README.source how to use quilt for + managing Debian patches + +Task: creating the tarball +Tools: unzip, tar, gzip +Description: + libSOIL is distributed as .zip archives so it needs extraction and + re-compression. On the way, the testSOIL.exe has been removed from + the source. + + -- Christoph Egger , Mon, 24 Aug 2009 14:00:50 +0200 --- libsoil-1.07~20080707.dfsg.orig/debian/patches/linking_correctly.patch +++ libsoil-1.07~20080707.dfsg/debian/patches/linking_correctly.patch @@ -0,0 +1,25 @@ +We need to add -fPIC for the dynamic lib. Additionally this links +libsoil against libm and libGL as it uses symbols from them. + +diff --git a/projects/makefile/alternate Makefile.txt b/projects/makefile/alternate Makefile.txt +index b2ff3a4..649526b 100644 +--- a/projects/makefile/alternate Makefile.txt ++++ b/projects/makefile/alternate Makefile.txt +@@ -4,7 +4,7 @@ INSTALL_FILE = install -p -o root -g root -m 644 + INSTALL_DIR = install -p -o root -g root -d + LN = ln -s + RM = rm -fv +-CFLAGS += -c -O2 -Wall ++CFLAGS += -c -O2 -Wall -fPIC + LDFLAGS += + + CFILES = image_DXT.c image_helper.c SOIL.c stb_image_aug.c +@@ -29,7 +29,7 @@ lib: $(OFILES) + # create static library + ar -cvq $(LIBNAME).a $(OFILES) + # create shared library +- gcc -shared -Wl,-soname,$(LIBNAME).so.$(MAJOR) -o $(LIBNAME).so.$(VERSION) $(OFILES) ++ gcc -shared -Wl,-soname,$(LIBNAME).so.$(MAJOR) -o $(LIBNAME).so.$(VERSION) $(OFILES) -lGL -lm + + install: + $(INSTALL_DIR) $(DESTDIR)/$(INCLUDEDIR) --- libsoil-1.07~20080707.dfsg.orig/debian/patches/series +++ libsoil-1.07~20080707.dfsg/debian/patches/series @@ -0,0 +1 @@ +linking_correctly.patch