Skip to content

Commit

Permalink
Create a debian package from the latest master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
inniyah committed Feb 19, 2022
1 parent 3bd0807 commit 9e2627f
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 4 deletions.
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
nanovg (0.1~rc3+0miry2) UNRELEASED; urgency=low

* Using TTF fonts from fonts-entypo and fonts-roboto-unhinted.

-- Miriam Ruiz <[email protected]> Sat, 19 Feb 2022 20:16:01 +0100

nanovg (0.1~rc3+0miry1) UNRELEASED; urgency=low

* Initial release.
Expand Down
7 changes: 4 additions & 3 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,23 @@ Priority: optional
Maintainer: Miriam Ruiz <[email protected]>
Build-Depends:
debhelper-compat (= 12),
quilt,
cmake,
libstb-dev,
libgl-dev,
libgles-dev,
libegl-dev,
libglfw3-dev,
libglew-dev
libglew-dev,
fonts-entypo,
fonts-roboto-unhinted
Standards-Version: 4.5.0.0
Homepage: https://github.com/memononen/nanovg
Rules-Requires-Root: no

Package: libnanovg-dev
Section: libdevel
Architecture: any
Depends: libnanovg0 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Depends: libnanovg0 (= ${binary:Version}), fonts-entypo, fonts-roboto-unhinted, ${shlibs:Depends}, ${misc:Depends}
Description: antialiased vector graphics rendering library for OpenGL - devel
NanoVG is small antialiased vector graphics rendering library for OpenGL.
It has lean API modeled after HTML5 canvas API. It is aimed to be a practical
Expand Down
26 changes: 25 additions & 1 deletion debian/copyright
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ Files: *
Copyright: Copyright (c) 2013, Mikko Mononen <[email protected]>
License: Zlib

Files: examples/Roboto-*.ttf
Files: data/*
Copyright: 2012, Andrzej Ambroż
License: GPL-2

Files: example/Roboto-*.ttf
Copyright: 2015, Google Inc.
License: Apache-2.0

Expand All @@ -35,5 +39,25 @@ License: Zlib
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.

License: GPL-2
License-Reference: /usr/share/common-licenses/GPL-2
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
.
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 version
2 can be found in `/usr/share/common-licenses/GPL-2'.

License: Apache-2.0
License-Reference: /usr/share/common-licenses/Apache-2.0
On Debian systems, the full text of the Apache Software License version 2 can
be found in the file `/usr/share/common-licenses/Apache-2.0'.
4 changes: 4 additions & 0 deletions debian/libnanovg-dev.links
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/usr/share/fonts/truetype/fonts-entypo/entypo.ttf usr/share/doc/libnanovg-dev/examples/entypo.ttf
/usr/share/fonts/truetype/roboto/unhinted/RobotoTTF/Roboto-Regular.ttf usr/share/doc/libnanovg-dev/examples/Roboto-Regular.ttf
/usr/share/fonts/truetype/roboto/unhinted/RobotoTTF/Roboto-Light.ttf usr/share/doc/libnanovg-dev/examples/Roboto-Light.ttf
/usr/share/fonts/truetype/roboto/unhinted/RobotoTTF/Roboto-Bold.ttf usr/share/doc/libnanovg-dev/examples/Roboto-Bold.ttf
4 changes: 4 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ binary-arch: install
dh_installchangelogs
dh_installdocs
dh_installexamples
rm -v 'debian/libnanovg-dev/usr/share/doc/libnanovg-dev/examples/entypo.ttf'
rm -v 'debian/libnanovg-dev/usr/share/doc/libnanovg-dev/examples/Roboto-Regular.ttf'
rm -v 'debian/libnanovg-dev/usr/share/doc/libnanovg-dev/examples/Roboto-Light.ttf'
rm -v 'debian/libnanovg-dev/usr/share/doc/libnanovg-dev/examples/Roboto-Bold.ttf'
dh_install
dh_installman
dh_link
Expand Down

0 comments on commit 9e2627f

Please sign in to comment.