r14524 - in packages/trunk/glee: . debian
Miriam Ruiz
miriam at alioth.debian.org
Mon Aug 26 23:11:08 UTC 2013
Author: miriam
Date: 2013-08-26 23:11:07 +0000 (Mon, 26 Aug 2013)
New Revision: 14524
Added:
packages/trunk/glee/debian/
packages/trunk/glee/debian/Makefile
packages/trunk/glee/debian/changelog
packages/trunk/glee/debian/compat
packages/trunk/glee/debian/control
packages/trunk/glee/debian/copyright
packages/trunk/glee/debian/docs
packages/trunk/glee/debian/glee-dev.dirs
packages/trunk/glee/debian/glee-dev.install
packages/trunk/glee/debian/glee.pc
packages/trunk/glee/debian/libglee0d1.dirs
packages/trunk/glee/debian/libglee0d1.install
packages/trunk/glee/debian/rules
Log:
[svn-inject] Applying Debian modifications (5.4.0-1) to trunk
Property changes on: packages/trunk/glee/debian
___________________________________________________________________
Added: mergeWithUpstream
+ 1
Added: packages/trunk/glee/debian/Makefile
===================================================================
--- packages/trunk/glee/debian/Makefile (rev 0)
+++ packages/trunk/glee/debian/Makefile 2013-08-26 23:11:07 UTC (rev 14524)
@@ -0,0 +1,64 @@
+all: libglee.a libglee.so
+
+MAJOR=0d1
+MINOR=0
+
+SOURCES = $(shell find . -name "*.c")
+
+SHARED_OBJS = $(SOURCES:.c=.shared.o)
+STATIC_OBJS = $(SOURCES:.c=.static.o)
+
+EXTRA_CFLAGS=-I.
+STATIC_CFLAGS= -O2 -g -Wall $(EXTRA_CFLAGS)
+SHARED_CFLAGS= $(STATIC_CFLAGS) -fPIC
+
+LDFLAGS= -Wl,-z,defs -Wl,--as-needed -Wl,--no-undefined
+EXTRA_LDFLAGS=
+LIBS=-lGL
+EXTRA_LIBS=
+
+libglee.so.$(MAJOR).$(MINOR): $(SHARED_OBJS)
+ g++ $(LDFLAGS) $(EXTRA_LDFLAGS) -shared \
+ -Wl,-soname,libglee.so.$(MAJOR) \
+ -o libglee.so.$(MAJOR).$(MINOR) \
+ $+ -o $@ $(EXTRA_LIBS) $(LIBS)
+
+libglee.so: libglee.so.$(MAJOR).$(MINOR)
+ rm -f $@.$(MAJOR)
+ ln -s $@.$(MAJOR).$(MINOR) $@.$(MAJOR)
+ rm -f $@
+ ln -s $@.$(MAJOR) $@
+
+libglee.a: $(STATIC_OBJS)
+ ar cru $@ $+
+
+%.shared.o: %.cpp
+ g++ -o $@ -c $+ $(SHARED_CFLAGS)
+
+%.shared.o: %.c
+ gcc -o $@ -c $+ $(SHARED_CFLAGS)
+
+%.so : %.o
+ g++ $(LDFLAGS) $(EXTRA_LDFLAGS) -shared $^ -o $@
+
+%.static.o: %.cpp
+ g++ -o $@ -c $+ $(STATIC_CFLAGS)
+
+%.static.o: %.c
+ gcc -o $@ -c $+ $(STATIC_CFLAGS)
+
+clean:
+ rm -f $(SHARED_OBJS)
+ rm -f $(STATIC_OBJS)
+ rm -f $(FIXED_OBJS)
+ rm -f $(STATIC_FIXED_OBJS)
+ rm -f *.so *.so* *.a *~
+
+DESTDIR=
+
+install: libglee.a libglee.so
+ mkdir -p "$(DESTDIR)/usr/lib/"
+ cp -a *.a "$(DESTDIR)/usr/lib/"
+ cp -a *.so* "$(DESTDIR)/usr/lib/"
+ mkdir -p "$(DESTDIR)/usr/include/"
+ cp *.h "$(DESTDIR)/usr/include/"
Added: packages/trunk/glee/debian/changelog
===================================================================
--- packages/trunk/glee/debian/changelog (rev 0)
+++ packages/trunk/glee/debian/changelog 2013-08-26 23:11:07 UTC (rev 14524)
@@ -0,0 +1,5 @@
+glee (5.4.0-1) unstable; urgency=low
+
+ * Initial release. Closes: #569063
+
+ -- Miriam Ruiz <little_miry at yahoo.es> Fri, 25 Dec 2009 07:37:22 +0100
Added: packages/trunk/glee/debian/compat
===================================================================
--- packages/trunk/glee/debian/compat (rev 0)
+++ packages/trunk/glee/debian/compat 2013-08-26 23:11:07 UTC (rev 14524)
@@ -0,0 +1 @@
+7
Added: packages/trunk/glee/debian/control
===================================================================
--- packages/trunk/glee/debian/control (rev 0)
+++ packages/trunk/glee/debian/control 2013-08-26 23:11:07 UTC (rev 14524)
@@ -0,0 +1,49 @@
+Source: glee
+Priority: optional
+Maintainer: Miriam Ruiz <little_miry at yahoo.es>
+Build-Depends: debhelper (>= 7), dh-buildinfo,
+ mesa-common-dev, libgl1-mesa-dev
+Standards-Version: 3.8.3
+Section: libs
+Homepage: http://elf-stone.com/glee.php
+
+Package: glee-dev
+Section: libdevel
+Architecture: any
+Depends: libglee0d1 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Suggests: libglee0d1-dbg
+Description: extension loading library for OpenGL - development
+ GLee (GL Easy Extension library) is a free cross-platform extension loading
+ library for OpenGL. It provides seamless support for OpenGL functions up to
+ version 3.0 and 398 extensions.
+ .
+ Features:
+ * Core functions up to OpenGL 3.0
+ * 398 extensions
+ * Lazy loading for extension functions, so no initialisation code is required
+ * Forced extension loading, though the GLeeForceLink function.
+ .
+ This package contains the development libraries and headers.
+
+Package: libglee0d1
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: extension loading library for OpenGL
+ GLee (GL Easy Extension library) is a free cross-platform extension loading
+ library for OpenGL. It provides seamless support for OpenGL functions up to
+ version 3.0 and 398 extensions.
+ .
+ This package contains the shared objects needed for runtime.
+
+Package: libglee0d1-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: libglee0d1 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Description: extension loading library for OpenGL - debugging
+ GLee (GL Easy Extension library) is a free cross-platform extension loading
+ library for OpenGL. It provides seamless support for OpenGL functions up to
+ version 3.0 and 398 extensions.
+ .
+ This package contains the debugging symbols.
Added: packages/trunk/glee/debian/copyright
===================================================================
--- packages/trunk/glee/debian/copyright (rev 0)
+++ packages/trunk/glee/debian/copyright 2013-08-26 23:11:07 UTC (rev 14524)
@@ -0,0 +1,39 @@
+This package was debianized by Miriam Ruiz <little_miry at yahoo.es> on
+Mon, 02 Feb 2009 22:45:42 +0100.
+
+It was downloaded from http://elf-stone.com/glee.php
+
+Upstream Author:
+
+ Ben Woodhouse <bw at elf-stone.com>
+
+Copyright:
+
+ Copyright (C) 2008 Ben Woodhouse
+
+License:
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer as
+ the first lines of this file unmodified.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY BEN WOODHOUSE ``AS IS'' AND ANY EXPRESS OR
+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ IN NO EVENT SHALL BEN WOODHOUSE BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+The Debian packaging is copyright 2009, Miriam Ruiz <little_miry at yahoo.es> and
+is licensed under the same license as the program, see above.
+
Added: packages/trunk/glee/debian/docs
===================================================================
--- packages/trunk/glee/debian/docs (rev 0)
+++ packages/trunk/glee/debian/docs 2013-08-26 23:11:07 UTC (rev 14524)
@@ -0,0 +1,2 @@
+extensionList.txt
+readme.txt
Added: packages/trunk/glee/debian/glee-dev.dirs
===================================================================
--- packages/trunk/glee/debian/glee-dev.dirs (rev 0)
+++ packages/trunk/glee/debian/glee-dev.dirs 2013-08-26 23:11:07 UTC (rev 14524)
@@ -0,0 +1,2 @@
+usr/lib
+usr/include
Added: packages/trunk/glee/debian/glee-dev.install
===================================================================
--- packages/trunk/glee/debian/glee-dev.install (rev 0)
+++ packages/trunk/glee/debian/glee-dev.install 2013-08-26 23:11:07 UTC (rev 14524)
@@ -0,0 +1,4 @@
+debian/tmp/usr/include/*
+debian/tmp/usr/lib/lib*.a
+debian/tmp/usr/lib/lib*.so
+debian/*.pc usr/lib/pkgconfig/
Added: packages/trunk/glee/debian/glee.pc
===================================================================
--- packages/trunk/glee/debian/glee.pc (rev 0)
+++ packages/trunk/glee/debian/glee.pc 2013-08-26 23:11:07 UTC (rev 14524)
@@ -0,0 +1,12 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: GLee
+Description: GL Easy Extension library
+Version: 5.4.0
+Requires:
+Conflicts:
+Libs: -L${libdir} -lglee
+Cflags: -I${includedir}
Added: packages/trunk/glee/debian/libglee0d1.dirs
===================================================================
--- packages/trunk/glee/debian/libglee0d1.dirs (rev 0)
+++ packages/trunk/glee/debian/libglee0d1.dirs 2013-08-26 23:11:07 UTC (rev 14524)
@@ -0,0 +1 @@
+usr/lib
Added: packages/trunk/glee/debian/libglee0d1.install
===================================================================
--- packages/trunk/glee/debian/libglee0d1.install (rev 0)
+++ packages/trunk/glee/debian/libglee0d1.install 2013-08-26 23:11:07 UTC (rev 14524)
@@ -0,0 +1 @@
+debian/tmp/usr/lib/lib*.so.*
Added: packages/trunk/glee/debian/rules
===================================================================
--- packages/trunk/glee/debian/rules (rev 0)
+++ packages/trunk/glee/debian/rules 2013-08-26 23:11:07 UTC (rev 14524)
@@ -0,0 +1,90 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
+CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+else
+CROSS= --build $(DEB_BUILD_GNU_TYPE)
+endif
+
+
+# shared library versions, option 1
+version=2.0.5
+major=2
+# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
+#version=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+#major=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+config: config-stamp
+config-stamp:
+ dh_testdir
+ touch $@
+
+build: build-stamp
+build-stamp: config-stamp
+ dh_testdir
+ $(MAKE) -f debian/Makefile \
+ CFLAGS="$(CFLAGS)" \
+ LDFLAGS="-Wl,-z,defs -Wl,--as-needed -Wl,--no-undefined"
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f config-stamp build-stamp
+ $(MAKE) -f debian/Makefile clean
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_prep
+ dh_installdirs
+ $(MAKE) -f debian/Makefile DESTDIR=$(CURDIR)/debian/tmp install
+
+# Build architecture-independent files here.
+binary-indep: install
+
+# Build architecture-dependent files here.
+binary-arch: install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_installexamples
+ dh_install
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+ dh_installman
+ dh_link
+ dh_strip --dbg-package=libglee0d1-dbg
+ dh_compress
+ dh_fixperms
+# dh_perl
+# dh_python
+ dh_makeshlibs
+ test -e /usr/bin/dh_buildinfo && dh_buildinfo
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: config build clean binary-indep binary-arch binary install
Property changes on: packages/trunk/glee/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
More information about the Pkg-games-commits
mailing list