Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/languages
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv10457

Added Files:
        mdk.info mdk.patch 
Log Message:
New from Tracker 1545962


--- NEW FILE: mdk.patch ---
--- 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

--- NEW FILE: mdk.info ---
Info2: <<
Package: mdk%type_pkg[-gui]
Type: -gui (boolean)

Version: 1.2.3
Revision: 1
License: GPL
Description: GNU MIX Development Kit
Maintainer: Aleix Conchillo <[EMAIL PROTECTED]>

Depends: <<
guile16-libs, guile16-shlibs, glib2-shlibs, libgettext3-shlibs,
libiconv, libncurses5-shlibs, readline5-shlibs,
(%type_raw[-gui] = -gui) atk1-shlibs,
(%type_raw[-gui] = -gui) gtk+2-shlibs,
(%type_raw[-gui] = -gui) libglade2-shlibs,
(%type_raw[-gui] = -gui) libxml2-shlibs,
(%type_raw[-gui] = -gui) pango1-xft2,
(%type_raw[-gui] = -gui) pango1-xft2-shlibs,
(%type_raw[-gui] = -gui) x11
<<
BuildDepends: <<
automake1.9, gettext-tools, glib2-dev, guile16, guile16-dev,
libgettext3-dev, libiconv-dev, libncurses5, pkgconfig, readline5,
(%type_raw[-gui] = -gui) atk1,
(%type_raw[-gui] = -gui) gtk+2-dev,
(%type_raw[-gui] = -gui) libglade2,
(%type_raw[-gui] = -gui) libxml2,
(%type_raw[-gui] = -gui) pango1-xft2-dev,
(%type_raw[-gui] = -gui) x11-dev
<<

Conflicts: mdk, mdk-gui
Replaces: mdk, mdk-gui

Source: mirror:gnu:%{Ni}/v%v/mdk-%v.tar.gz
Source-MD5: 1c74ec62c847792706be412289c8152b

PatchScript: <<
touch %b/lib/foo.c
sed -e "s|[EMAIL PROTECTED]@|%p|" %a/mdk.patch | patch -p1
<<

CompileScript: <<
#!/bin/sh -ev
export LIBRARY_PATH=%p/lib
automake -a
autoconf
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
<<


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to