aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gall <tom.gall@linaro.org>2011-01-20 12:06:00 -0600
committerTom Gall <tom.gall@linaro.org>2011-01-20 12:06:00 -0600
commitb082e8be959b00c5402a3be152eaaa2352e3f53e (patch)
treed1a2e0ca69260d77e0e03340da91ca6c9a653270
parent8a20111152bbe1d7f61fef089672c7f596ba7c81 (diff)
initial debianization
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control45
-rw-r--r--debian/copyright135
-rw-r--r--debian/docs16
-rw-r--r--debian/libturbojpeg-dev.dirs2
-rw-r--r--debian/libturbojpeg-dev.install4
-rw-r--r--debian/libturbojpeg-progs.install2
-rw-r--r--debian/libturbojpeg6.dirs1
-rw-r--r--debian/libturbojpeg6.install2
-rw-r--r--debian/postinst8
-rwxr-xr-xdebian/rules86
-rw-r--r--debian/shlibs1
-rw-r--r--debian/shlibs.local1
-rw-r--r--debian/source/format1
15 files changed, 310 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..bb2874d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libjpeg-turbo (6b-git.20101110t043445.8a20111-0linaro1) natty; urgency=low
+
+ * Package for Linaro
+
+ -- Tom Gall <tom.gall@linaro.org> Mon, 17 Jan 2011 11:11:05 -0600
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..a100b67
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,45 @@
+Source: libjpeg-turbo
+Priority: extra
+Maintainer: Alexander Bokovoy <ab@samba.org>
+Uploaders: Tom Gall <tom.gall@linaro.org>
+Build-Depends: debhelper (>= 7.0.50~), automake, libtool, autoconf, dh-autoreconf, nasm [i386]
+Standards-Version: 3.9.1
+Section: libs
+Vcs-Git: git://gitorious.org/meego-image-editor/libjpeg-turbo.git
+
+Package: libturbojpeg-dev
+Section: libdevel
+Architecture: any
+Depends: libturbojpeg6 (= ${binary:Version}), ${misc:Depends}
+Description: Development files for the IJG JPEG library
+ The Independent JPEG Group's JPEG library is a library for handling
+ JPEG files.
+ This variation is from the meego project.
+ .
+ This package contains the static library, headers and documentation.
+Conflicts: libjpeg62-dev, libjpeg8-dev
+Replaces: libjpeg62-dev, libjpeg8-dev
+
+Package: libturbojpeg
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, libc
+Description: The Independent JPEG Group's JPEG runtime library
+ The Independen`t JPEG Group's JPEG library is a library for handling
+ JPEG files.
+ This variation is from the meego project which includes further
+ optimizations.
+ .
+ This package contains the shared library.
+Conflicts: libjpeg62, libjepg8
+Replaces: libjpeg62, libjpeg8
+
+Package: libturbojpeg-progs
+Architecture: any
+Description: Programs for manipulating JPEG files
+ This package contains programs for manipulating JPEG files:
+ cjpeg/djpeg: convert to/from the JPEG file format
+ rdjpgcom/wrjpgcom: read/write comments in JPEG files
+ jpegtran: lossless transformations of JPEG files
+ jpegexiforient/exifautotran: manipulate EXIF orientation tag
+Depends: ${shlibs:Depends}, ${misc:Depends}
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..f12a599
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,135 @@
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
+Name: libjpeg-turbo
+Source: git://gitorious.org/meego-image-editor/libjpeg-turbo
+
+Files: All with the exception of (debian/*, bmp.c, bmp.h, jchuff.ci, jdhuff.*, jpegut.c, jpgtest.cxx, rrtimer.h, rrutil.h, turbojpeg.h, turbojpegl.c)
+Copyright:
+1999-2006 MIYASAKA Masaru, 2004 Landmark Graphics Corporation, 2005-2007 Sun Microsystems, Inc., 2009 Pierre Ossman for Cendio AB,2009-2010 D. R. Commander, 2010, Thomas G. Lane, Guido Vollbeding, 2009, Thomas G. Lane, Guido Vollbeding, 1998, Thomas G. Lane, 2010 Nokia Corporation
+License:
+ In plain English:
+ .
+ 1. We don't promise that this software works. (But if you find any bugs,
+ please let us know!)
+ 2. You can use this software for whatever you want. You don't have to pay us.
+ 3. You may not pretend that you wrote this software. If you use it in a
+ program, you must acknowledge somewhere in your documentation that
+ you've used the IJG code.
+ .
+ In legalese:
+ .
+ The authors make NO WARRANTY or representation, either express or implied,
+ with respect to this software, its quality, accuracy, merchantability, or
+ fitness for a particular purpose. This software is provided "AS IS", and you,
+ its user, assume the entire risk as to its quality and accuracy.
+ .
+ This software is copyright (C) 1991-2010, Thomas G. Lane, Guido Vollbeding.
+ All Rights Reserved except as specified below.
+ .
+ Permission is hereby granted to use, copy, modify, and distribute this
+ software (or portions thereof) for any purpose, without fee, subject to these
+ conditions:
+ (1) If any part of the source code for this software is distributed, then this
+ README file must be included, with this copyright and no-warranty notice
+ unaltered; and any additions, deletions, or changes to the original files
+ must be clearly indicated in accompanying documentation.
+ (2) If only executable code is distributed, then the accompanying
+ documentation must state that "this software is based in part on the work of
+ the Independent JPEG Group".
+ (3) Permission for use of this software is granted only if the user accepts
+ full responsibility for any undesirable consequences; the authors accept
+ NO LIABILITY for damages of any kind.
+ .
+ These conditions apply to any software derived from or based on the IJG code,
+ not just to the unmodified library. If you use our work, you ought to
+ acknowledge us.
+ .
+ Permission is NOT granted for the use of any IJG author's name or company name
+ in advertising or publicity relating to this software or products derived from
+ it. This software may be referred to only as "the Independent JPEG Group's
+ software".
+ .
+ We specifically permit and encourage the use of this software as the basis of
+ commercial products, provided that all warranty or liability claims are
+ assumed by the product vendor.
+
+
+Files: bmp.c, bmp.h, jchuff.ci, jdhuff.*, jpegut.c, jpgtest.cxx, rrtimer.h, rrutil.h, turbojpeg.h, turbojpegl.c
+Copyright: 1998-2005 Julian Smart, Robert Roebling et al
+License: wxWindows Library License
+ .
+ wxWindows Library Licence, Version 3.1
+ ======================================
+ .
+ Copyright (C) 1998-2005 Julian Smart, Robert Roebling et al
+ .
+ Everyone is permitted to copy and distribute verbatim copies
+ of this licence document, but changing it is not allowed.
+ .
+ WXWINDOWS LIBRARY LICENCE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+ .
+ This library is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Library General Public Licence as published by
+ the Free Software Foundation; either version 2 of the Licence, or (at
+ your option) any later version.
+ .
+ This library is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library
+ General Public Licence for more details.
+ .
+ You should have received a copy of the GNU Library General Public Licence
+ along with this software, usually in a file named COPYING.LIB. If not,
+ write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
+ Boston, MA 02111-1307 USA.
+ .
+ EXCEPTION NOTICE
+ .
+ 1. As a special exception, the copyright holders of this library give
+ permission for additional uses of the text contained in this release of
+ the library as licenced under the wxWindows Library Licence, applying
+ either version 3.1 of the Licence, or (at your option) any later version of
+ the Licence as published by the copyright holders of version
+ 3.1 of the Licence document.
+ .
+ 2. The exception is that you may use, copy, link, modify and distribute
+ under your own terms, binary object code versions of works based
+ on the Library.
+ .
+ 3. If you copy code from files distributed under the terms of the GNU
+ General Public Licence or the GNU Library General Public Licence into a
+ copy of this library, as this licence permits, the exception does not
+ apply to the code that you add in this way. To avoid misleading anyone as
+ to the status of such modified files, you must delete this exception
+ notice from such code and/or adjust the licensing conditions notice
+ accordingly.
+ .
+ 4. If you write modifications of your own for this library, it is your
+ choice whether to permit this exception to apply to your modifications.
+ If you do not wish that, you must delete the exception notice from such
+ code and/or adjust the licensing conditions notice accordingly.
+
+
+Files: debian/*
+Copyright: 2010 Linaro Limited
+License: LGPL-2.1
+
+License: LGPL-2.1
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License (LGPL) as published by the Free Software Foundation;
+ either version 2 of the License, or (at your option) any later
+ version.
+ .
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+ .
+ You should have received a copy of the GNU Library General Public License
+ along with this library; see the file COPYING.LIB. If not, write to
+ the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ Boston, MA 02110-1301, USA.
+ .
+ On Debian systems, the complete text of the GNU Library General Public
+ License, version 2, can be found in /usr/share/common-licenses/LGPL-2.1.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..4fddfb0
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,16 @@
+BUILDING.txt
+change.log
+ChangeLog.txt
+CMakeLists.txt
+coderules.txt
+filelist.txt
+install.txt
+jconfig.txt
+LGPL.txt
+libjpeg.txt
+LICENSE.txt
+README
+README-turbo.txt
+structure.txt
+usage.txt
+wizard.txt
diff --git a/debian/libturbojpeg-dev.dirs b/debian/libturbojpeg-dev.dirs
new file mode 100644
index 0000000..4418816
--- /dev/null
+++ b/debian/libturbojpeg-dev.dirs
@@ -0,0 +1,2 @@
+usr/lib
+usr/include
diff --git a/debian/libturbojpeg-dev.install b/debian/libturbojpeg-dev.install
new file mode 100644
index 0000000..f882277
--- /dev/null
+++ b/debian/libturbojpeg-dev.install
@@ -0,0 +1,4 @@
+usr/include/*
+usr/lib/lib*.a
+usr/lib/lib*.so
+usr/lib/*.la
diff --git a/debian/libturbojpeg-progs.install b/debian/libturbojpeg-progs.install
new file mode 100644
index 0000000..e942609
--- /dev/null
+++ b/debian/libturbojpeg-progs.install
@@ -0,0 +1,2 @@
+usr/bin
+usr/share/man*
diff --git a/debian/libturbojpeg6.dirs b/debian/libturbojpeg6.dirs
new file mode 100644
index 0000000..6845771
--- /dev/null
+++ b/debian/libturbojpeg6.dirs
@@ -0,0 +1 @@
+usr/lib
diff --git a/debian/libturbojpeg6.install b/debian/libturbojpeg6.install
new file mode 100644
index 0000000..408d497
--- /dev/null
+++ b/debian/libturbojpeg6.install
@@ -0,0 +1,2 @@
+usr/lib/libjpeg*.so.*
+usr/lib/libturbojpeg.so
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 0000000..1e0d8f1
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,8 @@
+#!/bin/sh -e
+
+#DEBHELPER#
+
+if [ "$1" = "configure" ]; then
+ ldconfig
+fi
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..afe34ff
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,86 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+ dh $@ --with autoreconf
+
+#override_dh_auto_configure:
+# aclocal
+# automake --add-missing
+# autoconf
+# ./configure --prefix=/usr
+
+
+DEB_SOURCE := $(shell dpkg-parsechangelog | grep Source: | sed -e 's/Source: //')
+DEB_VERSION := $(shell dpkg-parsechangelog | grep Version: | sed -e 's/Version: //')
+DEB_UPSTREAM_VERSION := $(shell echo $(DEB_VERSION) | sed -e 's/-[^-]*$$//')
+DEB_MAJOR_VERSION := $(shell echo $(DEB_UPSTREAM_VERSION) | sed -e 's/git.*//')
+
+GIT_URL := git://gitorious.org/meego-image-editor/libjpeg-turbo.git
+GIT_BRANCH := "master"
+GIT_BRANCH_NAME := libjpeg-turbo
+
+ifneq (,$(LOCAL_BRANCH))
+LOCAL_REAL_BRANCH = $(realpath $(LOCAL_BRANCH))
+endif
+
+
+PACKAGENAME=libjpeg-turbo
+
+GET_SOURCE = \
+ set -e; \
+ tmpdir=`mktemp -d -t`; \
+ cd $$tmpdir; \
+ echo "cloning upstream repository ..."; \
+ git clone -b $(GIT_BRANCH) $(if $(LOCAL_BRANCH),$(call LOCAL_REAL_BRANCH)/$(GIT_BRANCH_NAME),$(GIT_URL)) $(GIT_BRANCH_NAME); \
+ echo "getting specific upstream revision/tag: $(1)"; \
+ cd `ls | head -n 1`; git checkout -b orig $(1); \
+ commit_id=`git log -n1 --abbrev-commit | grep '^commit ' | sed -e 's/commit //' | sed -e 's/\.\.\.$$//'`; \
+ raw=`date --utc --date="$$(git log --pretty=fuller -n1 --date=rfc | grep CommitDate: | sed -e 's/CommitDate:[^0-9]*//')" "+%Y%m%dt%H%M%S"`; \
+ if echo $(2) | grep -q -c "orig" || echo $(DEB_VERSION) | grep -q -c "git"; \
+ then \
+ upstream_version=$(DEB_MAJOR_VERSION)-git.$$raw.$$commit_id; \
+ else \
+ upstream_version=$(DEB_UPSTREAM_VERSION); \
+ fi; \
+ cd ..; tar --exclude=.git -czf $(CURDIR)/$(DEB_SOURCE)_$$upstream_version.orig.tar.gz `ls | head -n 1`; \
+ cd $(CURDIR); rm -rf $$tmpdir;
+
+
+get-current-source:: $(if $(LOCAL_BRANCH),update-local-branch)
+ set -e; if echo $(DEB_VERSION) | grep -q -c "git"; \
+ then \
+ git_version=`echo $(DEB_VERSION) | sed -e 's/^.*git\.*\([0-9t]*\)\.\(.*\)-.*$$/\2/g'`; \
+ elif echo $(DEB_VERSION) | grep -q -c "~rc"; \
+ then \
+ git_version=`echo $(DEB_VERSION) | sed -e 's/^\([0-9\.]*\)\(~rc\)\([0-9]\)-.*$$/\1-rc\3/'`; \
+ else \
+ git_version=$(DEB_UPSTREAM_VERSION); \
+ fi; \
+ $(call GET_SOURCE, $$git_version, "current")
+
+get-orig-source:: $(if $(LOCAL_BRANCH),update-local-branch)
+ $(call GET_SOURCE, "HEAD", "orig")
+
+update-local-branch::
+ @echo "updating local branch ($(LOCAL_BRANCH))"
+ @set -e; if ! test -d $(LOCAL_BRANCH); then mkdir -p $(LOCAL_BRANCH); fi
+ @set -e; if ! test -d $(LOCAL_BRANCH)/$(GIT_BRANCH_NAME); then git clone $(GIT_URL) $(LOCAL_BRANCH)/$(GIT_BRANCH_NAME); fi
+ @set -e; cd $(LOCAL_BRANCH)/$(GIT_BRANCH_NAME); if ! `git branch | grep -q -c "$(GIT_BRANCH)"`; then git branch $(GIT_BRANCH) remotes/origin/$(GIT_BRANCH); fi
+ @set -e; cd $(LOCAL_BRANCH)/$(GIT_BRANCH_NAME); git checkout $(GIT_BRANCH); git pull -f
+ @echo "updated local branch ($(LOCAL_BRANCH))"
+
+get-snapshot-info:: $(if $(LOCAL_BRANCH),update-local-branch)
+ @set -e; \
+ git_version=`echo $(DEB_VERSION) | sed -e 's/^.*git\.*\([0-9t]*\)\.\(.*\)-.*$$/\2/g'`; \
+ cd $(LOCAL_BRANCH)/$(GIT_BRANCH_NAME); \
+ raw=`date --utc --date="$$(git log --pretty=fuller -n1 --date=rfc $$git_version | grep CommitDate: | sed -e 's/CommitDate:[^0-9]*//')" "+%Y-%m-%d %H:%M:%S (GMT)"`; \
+ git log -n1 $$git_version --format="%n%s%n%n * upstream snapshot $$raw%n + %H%n";
diff --git a/debian/shlibs b/debian/shlibs
new file mode 100644
index 0000000..113927b
--- /dev/null
+++ b/debian/shlibs
@@ -0,0 +1 @@
+libjpeg 62 libjpeg62 (>=6b1)
diff --git a/debian/shlibs.local b/debian/shlibs.local
new file mode 100644
index 0000000..113927b
--- /dev/null
+++ b/debian/shlibs.local
@@ -0,0 +1 @@
+libjpeg 62 libjpeg62 (>=6b1)
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)