r36697 - in /packages/togl/trunk/debian: ./ patches/ source/

trophime-guest at users.alioth.debian.org trophime-guest at users.alioth.debian.org
Fri Jul 2 07:02:41 UTC 2010


Author: trophime-guest
Date: Fri Jul  2 07:02:39 2010
New Revision: 36697

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=36697
Log:
[svn-inject] Applying Debian modifications (2.0-1) to trunk

Added:
    packages/togl/trunk/debian/   (with props)
    packages/togl/trunk/debian/Makefile
    packages/togl/trunk/debian/README.source
    packages/togl/trunk/debian/changelog
    packages/togl/trunk/debian/compat
    packages/togl/trunk/debian/control
    packages/togl/trunk/debian/copyright
    packages/togl/trunk/debian/docs
    packages/togl/trunk/debian/libtogl-dev.install
    packages/togl/trunk/debian/libtogl2.install
    packages/togl/trunk/debian/patches/
    packages/togl/trunk/debian/patches/configure.patch
    packages/togl/trunk/debian/patches/series
    packages/togl/trunk/debian/patches/tclconfig-new.patch
    packages/togl/trunk/debian/patches/tclconfig.patch
    packages/togl/trunk/debian/rules   (with props)
    packages/togl/trunk/debian/source/
    packages/togl/trunk/debian/source/format
    packages/togl/trunk/debian/stamp-autotools-configure
    packages/togl/trunk/debian/stamp-makefile-check
    packages/togl/trunk/debian/togl-demos.install
    packages/togl/trunk/debian/watch

Propchange: packages/togl/trunk/debian/
------------------------------------------------------------------------------
    mergeWithUpstream = 1

