Commit 7bca6ea6 authored by kwm's avatar kwm
Browse files

Say hello to Mate 1.6.

Mate is a lite desktop forked from gnome2.

Most of the work is done by Jeremy Messenger (mezz@). The only thing I did
was update a few ports to later 1.6 release and attempting to keep up with
ports infra changes. Resulting bugs are all mine.

Mate is a sort of replacement for Gnome 2. So people wanting to keep a
Gnome 2 like desktop should switch. Gnome 2 will be replaced by Gnome 3
in the near future. This switch will be announce with a transition time
so people have more time to switch if they haven't already.

This release was made possible by everyone that send friendly pokes to
keep mate on my mind.

Approved by:	portmgr (bapt)
parent 9a25b340
#-*- tab-width: 4; -*-
# ex:ts=4
#
# $FreeBSD$
# $NetBSD$
# $MCom: ports-experimental/Mk/bsd.mate.mk,v 1.13 2012/09/03 17:02:31 mezz Exp $
#
# Please view me with 4 column tabs!
#######################################################
#
# *** WARNING: Disable MARCUSCOM before merge in FreeBSD!
# Please also remove this section before merging into FreeBSD.
#
#MARCUSCOM_CVS=yes
# ======================= USERS =================================
#
# There are no significant user-definable settings in here.
# This file is a framework to make it easier to create MATE ports.
#
# ======================= /USERS ================================
.if !defined(_POSTMKINCLUDED) && !defined(Mate_Pre_Include)
# Please make sure all changes to this file are passed through the maintainer.
# Do not commit them yourself (unless of course you're the Port's Wraith ;).
Mate_Include_MAINTAINER= gnome@FreeBSD.org
Mate_Pre_Include= bsd.mate.mk
# This section defines possible names of MATE components and all information
# necessary for ports to use those components.
# Ports can use this as follows:
#
# USE_MATE= caja common desktop
#
# .include <bsd.port.mk>
#
# As a result proper LIB_DEPENDS/RUN_DEPENDS will be added and CONFIGURE_ENV
# and MAKE_ENV defined.
#
# non-version specific components. Do not use :build/:run on those.
_USE_MATE_ALL= autogen intlhack intltool ltasneededhack lthack ltverhack
# These *hack* tools are the same as in bsd.gnome.mk but are run in
# pre-configure because pre-patch is when we run autogen.sh.
# MATE components, you can use the :build or :run if need. Without the :build
# and :run, it will be added in both build and run dependency. It will check
# for the library dependency first. If not exists then do the build/run on
# the *.pc file instead.
_USE_MATE_ALL+= caja common controlcenter desktop dialogs docutils icontheme \
keyring libmatekbd libmatekeyring libmateweather libmatewnck \
marco menus mucharmap notificationdaemon panel polkit pluma \
settingsdaemon
SCROLLKEEPER_DIR= /var/db/rarian
lthack_PRE_PATCH= ${FIND} ${WRKSRC} -name "configure" -type f | ${XARGS} ${REINPLACE_CMD} -e \
'/^LIBTOOL_DEPS="$$ac_aux_dir\/ltmain.sh"$$/s|$$|; $$ac_aux_dir/ltconfig $$LIBTOOL_DEPS;|'
caja_DETECT= ${LOCALBASE}/libdata/pkgconfig/libcaja-extension.pc
caja_BUILD_DEPENDS= ${caja_DETECT}:${PORTSDIR}/x11-fm/mate-file-manager
caja_LIB_DEPENDS= libcaja-extension.so:${PORTSDIR}/x11-fm/mate-file-manager
caja_RUN_DEPENDS= ${caja_DETECT}:${PORTSDIR}/x11-fm/mate-file-manager
mucharmap_DETECT= ${LOCALBASE}/libdata/pkgconfig/mucharmap-2.pc
mucharmap_BUILD_DEPENDS=${mucharmap_DETECT}:${PORTSDIR}/deskutils/mate-character-map
mucharmap_LIB_DEPENDS= libmucharmap.so:${PORTSDIR}/deskutils/mate-character-map
mucharmap_RUN_DEPENDS= ${mucharmap_DETECT}:${PORTSDIR}/deskutils/mate-character-map
common_DETECT= ${LOCALBASE}/bin/mate-autogen
common_BUILD_DEPENDS= ${common_DETECT}:${PORTSDIR}/devel/mate-common
common_RUN_DEPENDS= ${common_DETECT}:${PORTSDIR}/devel/mate-common
controlcenter_DETECT= ${LOCALBASE}/libdata/pkgconfig/mate-window-settings-2.0.pc
controlcenter_BUILD_DEPENDS= ${controlcenter_DETECT}:${PORTSDIR}/sysutils/mate-control-center
controlcenter_LIB_DEPENDS= libmate-window-settings.so:${PORTSDIR}/sysutils/mate-control-center
controlcenter_RUN_DEPENDS= ${controlcenter_DETECT}:${PORTSDIR}/sysutils/mate-control-center
desktop_DETECT= ${LOCALBASE}/libdata/pkgconfig/mate-desktop-2.0.pc
desktop_BUILD_DEPENDS= ${desktop_DETECT}:${PORTSDIR}/x11/mate-desktop
desktop_LIB_DEPENDS= libmate-desktop-2.so:${PORTSDIR}/x11/mate-desktop
desktop_RUN_DEPENDS= ${desktop_DETECT}:${PORTSDIR}/x11/mate-desktop
dialogs_DETECT= ${LOCALBASE}/bin/matedialog
dialogs_BUILD_DEPENDS= ${dialogs_DETECT}:${PORTSDIR}/x11/mate-dialogs
dialogs_RUN_DEPENDS= ${dialogs_DETECT}:${PORTSDIR}/x11/mate-dialogs
docutils_DETECT= ${LOCALBASE}/libdata/pkgconfig/mate-doc-utils.pc
docutils_BUILD_DEPENDS= ${docutils_DETECT}:${PORTSDIR}/textproc/mate-doc-utils
docutils_RUN_DEPENDS= ${docutils_DETECT}:${PORTSDIR}/textproc/mate-doc-utils
icontheme_DETECT= ${LOCALBASE}/libdata/pkgconfig/mate-icon-theme.pc
icontheme_BUILD_DEPENDS=${icontheme_DETECT}:${PORTSDIR}/x11-themes/mate-icon-theme
icontheme_RUN_DEPENDS= ${icontheme_DETECT}:${PORTSDIR}/x11-themes/mate-icon-theme
intltool_DETECT= ${LOCALBASE}/bin/intltool-extract
intltool_BUILD_DEPENDS= ${intltool_DETECT}:${PORTSDIR}/textproc/intltool
intlhack_PRE_PATCH= ${FIND} ${WRKSRC} -name "intltool-merge.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|mkdir $$lang or|mkdir $$lang, 0777 or| ; \
s|^push @INC, "/.*|push @INC, "${LOCALBASE}/share/intltool";| ; \
s|/usr/bin/iconv|${LOCALBASE}/bin/iconv|g ; \
s|unpack *[(]'"'"'U\*'"'"'|unpack ('"'"'C*'"'"'|'
.if ${USE_MATE:Mintlhack}!=""
USE_MATE+= intltool
.endif
keyring_DETECT= ${LOCALBASE}/libdata/pkgconfig/mate-gcr-0.pc
keyring_BUILD_DEPENDS= ${keyring_DETECT}:${PORTSDIR}/security/mate-keyring
keyring_LIB_DEPENDS= libmategcr.so:${PORTSDIR}/security/mate-keyring
keyring_RUN_DEPENDS= ${keyring_DETECT}:${PORTSDIR}/security/mate-keyring
libmatekbd_DETECT= ${LOCALBASE}/libdata/pkgconfig/libmatekbd.pc
libmatekbd_BUILD_DEPENDS= ${libmatekbd_DETECT}:${PORTSDIR}/x11/libmatekbd
libmatekbd_LIB_DEPENDS= libmatekbd.so:${PORTSDIR}/x11/libmatekbd
libmatekbd_RUN_DEPENDS= ${libmatekbd_DETECT}:${PORTSDIR}/x11/libmatekbd
libmatekeyring_DETECT= ${LOCALBASE}/libdata/pkgconfig/mate-keyring-1.pc
libmatekeyring_BUILD_DEPENDS= ${libmatekeyring_DETECT}:${PORTSDIR}/security/libmatekeyring
libmatekeyring_LIB_DEPENDS= libmate-keyring.so:${PORTSDIR}/security/libmatekeyring
libmatekeyring_RUN_DEPENDS= ${libmatekeyring_DETECT}:${PORTSDIR}/security/libmatekeyring
libmateweather_DETECT= ${LOCALBASE}/libdata/pkgconfig/mateweather.pc
libmateweather_BUILD_DEPENDS= ${libmateweather_DETECT}:${PORTSDIR}/net/libmateweather
libmateweather_LIB_DEPENDS= libmateweather.so:${PORTSDIR}/net/libmateweather
libmateweather_RUN_DEPENDS= ${libmateweather_DETECT}:${PORTSDIR}/net/libmateweather
libmatewnck_DETECT= ${LOCALBASE}/libdata/pkgconfig/libmatewnck.pc
libmatewnck_BUILD_DEPENDS= ${libmatewnck_DETECT}:${PORTSDIR}/x11-toolkits/libmatewnck
libmatewnck_LIB_DEPENDS= libmatewnck.so:${PORTSDIR}/x11-toolkits/libmatewnck
libmatewnck_RUN_DEPENDS= ${libmatewnck_DETECT}:${PORTSDIR}/x11-toolkits/libmatewnck
marco_DETECT= ${LOCALBASE}/libdata/pkgconfig/libmarco-private.pc
marco_BUILD_DEPENDS= ${marco_DETECT}:${PORTSDIR}/x11-wm/mate-window-manager
marco_LIB_DEPENDS= libmarco-private.so:${PORTSDIR}/x11-wm/mate-window-manager
marco_RUN_DEPENDS= ${marco_DETECT}:${PORTSDIR}/x11-wm/mate-window-manager
menus_DETECT= ${LOCALBASE}/libdata/pkgconfig/libmate-menu.pc
menus_BUILD_DEPENDS= ${menus_DETECT}:${PORTSDIR}/x11/mate-menus
menus_LIB_DEPENDS= libmate-menu.so:${PORTSDIR}/x11/mate-menus
menus_RUN_DEPENDS= ${menus_DETECT}:${PORTSDIR}/x11/mate-menus
notificationdaemon_DETECT= ${LOCALBASE}/libexec/mate-notification-daemon
notificationdaemon_BUILD_DEPENDS= ${notificationdaemon_DETECT}:${PORTSDIR}/deskutils/mate-notification-daemon
notificationdaemon_RUN_DEPENDS= ${notificationdaemon_DETECT}:${PORTSDIR}/deskutils/mate-notification-daemon
panel_DETECT= ${LOCALBASE}/libdata/pkgconfig/libmatepanelapplet-4.0.pc
panel_BUILD_DEPENDS= ${panel_DETECT}:${PORTSDIR}/x11/mate-panel
panel_LIB_DEPENDS= libmate-panel-applet-4.so:${PORTSDIR}/x11/mate-panel
panel_RUN_DEPENDS= ${panel_DETECT}:${PORTSDIR}/x11/mate-panel
polkit_DETECT= ${LOCALBASE}/libdata/pkgconfig/polkit-gtk-mate-1.pc
polkit_BUILD_DEPENDS= ${polkit_DETECT}:${PORTSDIR}/sysutils/mate-polkit
polkit_LIB_DEPENDS= libpolkit-gtk-mate-1.so:${PORTSDIR}/sysutils/mate-polkit
polkit_RUN_DEPENDS= ${polkit_DETECT}:${PORTSDIR}/sysutils/mate-polkit
pluma_DETECT= ${LOCALBASE}/libdata/pkgconfig/pluma.pc
pluma_BUILD_DEPENDS= ${pluma_DETECT}:${PORTSDIR}/editors/mate-text-editor
pluma_RUN_DEPENDS= ${pluma_DETECT}:${PORTSDIR}/editors/mate-text-editor
settingsdaemon_DETECT= ${LOCALBASE}/libdata/pkgconfig/mate-settings-daemon.pc
settingsdaemon_BUILD_DEPENDS= ${settingsdaemon_DETECT}:${PORTSDIR}/sysutils/mate-settings-daemon
settingsdaemon_RUN_DEPENDS= ${settingsdaemon_DETECT}:${PORTSDIR}/sysutils/mate-settings-daemon
# End component definition section
.endif
# End of optional part.
.if defined(_POSTMKINCLUDED) && !defined(Mate_Post_Include)
Mate_Post_Include= bsd.mate.mk
.if defined(USE_MATE)
# Then handle the ltverhack component (it has to be done here, because
# we rely on some bsd.autotools.mk variables, and bsd.autotools.mk is
# included in the post-makefile section).
.if defined(_AUTOTOOL_libtool)
lthacks_CONFIGURE_ENV= ac_cv_path_DOLT_BASH=
lthacks_PRE_PATCH= ${CP} -pf ${LTMAIN} ${WRKDIR}/mate-ltmain.sh && \
${CP} -pf ${LIBTOOL} ${WRKDIR}/mate-libtool && \
for file in ${LIBTOOLFILES}; do \
${REINPLACE_CMD} -e \
'/^ltmain=/!s|$$ac_aux_dir/ltmain\.sh|${LIBTOOLFLAGS} ${WRKDIR}/mate-ltmain.sh|g; \
/^LIBTOOL=/s|$$(top_builddir)/libtool|${WRKDIR}/mate-libtool|g' \
${PATCH_WRKSRC}/$$file; \
done;
.else
. if ${USE_MATE:Mltverhack*}!="" || ${USE_MATE:Mltasneededhack}!=""
IGNORE= cannot install: ${PORTNAME} uses the ltverhack and/or ltasneededhack MATE components but does not use libtool
. endif
.endif
.if ${USE_MATE:Mltverhack\:*:C/^[^:]+:([^:]+).*/\1/}==""
ltverhack_LIB_VERSION= major=.`expr $$current - $$age`
.else
ltverhack_LIB_VERSION= major=".${USE_MATE:Mltverhack\:*:C/^[^:]+:([^:]+).*/\1/}"
.endif
ltverhack_PATCH_DEPENDS=${LIBTOOL_DEPENDS}
ltverhack_PRE_PATCH= for file in mate-ltmain.sh mate-libtool; do \
if [ -f ${WRKDIR}/$$file ]; then \
${REINPLACE_CMD} -e \
'/freebsd-elf)/,/;;/ s|major="\.$$current"|${ltverhack_LIB_VERSION}|; \
/freebsd-elf)/,/;;/ s|versuffix="\.$$current"|versuffix="$$major"|' \
${WRKDIR}/$$file; \
fi; \
done
ltasneededhack_PATCH_DEPENDS=${LIBTOOL_DEPENDS}
ltasneededhack_PRE_PATCH= if [ -f ${WRKDIR}/mate-libtool ]; then \
${REINPLACE_CMD} -e \
'/^archive_cmds=/s/-shared/-shared -Wl,--as-needed/ ; \
/^archive_expsym_cmds=/s/-shared/-shared -Wl,--as-needed/' \
${WRKDIR}/mate-libtool; \
fi
# Comparing between USE_MATE and _USE_MATE_ALL to make sure the component
# exists in _USE_MATE_ALL. If it does not exist then give an error about it.
#. for component in ${USE_MATE:O:u:C/^([^:]+).*/\1/}
. for component in ${USE_MATE:C/^([^:]+).*/\1/}
#. for component in ${USE_GNOME:C/^([^:]+).*/\1/}
. if ${_USE_MATE_ALL:M${component}}==""
.error cannot install: Unknown component USE_MATE=${component}
. endif
. endfor
. if ${USE_MATE:Mltverhack*}!= "" || ${USE_MATE:Mltasneededhack}!= ""
MATE_PRE_PATCH+= ${lthacks_PRE_PATCH}
CONFIGURE_ENV+= ${lthacks_CONFIGURE_ENV}
. endif
. for component in ${USE_MATE:O:u:C/^([^:]+).*/\1/}
. if defined(${component}_PATCH_DEPENDS)
PATCH_DEPENDS+= ${${component}_PATCH_DEPENDS}
. endif
. if defined(${component}_DETECT)
. if ${USE_MATE:M${component}\:build}!=""
BUILD_DEPENDS+= ${${component}_BUILD_DEPENDS}
. elif ${USE_MATE:M${component}\:run}!=""
RUN_DEPENDS+= ${${component}_RUN_DEPENDS}
. else
. if defined(${component}_LIB_DEPENDS)
LIB_DEPENDS+= ${${component}_LIB_DEPENDS}
. else
BUILD_DEPENDS+= ${${component}_BUILD_DEPENDS}
RUN_DEPENDS+= ${${component}_RUN_DEPENDS}
. endif
. endif
. endif
. if defined(${component}_CONFIGURE_TARGET)
CONFIGURE_ARGS+=${${component}_CONFIGURE_ARGS}
. endif
. if defined(${component}_CONFIGURE_ENV)
CONFIGURE_ENV+= ${${component}_CONFIGURE_ENV}
. endif
. if defined(${component}_MAKE_ENV)
MAKE_ENV+= ${${component}_MAKE_ENV}
. endif
. if !defined(CONFIGURE_TARGET) && defined(${component}_CONFIGURE_TARGET)
CONFIGURE_TARGET= ${${component}_CONFIGURE_TARGET}
. endif
. if defined(${component}_PRE_PATCH)
MATE_PRE_PATCH+= ; ${${component}_PRE_PATCH}
. endif
. endfor
.endif # USE_MATE check
.if ${USE_MATE:Mautogen}!=""
CONFIGURE_ENV+= NOCONFIGURE=yes
pre-configure: mate-pre-configure
mate-pre-configure:
@(cd ${CONFIGURE_WRKSRC} ; ${SETENV} ${CONFIGURE_ENV} ./autogen.sh)
.endif
.if defined(MATE_PRE_PATCH)
pre-configure-script: mate-pre-configure-script
mate-pre-configure-script:
@${MATE_PRE_PATCH:C/^;//1}
.endif
.if ${MAINTAINER}=="gnome@FreeBSD.org"
CONFIGURE_FAIL_MESSAGE= "Please run the gnomelogalyzer, available from \"http://www.freebsd.org/gnome/gnomelogalyzer.sh\", which will diagnose the problem and suggest a solution. If - and only if - the gnomelogalyzer cannot solve the problem, report the build failure to the FreeBSD MATE team at ${MAINTAINER}, and attach (a) \"${CONFIGURE_WRKSRC}/${CONFIGURE_LOG}\", (b) the output of the failed make command, and (c) the gnomelogalyzer output. Also, it might be a good idea to provide an overview of all packages installed on your system (i.e. an \`ls ${PKG_DBDIR}\`). Put your attachment up on any website, copy-and-paste into http://freebsd-gnome.pastebin.com, or use send-pr(1) with the attachment. Try to avoid sending any attachments to the mailing list (${MAINTAINER}), because attachments sent to FreeBSD mailing lists are usually discarded by the mailing list software."
.endif
.endif
# End of use part.
......@@ -442,6 +442,10 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# or http://www.FreeBSD.org/gnome/docs/porting.html
# for more details.
##
# USE_MATE - A list of the MATE dependencies the port has. Implies
# that the port needs MATE. Implies inclusion of
# bsd.mate.mk. See bsd.mate.mk for more details.
##
# USE_LUA - If set, this port uses the Lua library and related
# components. See bsd.lua.mk for more details.
##
......@@ -1465,6 +1469,10 @@ PKGCOMPATDIR?= ${LOCALBASE}/lib/compat/pkg
.include "${PORTSDIR}/Mk/bsd.gnome.mk"
.endif
.if defined(USE_MATE)
.include "${PORTSDIR}/Mk/bsd.mate.mk"
.endif
.if defined(WANT_LUA) || defined(USE_LUA) || defined(USE_LUA_NOT)
.include "${PORTSDIR}/Mk/bsd.lua.mk"
.endif
......@@ -2033,6 +2041,10 @@ RUN_DEPENDS+= ${_GL_${_component}_RUN_DEPENDS}
.include "${PORTSDIR}/Mk/bsd.gnome.mk"
.endif
.if defined(USE_MATE)
.include "${PORTSDIR}/Mk/bsd.mate.mk"
.endif
.if defined(USE_XFCE)
.include "${PORTSDIR}/Mk/bsd.xfce.mk"
.endif
......@@ -2840,7 +2852,7 @@ VALID_CATEGORIES+= accessibility afterstep arabic archivers astro audio \
deskutils devel docs dns editors elisp emulators enlightenment finance french ftp \
games geography german gnome gnustep graphics hamradio haskell hebrew hungarian \
ipv6 irc japanese java kde kld korean lang linux lisp \
mail math mbone misc multimedia net net-im net-mgmt net-p2p news \
mail mate math mbone misc multimedia net net-im net-mgmt net-p2p news \
palm parallel pear perl5 plan9 polish portuguese ports-mgmt \
print python ruby rubygems russian \
scheme science security shells spanish sysutils \
......@@ -6553,6 +6565,7 @@ desktop-categories:
lang) c="Development" ;; \
lisp) c="Development" ;; \
mail) c="Office Email" ;; \
mate) c="MATE GTK" ;; \
math) c="Education Science Math" ;; \
mbone) c="Network AudioVideo" ;; \
multimedia) c="AudioVideo" ;; \
......@@ -6613,7 +6626,7 @@ DESKTOP_CATEGORIES_ADDITIONAL= Building Debugger IDE GUIDesigner Profiling \
ParallelComputing Amusement Archiving Compression Electronics Emulator \
Engineering FileTools FileManager TerminalEmulator Filesystem Monitor \
Security Accessibility Calculator Clock TextEditor Documentation Adult \
Core KDE GNOME XFCE GTK Qt Motif Java ConsoleOnly
Core KDE GNOME MATE XFCE GTK Qt Motif Java ConsoleOnly
DESKTOP_CATEGORIES_RESERVED= Screensaver TrayIcon Applet Shell
VALID_DESKTOP_CATEGORIES+= ${DESKTOP_CATEGORIES_MAIN} \
......
......@@ -729,6 +729,11 @@ MASTER_SITE_LOGILAB+= \
ftp://ftp.logilab.fr/pub/%SUBDIR%/
.endif
.if !defined(IGNORE_MASTER_SITE_MATE)
MASTER_SITE_MATE+= \
http://pub.mate-desktop.org/releases/%SUBDIR%/
.endif
.if !defined(IGNORE_MASTER_SITE_MOZDEV)
MASTER_SITE_MOZDEV+= \
http://ftp.scarlet.be/pub/mozdev/%SUBDIR%/ \
......@@ -1473,6 +1478,7 @@ MASTER_SITES_SUBDIRS= \
GNU:${PORTNAME} \
HORDE:${PORTNAME} \
LOGILAB:${PORTNAME} \
MATE:${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} \
MOZDEV:${PORTNAME:L} \
NETLIB:${PORTNAME} \
PERL_CPAN:${PORTNAME:C/-.*//} \
......
......@@ -80,6 +80,7 @@
SUBDIR += macutils
SUBDIR += makeself
SUBDIR += mar
SUBDIR += mate-file-archiver
SUBDIR += mscompress
SUBDIR += mtf
SUBDIR += nomarch
......
# Created by: Anders Nordby <anders@FreeBSD.org>
# $FreeBSD$
PORTNAME= mate-file-archiver
PORTVERSION= 1.6.0
CATEGORIES= archivers mate
MASTER_SITES= MATE
DIST_SUBDIR= mate
MAINTAINER= gnome@FreeBSD.org
COMMENT= Archive manager for zip files, tar, etc
RUN_DEPENDS= ${LOCALBASE}/bin/gtar:${PORTSDIR}/archivers/gtar \
${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip
PORTSCOUT= limitw:1,even
USES= desktop-file-utils gettext gmake pathfix pkgconfig
USE_XZ= yes
USE_MATE= autogen caja common:build docutils intlhack
USE_XORG= sm
USE_GNOME= glib20 gnomehier gtk20
INSTALLS_OMF= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
USE_AUTOTOOLS= aclocal:env autoconf:env automake:env libtool libtoolize:env
CONFIGURE_ARGS= --disable-packagekit \
--with-gtk=2.0
INSTALLS_ICONS= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PATHFIX_MAKEFILEIN= Makefile.*
GLIB_SCHEMAS= org.mate.engrampa.gschema.xml
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/src/fr-command-tar.c \
${WRKSRC}/src/fr-command-zip.c
.include <bsd.port.mk>
SHA256 (mate/mate-file-archiver-1.6.0.tar.xz) = b959c41d1c86991e4f72224df0519bf0aaccfdd49afd8e799268b779ce9d2285
SIZE (mate/mate-file-archiver-1.6.0.tar.xz) = 1167228
--- src/fr-command-lrzip.c.orig 2010-08-26 12:40:56.000000000 -0400
+++ src/fr-command-lrzip.c 2010-08-26 12:41:41.000000000 -0400
@@ -53,7 +53,7 @@ list__process_line (char *line,
struct stat st;
time_t tt;
if (stat (comm->filename, &st) == 0)
- fdata->modified = st.st_mtim.tv_sec;
+ fdata->modified = st.st_mtime;
else
time(&(fdata->modified));
fdata->modified;
--- 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);
--- src/fr-command-zip.c.orig 2010-01-02 17:02:44.000000000 -0500
+++ src/fr-command-zip.c 2010-01-02 17:08:03.000000000 -0500
@@ -187,7 +187,11 @@ fr_command_zip_list (FrCommand *comm)
{
fr_process_set_out_line_func (comm->process, list__process_line, comm);
+#ifdef __FreeBSD__
+ fr_process_begin_command (comm->process, "%%LOCALBASE%%/bin/unzip");
+#else
fr_process_begin_command (comm->process, "unzip");
+#endif
fr_process_set_begin_func (comm->process, list__begin, comm);
fr_process_add_arg (comm->process, "-ZTs");
fr_process_add_arg (comm->process, comm->filename);
@@ -302,7 +306,11 @@ fr_command_zip_extract (FrCommand *comm
process_line__common,
comm);
+#ifdef __FreeBSD__
+ fr_process_begin_command (comm->process, "%%LOCALBASE%%/bin/unzip");
+#else
fr_process_begin_command (comm->process, "unzip");
+#endif
if (dest_dir != NULL) {
fr_process_add_arg (comm->process, "-d");
@@ -334,7 +342,11 @@ fr_command_zip_extract (FrCommand *comm
static void
fr_command_zip_test (FrCommand *comm)
{
- fr_process_begin_command (comm->process, "unzip");
+#ifdef __FreeBSD__
+ fr_process_begin_command (comm->process, "%%LOCALBASE%%/bin/unzip");
+#else
+ fr_process_begin_command (comm->process, "%%LOCALBASE%%/bin/unzip");
+#endif
fr_process_add_arg (comm->process, "-t");
add_password_arg (comm, comm->password);
fr_process_add_arg (comm->process, comm->filename);
Engrampa is an archive manager for the MATE 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
Engrampa 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://mate-desktop.org/
bin/engrampa
lib/caja/extensions-2.0/libcaja-engrampa.a
lib/caja/extensions-2.0/libcaja-engrampa.la
lib/caja/extensions-2.0/libcaja-engrampa.so
libexec/engrampa/isoinfo.sh
libexec/engrampa/rpm2cpio
share/MateConf/gsettings/engrampa.convert
share/applications/engrampa.desktop
share/engrampa/icons/hicolor/16x16/actions/add-files-to-archive.png
share/engrampa/icons/hicolor/16x16/actions/add-folder-to-archive.png
share/engrampa/icons/hicolor/16x16/actions/extract-archive.png
share/engrampa/icons/hicolor/24x24/actions/add-files-to-archive.png
share/engrampa/icons/hicolor/24x24/actions/add-folder-to-archive.png
share/engrampa/icons/hicolor/24x24/actions/extract-archive.png
share/engrampa/packages.match
share/engrampa/ui/add-options.ui
share/engrampa/ui/batch-add-files.ui
share/engrampa/ui/batch-password.ui
share/engrampa/ui/delete.ui
share/engrampa/ui/new.ui
share/engrampa/ui/open-with.ui
share/engrampa/ui/password.ui
share/engrampa/ui/properties.ui
share/engrampa/ui/update.ui
share/icons/hicolor/16x16/apps/engrampa.png
share/icons/hicolor/22x22/apps/engrampa.png
share/icons/hicolor/24x24/apps/engrampa.png
share/icons/hicolor/32x32/apps/engrampa.png
share/icons/hicolor/scalable/apps/engrampa.svg
share/locale/af/LC_MESSAGES/engrampa.mo
share/locale/am/LC_MESSAGES/engrampa.mo
share/locale/ar/LC_MESSAGES/engrampa.mo
share/locale/as/LC_MESSAGES/engrampa.mo
share/locale/ast/LC_MESSAGES/engrampa.mo
share/locale/az/LC_MESSAGES/engrampa.mo
share/locale/be/LC_MESSAGES/engrampa.mo
share/locale/be@latin/LC_MESSAGES/engrampa.mo
share/locale/bg/LC_MESSAGES/engrampa.mo
share/locale/bn/LC_MESSAGES/engrampa.mo
share/locale/bn_IN/LC_MESSAGES/engrampa.mo
share/locale/br/LC_MESSAGES/engrampa.mo
share/locale/bs/LC_MESSAGES/engrampa.mo
share/locale/ca/LC_MESSAGES/engrampa.mo
share/locale/ca@valencia/LC_MESSAGES/engrampa.mo
share/locale/cs/LC_MESSAGES/engrampa.mo
share/locale/cy/LC_MESSAGES/engrampa.mo
share/locale/da/LC_MESSAGES/engrampa.mo
share/locale/de/LC_MESSAGES/engrampa.mo
share/locale/dz/LC_MESSAGES/engrampa.mo
share/locale/el/LC_MESSAGES/engrampa.mo
share/locale/en@shaw/LC_MESSAGES/engrampa.mo
share/locale/en_CA/LC_MESSAGES/engrampa.mo
share/locale/en_GB/LC_MESSAGES/engrampa.mo
share/locale/eo/LC_MESSAGES/engrampa.mo
share/locale/es/LC_MESSAGES/engrampa.mo
share/locale/et/LC_MESSAGES/engrampa.mo
share/locale/eu/LC_MESSAGES/engrampa.mo
share/locale/fa/LC_MESSAGES/engrampa.mo
share/locale/fi/LC_MESSAGES/engrampa.mo
share/locale/fr/LC_MESSAGES/engrampa.mo
share/locale/fur/LC_MESSAGES/engrampa.mo
share/locale/fy/LC_MESSAGES/engrampa.mo
share/locale/ga/LC_MESSAGES/engrampa.mo
share/locale/gl/LC_MESSAGES/engrampa.mo
share/locale/gu/LC_MESSAGES/engrampa.mo
share/locale/he/LC_MESSAGES/engrampa.mo
share/locale/hi/LC_MESSAGES/engrampa.mo
share/locale/hr/LC_MESSAGES/engrampa.mo
share/locale/hu/LC_MESSAGES/engrampa.mo
share/locale/hy/LC_MESSAGES/engrampa.mo
share/locale/id/LC_MESSAGES/engrampa.mo
share/locale/is/LC_MESSAGES/engrampa.mo
share/locale/it/LC_MESSAGES/engrampa.mo
share/locale/ja/LC_MESSAGES/engrampa.mo
share/locale/ka/LC_MESSAGES/engrampa.mo
share/locale/kk/LC_MESSAGES/engrampa.mo
share/locale/kn/LC_MESSAGES/engrampa.mo
share/locale/ko/LC_MESSAGES/engrampa.mo
share/locale/ku/LC_MESSAGES/engrampa.mo
share/locale/lt/LC_MESSAGES/engrampa.mo
share/locale/lv/LC_MESSAGES/engrampa.mo
share/locale/mai/LC_MESSAGES/engrampa.mo
share/locale/mg/LC_MESSAGES/engrampa.mo
share/locale/mk/LC_MESSAGES/engrampa.mo
share/locale/ml/LC_MESSAGES/engrampa.mo
share/locale/mn/LC_MESSAGES/engrampa.mo
share/locale/mr/LC_MESSAGES/engrampa.mo
share/locale/ms/LC_MESSAGES/engrampa.mo
share/locale/nb/LC_MESSAGES/engrampa.mo
share/locale/nds/LC_MESSAGES/engrampa.mo
share/locale/ne/LC_MESSAGES/engrampa.mo
share/locale/nl/LC_MESSAGES/engrampa.mo
share/locale/nn/LC_MESSAGES/engrampa.mo
share/locale/oc/LC_MESSAGES/engrampa.mo
share/locale/or/LC_MESSAGES/engrampa.mo
share/locale/pa/LC_MESSAGES/engrampa.mo
share/locale/pl/LC_MESSAGES/engrampa.mo
share/locale/ps/LC_MESSAGES/engrampa.mo
share/locale/pt/LC_MESSAGES/engrampa.mo