summaryrefslogtreecommitdiff
path: root/editors/gummi
diff options
context:
space:
mode:
authordrochner <drochner>2012-08-04 14:07:19 +0000
committerdrochner <drochner>2012-08-04 14:07:19 +0000
commit733d3290eabe6ae100085d6e135e85bba08a75cf (patch)
tree409f4a5053fdf0bfcd40e2a0ab4cfb7630bb58d4 /editors/gummi
parent75f65187c82fdf4caf9aeb389c3577951226cd7d (diff)
downloadpkgsrc-733d3290eabe6ae100085d6e135e85bba08a75cf.tar.gz
add gummi-0.6.4, a small and simple LaTeX editor, from Peter Kotcauer
per mail to pkgsrc-users
Diffstat (limited to 'editors/gummi')
-rw-r--r--editors/gummi/DESCR4
-rw-r--r--editors/gummi/Makefile33
-rw-r--r--editors/gummi/PLIST14
-rw-r--r--editors/gummi/distinfo6
-rw-r--r--editors/gummi/patches/patch-src_update.c15
5 files changed, 72 insertions, 0 deletions
diff --git a/editors/gummi/DESCR b/editors/gummi/DESCR
new file mode 100644
index 00000000000..d42688e3133
--- /dev/null
+++ b/editors/gummi/DESCR
@@ -0,0 +1,4 @@
+Gummi is a LaTeX editor for the Linux platform, written in C/GTK+.
+It was designed with simplicity in mind, but hopes to appeal to both
+novice and more advanced LaTeX writers. Gummi was released as free
+opensource software under the MIT license.
diff --git a/editors/gummi/Makefile b/editors/gummi/Makefile
new file mode 100644
index 00000000000..175159b9ce5
--- /dev/null
+++ b/editors/gummi/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2012/08/04 14:07:19 drochner Exp $
+#
+
+DISTNAME= gummi-0.6.4
+CATEGORIES= editors
+MASTER_SITES= http://dev.midnightcoding.org/attachments/download/298/
+
+MAINTAINER= int21h@pirosfeketefa.hu
+HOMEPAGE= http://dev.midnightcoding.org/projects/gummi
+COMMENT= Gummi is a LaTeX editor, written in C/GTK+
+LICENSE= mit
+
+PKG_DESTDIR_SUPPORT= user-destdir
+USE_TOOLS+= pkg-config intltool
+
+# we need some latex, but not all
+#DEPENDS+= teTeX-texmf-[0-9]*:../../print/teTeX3-texmf
+
+GNU_CONFIGURE= YES
+
+AUTO_MKDIRS= yes
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../x11/libXdamage/buildlink3.mk"
+.include "../../x11/gtksourceview2/buildlink3.mk"
+.include "../../print/poppler-glib/buildlink3.mk"
+.include "../../textproc/gtkspell/buildlink3.mk"
+.include "../../x11/libXft/buildlink3.mk"
+.include "../../x11/libXcursor/buildlink3.mk"
+.include "../../x11/libXcomposite/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/editors/gummi/PLIST b/editors/gummi/PLIST
new file mode 100644
index 00000000000..ec55f7500f9
--- /dev/null
+++ b/editors/gummi/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1 2012/08/04 14:07:19 drochner Exp $
+bin/gummi
+lib/gummi/latex_dvi.sh
+man/man1/gummi.1
+share/applications/gummi.desktop
+share/gummi/icons/gummi.png
+share/gummi/icons/icon.png
+share/gummi/misc/default.tex
+share/gummi/snippets/snippets.cfg
+share/gummi/snippets/snippets.lang
+share/gummi/ui/gummi.glade
+share/gummi/ui/prefs.glade
+share/gummi/ui/snippets.glade
+share/pixmaps/gummi.png
diff --git a/editors/gummi/distinfo b/editors/gummi/distinfo
new file mode 100644
index 00000000000..82ae040f769
--- /dev/null
+++ b/editors/gummi/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2012/08/04 14:07:19 drochner Exp $
+
+SHA1 (gummi-0.6.4.tar.gz) = 15927796a720dcc1dfdc8eb1b624c4c9bd31d56a
+RMD160 (gummi-0.6.4.tar.gz) = 6cc0fac1e1d3511675fa7a0fd49820851af60d41
+Size (gummi-0.6.4.tar.gz) = 513494 bytes
+SHA1 (patch-src_update.c) = 3702b1c165226f4debaeb7c2caddf33e53b17047
diff --git a/editors/gummi/patches/patch-src_update.c b/editors/gummi/patches/patch-src_update.c
new file mode 100644
index 00000000000..866ef2ab5db
--- /dev/null
+++ b/editors/gummi/patches/patch-src_update.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_update.c,v 1.1 2012/08/04 14:07:19 drochner Exp $
+
+--- src/update.c.orig 2012-06-24 16:52:03.000000000 +0000
++++ src/update.c
+@@ -44,6 +44,10 @@
+ #include "environment.h"
+ #include "utils.h"
+
++#ifdef __NetBSD__
++#include <netinet/in.h>
++#endif
++
+ #ifdef WIN32
+ /* TODO: use Winsock for WIN32 */
+ #else