Added: packages/togl/trunk/debian/Makefile
URL: http://svn.debian.org/wsvn/debian-science/packages/togl/trunk/debian/Makefile?rev=36697&op=file
==============================================================================
--- packages/togl/trunk/debian/Makefile (added)
+++ packages/togl/trunk/debian/Makefile Fri Jul  2 07:02:39 2010
@@ -1,0 +1,198 @@
+# Makefile.in --
+#
+#	This file is a Makefile for Sample TEA Extension.  If it has the name
+#	"Makefile.in" then it is a template for a Makefile;  to generate the
+#	actual Makefile, run "./configure", which is a configuration script
+#	generated by the "autoconf" program (constructs like "@foo@" will get
+#	replaced in the actual Makefile.
+#
+# Copyright (c) 1999 Scriptics Corporation.
+# Copyright (c) 2002-2005 ActiveState Corporation.
+#
+# See the file "license.terms" for information on usage and redistribution
+# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
+#
+# RCS: @(#) $Id: Makefile.in,v 1.7 2006/01/06 00:09:00 gregcouch Exp $
+
+#========================================================================
+# Add additional lines to handle any additional AC_SUBST cases that
+# have been added in a customized configure script.
+#========================================================================
+
+#SAMPLE_NEW_VAR	= @SAMPLE_NEW_VAR@
+SHLIB_SUFFIX	= .so
+MATH_LIBS	= -lieee -lm
+LIBGLU		= -lGLU
+
+DEMO_SRCS	= double.c gears.c index.c overlay.c stereo.c texture.c
+DEMO_OBJS	= $(DEMO_SRCS:.c=.$(OBJEXT))
+DEMO_SHLIBS	= $(DEMO_SRCS:.c=$(SHLIB_SUFFIX))
+
+#========================================================================
+# Nothing of the variables below this line should need to be changed.
+# Please check the TARGETS section below to make sure the make targets
+# are correct.
+#========================================================================
+
+
+
+#========================================================================
+# "PKG_LIB_FILE" refers to the library (dynamic or static as per
+# configuration options) composed of the named objects.
+#========================================================================
+
+SHELL		= /bin/bash
+
+srcdir		= .
+
+top_builddir	= .
+
+CC		= cc -pipe
+CFLAGS_DEFAULT	= -O2 -fomit-frame-pointer
+CFLAGS_WARNING	= -Wall -Wno-implicit-int
+CLEANFILES	= pkgIndex.tcl so_locations $(DEMO_OBJS) $(DEMO_SHLIBS)
+EXEEXT		= 
+LDFLAGS_DEFAULT	=  -Wl,--export-dynamic
+OBJEXT		= o
+RANLIB		= :
+RANLIB_STUB	= ranlib
+SHLIB_CFLAGS	= -fPIC
+SHLIB_LD	= cc -pipe -shared
+SHLIB_LD_LIBS	= ${LIBS} -L/usr/lib -ltclstub8.4 -L/usr/lib -ltkstub8.4
+STLIB_LD	= ${AR} cr
+#TCL_DEFS	= -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DTCL_THREADS=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1 -DHAVE_GETHOSTBYNAME_R_6=1 -DHAVE_GETHOSTBYNAME_R=1 -DHAVE_GETHOSTBYADDR_R_8=1 -DHAVE_GETHOSTBYADDR_R=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 
+TCL_BIN_DIR	= /usr/lib/tcl8.4
+TCL_SRC_DIR	= /usr/include/tcl8.4/tcl-private
+#TK_BIN_DIR	= /usr/lib/tk8.4
+#TK_SRC_DIR	= /usr/include/tcl8.4/tk-private
+
+# Not used, but retained for reference of what libs Tcl required
+#TCL_LIBS	= ${DL_LIBS} ${LIBS} ${MATH_LIBS}
+
+#========================================================================
+# TCLLIBPATH seeds the auto_path in Tcl's init.tcl so we can test our
+# package without installing.  The other environment variables allow us
+# to test against an uninstalled Tcl.  Add special env vars that you
+# require for testing here (like TCLX_LIBRARY).
+#========================================================================
+
+#EXTRA_PATH	= $(top_builddir):$(TCL_BIN_DIR)
+EXTRA_PATH	= $(top_builddir):$(TCL_BIN_DIR):$(TK_BIN_DIR)
+TCLLIBPATH	= $(top_builddir)
+TCLSH_ENV	= TCL_LIBRARY=`echo $(TCL_SRC_DIR)/library` \
+		  LD_LIBRARY_PATH="$(EXTRA_PATH):$(LD_LIBRARY_PATH)" \
+		  PATH="$(EXTRA_PATH):$(PATH)" \
+		  TCLLIBPATH="$(TCLLIBPATH)"
+#		  TK_LIBRARY=`echo $(TK_SRC_DIR)/library`
+
+TCLSH_PROG	= /usr/bin/tclsh8.4
+TCLSH	= $(TCLSH_ENV) $(TCLSH_PROG)
+
+WISH_PROG	= /usr/bin/wish8.4
+WISH	= $(TCLSH_ENV) $(WISH_PROG)
+
+
+SHARED_BUILD	= 1
+
+#INCLUDES	=  -I"/usr/include/tcl8.4"
+INCLUDES	=  -I"/usr/include/tcl8.4" \
+                   -I"/usr/include/tcl8.4/tk-private/generic" \
+		   -I"/usr/include/tcl8.4/tk-private/unix"
+
+PKG_CFLAGS	=  
+
+# TCL_DEFS is not strictly need here, but if you remove it, then you
+# must make sure that configure.in checks for the necessary components
+# that your library may use.  TCL_DEFS can actually be a problem if
+# you do not compile with a similar machine setup as the Tcl core was
+# compiled with.
+#DEFS		= $(TCL_DEFS) -DPACKAGE_NAME=\"Togl\" -DPACKAGE_TARNAME=\"togl\" -DPACKAGE_VERSION=\"1.7\" -DPACKAGE_STRING=\"Togl\ 1.7\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1  $(PKG_CFLAGS)
+DEFS		= -DPACKAGE_NAME=\"Togl\" -DPACKAGE_TARNAME=\"togl\" -DPACKAGE_VERSION=\"1.7\" -DPACKAGE_STRING=\"Togl\ 1.7\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1  $(PKG_CFLAGS)
+
+CONFIG_CLEAN_FILES = Makefile
+
+CPPFLAGS	= 
+LIBS		=  -lX11 -lGL -lXmu 
+AR		= ar
+CFLAGS		= -g -O2 -g -Wall -O2 ${CFLAGS_DEFAULT} ${CFLAGS_WARNING} ${SHLIB_CFLAGS}
+COMPILE		= $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+
+#========================================================================
+# Start of user-definable TARGETS section
+#========================================================================
+
+#========================================================================
+# TEA TARGETS.  Please note that the "libraries:" target refers to platform
+# independent files, and the "binaries:" target inclues executable programs and
+# platform-dependent libraries.  Modify these targets so that they install
+# the various pieces of your package.  The make and install rules
+# for the BINARIES that you specified above have already been done.
+#========================================================================
+
+all: demos
+
+#========================================================================
+# Demo section.  These are binaries because we don't want to install them.
+# And they're not tests because we currently have no automatic way to see
+# if they work.
+#========================================================================
+
+demos: $(DEMO_SHLIBS)
+
+double$(SHLIB_SUFFIX): double.$(OBJEXT)
+	$(SHLIB_LD) -o $@ double.$(OBJEXT) -lTogl $(SHLIB_LD_LIBS)
+
+gears$(SHLIB_SUFFIX): gears.$(OBJEXT)
+	$(SHLIB_LD) -o $@ gears.$(OBJEXT) -lTogl $(SHLIB_LD_LIBS) $(MATH_LIBS)
+
+index$(SHLIB_SUFFIX): index.$(OBJEXT)
+	$(SHLIB_LD) -o $@ index.$(OBJEXT) -lTogl $(SHLIB_LD_LIBS)
+
+overlay$(SHLIB_SUFFIX): overlay.$(OBJEXT)
+	$(SHLIB_LD) -o $@ overlay.$(OBJEXT) -lTogl $(SHLIB_LD_LIBS)
+
+stereo$(SHLIB_SUFFIX): stereo.$(OBJEXT)
+	$(SHLIB_LD) -o $@ stereo.$(OBJEXT) -lTogl $(SHLIB_LD_LIBS)
+
+texture$(SHLIB_SUFFIX): texture.$(OBJEXT) image.$(OBJEXT)
+	$(SHLIB_LD) -o $@ texture.$(OBJEXT) image.$(OBJEXT) \
+	-lTogl $(LIBGLU) $(SHLIB_LD_LIBS)
+
+
+#========================================================================
+# We need to enumerate the list of .c to .o lines here.
+#
+# In the following lines, $(srcdir) refers to the toplevel directory
+# containing your extension.  If your sources are in a subdirectory,
+# you will have to modify the paths to reflect this:
+#
+# sample.$(OBJEXT): $(srcdir)/generic/sample.c
+# 	$(COMPILE) -c `echo $(srcdir)/generic/sample.c` -o $@
+#
+# Setting the VPATH variable to a list of paths will cause the makefile
+# to look into these paths when resolving .c to .obj dependencies.
+# As necessary, add $(srcdir):$(srcdir)/compat:....
+#========================================================================
+
+VPATH = $(srcdir)/generic:$(srcdir)/unix:$(srcdir)/win
+
+.c.o:
+	$(COMPILE) -c `echo $<` -o $@
+
+
+#========================================================================
+# Don't modify the file to clean here.  Instead, set the "CLEANFILES"
+# variable in configure.in
+#========================================================================
+
+clean:  
+	-test -z "$(BINARIES)" || rm -f $(BINARIES)
+	-rm -f *.$(OBJEXT) core *.core
+	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+
+
+.PHONY: all demos clean depend 
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:

