From owner-svn-ports-head@FreeBSD.ORG Tue Apr 23 17:43:19 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6DDA064B; Tue, 23 Apr 2013 17:43:19 +0000 (UTC) (envelope-from olivierd@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 50070133B; Tue, 23 Apr 2013 17:43:19 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r3NHhJ4H025582; Tue, 23 Apr 2013 17:43:19 GMT (envelope-from olivierd@svn.freebsd.org) Received: (from olivierd@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r3NHhHj1025576; Tue, 23 Apr 2013 17:43:17 GMT (envelope-from olivierd@svn.freebsd.org) Message-Id: <201304231743.r3NHhHj1025576@svn.freebsd.org> From: Olivier Duchateau Date: Tue, 23 Apr 2013 17:43:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r316383 - in head/editors/mousepad: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Apr 2013 17:43:19 -0000 Author: olivierd Date: Tue Apr 23 17:43:17 2013 New Revision: 316383 URL: http://svnweb.freebsd.org/changeset/ports/316383 Log: - Update to 0.3.0 - Trim Makefile header - Add new option DBUS - Convert to USES=desktop-file-utils gettext pathfix pkgconfig - Remove unneeded patch Added: head/editors/mousepad/files/patch-mousepad.desktop.in.in (contents, props changed) head/editors/mousepad/files/patch-mousepad__main.c (contents, props changed) Deleted: head/editors/mousepad/files/patch-src_search.c Modified: head/editors/mousepad/Makefile (contents, props changed) head/editors/mousepad/distinfo (contents, props changed) head/editors/mousepad/pkg-descr (contents, props changed) head/editors/mousepad/pkg-plist (contents, props changed) Modified: head/editors/mousepad/Makefile ============================================================================== --- head/editors/mousepad/Makefile Tue Apr 23 17:29:08 2013 (r316382) +++ head/editors/mousepad/Makefile Tue Apr 23 17:43:17 2013 (r316383) @@ -1,29 +1,35 @@ -# New ports collection makefile for: mousepad -# Date created: 19 April 2006 -# Whom: Oliver Lehmann -# +# Created by: Oliver Lehmann # $FreeBSD$ # PORTNAME= mousepad -PORTVERSION= 0.2.16 -PORTREVISION= 11 +PORTVERSION= 0.3.0 CATEGORIES= editors xfce MASTER_SITES= ${MASTER_SITE_XFCE} MASTER_SITE_SUBDIR=src/apps/${PORTNAME}/${PORTVERSION:R} DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org -COMMENT= Simple Xfce editor +COMMENT= Simple text editor for the Xfce Desktop GNU_CONFIGURE= yes USE_BZIP2= yes -USE_GETTEXT= yes USE_GMAKE= yes -USE_GNOME= gtk20 intltool intlhack pkgconfig desktopfileutils -USE_XFCE= configenv libgui +USES= desktop-file-utils gettext pathfix pkgconfig +USE_GNOME= glib20 gtk20 intltool intlhack gtksourceview2 +USE_XFCE= configenv +USE_PERL5= yes + +OPTIONS_DEFINE= DBUS +OPTIONS_DEFAULT= DBUS + +.include -post-install: - @-update-desktop-database +.if ${PORT_OPTIONS:MDBUS} +LIB_DEPENDS= dbus-glib-1:${PORTSDIR}/devel/dbus-glib +CONFIGURE_ARGS+=--enable-dbus +.else +CONFIGURE_ARGS+=--disable-dbus +.endif .include Modified: head/editors/mousepad/distinfo ============================================================================== --- head/editors/mousepad/distinfo Tue Apr 23 17:29:08 2013 (r316382) +++ head/editors/mousepad/distinfo Tue Apr 23 17:43:17 2013 (r316383) @@ -1,2 +1,2 @@ -SHA256 (xfce4/mousepad-0.2.16.tar.bz2) = 86e593fd4b1b87d27cda9ebd8901078e795031b5880645850d6ef0b410f4e73e -SIZE (xfce4/mousepad-0.2.16.tar.bz2) = 332253 +SHA256 (xfce4/mousepad-0.3.0.tar.bz2) = 10f27506994d0d0b8f9e02555404a144babedab97517abe3b6be8b2d21ff046d +SIZE (xfce4/mousepad-0.3.0.tar.bz2) = 481125 Added: head/editors/mousepad/files/patch-mousepad.desktop.in.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/editors/mousepad/files/patch-mousepad.desktop.in.in Tue Apr 23 17:43:17 2013 (r316383) @@ -0,0 +1,10 @@ +--- ./mousepad.desktop.in.in.orig 2012-12-30 11:04:01.000000000 +0000 ++++ ./mousepad.desktop.in.in 2012-12-30 15:36:39.000000000 +0000 +@@ -9,5 +9,5 @@ + Terminal=false + StartupNotify=true + Type=Application +-Categories=Application;Utility;TextEditor;GTK; +-MimeType=text/plain ++Categories=Utility;TextEditor;GTK; ++MimeType=text/plain; Added: head/editors/mousepad/files/patch-mousepad__main.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/editors/mousepad/files/patch-mousepad__main.c Tue Apr 23 17:43:17 2013 (r316383) @@ -0,0 +1,10 @@ +--- ./mousepad/main.c.orig 2012-12-30 11:04:01.000000000 +0000 ++++ ./mousepad/main.c 2012-12-30 15:35:18.000000000 +0000 +@@ -72,6 +72,7 @@ + + /* bind the text domain to the locale directory */ + bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR); ++ bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); + + /* set the package textdomain */ + textdomain (GETTEXT_PACKAGE); Modified: head/editors/mousepad/pkg-descr ============================================================================== --- head/editors/mousepad/pkg-descr Tue Apr 23 17:29:08 2013 (r316382) +++ head/editors/mousepad/pkg-descr Tue Apr 23 17:43:17 2013 (r316383) @@ -1,5 +1,3 @@ -Mousepad is a simple text editor for Xfce based on Leafpad. The initial -reason for Mousepad was to provide printing support, which would have -been difficult for Leafpad for various reasons. +Mousepad is a simple text editor for the Xfce desktop environment. WWW: http://www.xfce.org/projects/mousepad/ Modified: head/editors/mousepad/pkg-plist ============================================================================== --- head/editors/mousepad/pkg-plist Tue Apr 23 17:29:08 2013 (r316382) +++ head/editors/mousepad/pkg-plist Tue Apr 23 17:43:17 2013 (r316383) @@ -1,60 +1,30 @@ bin/mousepad share/applications/mousepad.desktop -share/locale/am/LC_MESSAGES/mousepad.mo share/locale/ar/LC_MESSAGES/mousepad.mo -share/locale/be/LC_MESSAGES/mousepad.mo -share/locale/ca/LC_MESSAGES/mousepad.mo share/locale/cs/LC_MESSAGES/mousepad.mo -share/locale/cy/LC_MESSAGES/mousepad.mo share/locale/da/LC_MESSAGES/mousepad.mo share/locale/de/LC_MESSAGES/mousepad.mo -share/locale/dz/LC_MESSAGES/mousepad.mo -share/locale/el/LC_MESSAGES/mousepad.mo -share/locale/en_GB/LC_MESSAGES/mousepad.mo -share/locale/eo/LC_MESSAGES/mousepad.mo share/locale/es/LC_MESSAGES/mousepad.mo -share/locale/et/LC_MESSAGES/mousepad.mo -share/locale/eu/LC_MESSAGES/mousepad.mo -share/locale/fi/LC_MESSAGES/mousepad.mo share/locale/fr/LC_MESSAGES/mousepad.mo -share/locale/gl/LC_MESSAGES/mousepad.mo -share/locale/gu/LC_MESSAGES/mousepad.mo -share/locale/he/LC_MESSAGES/mousepad.mo -share/locale/hu/LC_MESSAGES/mousepad.mo +share/locale/hr/LC_MESSAGES/mousepad.mo share/locale/id/LC_MESSAGES/mousepad.mo share/locale/it/LC_MESSAGES/mousepad.mo share/locale/ja/LC_MESSAGES/mousepad.mo -share/locale/ka/LC_MESSAGES/mousepad.mo share/locale/ko/LC_MESSAGES/mousepad.mo -share/locale/ku/LC_MESSAGES/mousepad.mo share/locale/lt/LC_MESSAGES/mousepad.mo -share/locale/lv/LC_MESSAGES/mousepad.mo -share/locale/mk/LC_MESSAGES/mousepad.mo -share/locale/nb/LC_MESSAGES/mousepad.mo -share/locale/nl/LC_MESSAGES/mousepad.mo -share/locale/pa/LC_MESSAGES/mousepad.mo share/locale/pl/LC_MESSAGES/mousepad.mo +share/locale/pt/LC_MESSAGES/mousepad.mo share/locale/pt_BR/LC_MESSAGES/mousepad.mo -share/locale/pt_PT/LC_MESSAGES/mousepad.mo +share/locale/ro/LC_MESSAGES/mousepad.mo share/locale/ru/LC_MESSAGES/mousepad.mo -share/locale/si/LC_MESSAGES/mousepad.mo share/locale/sk/LC_MESSAGES/mousepad.mo -share/locale/sl/LC_MESSAGES/mousepad.mo -share/locale/sq/LC_MESSAGES/mousepad.mo +share/locale/sr/LC_MESSAGES/mousepad.mo share/locale/sv/LC_MESSAGES/mousepad.mo -share/locale/ta/LC_MESSAGES/mousepad.mo -share/locale/tr/LC_MESSAGES/mousepad.mo -share/locale/ur/LC_MESSAGES/mousepad.mo +share/locale/ug/LC_MESSAGES/mousepad.mo share/locale/uk/LC_MESSAGES/mousepad.mo share/locale/zh_CN/LC_MESSAGES/mousepad.mo share/locale/zh_TW/LC_MESSAGES/mousepad.mo -share/pixmaps/mousepad.png -@dirrmtry share/locale/ur/LC_MESSAGES -@dirrmtry share/locale/ur -@dirrmtry share/locale/si/LC_MESSAGES -@dirrmtry share/locale/si -@dirrmtry share/locale/ku/LC_MESSAGES -@dirrmtry share/locale/ku -@dirrmtry share/applications +@dirrmtry share/locale/ug/LC_MESSAGES +@dirrmtry share/locale/ug @exec %%LOCALBASE%%/bin/update-desktop-database >/dev/null || /usr/bin/true @unexec %%LOCALBASE%%/bin/update-desktop-database >/dev/null || /usr/bin/true