r11735 - in packages/trunk/fenix/debian: . patches

Peter Pentchev roam-guest at alioth.debian.org
Thu Feb 10 11:06:39 UTC 2011


Author: roam-guest
Date: 2011-02-10 11:06:38 +0000 (Thu, 10 Feb 2011)
New Revision: 11735

Removed:
   packages/trunk/fenix/debian/patches/headers.patch
Modified:
   packages/trunk/fenix/debian/changelog
   packages/trunk/fenix/debian/rules
Log:
Fix the arch-dep only build by dropping headers.patch altogether.

Reported by:	ansgar


Modified: packages/trunk/fenix/debian/changelog
===================================================================
--- packages/trunk/fenix/debian/changelog	2011-02-10 10:43:23 UTC (rev 11734)
+++ packages/trunk/fenix/debian/changelog	2011-02-10 11:06:38 UTC (rev 11735)
@@ -1,7 +1,5 @@
 fenix (0.92a.dfsg1-6) UNRELEASED; urgency=low
 
-  TODO: fix the arch-dependent-only build (pointed out by ansgar)
-
   [ Peter De Wachter ]
   * Fixed watch file. (Closes: #544789)
 
@@ -29,6 +27,10 @@
   * Remove the dh_compress override - dh_compress(1) already will compress
     all the text files in /usr/share/doc/fenix.  This change also fixes
     the arch-indep only build.
+  * Drop the headers patch to unbreak the arch-dep only build; seems safe,
+    because well-behaved Fenix-using packages would add -I/usr/include/Fenix
+    if they need to use its headers and would invoke sdl-config to add
+    the SDL headers directory anyway.
 
  -- Peter Pentchev <roam at ringlet.net>  Fri, 26 Nov 2010 16:28:08 +0200
 

Deleted: packages/trunk/fenix/debian/patches/headers.patch
===================================================================
--- packages/trunk/fenix/debian/patches/headers.patch	2011-02-10 10:43:23 UTC (rev 11734)
+++ packages/trunk/fenix/debian/patches/headers.patch	2011-02-10 11:06:38 UTC (rev 11735)
@@ -1,66 +0,0 @@
-# Copyright (C) 2007  Miriam Ruiz <little_miry at yahoo.es>
-# Licensed under the GPL, see /usr/share/common-licenses/GPL
-
-diff -ruN fenix-dev.orig/usr/include/fenix/flic_st.h fenix-dev/usr/include/fenix/flic_st.h
---- fenix-dev.orig/usr/include/fenix/flic_st.h	2007-04-12 22:08:26.000000000 +0000
-+++ fenix-dev/usr/include/fenix/flic_st.h	2007-07-31 21:43:44.411918795 +0000
-@@ -27,11 +27,7 @@
- #ifndef __FLIC_ST_H
- #define __FLIC_ST_H
- 
--#ifdef TARGET_MAC
- #include <SDL/SDL_types.h>
--#else
--#include <SDL_types.h>
--#endif
- 
- #ifndef __GNUC__
- #define __PACKED
-diff -ruN fenix-dev.orig/usr/include/fenix/fxdll.h fenix-dev/usr/include/fenix/fxdll.h
---- fenix-dev.orig/usr/include/fenix/fxdll.h	2007-07-31 19:43:07.604042000 +0000
-+++ fenix-dev/usr/include/fenix/fxdll.h	2007-07-31 21:44:14.025769545 +0000
-@@ -29,21 +29,17 @@
- 
- #define FNXDLL
- 
--#ifdef TARGET_MAC
- #include <SDL/SDL.h>
--#else
--#include <SDL.h>
--#endif
- 
--#include <instance_st.h>
--#include <grlib_st.h>
--#include <files_st.h>
--#include <typedef_st.h>
--#include <xctype_st.h>
--#include <flic_st.h>
--#include <i_procdef_st.h>
--#include <offsets.h>
--#include <pslang.h>
-+#include "instance_st.h"
-+#include "grlib_st.h"
-+#include "files_st.h"
-+#include "typedef_st.h"
-+#include "xctype_st.h"
-+#include "flic_st.h"
-+#include "i_procdef_st.h"
-+#include "offsets.h"
-+#include "pslang.h"
- 
- #ifdef __cplusplus
- extern "C" {
-diff -ruN fenix-dev.orig/usr/include/fenix/instance_st.h fenix-dev/usr/include/fenix/instance_st.h
---- fenix-dev.orig/usr/include/fenix/instance_st.h	2007-07-31 19:43:07.536038000 +0000
-+++ fenix-dev/usr/include/fenix/instance_st.h	2007-07-31 21:42:29.559240795 +0000
-@@ -27,10 +27,6 @@
- #ifndef __INSTANCE_ST_H
- #define __INSTANCE_ST_H
- 
--//#ifndef __I_PROCDEF_H
--//#include "i_procdef.h"
--//#endif
--
- #define STACK_NO_RETURN_VALUE	0x8000
- #define STACK_SIZE_MASK			0x7FFF
- 

Modified: packages/trunk/fenix/debian/rules
===================================================================
--- packages/trunk/fenix/debian/rules	2011-02-10 10:43:23 UTC (rev 11734)
+++ packages/trunk/fenix/debian/rules	2011-02-10 11:06:38 UTC (rev 11735)
@@ -42,10 +42,6 @@
 	cp debian/fenix.sh $(CURDIR)/debian/tmp/usr/bin/fenix
 	chmod +x $(CURDIR)/debian/tmp/usr/bin/fenix
 
-override_dh_install:
-	dh_install
-	cd $(CURDIR)/debian/fenix-dev && patch -p1 < $(CURDIR)/debian/patches/headers.patch
-
 override_dh_installdocs:
 	dh_installdocs --exclude=license.txt --exclude=authors.txt
 




More information about the Pkg-games-commits mailing list