Bug#509962: lmemory: build system a mess

Clint Adams schizo at debian.org
Sun Dec 28 00:44:01 UTC 2008


Package: lmemory
Version: 0.6c-3

Makefile.am and Makefile.in do not match, and relying on
shell variables set to constants in configure.in is not
hugely successful with newer autotools:

Index: lmemory-0.6c/Makefile.am
===================================================================
--- lmemory-0.6c.orig/Makefile.am	2008-12-27 19:31:27.000000000 -0500
+++ lmemory-0.6c/Makefile.am	2008-12-27 19:31:35.000000000 -0500
@@ -5,7 +5,9 @@
 			mmain.c	\
 			lmem_window.c \
 			lmem_menu.c \
-			callbacks.c \
+			help.c \
+			support.c \
+			lmem_level.c \
 			xpm_widget.c \
 			lmemory.h
  
Index: lmemory-0.6c/configure.in
===================================================================
--- lmemory-0.6c.orig/configure.in	2008-12-27 19:35:38.000000000 -0500
+++ lmemory-0.6c/configure.in	2008-12-27 19:35:58.000000000 -0500
@@ -1,10 +1,7 @@
 dnl Process this file with autoconf to produce a configure script.
 AC_INIT(lmem_window.c)
 
-VERSION=\"0.6\"
-PACKAGE=lmemory
-
-AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define)
+AM_INIT_AUTOMAKE(lmemory, 0.6, no-define)
 
 dnl AM_ACLOCAL_INCLUDE(macros)
 
Index: lmemory-0.6c/help.c
===================================================================
--- lmemory-0.6c.orig/help.c	2008-12-27 19:36:41.000000000 -0500
+++ lmemory-0.6c/help.c	2008-12-27 19:36:47.000000000 -0500
@@ -39,7 +39,7 @@
     
     /* Set the about box labels */
     label = lookup_widget (window_about, "label_about_version");
-    gtk_label_set_text(GTK_LABEL(label), VERSION);
+    gtk_label_set_text(GTK_LABEL(label), PACKAGE_VERSION);
     label = lookup_widget (window_about, "label_about_date");
     gtk_label_set_text(GTK_LABEL(label), __DATE__);
     





More information about the Pkg-games-devel mailing list