Import thunar-vcs 0.1.0:

Thunar vcs plugin adds Subversion actions to the context menu of thunar.
The current features are:
* Most of the svn action: add, checkout, cleanup, commit, copy, delete,
  export, import, lock, log, move, properties, resolved, revert, status,
  unlock, update.
* Subversion info in file properties dialog.
Limited git support is available, but disabled by default.
This commit is contained in:
landry 2009-09-29 20:06:24 +00:00
parent f6895964b5
commit e16982c01d
7 changed files with 129 additions and 0 deletions

View File

@ -0,0 +1,33 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/09/29 20:06:24 landry Exp $
COMMENT = Thunar vcs integration plugin
XFCE_VERSION = 0.1.0
THUNAR_PLUGIN = thunar-vcs-plugin
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MODULES = x11/xfce4
# --as-needed fucks linking with pthread
CONFIGURE_ARGS += --disable-linker-opts
# correctly find bindtextdomain
CONFIGURE_ENV += LIBS='-liconv'
LIB_DEPENDS = thunar-vfs-1::x11/xfce4/thunar \
svn_client-1,svn_delta-1,svn_diff-1,svn_fs-1,svn_fs_base-1,svn_fs_fs-1,svn_fs_util-1,svn_ra-1,svn_ra_local-1,svn_ra_neon-1,svn_ra_svn-1,svn_repos-1,svn_subr-1,svn_wc-1::devel/subversion
WANTLIB += ICE SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext
WANTLIB += Xfixes Xi Xinerama Xrandr Xrender apr-1 aprutil-1 asn1
WANTLIB += atk-1.0 c cairo crypto db execinfo exo-0.3 expat fam
WANTLIB += fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0
WANTLIB += glib-2.0 glitz gmodule-2.0 gobject-2.0 gssapi gthread-2.0
WANTLIB += gtk-x11-2.0 jpeg krb5 m neon pcre pixman-1 png pthread
WANTLIB += pthread-stubs rpcsvc sasl2 sqlite3 ssl startup-notification-1
WANTLIB += stdc++ xcb xcb-atom xcb-aux xcb-event xfce4util z
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (xfce4/thunar-vcs-plugin-0.1.0.tar.bz2) = kNHy1BTCtLi/IRqKaxOzWA==
RMD160 (xfce4/thunar-vcs-plugin-0.1.0.tar.bz2) = q/tZouuEHQ1LGbecMGFylmO+J8c=
SHA1 (xfce4/thunar-vcs-plugin-0.1.0.tar.bz2) = QkLUzessyjUjqUU8xhSxNmN/8WA=
SHA256 (xfce4/thunar-vcs-plugin-0.1.0.tar.bz2) = f7IA5QQStSwZ+0FsvhmWMTu6fqHRyXmRIbGoGzj5akE=
SIZE (xfce4/thunar-vcs-plugin-0.1.0.tar.bz2) = 366822

View File

@ -0,0 +1,19 @@
$OpenBSD: patch-tvp-svn-helper_Makefile_in,v 1.1.1.1 2009/09/29 20:06:24 landry Exp $
--- tvp-svn-helper/Makefile.in.orig Sun Sep 27 16:47:30 2009
+++ tvp-svn-helper/Makefile.in Tue Sep 29 21:40:22 2009
@@ -362,6 +362,7 @@ tvp_svn_helper_SOURCES = \
tsh-trust-dialog.c
tvp_svn_helper_CPPFLAGS = \
+ -DPACKAGE_LOCALE_DIR=\"$(localedir)\" \
-DG_LOG_DOMAIN=\"tvp-svn-helper\"
tvp_svn_helper_CFLAGS = \
@@ -378,6 +379,7 @@ tvp_svn_helper_LDFLAGS = \
$(GTK_LIBS) \
$(GLIB_LIBS) \
$(GOBJECT_LIBS) \
+ -pthread \
$(APR_LIBS)
all: all-am

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-tvp-svn-helper_main_c,v 1.1.1.1 2009/09/29 20:06:24 landry Exp $
gettext hell
--- tvp-svn-helper/main.c.orig Tue Sep 29 21:32:59 2009
+++ tvp-svn-helper/main.c Tue Sep 29 21:34:45 2009
@@ -233,6 +233,12 @@ int main (int argc, char *argv[])
{ NULL, '\0', 0, 0, NULL, NULL, NULL }
};
+ /* setup i18n support */
+ bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR);
+#ifdef HAVE_BIND_TEXTDOMAIN_CODESET
+ bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+#endif
+
if (!g_thread_supported ())
g_thread_init (NULL);
gdk_threads_init ();

