Import xarchive-0.2.8-6
XArchive is a GTK+2 front-end for various command line archiving programs. The idea is to have a generic front end for archives that uses external wrappers around the command line archiving tools. Original port from Giovanni Bechis <g.bechis at snb dot it> (MAINTAINER) with some tweaks by myself
This commit is contained in:
parent
ba0cd2686b
commit
bdabf132d7
41
x11/xarchive/Makefile
Normal file
41
x11/xarchive/Makefile
Normal file
@ -0,0 +1,41 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2007/07/16 21:35:42 ajacoutot Exp $
|
||||
|
||||
COMMENT= GTK+2 front-end for command line archiving tools
|
||||
|
||||
DISTNAME= xarchive-0.2.8-6
|
||||
CATEGORIES= x11
|
||||
|
||||
HOMEPAGE= http://xarchive.sourceforge.net/
|
||||
|
||||
MAINTAINER= Giovanni Bechis <g.bechis@snb.it>
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xarchive/}
|
||||
|
||||
WANTLIB= X11 Xau Xcursor Xdmcp Xext Xfixes Xi Xinerama Xrandr \
|
||||
Xrender c expat fontconfig freetype m z atk-1.0 \
|
||||
glib-2.0 gmodule-2.0 gobject-2.0 glitz png pango-1.0 \
|
||||
pangoft2-1.0 pangocairo-1.0 cairo
|
||||
|
||||
MODULES= devel/gettext
|
||||
LIB_DEPENDS= gdk_pixbuf-2.0.>=1000,gdk-x11-2.0.>=1000,gtk-x11-2.0.>=1000::x11/gtk+2
|
||||
RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils
|
||||
|
||||
USE_X11= Yes
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ENV= BASH_PROG=/bin/sh
|
||||
|
||||
pre-configure:
|
||||
@perl -pi -e 's,AWK_PROGS="mawk gawk awk",AWK_PROGS="awk gawk mawk",g' \
|
||||
${WRKSRC}/wrappers/*.src
|
||||
@perl -pi -e 's,!!PREFIX!!,${PREFIX},g' \
|
||||
${WRKSRC}/doc/xarchive.1 \
|
||||
${WRKSRC}/doc/xarchive.1.txt.src
|
||||
|
||||
.include <bsd.port.mk>
|
5
x11/xarchive/distinfo
Normal file
5
x11/xarchive/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (xarchive-0.2.8-6.tar.gz) = 6N9RSUd9LKktSsylFdYABQ==
|
||||
RMD160 (xarchive-0.2.8-6.tar.gz) = Ec4ebK9t4RK7agEJ3s3eOxajBUw=
|
||||
SHA1 (xarchive-0.2.8-6.tar.gz) = X4pofOLtOirPD92HSKwCrMQ6Yn4=
|
||||
SHA256 (xarchive-0.2.8-6.tar.gz) = pHdQqnEjlr00Gze8SkKNG/Jn9Q9GDeKUBUAf8U+NDjI=
|
||||
SIZE (xarchive-0.2.8-6.tar.gz) = 154982
|
26
x11/xarchive/patches/patch-doc_Makefile_in
Normal file
26
x11/xarchive/patches/patch-doc_Makefile_in
Normal file
@ -0,0 +1,26 @@
|
||||
$OpenBSD: patch-doc_Makefile_in,v 1.1.1.1 2007/07/16 21:35:42 ajacoutot Exp $
|
||||
--- doc/Makefile.in.orig Mon Feb 27 18:29:16 2006
|
||||
+++ doc/Makefile.in Mon Jul 16 23:27:19 2007
|
||||
@@ -79,7 +79,7 @@ am__quote = @am__quote@
|
||||
install_sh = @install_sh@
|
||||
docdir = $(prefix)/share/doc/@PACKAGE@
|
||||
|
||||
-doc_DATA = xarchive.1.html xarchive.1.txt
|
||||
+doc_DATA = xarchive.1.txt
|
||||
man_MANS = xarchive.1
|
||||
subdir = doc
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
|
||||
@@ -268,13 +268,11 @@ uninstall-man: uninstall-man1
|
||||
|
||||
|
||||
xarchive.1: xarchive.1.xml
|
||||
- docbook2x-man xarchive.1.xml
|
||||
|
||||
xarchive.1.html: xarchive.1.txt
|
||||
asciidoc -b html -d manpage xarchive.1.txt
|
||||
|
||||
xarchive.1.xml: xarchive.1.txt
|
||||
- asciidoc -b docbook -d manpage xarchive.1.txt
|
||||
|
||||
xarchive.1.txt: xarchive.1.txt.src
|
||||
cat xarchive.1.txt.src | sed -e "s/VNUM/@PACKAGE_VERSION@/" -e "s/ANAME/@PACKAGE_BUGREPORT@/" -e "s/MDATE/$(shell date +"%e %B %Y")/" > xarchive.1.txt
|
28
x11/xarchive/patches/patch-doc_xarchive_1
Normal file
28
x11/xarchive/patches/patch-doc_xarchive_1
Normal file
@ -0,0 +1,28 @@
|
||||
$OpenBSD: patch-doc_xarchive_1,v 1.1.1.1 2007/07/16 21:35:42 ajacoutot Exp $
|
||||
--- doc/xarchive.1.orig Mon Feb 27 18:30:13 2006
|
||||
+++ doc/xarchive.1 Mon Jul 16 23:05:49 2007
|
||||
@@ -261,13 +261,10 @@ it's wrappers:
|
||||
~/.xarchive/wrappers/
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
-/usr/local/lib/xarchive/wrappers/
|
||||
-.TP 0.2i
|
||||
-\(bu
|
||||
-(or, depending on installation /usr/lib/xarchive/wrappers/)
|
||||
+!!PREFIX!!/lib/xarchive/wrappers/
|
||||
.PP
|
||||
The first wrappers found are the first ones used. Thus, if you copy a wrapper
|
||||
-from the system wide directory (/usr/local/lib/xarchive/wrappers/) to your own
|
||||
+from the system wide directory (!!PREFIX!!/lib/xarchive/wrappers/) to your own
|
||||
private wrapper directory (~/.xarchive/wrappers/) and modify it, your modified
|
||||
version will be used.
|
||||
.PP
|
||||
@@ -346,7 +343,7 @@ command.
|
||||
\(bu
|
||||
Anything else for wrapper failure
|
||||
.PP
|
||||
-See the wrappers included in /usr/local/lib/xarchive/wrappers (or /usr/lib/xarchive/wrappers) for examples.
|
||||
+See the wrappers included in !!PREFIX!!/lib/xarchive/wrappers for examples.
|
||||
.SH BUGS
|
||||
Use bug tracker on the sourceforge project page:
|
||||
.PP
|
27
x11/xarchive/patches/patch-doc_xarchive_1_txt_src
Normal file
27
x11/xarchive/patches/patch-doc_xarchive_1_txt_src
Normal file
@ -0,0 +1,27 @@
|
||||
$OpenBSD: patch-doc_xarchive_1_txt_src,v 1.1.1.1 2007/07/16 21:35:42 ajacoutot Exp $
|
||||
--- doc/xarchive.1.txt.src.orig Mon Jul 16 23:24:26 2007
|
||||
+++ doc/xarchive.1.txt.src Mon Jul 16 23:25:12 2007
|
||||
@@ -278,12 +278,10 @@ it's wrappers:
|
||||
|
||||
- ~/.xarchive/wrappers/
|
||||
|
||||
-- /usr/local/lib/xarchive/wrappers/
|
||||
+- !!PREFIX!!/lib/xarchive/wrappers/
|
||||
|
||||
-- (or, depending on installation /usr/lib/xarchive/wrappers/)
|
||||
-
|
||||
The first wrappers found are the first ones used. Thus, if you copy a wrapper
|
||||
-from the system wide directory (/usr/local/lib/xarchive/wrappers/) to your own
|
||||
+from the system wide directory (!!PREFIX!!/lib/xarchive/wrappers/) to your own
|
||||
private wrapper directory (~/.xarchive/wrappers/) and modify it, your modified
|
||||
version will be used.
|
||||
|
||||
@@ -343,7 +341,7 @@ Wrapper Exit Codes
|
||||
|
||||
- Anything else for wrapper failure
|
||||
|
||||
-See the wrappers included in /usr/local/lib/xarchive/wrappers (or /usr/lib/xarchive/wrappers) for examples.
|
||||
+See the wrappers included in !!PREFIX!!/lib/xarchive/wrappers for examples.
|
||||
|
||||
BUGS
|
||||
----
|
12
x11/xarchive/patches/patch-src_main_c
Normal file
12
x11/xarchive/patches/patch-src_main_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_main_c,v 1.1.1.1 2007/07/16 21:35:42 ajacoutot Exp $
|
||||
--- src/main.c.orig Sun Jul 15 11:20:52 2007
|
||||
+++ src/main.c Sun Jul 15 11:21:09 2007
|
||||
@@ -63,7 +63,7 @@ setup_exts(WrapperEntry *wrapent)
|
||||
GPtrArray *ext_array = NULL;
|
||||
|
||||
/* read extentions into dataline from wrapper */
|
||||
- cmd = g_strdup_printf("%s -i", wrapent->path);
|
||||
+ cmd = g_strdup_printf("%s -i test", wrapent->path);
|
||||
fdata = popen(cmd, "r");
|
||||
if (getline(&dataline, &maxline, fdata) > 0)
|
||||
{
|
12
x11/xarchive/patches/patch-src_widgets_gtk_c
Normal file
12
x11/xarchive/patches/patch-src_widgets_gtk_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_widgets_gtk_c,v 1.1.1.1 2007/07/16 21:35:42 ajacoutot Exp $
|
||||
--- src/widgets_gtk.c.orig Sat Jul 14 00:13:56 2007
|
||||
+++ src/widgets_gtk.c Sat Jul 14 00:14:15 2007
|
||||
@@ -787,7 +787,7 @@ askfor_new_archive(gchar *name)
|
||||
GTK_MESSAGE_ERROR,
|
||||
"Sorry, archive type not supported.\n\n"
|
||||
"Please use an archive name with an\n"
|
||||
- "extenstion that you have a wrapper for.\n\n"
|
||||
+ "extension that you have a wrapper for.\n\n"
|
||||
"For example:\n"
|
||||
"If you have tar-wrap.sh:\n"
|
||||
"\tsomename.tar.gz\n"
|
4
x11/xarchive/pkg/DESCR
Normal file
4
x11/xarchive/pkg/DESCR
Normal file
@ -0,0 +1,4 @@
|
||||
XArchive is a GTK+2 front-end for various command line archiving
|
||||
programs.
|
||||
The idea is to have a generic front end for archives that uses external
|
||||
wrappers around the command line archiving tools.
|
21
x11/xarchive/pkg/PLIST
Normal file
21
x11/xarchive/pkg/PLIST
Normal file
@ -0,0 +1,21 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/07/16 21:35:42 ajacoutot Exp $
|
||||
bin/xarchive
|
||||
lib/xarchive/
|
||||
lib/xarchive/wrappers/
|
||||
lib/xarchive/wrappers/7za-wrap.sh
|
||||
lib/xarchive/wrappers/ace-wrap.sh
|
||||
lib/xarchive/wrappers/arj-wrap.sh
|
||||
lib/xarchive/wrappers/deb-wrap.sh
|
||||
lib/xarchive/wrappers/rar-wrap.sh
|
||||
lib/xarchive/wrappers/rpm-wrap.sh
|
||||
lib/xarchive/wrappers/tar-wrap.sh
|
||||
lib/xarchive/wrappers/zip-wrap.sh
|
||||
@man man/man1/xarchive.1
|
||||
share/applications/
|
||||
share/applications/xarchive.desktop
|
||||
share/doc/xarchive/
|
||||
share/doc/xarchive/xarchive.1.txt
|
||||
share/pixmaps/
|
||||
share/pixmaps/xarchive.xpm
|
||||
@exec %D/bin/update-desktop-database
|
||||
@unexec %D/bin/update-desktop-database
|
Loading…
x
Reference in New Issue
Block a user