Added: packages/togl/trunk/debian/README.source
URL: http://svn.debian.org/wsvn/debian-science/packages/togl/trunk/debian/README.source?rev=36697&op=file
==============================================================================
--- packages/togl/trunk/debian/README.source (added)
+++ packages/togl/trunk/debian/README.source Fri Jul  2 07:02:39 2010
@@ -1,0 +1,3 @@
+Please refer to /usr/share/doc/quilt/README.source for information on how to
+manipulate the patches for this package, which are in the debian/patches
+directory.

Added: packages/togl/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/togl/trunk/debian/changelog?rev=36697&op=file
==============================================================================
--- packages/togl/trunk/debian/changelog (added)
+++ packages/togl/trunk/debian/changelog Fri Jul  2 07:02:39 2010
@@ -1,0 +1,92 @@
+togl (2.0-1) unstable; urgency=low
+
+  * New upstream release (2.0-8.4)
+  * debian/docs : remove TODO file
+  * debian/docs : remove Togl.html file
+  * debian/watch : fix watch file
+
+ -- Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>  Mon, 28 Jun 2010 14:30:03 +0200
+
+togl (1.7-12) unstable; urgency=low
+
+  * Add note on image.c in copyright
+  * Add automake and autoconf to debian/control
+  
+  [Petr Salinger]
+  * Add tclconfig.patch (Closes: #575305) 
+
+  [Adam C. Powell, IV]
+  * Removed debian-changes-1.7-12 patch from the version posted to
+    mentors.debian.net, as it seemed to be just an autoconf update.
+
+ -- Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>  Fri, 09 Apr 2010 11:12:23 +0200
+
+togl (1.7-11) unstable; urgency=low
+
+  * Change /usr/share/tcltk/tk8.5/togl-1.7 to /usr/share/tcltk/tcl8.5/togl-1.7
+
+ -- Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>  Tue, 16 Mar 2010 09:43:08 +0100
+
+togl (1.7-10) unstable; urgency=low
+
+  * Fix Makefile in demos
+  * Move pkgIndex.tcl in /usr/share/tcltk/tk8.5/togl-1.7
+  * Move demos to /usr/share/togl
+
+ -- Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>  Tue, 16 Mar 2010 09:19:26 +0100
+
+togl (1.7-9) unstable; urgency=low
+
+  * change libtogl-demos to togl-demos
+  * remove libtogl-dbg
+
+ -- Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>  Mon, 15 Mar 2010 13:54:26 +0100
+
+togl (1.7-8) unstable; urgency=low
+
+  * fix missing headers from libtogl-dev
+
+ -- Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>  Mon, 15 Mar 2010 11:05:38 +0100
+
+togl (1.7-7) unstable; urgency=low
+
+  * rebuild for tcltk 8.5
+
+ -- Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>  Fri, 12 Mar 2010 17:51:45 +0100
+
+togl (1.7-6) unstable; urgency=low
+
+  * remove lintian errors and warnings 
+
+ -- Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>  Thu, 11 Mar 2010 09:24:48 +0100
+
+togl (1.7-5) unstable; urgency=low
+
+  * Move shared lib to /usr/lib
+  * remove /etc/ld.so.conf.d 
+
+ -- Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>  Tue, 16 Feb 2010 16:04:42 +0100
+
+togl (1.7-4) unstable; urgency=low
+
+  * Add libxmu-dev to debian/control 
+
+ -- Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>  Wed, 13 Jan 2010 10:10:43 +0100
+
+togl (1.7-3) unstable; urgency=low
+
+  * Add demos to doc
+
+ -- Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>  Tue, 17 Nov 2009 15:16:38 +0100
+
+togl (1.7-2) unstable; urgency=low
+
+  * Fix dependencies
+
+ -- Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>  Tue, 17 Nov 2009 14:26:27 +0100
+
+togl (1.7-1) unstable; urgency=low
+
+  * Initial release (Closes: #556643)
+
+ -- Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>  Tue, 17 Nov 2009 10:16:26 +0100

Added: packages/togl/trunk/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/togl/trunk/debian/compat?rev=36697&op=file
==============================================================================
--- packages/togl/trunk/debian/compat (added)
+++ packages/togl/trunk/debian/compat Fri Jul  2 07:02:39 2010
@@ -1,0 +1,1 @@
+7

Added: packages/togl/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/togl/trunk/debian/control?rev=36697&op=file
==============================================================================
--- packages/togl/trunk/debian/control (added)
+++ packages/togl/trunk/debian/control Fri Jul  2 07:02:39 2010
@@ -1,0 +1,75 @@
+Source: togl
+Section: libs
+Priority: extra
+Maintainer: Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>
+Build-Depends: cdbs, debhelper (>= 7), quilt, autotools-dev, autoconf (>= 2.65), automake (>= 1.11.1), tcl8.5-dev, tk8.5-dev, libgl1-mesa-dev|nvidia-glx-dev, libglu1-mesa-dev, libxmu-dev
+Standards-Version: 3.8.4
+Homepage: http://togl.sourceforge.net/
+
+Package: libtogl-dev
+Architecture: all
+Section: libdevel
+Depends: libtogl2 (>= ${source:Upstream-Version}), libtogl2(<<  ${source:Upstream-Version}+1~), ${misc:Depends}
+Description: a Tk OpenGL widget - development files
+ Togl is a Tk widget for OpenGL rendering. Togl was originally 
+ based on OGLTK, written by Benjamin Bederson at the University 
+ of New Mexico. Togl's main features 
+ are:
+ .
+  * unifies Microsoft Windows, X11 (Linux/IRIX/...), and Mac OS X 
+    Aqua support
+  * support for requesting stencil, accumulation, alpha buffers, etc.
+  * multiple OpenGL drawing windows
+  * simple stereo rendering support
+  * simple, portable font support
+  * color-index mode support including color allocation functions
+  * overlay plane support
+  * OpenGL extension testing from Tcl
+  * Tcl Extension Architecture (TEA) 3 compliant 
+ .
+ This package contains development files for using optimized shared libraries.
+
+Package: libtogl2
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: a Tk OpenGL widget
+ Togl is a Tk widget for OpenGL rendering. Togl was originally 
+ based on OGLTK, written by Benjamin Bederson at the University 
+ of New Mexico. Togl's main features 
+ are:
+ .
+  * unifies Microsoft Windows, X11 (Linux/IRIX/...), and Mac OS X 
+    Aqua support
+  * support for requesting stencil, accumulation, alpha buffers, etc.
+  * multiple OpenGL drawing windows
+  * simple stereo rendering support
+  * simple, portable font support
+  * color-index mode support including color allocation functions
+  * overlay plane support
+  * OpenGL extension testing from Tcl
+  * Tcl Extension Architecture (TEA) 3 compliant 
+  
+Package: togl-demos
+Architecture: all
+Section: debug
+Depends: libtogl2 (>= ${source:Upstream-Version}), libtogl2(<<  ${source:Upstream-Version}+1~), ${misc:Depends}
+Description: a Tk OpenGL widget - demos files
+ Togl is a Tk widget for OpenGL rendering. Togl was originally 
+ based on OGLTK, written by Benjamin Bederson at the University 
+ of New Mexico. Togl's main features 
+ are:
+ .
+  * unifies Microsoft Windows, X11 (Linux/IRIX/...), and Mac OS X 
+    Aqua support
+  * support for requesting stencil, accumulation, alpha buffers, etc.
+  * multiple OpenGL drawing windows
+  * simple stereo rendering support
+  * simple, portable font support
+  * color-index mode support including color allocation functions
+  * overlay plane support
+  * OpenGL extension testing from Tcl
+  * Tcl Extension Architecture (TEA) 3 compliant 
+ .
+ This package contains demos.
+

Added: packages/togl/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/togl/trunk/debian/copyright?rev=36697&op=file
==============================================================================
--- packages/togl/trunk/debian/copyright (added)
+++ packages/togl/trunk/debian/copyright Fri Jul  2 07:02:39 2010
@@ -1,0 +1,55 @@
+This work was packaged for Debian by:
+
+    Christophe Trophime <christophe.trophime at grenoble.cnrs.fr> on Tue, 17 Nov 2009 10:16:26 +0100
+
+It was downloaded from http://togl.sourceforge.net/
+
+Upstream Authors:
+
+    Brian Paul <brian at mesa3d.org>
+    Benjamin Bederson <bederson at cs.umd.edu>
+    Greg Couch <gregcouch at sourceforge.net>
+
+Copyright:
+
+    Copyright (C) 1996-2008 Brian Paul <brian at mesa3d.org>
+    Copyright (C) 1996-2008 Benjamin Bederson <bederson at cs.umd.edu>
+    Copyright (C) 1996-2008 Greg Couch
+    
+License:
+
+   This software is copyrighted by Brian Paul (brian at mesa3d.org)
+   and Benjamin Bederson (bederson at cs.umd.edu).  The following
+   terms apply to all files associated with the software unless explicitly
+   disclaimed in individual files.
+
+   The authors hereby grant permission to use, copy, modify, distribute,
+   and license this software and its documentation for any purpose, provided
+   that existing copyright notices are retained in all copies and that this
+   notice is included verbatim in any distributions. No written agreement,
+   license, or royalty fee is required for any of the authorized uses.
+   Modifications to this software may be copyrighted by their authors
+   and need not follow the licensing terms described here, provided that
+   the new terms are clearly indicated on the first page of each file where
+   they apply.
+
+   IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
+   FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
+   ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
+   DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
+   POSSIBILITY OF SUCH DAMAGE.
+
+   THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
+   INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
+   FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.  THIS SOFTWARE
+   IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE
+   NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
+   MODIFICATIONS.
+
+image.c:
+ * SGI rgb file reader borrowed from gltk library
+
+The Debian packaging is:
+
+    Copyright (C) 2009 Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>
+

Added: packages/togl/trunk/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/togl/trunk/debian/docs?rev=36697&op=file
==============================================================================
--- packages/togl/trunk/debian/docs (added)
+++ packages/togl/trunk/debian/docs Fri Jul  2 07:02:39 2010
@@ -1,0 +1,1 @@
+README.stubs

Added: packages/togl/trunk/debian/libtogl-dev.install
URL: http://svn.debian.org/wsvn/debian-science/packages/togl/trunk/debian/libtogl-dev.install?rev=36697&op=file
==============================================================================
--- packages/togl/trunk/debian/libtogl-dev.install (added)
+++ packages/togl/trunk/debian/libtogl-dev.install Fri Jul  2 07:02:39 2010
@@ -1,0 +1,2 @@
+usr/lib/libTogl.so
+usr/include/togl*.h

Added: packages/togl/trunk/debian/libtogl2.install
URL: http://svn.debian.org/wsvn/debian-science/packages/togl/trunk/debian/libtogl2.install?rev=36697&op=file
==============================================================================
--- packages/togl/trunk/debian/libtogl2.install (added)
+++ packages/togl/trunk/debian/libtogl2.install Fri Jul  2 07:02:39 2010
@@ -1,0 +1,2 @@
+usr/lib/libTogl*.so.*
+usr/share/tcltk/tcl8.5/togl-2.0/pkgIndex.tcl

Added: packages/togl/trunk/debian/patches/configure.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/togl/trunk/debian/patches/configure.patch?rev=36697&op=file
==============================================================================
--- packages/togl/trunk/debian/patches/configure.patch (added)
+++ packages/togl/trunk/debian/patches/configure.patch Fri Jul  2 07:02:39 2010
@@ -1,0 +1,13 @@
+Index: togl-1.7/Makefile.in
+===================================================================
+--- togl-1.7.orig/Makefile.in	2010-02-16 16:04:26.000000000 +0100
++++ togl-1.7/Makefile.in	2010-02-16 16:04:32.000000000 +0100
+@@ -88,7 +88,7 @@
+ 
+ PKG_DIR		= $(PACKAGE_NAME)$(PACKAGE_VERSION)
+ pkgdatadir	= $(datadir)/$(PKG_DIR)
+-pkglibdir	= $(libdir)/$(PKG_DIR)
++pkglibdir	= $(libdir)
+ pkgincludedir	= $(includedir)/$(PKG_DIR)
+ 
+ top_builddir	= .

Added: packages/togl/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-science/packages/togl/trunk/debian/patches/series?rev=36697&op=file
==============================================================================
--- packages/togl/trunk/debian/patches/series (added)
+++ packages/togl/trunk/debian/patches/series Fri Jul  2 07:02:39 2010
@@ -1,0 +1,2 @@
+configure.patch
+tclconfig-new.patch

Added: packages/togl/trunk/debian/patches/tclconfig-new.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/togl/trunk/debian/patches/tclconfig-new.patch?rev=36697&op=file
==============================================================================
--- packages/togl/trunk/debian/patches/tclconfig-new.patch (added)
+++ packages/togl/trunk/debian/patches/tclconfig-new.patch Fri Jul  2 07:02:39 2010
@@ -1,0 +1,13 @@
+Index: togl-2.0/tclconfig/tcl.m4
+===================================================================
+--- togl-2.0.orig/tclconfig/tcl.m4	2010-06-28 14:39:19.000000000 +0200
++++ togl-2.0/tclconfig/tcl.m4	2010-06-28 14:39:45.000000000 +0200
+@@ -1574,7 +1574,7 @@
+ 	        ])
+ 	    ])
+ 	    ;;
+-	Linux*)
++	Linux*|GNU*)
+ 	    SHLIB_CFLAGS="-fPIC"
+ 	    SHLIB_LD_LIBS='${LIBS}'
+ 	    SHLIB_SUFFIX=".so"

