From 573a3817863b0355f7e3da100c0a1d42f3d9d718 Mon Sep 17 00:00:00 2001 From: ahze Date: Wed, 2 May 2007 11:53:44 +0000 Subject: Move to the right dir git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8740 df743ca5-7f9a-e211-a948-0013205c9059 --- arabic/katoob/Makefile | 40 ++++++++++++++++++++++++++++++++++ arabic/katoob/distinfo | 3 +++ arabic/katoob/files/patch-src-conf.c | 10 +++++++++ arabic/katoob/files/patch-src-init.c | 21 ++++++++++++++++++ arabic/katoob/files/patch-src-katoob.h | 14 ++++++++++++ arabic/katoob/files/patch-src-search.c | 14 ++++++++++++ arabic/katoob/pkg-descr | 8 +++++++ arabic/katoob/pkg-plist | 18 +++++++++++++++ 8 files changed, 128 insertions(+) create mode 100644 arabic/katoob/Makefile create mode 100644 arabic/katoob/distinfo create mode 100644 arabic/katoob/files/patch-src-conf.c create mode 100644 arabic/katoob/files/patch-src-init.c create mode 100644 arabic/katoob/files/patch-src-katoob.h create mode 100644 arabic/katoob/files/patch-src-search.c create mode 100644 arabic/katoob/pkg-descr create mode 100644 arabic/katoob/pkg-plist (limited to 'arabic') diff --git a/arabic/katoob/Makefile b/arabic/katoob/Makefile new file mode 100644 index 000000000..7de450ba7 --- /dev/null +++ b/arabic/katoob/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: katoob +# Date created: 13th September 2003 +# Whom: Pav Lucistnik +# +# $FreeBSD$ +# + +PORTNAME= katoob +PORTVERSION= 0.3.5 +PORTREVISION= 9 +CATEGORIES= arabic +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= arabeyes + +MAINTAINER= sbahra@gwu.edu +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 + +.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 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 + #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..a31b2fbf0 --- /dev/null +++ b/arabic/katoob/pkg-plist @@ -0,0 +1,18 @@ +bin/katoob +share/applications/katoob.desktop +share/katoob/close.png +share/katoob/emulator/arabic +share/katoob/green.png +share/katoob/katoob.png +share/katoob/katoob-small.png +share/katoob/landscape.png +share/katoob/portrait.png +share/katoob/red.png +share/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/katoob/emulator +@dirrm share/katoob +@dirrmtry share/locale/pl/LC_MESSAGES +@dirrmtry share/locale/pl -- cgit v1.2.3