diff options
-rw-r--r-- | deskutils/gucharmap/Makefile | 45 | ||||
-rw-r--r-- | deskutils/gucharmap/distinfo | 2 | ||||
-rw-r--r-- | deskutils/gucharmap/files/patch-configure | 10 | ||||
-rw-r--r-- | deskutils/gucharmap/files/patch-gucharmap_gucharmap-window.c | 50 | ||||
-rw-r--r-- | deskutils/gucharmap/pkg-descr | 4 | ||||
-rw-r--r-- | deskutils/gucharmap/pkg-plist | 82 |
6 files changed, 193 insertions, 0 deletions
diff --git a/deskutils/gucharmap/Makefile b/deskutils/gucharmap/Makefile new file mode 100644 index 000000000..3bfaaa6de --- /dev/null +++ b/deskutils/gucharmap/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: gucharmap +# Date created: 02 Mar 2003 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD: ports/deskutils/gucharmap/Makefile,v 1.16 2004/02/04 05:19:14 marcus Exp $ +# + +PORTNAME= gucharmap +PORTVERSION= 1.3.0 +CATEGORIES= deskutils gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/1.3 +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= A Unicode/ISO10646 character map and font viewer + +LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt + +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_GMAKE= yes +USE_GNOME= gnomeprefix intlhack gnomehack gtk20 +WANT_GNOME= yes +USE_LIBTOOL= yes +INSTALLS_SHLIB= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +.if defined(PACKAGE_BUILDING) || defined(PARALLEL_PACKAGE_BUILD) +.undef WITHOUT_GNOME +.undef WITHOUT_ALL +WITH_GNOME= yes +.endif + +.include <bsd.port.pre.mk> + +.if ${HAVE_GNOME:Mlibgnomeui}!="" +USE_GNOME+= libgnomeui +PKGNAMESUFFIX= -gnome +.else +CONFIGURE_ARGS= --disable-gnome +.endif + +.include <bsd.port.post.mk> diff --git a/deskutils/gucharmap/distinfo b/deskutils/gucharmap/distinfo new file mode 100644 index 000000000..e4b5ade83 --- /dev/null +++ b/deskutils/gucharmap/distinfo @@ -0,0 +1,2 @@ +MD5 (gnome2/gucharmap-1.3.0.tar.bz2) = dadfe6c589514b5ed7625be2078f27a8 +SIZE (gnome2/gucharmap-1.3.0.tar.bz2) = 1217212 diff --git a/deskutils/gucharmap/files/patch-configure b/deskutils/gucharmap/files/patch-configure new file mode 100644 index 000000000..f195f07b4 --- /dev/null +++ b/deskutils/gucharmap/files/patch-configure @@ -0,0 +1,10 @@ +--- configure.orig Wed Dec 11 18:31:51 2002 ++++ configure Thu Dec 12 12:07:17 2002 +@@ -7414,6 +7414,7 @@ + + # This can be used to rebuild libtool when needed + LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" ++$ac_aux_dir/ltconfig $LIBTOOL_DEPS + + # Always use our own libtool. + LIBTOOL='$(SHELL) $(top_builddir)/libtool' diff --git a/deskutils/gucharmap/files/patch-gucharmap_gucharmap-window.c b/deskutils/gucharmap/files/patch-gucharmap_gucharmap-window.c new file mode 100644 index 000000000..5064c53c8 --- /dev/null +++ b/deskutils/gucharmap/files/patch-gucharmap_gucharmap-window.c @@ -0,0 +1,50 @@ +--- gucharmap/gucharmap-window.c.orig Sat Feb 7 03:58:10 2004 ++++ gucharmap/gucharmap-window.c Sat Feb 7 03:59:36 2004 +@@ -121,9 +121,9 @@ + GucharmapWindow *guw) + { + GucharmapWindowPrivate *priv = GUCHARMAP_WINDOW_GET_PRIVATE (guw); ++ GdkCursor *cursor = gdk_cursor_new (GDK_WATCH); + g_assert (IS_GUCHARMAP_WINDOW (guw)); + +- GdkCursor *cursor = gdk_cursor_new (GDK_WATCH); + gdk_window_set_cursor (GTK_WIDGET (guw)->window, cursor); + gdk_cursor_unref (cursor); + +@@ -361,8 +361,8 @@ + { + GucharmapWindowPrivate *priv = GUCHARMAP_WINDOW_GET_PRIVATE (guw); + gucharmap_charmap_set_chapters (guw->charmap, GUCHARMAP_CHAPTERS (gucharmap_script_chapters_new ())); +- gtk_label_set_text (GTK_LABEL (gtk_bin_get_child (GTK_BIN (priv->next_chapter_menu_item))), _("Next Script"));; +- gtk_label_set_text (GTK_LABEL (gtk_bin_get_child (GTK_BIN (priv->prev_chapter_menu_item))), _("Previous Script"));; ++ gtk_label_set_text (GTK_LABEL (gtk_bin_get_child (GTK_BIN (priv->next_chapter_menu_item))), _("Next Script")); ++ gtk_label_set_text (GTK_LABEL (gtk_bin_get_child (GTK_BIN (priv->prev_chapter_menu_item))), _("Previous Script")); + } + } + +@@ -374,8 +374,8 @@ + { + GucharmapWindowPrivate *priv = GUCHARMAP_WINDOW_GET_PRIVATE (guw); + gucharmap_charmap_set_chapters (guw->charmap, GUCHARMAP_CHAPTERS (gucharmap_block_chapters_new ())); +- gtk_label_set_text (GTK_LABEL (gtk_bin_get_child (GTK_BIN (priv->next_chapter_menu_item))), _("Next Block"));; +- gtk_label_set_text (GTK_LABEL (gtk_bin_get_child (GTK_BIN (priv->prev_chapter_menu_item))), _("Previous Block"));; ++ gtk_label_set_text (GTK_LABEL (gtk_bin_get_child (GTK_BIN (priv->next_chapter_menu_item))), _("Next Block")); ++ gtk_label_set_text (GTK_LABEL (gtk_bin_get_child (GTK_BIN (priv->prev_chapter_menu_item))), _("Previous Block")); + } + } + +@@ -778,12 +778,12 @@ + g_signal_connect (priv->status, "realize", G_CALLBACK (status_realize), guw); + + priv->progress = gtk_progress_bar_new (); +- gtk_box_pack_start (GTK_BOX (hbox), priv->progress, FALSE, FALSE, 0);; ++ gtk_box_pack_start (GTK_BOX (hbox), priv->progress, FALSE, FALSE, 0); + + #if 0 + grip = gtk_statusbar_new (); + gtk_statusbar_set_has_resize_grip (GTK_STATUSBAR (grip), TRUE); +- gtk_box_pack_start (GTK_BOX (hbox), grip, FALSE, FALSE, 0);; ++ gtk_box_pack_start (GTK_BOX (hbox), grip, FALSE, FALSE, 0); + #endif + gtk_widget_show_all (hbox); + diff --git a/deskutils/gucharmap/pkg-descr b/deskutils/gucharmap/pkg-descr new file mode 100644 index 000000000..20fe556a3 --- /dev/null +++ b/deskutils/gucharmap/pkg-descr @@ -0,0 +1,4 @@ +gucharmap is a Unicode/ISO10646 character map and font viewer. It uses GTK+ +2. It supports anti-aliased, scalable fonts. + +WWW: http://gucharmap.sourceforge.net/ diff --git a/deskutils/gucharmap/pkg-plist b/deskutils/gucharmap/pkg-plist new file mode 100644 index 000000000..cce725b4e --- /dev/null +++ b/deskutils/gucharmap/pkg-plist @@ -0,0 +1,82 @@ +bin/charmap +@unexec if test -L %D/bin/gnome-character-map; then rm -f %D/bin/gnome-character-map; fi +bin/gucharmap +include/gucharmap/gucharmap-block-chapters.h +include/gucharmap/gucharmap-chapters.h +include/gucharmap/gucharmap-charmap.h +include/gucharmap/gucharmap-codepoint-list.h +include/gucharmap/gucharmap-mini-fontsel.h +include/gucharmap/gucharmap-script-chapters.h +include/gucharmap/gucharmap-script-codepoint-list.h +include/gucharmap/gucharmap-search-dialog.h +include/gucharmap/gucharmap-table.h +include/gucharmap/gucharmap-unicode-info.h +include/gucharmap/gucharmap-window.h +include/gucharmap/gucharmap.h +lib/gtk-2.0/2.2.0/immodules/im-gucharmap.so +lib/libgucharmap.a +lib/libgucharmap.so +lib/libgucharmap.so.4 +libdata/pkgconfig/gucharmap.pc +share/gnome/applications/gucharmap.desktop +share/gnome/help/gucharmap/C/figures/gucharmap_start_window.png +share/gnome/help/gucharmap/C/figures/gucharmap_window.png +share/gnome/help/gucharmap/C/gucharmap.xml +share/gnome/help/gucharmap/C/legal.xml +share/gnome/omf/gucharmap/gucharmap-C.omf +@exec scrollkeeper-install -q %D/share/gnome/omf/gucharmap/gucharmap-C.omf 2>/dev/null || /usr/bin/true +share/gnome/pixmaps/gucharmap.png +share/locale/ar/LC_MESSAGES/gucharmap.mo +share/locale/az/LC_MESSAGES/gucharmap.mo +share/locale/am/LC_MESSAGES/gucharmap.mo +share/locale/be/LC_MESSAGES/gucharmap.mo +share/locale/bn/LC_MESSAGES/gucharmap.mo +share/locale/ca/LC_MESSAGES/gucharmap.mo +share/locale/cs/LC_MESSAGES/gucharmap.mo +share/locale/cy/LC_MESSAGES/gucharmap.mo +share/locale/da/LC_MESSAGES/gucharmap.mo +share/locale/de/LC_MESSAGES/gucharmap.mo +share/locale/el/LC_MESSAGES/gucharmap.mo +share/locale/eo/LC_MESSAGES/gucharmap.mo +share/locale/es/LC_MESSAGES/gucharmap.mo +share/locale/fa/LC_MESSAGES/gucharmap.mo +share/locale/fi/LC_MESSAGES/gucharmap.mo +share/locale/fr/LC_MESSAGES/gucharmap.mo +share/locale/ga/LC_MESSAGES/gucharmap.mo +share/locale/hi/LC_MESSAGES/gucharmap.mo +share/locale/hr/LC_MESSAGES/gucharmap.mo +share/locale/hu/LC_MESSAGES/gucharmap.mo +share/locale/id/LC_MESSAGES/gucharmap.mo +share/locale/it/LC_MESSAGES/gucharmap.mo +share/locale/ja/LC_MESSAGES/gucharmap.mo +share/locale/ko/LC_MESSAGES/gucharmap.mo +share/locale/lt/LC_MESSAGES/gucharmap.mo +share/locale/mk/LC_MESSAGES/gucharmap.mo +share/locale/ml/LC_MESSAGES/gucharmap.mo +share/locale/mn/LC_MESSAGES/gucharmap.mo +share/locale/ms/LC_MESSAGES/gucharmap.mo +share/locale/nl/LC_MESSAGES/gucharmap.mo +share/locale/no/LC_MESSAGES/gucharmap.mo +share/locale/pl/LC_MESSAGES/gucharmap.mo +share/locale/pt/LC_MESSAGES/gucharmap.mo +share/locale/pt_BR/LC_MESSAGES/gucharmap.mo +share/locale/ru/LC_MESSAGES/gucharmap.mo +share/locale/sk/LC_MESSAGES/gucharmap.mo +share/locale/sq/LC_MESSAGES/gucharmap.mo +share/locale/sr/LC_MESSAGES/gucharmap.mo +share/locale/sr@Latn/LC_MESSAGES/gucharmap.mo +share/locale/sv/LC_MESSAGES/gucharmap.mo +share/locale/ta/LC_MESSAGES/gucharmap.mo +share/locale/uk/LC_MESSAGES/gucharmap.mo +share/locale/vi/LC_MESSAGES/gucharmap.mo +share/locale/wa/LC_MESSAGES/gucharmap.mo +share/locale/zh_CN/LC_MESSAGES/gucharmap.mo +share/locale/zh_TW/LC_MESSAGES/gucharmap.mo +@dirrm share/gnome/omf/gucharmap +@dirrm share/gnome/help/gucharmap/C/figures +@dirrm share/gnome/help/gucharmap/C +@dirrm share/gnome/help/gucharmap +@dirrm include/gucharmap +@exec %D/bin/gtk-query-immodules-2.0 >/dev/null 2>&1 && %D/bin/gtk-query-immodules-2.0 > %D/etc/gtk-2.0/gtk.immodules 2>/dev/null || /usr/bin/true +@unexec %D/bin/gtk-query-immodules-2.0 >/dev/null 2>&1 && %D/bin/gtk-query-immodules-2.0 > %D/etc/gtk-2.0/gtk.immodules 2>/dev/null || /usr/bin/true +@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gucharmap/gucharmap-C.omf 2>/dev/null || /usr/bin/true |