summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authormartti <martti@pkgsrc.org>2007-04-12 09:50:50 +0000
committermartti <martti@pkgsrc.org>2007-04-12 09:50:50 +0000
commit938c6edb9dbdc1818e0bcbcd98f4c50cf6aa137b (patch)
treea5f045ceaea7ebbe84f4e00dd9a95764a25fab59 /x11
parentc54ae8879baeb27d750cd86fa7cad0f0faea006f (diff)
downloadpkgsrc-938c6edb9dbdc1818e0bcbcd98f4c50cf6aa137b.tar.gz
The Xfce extension library is targeted at application development.
Diffstat (limited to 'x11')
-rw-r--r--x11/xfce4-exo/DESCR1
-rw-r--r--x11/xfce4-exo/Makefile24
-rw-r--r--x11/xfce4-exo/PLIST137
-rw-r--r--x11/xfce4-exo/buildlink3.mk24
-rw-r--r--x11/xfce4-exo/distinfo9
-rw-r--r--x11/xfce4-exo/patches/patch-aa22
-rw-r--r--x11/xfce4-exo/patches/patch-ab17
-rw-r--r--x11/xfce4-exo/patches/patch-ac14
-rw-r--r--x11/xfce4-exo/patches/patch-ad48
9 files changed, 296 insertions, 0 deletions
diff --git a/x11/xfce4-exo/DESCR b/x11/xfce4-exo/DESCR
new file mode 100644
index 00000000000..fc555acb662
--- /dev/null
+++ b/x11/xfce4-exo/DESCR
@@ -0,0 +1 @@
+The Xfce extension library is targeted at application development.
diff --git a/x11/xfce4-exo/Makefile b/x11/xfce4-exo/Makefile
new file mode 100644
index 00000000000..f2898db946a
--- /dev/null
+++ b/x11/xfce4-exo/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/04/12 09:50:50 martti Exp $
+
+.include "../../meta-pkgs/xfce4/Makefile.common"
+
+XFCE4_VERSION= 0.3.2
+
+DISTNAME= exo-${XFCE4_VERSION}
+PKGNAME= xfce4-exo-${XFCE4_VERSION}
+CATEGORIES= x11
+COMMENT= Xfce extension library
+
+DEPENDS+= p5-URI>=0:../../www/p5-URI
+
+.if !empty(OPSYS:MNetBSD)
+. if exists(/usr/include/mmintrin.h)
+CFLAGS+= -msse
+. endif
+.endif
+
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../x11/xfce4-mcs-plugins/buildlink3.mk"
+.include "../../lang/python/application.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/xfce4-exo/PLIST b/x11/xfce4-exo/PLIST
new file mode 100644
index 00000000000..29715c76620
--- /dev/null
+++ b/x11/xfce4-exo/PLIST
@@ -0,0 +1,137 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/04/12 09:50:50 martti Exp $
+bin/exo-csource
+bin/exo-desktop-item-edit
+bin/exo-eject
+bin/exo-mount
+bin/exo-open
+bin/exo-preferred-applications
+bin/exo-unmount
+etc/xdg/xfce4/helpers.rc
+include/exo-0.3/exo-hal/exo-hal.h
+include/exo-0.3/exo/exo-binding.h
+include/exo-0.3/exo/exo-cell-renderer-ellipsized-text.h
+include/exo-0.3/exo/exo-cell-renderer-icon.h
+include/exo-0.3/exo/exo-config.h
+include/exo-0.3/exo/exo-ellipsized-label.h
+include/exo-0.3/exo/exo-enum-types.h
+include/exo-0.3/exo/exo-execute.h
+include/exo-0.3/exo/exo-gdk-pixbuf-extensions.h
+include/exo-0.3/exo/exo-gobject-extensions.h
+include/exo-0.3/exo/exo-gtk-extensions.h
+include/exo-0.3/exo/exo-icon-bar.h
+include/exo-0.3/exo/exo-icon-chooser-dialog.h
+include/exo-0.3/exo/exo-icon-view.h
+include/exo-0.3/exo/exo-md5.h
+include/exo-0.3/exo/exo-mount-point.h
+include/exo-0.3/exo/exo-pango-extensions.h
+include/exo-0.3/exo/exo-string.h
+include/exo-0.3/exo/exo-toolbars-editor-dialog.h
+include/exo-0.3/exo/exo-toolbars-editor.h
+include/exo-0.3/exo/exo-toolbars-model.h
+include/exo-0.3/exo/exo-toolbars-view.h
+include/exo-0.3/exo/exo-tree-view.h
+include/exo-0.3/exo/exo-url.h
+include/exo-0.3/exo/exo-utils.h
+include/exo-0.3/exo/exo-wrap-table.h
+include/exo-0.3/exo/exo-xsession-client.h
+include/exo-0.3/exo/exo.h
+lib/libexo-0.3.la
+lib/libexo-hal-0.3.la
+lib/pkgconfig/exo-0.3.pc
+lib/pkgconfig/exo-hal-0.3.pc
+lib/xfce4/mcs-plugins/exo-preferred-applications-settings.la
+libexec/exo-compose-mail-0.3
+libexec/exo-helper-0.3
+man/man1/exo-csource.1
+man/man1/exo-open.1
+share/applications/exo-preferred-applications.desktop
+share/icons/hicolor/24x24/apps/preferences-desktop-default-applications.png
+share/icons/hicolor/48x48/apps/applications-internet.png
+share/icons/hicolor/48x48/apps/applications-other.png
+share/icons/hicolor/48x48/apps/preferences-desktop-default-applications.png
+share/locale/be/LC_MESSAGES/libexo-0.3.mo
+share/locale/ca/LC_MESSAGES/libexo-0.3.mo
+share/locale/cs/LC_MESSAGES/libexo-0.3.mo
+share/locale/cy/LC_MESSAGES/libexo-0.3.mo
+share/locale/de/LC_MESSAGES/libexo-0.3.mo
+share/locale/dz/LC_MESSAGES/libexo-0.3.mo
+share/locale/el/LC_MESSAGES/libexo-0.3.mo
+share/locale/en_GB/LC_MESSAGES/libexo-0.3.mo
+share/locale/es/LC_MESSAGES/libexo-0.3.mo
+share/locale/et/LC_MESSAGES/libexo-0.3.mo
+share/locale/eu/LC_MESSAGES/libexo-0.3.mo
+share/locale/fi/LC_MESSAGES/libexo-0.3.mo
+share/locale/fr/LC_MESSAGES/libexo-0.3.mo
+share/locale/gl/LC_MESSAGES/libexo-0.3.mo
+share/locale/he/LC_MESSAGES/libexo-0.3.mo
+share/locale/hu/LC_MESSAGES/libexo-0.3.mo
+share/locale/it/LC_MESSAGES/libexo-0.3.mo
+share/locale/ja/LC_MESSAGES/libexo-0.3.mo
+share/locale/ka/LC_MESSAGES/libexo-0.3.mo
+share/locale/lt/LC_MESSAGES/libexo-0.3.mo
+share/locale/mk/LC_MESSAGES/libexo-0.3.mo
+share/locale/nl/LC_MESSAGES/libexo-0.3.mo
+share/locale/pa/LC_MESSAGES/libexo-0.3.mo
+share/locale/pl/LC_MESSAGES/libexo-0.3.mo
+share/locale/pt_BR/LC_MESSAGES/libexo-0.3.mo
+share/locale/ro/LC_MESSAGES/libexo-0.3.mo
+share/locale/ru/LC_MESSAGES/libexo-0.3.mo
+share/locale/sv/LC_MESSAGES/libexo-0.3.mo
+share/pixmaps/exo-0.3/exo-thumbnail-frame.png
+share/xfce4/doc/C/exo-preferred-applications.html
+share/xfce4/doc/C/images/exo-preferred-applications-internet.png
+share/xfce4/doc/C/images/exo-preferred-applications-utilities.png
+share/xfce4/doc/C/images/exo-preferred-applications-webbrowser-custom.png
+share/xfce4/doc/C/images/exo-preferred-applications-webbrowser-menu.png
+share/xfce4/doc/fr/exo-preferred-applications.html
+share/xfce4/doc/fr/images/exo-preferred-applications-internet.png
+share/xfce4/doc/fr/images/exo-preferred-applications-utilities.png
+share/xfce4/doc/fr/images/exo-preferred-applications-webbrowser-custom.png
+share/xfce4/doc/fr/images/exo-preferred-applications-webbrowser-menu.png
+share/xfce4/doc/ja/exo-preferred-applications.html
+share/xfce4/doc/ja/images/exo-preferred-applications-internet.png
+share/xfce4/doc/ja/images/exo-preferred-applications-utilities.png
+share/xfce4/doc/ja/images/exo-preferred-applications-webbrowser-custom.png
+share/xfce4/doc/ja/images/exo-preferred-applications-webbrowser-menu.png
+share/xfce4/helpers/Terminal.desktop
+share/xfce4/helpers/aterm.desktop
+share/xfce4/helpers/balsa.desktop
+share/xfce4/helpers/debian-sensible-browser.desktop
+share/xfce4/helpers/debian-x-terminal-emulator.desktop
+share/xfce4/helpers/encompass.desktop
+share/xfce4/helpers/epiphany.desktop
+share/xfce4/helpers/eterm.desktop
+share/xfce4/helpers/evolution.desktop
+share/xfce4/helpers/firefox.desktop
+share/xfce4/helpers/galeon.desktop
+share/xfce4/helpers/gnome-terminal.desktop
+share/xfce4/helpers/kmail.desktop
+share/xfce4/helpers/konqueror.desktop
+share/xfce4/helpers/links.desktop
+share/xfce4/helpers/lynx.desktop
+share/xfce4/helpers/mozilla-browser.desktop
+share/xfce4/helpers/mozilla-mailer.desktop
+share/xfce4/helpers/mutt.desktop
+share/xfce4/helpers/netscape-navigator.desktop
+share/xfce4/helpers/nxterm.desktop
+share/xfce4/helpers/opera-browser.desktop
+share/xfce4/helpers/opera-mailer.desktop
+share/xfce4/helpers/sylpheed-claws.desktop
+share/xfce4/helpers/sylpheed.desktop
+share/xfce4/helpers/thunderbird.desktop
+share/xfce4/helpers/urxvt.desktop
+share/xfce4/helpers/w3m.desktop
+share/xfce4/helpers/xterm.desktop
+@dirrm share/xfce4/helpers
+@dirrm include/exo-0.3/exo-hal
+@dirrm include/exo-0.3/exo
+@dirrm include/exo-0.3
+@unexec ${RMDIR} %D/share/xfce4/doc/ja/images 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/share/xfce4/doc/ja 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/share/xfce4/doc/fr/images 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/share/xfce4/doc/fr 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/share/xfce4/doc/C/images 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/share/xfce4/doc/C 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/share/xfce4/doc 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/etc/xdg/xfce4 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/etc/xdg 2>/dev/null || ${TRUE}
diff --git a/x11/xfce4-exo/buildlink3.mk b/x11/xfce4-exo/buildlink3.mk
new file mode 100644
index 00000000000..71ed1dc12ab
--- /dev/null
+++ b/x11/xfce4-exo/buildlink3.mk
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2007/04/12 09:50:50 martti Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+XFCE4_EXO_BUILDLINK3_MK:= ${XFCE4_EXO_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= xfce4-exo
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-exo}
+BUILDLINK_PACKAGES+= xfce4-exo
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-exo
+
+.if ${XFCE4_EXO_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.xfce4-exo+= xfce4-exo>=0.3.2
+BUILDLINK_PKGSRCDIR.xfce4-exo?= ../../x11/xfce4-exo
+.endif # XFCE4_EXO_BUILDLINK3_MK
+
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../x11/xfce4-mcs-plugins/buildlink3.mk"
+.include "../../devel/xfce4-dev-tools/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/x11/xfce4-exo/distinfo b/x11/xfce4-exo/distinfo
new file mode 100644
index 00000000000..782fee8f9d6
--- /dev/null
+++ b/x11/xfce4-exo/distinfo
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/04/12 09:50:50 martti Exp $
+
+SHA1 (exo-0.3.2.tar.bz2) = 3a9f65c093d0a81e0a76bd2e8cbcde9805194f3c
+RMD160 (exo-0.3.2.tar.bz2) = 5281645f63f2195420ba8ba501eeb7bc39170df8
+Size (exo-0.3.2.tar.bz2) = 1121928 bytes
+SHA1 (patch-aa) = dda3afe5dc27c1d4bdbb016a8c5c93e2ef5cee11
+SHA1 (patch-ab) = 7a7b8483f89dc3e09b24dda66b48a509ca3a2570
+SHA1 (patch-ac) = 4aa1d87b367dc89f9b09776a6547a48337998f10
+SHA1 (patch-ad) = 13c0a1a22ef52bb563345ad1c2aea66eb5c33e23
diff --git a/x11/xfce4-exo/patches/patch-aa b/x11/xfce4-exo/patches/patch-aa
new file mode 100644
index 00000000000..7ce8f9aa867
--- /dev/null
+++ b/x11/xfce4-exo/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/04/12 09:50:50 martti Exp $
+
+--- configure.in 2007-01-20 14:05:43.000000000 +0000
++++ configure.in 2007-01-22 15:43:57.000000000 +0000
+@@ -108,14 +108,14 @@
+ locale.h math.h md5.h md5global.h mmintrin.h mntent.h \
+ paths.h regex.h signal.h stdarg.h string.h sys/mman.h \
+ sys/mnttab.h sys/mount.h sys/param.h sys/resource.h \
+- sys/stat.h sys/time.h sys/types.h sys/ucred.h \
+- sys/wait.h time.h])
++ sys/statvfs.h sys/stat.h sys/time.h sys/types.h \
++ sys/ucred.h sys/wait.h time.h])
+
+ dnl ************************************
+ dnl *** Check for standard functions ***
+ dnl ************************************
+ AC_FUNC_MMAP()
+-AC_CHECK_FUNCS([getfsstat getmntent regexec setfsent setmntent])
++AC_CHECK_FUNCS([getvfsstat getfsstat getmntent regexec setfsent setmntent])
+
+ dnl ******************************************
+ dnl *** Check for Message Digest functions ***
diff --git a/x11/xfce4-exo/patches/patch-ab b/x11/xfce4-exo/patches/patch-ab
new file mode 100644
index 00000000000..c78fd14393a
--- /dev/null
+++ b/x11/xfce4-exo/patches/patch-ab
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.1.1.1 2007/04/12 09:50:50 martti Exp $
+
+--- configure.orig 2007-01-22 16:16:38.000000000 +0000
++++ configure 2007-01-22 16:17:24.000000000 +0000
+@@ -21769,4 +21770,4 @@
+ sys/mnttab.h sys/mount.h sys/param.h sys/resource.h \
+- sys/stat.h sys/time.h sys/types.h sys/ucred.h \
+- sys/wait.h time.h
++ sys/statvfs.h sys/stat.h sys/time.h sys/types.h \
++ sys/ucred.h sys/wait.h time.h
+ do
+@@ -22346,3 +22347,4 @@
+
+-for ac_func in getfsstat getmntent regexec setfsent setmntent
++
++for ac_func in getvfsstat getfsstat getmntent regexec setfsent setmntent
+ do
diff --git a/x11/xfce4-exo/patches/patch-ac b/x11/xfce4-exo/patches/patch-ac
new file mode 100644
index 00000000000..7a89ac1284f
--- /dev/null
+++ b/x11/xfce4-exo/patches/patch-ac
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.1.1.1 2007/04/12 09:50:50 martti Exp $
+
+--- config.h.in.orig 2007-01-22 16:22:10.000000000 +0000
++++ config.h.in 2007-01-22 16:22:28.000000000 +0000
+@@ -30,6 +30,9 @@
+ /* Define to 1 if you have the <fstab.h> header file. */
+ #undef HAVE_FSTAB_H
+
++/* Define to 1 if you have the `getvfsstat' function. */
++#undef HAVE_GETVFSSTAT
++
+ /* Define to 1 if you have the `getfsstat' function. */
+ #undef HAVE_GETFSSTAT
+
diff --git a/x11/xfce4-exo/patches/patch-ad b/x11/xfce4-exo/patches/patch-ad
new file mode 100644
index 00000000000..b7bac14402d
--- /dev/null
+++ b/x11/xfce4-exo/patches/patch-ad
@@ -0,0 +1,48 @@
+$NetBSD: patch-ad,v 1.1.1.1 2007/04/12 09:50:50 martti Exp $
+
+--- exo/exo-mount-point.c.orig 2007-01-22 15:32:55.000000000 +0000
++++ exo/exo-mount-point.c 2007-01-22 16:10:55.000000000 +0000
+@@ -25,6 +25,9 @@
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+ #endif
++#ifdef HAVE_SYS_STATVFS_H
++#include <sys/statvfs.h>
++#endif
+ #ifdef HAVE_SYS_STAT_H
+ #include <sys/stat.h>
+ #endif
+@@ -250,6 +257,33 @@
+
+ /* close the file handle */
+ fclose (fp);
++#elif defined(HAVE_GETVFSSTAT)
++ struct statvfs *mntbuf = NULL;
++ glong bufsize = 0;
++ gint mntsize;
++ gint n;
++
++ /* determine the number of active mount points */
++ mntsize = getvfsstat(NULL, 0, MNT_NOWAIT);
++ if (G_LIKELY(mntsize > 0)) {
++ /* allocate a new buffer */
++ bufsize = (mntsize + 4) * sizeof(*mntbuf);
++ mntbuf = (struct statvfs *)malloc(bufsize);
++
++ /* determine the mount point for the device file */
++ mntsize = getvfsstat(mntbuf, bufsize, ST_NOWAIT);
++ for (n = 0; n < mntsize; ++n) {
++ /* check if we have a match here */
++ exo_mount_point_add_if_matches(mask, device, folder, fstype,
++ mntbuf[n].f_mntfromname,
++ mntbuf[n].f_mntonname,
++ mntbuf[n].f_fstypename,
++ ((mntbuf[n].f_flag & MNT_RDONLY) != 0),
++ &mount_points);
++ }
++ /* release the buffer */
++ free(mntbuf);
++ }
+ #elif defined(HAVE_GETFSSTAT) /* BSD */
+ struct statfs *mntbuf = NULL;
+ glong bufsize = 0;