[Midnightbsd-cvs] mports: mports/x11: add gnome-terminal
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Oct 20 01:29:14 EDT 2007
Log Message:
-----------
add gnome-terminal
Modified Files:
--------------
mports/x11:
Makefile (r1.37 -> r1.38)
Added Files:
-----------
mports/x11/gnome-terminal:
Makefile (r1.1)
distinfo (r1.1)
pkg-descr (r1.1)
pkg-plist (r1.1)
mports/x11/gnome-terminal/files:
patch-src_terminal-screen.c (r1.1)
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/x11/Makefile,v
retrieving revision 1.37
retrieving revision 1.38
diff -Lx11/Makefile -Lx11/Makefile -u -r1.37 -r1.38
--- x11/Makefile
+++ x11/Makefile
@@ -25,6 +25,7 @@
SUBDIR += gnome-desktop
SUBDIR += gnome-menus
SUBDIR += gnome-panel
+ SUBDIR += gnome-terminal
SUBDIR += iceauth
SUBDIR += ico
SUBDIR += idesk
--- /dev/null
+++ x11/gnome-terminal/pkg-descr
@@ -0,0 +1,3 @@
+Default terminal emulator for the GNOME 2.0 Desktop.
+
+WWW: http://www.gnome.org/
--- /dev/null
+++ x11/gnome-terminal/pkg-plist
@@ -0,0 +1,205 @@
+bin/gnome-terminal
+libdata/bonobo/servers/gnome-terminal.server
+share/gnome/applications/gnome-terminal.desktop
+share/gnome/gnome-terminal/glade/gnome-terminal.glade2
+share/gnome/help/gnome-terminal/C/figures/gnome-terminal-default.png
+share/gnome/help/gnome-terminal/C/figures/gnome-terminal-tabbed.png
+share/gnome/help/gnome-terminal/C/gnome-terminal.xml
+share/gnome/help/gnome-terminal/C/legal.xml
+share/gnome/help/gnome-terminal/bg/figures/gnome-terminal-default.png
+share/gnome/help/gnome-terminal/bg/figures/gnome-terminal-tabbed.png
+share/gnome/help/gnome-terminal/bg/figures/terminal_window.png
+share/gnome/help/gnome-terminal/bg/gnome-terminal.xml
+share/gnome/help/gnome-terminal/bg/legal.xml
+share/gnome/help/gnome-terminal/de/figures/gnome-terminal-default.png
+share/gnome/help/gnome-terminal/de/figures/gnome-terminal-tabbed.png
+share/gnome/help/gnome-terminal/de/figures/terminal_window.png
+share/gnome/help/gnome-terminal/de/gnome-terminal.xml
+share/gnome/help/gnome-terminal/de/legal.xml
+share/gnome/help/gnome-terminal/es/figures/gnome-terminal-default.png
+share/gnome/help/gnome-terminal/es/figures/gnome-terminal-tabbed.png
+share/gnome/help/gnome-terminal/es/gnome-terminal.xml
+share/gnome/help/gnome-terminal/fr/figures/gnome-terminal-default.png
+share/gnome/help/gnome-terminal/fr/figures/gnome-terminal-tabbed.png
+share/gnome/help/gnome-terminal/fr/gnome-terminal.xml
+share/gnome/help/gnome-terminal/it/figures/gnome-terminal-default.png
+share/gnome/help/gnome-terminal/it/figures/gnome-terminal-tabbed.png
+share/gnome/help/gnome-terminal/it/gnome-terminal.xml
+share/gnome/help/gnome-terminal/ja/figures/gnome-terminal-default.png
+share/gnome/help/gnome-terminal/ja/figures/gnome-terminal-tabbed.png
+share/gnome/help/gnome-terminal/ja/figures/terminal_window.png
+share/gnome/help/gnome-terminal/ja/gnome-terminal.xml
+share/gnome/help/gnome-terminal/ja/legal.xml
+share/gnome/help/gnome-terminal/ko/figures/gnome-terminal-default.png
+share/gnome/help/gnome-terminal/ko/figures/gnome-terminal-tabbed.png
+share/gnome/help/gnome-terminal/ko/figures/terminal_window.png
+share/gnome/help/gnome-terminal/ko/gnome-terminal.xml
+share/gnome/help/gnome-terminal/ko/legal.xml
+share/gnome/help/gnome-terminal/ro/figures/gnome-terminal-default.png
+share/gnome/help/gnome-terminal/ro/figures/gnome-terminal-tabbed.png
+share/gnome/help/gnome-terminal/ro/figures/terminal_window.png
+share/gnome/help/gnome-terminal/ro/gnome-terminal.xml
+share/gnome/help/gnome-terminal/ro/legal.xml
+share/gnome/help/gnome-terminal/ru/figures/gnome-terminal-default.png
+share/gnome/help/gnome-terminal/ru/figures/gnome-terminal-tabbed.png
+share/gnome/help/gnome-terminal/ru/gnome-terminal.xml
+share/gnome/help/gnome-terminal/sv/figures/gnome-terminal-default.png
+share/gnome/help/gnome-terminal/sv/figures/gnome-terminal-tabbed.png
+share/gnome/help/gnome-terminal/sv/gnome-terminal.xml
+share/gnome/help/gnome-terminal/uk/figures/gnome-terminal-default.png
+share/gnome/help/gnome-terminal/uk/figures/gnome-terminal-tabbed.png
+share/gnome/help/gnome-terminal/uk/gnome-terminal.xml
+share/gnome/help/gnome-terminal/zh_CN/figures/gnome-terminal-default.png
+share/gnome/help/gnome-terminal/zh_CN/figures/gnome-terminal-tabbed.png
+share/gnome/help/gnome-terminal/zh_CN/figures/terminal_window.png
+share/gnome/help/gnome-terminal/zh_CN/gnome-terminal.xml
+share/gnome/help/gnome-terminal/zh_CN/legal.xml
+share/gnome/help/gnome-terminal/zh_TW/figures/gnome-terminal-default.png
+share/gnome/help/gnome-terminal/zh_TW/figures/gnome-terminal-tabbed.png
+share/gnome/help/gnome-terminal/zh_TW/figures/terminal_window.png
+share/gnome/help/gnome-terminal/zh_TW/gnome-terminal.xml
+share/gnome/help/gnome-terminal/zh_TW/legal.xml
+share/gnome/omf/gnome-terminal/gnome-terminal-C.omf
+share/gnome/omf/gnome-terminal/gnome-terminal-bg.omf
+share/gnome/omf/gnome-terminal/gnome-terminal-de.omf
+share/gnome/omf/gnome-terminal/gnome-terminal-es.omf
+share/gnome/omf/gnome-terminal/gnome-terminal-fr.omf
+share/gnome/omf/gnome-terminal/gnome-terminal-it.omf
+share/gnome/omf/gnome-terminal/gnome-terminal-ja.omf
+share/gnome/omf/gnome-terminal/gnome-terminal-ko.omf
+share/gnome/omf/gnome-terminal/gnome-terminal-ro.omf
+share/gnome/omf/gnome-terminal/gnome-terminal-ru.omf
+share/gnome/omf/gnome-terminal/gnome-terminal-sv.omf
+share/gnome/omf/gnome-terminal/gnome-terminal-uk.omf
+share/gnome/omf/gnome-terminal/gnome-terminal-zh_CN.omf
+share/gnome/omf/gnome-terminal/gnome-terminal-zh_TW.omf
+share/gnome/pixmaps/gnome-terminal.png
+share/locale/am/LC_MESSAGES/gnome-terminal.mo
+share/locale/ar/LC_MESSAGES/gnome-terminal.mo
+share/locale/az/LC_MESSAGES/gnome-terminal.mo
+share/locale/be/LC_MESSAGES/gnome-terminal.mo
+share/locale/be at latin/LC_MESSAGES/gnome-terminal.mo
+share/locale/bg/LC_MESSAGES/gnome-terminal.mo
+share/locale/bn/LC_MESSAGES/gnome-terminal.mo
+share/locale/bn_IN/LC_MESSAGES/gnome-terminal.mo
+share/locale/bs/LC_MESSAGES/gnome-terminal.mo
+share/locale/ca/LC_MESSAGES/gnome-terminal.mo
+share/locale/cs/LC_MESSAGES/gnome-terminal.mo
+share/locale/cy/LC_MESSAGES/gnome-terminal.mo
+share/locale/da/LC_MESSAGES/gnome-terminal.mo
+share/locale/de/LC_MESSAGES/gnome-terminal.mo
+share/locale/dz/LC_MESSAGES/gnome-terminal.mo
+share/locale/el/LC_MESSAGES/gnome-terminal.mo
+share/locale/en_CA/LC_MESSAGES/gnome-terminal.mo
+share/locale/en_GB/LC_MESSAGES/gnome-terminal.mo
+share/locale/es/LC_MESSAGES/gnome-terminal.mo
+share/locale/et/LC_MESSAGES/gnome-terminal.mo
+share/locale/eu/LC_MESSAGES/gnome-terminal.mo
+share/locale/fa/LC_MESSAGES/gnome-terminal.mo
+share/locale/fi/LC_MESSAGES/gnome-terminal.mo
+share/locale/fr/LC_MESSAGES/gnome-terminal.mo
+share/locale/ga/LC_MESSAGES/gnome-terminal.mo
+share/locale/gl/LC_MESSAGES/gnome-terminal.mo
+share/locale/gu/LC_MESSAGES/gnome-terminal.mo
+share/locale/he/LC_MESSAGES/gnome-terminal.mo
+share/locale/hi/LC_MESSAGES/gnome-terminal.mo
+share/locale/hr/LC_MESSAGES/gnome-terminal.mo
+share/locale/hu/LC_MESSAGES/gnome-terminal.mo
+share/locale/hy/LC_MESSAGES/gnome-terminal.mo
+share/locale/id/LC_MESSAGES/gnome-terminal.mo
+share/locale/it/LC_MESSAGES/gnome-terminal.mo
+share/locale/ja/LC_MESSAGES/gnome-terminal.mo
+share/locale/ka/LC_MESSAGES/gnome-terminal.mo
+share/locale/ko/LC_MESSAGES/gnome-terminal.mo
+share/locale/ku/LC_MESSAGES/gnome-terminal.mo
+share/locale/lt/LC_MESSAGES/gnome-terminal.mo
+share/locale/lv/LC_MESSAGES/gnome-terminal.mo
+share/locale/mg/LC_MESSAGES/gnome-terminal.mo
+share/locale/mk/LC_MESSAGES/gnome-terminal.mo
+share/locale/ml/LC_MESSAGES/gnome-terminal.mo
+share/locale/mn/LC_MESSAGES/gnome-terminal.mo
+share/locale/mr/LC_MESSAGES/gnome-terminal.mo
+share/locale/ms/LC_MESSAGES/gnome-terminal.mo
+share/locale/nb/LC_MESSAGES/gnome-terminal.mo
+share/locale/ne/LC_MESSAGES/gnome-terminal.mo
+share/locale/nl/LC_MESSAGES/gnome-terminal.mo
+share/locale/nn/LC_MESSAGES/gnome-terminal.mo
+share/locale/oc/LC_MESSAGES/gnome-terminal.mo
+share/locale/or/LC_MESSAGES/gnome-terminal.mo
+share/locale/pa/LC_MESSAGES/gnome-terminal.mo
+share/locale/pl/LC_MESSAGES/gnome-terminal.mo
+share/locale/pt/LC_MESSAGES/gnome-terminal.mo
+share/locale/pt_BR/LC_MESSAGES/gnome-terminal.mo
+share/locale/ro/LC_MESSAGES/gnome-terminal.mo
+share/locale/ru/LC_MESSAGES/gnome-terminal.mo
+share/locale/rw/LC_MESSAGES/gnome-terminal.mo
+share/locale/sk/LC_MESSAGES/gnome-terminal.mo
+share/locale/sl/LC_MESSAGES/gnome-terminal.mo
+share/locale/sq/LC_MESSAGES/gnome-terminal.mo
+share/locale/sr/LC_MESSAGES/gnome-terminal.mo
+share/locale/sr at Latn/LC_MESSAGES/gnome-terminal.mo
+share/locale/sv/LC_MESSAGES/gnome-terminal.mo
+share/locale/ta/LC_MESSAGES/gnome-terminal.mo
+share/locale/th/LC_MESSAGES/gnome-terminal.mo
+share/locale/tr/LC_MESSAGES/gnome-terminal.mo
+share/locale/uk/LC_MESSAGES/gnome-terminal.mo
+share/locale/vi/LC_MESSAGES/gnome-terminal.mo
+share/locale/wa/LC_MESSAGES/gnome-terminal.mo
+share/locale/xh/LC_MESSAGES/gnome-terminal.mo
+share/locale/zh_CN/LC_MESSAGES/gnome-terminal.mo
+share/locale/zh_HK/LC_MESSAGES/gnome-terminal.mo
+share/locale/zh_TW/LC_MESSAGES/gnome-terminal.mo
+ at dirrm share/gnome/omf/gnome-terminal
+ at dirrm share/gnome/help/gnome-terminal/zh_TW/figures
+ at dirrm share/gnome/help/gnome-terminal/zh_TW
+ at dirrm share/gnome/help/gnome-terminal/zh_CN/figures
+ at dirrm share/gnome/help/gnome-terminal/zh_CN
+ at dirrm share/gnome/help/gnome-terminal/uk/figures
+ at dirrm share/gnome/help/gnome-terminal/uk
+ at dirrm share/gnome/help/gnome-terminal/sv/figures
+ at dirrm share/gnome/help/gnome-terminal/sv
+ at dirrm share/gnome/help/gnome-terminal/ru/figures
+ at dirrm share/gnome/help/gnome-terminal/ru
+ at dirrm share/gnome/help/gnome-terminal/ro/figures
+ at dirrm share/gnome/help/gnome-terminal/ro
+ at dirrm share/gnome/help/gnome-terminal/ko/figures
+ at dirrm share/gnome/help/gnome-terminal/ko
+ at dirrm share/gnome/help/gnome-terminal/ja/figures
+ at dirrm share/gnome/help/gnome-terminal/ja
+ at dirrm share/gnome/help/gnome-terminal/it/figures
+ at dirrm share/gnome/help/gnome-terminal/it
+ at dirrm share/gnome/help/gnome-terminal/fr/figures
+ at dirrm share/gnome/help/gnome-terminal/fr
+ at dirrm share/gnome/help/gnome-terminal/es/figures
+ at dirrm share/gnome/help/gnome-terminal/es
+ at dirrm share/gnome/help/gnome-terminal/de/figures
+ at dirrm share/gnome/help/gnome-terminal/de
+ at dirrm share/gnome/help/gnome-terminal/bg/figures
+ at dirrm share/gnome/help/gnome-terminal/bg
+ at dirrm share/gnome/help/gnome-terminal/C/figures
+ at dirrm share/gnome/help/gnome-terminal/C
+ at dirrm share/gnome/help/gnome-terminal
+ at dirrm share/gnome/gnome-terminal/glade
+ at dirrm share/gnome/gnome-terminal
+ at dirrmtry share/locale/zh_HK/LC_MESSAGES
+ at dirrmtry share/locale/zh_HK
+ at dirrmtry share/locale/xh/LC_MESSAGES
+ at dirrmtry share/locale/xh
+ at dirrmtry share/locale/rw/LC_MESSAGES
+ at dirrmtry share/locale/rw
+ at dirrmtry share/locale/oc/LC_MESSAGES
+ at dirrmtry share/locale/oc
+ at dirrmtry share/locale/mr/LC_MESSAGES
+ at dirrmtry share/locale/mr
+ at dirrmtry share/locale/mg/LC_MESSAGES
+ at dirrmtry share/locale/mg
+ at dirrmtry share/locale/ku/LC_MESSAGES
+ at dirrmtry share/locale/ku
+ at dirrmtry share/locale/hy/LC_MESSAGES
+ at dirrmtry share/locale/hy
+ at dirrmtry share/locale/dz/LC_MESSAGES
+ at dirrmtry share/locale/dz
+ at dirrmtry share/locale/bn_IN/LC_MESSAGES
+ at dirrmtry share/locale/bn_IN
+ at dirrmtry share/locale/be at latin/LC_MESSAGES
+ at dirrmtry share/locale/be at latin
--- /dev/null
+++ x11/gnome-terminal/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: gnometerminal
+# Date created: 1 May 2002
+# Whom: Joe Marcus Clarke <marcus at FreeBSD.org>
+#
+# $MidnightBSD: mports/x11/gnome-terminal/Makefile,v 1.1 2007/10/20 05:29:11 laffer1 Exp $
+# $FreeBSD: ports/x11/gnome-terminal/Makefile,v 1.43 2007/06/23 16:44:57 mezz Exp $
+# $MCom: ports/x11/gnome-terminal/Makefile,v 1.86 2007/03/13 00:46:19 mezz Exp $
+#
+
+PORTNAME= gnome-terminal
+PORTVERSION= 2.18.1
+CATEGORIES= x11 gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+DIST_SUBDIR= gnome2
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Terminal component for the GNOME 2 Desktop
+
+USE_GETTEXT= yes
+USE_BZIP2= yes
+INSTALLS_OMF= yes
+USE_XLIB= yes
+USE_GMAKE= yes
+USE_GNOME= gnomeprefix gnomehack intlhack libgnomeui vte gnomedocutils
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+GCONF_SCHEMAS= gnome-terminal.schemas
+
+.include <bsd.port.mk>
--- /dev/null
+++ x11/gnome-terminal/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome2/gnome-terminal-2.18.1.tar.bz2) = c1902cf4727f4cd976d6cc0beb1c03fe
+SHA256 (gnome2/gnome-terminal-2.18.1.tar.bz2) = a66701d5c247c092d9b52ee2209cdb8094f5ce2ab339ee78738ccdb3a0b81cdb
+SIZE (gnome2/gnome-terminal-2.18.1.tar.bz2) = 1995096
--- /dev/null
+++ x11/gnome-terminal/files/patch-src_terminal-screen.c
@@ -0,0 +1,82 @@
+--- src/terminal-screen.c.orig Wed Oct 18 15:50:28 2006
++++ src/terminal-screen.c Wed Oct 18 15:49:42 2006
+@@ -244,6 +244,10 @@
+ GtkAllocation *allocation)
+ {
+ GtkWidget *child;
++ GtkAllocation old_allocation;
++
++ old_allocation.width = widget->allocation.width;
++ old_allocation.height = widget->allocation.height;
+
+ widget->allocation = *allocation;
+
+@@ -251,6 +255,13 @@
+ g_assert (child != NULL);
+
+ gtk_widget_size_allocate (child, allocation);
++
++ if (old_allocation.width != allocation->width ||
++ old_allocation.height != allocation->height)
++ {
++ GtkWidget *term = TERMINAL_SCREEN (widget)->priv->term;
++ gtk_widget_queue_resize_no_redraw (term);
++ }
+ }
+
+ static void
+@@ -278,22 +289,22 @@
+ #define URLPATH "/[" PATHCHARS "]*[^]'.}>) \t\r\n,\\\"]"
+
+ terminal_widget_match_add (screen->priv->term,
+- "\\<" SCHEME "//(" USER "@)?[" HOSTCHARS ".]+"
+- "(:[0-9]+)?(" URLPATH ")?\\>/?", FLAVOR_AS_IS);
++ "[[:<:]]" SCHEME "//(" USER "@)?[" HOSTCHARS ".]+"
++ "(:[0-9]+)?(" URLPATH ")?[[:>:]]/?", FLAVOR_AS_IS);
+
+ terminal_widget_match_add (screen->priv->term,
+- "\\<(www|ftp)[" HOSTCHARS "]*\\.[" HOSTCHARS ".]+"
+- "(:[0-9]+)?(" URLPATH ")?\\>/?",
++ "[[:<:]](www|ftp)[" HOSTCHARS "]*\\.[" HOSTCHARS ".]+"
++ "(:[0-9]+)?(" URLPATH ")?[[:>:]]/?",
+ FLAVOR_DEFAULT_TO_HTTP);
+
+ terminal_widget_match_add (screen->priv->term,
+- "\\<(mailto:)?[a-z0-9][a-z0-9.-]*@[a-z0-9]"
+- "[a-z0-9-]*(\\.[a-z0-9][a-z0-9-]*)+\\>",
++ "[[:<:]](mailto:)?[a-z0-9][a-z0-9.-]*@[a-z0-9]"
++ "[a-z0-9-]*(\\.[a-z0-9][a-z0-9-]*)+[[:>:]]",
+ FLAVOR_EMAIL);
+
+ terminal_widget_match_add (screen->priv->term,
+- "\\<news:[-A-Z\\^_a-z{|}~!\"#$%&'()*+,./0-9;:=?`]+"
+- "@[" HOSTCHARS ".]+(:[0-9]+)?\\>", FLAVOR_AS_IS);
++ "[[:<:]]news:[-A-Z\\^_a-z{|}~!\"#$%&'()*+,./0-9;:=?`]+"
++ "@[" HOSTCHARS ".]+(:[0-9]+)?[[:>:]]", FLAVOR_AS_IS);
+
+ terminal_screen_setup_dnd (screen);
+
+@@ -548,7 +559,6 @@
+ */
+ terminal_screen_update_scrollbar (screen);
+ terminal_window_update_icon (screen->priv->window);
+- terminal_window_update_geometry (screen->priv->window);
+ }
+
+ if (GTK_WIDGET_REALIZED (screen->priv->term))
+@@ -909,7 +919,6 @@
+
+ terminal_widget_set_allow_bold (term,
+ terminal_profile_get_allow_bold (profile));
+- terminal_window_set_size (screen->priv->window, screen, TRUE);
+ }
+
+ static void
+@@ -1019,6 +1028,7 @@
+ GtkWidget*
+ terminal_screen_get_widget (TerminalScreen *screen)
+ {
++ if (screen == NULL) return NULL;
+ return screen->priv->term;
+ }
+
More information about the Midnightbsd-cvs
mailing list