Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/languages In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv6755
Modified Files: mdk.patch Log Message: Update from tracker http://sourceforge.net/tracker/index.php?func=detail&aid=2098433&group_id=17203&atid=414256 Index: mdk.patch =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/languages/mdk.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- mdk.patch 3 Oct 2006 17:53:15 -0000 1.1 +++ mdk.patch 28 Sep 2008 20:29:27 -0000 1.2 @@ -1,82 +1,94 @@ ---- mdk-1.2.3.orig/configure.in 2006-09-28 22:16:03.000000000 +0200 -+++ mdk-1.2.3/configure.in 2006-09-28 22:21:38.000000000 +0200 -@@ -89,15 +89,15 @@ - if test x$wguile = xtrue; then - dnl AC_CHECK_HEADER(guile/gh.h,,wguile=false) - AC_MSG_CHECKING(for Guile) -- guile-config link > /dev/null || { -+ guile-1.6-config link > /dev/null || { - AC_MSG_RESULT(no) - wguile=false - } - fi - - if test x$wguile = xtrue; then -- GUILE_CFLAGS="`guile-config compile`" -- GUILE_LDFLAGS="`guile-config link`" -+ GUILE_CFLAGS="`guile-1.6-config compile`" -+ GUILE_LDFLAGS="`guile-1.6-config link`" - LIBS="$LIBS $GUILE_LDFLAGS" - AM_CFLAGS="$AM_CFLAGS $GUILE_CFLAGS" - AC_SUBST(MAKE_GUILE) ---- mdk-1.2.3.orig/lib/Makefile.am 2005-09-21 17:52:52.000000000 +0200 -+++ mdk-1.2.3/lib/Makefile.am 2005-09-21 17:52:52.000000000 +0200 -@@ -13,5 +13,5 @@ - EXTRA_DIST = getopt_long.c getopt.h - - noinst_LIBRARIES = libreplace.a --libreplace_a_SOURCES = -+libreplace_a_SOURCES = foo.c - libreplace_a_LIBADD = @LIBOBJS@ -\ No newline at end of file ---- mdk-1.2.3.orig/lib/foo.c 2005-09-21 18:05:48.000000000 +0200 -+++ mdk-1.2.3/lib/foo.c 2005-09-21 18:06:00.000000000 +0200 -@@ -0,0 +1,5 @@ -+int -+foo_for_darwin (void) -+{ -+ return 0; -+} ---- mdk-1.2.3.orig/mixgtk/Makefile.am 2005-09-21 18:24:14.000000000 +0200 -+++ mdk-1.2.3/mixgtk/Makefile.am 2005-09-21 18:24:22.000000000 +0200 -@@ -31,7 +31,6 @@ - LDADD = $(top_builddir)/mixlib/libmix.a $(top_builddir)/lib/libreplace.a\ - $(top_builddir)/mixguile/libmixguile.a $(INTLLIBS) - --AM_LDFLAGS = -Wl,--export-dynamic - bin_PROGRAMS = gmixvm - gmixvm_SOURCES = gmixvm.c mixgtk.h mixgtk.c \ - mixgtk_config.h mixgtk_config.c \ ---- mdk-1.2.3.orig/mixgtk/mixgtk_device.c 2006-08-24 12:37:25.000000000 +0200 -+++ mdk-1.2.3/mixgtk/mixgtk_device.c 2006-08-24 12:43:03.000000000 +0200 -@@ -188,7 +188,9 @@ - input_list_ = gtk_list_store_new (1, G_TYPE_STRING); - gtk_entry_completion_set_model (completion, GTK_TREE_MODEL (input_list_)); - gtk_entry_completion_set_popup_completion (completion, TRUE); -+#if GTK_CHECK_VERSION(2,8,0) - gtk_entry_completion_set_popup_single_match (completion, TRUE); -+#endif - gtk_entry_completion_set_inline_completion (completion, FALSE); - gtk_entry_completion_set_minimum_key_length (completion, 1); - gtk_entry_completion_set_text_column (completion, 0); ---- mdk-1.2.3.orig/mixgtk/mixgtk_external.c 2006-08-24 12:55:46.000000000 +0200 -+++ mdk-1.2.3/mixgtk/mixgtk_external.c 2006-08-24 13:10:46.000000000 +0200 -@@ -44,8 +44,8 @@ - - static const gchar *EDITOR_KEY_ = "Editor"; - static const gchar *MIXASM_KEY_ = "Mixasm"; --static const gchar *DEFAULT_EDITOR_CMD_ = "/usr/bin/xterm -e vi %s"; --static const gchar *DEFAULT_ASM_CMD_ = "/usr/bin/mixasm"; -+static const gchar *DEFAULT_EDITOR_CMD_ = "/usr/bin/open -a TextEdit %s"; -+static const gchar *DEFAULT_ASM_CMD_ = "@PREFIX@/bin/mixasm %s"; - - static mix_vm_cmd_dispatcher_t *dispatcher_; - -@@ -104,6 +104,7 @@ - } - - gtk_file_filter_add_mime_type (filter, "application/x-executable"); -+ gtk_file_filter_add_mime_type (filter, "application/octet-stream"); - gtk_file_chooser_set_filter - (GTK_FILE_CHOOSER (ext_wdg_[ext_wdg_asm_chooser]), filter); - gtk_file_chooser_set_filter +Info2: << +Package: mdk%type_pkg[-gui] +Type: -gui (boolean) + +Version: 1.2.4 +Revision: 1 +License: GPL +Description: GNU MIX Development Kit +Maintainer: Aleix Conchillo Flaque <[EMAIL PROTECTED]> + +Depends: << +guile16-libs, guile16-shlibs, glib2-shlibs (>= 2.14.0-1), libgettext3-shlibs, +libiconv, libncurses5-shlibs, readline5-shlibs, +(%type_raw[-gui] = -gui) atk1-shlibs (>= 1.20.0-1), +(%type_raw[-gui] = -gui) gtk+2-shlibs (>= 2.12.0-1), +(%type_raw[-gui] = -gui) libglade2-shlibs (>= 2.6.2-1), +(%type_raw[-gui] = -gui) libxml2-shlibs (>= 2.6.30-1), +(%type_raw[-gui] = -gui) pango1-xft2-ft219 (>= 1.18.4-4), +(%type_raw[-gui] = -gui) x11 +<< +BuildDepends: << +automake1.9, gettext-tools, glib2-dev (>= 2.14.0-1), guile16, guile16-dev, +intltool, libgettext3-dev, libiconv-dev, libncurses5, pkgconfig (>= 0.21-1), readline5, +(%type_raw[-gui] = -gui) atk1 (>= 1.20.0-1), +(%type_raw[-gui] = -gui) cairo (>= 1.6-1), +(%type_raw[-gui] = -gui) expat1, +(%type_raw[-gui] = -gui) fontconfig2-dev (>= 2.4.1-1), +(%type_raw[-gui] = -gui) freetype219 (>= 2.3.5-1), +(%type_raw[-gui] = -gui) glitz, +(%type_raw[-gui] = -gui) gtk+2-dev (>= 2.12.0-1), +(%type_raw[-gui] = -gui) libglade2 (>= 2.6.2-1), +(%type_raw[-gui] = -gui) libpng3, +(%type_raw[-gui] = -gui) libxml2 (>= 2.6.30-1), +(%type_raw[-gui] = -gui) pango1-xft2-ft219-dev (>= 1.18.4-4), +(%type_raw[-gui] = -gui) pixman (>= 0.10.0-1), +(%type_raw[-gui] = -gui) x11-dev, +(%type_raw[-gui] = -gui) xft2-dev +<< + +Conflicts: mdk, mdk-gui +Replaces: mdk, mdk-gui + +Source: mirror:gnu:%{Ni}/v%v/mdk-%v.tar.gz +Source-MD5: a1dd320fa5f8a791db7e66155200ee55 + +PatchScript: << +touch %b/lib/foo.c +sed -e "s|[EMAIL PROTECTED]@|%p|" %a/mdk.patch | patch -p1 +<< + +NoSetMAKEFLAGS: true +SetMAKEFLAGS: -j1 +ConfigureParams: --disable-dependency-tracking PKG_CONFIG_PATH="%p/lib/pango-ft219/lib/pkgconfig:%p/lib/fontconfig2/lib/pkgconfig:%p/lib/freetype219/lib/pkgconfig:$PKG_CONFIG_PATH" FREETYPE_CONFIG=%p/lib/freetype219/bin/freetype-config +CompileScript: << +#!/bin/sh -ev +export LIBRARY_PATH=%p/lib +autoreconf +automake -a +if [ "%type_raw[-gui]" == "-gui" ]; then + ./configure %c +else + ./configure %c --disable-gui +fi +make +<< + +InfoDocs: %{Ni}.info +DocFiles: ABOUT-NLS AUTHORS COPYING ChangeLog NEWS THANKS TODO + +DescDetail: << +MDK stands for MIX Development Kit, and provides +tools for developing and executing, in a MIX virtual +machine, MIXAL programs. + +The MIX is Donald Knuth's mythical computer, +described in the first volume of The Art of Computer +Programming, which is programmed using MIXAL, the MIX +assembly language. + +MDK includes a MIXAL assembler (mixasm) and a MIX +virtual machine (mixvm) with a command line +interface. In addition, a GTK+ GUI to mixvm, called +gmixvm, and a Guile interpreter with an embedded MIX +virtual machine called mixguile, are provided. + +Using these interfaces, you can debug your MIXAL +programs at source code level, and read/modify the +contents of all the components of the MIX computer +(including block devices, which are simulated using +the file system). +<< + +Homepage: http://www.gnu.org/software/mdk/mdk.html +<< ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs