r3900 - in packages/trunk/bulletml/debian: . patches

Miriam Ruiz baby-guest at alioth.debian.org
Tue Aug 28 09:39:13 UTC 2007


Author: baby-guest
Date: 2007-08-28 09:39:13 +0000 (Tue, 28 Aug 2007)
New Revision: 3900

Modified:
   packages/trunk/bulletml/debian/patches/fixes.patch
   packages/trunk/bulletml/debian/rules
Log:
Fixed makefile



Modified: packages/trunk/bulletml/debian/patches/fixes.patch
===================================================================
--- packages/trunk/bulletml/debian/patches/fixes.patch	2007-08-28 09:30:42 UTC (rev 3899)
+++ packages/trunk/bulletml/debian/patches/fixes.patch	2007-08-28 09:39:13 UTC (rev 3900)
@@ -1,7 +1,7 @@
 Index: bulletml-0.0.6/src/bulletmlparser.h
 ===================================================================
---- bulletml-0.0.6.orig/src/bulletmlparser.h	2007-08-27 20:47:04.000000000 +0000
-+++ bulletml-0.0.6/src/bulletmlparser.h	2007-08-27 20:47:07.000000000 +0000
+--- bulletml-0.0.6.orig/src/bulletmlparser.h	2007-08-28 09:01:12.000000000 +0000
++++ bulletml-0.0.6/src/bulletmlparser.h	2007-08-28 09:33:00.000000000 +0000
 @@ -70,11 +70,10 @@
      bool isHorizontal_;
  
@@ -19,8 +19,8 @@
  
 Index: bulletml-0.0.6/src/bulletmlparser-tinyxml.cpp
 ===================================================================
---- bulletml-0.0.6.orig/src/bulletmlparser-tinyxml.cpp	2007-08-27 20:47:04.000000000 +0000
-+++ bulletml-0.0.6/src/bulletmlparser-tinyxml.cpp	2007-08-27 20:47:07.000000000 +0000
+--- bulletml-0.0.6.orig/src/bulletmlparser-tinyxml.cpp	2007-08-28 09:01:12.000000000 +0000
++++ bulletml-0.0.6/src/bulletmlparser-tinyxml.cpp	2007-08-28 09:33:00.000000000 +0000
 @@ -5,8 +5,8 @@
  
  #include <string>
@@ -43,8 +43,8 @@
  }
 Index: bulletml-0.0.6/src/bulletmlparser-tinyxml.h
 ===================================================================
---- bulletml-0.0.6.orig/src/bulletmlparser-tinyxml.h	2007-08-27 20:47:04.000000000 +0000
-+++ bulletml-0.0.6/src/bulletmlparser-tinyxml.h	2007-08-27 20:47:07.000000000 +0000
+--- bulletml-0.0.6.orig/src/bulletmlparser-tinyxml.h	2007-08-28 09:01:12.000000000 +0000
++++ bulletml-0.0.6/src/bulletmlparser-tinyxml.h	2007-08-28 09:33:00.000000000 +0000
 @@ -16,12 +16,12 @@
  
  class BulletMLParserTinyXML : public BulletMLParser {
@@ -70,8 +70,8 @@
  
 Index: bulletml-0.0.6/src/bulletmlparser-xerces.cpp
 ===================================================================
---- bulletml-0.0.6.orig/src/bulletmlparser-xerces.cpp	2007-08-27 20:47:04.000000000 +0000
-+++ bulletml-0.0.6/src/bulletmlparser-xerces.cpp	2007-08-27 20:47:07.000000000 +0000
+--- bulletml-0.0.6.orig/src/bulletmlparser-xerces.cpp	2007-08-28 09:01:12.000000000 +0000
++++ bulletml-0.0.6/src/bulletmlparser-xerces.cpp	2007-08-28 09:33:00.000000000 +0000
 @@ -19,9 +19,9 @@
  	BulletMLParserXercesSAXHandler(BulletMLParserXerces* parser);
  
@@ -105,8 +105,8 @@
  	}
 Index: bulletml-0.0.6/src/bulletmlparser-xerces.h
 ===================================================================
---- bulletml-0.0.6.orig/src/bulletmlparser-xerces.h	2007-08-27 20:47:04.000000000 +0000
-+++ bulletml-0.0.6/src/bulletmlparser-xerces.h	2007-08-27 20:47:07.000000000 +0000
+--- bulletml-0.0.6.orig/src/bulletmlparser-xerces.h	2007-08-28 09:01:12.000000000 +0000
++++ bulletml-0.0.6/src/bulletmlparser-xerces.h	2007-08-28 09:33:00.000000000 +0000
 @@ -8,18 +8,14 @@
  
  #ifdef USE_XERCES
@@ -129,8 +129,8 @@
  
 Index: bulletml-0.0.6/src/bulletmlparser-ygg.cpp
 ===================================================================
---- bulletml-0.0.6.orig/src/bulletmlparser-ygg.cpp	2007-08-27 20:47:04.000000000 +0000
-+++ bulletml-0.0.6/src/bulletmlparser-ygg.cpp	2007-08-27 20:47:07.000000000 +0000
+--- bulletml-0.0.6.orig/src/bulletmlparser-ygg.cpp	2007-08-28 09:01:12.000000000 +0000
++++ bulletml-0.0.6/src/bulletmlparser-ygg.cpp	2007-08-28 09:33:00.000000000 +0000
 @@ -63,8 +63,8 @@
  	curNode_->setValue(trimString(text.get_text()));
  }
@@ -154,8 +154,8 @@
  std::string BulletMLParserYggdrasil::trimString(const std::string& str) {
 Index: bulletml-0.0.6/src/bulletmlparser-ygg.h
 ===================================================================
---- bulletml-0.0.6.orig/src/bulletmlparser-ygg.h	2007-08-27 20:47:04.000000000 +0000
-+++ bulletml-0.0.6/src/bulletmlparser-ygg.h	2007-08-27 20:47:07.000000000 +0000
+--- bulletml-0.0.6.orig/src/bulletmlparser-ygg.h	2007-08-28 09:01:12.000000000 +0000
++++ bulletml-0.0.6/src/bulletmlparser-ygg.h	2007-08-28 09:33:00.000000000 +0000
 @@ -24,7 +24,7 @@
  	void catch_text(yggdrasil::ygg_node text);
  
@@ -175,8 +175,8 @@
  
 Index: bulletml-0.0.6/src/bulletmlrunnerimpl.cpp
 ===================================================================
---- bulletml-0.0.6.orig/src/bulletmlrunnerimpl.cpp	2007-08-27 20:47:04.000000000 +0000
-+++ bulletml-0.0.6/src/bulletmlrunnerimpl.cpp	2007-08-27 20:47:07.000000000 +0000
+--- bulletml-0.0.6.orig/src/bulletmlrunnerimpl.cpp	2007-08-28 09:01:12.000000000 +0000
++++ bulletml-0.0.6/src/bulletmlrunnerimpl.cpp	2007-08-28 09:33:00.000000000 +0000
 @@ -25,8 +25,7 @@
  	&BulletMLRunnerImpl::runVanish
  };
@@ -221,8 +221,8 @@
  	calcChangeDirection(dir, term, type == BulletMLNode::sequence);
 Index: bulletml-0.0.6/src/bulletmlrunnerimpl.h
 ===================================================================
---- bulletml-0.0.6.orig/src/bulletmlrunnerimpl.h	2007-08-27 20:47:04.000000000 +0000
-+++ bulletml-0.0.6/src/bulletmlrunnerimpl.h	2007-08-27 20:47:07.000000000 +0000
+--- bulletml-0.0.6.orig/src/bulletmlrunnerimpl.h	2007-08-28 09:01:12.000000000 +0000
++++ bulletml-0.0.6/src/bulletmlrunnerimpl.h	2007-08-28 09:33:00.000000000 +0000
 @@ -136,7 +136,7 @@
      double getNumberContents(const BulletMLNode* node);
      std::vector<double>* getParameters();
