Page MenuHomePhabricator (Chris)

No OneTemporary

Size
15 KB
Referenced Files
None
Subscribers
None
diff --git a/assets/fnt/metal-macabre.regular.ttf b/assets/fnt/metal-macabre.regular.ttf
index 17341a2..acefb2d 100644
Binary files a/assets/fnt/metal-macabre.regular.ttf and b/assets/fnt/metal-macabre.regular.ttf differ
diff --git a/debian/changelog b/debian/changelog
index 67848c1..5d9fc44 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,72 +1,78 @@
+deerportal (0.8.2-1) groovy; urgency=medium
+
+ * Version bump for first packaging here
+
+ -- Chris <dpkg@chris-nz.com> Sat, 17 Apr 2021 03:48:48 +1200
+
deerportal (0.7.1-january-fix-ubuntu1) trusty; urgency=medium
* Fixed January - Eastern Egg problem (thanks Poul Sander)
-- Rafal Zawadzki <bluszcz@devcarpet.net> Tue, 09 Jan 2018 21:33:55 +0200
deerportal (0.7.0-birthday-ubuntu1) trusty; urgency=medium
* Notifications
* More sounds
* Smarter, more agressive and greedy AI
* Credits
* Test mode
* Big diamond
-- Rafal Zawadzki <bluszcz@devcarpet.net> Fri, 10 Jun 2016 00:33:55 +0200
deerportal (0.6.0-betaubuntu2) trusty; urgency=medium
* New dice - from Katia
* Updated background
-- Rafal Zawadzki <bluszcz@devcarpet.net> Tue, 07 Jun 2016 00:26:08 +0200
deerportal (0.6.0-betaubuntu1) trusty; urgency=low
* New end game screen
* Fixed several bugs
* Fixed sorting order
* Simply AI - playing with computer
* New graphics - Deer God and rendered title screen
-- Rafal Zawadzki <bluszcz@devcarpet.net> Mon, 06 Jun 2016 23:44:00 +0200
deerportal (0.0.5-alphaubuntu6) trusty; urgency=medium
* Removing all items after player reaches the portal
* Clean up
* Bug fix for game crash while taking more items than available
* Another approach for better debian packages
-- Rafal Zawadzki <bluszcz@devcarpet.net> Sun, 29 May 2016 01:00:28 +0200
deerportal (0.0.4-alpha) unstable; urgency=medium
* Deer Mode
* Clean up
* Animated Characters
-- Rafal Zawadzki <bluszcz@devcarpet.net> Sat, 28 May 2016 04:42:42 +0200
deerportal (0.0.3-alpha) unstable; urgency=medium
* Bubbles
* Clean up
-- Rafal Zawadzki <bluszcz@devcarpet.net> Sat, 09 Apr 2016 04:10:42 +0200
deerportal (0.0.2alpha) unstable; urgency=medium
* New upstream release
* Clean up
-- Rafal Zawadzki <bluszcz@devcarpet.net> Sat, 09 Apr 2016 04:10:42 +0200
deerportal (0.0.1alpha-1) unstable; urgency=low
* Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
-- Rafal Zawadzki <bluszcz@devcarpet.net> Fri, 08 Apr 2016 23:40:21 +0200
diff --git a/debian/control b/debian/control
index ab28071..34e0713 100644
--- a/debian/control
+++ b/debian/control
@@ -1,17 +1,15 @@
Source: deerportal
Section: games
Priority: optional
Maintainer: Rafal Zawadzki <bluszcz@devcarpet.net>
-Build-Depends: debhelper (>= 8.0.0), libsfml-dev, cmake
-Standards-Version: 3.9.4
-Homepage: https://devcarpet.net/deerportal/
-#Vcs-Git: git://git.debian.org/collab-maint/deerportal.git
-#Vcs-Browser: http://git.debian.org/?p=collab-maint/deerportal.git;a=summary
+Build-Depends: debhelper-compat (= 12), libsfml-dev, cmake
+Standards-Version: 4.5.0
+Homepage: https://github.com/deerportal/deerportal/
Package: deerportal
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: A board game driven by the classical elements.
+Description: Board game driven by the classical elements.
Deer Portal is a board game where you can experience madness of being ex pagan
who wants to be become an ancient Deer God. To achieve this, you have to play
a dreadful game where classical elements are involved. Reach portal or die.
diff --git a/debian/copyright b/debian/copyright
index 22a55b7..ccb01d6 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,38 +1,148 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: deerportal
-Source: <url://example.com>
+Source: <https://devcarpet.net/deerportal/>
Files: *
-Copyright: <years> <put author's name and email here>
- <years> <likewise for another author>
-License: <special license>
- <Put the license of the package here indented by 1 space>
- <This follows the format of Description: lines in control file>
+Copyright: 2019 Rafal Zawadzki <bluszcz@devcarpet.net>
+ 2019 Katia Zawadzka
+License: Zlib
+ Deer Portal - Copyright (c) Rafal Zawadzki & Katia Zawadzka
.
- <Including paragraphs>
+ This software is provided 'as-is', without any express or implied warranty.
+ In no event will the authors be held liable for any damages arising from
+ the use of this software.
+ .
+ Permission is granted to anyone to use this software for any purpose,
+ including commercial applications, and to alter it and redistribute it
+ freely, subject to the following restrictions:
+ .
+ 1. The origin of this software must not be misrepresented; you must not claim
+ that you wrote the original software. If you use this software in a product,
+ an acknowledgment in the product documentation would be appreciated but is
+ not required.
+ .
+ 2. Altered source versions must be plainly marked as such, and must not be
+ misrepresented as being the original software.
+ .
+ 3. This notice may not be removed or altered from any source distribution.
-# If you want to use GPL v2 or later for the /debian/* files use
-# the following clauses, or change it to suit. Delete these two lines
-Files: debian/*
-Copyright: 2016 Rafal Zawadzki <bluszcz@devcarpet.net>
-License: GPL-2+
- This package is free software; you can redistribute it and/or modify
+Files: assets/font/metal-macabre-regular.ttf
+Copyright: 2009 BCD/MFA <boltcutterdesign@yahoo.com>
+License: GPL-3+
+ BoltCutterDesign True Type Fonts/graphics
+ Copyright (C) 2008 BCD/MFA
+ .
+ This program/graphic 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.
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version. It may not be sold/resold individualy or
+ in a compilation.
+ .
+ This notice must accompany the font/graphic upon distribution/redistribution.
.
- This package is distributed in the hope that it will be useful,
+ This program 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
+ 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 program. If not, see <http://www.gnu.org/licenses/>
+ along with this program. If not, see .
.
- On Debian systems, the complete text of the GNU General
- Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+ http://www.gnu.org/copyleft/gpl.html
-# Please also look if there are files or directories which have a
-# different copyright/license attached and list them here.
-# Please avoid to pick license terms that are more restrictive than the
-# packaged work, as it may make Debian's contributions unacceptable upstream.
+Files: assets/font/metal-mania-regular.ttf
+Copyright: 2012 Open Window <dathanboardman@gmail.com>
+License: OFL
+ Copyright (c) 2012 by Open Window (dathanboardman@gmail.com) with Reseved Font Name "Metal Mania"
+ .
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
+ This license is copied below, and is also available with a FAQ at:
+ http://scripts.sil.org/OFL
+ .
+ .
+ -----------------------------------------------------------
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+ -----------------------------------------------------------
+ .
+ PREAMBLE
+ The goals of the Open Font License (OFL) are to stimulate worldwide
+ development of collaborative font projects, to support the font creation
+ efforts of academic and linguistic communities, and to provide a free and
+ open framework in which fonts may be shared and improved in partnership
+ with others.
+ .
+ The OFL allows the licensed fonts to be used, studied, modified and
+ redistributed freely as long as they are not sold by themselves. The
+ fonts, including any derivative works, can be bundled, embedded,
+ redistributed and/or sold with any software provided that any reserved
+ names are not used by derivative works. The fonts and derivatives,
+ however, cannot be released under any other type of license. The
+ requirement for fonts to remain under this license does not apply
+ to any document created using the fonts or their derivatives.
+ .
+ DEFINITIONS
+ "Font Software" refers to the set of files released by the Copyright
+ Holder(s) under this license and clearly marked as such. This may
+ include source files, build scripts and documentation.
+ .
+ "Reserved Font Name" refers to any names specified as such after the
+ copyright statement(s).
+ .
+ "Original Version" refers to the collection of Font Software components as
+ distributed by the Copyright Holder(s).
+ .
+ "Modified Version" refers to any derivative made by adding to, deleting,
+ or substituting -- in part or in whole -- any of the components of the
+ Original Version, by changing formats or by porting the Font Software to a
+ new environment.
+ .
+ "Author" refers to any designer, engineer, programmer, technical
+ writer or other person who contributed to the Font Software.
+ .
+ PERMISSION & CONDITIONS
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
+ redistribute, and sell modified and unmodified copies of the Font
+ Software, subject to the following conditions:
+ .
+ 1) Neither the Font Software nor any of its individual components,
+ in Original or Modified Versions, may be sold by itself.
+ .
+ 2) Original or Modified Versions of the Font Software may be bundled,
+ redistributed and/or sold with any software, provided that each copy
+ contains the above copyright notice and this license. These can be
+ included either as stand-alone text files, human-readable headers or
+ in the appropriate machine-readable metadata fields within text or
+ binary files as long as those fields can be easily viewed by the user.
+ .
+ 3) No Modified Version of the Font Software may use the Reserved Font
+ Name(s) unless explicit written permission is granted by the corresponding
+ Copyright Holder. This restriction only applies to the primary font name as
+ presented to the users.
+ .
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+ Software shall not be used to promote, endorse or advertise any
+ Modified Version, except to acknowledge the contribution(s) of the
+ Copyright Holder(s) and the Author(s) or with their explicit written
+ permission.
+ .
+ 5) The Font Software, modified or unmodified, in part or in whole,
+ must be distributed entirely under this license, and must not be
+ distributed under any other license. The requirement for fonts to
+ remain under this license does not apply to any document created
+ using the Font Software.
+ .
+ TERMINATION
+ This license becomes null and void if any of the above conditions are
+ not met.
+ .
+ DISCLAIMER
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+ OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..d2d6969
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,2 @@
+assets/img/deerportal.png /usr/share/icons/hicolor/256x256/apps
+deerportal.desktop /usr/share/applications
\ No newline at end of file
diff --git a/debian/patches/Update-desktop-file b/debian/patches/Update-desktop-file
new file mode 100644
index 0000000..7ee2ff8
--- /dev/null
+++ b/debian/patches/Update-desktop-file
@@ -0,0 +1,28 @@
+Description: Update desktop file
+ Updates the desktop executable and path values
+
+--- deerportal-0.8.2.orig/CMakeLists.txt
++++ deerportal-0.8.2/CMakeLists.txt
+@@ -32,7 +32,7 @@ include_directories("${PROJECT_BINARY_DI
+ include_directories(${YOUR_DIRECTORY})
+
+ # Define sources and executable
+-set(EXECUTABLE_NAME "deerportal")
++set(EXECUTABLE_NAME "DeerPortal")
+ file( GLOB SRCS src/*.cpp src/*.h )
+
+ IF(WIN32)
+--- deerportal-0.8.2.orig/deerportal.desktop
++++ deerportal-0.8.2/deerportal.desktop
+@@ -1,9 +1,9 @@
+ [Desktop Entry]
+ Name=DeerPortal
+ Comment=Board Game Driven By Classical Elements
+-Exec=/opt/deerportal/DeerPortal.sh
++Exec=deerportal
+ Icon=deerportal
+-Path=/opt/deerportal
++Path=/usr/share/games/deerportal
+ Terminal=false
+ Type=Application
+ Categories=Game;BoardGame;
diff --git a/debian/patches/Update-executable-filename b/debian/patches/Update-executable-filename
new file mode 100644
index 0000000..af25727
--- /dev/null
+++ b/debian/patches/Update-executable-filename
@@ -0,0 +1,24 @@
+Description: Update executable filename (lowercase)
+ Usually game exe names are lowercased.
+ Adjusted DeerPortal to follow this convention.
+
+--- deerportal-0.8.2.orig/CMakeLists.txt
++++ deerportal-0.8.2/CMakeLists.txt
+@@ -32,7 +32,7 @@ include_directories("${PROJECT_BINARY_DI
+ include_directories(${YOUR_DIRECTORY})
+
+ # Define sources and executable
+-set(EXECUTABLE_NAME "DeerPortal")
++set(EXECUTABLE_NAME "deerportal")
+ file( GLOB SRCS src/*.cpp src/*.h )
+
+ IF(WIN32)
+@@ -92,7 +92,7 @@ IF (WIN32)
+
+ ELSE()
+ set (ASSETS_BASE_PATH share/games/deerportal)
+- install(TARGETS ${EXECUTABLE_NAME} DESTINATION games)
++ install(TARGETS ${EXECUTABLE_NAME} DESTINATION bin)
+ ENDIF()
+
+ add_definitions(-DBASE_PATH="${CMAKE_INSTALL_PREFIX}")
diff --git a/debian/patches/fix-game-install-location b/debian/patches/fix-game-install-location
new file mode 100644
index 0000000..4e54aad
--- /dev/null
+++ b/debian/patches/fix-game-install-location
@@ -0,0 +1,14 @@
+Description: Fix game install location
+ Games go in /usr/games, I think, not /usr/bin
+
+--- deerportal-0.8.2.orig/CMakeLists.txt
++++ deerportal-0.8.2/CMakeLists.txt
+@@ -92,7 +92,7 @@ IF (WIN32)
+
+ ELSE()
+ set (ASSETS_BASE_PATH share/games/deerportal)
+- install(TARGETS ${EXECUTABLE_NAME} DESTINATION bin)
++ install(TARGETS ${EXECUTABLE_NAME} DESTINATION games)
+ ENDIF()
+
+ add_definitions(-DBASE_PATH="${CMAKE_INSTALL_PREFIX}")
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..7d1fd3b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,3 @@
+fix-game-install-location
+Update-executable-filename
+Update-desktop-file
diff --git a/debian/rules b/debian/rules
index e042e69..340da8a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,11 @@
#!/usr/bin/make -f
# -*- makefile -*-
-# Uncomment this to turn on verbose mode.
-export DH_VERBOSE=1
+export DH_VERBOSE = 1
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+export DEB_CXXFLAGS_MAINT_APPEND = -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT
%:
dh $@
diff --git a/debian/source/include-binaries b/debian/source/include-binaries
new file mode 100644
index 0000000..f47f651
--- /dev/null
+++ b/debian/source/include-binaries
@@ -0,0 +1 @@
+assets/fnt/metal-macabre.regular.ttf

File Metadata

Mime Type
text/x-diff
Expires
Thu, Sep 11, 12:32 PM (13 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42653
Default Alt Text
(15 KB)

Event Timeline