[Midnightbsd-cvs] mports: mports/archivers: add file-roller.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Mon Sep 3 19:19:43 EDT 2007


Log Message:
-----------
add file-roller.

Modified Files:
--------------
    mports/archivers:
        Makefile (r1.28 -> r1.29)

Added Files:
-----------
    mports/archivers/file-roller:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)
    mports/archivers/file-roller/files:
        patch-src_fr-command-tar.c (r1.1)

-------------- next part --------------
--- /dev/null
+++ archivers/file-roller/pkg-descr
@@ -0,0 +1,21 @@
+File Roller is an archive manager for the GNOME environment.  It is only a
+front-end (a graphical interface) to archiving programs like tar and zip.
+The supported file types are:
+
+* Tar archives uncompressed (.tar) or compressed with gzip (.tar.gz , .tgz),
+  bzip (.tar.bz , .tbz), bzip2 (.tar.bz2 , .tbz2), compress (.tar.Z , .taz),
+  lzop (.tar.lzo , .tzo)
+* Zip archives (.zip)
+* Jar archives (.jar , .ear , .war)
+* Lha archives (.lzh)
+* Rar archives (.rar)
+* Single files compressed with gzip, bzip, bzip2, compress, lzop
+ 
+File Roller also has a document viewer based on bonobo that lets you view files
+of any type for which you have a viewer.
+
+Former WinZip users may find this program useful.  It serves the same purpose.
+
+WWW: http://fileroller.sourceforge.net/
+
+- Anders Nordby <anders at FreeBSD.org>
--- /dev/null
+++ archivers/file-roller/pkg-plist
@@ -0,0 +1,235 @@
+bin/file-roller
+lib/nautilus/extensions-1.0/libnautilus-fileroller.a
+lib/nautilus/extensions-1.0/libnautilus-fileroller.la
+lib/nautilus/extensions-1.0/libnautilus-fileroller.so
+libexec/file-roller/isoinfo.sh
+libexec/file-roller/move-here.sh
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+share/gnome/applications/file-roller.desktop
+share/gnome/file-roller/glade/ask-password.glade
+share/gnome/file-roller/glade/file-roller.glade
+share/gnome/file-roller/icons/hicolor/16x16/actions/add-files-to-archive.png
+share/gnome/file-roller/icons/hicolor/16x16/actions/add-folder-to-archive.png
+share/gnome/file-roller/icons/hicolor/16x16/actions/extract-archive.png
+share/gnome/file-roller/icons/hicolor/24x24/actions/add-files-to-archive.png
+share/gnome/file-roller/icons/hicolor/24x24/actions/add-folder-to-archive.png
+share/gnome/file-roller/icons/hicolor/24x24/actions/extract-archive.png
+share/gnome/file-roller/icons/hicolor/24x24/actions/preview-file.png
+share/gnome/help/file-roller/C/figures/file-roller_home.png
+share/gnome/help/file-roller/C/figures/file-roller_leftarrow.png
+share/gnome/help/file-roller/C/figures/file-roller_main_window.png
+share/gnome/help/file-roller/C/figures/file-roller_rightarrow.png
+share/gnome/help/file-roller/C/figures/file-roller_uparrow.png
+share/gnome/help/file-roller/C/file-roller.xml
+share/gnome/help/file-roller/C/legal.xml
+share/gnome/help/file-roller/bg/figures/file-roller_home.png
+share/gnome/help/file-roller/bg/figures/file-roller_leftarrow.png
+share/gnome/help/file-roller/bg/figures/file-roller_main_window.png
+share/gnome/help/file-roller/bg/figures/file-roller_rightarrow.png
+share/gnome/help/file-roller/bg/figures/file-roller_uparrow.png
+share/gnome/help/file-roller/bg/file-roller.xml
+share/gnome/help/file-roller/de/figures/file-roller_home.png
+share/gnome/help/file-roller/de/figures/file-roller_leftarrow.png
+share/gnome/help/file-roller/de/figures/file-roller_main_window.png
+share/gnome/help/file-roller/de/figures/file-roller_rightarrow.png
+share/gnome/help/file-roller/de/figures/file-roller_uparrow.png
+share/gnome/help/file-roller/de/file-roller.xml
+share/gnome/help/file-roller/es/figures/file-roller_home.png
+share/gnome/help/file-roller/es/figures/file-roller_leftarrow.png
+share/gnome/help/file-roller/es/figures/file-roller_main_window.png
+share/gnome/help/file-roller/es/figures/file-roller_rightarrow.png
+share/gnome/help/file-roller/es/figures/file-roller_uparrow.png
+share/gnome/help/file-roller/es/file-roller.xml
+share/gnome/help/file-roller/fr/figures/file-roller_home.png
+share/gnome/help/file-roller/fr/figures/file-roller_leftarrow.png
+share/gnome/help/file-roller/fr/figures/file-roller_main_window.png
+share/gnome/help/file-roller/fr/figures/file-roller_rightarrow.png
+share/gnome/help/file-roller/fr/figures/file-roller_uparrow.png
+share/gnome/help/file-roller/fr/file-roller.xml
+share/gnome/help/file-roller/it/figures/file-roller_home.png
+share/gnome/help/file-roller/it/figures/file-roller_leftarrow.png
+share/gnome/help/file-roller/it/figures/file-roller_main_window.png
+share/gnome/help/file-roller/it/figures/file-roller_rightarrow.png
+share/gnome/help/file-roller/it/figures/file-roller_uparrow.png
+share/gnome/help/file-roller/it/file-roller.xml
+share/gnome/help/file-roller/nl/figures/file-roller_home.png
+share/gnome/help/file-roller/nl/figures/file-roller_leftarrow.png
+share/gnome/help/file-roller/nl/figures/file-roller_main_window.png
+share/gnome/help/file-roller/nl/figures/file-roller_rightarrow.png
+share/gnome/help/file-roller/nl/figures/file-roller_uparrow.png
+share/gnome/help/file-roller/nl/file-roller.xml
+share/gnome/help/file-roller/ru/figures/file-roller_home.png
+share/gnome/help/file-roller/ru/figures/file-roller_leftarrow.png
+share/gnome/help/file-roller/ru/figures/file-roller_main_window.png
+share/gnome/help/file-roller/ru/figures/file-roller_rightarrow.png
+share/gnome/help/file-roller/ru/figures/file-roller_uparrow.png
+share/gnome/help/file-roller/ru/file-roller.xml
+share/gnome/help/file-roller/sv/figures/file-roller_home.png
+share/gnome/help/file-roller/sv/figures/file-roller_leftarrow.png
+share/gnome/help/file-roller/sv/figures/file-roller_main_window.png
+share/gnome/help/file-roller/sv/figures/file-roller_rightarrow.png
+share/gnome/help/file-roller/sv/figures/file-roller_uparrow.png
+share/gnome/help/file-roller/sv/file-roller.xml
+share/gnome/help/file-roller/uk/figures/file-roller_home.png
+share/gnome/help/file-roller/uk/figures/file-roller_leftarrow.png
+share/gnome/help/file-roller/uk/figures/file-roller_main_window.png
+share/gnome/help/file-roller/uk/figures/file-roller_rightarrow.png
+share/gnome/help/file-roller/uk/figures/file-roller_uparrow.png
+share/gnome/help/file-roller/uk/file-roller.xml
+share/gnome/omf/file-roller/file-roller-C.omf
+share/gnome/omf/file-roller/file-roller-bg.omf
+share/gnome/omf/file-roller/file-roller-de.omf
+share/gnome/omf/file-roller/file-roller-es.omf
+share/gnome/omf/file-roller/file-roller-fr.omf
+share/gnome/omf/file-roller/file-roller-it.omf
+share/gnome/omf/file-roller/file-roller-nl.omf
+share/gnome/omf/file-roller/file-roller-ru.omf
+share/gnome/omf/file-roller/file-roller-sv.omf
+share/gnome/omf/file-roller/file-roller-uk.omf
+share/icons/hicolor/16x16/apps/file-roller.png
+share/icons/hicolor/22x22/apps/file-roller.png
+share/icons/hicolor/32x32/apps/file-roller.png
+share/icons/hicolor/scalable/apps/file-roller.svg
+share/locale/am/LC_MESSAGES/file-roller.mo
+share/locale/ar/LC_MESSAGES/file-roller.mo
+share/locale/az/LC_MESSAGES/file-roller.mo
+share/locale/be/LC_MESSAGES/file-roller.mo
+share/locale/be at latin/LC_MESSAGES/file-roller.mo
+share/locale/bg/LC_MESSAGES/file-roller.mo
+share/locale/bn/LC_MESSAGES/file-roller.mo
+share/locale/bn_IN/LC_MESSAGES/file-roller.mo
+share/locale/br/LC_MESSAGES/file-roller.mo
+share/locale/bs/LC_MESSAGES/file-roller.mo
+share/locale/ca/LC_MESSAGES/file-roller.mo
+share/locale/cs/LC_MESSAGES/file-roller.mo
+share/locale/cy/LC_MESSAGES/file-roller.mo
+share/locale/da/LC_MESSAGES/file-roller.mo
+share/locale/de/LC_MESSAGES/file-roller.mo
+share/locale/dz/LC_MESSAGES/file-roller.mo
+share/locale/el/LC_MESSAGES/file-roller.mo
+share/locale/en_CA/LC_MESSAGES/file-roller.mo
+share/locale/en_GB/LC_MESSAGES/file-roller.mo
+share/locale/es/LC_MESSAGES/file-roller.mo
+share/locale/et/LC_MESSAGES/file-roller.mo
+share/locale/eu/LC_MESSAGES/file-roller.mo
+share/locale/fa/LC_MESSAGES/file-roller.mo
+share/locale/fi/LC_MESSAGES/file-roller.mo
+share/locale/fr/LC_MESSAGES/file-roller.mo
+share/locale/ga/LC_MESSAGES/file-roller.mo
+share/locale/gl/LC_MESSAGES/file-roller.mo
+share/locale/gu/LC_MESSAGES/file-roller.mo
+share/locale/he/LC_MESSAGES/file-roller.mo
+share/locale/hi/LC_MESSAGES/file-roller.mo
+share/locale/hr/LC_MESSAGES/file-roller.mo
+share/locale/hu/LC_MESSAGES/file-roller.mo
+share/locale/hy/LC_MESSAGES/file-roller.mo
+share/locale/id/LC_MESSAGES/file-roller.mo
+share/locale/is/LC_MESSAGES/file-roller.mo
+share/locale/it/LC_MESSAGES/file-roller.mo
+share/locale/ja/LC_MESSAGES/file-roller.mo
+share/locale/ka/LC_MESSAGES/file-roller.mo
+share/locale/kn/LC_MESSAGES/file-roller.mo
+share/locale/ko/LC_MESSAGES/file-roller.mo
+share/locale/ku/LC_MESSAGES/file-roller.mo
+share/locale/lt/LC_MESSAGES/file-roller.mo
+share/locale/lv/LC_MESSAGES/file-roller.mo
+share/locale/mg/LC_MESSAGES/file-roller.mo
+share/locale/mk/LC_MESSAGES/file-roller.mo
+share/locale/ml/LC_MESSAGES/file-roller.mo
+share/locale/mn/LC_MESSAGES/file-roller.mo
+share/locale/mr/LC_MESSAGES/file-roller.mo
+share/locale/ms/LC_MESSAGES/file-roller.mo
+share/locale/nb/LC_MESSAGES/file-roller.mo
+share/locale/ne/LC_MESSAGES/file-roller.mo
+share/locale/nl/LC_MESSAGES/file-roller.mo
+share/locale/nn/LC_MESSAGES/file-roller.mo
+share/locale/oc/LC_MESSAGES/file-roller.mo
+share/locale/or/LC_MESSAGES/file-roller.mo
+share/locale/pa/LC_MESSAGES/file-roller.mo
+share/locale/pl/LC_MESSAGES/file-roller.mo
+share/locale/pt/LC_MESSAGES/file-roller.mo
+share/locale/pt_BR/LC_MESSAGES/file-roller.mo
+share/locale/ro/LC_MESSAGES/file-roller.mo
+share/locale/ru/LC_MESSAGES/file-roller.mo
+share/locale/rw/LC_MESSAGES/file-roller.mo
+share/locale/sk/LC_MESSAGES/file-roller.mo
+share/locale/sl/LC_MESSAGES/file-roller.mo
+share/locale/sq/LC_MESSAGES/file-roller.mo
+share/locale/sr/LC_MESSAGES/file-roller.mo
+share/locale/sr at Latn/LC_MESSAGES/file-roller.mo
+share/locale/sr at ije/LC_MESSAGES/file-roller.mo
+share/locale/sv/LC_MESSAGES/file-roller.mo
+share/locale/ta/LC_MESSAGES/file-roller.mo
+share/locale/te/LC_MESSAGES/file-roller.mo
+share/locale/th/LC_MESSAGES/file-roller.mo
+share/locale/tk/LC_MESSAGES/file-roller.mo
+share/locale/tr/LC_MESSAGES/file-roller.mo
+share/locale/uk/LC_MESSAGES/file-roller.mo
+share/locale/vi/LC_MESSAGES/file-roller.mo
+share/locale/xh/LC_MESSAGES/file-roller.mo
+share/locale/zh_CN/LC_MESSAGES/file-roller.mo
+share/locale/zh_HK/LC_MESSAGES/file-roller.mo
+share/locale/zh_TW/LC_MESSAGES/file-roller.mo
+ at dirrm share/gnome/omf/file-roller
+ at dirrm share/gnome/help/file-roller/uk/figures
+ at dirrm share/gnome/help/file-roller/uk
+ at dirrm share/gnome/help/file-roller/sv/figures
+ at dirrm share/gnome/help/file-roller/sv
+ at dirrm share/gnome/help/file-roller/ru/figures
+ at dirrm share/gnome/help/file-roller/ru
+ at dirrm share/gnome/help/file-roller/nl/figures
+ at dirrm share/gnome/help/file-roller/nl
+ at dirrm share/gnome/help/file-roller/it/figures
+ at dirrm share/gnome/help/file-roller/it
+ at dirrm share/gnome/help/file-roller/fr/figures
+ at dirrm share/gnome/help/file-roller/fr
+ at dirrm share/gnome/help/file-roller/es/figures
+ at dirrm share/gnome/help/file-roller/es
+ at dirrm share/gnome/help/file-roller/de/figures
+ at dirrm share/gnome/help/file-roller/de
+ at dirrm share/gnome/help/file-roller/bg/figures
+ at dirrm share/gnome/help/file-roller/bg
+ at dirrm share/gnome/help/file-roller/C/figures
+ at dirrm share/gnome/help/file-roller/C
+ at dirrm share/gnome/help/file-roller
+ at dirrm share/gnome/file-roller/icons/hicolor/24x24/actions
+ at dirrm share/gnome/file-roller/icons/hicolor/24x24
+ at dirrm share/gnome/file-roller/icons/hicolor/16x16/actions
+ at dirrm share/gnome/file-roller/icons/hicolor/16x16
+ at dirrm share/gnome/file-roller/icons/hicolor
+ at dirrm share/gnome/file-roller/icons
+ at dirrm share/gnome/file-roller/glade
+ at dirrm share/gnome/file-roller
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+ at dirrm libexec/file-roller
+ at exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
+ at unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
+ 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/te/LC_MESSAGES
+ at dirrmtry share/locale/te
+ at dirrmtry share/locale/sr at ije/LC_MESSAGES
+ at dirrmtry share/locale/sr at ije
+ 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
+++ archivers/file-roller/Makefile
@@ -0,0 +1,56 @@
+# New ports collection makefile for:	fileroller
+# Date created:				18 May 2002
+# Whom:					Anders Nordby <anders at FreeBSD.org>
+#
+# $MidnightBSD: mports/archivers/file-roller/Makefile,v 1.1 2007/09/03 23:19:41 laffer1 Exp $
+# $FreeBSD: ports/archivers/file-roller/Makefile,v 1.65 2007/07/03 06:38:06 marcus Exp $
+#   $MCom: ports/archivers/file-roller/Makefile,v 1.117 2007/03/12 23:23:57 marcus Exp $
+#
+
+PORTNAME=	file-roller
+PORTVERSION=	2.18.4
+PORTEPOCH=	1
+CATEGORIES=	archivers 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=	An archive manager for zip files, tar, etc
+
+# XXX: We need the ports version of gtar since gtar-1.13.25 included with
+# FreeBSD is not sufficient.  If the base version of GNU tar is updated, then
+# we can do away with this dependency.
+RUN_DEPENDS=	${LOCALBASE}/bin/gtar:${PORTSDIR}/archivers/gtar
+
+USE_LDCONFIG=	yes
+USE_BZIP2=	yes
+USE_GETTEXT=	yes
+INSTALLS_OMF=	yes
+INSTALLS_ICONS=	yes
+USE_XLIB=	yes
+USE_GMAKE=	yes
+USE_GNOME=	gnomeprefix intlhack gnomehack desktopfileutils nautilus2 \
+		gnomedocutils
+GNU_CONFIGURE=	yes
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
+		LDFLAGS="-L${LOCALBASE}/lib"
+
+GCONF_SCHEMAS=	file-roller.schemas
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
+		${WRKSRC}/src/fr-command-tar.c
+	@${FIND} ${WRKSRC} -name "fr-command-*.c" | ${XARGS} ${REINPLACE_CMD} \
+		-e 's|atoll|fr_atoll|g'
+
+post-install:
+	@-update-desktop-database
+.if !defined(NOPORTDOCS)
+	${MKDIR} ${DOCSDIR}
+.for f in AUTHORS NEWS README TODO
+	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
--- /dev/null
+++ archivers/file-roller/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome2/file-roller-2.18.4.tar.bz2) = f651f951d5c1c24288c1a25b1f567be0
+SHA256 (gnome2/file-roller-2.18.4.tar.bz2) = a977a20e1d41c68e12a7e37de855e7fcdd12b895554760e8dbf525d76b698f05
+SIZE (gnome2/file-roller-2.18.4.tar.bz2) = 1175112
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/archivers/Makefile,v
retrieving revision 1.28
retrieving revision 1.29
diff -Larchivers/Makefile -Larchivers/Makefile -u -r1.28 -r1.29
--- archivers/Makefile
+++ archivers/Makefile
@@ -7,6 +7,7 @@
     SUBDIR += bzip
     SUBDIR += bzip2
     SUBDIR += cabextract
+    SUBDIR += file-roller
     SUBDIR += freetar
     SUBDIR += gcpio
     SUBDIR += gtar
--- /dev/null
+++ archivers/file-roller/files/patch-src_fr-command-tar.c
@@ -0,0 +1,12 @@
+--- src/fr-command-tar.c.orig	Sun Oct 15 12:33:56 2006
++++ src/fr-command-tar.c	Mon Oct 16 19:18:03 2006
+@@ -231,6 +231,9 @@
+ #if defined (__SVR4) && defined (__sun)
+ 	if (g_file_test ("/usr/sfw/bin/gtar", G_FILE_TEST_IS_EXECUTABLE))
+ 		command = g_strdup ("/usr/sfw/bin/gtar");
++#elif defined(__FreeBSD__)
++	if (g_file_test ("%%LOCALBASE%%/bin/gtar", G_FILE_TEST_IS_EXECUTABLE))
++		command = g_strdup ("%%LOCALBASE%%/bin/gtar");
+ #endif
+ 	if (command != NULL)
+ 		fr_process_begin_command (comm->process, command);


More information about the Midnightbsd-cvs mailing list