Added: packages/togl/trunk/debian/patches/tclconfig.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/togl/trunk/debian/patches/tclconfig.patch?rev=36697&op=file
==============================================================================
--- packages/togl/trunk/debian/patches/tclconfig.patch (added)
+++ packages/togl/trunk/debian/patches/tclconfig.patch Fri Jul  2 07:02:39 2010
@@ -1,0 +1,13 @@
+Index: togl-1.7/tclconfig/tcl.m4
+===================================================================
+--- togl-1.7.orig/tclconfig/tcl.m4	2010-04-09 11:09:44.000000000 +0200
++++ togl-1.7/tclconfig/tcl.m4	2010-04-09 11:10:20.000000000 +0200
+@@ -1334,7 +1334,7 @@
+ 	        fi
+ 	    fi
+ 	    ;;
+-	Linux*)
++	Linux*|GNU*)
+ 	    SHLIB_CFLAGS="-fPIC"
+ 	    SHLIB_LD_LIBS='${LIBS}'
+ 	    SHLIB_SUFFIX=".so"

Added: packages/togl/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/togl/trunk/debian/rules?rev=36697&op=file
==============================================================================
--- packages/togl/trunk/debian/rules (added)
+++ packages/togl/trunk/debian/rules Fri Jul  2 07:02:39 2010
@@ -1,0 +1,55 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+DEB_AUTO_UPDATE_AUTOCONF	:= 2.65
+DEB_AUTO_UPDATE_AUTOMAKE	:= 1.11.1
+
+# no check for this software
+# DEB_MAKE_CHECK_TARGET := demos
+
+# Add here any variable or target overrides you need.
+DEB_CONFIGURE_EXTRA_FLAGS := --with-tcl=/usr/lib/tcl8.5 --with-tk=/usr/lib/tk8.5
+
+#makebuilddir/libtogl1::
+#	autoconf
+
+build/libtogl2::
+	rm -f libTogl2.0.so
+	$(CC) -shared -Wl,-soname,libTogl.so.2  -lX11 -lGL -lXmu -ltclstub8.5 -ltkstub8.5 -o libTogl.so.2.0 togl.o
+
+install/libtogl2::
+	sed -i -e 's/libTogl2.0.so/libTogl.so.2.0/'  debian/tmp/usr/lib/pkgIndex.tcl
+	sed -i -e 's/\$$dir/\/usr\/lib/'  debian/tmp/usr/lib/pkgIndex.tcl
+	mkdir -p debian/tmp/usr/share/tcltk/tcl8.5/togl-2.0
+	mv debian/tmp/usr/lib/pkgIndex.tcl debian/tmp/usr/share/tcltk/tcl8.5/togl-2.0/
+	install -m644 libTogl.so.2.0  debian/tmp/usr/lib
+	(cd debian/tmp/usr/lib && ln -s libTogl.so.2.0 ./libTogl.so.2)
+
+install/libtogl-dev::
+	mkdir -p debian/tmp/usr/share/include
+	install -m644 togl*.h debian/tmp/usr/share/include
+	(cd debian/tmp/usr/lib && ln -s libTogl.so.2 ./libTogl.so)
+
+install/togl-demos::
+	mkdir -p debian/tmp/usr/share/togl/
+	install -m644 *.tcl debian/tmp/usr/share/togl/
+	chmod ugo+x debian/tmp/usr/share/togl/*.tcl
+	rm -f debian/tmp/usr/share/togl/pkgIndex.tcl
+	install -m644 double.c debian/tmp/usr/share/togl/
+	install -m644 gears.c debian/tmp/usr/share/togl/
+	install -m644 index.c debian/tmp/usr/share/togl/
+	install -m644 overlay.c debian/tmp/usr/share/togl/
+	install -m644 stereo.c debian/tmp/usr/share/togl/
+	install -m644 texture.c debian/tmp/usr/share/togl/
+	install -m644 image.c debian/tmp/usr/share/togl/
+	install -m644 image.h debian/tmp/usr/share/togl/
+	install -m644 *.rgb* debian/tmp/usr/share/togl/
+	install -m644 debian/Makefile debian/tmp/usr/share/togl/
+	
+
+clean::
+	rm -f libTogl.so.2.0
+	rm -f togl_ws.h

Propchange: packages/togl/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/togl/trunk/debian/source/format
URL: http://svn.debian.org/wsvn/debian-science/packages/togl/trunk/debian/source/format?rev=36697&op=file
==============================================================================
--- packages/togl/trunk/debian/source/format (added)
+++ packages/togl/trunk/debian/source/format Fri Jul  2 07:02:39 2010
@@ -1,0 +1,1 @@
+3.0 (quilt)

Added: packages/togl/trunk/debian/stamp-autotools-configure
URL: http://svn.debian.org/wsvn/debian-science/packages/togl/trunk/debian/stamp-autotools-configure?rev=36697&op=file
==============================================================================
    (empty)

Added: packages/togl/trunk/debian/stamp-makefile-check
URL: http://svn.debian.org/wsvn/debian-science/packages/togl/trunk/debian/stamp-makefile-check?rev=36697&op=file
==============================================================================
    (empty)

Added: packages/togl/trunk/debian/togl-demos.install
URL: http://svn.debian.org/wsvn/debian-science/packages/togl/trunk/debian/togl-demos.install?rev=36697&op=file
==============================================================================
--- packages/togl/trunk/debian/togl-demos.install (added)
+++ packages/togl/trunk/debian/togl-demos.install Fri Jul  2 07:02:39 2010
@@ -1,0 +1,4 @@
+usr/share/togl/*.tcl
+usr/share/togl/*.c
+usr/share/togl/*.rgb*
+usr/share/togl/Makefile

Added: packages/togl/trunk/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/togl/trunk/debian/watch?rev=36697&op=file
==============================================================================
--- packages/togl/trunk/debian/watch (added)
+++ packages/togl/trunk/debian/watch Fri Jul  2 07:02:39 2010
@@ -1,0 +1,3 @@
+version=3
+opts="uversionmangle=s/^/-src" \
+http://sf.net/Togl/Togl(.*)\.tar\.gz




More information about the debian-science-commits mailing list