[Frugalware-darcs] setup-current: added an initial dialog to the asklang plugin

VMiklos vmiklos at frugalware.org
Thu Mar 16 17:53:22 CET 2006


[added an initial dialog to the asklang plugin
VMiklos <vmiklos at frugalware.org>**20051102191716] {
hunk ./src/plugins/Makefile 6
+LDFLAGS=-ldialog -lcurses -lm
hunk ./src/plugins/Makefile 13
-	$(CC) -shared -Wl,-soname,asklang.so -o 01asklang.so $<
+	$(CC) -shared -Wl,-soname,asklang.so -o 01asklang.so $< $(LDFLAGS)
hunk ./src/plugins/asklang.c 2
+#include <dialog.h>
hunk ./src/plugins/asklang.c 21
+	FILE *input = stdin;
+	dialog_state.output = stderr;
+
+	init_dialog(input, dialog_state.output);
+	dialog_msgbox("title", "content", 0, 0, 0);
+	end_dialog();
+
hunk ./src/setup.h 4
+#ifndef _
hunk ./src/setup.h 6
+#endif
}


More information about the Frugalware-darcs mailing list