Skip to contentSkip to conversation

mped: initial package.

PATCH New Yann Dirson 1 participant 1 message Aug 5, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mped: initial package.

"Minimum Profit" is a lightweight developer text editor.

Forged a desktop file, and stole the icon from leafpad.

---
 recipes/mped/files/mped.desktop |    9 +++++++++
 recipes/mped/mped.png           |  Bin 0 -> 1950 bytes
 recipes/mped/mped_5.1.3.bb      |   32 ++++++++++++++++++++++++++++++++
 3 files changed, 41 insertions(+), 0 deletions(-)
 create mode 100644 recipes/mped/files/mped.desktop
 create mode 100644 recipes/mped/mped.png
 create mode 100644 recipes/mped/mped_5.1.3.bb
recipes/mped/files/mped.desktop new file +9 -0
new file mode 100644
index 0000000..7c4f435
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Encoding=UTF-8
+Name=MP editor
+Exec=/usr/bin/mp-5
+Icon=mped
+Terminal=false
+MimeType=text/plain
+Categories=GTK;Utility;TextEditor;
recipes/mped/mped.png new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..c5ee0cff85ab3dedab039592ca9ff90167b03567
GIT binary patch
recipes/mped/mped_5.1.3.bb new file +32 -0
new file mode 100644
index 0000000..604a6a3
@@ -0,0 +1,32 @@
+DESCRIPTION = "Lightweight text editor for programmers."
+HOMEPAGE = "http://triptico.com/software/mp.html"
+SECTION = "x11"
+PRIORITY = "optional"
+LICENSE = "GPL"
+
+DEPENDS = "gtk+"
+SRC_URI = "http://triptico.com/download/mp-${PV}.tar.gz"
+SRC_URI += "file://mped.desktop file://mped.png"
+
+S = "${WORKDIR}/mp-${PV}"
+PR = "r0"
+
+inherit base
+
+do_configure() {
+	./config.sh --without-curses --prefix=/usr
+}
+do_install() {
+	mkdir -p ${D}/usr/bin
+	oe_runmake install DESTDIR=${D}
+	mkdir -p ${D}/usr/share/applications ${D}/usr/share/pixmaps
+	install -m644 ../mped.desktop ${D}/usr/share/applications
+	install -m644 ../mped.png ${D}/usr/share/pixmaps
+}
+
+FILES_${PN} += "/usr/share/mp*/mp_*"
+#FIXME: /usr/share/mp-5/lang
+
+# FIXME: should verify those checksums through other means
+SRC_URI[md5sum] = "6ed30d6be7da70e13111dbc7fca00e70"
+SRC_URI[sha256sum] = "b9c2773408638eeddfa0eef912cc289b0b92df34ce621dc46eca47a2dc518986"
Signature · 1 line
1.7.1