summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-02-12 09:24:55 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-02-12 09:24:55 +0800
commited2c59286c6041c5d09a9d939c90c770179c970c (patch)
treefb7569af1d8ae68317acca6c0cf3800b44fb1431 /devel
parentd21de1a3cb0402fb75cd98154eb71fcad0404d55 (diff)
downloadmarcuscom-ports-ed2c59286c6041c5d09a9d939c90c770179c970c.tar
marcuscom-ports-ed2c59286c6041c5d09a9d939c90c770179c970c.tar.gz
marcuscom-ports-ed2c59286c6041c5d09a9d939c90c770179c970c.tar.bz2
marcuscom-ports-ed2c59286c6041c5d09a9d939c90c770179c970c.tar.lz
marcuscom-ports-ed2c59286c6041c5d09a9d939c90c770179c970c.tar.xz
marcuscom-ports-ed2c59286c6041c5d09a9d939c90c770179c970c.tar.zst
marcuscom-ports-ed2c59286c6041c5d09a9d939c90c770179c970c.zip
* Update to 2.5.7
* Clean up the KDE menus, and add a new KDE sub-menu for storing all the KDE desktop icons. Big thanks to Jeremy Messenger <mezz7@cox.net> for providing this. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1812 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel')
-rw-r--r--devel/gnome-vfs/Makefile17
-rw-r--r--devel/gnome-vfs/distinfo3
-rw-r--r--devel/gnome-vfs/files/KDE.directory5
-rw-r--r--devel/gnome-vfs/files/modules_vfolder_applications-all-users.vfolder-info.in270
-rw-r--r--devel/gnome-vfs/files/patch-aa14
-rw-r--r--devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-volume-ops.c26
-rw-r--r--devel/gnome-vfs/pkg-plist52
-rw-r--r--devel/gnomevfs2/Makefile17
-rw-r--r--devel/gnomevfs2/distinfo3
-rw-r--r--devel/gnomevfs2/files/KDE.directory5
-rw-r--r--devel/gnomevfs2/files/modules_vfolder_applications-all-users.vfolder-info.in270
-rw-r--r--devel/gnomevfs2/files/patch-aa14
-rw-r--r--devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-volume-ops.c26
-rw-r--r--devel/gnomevfs2/pkg-plist52
14 files changed, 684 insertions, 90 deletions
diff --git a/devel/gnome-vfs/Makefile b/devel/gnome-vfs/Makefile
index e10ad2ba6..1b584b55c 100644
--- a/devel/gnome-vfs/Makefile
+++ b/devel/gnome-vfs/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= gnomevfs2
-PORTVERSION= 2.5.6
-PORTREVISION= 4
+PORTVERSION= 2.5.7
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-vfs/2.5
@@ -27,6 +26,7 @@ USE_GNOME= gnomeprefix gnomehack gnomehier intlhack gnomemimedata gconf2 \
USE_REINPLACE= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
+CONFIGURE_ARGS= --disable-openssl
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
BSD_PTHREAD_LIBS=${PTHREAD_LIBS}
@@ -44,6 +44,9 @@ WITH_SAMBA= yes
.if !defined(WITHOUT_KDE_MENUS)
EXTRA_PATCHES= ${FILESDIR}/modules_vfolder_applications-all-users.vfolder-info.in
+PLIST_SUB+= KDEMENUS=""
+.else
+PLIST_SUB+= KDEMENUS="@comment "
.endif
.if exists(${LOCALBASE}/lib/libcdda_paranoia.a)
@@ -79,7 +82,17 @@ post-patch:
${WRKSRC}/libgnomevfs/Makefile.in \
${WRKSRC}/libgnomevfs/xdgmime.c \
${WRKSRC}/modules/vfolder/applications-all-users.vfolder-info.in
+.if !defined(WITHOUT_KDE_MENUS)
+ @${SED} -e 's|/usr/local|${LOCALBASE}|g' \
+ < ${FILESDIR}/KDE.directory > ${WRKSRC}/KDE.directory
+.endif
@${REINPLACE_CMD} -e "/^SUBDIRS =/s/test//" \
${WRKSRC}/Makefile.in
+post-install:
+ @${MKDIR} ${PREFIX}/share/gnome/vfolders
+.if !defined(WITHOUT_KDE_MENUS)
+ @${INSTALL_DATA} ${WRKSRC}/KDE.directory ${PREFIX}/share/gnome/vfolders
+.endif
+
.include <bsd.port.post.mk>
diff --git a/devel/gnome-vfs/distinfo b/devel/gnome-vfs/distinfo
index ea5e2f26e..c4cfe7cb8 100644
--- a/devel/gnome-vfs/distinfo
+++ b/devel/gnome-vfs/distinfo
@@ -1 +1,2 @@
-MD5 (gnome2/gnome-vfs-2.5.6.tar.bz2) = b0a1c88e684cff42d14bb93cf13645bf
+MD5 (gnome2/gnome-vfs-2.5.7.tar.bz2) = c25084af618d080d49ea0db58022fc56
+SIZE (gnome2/gnome-vfs-2.5.7.tar.bz2) = 1386526
diff --git a/devel/gnome-vfs/files/KDE.directory b/devel/gnome-vfs/files/KDE.directory
new file mode 100644
index 000000000..032126bb9
--- /dev/null
+++ b/devel/gnome-vfs/files/KDE.directory
@@ -0,0 +1,5 @@
+[Desktop Entry]
+Name=KDE
+Comment=Some comment about KDE menu
+Icon=/usr/local/share/icons/kdeclassic/48x48/apps/kmenu.png
+Type=Directory
diff --git a/devel/gnome-vfs/files/modules_vfolder_applications-all-users.vfolder-info.in b/devel/gnome-vfs/files/modules_vfolder_applications-all-users.vfolder-info.in
index 17774279b..432558f80 100644
--- a/devel/gnome-vfs/files/modules_vfolder_applications-all-users.vfolder-info.in
+++ b/devel/gnome-vfs/files/modules_vfolder_applications-all-users.vfolder-info.in
@@ -1,5 +1,5 @@
---- modules/vfolder/applications-all-users.vfolder-info.in.orig Sun Feb 8 14:02:33 2004
-+++ modules/vfolder/applications-all-users.vfolder-info.in Sun Feb 8 14:00:32 2004
+--- modules/vfolder/applications-all-users.vfolder-info.in.orig Tue Feb 10 19:49:19 2004
++++ modules/vfolder/applications-all-users.vfolder-info.in Tue Feb 10 19:59:22 2004
@@ -19,7 +19,14 @@
<MergeDir>/usr/share/gnome/apps/</MergeDir>
@@ -16,3 +16,269 @@
<!-- Root folder -->
<Folder>
+@@ -34,10 +41,12 @@
+ <Query>
+ <And>
+ <Keyword>Core</Keyword>
+- <!-- FIXME: Seth, why would this be wanted? -->
+- <!--<Not>
+- <Keyword>Merged</Keyword>
+- </Not>-->
++ <Not>
++ <Or>
++ <Keyword>Qt</Keyword>
++ <Keyword>KDE</Keyword>
++ </Or>
++ </Not>
+ </And>
+ </Query>
+
+@@ -47,6 +56,12 @@
+ <Desktop>Accessories.directory</Desktop>
+ <Query>
+ <And>
++ <Not>
++ <Or>
++ <Keyword>Qt</Keyword>
++ <Keyword>KDE</Keyword>
++ </Or>
++ </Not>
+ <Keyword>Application</Keyword>
+ <Keyword>Utility</Keyword>
+ <Not>
+@@ -63,6 +78,12 @@
+ <Desktop>Accessibility.directory</Desktop>
+ <Query>
+ <And>
++ <Not>
++ <Or>
++ <Keyword>Qt</Keyword>
++ <Keyword>KDE</Keyword>
++ </Or>
++ </Not>
+ <Keyword>Application</Keyword>
+ <Keyword>Accessibility</Keyword>
+ <Not>
+@@ -80,6 +101,12 @@
+ <OnlyUnallocated/>
+ <Query>
+ <And>
++ <Not>
++ <Or>
++ <Keyword>Qt</Keyword>
++ <Keyword>KDE</Keyword>
++ </Or>
++ </Not>
+ <Keyword>Application</Keyword>
+ <Not>
+ <Keyword>Settings</Keyword>
+@@ -101,6 +128,12 @@
+ <Desktop>Development.directory</Desktop>
+ <Query>
+ <And>
++ <Not>
++ <Or>
++ <Keyword>Qt</Keyword>
++ <Keyword>KDE</Keyword>
++ </Or>
++ </Not>
+ <Keyword>Application</Keyword>
+ <Keyword>Development</Keyword>
+ </And>
+@@ -114,6 +147,12 @@
+ <Desktop>Games.directory</Desktop>
+ <Query>
+ <And>
++ <Not>
++ <Or>
++ <Keyword>Qt</Keyword>
++ <Keyword>KDE</Keyword>
++ </Or>
++ </Not>
+ <Keyword>Application</Keyword>
+ <Keyword>Game</Keyword>
+ </And>
+@@ -127,6 +166,12 @@
+ <Desktop>Graphics.directory</Desktop>
+ <Query>
+ <And>
++ <Not>
++ <Or>
++ <Keyword>Qt</Keyword>
++ <Keyword>KDE</Keyword>
++ </Or>
++ </Not>
+ <Keyword>Application</Keyword>
+ <Keyword>Graphics</Keyword>
+ </And>
+@@ -140,6 +185,12 @@
+ <Desktop>Internet.directory</Desktop>
+ <Query>
+ <And>
++ <Not>
++ <Or>
++ <Keyword>Qt</Keyword>
++ <Keyword>KDE</Keyword>
++ </Or>
++ </Not>
+ <Keyword>Application</Keyword>
+ <Keyword>Network</Keyword>
+ </And>
+@@ -153,6 +204,12 @@
+ <Desktop>Multimedia.directory</Desktop>
+ <Query>
+ <And>
++ <Not>
++ <Or>
++ <Keyword>Qt</Keyword>
++ <Keyword>KDE</Keyword>
++ </Or>
++ </Not>
+ <Keyword>Application</Keyword>
+ <Keyword>AudioVideo</Keyword>
+ </And>
+@@ -170,6 +227,12 @@
+ <Desktop>Office.directory</Desktop>
+ <Query>
+ <And>
++ <Not>
++ <Or>
++ <Keyword>Qt</Keyword>
++ <Keyword>KDE</Keyword>
++ </Or>
++ </Not>
+ <Keyword>Application</Keyword>
+ <Or>
+ <Keyword>Office</Keyword>
+@@ -195,6 +258,12 @@
+ <Desktop>System.directory</Desktop>
+ <Query>
+ <And>
++ <Not>
++ <Or>
++ <Keyword>Qt</Keyword>
++ <Keyword>KDE</Keyword>
++ </Or>
++ </Not>
+ <Keyword>Application</Keyword>
+ <Not>
+ <Keyword>Settings</Keyword>
+@@ -204,6 +273,117 @@
+ </Query>
+ <DontShowIfEmpty/>
+ </Folder>
+-
++
++ <!-- KDE -->
++ <Folder>
++ <Name>KDE</Name>
++ <Desktop>KDE.directory</Desktop>
++
++ <!-- KAccessories -->
++ <Folder>
++ <Name>Accessories</Name>
++ <Desktop>Accessories.directory</Desktop>
++ <Query>
++ <And>
++ <Or>
++ <Keyword>Qt</Keyword>
++ <Keyword>KDE</Keyword>
++ </Or>
++ <Keyword>Utility</Keyword>
++ </And>
++ </Query>
++ <DontShowIfEmpty/>
++ </Folder>
++
++ <!-- KDevelopment Tools -->
++ <Folder>
++ <Name>Programming</Name>
++ <Desktop>Development.directory</Desktop>
++ <Query>
++ <And>
++ <Or>
++ <Keyword>Qt</Keyword>
++ <Keyword>KDE</Keyword>
++ </Or>
++ <Keyword>Development</Keyword>
++ </And>
++ </Query>
++ <DontShowIfEmpty/>
++ </Folder>
++
++ <!-- KGraphics -->
++ <Folder>
++ <Name>Graphics</Name>
++ <Desktop>Graphics.directory</Desktop>
++ <Query>
++ <And>
++ <Or>
++ <Keyword>Qt</Keyword>
++ <Keyword>KDE</Keyword>
++ </Or>
++ <Keyword>Graphics</Keyword>
++ </And>
++ </Query>
++ <DontShowIfEmpty/>
++ </Folder>
++
++ <!-- KInternet -->
++ <Folder>
++ <Name>Internet</Name>
++ <Desktop>Internet.directory</Desktop>
++ <Query>
++ <And>
++ <Or>
++ <Keyword>Qt</Keyword>
++ <Keyword>KDE</Keyword>
++ </Or>
++ <Keyword>Network</Keyword>
++ </And>
++ </Query>
++
++ <Include>/usr/local/share/applnk/konqueror.desktop</Include>
++
++ <DontShowIfEmpty/>
++ </Folder>
++
++ <!-- KMultimedia -->
++ <Folder>
++ <Name>Multimedia</Name>
++ <Desktop>Multimedia.directory</Desktop>
++ <Query>
++ <And>
++ <Or>
++ <Keyword>Qt</Keyword>
++ <Keyword>KDE</Keyword>
++ </Or>
++ <Keyword>AudioVideo</Keyword>
++ </And>
++ </Query>
++ <DontShowIfEmpty/>
++ </Folder>
++
++ <!-- KOffice -->
++ <Folder>
++ <Name>Office</Name>
++ <Desktop>Office.directory</Desktop>
++ <Query>
++ <And>
++ <Or>
++ <Keyword>Qt</Keyword>
++ <Keyword>KDE</Keyword>
++ </Or>
++ <Or>
++ <Keyword>Office</Keyword>
++ <Keyword>Spreadsheet</Keyword>
++ <Keyword>WordProcessor</Keyword>
++ <Keyword>Calendar</Keyword>
++ <Keyword>ProjectManagement</Keyword>
++ </Or>
++ </And>
++ </Query>
++ <DontShowIfEmpty/>
++ </Folder>
++ </Folder> <!-- KDE -->
++
+ </Folder>
+ </VFolderInfo>
diff --git a/devel/gnome-vfs/files/patch-aa b/devel/gnome-vfs/files/patch-aa
index ba863aab1..8273ab3fe 100644
--- a/devel/gnome-vfs/files/patch-aa
+++ b/devel/gnome-vfs/files/patch-aa
@@ -55,22 +55,10 @@
else
- LDFLAGS="$LDFLAGS -L$with_openssl_libs -lssl -lcrypto -ldl"
-+ LDFLAGS="$LDFLAGS -L$with_openssl_libs -lssl -lcryptofoo"
++ LDFLAGS="$LDFLAGS -L$with_openssl_libs -lssl -lcrypto"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
-@@ -27613,9 +27617,9 @@
-
- msg_openssl="yes"
- if test x$with_openssl_libs != x/usr/lib; then
-- OPENSSL_LIBS="-L$with_openssl_libs -lssl -lcrypto"
-+ OPENSSL_LIBS="-L$with_openssl_libs -lssl -lcryptofoo"
- else
-- OPENSSL_LIBS="-lssl -lcrypto"
-+ OPENSSL_LIBS="-lssl -lcryptofoo"
- fi
-
-
@@ -30543,6 +30547,7 @@
s,@ORBIT_IDL@,$ORBIT_IDL,;t t
s,@BONOBO_IDLDIR@,$BONOBO_IDLDIR,;t t
diff --git a/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-volume-ops.c b/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-volume-ops.c
deleted file mode 100644
index 87e2eca65..000000000
--- a/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-volume-ops.c
+++ /dev/null
@@ -1,26 +0,0 @@
---- libgnomevfs/gnome-vfs-volume-ops.c.orig Wed Dec 24 13:53:43 2003
-+++ libgnomevfs/gnome-vfs-volume-ops.c Wed Dec 24 13:56:15 2003
-@@ -224,12 +224,23 @@
- }
-
- if (info->should_eject) {
-+#ifdef __FreeBSD__
-+ char *argv[5] = {
-+ "cdcontrol",
-+ "-f",
-+ NULL,
-+ "eject",
-+ NULL
-+ };
-+ argv[2] = info->device_path?info->device_path:info->mount_point;
-+#else
- char *argv[3] = {
- "eject",
- NULL,
- NULL
- };
- argv[1] = info->device_path?info->device_path:info->mount_point;
-+#endif
-
- if (g_spawn_sync (NULL,
- argv,
diff --git a/devel/gnome-vfs/pkg-plist b/devel/gnome-vfs/pkg-plist
index 2e189c416..14238fc60 100644
--- a/devel/gnome-vfs/pkg-plist
+++ b/devel/gnome-vfs/pkg-plist
@@ -142,11 +142,59 @@ libdata/bonobo/servers/GNOME_VFS_Moniker_std.server
libdata/pkgconfig/gnome-vfs-2.0.pc
libdata/pkgconfig/gnome-vfs-module-2.0.pc
libexec/gnome-vfs-daemon
-share/doc/gnome-vfs-2.0/core.3396
+share/doc/gnome-vfs-2.0/about.html
+share/doc/gnome-vfs-2.0/advanced-operations.html
+share/doc/gnome-vfs-2.0/ch08.html
+share/doc/gnome-vfs-2.0/data-types.html
+share/doc/gnome-vfs-2.0/gnome-vfs-2.0.devhelp
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-application-registry.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-async-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-cancellation.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-context.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-directory-basic-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-directory-find-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-directory-list-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-file-advanced-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-file-basic-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-file-info-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-file-info.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-file-rw-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-file-size.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-file-trunc-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-inet-connection.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-init.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-method.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-mime-database.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-mime-monitor.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-mime.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-module-callback-module-api.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-module-callback.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-module-shared.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-module.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-monitor.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-parse-ls.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-result.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-socket-buffer.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-socket.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-ssl.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-standard-callbacks.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-transform.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-uri.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-utils.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-xfer.html
+share/doc/gnome-vfs-2.0/gnome-vfs-directory-operations.html
+share/doc/gnome-vfs-2.0/gnome-vfs-file-operations.html
+share/doc/gnome-vfs-2.0/gnome-vfs-first-steps.html
+share/doc/gnome-vfs-2.0/gnome-vfs-writing-modules.html
+share/doc/gnome-vfs-2.0/index.html
+share/doc/gnome-vfs-2.0/index.sgml
+share/doc/gnome-vfs-2.0/mime-registry.html
+share/doc/gnome-vfs-2.0/modules.html
share/doc/gnome-vfs-2.0/home.png
share/doc/gnome-vfs-2.0/left.png
share/doc/gnome-vfs-2.0/right.png
share/doc/gnome-vfs-2.0/up.png
+%%KDEMENUS%%share/gnome/vfolders/KDE.directory
share/locale/am/LC_MESSAGES/gnome-vfs-2.0.mo
share/locale/ar/LC_MESSAGES/gnome-vfs-2.0.mo
share/locale/az/LC_MESSAGES/gnome-vfs-2.0.mo
@@ -171,6 +219,7 @@ share/locale/ga/LC_MESSAGES/gnome-vfs-2.0.mo
share/locale/gl/LC_MESSAGES/gnome-vfs-2.0.mo
share/locale/he/LC_MESSAGES/gnome-vfs-2.0.mo
share/locale/hi/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/hr/LC_MESSAGES/gnome-vfs-2.0.mo
share/locale/hu/LC_MESSAGES/gnome-vfs-2.0.mo
share/locale/id/LC_MESSAGES/gnome-vfs-2.0.mo
share/locale/is/LC_MESSAGES/gnome-vfs-2.0.mo
@@ -209,6 +258,7 @@ share/locale/yi/LC_MESSAGES/gnome-vfs-2.0.mo
share/locale/zh_CN/LC_MESSAGES/gnome-vfs-2.0.mo
share/locale/zh_TW/LC_MESSAGES/gnome-vfs-2.0.mo
@dirrm share/doc/gnome-vfs-2.0
+@dirrm share/gnome/vfolders
@dirrm lib/vfs/2.0/extfs
@dirrm lib/vfs/2.0
@dirrm include/gnome-vfs-module-2.0/libgnomevfs
diff --git a/devel/gnomevfs2/Makefile b/devel/gnomevfs2/Makefile
index e10ad2ba6..1b584b55c 100644
--- a/devel/gnomevfs2/Makefile
+++ b/devel/gnomevfs2/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= gnomevfs2
-PORTVERSION= 2.5.6
-PORTREVISION= 4
+PORTVERSION= 2.5.7
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-vfs/2.5
@@ -27,6 +26,7 @@ USE_GNOME= gnomeprefix gnomehack gnomehier intlhack gnomemimedata gconf2 \
USE_REINPLACE= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
+CONFIGURE_ARGS= --disable-openssl
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
BSD_PTHREAD_LIBS=${PTHREAD_LIBS}
@@ -44,6 +44,9 @@ WITH_SAMBA= yes
.if !defined(WITHOUT_KDE_MENUS)
EXTRA_PATCHES= ${FILESDIR}/modules_vfolder_applications-all-users.vfolder-info.in
+PLIST_SUB+= KDEMENUS=""
+.else
+PLIST_SUB+= KDEMENUS="@comment "
.endif
.if exists(${LOCALBASE}/lib/libcdda_paranoia.a)
@@ -79,7 +82,17 @@ post-patch:
${WRKSRC}/libgnomevfs/Makefile.in \
${WRKSRC}/libgnomevfs/xdgmime.c \
${WRKSRC}/modules/vfolder/applications-all-users.vfolder-info.in
+.if !defined(WITHOUT_KDE_MENUS)
+ @${SED} -e 's|/usr/local|${LOCALBASE}|g' \
+ < ${FILESDIR}/KDE.directory > ${WRKSRC}/KDE.directory
+.endif
@${REINPLACE_CMD} -e "/^SUBDIRS =/s/test//" \
${WRKSRC}/Makefile.in
+post-install:
+ @${MKDIR} ${PREFIX}/share/gnome/vfolders
+.if !defined(WITHOUT_KDE_MENUS)
+ @${INSTALL_DATA} ${WRKSRC}/KDE.directory ${PREFIX}/share/gnome/vfolders
+.endif
+
.include <bsd.port.post.mk>
diff --git a/devel/gnomevfs2/distinfo b/devel/gnomevfs2/distinfo
index ea5e2f26e..c4cfe7cb8 100644
--- a/devel/gnomevfs2/distinfo
+++ b/devel/gnomevfs2/distinfo
@@ -1 +1,2 @@
-MD5 (gnome2/gnome-vfs-2.5.6.tar.bz2) = b0a1c88e684cff42d14bb93cf13645bf
+MD5 (gnome2/gnome-vfs-2.5.7.tar.bz2) = c25084af618d080d49ea0db58022fc56
+SIZE (gnome2/gnome-vfs-2.5.7.tar.bz2) = 1386526
diff --git a/devel/gnomevfs2/files/KDE.directory b/devel/gnomevfs2/files/KDE.directory
new file mode 100644
index 000000000..032126bb9
--- /dev/null
+++ b/devel/gnomevfs2/files/KDE.directory
@@ -0,0 +1,5 @@
+[Desktop Entry]
+Name=KDE
+Comment=Some comment about KDE menu
+Icon=/usr/local/share/icons/kdeclassic/48x48/apps/kmenu.png
+Type=Directory
diff --git a/devel/gnomevfs2/files/modules_vfolder_applications-all-users.vfolder-info.in b/devel/gnomevfs2/files/modules_vfolder_applications-all-users.vfolder-info.in
index 17774279b..432558f80 100644
--- a/devel/gnomevfs2/files/modules_vfolder_applications-all-users.vfolder-info.in
+++ b/devel/gnomevfs2/files/modules_vfolder_applications-all-users.vfolder-info.in
@@ -1,5 +1,5 @@
---- modules/vfolder/applications-all-users.vfolder-info.in.orig Sun Feb 8 14:02:33 2004
-+++ modules/vfolder/applications-all-users.vfolder-info.in Sun Feb 8 14:00:32 2004
+--- modules/vfolder/applications-all-users.vfolder-info.in.orig Tue Feb 10 19:49:19 2004
++++ modules/vfolder/applications-all-users.vfolder-info.in Tue Feb 10 19:59:22 2004
@@ -19,7 +19,14 @@
<MergeDir>/usr/share/gnome/apps/</MergeDir>
@@ -16,3 +16,269 @@
<!-- Root folder -->
<Folder>
+@@ -34,10 +41,12 @@
+ <Query>
+ <And>
+ <Keyword>Core</Keyword>
+- <!-- FIXME: Seth, why would this be wanted? -->
+- <!--<Not>
+- <Keyword>Merged</Keyword>
+- </Not>-->
++ <Not>
++ <Or>
++ <Keyword>Qt</Keyword>
++ <Keyword>KDE</Keyword>
++ </Or>
++ </Not>
+ </And>
+ </Query>
+
+@@ -47,6 +56,12 @@
+ <Desktop>Accessories.directory</Desktop>
+ <Query>
+ <And>
++ <Not>
++ <Or>
++ <Keyword>Qt</Keyword>
++ <Keyword>KDE</Keyword>
++ </Or>
++ </Not>
+ <Keyword>Application</Keyword>
+ <Keyword>Utility</Keyword>
+ <Not>
+@@ -63,6 +78,12 @@
+ <Desktop>Accessibility.directory</Desktop>
+ <Query>
+ <And>
++ <Not>
++ <Or>
++ <Keyword>Qt</Keyword>
++ <Keyword>KDE</Keyword>
++ </Or>
++ </Not>
+ <Keyword>Application</Keyword>
+ <Keyword>Accessibility</Keyword>
+ <Not>
+@@ -80,6 +101,12 @@
+ <OnlyUnallocated/>
+ <Query>
+ <And>
++ <Not>
++ <Or>
++ <Keyword>Qt</Keyword>
++ <Keyword>KDE</Keyword>
++ </Or>
++ </Not>
+ <Keyword>Application</Keyword>
+ <Not>
+ <Keyword>Settings</Keyword>
+@@ -101,6 +128,12 @@
+ <Desktop>Development.directory</Desktop>
+ <Query>
+ <And>
++ <Not>
++ <Or>
++ <Keyword>Qt</Keyword>
++ <Keyword>KDE</Keyword>
++ </Or>
++ </Not>
+ <Keyword>Application</Keyword>
+ <Keyword>Development</Keyword>
+ </And>
+@@ -114,6 +147,12 @@
+ <Desktop>Games.directory</Desktop>
+ <Query>
+ <And>
++ <Not>
++ <Or>
++ <Keyword>Qt</Keyword>
++ <Keyword>KDE</Keyword>
++ </Or>
++ </Not>
+ <Keyword>Application</Keyword>
+ <Keyword>Game</Keyword>
+ </And>
+@@ -127,6 +166,12 @@
+ <Desktop>Graphics.directory</Desktop>
+ <Query>
+ <And>
++ <Not>
++ <Or>
++ <Keyword>Qt</Keyword>
++ <Keyword>KDE</Keyword>
++ </Or>
++ </Not>
+ <Keyword>Application</Keyword>
+ <Keyword>Graphics</Keyword>
+ </And>
+@@ -140,6 +185,12 @@
+ <Desktop>Internet.directory</Desktop>
+ <Query>
+ <And>
++ <Not>
++ <Or>
++ <Keyword>Qt</Keyword>
++ <Keyword>KDE</Keyword>
++ </Or>
++ </Not>
+ <Keyword>Application</Keyword>
+ <Keyword>Network</Keyword>
+ </And>
+@@ -153,6 +204,12 @@
+ <Desktop>Multimedia.directory</Desktop>
+ <Query>
+ <And>
++ <Not>
++ <Or>
++ <Keyword>Qt</Keyword>
++ <Keyword>KDE</Keyword>
++ </Or>
++ </Not>
+ <Keyword>Application</Keyword>
+ <Keyword>AudioVideo</Keyword>
+ </And>
+@@ -170,6 +227,12 @@
+ <Desktop>Office.directory</Desktop>
+ <Query>
+ <And>
++ <Not>
++ <Or>
++ <Keyword>Qt</Keyword>
++ <Keyword>KDE</Keyword>
++ </Or>
++ </Not>
+ <Keyword>Application</Keyword>
+ <Or>
+ <Keyword>Office</Keyword>
+@@ -195,6 +258,12 @@
+ <Desktop>System.directory</Desktop>
+ <Query>
+ <And>
++ <Not>
++ <Or>
++ <Keyword>Qt</Keyword>
++ <Keyword>KDE</Keyword>
++ </Or>
++ </Not>
+ <Keyword>Application</Keyword>
+ <Not>
+ <Keyword>Settings</Keyword>
+@@ -204,6 +273,117 @@
+ </Query>
+ <DontShowIfEmpty/>
+ </Folder>
+-
++
++ <!-- KDE -->
++ <Folder>
++ <Name>KDE</Name>
++ <Desktop>KDE.directory</Desktop>
++
++ <!-- KAccessories -->
++ <Folder>
++ <Name>Accessories</Name>
++ <Desktop>Accessories.directory</Desktop>
++ <Query>
++ <And>
++ <Or>
++ <Keyword>Qt</Keyword>
++ <Keyword>KDE</Keyword>
++ </Or>
++ <Keyword>Utility</Keyword>
++ </And>
++ </Query>
++ <DontShowIfEmpty/>
++ </Folder>
++
++ <!-- KDevelopment Tools -->
++ <Folder>
++ <Name>Programming</Name>
++ <Desktop>Development.directory</Desktop>
++ <Query>
++ <And>
++ <Or>
++ <Keyword>Qt</Keyword>
++ <Keyword>KDE</Keyword>
++ </Or>
++ <Keyword>Development</Keyword>
++ </And>
++ </Query>
++ <DontShowIfEmpty/>
++ </Folder>
++
++ <!-- KGraphics -->
++ <Folder>
++ <Name>Graphics</Name>
++ <Desktop>Graphics.directory</Desktop>
++ <Query>
++ <And>
++ <Or>
++ <Keyword>Qt</Keyword>
++ <Keyword>KDE</Keyword>
++ </Or>
++ <Keyword>Graphics</Keyword>
++ </And>
++ </Query>
++ <DontShowIfEmpty/>
++ </Folder>
++
++ <!-- KInternet -->
++ <Folder>
++ <Name>Internet</Name>
++ <Desktop>Internet.directory</Desktop>
++ <Query>
++ <And>
++ <Or>
++ <Keyword>Qt</Keyword>
++ <Keyword>KDE</Keyword>
++ </Or>
++ <Keyword>Network</Keyword>
++ </And>
++ </Query>
++
++ <Include>/usr/local/share/applnk/konqueror.desktop</Include>
++
++ <DontShowIfEmpty/>
++ </Folder>
++
++ <!-- KMultimedia -->
++ <Folder>
++ <Name>Multimedia</Name>
++ <Desktop>Multimedia.directory</Desktop>
++ <Query>
++ <And>
++ <Or>
++ <Keyword>Qt</Keyword>
++ <Keyword>KDE</Keyword>
++ </Or>
++ <Keyword>AudioVideo</Keyword>
++ </And>
++ </Query>
++ <DontShowIfEmpty/>
++ </Folder>
++
++ <!-- KOffice -->
++ <Folder>
++ <Name>Office</Name>
++ <Desktop>Office.directory</Desktop>
++ <Query>
++ <And>
++ <Or>
++ <Keyword>Qt</Keyword>
++ <Keyword>KDE</Keyword>
++ </Or>
++ <Or>
++ <Keyword>Office</Keyword>
++ <Keyword>Spreadsheet</Keyword>
++ <Keyword>WordProcessor</Keyword>
++ <Keyword>Calendar</Keyword>
++ <Keyword>ProjectManagement</Keyword>
++ </Or>
++ </And>
++ </Query>
++ <DontShowIfEmpty/>
++ </Folder>
++ </Folder> <!-- KDE -->
++
+ </Folder>
+ </VFolderInfo>
diff --git a/devel/gnomevfs2/files/patch-aa b/devel/gnomevfs2/files/patch-aa
index ba863aab1..8273ab3fe 100644
--- a/devel/gnomevfs2/files/patch-aa
+++ b/devel/gnomevfs2/files/patch-aa
@@ -55,22 +55,10 @@
else
- LDFLAGS="$LDFLAGS -L$with_openssl_libs -lssl -lcrypto -ldl"
-+ LDFLAGS="$LDFLAGS -L$with_openssl_libs -lssl -lcryptofoo"
++ LDFLAGS="$LDFLAGS -L$with_openssl_libs -lssl -lcrypto"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
-@@ -27613,9 +27617,9 @@
-
- msg_openssl="yes"
- if test x$with_openssl_libs != x/usr/lib; then
-- OPENSSL_LIBS="-L$with_openssl_libs -lssl -lcrypto"
-+ OPENSSL_LIBS="-L$with_openssl_libs -lssl -lcryptofoo"
- else
-- OPENSSL_LIBS="-lssl -lcrypto"
-+ OPENSSL_LIBS="-lssl -lcryptofoo"
- fi
-
-
@@ -30543,6 +30547,7 @@
s,@ORBIT_IDL@,$ORBIT_IDL,;t t
s,@BONOBO_IDLDIR@,$BONOBO_IDLDIR,;t t
diff --git a/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-volume-ops.c b/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-volume-ops.c
deleted file mode 100644
index 87e2eca65..000000000
--- a/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-volume-ops.c
+++ /dev/null
@@ -1,26 +0,0 @@
---- libgnomevfs/gnome-vfs-volume-ops.c.orig Wed Dec 24 13:53:43 2003
-+++ libgnomevfs/gnome-vfs-volume-ops.c Wed Dec 24 13:56:15 2003
-@@ -224,12 +224,23 @@
- }
-
- if (info->should_eject) {
-+#ifdef __FreeBSD__
-+ char *argv[5] = {
-+ "cdcontrol",
-+ "-f",
-+ NULL,
-+ "eject",
-+ NULL
-+ };
-+ argv[2] = info->device_path?info->device_path:info->mount_point;
-+#else
- char *argv[3] = {
- "eject",
- NULL,
- NULL
- };
- argv[1] = info->device_path?info->device_path:info->mount_point;
-+#endif
-
- if (g_spawn_sync (NULL,
- argv,
diff --git a/devel/gnomevfs2/pkg-plist b/devel/gnomevfs2/pkg-plist
index 2e189c416..14238fc60 100644
--- a/devel/gnomevfs2/pkg-plist
+++ b/devel/gnomevfs2/pkg-plist
@@ -142,11 +142,59 @@ libdata/bonobo/servers/GNOME_VFS_Moniker_std.server
libdata/pkgconfig/gnome-vfs-2.0.pc
libdata/pkgconfig/gnome-vfs-module-2.0.pc
libexec/gnome-vfs-daemon
-share/doc/gnome-vfs-2.0/core.3396
+share/doc/gnome-vfs-2.0/about.html
+share/doc/gnome-vfs-2.0/advanced-operations.html
+share/doc/gnome-vfs-2.0/ch08.html
+share/doc/gnome-vfs-2.0/data-types.html
+share/doc/gnome-vfs-2.0/gnome-vfs-2.0.devhelp
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-application-registry.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-async-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-cancellation.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-context.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-directory-basic-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-directory-find-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-directory-list-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-file-advanced-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-file-basic-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-file-info-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-file-info.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-file-rw-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-file-size.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-file-trunc-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-inet-connection.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-init.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-method.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-mime-database.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-mime-monitor.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-mime.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-module-callback-module-api.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-module-callback.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-module-shared.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-module.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-monitor.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-parse-ls.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-result.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-socket-buffer.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-socket.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-ssl.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-standard-callbacks.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-transform.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-uri.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-utils.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-xfer.html
+share/doc/gnome-vfs-2.0/gnome-vfs-directory-operations.html
+share/doc/gnome-vfs-2.0/gnome-vfs-file-operations.html
+share/doc/gnome-vfs-2.0/gnome-vfs-first-steps.html
+share/doc/gnome-vfs-2.0/gnome-vfs-writing-modules.html
+share/doc/gnome-vfs-2.0/index.html
+share/doc/gnome-vfs-2.0/index.sgml
+share/doc/gnome-vfs-2.0/mime-registry.html
+share/doc/gnome-vfs-2.0/modules.html
share/doc/gnome-vfs-2.0/home.png
share/doc/gnome-vfs-2.0/left.png
share/doc/gnome-vfs-2.0/right.png
share/doc/gnome-vfs-2.0/up.png
+%%KDEMENUS%%share/gnome/vfolders/KDE.directory
share/locale/am/LC_MESSAGES/gnome-vfs-2.0.mo
share/locale/ar/LC_MESSAGES/gnome-vfs-2.0.mo
share/locale/az/LC_MESSAGES/gnome-vfs-2.0.mo
@@ -171,6 +219,7 @@ share/locale/ga/LC_MESSAGES/gnome-vfs-2.0.mo
share/locale/gl/LC_MESSAGES/gnome-vfs-2.0.mo
share/locale/he/LC_MESSAGES/gnome-vfs-2.0.mo
share/locale/hi/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/hr/LC_MESSAGES/gnome-vfs-2.0.mo
share/locale/hu/LC_MESSAGES/gnome-vfs-2.0.mo
share/locale/id/LC_MESSAGES/gnome-vfs-2.0.mo
share/locale/is/LC_MESSAGES/gnome-vfs-2.0.mo
@@ -209,6 +258,7 @@ share/locale/yi/LC_MESSAGES/gnome-vfs-2.0.mo
share/locale/zh_CN/LC_MESSAGES/gnome-vfs-2.0.mo
share/locale/zh_TW/LC_MESSAGES/gnome-vfs-2.0.mo
@dirrm share/doc/gnome-vfs-2.0
+@dirrm share/gnome/vfolders
@dirrm lib/vfs/2.0/extfs
@dirrm lib/vfs/2.0
@dirrm include/gnome-vfs-module-2.0/libgnomevfs