summaryrefslogtreecommitdiffstats
path: root/archivers/file-roller
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-11 21:26:48 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-11 21:26:48 +0800
commit409ba716c539f535423b2775058f1380fcad9df6 (patch)
tree3fb59f21e39ebda5411d2a3537bd9fbaa607643f /archivers/file-roller
parent4df2e381a8a997586c2ad83dbfdc1e50960a52fe (diff)
downloadmarcuscom-ports-409ba716c539f535423b2775058f1380fcad9df6.tar
marcuscom-ports-409ba716c539f535423b2775058f1380fcad9df6.tar.gz
marcuscom-ports-409ba716c539f535423b2775058f1380fcad9df6.tar.bz2
marcuscom-ports-409ba716c539f535423b2775058f1380fcad9df6.tar.lz
marcuscom-ports-409ba716c539f535423b2775058f1380fcad9df6.tar.xz
marcuscom-ports-409ba716c539f535423b2775058f1380fcad9df6.tar.zst
marcuscom-ports-409ba716c539f535423b2775058f1380fcad9df6.zip
- Update to 2.15.1
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6556 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'archivers/file-roller')
-rw-r--r--archivers/file-roller/Makefile54
-rw-r--r--archivers/file-roller/distinfo3
-rw-r--r--archivers/file-roller/files/patch-src_file-utils.h16
-rw-r--r--archivers/file-roller/files/patch-src_fr-command-tar.c13
-rw-r--r--archivers/file-roller/pkg-descr21
-rw-r--r--archivers/file-roller/pkg-plist242
6 files changed, 349 insertions, 0 deletions
diff --git a/archivers/file-roller/Makefile b/archivers/file-roller/Makefile
new file mode 100644
index 000000000..74f779f77
--- /dev/null
+++ b/archivers/file-roller/Makefile
@@ -0,0 +1,54 @@
+# New ports collection makefile for: fileroller
+# Date created: 18 May 2002
+# Whom: Anders Nordby <anders@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+#
+
+PORTNAME= file-roller
+PORTVERSION= 2.15.1
+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= gnome@FreeBSD.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_BZIP2= yes
+USE_GETTEXT= yes
+INSTALLS_OMF= yes
+INSTALLS_ICONS= yes
+USE_X_PREFIX= 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>
diff --git a/archivers/file-roller/distinfo b/archivers/file-roller/distinfo
new file mode 100644
index 000000000..c65d227ae
--- /dev/null
+++ b/archivers/file-roller/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome2/file-roller-2.15.1.tar.bz2) = ec829899b9d17860244b05182e8ed69f
+SHA256 (gnome2/file-roller-2.15.1.tar.bz2) = 12d61d926f4e5ef2bf62ac7b119cb0830f98d321b76b2731e7ce59d8681a68d4
+SIZE (gnome2/file-roller-2.15.1.tar.bz2) = 1043879
diff --git a/archivers/file-roller/files/patch-src_file-utils.h b/archivers/file-roller/files/patch-src_file-utils.h
new file mode 100644
index 000000000..d3223290f
--- /dev/null
+++ b/archivers/file-roller/files/patch-src_file-utils.h
@@ -0,0 +1,16 @@
+--- src/file-utils.h.orig Sun Jul 3 19:11:59 2005
++++ src/file-utils.h Sun Jul 3 19:12:52 2005
+@@ -25,8 +25,13 @@
+
+ #include <sys/types.h>
+ #include <time.h>
++#include <stdlib.h>
++#include <limits.h>
+ #include <libgnomevfs/gnome-vfs-file-size.h>
+ #include <libgnomevfs/gnome-vfs-mime-handlers.h>
++
++#undef fr_atoll
++#define fr_atoll(nptr) strtoll(nptr, (char **)NULL, 10)
+
+
+ #define FILENAME_MAX_LENGTH 30 /* FIXME: find out the best value */
diff --git a/archivers/file-roller/files/patch-src_fr-command-tar.c b/archivers/file-roller/files/patch-src_fr-command-tar.c
new file mode 100644
index 000000000..c4e3bac83
--- /dev/null
+++ b/archivers/file-roller/files/patch-src_fr-command-tar.c
@@ -0,0 +1,13 @@
+--- src/fr-command-tar.c.orig Fri Jul 1 14:41:32 2005
++++ src/fr-command-tar.c Sun Jul 3 19:03:01 2005
+@@ -222,6 +223,10 @@ begin_tar_command (FRCommand *comm)
+ #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)
diff --git a/archivers/file-roller/pkg-descr b/archivers/file-roller/pkg-descr
new file mode 100644
index 000000000..703a89829
--- /dev/null
+++ b/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@FreeBSD.org>
diff --git a/archivers/file-roller/pkg-plist b/archivers/file-roller/pkg-plist
new file mode 100644
index 000000000..baed14646
--- /dev/null
+++ b/archivers/file-roller/pkg-plist
@@ -0,0 +1,242 @@
+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
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+share/gnome/applications/file-roller.desktop
+share/gnome/file-roller/glade/file-roller-extract.glade
+share/gnome/file-roller/glade/file-roller.glade
+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/ja/figures/file-roller_home.png
+share/gnome/help/file-roller/ja/figures/file-roller_leftarrow.png
+share/gnome/help/file-roller/ja/figures/file-roller_main_window.png
+share/gnome/help/file-roller/ja/figures/file-roller_rightarrow.png
+share/gnome/help/file-roller/ja/figures/file-roller_uparrow.png
+share/gnome/help/file-roller/ja/file-roller.xml
+share/gnome/help/file-roller/ko/figures/file-roller_home.png
+share/gnome/help/file-roller/ko/figures/file-roller_leftarrow.png
+share/gnome/help/file-roller/ko/figures/file-roller_main_window.png
+share/gnome/help/file-roller/ko/figures/file-roller_rightarrow.png
+share/gnome/help/file-roller/ko/figures/file-roller_uparrow.png
+share/gnome/help/file-roller/ko/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/help/file-roller/zh_CN/figures/file-roller_home.png
+share/gnome/help/file-roller/zh_CN/figures/file-roller_leftarrow.png
+share/gnome/help/file-roller/zh_CN/figures/file-roller_main_window.png
+share/gnome/help/file-roller/zh_CN/figures/file-roller_rightarrow.png
+share/gnome/help/file-roller/zh_CN/figures/file-roller_uparrow.png
+share/gnome/help/file-roller/zh_CN/file-roller.xml
+share/gnome/help/file-roller/zh_HK/figures/file-roller_home.png
+share/gnome/help/file-roller/zh_HK/figures/file-roller_leftarrow.png
+share/gnome/help/file-roller/zh_HK/figures/file-roller_main_window.png
+share/gnome/help/file-roller/zh_HK/figures/file-roller_rightarrow.png
+share/gnome/help/file-roller/zh_HK/figures/file-roller_uparrow.png
+share/gnome/help/file-roller/zh_HK/file-roller.xml
+share/gnome/help/file-roller/zh_TW/figures/file-roller_home.png
+share/gnome/help/file-roller/zh_TW/figures/file-roller_leftarrow.png
+share/gnome/help/file-roller/zh_TW/figures/file-roller_main_window.png
+share/gnome/help/file-roller/zh_TW/figures/file-roller_rightarrow.png
+share/gnome/help/file-roller/zh_TW/figures/file-roller_uparrow.png
+share/gnome/help/file-roller/zh_TW/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-ja.omf
+share/gnome/omf/file-roller/file-roller-ko.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/gnome/omf/file-roller/file-roller-zh_CN.omf
+share/gnome/omf/file-roller/file-roller-zh_HK.omf
+share/gnome/omf/file-roller/file-roller-zh_TW.omf
+share/icons/hicolor/48x48/apps/file-roller.png
+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/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/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/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@Latn/LC_MESSAGES/file-roller.mo
+share/locale/sr@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
+@dirrmtry share/locale/zh_HK/LC_MESSAGES
+@dirrmtry share/locale/zh_HK
+@dirrmtry share/locale/xh/LC_MESSAGES
+@dirrmtry share/locale/xh
+@dirrmtry share/locale/te/LC_MESSAGES
+@dirrmtry share/locale/te
+@dirrmtry share/locale/sr@ije/LC_MESSAGES
+@dirrmtry share/locale/sr@ije
+@dirrmtry share/locale/rw/LC_MESSAGES
+@dirrmtry share/locale/rw
+@dirrmtry share/locale/ku/LC_MESSAGES
+@dirrmtry share/locale/ku
+@dirrmtry share/locale/hy/LC_MESSAGES
+@dirrmtry share/locale/hy
+@dirrmtry share/locale/dz/LC_MESSAGES
+@dirrmtry share/locale/dz
+@dirrmtry share/locale/br/LC_MESSAGES
+@dirrmtry share/locale/br
+@dirrmtry share/locale/bn_IN/LC_MESSAGES
+@dirrmtry share/locale/bn_IN
+@dirrm share/gnome/omf/file-roller
+@dirrm share/gnome/help/file-roller/zh_TW/figures
+@dirrm share/gnome/help/file-roller/zh_TW
+@dirrm share/gnome/help/file-roller/zh_HK/figures
+@dirrm share/gnome/help/file-roller/zh_HK
+@dirrm share/gnome/help/file-roller/zh_CN/figures
+@dirrm share/gnome/help/file-roller/zh_CN
+@dirrm share/gnome/help/file-roller/uk/figures
+@dirrm share/gnome/help/file-roller/uk
+@dirrm share/gnome/help/file-roller/sv/figures
+@dirrm share/gnome/help/file-roller/sv
+@dirrm share/gnome/help/file-roller/ru/figures
+@dirrm share/gnome/help/file-roller/ru
+@dirrm share/gnome/help/file-roller/ko/figures
+@dirrm share/gnome/help/file-roller/ko
+@dirrm share/gnome/help/file-roller/ja/figures
+@dirrm share/gnome/help/file-roller/ja
+@dirrm share/gnome/help/file-roller/it/figures
+@dirrm share/gnome/help/file-roller/it
+@dirrm share/gnome/help/file-roller/fr/figures
+@dirrm share/gnome/help/file-roller/fr
+@dirrm share/gnome/help/file-roller/es/figures
+@dirrm share/gnome/help/file-roller/es
+@dirrm share/gnome/help/file-roller/de/figures
+@dirrm share/gnome/help/file-roller/de
+@dirrm share/gnome/help/file-roller/bg/figures
+@dirrm share/gnome/help/file-roller/bg
+@dirrm share/gnome/help/file-roller/C/figures
+@dirrm share/gnome/help/file-roller/C
+@dirrm share/gnome/help/file-roller
+@dirrm share/gnome/file-roller/glade
+@dirrm share/gnome/file-roller
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
+@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true