View File

@ -0,0 +1,7 @@
Thunar vcs plugin adds Subversion actions to the context menu of thunar.
The current features are:
* Most of the svn action: add, checkout, cleanup, commit, copy, delete,
export, import, lock, log, move, properties, resolved, revert, status,
unlock, update.
* Subversion info in file properties dialog.
In the future, git will be supported too.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2009/09/29 20:06:24 landry Exp $
lib/thunarx-1/thunar-vcs-plugin.so

View File

@ -0,0 +1,46 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/09/29 20:06:24 landry Exp $
%%SHARED%%
lib/thunarx-1/
lib/thunarx-1/thunar-vcs-plugin.a
lib/thunarx-1/thunar-vcs-plugin.la
@bin libexec/tvp-svn-helper
share/icons/
share/icons/hicolor/
share/icons/hicolor/16x16/
share/icons/hicolor/16x16/apps/
share/icons/hicolor/24x24/
share/icons/hicolor/24x24/apps/
share/icons/hicolor/24x24/apps/subversion.png
share/icons/hicolor/48x48/
share/icons/hicolor/48x48/apps/
share/icons/hicolor/48x48/apps/subversion.png
share/locale/ar/
share/locale/ar/LC_MESSAGES/
share/locale/ar/LC_MESSAGES/thunar-vcs-plugin.mo
share/locale/ca/LC_MESSAGES/thunar-vcs-plugin.mo
share/locale/cs/LC_MESSAGES/thunar-vcs-plugin.mo
share/locale/da/LC_MESSAGES/thunar-vcs-plugin.mo
share/locale/de/LC_MESSAGES/thunar-vcs-plugin.mo
share/locale/en_GB/
share/locale/en_GB/LC_MESSAGES/
share/locale/en_GB/LC_MESSAGES/thunar-vcs-plugin.mo
share/locale/es/LC_MESSAGES/thunar-vcs-plugin.mo
share/locale/fr/LC_MESSAGES/thunar-vcs-plugin.mo
share/locale/gl/LC_MESSAGES/thunar-vcs-plugin.mo
share/locale/hu/LC_MESSAGES/thunar-vcs-plugin.mo
share/locale/id/LC_MESSAGES/thunar-vcs-plugin.mo
share/locale/lv/LC_MESSAGES/thunar-vcs-plugin.mo
share/locale/nl/LC_MESSAGES/thunar-vcs-plugin.mo
share/locale/pl/LC_MESSAGES/thunar-vcs-plugin.mo
share/locale/pt/LC_MESSAGES/thunar-vcs-plugin.mo
share/locale/pt_BR/LC_MESSAGES/thunar-vcs-plugin.mo
share/locale/sv/LC_MESSAGES/thunar-vcs-plugin.mo
share/locale/ur/
share/locale/ur/LC_MESSAGES/
share/locale/ur/LC_MESSAGES/thunar-vcs-plugin.mo
share/locale/ur_PK/
share/locale/ur_PK/LC_MESSAGES/
share/locale/ur_PK/LC_MESSAGES/thunar-vcs-plugin.mo
share/locale/zh_CN/LC_MESSAGES/thunar-vcs-plugin.mo
@exec %D/bin/gtk-update-icon-cache -q -f -t %D/share/icons/hicolor 2> /dev/null || true
@unexec %D/bin/gtk-update-icon-cache -q -f -t %D/share/icons/hicolor 2> /dev/null || true