summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-25 07:21:36 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-25 07:21:36 +0800
commit72a479ef090413a38e35c398b1ba22c1e2ec8f4a (patch)
tree2a53c2d0ca7722be0459ddbab1edf6a40a75d1e9
parente65db8acf829fbf07b4e53dfc8e1be048b06b21d (diff)
downloadmarcuscom-ports-72a479ef090413a38e35c398b1ba22c1e2ec8f4a.tar
marcuscom-ports-72a479ef090413a38e35c398b1ba22c1e2ec8f4a.tar.gz
marcuscom-ports-72a479ef090413a38e35c398b1ba22c1e2ec8f4a.tar.bz2
marcuscom-ports-72a479ef090413a38e35c398b1ba22c1e2ec8f4a.tar.lz
marcuscom-ports-72a479ef090413a38e35c398b1ba22c1e2ec8f4a.tar.xz
marcuscom-ports-72a479ef090413a38e35c398b1ba22c1e2ec8f4a.tar.zst
marcuscom-ports-72a479ef090413a38e35c398b1ba22c1e2ec8f4a.zip
- USE_X_PREFIX -> USE_XLIB.
- Replace a hardcore autocheck of gtksourceview-1.0.pc to use HAVE_GNOME:Mgtksourceview. That fix the X11BASE -> LOCALBASE. - Bump the PORTREVISION. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6753 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--arabic/katoob/Makefile40
-rw-r--r--arabic/katoob/distinfo3
-rw-r--r--arabic/katoob/files/patch-src-conf.c10
-rw-r--r--arabic/katoob/files/patch-src-init.c21
-rw-r--r--arabic/katoob/files/patch-src-katoob.h14
-rw-r--r--arabic/katoob/files/patch-src-search.c14
-rw-r--r--arabic/katoob/pkg-descr8
-rw-r--r--arabic/katoob/pkg-plist16
8 files changed, 126 insertions, 0 deletions
diff --git a/arabic/katoob/Makefile b/arabic/katoob/Makefile
new file mode 100644
index 000000000..7c2ea48e9
--- /dev/null
+++ b/arabic/katoob/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: katoob
+# Date created: 13th September 2003
+# Whom: Pav Lucistnik <pav@oook.cz>
+#
+# $FreeBSD$
+#
+
+PORTNAME= katoob
+PORTVERSION= 0.3.5
+PORTREVISION= 8
+CATEGORIES= arabic
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= arabeyes
+
+MAINTAINER= sbahra@kerneled.org
+COMMENT= Light-weight, bidirectional editor for arabic texts
+
+MAN1= katoob.1
+
+USE_GMAKE= yes
+USE_XLIB= yes
+USE_GNOME= gnomeprefix gnomehack gtk20
+WANT_GNOME= yes
+USE_AUTOTOOLS= libtool:15
+USE_GETOPT_LONG=yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
+
+.include <bsd.port.pre.mk>
+
+.if ${HAVE_GNOME:Mgtksourceview}!="" || defined(WITH_HIGHLIGHTING)
+CONFIGURE_ARGS+= "--enable-highlight"
+USE_GNOME+= gtksourceview
+.endif
+
+.if defined(WITH_SPELLCHECKER) || exists(${LOCALBASE}/lib/libaspell.so.16)
+CONFIGURE_ARGS+= "--enable-spell"
+LIB_DEPENDS+= aspell.16:${PORTSDIR}/textproc/aspell
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/arabic/katoob/distinfo b/arabic/katoob/distinfo
new file mode 100644
index 000000000..3f2eef931
--- /dev/null
+++ b/arabic/katoob/distinfo
@@ -0,0 +1,3 @@
+MD5 (katoob-0.3.5.tar.gz) = a05723c7aee914c51226270aa3d61ff9
+SHA256 (katoob-0.3.5.tar.gz) = 213dde01195dbb10ff1710aff7c3948e3c20c7a0c227ca05e0665922b7bb2c64
+SIZE (katoob-0.3.5.tar.gz) = 427297
diff --git a/arabic/katoob/files/patch-src-conf.c b/arabic/katoob/files/patch-src-conf.c
new file mode 100644
index 000000000..26604b1e6
--- /dev/null
+++ b/arabic/katoob/files/patch-src-conf.c
@@ -0,0 +1,10 @@
+--- src/conf.c Tue Aug 26 07:54:35 2003
++++ src/conf.c.patch Mon May 24 16:57:43 2004
+@@ -798,6 +798,7 @@
+ if (!fp)
+ {
+ g_warning ("Can't open the printing configuration file.");
++ return;
+ }
+
+ fprintf (fp, "font_family = %s\n", encode_font (PConf->font_family));
diff --git a/arabic/katoob/files/patch-src-init.c b/arabic/katoob/files/patch-src-init.c
new file mode 100644
index 000000000..7bff8d026
--- /dev/null
+++ b/arabic/katoob/files/patch-src-init.c
@@ -0,0 +1,21 @@
+--- src/init.c Tue Aug 26 07:54:35 2003
++++ /home/samy/development/katoob/src/init.c Thu Aug 28 00:36:48 2003
+@@ -101,7 +101,18 @@
+ katoob->xkb_grps[i] =
+ XGetAtomName (GDK_DISPLAY (), kbinfo->names->groups[i]);
+ }
++ else
++ {
++ katoob->xkb_grps[i] = NULL;
++ }
+ }
++ }
++
++/* Let's NULL all the remaining array. */
++ while (grpnum < XkbNumKbdGroups)
++ {
++ katoob->xkb_grps[grpnum] = NULL;
++ ++grpnum;
+ }
+
+ XkbGetControls (GDK_DISPLAY (), XkbAllControlsMask, kbinfo);
diff --git a/arabic/katoob/files/patch-src-katoob.h b/arabic/katoob/files/patch-src-katoob.h
new file mode 100644
index 000000000..71fe915e9
--- /dev/null
+++ b/arabic/katoob/files/patch-src-katoob.h
@@ -0,0 +1,14 @@
+--- src/katoob.h.orig Thu May 20 12:44:35 2004
++++ src/katoob.h Thu May 20 12:44:48 2004
+@@ -25,11 +25,6 @@
+ #ifndef __KATOOB_H__
+ #define __KATOOB_H__
+
+-#define G_DISABLE_DEPRECATED 1
+-#define GDK_DISABLE_DEPRECATED 1
+-#define GDK_PIXBUF_DISABLE_DEPRECATED 1
+-#define GTK_DISABLE_DEPRECATED 1
+-
+ #include <gtk/gtk.h>
+ #include "encodings.h"
+ #ifdef ENABLE_HIGHLIGHT
diff --git a/arabic/katoob/files/patch-src-search.c b/arabic/katoob/files/patch-src-search.c
new file mode 100644
index 000000000..b9f3b63c7
--- /dev/null
+++ b/arabic/katoob/files/patch-src-search.c
@@ -0,0 +1,14 @@
+--- src/search.c Tue Aug 26 07:54:37 2003
++++ src/search.c.patch Mon May 24 17:07:16 2004
+@@ -266,9 +266,8 @@
+ tmp = katoob_document_get_last_replaced (doc);
+ if ((tmp) && (replace))
+ {
+- gtk_entry_set_text (GTK_ENTRY (entry2), g_strdup (tmp));
+- g_free (tmp);
+- tmp = NULL;
++ gtk_entry_set_text (GTK_ENTRY (entry2), tmp);
++ tmp = NULL;
+ }
+ }
+
diff --git a/arabic/katoob/pkg-descr b/arabic/katoob/pkg-descr
new file mode 100644
index 000000000..e1ae573cb
--- /dev/null
+++ b/arabic/katoob/pkg-descr
@@ -0,0 +1,8 @@
+Katoob is a light weight, multi lingual,
+BIDI-aware text editor based on the Gtk+ 2
+library. It supports opening and saving files
+in multiple encodings. The main support was
+for Arabic language but more languages are
+currently supported.
+
+WWW: http://www.arabeyes.org/project.php?proj=Katoob
diff --git a/arabic/katoob/pkg-plist b/arabic/katoob/pkg-plist
new file mode 100644
index 000000000..875bec3b7
--- /dev/null
+++ b/arabic/katoob/pkg-plist
@@ -0,0 +1,16 @@
+bin/katoob
+share/gnome/applications/katoob.desktop
+share/gnome/katoob/close.png
+share/gnome/katoob/emulator/arabic
+share/gnome/katoob/green.png
+share/gnome/katoob/katoob.png
+share/gnome/katoob/katoob-small.png
+share/gnome/katoob/landscape.png
+share/gnome/katoob/portrait.png
+share/gnome/katoob/red.png
+share/gnome/pixmaps/katoob-icon.png
+share/locale/ar/LC_MESSAGES/katoob.mo
+share/locale/pl/LC_MESSAGES/katoob.mo
+share/locale/sv/LC_MESSAGES/katoob.mo
+@dirrm share/gnome/katoob/emulator
+@dirrm share/gnome/katoob