summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmati Mitame2016-09-30 23:43:18 +0100
committerEmati Mitame2016-09-30 23:43:18 +0100
commitd61b9160d388119e439b81b0e4ddcc88fc35e0c1 (patch)
tree2554bf3a3dcf7fc9489445571848a7a3297584f4
downloadaur-kmd.tar.gz
Initial commit
-rw-r--r--.SRCINFO18
-rw-r--r--KMD-0.9.19.patch99
-rw-r--r--PKGBUILD39
3 files changed, 156 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2d551536d58
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = kmd
+ pkgdesc = Komodo Manchester Debugger
+ pkgver = 0.9.19
+ pkgrel = 1
+ url = http://brej.org/kmd/
+ arch = i386
+ arch = x86_64
+ license = GPL
+ depends = gtk>=1.2.0
+ depends = glib>=1.2.0
+ provides = kmd
+ source = http://brej.org/kmd/dist/KMD-0.9.19.tar.gz
+ source = KMD-0.9.19.patch
+ md5sums = 478e35adc758ca6fecbfd6a49c6d7c50
+ md5sums = SKIP
+
+pkgname = kmd
+
diff --git a/KMD-0.9.19.patch b/KMD-0.9.19.patch
new file mode 100644
index 00000000000..df830eadeb8
--- /dev/null
+++ b/KMD-0.9.19.patch
@@ -0,0 +1,99 @@
+Only in KMD-0.9.19-fixed: config.h
+Only in KMD-0.9.19-fixed: config.log
+Only in KMD-0.9.19-fixed: config.status
+Only in KMD-0.9.19-fixed: Makefile
+Only in KMD-0.9.19-fixed/src: asmload.o
+Only in KMD-0.9.19-fixed/src: breakcalls.o
+Only in KMD-0.9.19-fixed/src: breaksupport.o
+Only in KMD-0.9.19-fixed/src: breakview.o
+Only in KMD-0.9.19-fixed/src: callbacks.o
+Only in KMD-0.9.19-fixed/src: chump.o
+Only in KMD-0.9.19-fixed/src: .deps
+Only in KMD-0.9.19-fixed/src: dotparse.o
+Only in KMD-0.9.19-fixed/src: emulcore.o
+Only in KMD-0.9.19-fixed/src: emulmips.o
+Only in KMD-0.9.19-fixed/src: error.o
+Only in KMD-0.9.19-fixed/src: exp.o
+Only in KMD-0.9.19-fixed/src: fake.o
+Only in KMD-0.9.19-fixed/src: flash
+Only in KMD-0.9.19-fixed/src: flash.o
+diff -rua KMD-0.9.19/src/interface.c KMD-0.9.19-fixed/src/interface.c
+--- KMD-0.9.19/src/interface.c 2007-01-03 16:50:04.000000000 +0000
++++ KMD-0.9.19-fixed/src/interface.c 2016-09-30 23:29:11.868381496 +0100
+@@ -3,6 +3,9 @@
+ Date: 11/7/2001
+ The interface between the GUI and the board
+ */
++
++#include "interface.h"
++
+ #include <glib.h>
+ #include <gtk/gtk.h>
+ #include <gdk/gdkx.h> /* General Interface file*/
+@@ -20,7 +23,6 @@
+ #include <netdb.h>
+ #include <fcntl.h>
+ #include <errno.h>
+-#include "interface.h"
+ #include "callbacks.h"
+ #include "breakcalls.h"
+ #include "serial.h"
+diff -rua KMD-0.9.19/src/interface.h KMD-0.9.19-fixed/src/interface.h
+--- KMD-0.9.19/src/interface.h 2006-12-19 12:35:34.000000000 +0000
++++ KMD-0.9.19-fixed/src/interface.h 2016-09-30 23:28:39.048559296 +0100
+@@ -1,5 +1,8 @@
+ #ifndef INTERFACE_H
+ #define INTERFACE_H
++
++#include "config.h"
++
+ #include <gdk/gdkx.h>
+ #include <gtk/gtk.h>
+ #include <stdio.h>
+Only in KMD-0.9.19-fixed/src: interface.o
+Only in KMD-0.9.19-fixed/src: jimulator
+Only in KMD-0.9.19-fixed/src: jimulator.o
+Only in KMD-0.9.19-fixed/src: kmd
+Only in KMD-0.9.19-fixed/src: kmd_emulmips
+Only in KMD-0.9.19-fixed/src: lint.o
+Only in KMD-0.9.19-fixed/src: Makefile
+Only in KMD-0.9.19-fixed/src: misc.o
+Only in KMD-0.9.19-fixed/src/pixmaps: Makefile
+diff -rua KMD-0.9.19/src/progload.c KMD-0.9.19-fixed/src/progload.c
+--- KMD-0.9.19/src/progload.c 2005-01-17 10:07:53.000000000 +0000
++++ KMD-0.9.19-fixed/src/progload.c 2016-09-30 23:29:42.604881649 +0100
+@@ -6,6 +6,8 @@
+
+ #define GTK_ENABLE_BROKEN
+
++#include "progload.h"
++
+ #include <stdio.h>
+ #include <bfd.h>
+ #include <gtk/gtk.h>
+@@ -13,7 +15,6 @@
+ #include <glib.h>
+ #include <string.h>
+ #include "interface.h"
+-#include "progload.h"
+ #include "view.h"
+ #include "misc.h"
+ #include "serial.h"
+diff -rua KMD-0.9.19/src/progload.h KMD-0.9.19-fixed/src/progload.h
+--- KMD-0.9.19/src/progload.h 2003-12-11 17:42:43.000000000 +0000
++++ KMD-0.9.19-fixed/src/progload.h 2016-09-30 23:29:35.191588477 +0100
+@@ -1,6 +1,8 @@
+ #ifndef PROGLOAD_H
+ #define PROGLOAD_H
+
++#include "config.h"
++
+ #include <bfd.h>
+ #include <glib.h>
+ #include <gtk/gtk.h>
+Only in KMD-0.9.19-fixed/src: progload.o
+Only in KMD-0.9.19-fixed/src: serial.o
+Only in KMD-0.9.19-fixed/src: symboltable.o
+Only in KMD-0.9.19-fixed/src: timeout.o
+Only in KMD-0.9.19-fixed/src: view.o
+Only in KMD-0.9.19-fixed: stamp-h1
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7e6271755ae
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Emati Mitame <aur@mita.me>
+pkgname=kmd
+pkgver=0.9.19
+pkgrel=1
+pkgdesc="Komodo Manchester Debugger"
+arch=('i386' 'x86_64')
+url="http://brej.org/kmd/"
+license=('GPL')
+depends=('gtk>=1.2.0' 'glib>=1.2.0')
+makedepends=()
+
+provides=('kmd')
+conflicts=()
+
+source=(
+ "http://brej.org/kmd/dist/KMD-$pkgver.tar.gz"
+ "KMD-$pkgver.patch"
+)
+
+md5sums=(
+ '478e35adc758ca6fecbfd6a49c6d7c50'
+ 'SKIP'
+)
+
+prepare() {
+ cd "KMD-$pkgver"
+ patch -p1 -i "$srcdir/KMD-$pkgver.patch"
+}
+
+build() {
+ cd "KMD-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "KMD-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}