Debian build dir .. Thanks to Jean Pierre Charalambos
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@180 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
11
debian/changelog
vendored
Normal file
11
debian/changelog
vendored
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
openmesh (2.0~svn177-0~ppa1~jaunty1) jaunty; urgency=low
|
||||||
|
|
||||||
|
* New upstream SVN snapshot.
|
||||||
|
* Splitting the library into libopenmesh and libopenmesh-dev, after
|
||||||
|
fixes to SONAMES added at this upstream revision.
|
||||||
|
* No documentation added yet.
|
||||||
|
* Removing r167 packages from the ppa because they do not conform with
|
||||||
|
packaging sources directly imported from SVN. According to debian
|
||||||
|
policies, in this case get-orig-source must be used.
|
||||||
|
|
||||||
|
-- Jean Pierre Charalambos <nakednous@gmail.com> Wed, 24 Jun 2009 22:26:31 -0500
|
||||||
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
7
|
||||||
51
debian/control
vendored
Normal file
51
debian/control
vendored
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
Source: openmesh
|
||||||
|
Section: libs
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: Jean Pierre Charalambos <nakednous@gmail.com>
|
||||||
|
Build-Depends: cdbs, debhelper (>= 7), cmake, libglew1.5-dev, libqt4-dev, libqt4-opengl-dev, libqwt5-qt4-dev, freeglut3-dev, libfreetype6-dev, libgomp1
|
||||||
|
Standards-Version: 3.8.0
|
||||||
|
Homepage: http://www.openmesh.org
|
||||||
|
|
||||||
|
Package: libopenmesh
|
||||||
|
Architecture: any
|
||||||
|
Depends: ${shlibs:Depends}, ${misc:Depends}, libglew1.5, libqt4-opengl, libqwt5-qt4, freeglut3, libfreetype6
|
||||||
|
Description: OpenMesh is a generic and efficient data structure for representing
|
||||||
|
and manipulating polygonal meshes. OpenMesh provides the following features:
|
||||||
|
.
|
||||||
|
* Representation of arbitrary polygonal and pure triangle meshes.
|
||||||
|
* Explicit representation of vertices, halfedges, edges and faces.
|
||||||
|
* Fast neighborhood access, especially the one-ring neighborhood.
|
||||||
|
* Highly customizable.
|
||||||
|
.
|
||||||
|
This package contains the shared library needed to run programs using
|
||||||
|
OpenMesh.
|
||||||
|
|
||||||
|
Package: libopenmesh-dev
|
||||||
|
Section: libdevel
|
||||||
|
Architecture: any
|
||||||
|
Depends: ${shlibs:Depends}, ${misc:Depends}, libopenmesh (= ${binary:Version}), libglew1.5-dev, libqt4-dev, libqt4-opengl-dev, libqwt5-qt4-dev, freeglut3-dev, libfreetype6-dev
|
||||||
|
Suggests: qt4-designer(>= 4.5), qt4-dev-tools (>= 4.5), libopenmesh-doc, libopenmesh-apps
|
||||||
|
Description: OpenMesh is a generic and efficient data structure for representing
|
||||||
|
and manipulating polygonal meshes. OpenMesh provides the following features:
|
||||||
|
.
|
||||||
|
* Representation of arbitrary polygonal and pure triangle meshes.
|
||||||
|
* Explicit representation of vertices, halfedges, edges and faces.
|
||||||
|
* Fast neighborhood access, especially the one-ring neighborhood.
|
||||||
|
* Highly customizable.
|
||||||
|
.
|
||||||
|
This package contains all supplementary files (static library and headers)
|
||||||
|
you need to develop your own programs using the OpenMesh library.
|
||||||
|
|
||||||
|
Package: libopenmesh-apps
|
||||||
|
Architecture: any
|
||||||
|
Depends: ${shlibs:Depends}, ${misc:Depends}, libopenmesh (= ${binary:Version})
|
||||||
|
Description: OpenMesh is a generic and efficient data structure for representing
|
||||||
|
and manipulating polygonal meshes. OpenMesh provides the following features:
|
||||||
|
.
|
||||||
|
* Representation of arbitrary polygonal and pure triangle meshes.
|
||||||
|
* Explicit representation of vertices, halfedges, edges and faces.
|
||||||
|
* Fast neighborhood access, especially the one-ring neighborhood.
|
||||||
|
* Highly customizable.
|
||||||
|
.
|
||||||
|
This package contains some binary applications that show some features of the
|
||||||
|
OpenMesh library.
|
||||||
53
debian/copyright
vendored
Normal file
53
debian/copyright
vendored
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
This package was debianized by:
|
||||||
|
|
||||||
|
Jean Pierre Charalambos <nakednous@gmail.com> on Sun, 21 Jun 2009 17:49:34 -0500
|
||||||
|
|
||||||
|
It was downloaded from:
|
||||||
|
|
||||||
|
http://www.openmesh.org
|
||||||
|
|
||||||
|
Upstream Author:
|
||||||
|
|
||||||
|
Computer Graphics Group, RWTH Aachen <moebius@informatik.rwth-aachen.de>
|
||||||
|
|
||||||
|
Copyright:
|
||||||
|
|
||||||
|
Copyright (C) 2001-2009 by Computer Graphics Group, RWTH Aachen
|
||||||
|
|
||||||
|
License:
|
||||||
|
|
||||||
|
This package is free software; you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This package 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 General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this package; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
|
On Debian systems, the complete text of the GNU General
|
||||||
|
Public License can be found in `/usr/share/common-licenses/GPL'.
|
||||||
|
|
||||||
|
The Debian packaging is:
|
||||||
|
|
||||||
|
Copyright C) 2009, Jean Pierre Charalambos <nakednous@gmail.com>
|
||||||
|
|
||||||
|
and is licensed under the GPL, see above.
|
||||||
|
|
||||||
|
|
||||||
|
LICENSE_EXCEPTION added by the upstream authors
|
||||||
|
|
||||||
|
As a special exception to the GNU Lesser General Public License,
|
||||||
|
you may use any file of this software library without restriction.
|
||||||
|
Specifically, if other files instantiate templates or use macros
|
||||||
|
or inline functions from this file, or you compile this file and
|
||||||
|
link it with other files to produce an executable, this file does
|
||||||
|
not by itself cause the resulting executable to be covered by the
|
||||||
|
GNU Lesser General Public License. This exception does not however
|
||||||
|
invalidate any other reasons why the executable file might be
|
||||||
|
covered by the GNU Lesser General Public License.
|
||||||
37
debian/rules
vendored
Executable file
37
debian/rules
vendored
Executable file
@@ -0,0 +1,37 @@
|
|||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
include /usr/share/cdbs/1/rules/debhelper.mk
|
||||||
|
include /usr/share/cdbs/1/class/cmake.mk
|
||||||
|
#include /usr/share/cdbs/1/class/qmake.mk
|
||||||
|
#include /usr/share/cdbs/1/rules/simple-patchsys.mk
|
||||||
|
|
||||||
|
# Add here any variable or target overrides you need.
|
||||||
|
PACKAGE = libopenmesh
|
||||||
|
SRC_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(\([0-9]\+\):\)\?\(.*\)-.*/\3/p')
|
||||||
|
SVN_REVISION := $(shell echo $(SRC_VERSION) | awk -F"+" '{ print $$2 }' | sed 's/svn//' )
|
||||||
|
TARBALL = $(PACKAGE)_$(SRC_VERSION).orig.tar.gz
|
||||||
|
.PHONY: get-orig-source
|
||||||
|
get-orig-source:
|
||||||
|
rm -rf get-orig-source $(TARBALL)
|
||||||
|
mkdir get-orig-source
|
||||||
|
svn export -r $(SVN_REVISION) --username anonymous --password anonymous http://openmesh.org/svnrepo/OpenMesh/trunk/ \
|
||||||
|
get-orig-source/$(PACKAGE)-$(SRC_VERSION).orig
|
||||||
|
GZIP=--best tar czf $(TARBALL) -C get-orig-source $(PACKAGE)-$(SRC_VERSION).orig
|
||||||
|
rm -rf get-orig-source
|
||||||
|
echo " "$(TARBALL)" created; move it to the right destination to build the package"
|
||||||
|
|
||||||
|
install/libopenmesh::
|
||||||
|
#dh_install -libopenmesh --autodest debian/tmp/usr/lib/OpenMesh/lib*.so.*
|
||||||
|
ln -sf libOpenMeshCore.so.2.0 debian/tmp/usr/lib/OpenMesh/libOpenMeshCore.so.2
|
||||||
|
ln -sf libOpenMeshTools.so.2.0 debian/tmp/usr/lib/OpenMesh/libOpenMeshTools.so.2
|
||||||
|
dh_install -plibopenmesh debian/tmp/usr/lib/OpenMesh/lib*.so.* /usr/lib/
|
||||||
|
|
||||||
|
install/libopenmesh-dev::
|
||||||
|
#dh_install -plibopenmesh-dev --autodest debian/tmp/usr/lib/OpenMesh/lib*.so
|
||||||
|
#dh_install -plibopenmesh-dev debian/tmp/usr/lib/OpenMesh/lib*.prl /usr/lib/
|
||||||
|
dh_install -plibopenmesh-dev debian/tmp/usr/lib/OpenMesh/lib*.so /usr/lib/
|
||||||
|
dh_install -plibopenmesh-dev debian/tmp/usr/lib/OpenMesh/lib*.a /usr/lib/
|
||||||
|
dh_install -plibopenmesh-dev --autodest debian/tmp/usr/include/OpenMesh
|
||||||
|
|
||||||
|
install/libopenmesh-apps::
|
||||||
|
dh_install -plibopenmesh-apps debian/tmp/usr/bin/* /usr/lib/OpenMesh/Apps
|
||||||
Reference in New Issue
Block a user