Commit 1edbfac3 authored by Helmut Grohne's avatar Helmut Grohne Committed by Bertrand Marc

Import Debian changes 2.0.0-5

glew (2.0.0-5) unstable; urgency=medium

  * QA upload.
  * Drop ancient Build-Depends: binutils, satisfied in wheezy.
  * Migrate libglew-dbg to -dbgsym.
  * Make -dbgsym package useful:
    + Discard nostrip handling: handled by dh_strip.
    + Defer all stripping to dh_strip.
    + Pass CFLAGS via OPT makefile variable.
  * Let dh_auto_build pass cross compilers to $(MAKE).
  * Pass suitable LD= and SYSTEM= to dh_auto_build for cross compilation.
  * Drop unused srcversion variable lintian complains about.
parent 0984540a
glew (2.0.0-5) unstable; urgency=medium
* QA upload.
* Drop ancient Build-Depends: binutils, satisfied in wheezy.
* Migrate libglew-dbg to -dbgsym.
* Make -dbgsym package useful:
+ Discard nostrip handling: handled by dh_strip.
+ Defer all stripping to dh_strip.
+ Pass CFLAGS via OPT makefile variable.
* Let dh_auto_build pass cross compilers to $(MAKE).
* Pass suitable LD= and SYSTEM= to dh_auto_build for cross compilation.
* Drop unused srcversion variable lintian complains about.
-- Helmut Grohne <helmut@subdivi.de> Thu, 24 Aug 2017 21:30:01 +0200
glew (2.0.0-4) unstable; urgency=medium
* debian/control: orphaning the package
......
......@@ -2,8 +2,7 @@ Source: glew
Priority: optional
Section: libs
Maintainer: Debian QA Group <packages@qa.debian.org>
Build-Depends: binutils (>> 2.18),
debhelper (>= 9),
Build-Depends: debhelper (>= 9.20160114),
docbook-to-man,
libgl1-mesa-dev | libgl-dev,
libglu1-mesa-dev | libglu-dev,
......@@ -65,20 +64,3 @@ Description: OpenGL Extension Wrangler - runtime environment
libglew-dev package.
.
This package contains the runtime support files.
Package: libglew-dbg
Section: debug
Priority: extra
Architecture: any
Multi-Arch: same
Depends: libglew2.0 (= ${binary:Version}),
${misc:Depends}
Description: OpenGL Extension Wrangler (debugging symbols)
The OpenGL Extension Wrangler, GLEW for short, is a library that
handles initialization of OpenGL extensions in a portable and simple
way. Once the program initializes the library and checks the
availability of extensions, it can safely call the entry points defined
by the extension. Currently GLEW supports almost all the extensions
found in the OpenGL extension registry (http://www.opengl.org/registry).
.
This package contains the debugging symbols for libglew.
......@@ -7,20 +7,19 @@ export DH_VERBOSE
# export DH_NO_ACT
# export DH_OPTIONS
CFLAGS = -Wall -g
include /usr/share/dpkg/architecture.mk
srcversion := $(shell dpkg-parsechangelog | grep ^Version: | cut -d ' ' -f 2)
CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
endif
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
endif
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
# let dh_strip strip
export STRIP=true
export INSTALL=install --strip-program=true
configure: configure-stamp
configure-stamp:
......@@ -34,7 +33,14 @@ build-stamp: configure-stamp
dh_testdir
dh_testroot
dh_prep
$(MAKE) GL_LDFLAGS=-lGL GLU_LDFLAGS=-lGLU GLUT_LDFLAGS=-lglut LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)
dh_auto_build -- \
GL_LDFLAGS=-lGL \
GLU_LDFLAGS=-lGLU \
GLUT_LDFLAGS=-lglut \
LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH) \
'LD=$$(CC)' \
SYSTEM=$(firstword $(subst -, ,$(DEB_HOST_GNU_SYSTEM))) \
'OPT=$(CFLAGS)'
touch build-stamp
dh_installdirs
$(MAKE) install.all GLEW_DEST=$(CURDIR)/debian/tmp/usr LIBDIR=$(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)
......@@ -62,7 +68,7 @@ binary-arch: build install
dh_install --sourcedir=debian/tmp
dh_installman
dh_link
dh_strip -plibglew2.0 --dbg-package=libglew-dbg
dh_strip --dbgsym-migration="libglew-dbg (<< 2.0.0-5)"
dh_compress
dh_fixperms
dh_makeshlibs -V
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment