Bug#576332: debian package build procedure buggy

Simon Adda-Reyss simon.addareyss at libertysurf.fr
Sat Apr 3 12:54:34 UTC 2010


Source: glfw
Version: 2.6-1
Tags: patch


Hello, I think the rules files is totally incorrect (.pc files not
correctly included in dev file), wrong soname.
Attached is a small patch that should correct it.
Thanks,
S.


Saluton, mi pensas ke la rules dosiero eraras en tio paketo.
Mi aldonajhas flikajhon.
Dankojn,
S.






diff -Naur glfw-2.6/debian/changelog glfw-2.6~~/debian/changelog
--- glfw-2.6/debian/changelog	Tue Mar 23 18:54:06 2010
+++ glfw-2.6~~/debian/changelog	Tue Mar 23 18:54:06 2010
@@ -1,10 +1,3 @@
-glfw (2.6-1simwoody2) unstable; urgency=low
-
-  * eraro en dosiero .pc: ok
-  * dh_link dosiero libglfw2.links estis cima: ok
-
- -- Simon Adda-Reyss <simon.addareyss at libertysurf.fr>  Mon, 22 Mar 2010 19:31:09 +0100
-
 glfw (2.6-1simwoody1) unstable; urgency=low
 
   * demande des dependances existant sur simwoody
diff -Naur glfw-2.6/debian/libglfw2.links glfw-2.6~~/debian/libglfw2.links
--- glfw-2.6/debian/libglfw2.links	Tue Mar 23 18:54:06 2010
+++ glfw-2.6~~/debian/libglfw2.links	Tue Mar 23 18:54:06 2010
@@ -1,2 +1,2 @@
-usr/lib/libglfw.so.2.6.0 usr/lib/libglfw.so.2
-usr/lib/libglfw.so.2.6.0 usr/lib/libglfw.so.2.6
+usr/lib/libglfw.so.2.6 usr/lib/libglfw.so.2
+usr/lib/libglfw.so.2.6 usr/lib/libglfw.so.2.6
diff -Naur glfw-2.6/debian/rules glfw-2.6~~/debian/rules
--- glfw-2.6/debian/rules	Tue Mar 23 18:54:06 2010
+++ glfw-2.6~~/debian/rules	Tue Mar 23 18:54:06 2010
@@ -32,11 +32,8 @@
 	dh_testroot
 	dh_clean -k
 	dh_installdirs
-	sed -e 's/\@PREFIX\@/\/usr/' $(CURDIR)/lib/x11/libglfw.pc.in \
-	>$(CURDIR)/lib/x11/libglfw.pc 
 	make x11-install PREFIX=$(CURDIR)/debian/tmp/usr
-	cp lib/x11/libglfw.so debian/tmp/usr/lib/libglfw.so.2.6.0
-
+	cp lib/x11/libglfw.so debian/tmp/usr/lib/libglfw.so.2.6
 
 
 # Build architecture-independent files here.





More information about the Pkg-games-devel mailing list