summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordcommander <dcommander@3789f03b-4d11-0410-bbf8-ca57d06f2519>2012-03-23 03:17:41 +0000
committerdcommander <dcommander@3789f03b-4d11-0410-bbf8-ca57d06f2519>2012-03-23 03:17:41 +0000
commitb1f63f8e6da87e11d9bda97329d4bc4b5c3041bf (patch)
tree14a75525111054e53cead3c759e4bdc207c51808
parentfd1aa567fd927947ba6227dc3c2d7d8658f6973c (diff)
Get rid of the Solaris packaging system. Solaris packages are obsolete, only a handful of people were downloading those binaries, and maintaining the system was proving to be a pain.
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@819 3789f03b-4d11-0410-bbf8-ca57d06f2519
-rw-r--r--trunk/BUILDING.txt14
-rw-r--r--trunk/Makefile.am10
-rw-r--r--trunk/configure.ac1
-rwxr-xr-xtrunk/release/copyright1
-rw-r--r--trunk/release/makesunpkg.in143
-rw-r--r--trunk/release/pkginfo.in16
6 files changed, 0 insertions, 185 deletions
diff --git a/trunk/BUILDING.txt b/trunk/BUILDING.txt
index 8f19edc..91fbc77 100644
--- a/trunk/BUILDING.txt
+++ b/trunk/BUILDING.txt
@@ -671,20 +671,6 @@ make iosdmg [BUILDDIR32={32-bit build directory}] \
default, but you can override this by setting the BUILDDIR32, BUILDDIRARMV6,
and/or BUILDDIRARMV7 variables on the make command line as shown above.
-make sunpkg
-
- Build a Solaris package. This requires pkgmk, pkgtrans, and bzip2.
-
-make csunpkg [BUILDDIR32={32-bit build directory}]
-
- On 64-bit Solaris systems, this creates a combined package that contains
- both 32-bit and 64-bit libraries. You should first configure a 32-bit
- out-of-tree build of libjpeg-turbo, then configure a 64-bit out-of-tree
- build, then run 'make csunpkg' from the 64-bit build directory. The build
- system will look for the 32-bit build under {source_directory}/solx86 by
- default, but you can override this by setting the BUILDDIR32 variable on the
- make command line as shown above.
-
make cygwinpkg
Build a Cygwin binary package.
diff --git a/trunk/Makefile.am b/trunk/Makefile.am
index d232a0d..58b8f3a 100644
--- a/trunk/Makefile.am
+++ b/trunk/Makefile.am
@@ -312,15 +312,5 @@ endif
dmg: all
sh pkgscripts/makemacpkg
-if X86_64
-
-csunpkg: all
- sh pkgscripts/makesunpkg combined ${BUILDDIR32}
-
-endif
-
-sunpkg: all
- sh pkgscripts/makesunpkg
-
cygwinpkg: all
sh pkgscripts/makecygwinpkg
diff --git a/trunk/configure.ac b/trunk/configure.ac
index 634c575..fe7f52d 100644
--- a/trunk/configure.ac
+++ b/trunk/configure.ac
@@ -366,7 +366,6 @@ AC_CONFIG_FILES([pkgscripts/makemacpkg:release/makemacpkg.in])
AC_CONFIG_FILES([pkgscripts/Description.plist:release/Description.plist.in])
AC_CONFIG_FILES([pkgscripts/Info.plist:release/Info.plist.in])
AC_CONFIG_FILES([pkgscripts/uninstall:release/uninstall.in])
-AC_CONFIG_FILES([pkgscripts/makesunpkg:release/makesunpkg.in])
AC_CONFIG_FILES([pkgscripts/pkginfo:release/pkginfo.in])
AC_CONFIG_FILES([tjbenchtest])
AC_CONFIG_FILES([tjexampletest])
diff --git a/trunk/release/copyright b/trunk/release/copyright
deleted file mode 100755
index 125388d..0000000
--- a/trunk/release/copyright
+++ /dev/null
@@ -1 +0,0 @@
-libjpeg-turbo is released under a BSD-style license (see README and README-turbo.txt)
diff --git a/trunk/release/makesunpkg.in b/trunk/release/makesunpkg.in
deleted file mode 100644
index 7cf36a8..0000000
--- a/trunk/release/makesunpkg.in
+++ /dev/null
@@ -1,143 +0,0 @@
-#!/bin/sh
-
-set -u
-set -e
-trap onexit INT
-trap onexit TERM
-trap onexit EXIT
-
-TMPDIR=
-
-onexit()
-{
- if [ ! "$TMPDIR" = "" ]; then
- rm -rf $TMPDIR
- fi
-}
-
-usage()
-{
- echo "$0 [combined [32-bit build dir.]]"
- exit 1
-}
-
-COMBINED=0
-
-PACKAGE_NAME=@PACKAGE_NAME@
-VERSION=@VERSION@
-BUILD=@BUILD@
-PKGARCH=@DEBARCH@
-SRCDIR=@abs_top_srcdir@
-BUILDDIR32=@abs_top_srcdir@/solx86
-WITH_JAVA=@WITH_JAVA@
-if [ $# -gt 0 ]; then
- if [ "$1" = "combined" ]; then
- COMBINED=1
- if [ $# -gt 1 ]; then BUILDDIR32=$2; fi
- fi
-fi
-
-umask 022
-TMPDIR=`mktemp -d /tmp/$PACKAGE_NAME-build.XXXXXX`
-rm -f $PACKAGE_NAME.pkg.bz2
-cp $SRCDIR/release/copyright $TMPDIR
-touch $TMPDIR/depend
-cp pkgscripts/pkginfo $TMPDIR/pkginfo
-
-if [ "$PKGARCH" = "i386" ]; then
- __LIB=lib
-else
- __LIB=lib/$PKGARCH
-fi
-
-if [ $COMBINED = 1 ]; then
- if [ ! -d $BUILDDIR32 ]; then
- echo ERROR: 32-bit build directory $BUILDDIR32 does not exist
- exit 1
- fi
- if [ ! -f $BUILDDIR32/Makefile ]; then
- echo ERROR: 32-bit build directory $BUILDDIR32 is not configured
- exit 1
- fi
- PWD=`pwd`
- cd $BUILDDIR32
- make install DESTDIR=$TMPDIR mandir=/opt/$PACKAGE_NAME/man AM_MAKEFLAGS="mandir=/opt/$PACKAGE_NAME/man"
- cd $PWD
-fi
-# This mess is to work around a bug in /usr/ccs/bin/make
-make install DESTDIR=$TMPDIR libdir=/opt/$PACKAGE_NAME/$__LIB \
- mandir=/opt/$PACKAGE_NAME/man docdir=/opt/$PACKAGE_NAME/doc \
- exampledir=/opt/$PACKAGE_NAME/doc \
- AM_MAKEFLAGS="libdir=/opt/$PACKAGE_NAME/$__LIB mandir=/opt/$PACKAGE_NAME/man docdir=/opt/$PACKAGE_NAME/doc exampledir=/opt/$PACKAGE_NAME/doc"
-rm -f $TMPDIR/opt/$PACKAGE_NAME/$__LIB/*.la
-
-cat >$TMPDIR/proto <<EOF
-i copyright
-i depend
-i pkginfo
-d none $PACKAGE_NAME 0755 root bin
-d none $PACKAGE_NAME/bin 0755 root bin
-f none $PACKAGE_NAME/bin/cjpeg 0755 root bin
-f none $PACKAGE_NAME/bin/djpeg 0755 root bin
-f none $PACKAGE_NAME/bin/jpegtran 0755 root bin
-f none $PACKAGE_NAME/bin/tjbench 0755 root bin
-f none $PACKAGE_NAME/bin/rdjpgcom 0755 root bin
-f none $PACKAGE_NAME/bin/wrjpgcom 0755 root bin
-d none $PACKAGE_NAME/lib 0755 root bin
-EOF
-if [ $COMBINED = 1 ]; then
-cat >>$TMPDIR/proto <<EOF
-f none $PACKAGE_NAME/lib/libjpeg.so.@SO_MAJOR_VERSION@.0.@SO_MINOR_VERSION@ 0755 root bin
-s none $PACKAGE_NAME/lib/libjpeg.so.@SO_MAJOR_VERSION@=libjpeg.so.@SO_MAJOR_VERSION@.0.@SO_MINOR_VERSION@
-s none $PACKAGE_NAME/lib/libjpeg.so=libjpeg.so.@SO_MAJOR_VERSION@.0.@SO_MINOR_VERSION@
-f none $PACKAGE_NAME/lib/libjpeg.a 0644 root bin
-f none $PACKAGE_NAME/lib/libturbojpeg.so 0755 root bin
-f none $PACKAGE_NAME/lib/libturbojpeg.a 0644 root bin
-EOF
-fi
-if [ "${__LIB}" != "lib" ]; then
-echo d none $PACKAGE_NAME/${__LIB} 0755 root bin >>$TMPDIR/proto
-echo s none $PACKAGE_NAME/lib64=${__LIB} >>$TMPDIR/proto
-echo s none $PACKAGE_NAME/lib/64=$PKGARCH >>$TMPDIR/proto
-fi
-cat >>$TMPDIR/proto <<EOF
-f none $PACKAGE_NAME/${__LIB}/libjpeg.so.@SO_MAJOR_VERSION@.0.@SO_MINOR_VERSION@ 0755 root bin
-s none $PACKAGE_NAME/${__LIB}/libjpeg.so.@SO_MAJOR_VERSION@=libjpeg.so.@SO_MAJOR_VERSION@.0.@SO_MINOR_VERSION@
-s none $PACKAGE_NAME/${__LIB}/libjpeg.so=libjpeg.so.@SO_MAJOR_VERSION@.0.@SO_MINOR_VERSION@
-f none $PACKAGE_NAME/${__LIB}/libjpeg.a 0644 root bin
-f none $PACKAGE_NAME/${__LIB}/libturbojpeg.so 0755 root bin
-f none $PACKAGE_NAME/${__LIB}/libturbojpeg.a 0644 root bin
-s none $PACKAGE_NAME/lib32=lib
-d none $PACKAGE_NAME/man 0755 root bin
-d none $PACKAGE_NAME/man/man1 0755 root bin
-d none $PACKAGE_NAME/man/man1/cjpeg.1 0644 root bin
-d none $PACKAGE_NAME/man/man1/djpeg.1 0644 root bin
-d none $PACKAGE_NAME/man/man1/jpegtran.1 0644 root bin
-d none $PACKAGE_NAME/man/man1/rdjpgcom.1 0644 root bin
-d none $PACKAGE_NAME/man/man1/wrjpgcom.1 0644 root bin
-d none $PACKAGE_NAME/include 0755 root bin
-f none $PACKAGE_NAME/include/jconfig.h 0644 root bin
-f none $PACKAGE_NAME/include/jerror.h 0644 root bin
-f none $PACKAGE_NAME/include/jmorecfg.h 0644 root bin
-f none $PACKAGE_NAME/include/jpeglib.h 0644 root bin
-f none $PACKAGE_NAME/include/turbojpeg.h 0644 root bin
-d none $PACKAGE_NAME/doc 0755 root bin
-f none $PACKAGE_NAME/doc/README 0644 root bin
-f none $PACKAGE_NAME/doc/README-turbo.txt 0644 root bin
-f none $PACKAGE_NAME/doc/example.c 0644 root bin
-f none $PACKAGE_NAME/doc/libjpeg.txt 0644 root bin
-f none $PACKAGE_NAME/doc/structure.txt 0644 root bin
-f none $PACKAGE_NAME/doc/usage.txt 0644 root bin
-f none $PACKAGE_NAME/doc/wizard.txt 0644 root bin
-EOF
-if [ $WITH_JAVA = 1 ]; then
-echo d none $PACKAGE_NAME/classes 0755 root bin >>$TMPDIR/proto
-echo f none $PACKAGE_NAME/classes/turbojpeg.jar 0644 root bin >>$TMPDIR/proto
-fi
-
-pkgmk -o -r $TMPDIR/opt -d $TMPDIR -a i386 -f $TMPDIR/proto
-pkgtrans -s $TMPDIR $TMPDIR/$PACKAGE_NAME-$VERSION.pkg $PACKAGE_NAME
-bzip2 $TMPDIR/$PACKAGE_NAME-$VERSION.pkg
-cp $TMPDIR/$PACKAGE_NAME-$VERSION.pkg.bz2 .
-
-exit
diff --git a/trunk/release/pkginfo.in b/trunk/release/pkginfo.in
deleted file mode 100644
index 772ad0f..0000000
--- a/trunk/release/pkginfo.in
+++ /dev/null
@@ -1,16 +0,0 @@
-ARCH=i386
-PKG=@PACKAGE_NAME@
-NAME=@PACKAGE_NAME@ SDK and run time libraries
-VERSION=@VERSION@,REV=@BUILD@
-SUNW_PKGVERS=1.0
-DESC=A SIMD-accelerated JPEG codec that provides both the libjpeg and TurboJPEG APIs
-VENDOR=The libjpeg-turbo Project
-HOTLINE=http://www.libjpeg-turbo.org
-EMAIL=information@libjpeg-turbo.org
-MAXINST=1
-CATEGORY=application
-BASEDIR=/opt
-CLASSES=none
-SUNW_PKG_ALLZONES=true
-SUNW_PKG_HOLLOW=false
-SUNW_PKG_THISZONE=false