@@ -234,8 +234,8 @@
  private:
 Index: bulletml-0.0.6/src/calc.cpp
 ===================================================================
---- bulletml-0.0.6.orig/src/calc.cpp	2007-08-27 20:47:04.000000000 +0000
-+++ bulletml-0.0.6/src/calc.cpp	2007-08-27 20:47:07.000000000 +0000
+--- bulletml-0.0.6.orig/src/calc.cpp	2007-08-28 09:01:12.000000000 +0000
++++ bulletml-0.0.6/src/calc.cpp	2007-08-28 09:33:00.000000000 +0000
 @@ -1017,9 +1017,9 @@
  
  
@@ -286,9 +286,9 @@
  
 Index: bulletml-0.0.6/src/Makefile
 ===================================================================
---- bulletml-0.0.6.orig/src/Makefile	2007-08-27 20:47:04.000000000 +0000
-+++ bulletml-0.0.6/src/Makefile	2007-08-27 20:47:07.000000000 +0000
-@@ -1,27 +1,28 @@
+--- bulletml-0.0.6.orig/src/Makefile	2007-08-28 09:01:12.000000000 +0000
++++ bulletml-0.0.6/src/Makefile	2007-08-28 09:36:11.000000000 +0000
+@@ -1,27 +1,38 @@
 -CC = g++
 -INCLUDES = -I.
 -LIBS = tinyxml/tinyxml.o tinyxml/tinyxmlparser.o tinyxml/tinyxmlerror.o
@@ -302,16 +302,26 @@
 +	formula-variables.o bulletmlrunner.o bulletmlrunnerimpl.o bulletml_d.o
  
 -all: libbulletml.a
-+all: libbulletml_d.a
++MAJOR=0d1
++MINOR=0
  
 -libbulletml.a: $(OBJS)
-+libbulletml_d.a: ../bulletml.d $(OBJS)
- 	$(MAKE) -C tinyxml
--	$(AR) -r libbulletml.a *.o tinyxml/tiny*.o
++all: libbulletml_d.a libbulletml_d.so
++
++libbulletml_d.so: tinyxml/tinyxml.o ../bulletml.d $(OBJS)
++	gcc -shared -Wl,-soname,libfoo.so.$(MAJOR) -o libbulletml_d.so.$(MAJOR).$(MINOR) *.o tinyxml/tiny*.o
++	ln -s libbulletml_d.so.$(MAJOR).$(MINOR) libbulletml_d.so.$(MAJOR)
++	ln -s libbulletml_d.so.$(MAJOR) libbulletml_d.so
++
++libbulletml_d.a: tinyxml/tinyxml.o ../bulletml.d $(OBJS)
 +	ar cru libbulletml_d.a *.o tinyxml/tiny*.o
 +
 +../bulletml.d: bulletml_d.cpp
 +	perl ../d_cpp/create_d_import.pl bulletml_d.cpp bulletml.d
++
++tinyxml/tinyxml.o:
+ 	$(MAKE) -C tinyxml
+-	$(AR) -r libbulletml.a *.o tinyxml/tiny*.o
  
  clean:
 -	rm -f *.o *.a

Modified: packages/trunk/bulletml/debian/rules
===================================================================
--- packages/trunk/bulletml/debian/rules	2007-08-28 09:30:42 UTC (rev 3899)
+++ packages/trunk/bulletml/debian/rules	2007-08-28 09:39:13 UTC (rev 3900)
@@ -37,6 +37,7 @@
 	dh_testroot
 	rm -f build-stamp configure-stamp
 	-$(MAKE) -C src clean
+	$(MAKE) -f /usr/share/quilt/quilt.make unpatch
 	dh_clean 
 
 install: build
@@ -44,9 +45,8 @@
 	dh_testroot
 	dh_clean -k
 	dh_installdirs
+	#$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
 
-	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
-
 # Build architecture-independent files here.
 binary-indep: build install
 




More information about the Pkg-games-commits mailing list