Import xarchiver 0.5.2.

Xarchiver is a lightweight desktop independent archive manager built
with the GTK+2 toolkit. It supports 7-zip, arj, bzip2, gzip, rar, lha,
lzma, lzop, deb, rpm, tar and zip archives if the corresponding
commandline tools are available.

looks good to ajacoutot@
This commit is contained in:
landry 2009-07-22 20:39:58 +00:00
parent eb54af552b
commit 4527abd024
5 changed files with 163 additions and 0 deletions

32
x11/xarchiver/Makefile Normal file
View File

@ -0,0 +1,32 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/07/22 20:39:58 landry Exp $
COMMENT = simple archive manager
CATEGORIES = archivers x11
DISTNAME = xarchiver-0.5.2
MAINTAINER = Landry Breuil <gaston@gcu.info>
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=xarchiver/}
EXTRACT_SUFX = .tar.bz2
HOMEPAGE = http://xarchiver.xfce.org
# GPLv2
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
MODULES = x11/xfce4
DESKTOP_FILES = Yes
USE_X11 = Yes
CONFIGURE_STYLE = gnu
LIB_DEPENDS = gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2
WANTLIB = X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig \
freetype gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0 \
m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1 \
png z
.include <bsd.port.mk>

5
x11/xarchiver/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (xarchiver-0.5.2.tar.bz2) = K8fwZAPMZYLdSoAp7J0DjQ==
RMD160 (xarchiver-0.5.2.tar.bz2) = d7HardOf2GxVgsdfd0KC9L7EG/c=
SHA1 (xarchiver-0.5.2.tar.bz2) = jI8O6CyTq83PmXT6MGEaoF+lG9A=
SHA256 (xarchiver-0.5.2.tar.bz2) = zqky/51QWWkgH9UCRwu+u8VyarPWdl4UL8gpWqZ3rSo=
SIZE (xarchiver-0.5.2.tar.bz2) = 755418

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-src_window_c,v 1.1.1.1 2009/07/22 20:39:58 landry Exp $
--- src/window.c.orig Tue Nov 11 09:31:45 2008
+++ src/window.c Mon Jul 20 22:33:57 2009
@@ -1447,7 +1447,7 @@ void xa_set_statusbar_message_for_displayed_rows(XArch
GtkTreeIter iter;
gint n_elem = 0,pos = 0,dirs = 0;
unsigned long int total_size = 0;
- unsigned long int size = 0;
+ guint64 size = 0;
XEntry *entry = NULL;
path = gtk_tree_path_new_first();
@@ -1517,7 +1517,7 @@ void xa_row_selected (GtkTreeSelection *selection,XArc
GtkTreeModel *model;
gint selected = 0,pos = 0,dirs = 0;
unsigned long int total_size = 0;
- unsigned long int size = 0;
+ guint64 size = 0;
XEntry *entry;
switch (archive->type)

4
x11/xarchiver/pkg/DESCR Normal file
View File

@ -0,0 +1,4 @@
Xarchiver is a lightweight desktop independent archive manager built
with the GTK+2 toolkit. It supports 7-zip, arj, bzip2, gzip, rar, lha,
lzma, lzop, deb, rpm, tar and zip archives if the corresponding
commandline tools are available.

101
x11/xarchiver/pkg/PLIST Normal file
View File

@ -0,0 +1,101 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/07/22 20:39:58 landry Exp $
@bin bin/xarchiver
libexec/thunar-archive-plugin/
libexec/thunar-archive-plugin/xarchiver.tap
share/applications/xarchiver.desktop
share/doc/xarchiver/
share/doc/xarchiver/AUTHORS
share/doc/xarchiver/COPYING
share/doc/xarchiver/ChangeLog
share/doc/xarchiver/NEWS
share/doc/xarchiver/README
share/doc/xarchiver/TODO
share/doc/xarchiver/html/
share/doc/xarchiver/html/ch01.html
share/doc/xarchiver/html/ch01s02.html
share/doc/xarchiver/html/ch01s03.html
share/doc/xarchiver/html/ch01s04.html
share/doc/xarchiver/html/ch02.html
share/doc/xarchiver/html/ch02s02.html
share/doc/xarchiver/html/ch02s03.html
share/doc/xarchiver/html/ch03.html
share/doc/xarchiver/html/ch03s02.html
share/doc/xarchiver/html/ch03s03.html
share/doc/xarchiver/html/ch03s04.html
share/doc/xarchiver/html/ch03s05.html
share/doc/xarchiver/html/ch03s06.html
share/doc/xarchiver/html/ch03s07.html
share/doc/xarchiver/html/ch03s08.html
share/doc/xarchiver/html/ch03s09.html
share/doc/xarchiver/html/ch04.html
share/doc/xarchiver/html/ch04s02.html
share/doc/xarchiver/html/ch04s03.html
share/doc/xarchiver/html/ch04s04.html
share/doc/xarchiver/html/ch04s05.html
share/doc/xarchiver/html/ch04s06.html
share/doc/xarchiver/html/images/
share/doc/xarchiver/html/images/add_dialog.png
share/doc/xarchiver/html/images/archive_comment_dialog.png
share/doc/xarchiver/html/images/archive_properties.png
share/doc/xarchiver/html/images/extract_dialog.png
share/doc/xarchiver/html/images/multi_extract_dialog.png
share/doc/xarchiver/html/images/new_dialog.png
share/doc/xarchiver/html/images/password_dialog.png
share/doc/xarchiver/html/images/pref_dialog.png
share/doc/xarchiver/html/index.html
share/doc/xarchiver/html/xarchiver.css
share/icons/
share/icons/hicolor/
share/icons/hicolor/16x16/
share/icons/hicolor/16x16/apps/
share/icons/hicolor/16x16/apps/xarchiver.png
share/icons/hicolor/24x24/
share/icons/hicolor/24x24/apps/
share/icons/hicolor/24x24/apps/xarchiver.png
share/icons/hicolor/48x48/
share/icons/hicolor/48x48/apps/
share/icons/hicolor/48x48/apps/xarchiver.png
share/icons/hicolor/scalable/
share/icons/hicolor/scalable/apps/
share/icons/hicolor/scalable/apps/xarchiver.svg
share/locale/bg/LC_MESSAGES/xarchiver.mo
share/locale/ca/LC_MESSAGES/xarchiver.mo
share/locale/cs/LC_MESSAGES/xarchiver.mo
share/locale/da/LC_MESSAGES/xarchiver.mo
share/locale/de/LC_MESSAGES/xarchiver.mo
share/locale/el/LC_MESSAGES/xarchiver.mo
share/locale/en_GB/
share/locale/en_GB/LC_MESSAGES/
share/locale/en_GB/LC_MESSAGES/xarchiver.mo
share/locale/es/LC_MESSAGES/xarchiver.mo
share/locale/eu/LC_MESSAGES/xarchiver.mo
share/locale/fi/LC_MESSAGES/xarchiver.mo
share/locale/fr/LC_MESSAGES/xarchiver.mo
share/locale/hu/LC_MESSAGES/xarchiver.mo
share/locale/id/LC_MESSAGES/xarchiver.mo
share/locale/ja/LC_MESSAGES/xarchiver.mo
share/locale/nb_NO/
share/locale/nb_NO/LC_MESSAGES/
share/locale/nb_NO/LC_MESSAGES/xarchiver.mo
share/locale/nl/LC_MESSAGES/xarchiver.mo
share/locale/pl/LC_MESSAGES/xarchiver.mo
share/locale/pt_BR/LC_MESSAGES/xarchiver.mo
share/locale/pt_PT/
share/locale/pt_PT/LC_MESSAGES/
share/locale/pt_PT/LC_MESSAGES/xarchiver.mo
share/locale/ru/LC_MESSAGES/xarchiver.mo
share/locale/sq/
share/locale/sq/LC_MESSAGES/
share/locale/sq/LC_MESSAGES/xarchiver.mo
share/locale/sv/LC_MESSAGES/xarchiver.mo
share/locale/tr/LC_MESSAGES/xarchiver.mo
share/locale/uk/LC_MESSAGES/xarchiver.mo
share/pixmaps/
share/pixmaps/xarchiver/
share/pixmaps/xarchiver/xarchiver-add.png
share/pixmaps/xarchiver/xarchiver-extract.png
share/pixmaps/xarchiver/xarchiver-html.png
@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
@exec %D/bin/update-desktop-database
@unexec %D/bin/update-desktop-database