debian/0000775000000000000000000000000012260231524007165 5ustar debian/changelog0000664000000000000000000000320512260222353011037 0ustar s2tc (0~git20131104-1.1) unstable; urgency=medium * Non-maintainer upload. * Fix maintainer scripts to not hard-code the library path for one specific architecture into the alternatives handling on all architectures. Closes: #733568. -- Steve Langasek Mon, 30 Dec 2013 07:46:49 +0000 s2tc (0~git20131104-1) unstable; urgency=low * new upstream release * fixes broken alpa borders without workaround (Closes: #716713) -- Lennart Weller Sun, 29 Dec 2013 15:01:19 +0100 s2tc (0~git20121227-2) unstable; urgency=low * fixes broken alpha borders (Closes: #716713) -- Lennart Weller Wed, 11 Sep 2013 18:04:48 +0200 s2tc (0~git20121227-1) unstable; urgency=low * new upstream release * fixes crash with some some bugged decoders -- Lennart Weller Wed, 16 Jan 2013 14:34:46 +0100 s2tc (0~git20121217-1) unstable; urgency=low * new upstream release * fixes crash with atqw/quake4 (Closes: #690469) * updated to Debian Standards Version 3.9.4 -- Lennart Weller Fri, 21 Dec 2012 23:56:49 +0100 s2tc (0~git20110809-3) unstable; urgency=low * fixes multiarch alternatives bug (LP: #1012266) -- Lennart Weller Tue, 12 Jun 2012 22:36:28 +0200 s2tc (0~git20110809-2) unstable; urgency=low * insert multi-arch path in postinst/prerm scripts at build time (Closes: #668377) * Add me to Uploaders -- Sebastian Reichel Wed, 11 Apr 2012 23:53:37 +0200 s2tc (0~git20110809-1) unstable; urgency=low * Initial release. (Closes: #667989) -- Lennart Weller Sat, 07 Apr 2012 20:31:52 +0200 debian/libtxc-dxtn-s2tc0.prerm0000775000000000000000000000020312260222304013417 0ustar #!/bin/sh set -e update-alternatives --remove \ libtxc-dxtn-#MULTIARCH# /usr/lib/#MULTIARCH#/libtxc_dxtn_s2tc.so.0 #DEBHELPER# debian/patches/0000775000000000000000000000000012260231522010612 5ustar debian/patches/series0000664000000000000000000000003012260216264012026 0ustar 01-library-rename.patch debian/patches/01-library-rename.patch0000664000000000000000000000272112260216264014772 0ustar Title: Library renaming DEP: 3 Last-Update: 2012-04-07 Author: Lennart Weller Forwarded: not-needed Abstract: Change the name of the compiled shared object to allow more than one implementation to be installed at once. diff --git a/Makefile.am b/Makefile.am index 5612fb1..7905995 100644 --- a/Makefile.am +++ b/Makefile.am @@ -14,20 +14,20 @@ s2tc_compress_LDADD = -ldl s2tc_decompress_LDADD = -ldl else if ENABLE_LIB -s2tc_compress_LDADD = libtxc_dxtn.la -s2tc_decompress_LDADD = libtxc_dxtn.la +s2tc_compress_LDADD = libtxc_dxtn_s2tc.la +s2tc_decompress_LDADD = libtxc_dxtn_s2tc.la else -s2tc_compress_LDADD = -ltxc_dxtn -s2tc_decompress_LDADD = -ltxc_dxtn +s2tc_compress_LDADD = -ltxc_dxtn_s2tc +s2tc_decompress_LDADD = -ltxc_dxtn_s2tc endif endif endif if ENABLE_LIB -lib_LTLIBRARIES = libtxc_dxtn.la -libtxc_dxtn_la_SOURCES = s2tc_algorithm.cpp s2tc_libtxc_dxtn.cpp s2tc_common.h s2tc_algorithm.h txc_dxtn.h s2tc_license.h -libtxc_dxtn_la_LDFLAGS = -versioninfo 0:0:0 -libtxc_dxtn_la_LIBADD = -lm +lib_LTLIBRARIES = libtxc_dxtn_s2tc.la +libtxc_dxtn_s2tc_la_SOURCES = s2tc_algorithm.cpp s2tc_libtxc_dxtn.cpp s2tc_common.h s2tc_algorithm.h txc_dxtn.h s2tc_license.h +libtxc_dxtn_s2tc_la_LDFLAGS = -versioninfo 0:0:0 +libtxc_dxtn_s2tc_la_LIBADD = -lm libtxc_dxtn_la_CFLAGS = -fvisibility=hidden -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement library_includedir = $(includedir) library_include_HEADERS = txc_dxtn.h debian/libtxc-dxtn-s2tc-bin.install0000664000000000000000000000001212260216264014431 0ustar usr/bin/* debian/watch0000664000000000000000000000003212260216264010215 0ustar #no upstream release tags debian/manpages/0000775000000000000000000000000012260231522010756 5ustar debian/manpages/s2tc_compress.10000664000000000000000000000134112260216264013633 0ustar .TH S2TC_COMPRESS 1 "April 7, 2012" .\" Please adjust this date whenever revising the manpage. .SH NAME s2tc_compress \- Compress the image into a S2TC format texture. .SH SYNOPSIS \fBs2tc_compress\fP .SH DESCRIPTION s2tc_compress is part of the S2TC toolset. It allows compression of images into S2TC format textures. .SH OPTIONS .TP .BI -i \fIINFILE.tga\fP .TP .BI -o \fIOUTFILE.dds\fP .TP .BI -t One of the following compression algorithms .RS .BI DXT1 .BI DXT3 .BI DXT5 .RE .TP .BI -l \fIlibtxc_dxtn.so\fP Path to an implementation of libtxc-dxtn .TP .SH AUTHOR s2tc_compress is part of the S2TC toolset .PP This manual page was written by Lennart Weller , for the Debian project (but may be used by others). debian/manpages/s2tc_from_s3tc.10000664000000000000000000000120312260216264013674 0ustar .TH S2TC_FROM_S3TC 1 "April 7, 2012" .\" Please adjust this date whenever revising the manpage. .SH NAME s2tc_from_s3tc \- Convert a S3TC format texture into S2TC format one. .SH SYNOPSIS \fBs2tc_from_s3tc\fP .SH DESCRIPTION s2tc_from_s3tc is part of the S2TC toolset. It allows conversion of S3TC format textures into S2TC format ones using the lossy algorithm implemented in the algorithm. .SH OPTIONS .TP .BI -i \fIINFILE.dds\fP .TP .BI -o \fIOUTFILE.dds\fP .TP .SH AUTHOR s2tc_from_s3tc is part of the S2TC toolset .PP This manual page was written by Lennart Weller , for the Debian project (but may be used by others). debian/manpages/s2tc_decompress.10000664000000000000000000000121312260216264014142 0ustar .TH S2TC_DECOMPRESS 1 "April 7, 2012" .\" Please adjust this date whenever revising the manpage. .SH NAME s2tc_decompress \- Decompresses the texture into an image .SH SYNOPSIS \fBs2tc_decompress\fP .SH DESCRIPTION s2tc_decompress is part of the S2TC toolset. It allows decompression of S2TC format textures into TGA images. .SH OPTIONS .TP .BI -i \fIINFILE.dds\fP .TP .BI -o \fIOUTFILE.tga\fP .TP .BI -l \fIlibtxc_dxtn.so\fP Path to an implementation of libtxc-dxtn .TP .SH AUTHOR s2tc_decompress is part of the S2TC toolset .PP This manual page was written by Lennart Weller , for the Debian project (but may be used by others). debian/libtxc-dxtn-s2tc0.install0000664000000000000000000000010412260216264013745 0ustar usr/lib/*/libtxc_dxtn_s2tc.so.0 usr/lib/*/libtxc_dxtn_s2tc.so.0.0.0 debian/copyright0000664000000000000000000000301412260216264011122 0ustar Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174 Upstream-Name: s2tc Source: https://github.com/divVerent/s2tc Files: * Copyright: Copyright 2011 Rudolf Polzer License: Expat Files: debian/* Copyright: Copyright 2012 Lennart Weller License: Expat Files: debian/multiarchify-scripts.sh Copyright: Copyright 2012 Sebastian Reichel License: Expat Files: txc_dxtn.h Copyright: Copyright 2004 Roland Scheidegger License: Expat License: Expat 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 BRIAN PAUL 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. debian/docs0000664000000000000000000000001312260216264010036 0ustar README.txt debian/libtxc-dxtn-s2tc-dev.install0000664000000000000000000000004212260216264014442 0ustar usr/include/* usr/lib/*/pkgconfig debian/compat0000664000000000000000000000000212260216264010367 0ustar 9 debian/rules0000775000000000000000000000052412260216264010252 0ustar #!/usr/bin/make -f DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) DEB_CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) %: dh $@ --with autoreconf override_dh_install: ./debian/multiarchify-scripts.sh apply dh_install override_dh_clean: dh_clean ./debian/multiarchify-scripts.sh revert debian/libtxc-dxtn-s2tc-bin.manpages0000664000000000000000000000014312260216264014563 0ustar debian/manpages/s2tc_compress.1 debian/manpages/s2tc_decompress.1 debian/manpages/s2tc_from_s3tc.1 debian/multiarchify-scripts.sh0000775000000000000000000000101012260216264013705 0ustar #!/bin/sh MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH) case $1 in apply) for FILE in debian/*.postinst debian/*prerm ; do echo "replacing #MULTIARCH# with $MULTIARCH in $FILE." sed --in-place=.before-multiarchify s/#MULTIARCH#/$MULTIARCH/g $FILE done ;; revert) for FILE in debian/*.postinst debian/*prerm ; do if [ -e $FILE.before-multiarchify ]; then echo "revert #MULTIARCH# replacement in $FILE" mv $FILE.before-multiarchify $FILE fi done ;; *) echo "usage: $0 " ;; esac debian/source/0000775000000000000000000000000012260231522010463 5ustar debian/source/format0000664000000000000000000000001412260216264011677 0ustar 3.0 (quilt) debian/libtxc-dxtn-s2tc0.postinst0000775000000000000000000000025312260222272014166 0ustar #!/bin/sh set -e update-alternatives --install \ /usr/lib/#MULTIARCH#/libtxc_dxtn.so libtxc-dxtn-#MULTIARCH# /usr/lib/#MULTIARCH#/libtxc_dxtn_s2tc.so.0 10 #DEBHELPER# debian/control0000664000000000000000000000305512260216264010577 0ustar Source: s2tc Section: libs Priority: extra Maintainer: Lennart Weller Uploaders: Sebastian Reichel Standards-Version: 3.9.5 Vcs-git: git://anonscm.debian.org/collab-maint/s2tc.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/s2tc.git Homepage: https://github.com/divVerent/s2tc Build-Depends: debhelper (>= 9), dh-autoreconf (>= 4), mesa-common-dev Package: libtxc-dxtn-s2tc0 Provides: libtxc-dxtn0 Conflicts: libtxc-dxtn0 Architecture: any Pre-Depends: ${misc:Pre-Depends} Multi-Arch: same Depends: ${misc:Depends}, ${shlibs:Depends} Description: Texture compression library for Mesa S2TC is a patent-free S3TC compatible implementation and provides texture compression to Mesa. . The library is automatically loaded and adds the OpenGL extensions GL_S3_s3tc and GL_EXT_texture_compression_s3tc. Package: libtxc-dxtn-s2tc-bin Section: misc Provides: s2tc Architecture: any Multi-Arch: foreign Depends: ${misc:Depends}, ${shlibs:Depends} Description: S2TC texture compression and conversion tools S2TC is a patent-free S3TC compatible implementation and provides Texture Compression to Mesa. . S2TC toolkit Package: libtxc-dxtn-s2tc-dev Provides: libtxc-dxtn-dev Conflicts: libtxc-dxtn-dev Section: libdevel Architecture: any Depends: libtxc-dxtn-s2tc0 (= ${binary:Version}), ${misc:Depends} Description: Development files for the S2TC library S2TC is a patent-free S3TC compatible implementation and provides Texture Compression to Mesa. . Development files