Commit 469e4343 authored by Ricardo Mones's avatar Ricardo Mones

new upstream release 0.7.0

parent 063f45c1
epiphany (0.7.0-1) unstable; urgency=low
* New upstream version
* Removed clanlib dependency, added new SDL depends and automake
* Removed dpatch-ification, no patches are required
* Added configure target in rules with corresponding DEB_ vars
* Added cleanup of upstream .cvsignore files in -data package
* Removed redundant encoding line from desktop file
* Compatibility specification moved to compat file
* Fixed obsolete Source-Version usage to binary:Version
* Updated to newer Standards-Version
* Changed section to Games/Action according menu policy
-- Ricardo Mones <mones@debian.org> Fri, 28 Dec 2007 10:20:34 +0100
epiphany (0.5.1-5) unstable; urgency=low
* Add icon name to desktop file (Closes: #407356)
......
......@@ -3,8 +3,8 @@ Section: games
Priority: optional
Maintainer: Joerg Jaspert <joerg@debian.org>
Uploaders: Ricardo Mones <mones@debian.org>
Build-Depends: debhelper (>> 5.0.0), dpatch (>= 2.0.10), libclanlib-dev
Standards-Version: 3.7.2
Build-Depends: debhelper (>> 5), automake, libsdl1.2-dev, libsdl-mixer1.2-dev
Standards-Version: 3.7.3
Package: epiphany
Architecture: any
......@@ -22,7 +22,7 @@ Package: epiphany-data
Architecture: all
Conflicts: epiphany (<< 0.5.1-2)
Replaces: epiphany (<< 0.5.1-2)
Recommends: epiphany (>= ${Source-Version})
Recommends: epiphany (>= ${binary:Version})
Description: required maps for epiphany game
This package provides all architecture-independent data files
required for playing with epiphany, the Boulder Dash clone.
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Epiphany
GenericName=Game
Comment=Collect valuable minerals, while avoiding being hit by a falling boulder or a bomb
......
Upstream-Version=0.5.1
Upstream-Version=0.7.0
?package(epiphany):needs="X11" section="Games/Arcade"\
?package(epiphany):needs="X11" section="Games/Action"\
icon="/usr/share/pixmaps/epiphany-game.xpm" \
title="Epiphany" command="/usr/games/epiphany-game"
01Makefile.dpatch
#! /bin/sh /usr/share/dpatch/dpatch-run
## 01Makefile.dpatch by Ricardo Mones <mones@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Set resource path
@DPATCH@
--- epiphany-0.5.1.orig/Makefile
+++ epiphany-0.5.1/Makefile
@@ -14,7 +14,7 @@
entity_steel.o entity_grass.o entity_exit.o entity_key.o pointer.o \
screen.o sprite.o menu.o game.o
-RESOURCE=-DRESOURCE_PATH="\".\""
+RESOURCE=-DRESOURCE_PATH="\"/usr/share/epiphany/\""
%.o: %.cpp
$(CXX) $(OPTFLAGS) $(DEBUGFLAGS) $(RESOURCE) -c $^
--- epiphany-0.5.1.orig/Makefile
+++ epiphany-0.5.1/Makefile
@@ -14,7 +14,7 @@
entity_steel.o entity_grass.o entity_exit.o entity_key.o pointer.o \
screen.o sprite.o menu.o game.o
-RESOURCE=-DRESOURCE_PATH="\".\""
+RESOURCE=-DRESOURCE_PATH="\"/usr/share/epiphany/\""
%.o: %.cpp
$(CXX) $(OPTFLAGS) $(DEBUGFLAGS) $(RESOURCE) -c $^
#!/usr/bin/make -f
include /usr/share/dpatch/dpatch.make
#export DH_VERBOSE=1
export DH_COMPAT=5
PACKAGE := epiphany
pwd=$(shell pwd)
......@@ -14,6 +11,9 @@ d = ${TOPDIR}/debian/epiphany-data
UPSTREAM_VERSION = $(shell /bin/bash ${TOPDIR}/debian/get-ups-ver.sh ${TOPDIR})
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
......@@ -22,34 +22,40 @@ else
CFLAGS += -O2
endif
build: patch build-stamp
configure-stamp: configure
dh_testdir
CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) \
--build=$(DEB_BUILD_GNU_TYPE) \
--prefix=/usr
touch configure-stamp
build-stamp:
build: build-stamp
build-stamp: configure-stamp
dh_testdir
$(MAKE) DEBUGFLAGS="" OPTFLAGS='$(CFLAGS)'
$(MAKE) # DEBUGFLAGS="" OPTFLAGS='$(CFLAGS)'
touch build-stamp
clean: clean-patched unpatch
clean-patched:
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
-$(MAKE) clean
[ ! -f Makefile ] || $(MAKE) clean
dh_clean
install: build
install:
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
cp ./epiphany $(t)/usr/games/epiphany-game
cp -a maps gfx sfx $(d)/usr/share/epiphany
cp sprites.scr $(d)/usr/share/epiphany
cp src/epiphany-game $(t)/usr/games/epiphany-game
rm -f data/maps/.cvsignore data/gfx/.cvsignore data/sfx/.cvsignore
cp -a data/maps data/gfx data/sfx $(d)/usr/share/epiphany
cp data/epiphany.scr $(d)/usr/share/epiphany
cp debian/epiphany-game.xpm $(t)/usr/share/pixmaps
cp debian/epiphany-game.desktop $(t)/usr/share/applications
binary-indep: build install
binary-indep:
binary-arch: build install
dh_testdir
......
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