diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-03-15 21:02:33 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-03-15 21:02:33 +0800 |
commit | 87eb8dfd2c87d8296d460a8fa9c654a73dd3f01b (patch) | |
tree | adade88a973b2ab5ceab165c53b5862edb1faefb | |
parent | 20ccd152ad4481d0ae6a56a78d8c304b9385f62e (diff) | |
download | marcuscom-ports-87eb8dfd2c87d8296d460a8fa9c654a73dd3f01b.tar.gz marcuscom-ports-87eb8dfd2c87d8296d460a8fa9c654a73dd3f01b.tar.zst marcuscom-ports-87eb8dfd2c87d8296d460a8fa9c654a73dd3f01b.zip |
Add libbonobo to depends.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13845 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | devel/bug-buddy/Makefile | 44 | ||||
-rw-r--r-- | devel/bug-buddy/distinfo | 3 | ||||
-rw-r--r-- | devel/bug-buddy/files/patch-gnome-breakpad_gnome-breakpad.cc | 55 | ||||
-rw-r--r-- | devel/bug-buddy/pkg-descr | 7 | ||||
-rw-r--r-- | devel/bug-buddy/pkg-plist | 144 |
5 files changed, 253 insertions, 0 deletions
diff --git a/devel/bug-buddy/Makefile b/devel/bug-buddy/Makefile new file mode 100644 index 000000000..a7eb8ca9f --- /dev/null +++ b/devel/bug-buddy/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: bugbuddy2 +# Date created: 14 May 2002 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# $MCom$ +# + +PORTNAME= bug-buddy +PORTVERSION= 2.28.0 +PORTREVISION= 1 +CATEGORIES= devel gnome +MASTER_SITES= GNOME +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= A bug reporting tool for GNOME 2 + +LIB_DEPENDS= gtop-2.0.7:${PORTSDIR}/devel/libgtop \ + soup-2.4.1:${PORTSDIR}/devel/libsoup + +USE_BZIP2= yes +USE_GETTEXT= yes +INSTALLS_ICONS= yes +USE_GMAKE= yes +GNU_CONFIGURE= yes +USE_GNOME= gnomeprefix gnomehack intlhack libbonobo \ + gnomedocutils evolutiondataserver +GNOME_DESKTOP_VERSION=2 +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +GCONF_SCHEMAS= bug-buddy.schemas + +MAN1= bug-buddy.1 + +post-patch: + @${REINPLACE_CMD} -e 's|applications.menu|gnome-applications.menu|' \ + ${WRKSRC}/src/bugzilla.c + @${REINPLACE_CMD} -e 's|libelf.h||g ; \ + s|gelf.h||g' \ + ${WRKSRC}/configure + +.include <bsd.port.mk> diff --git a/devel/bug-buddy/distinfo b/devel/bug-buddy/distinfo new file mode 100644 index 000000000..c321c0c3b --- /dev/null +++ b/devel/bug-buddy/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/bug-buddy-2.28.0.tar.bz2) = ee9c586fee2e6b8ce3b787e696f37100 +SHA256 (gnome2/bug-buddy-2.28.0.tar.bz2) = 6ec0c21a09d9eb2a5f05a60261c6c70a0cd35e8887598418402fd17f83c1b294 +SIZE (gnome2/bug-buddy-2.28.0.tar.bz2) = 1186863 diff --git a/devel/bug-buddy/files/patch-gnome-breakpad_gnome-breakpad.cc b/devel/bug-buddy/files/patch-gnome-breakpad_gnome-breakpad.cc new file mode 100644 index 000000000..7007a9101 --- /dev/null +++ b/devel/bug-buddy/files/patch-gnome-breakpad_gnome-breakpad.cc @@ -0,0 +1,55 @@ +--- gnome-breakpad/gnome-breakpad.cc.orig 2009-02-16 15:24:48.000000000 +0100 ++++ gnome-breakpad/gnome-breakpad.cc 2009-02-22 16:25:50.000000000 +0100 +@@ -25,8 +25,14 @@ + #include <cassert> + #include <cstring> + ++#ifdef __FreeBSD__ ++#include <sys/param.h> ++#endif ++ ++#if !defined(__FreeBSD__) || __FreeBSD_version > 700024 + #include <libelf.h> + #include <gelf.h> ++#endif + + #include <sys/types.h> + #include <sys/stat.h> +@@ -264,6 +270,7 @@ find_in_debug_path (const char *filename + } + + ++#if !defined(__FreeBSD__) || __FreeBSD_version > 700024 + static gboolean + elf_has_debug_symbols (const char *filename) + { +@@ -316,7 +323,7 @@ elf_has_debug_symbols (const char *filen + elf_end (elf); + return false; + } +- ++#endif + + + +@@ -429,11 +436,18 @@ check_if_gdb () + _exit (1); + _exit(0); + } +- ++ ++#if !defined(__FreeBSD__) + mypath = g_file_read_link ("/proc/self/exe", NULL); ++#else ++ mypath = g_file_read_link ("/proc/curproc/file", NULL); ++#endif + if (mypath) ++#if !defined(__FreeBSD__) || __FreeBSD_version > 700024 + has_debug_symbols = elf_has_debug_symbols (mypath); +- ++#else ++ has_debug_symbols = TRUE; ++#endif + g_free (mypath); + + if (bugbuddy && gdb && has_debug_symbols) { diff --git a/devel/bug-buddy/pkg-descr b/devel/bug-buddy/pkg-descr new file mode 100644 index 000000000..7268130ab --- /dev/null +++ b/devel/bug-buddy/pkg-descr @@ -0,0 +1,7 @@ +This is a bug reporting tool. It pops up automatically when a GNOME +app crashes under the GNOME desktop (via gnome_segv), and allows +the crash information to be sent to the app's developers. + +Jacob Berkman <jberkman@andrew.cmu.edu> + +WWW: http://www.gnome.org/ diff --git a/devel/bug-buddy/pkg-plist b/devel/bug-buddy/pkg-plist new file mode 100644 index 000000000..848f49b65 --- /dev/null +++ b/devel/bug-buddy/pkg-plist @@ -0,0 +1,144 @@ +bin/bug-buddy +lib/gtk-2.0/modules/libgnomebreakpad.la +lib/gtk-2.0/modules/libgnomebreakpad.so +share/applications/bug-buddy.desktop +%%DATADIR%%/bug-buddy.gtkbuilder +%%DATADIR%%/gdb-cmd +share/icons/HighContrastLargePrint/48x48/apps/bug-buddy.png +share/icons/hicolor/16x16/apps/bug-buddy.png +share/icons/hicolor/22x22/apps/bug-buddy.png +share/icons/hicolor/24x24/apps/bug-buddy.png +share/icons/hicolor/32x32/apps/bug-buddy.png +share/icons/hicolor/48x48/apps/bug-buddy.png +share/icons/hicolor/scalable/apps/bug-buddy.svg +share/locale/af/LC_MESSAGES/bug-buddy.mo +share/locale/am/LC_MESSAGES/bug-buddy.mo +share/locale/ar/LC_MESSAGES/bug-buddy.mo +share/locale/as/LC_MESSAGES/bug-buddy.mo +share/locale/az/LC_MESSAGES/bug-buddy.mo +share/locale/be/LC_MESSAGES/bug-buddy.mo +share/locale/be@latin/LC_MESSAGES/bug-buddy.mo +share/locale/bg/LC_MESSAGES/bug-buddy.mo +share/locale/bn/LC_MESSAGES/bug-buddy.mo +share/locale/bn_IN/LC_MESSAGES/bug-buddy.mo +share/locale/bs/LC_MESSAGES/bug-buddy.mo +share/locale/ca/LC_MESSAGES/bug-buddy.mo +share/locale/ca@valencia/LC_MESSAGES/bug-buddy.mo +share/locale/cs/LC_MESSAGES/bug-buddy.mo +share/locale/cy/LC_MESSAGES/bug-buddy.mo +share/locale/da/LC_MESSAGES/bug-buddy.mo +share/locale/de/LC_MESSAGES/bug-buddy.mo +share/locale/dz/LC_MESSAGES/bug-buddy.mo +share/locale/el/LC_MESSAGES/bug-buddy.mo +share/locale/en_CA/LC_MESSAGES/bug-buddy.mo +share/locale/en_GB/LC_MESSAGES/bug-buddy.mo +share/locale/es/LC_MESSAGES/bug-buddy.mo +share/locale/et/LC_MESSAGES/bug-buddy.mo +share/locale/eu/LC_MESSAGES/bug-buddy.mo +share/locale/fa/LC_MESSAGES/bug-buddy.mo +share/locale/fi/LC_MESSAGES/bug-buddy.mo +share/locale/fr/LC_MESSAGES/bug-buddy.mo +share/locale/ga/LC_MESSAGES/bug-buddy.mo +share/locale/gl/LC_MESSAGES/bug-buddy.mo +share/locale/gu/LC_MESSAGES/bug-buddy.mo +share/locale/he/LC_MESSAGES/bug-buddy.mo +share/locale/hi/LC_MESSAGES/bug-buddy.mo +share/locale/hr/LC_MESSAGES/bug-buddy.mo +share/locale/hu/LC_MESSAGES/bug-buddy.mo +share/locale/id/LC_MESSAGES/bug-buddy.mo +share/locale/is/LC_MESSAGES/bug-buddy.mo +share/locale/it/LC_MESSAGES/bug-buddy.mo +share/locale/ja/LC_MESSAGES/bug-buddy.mo +share/locale/ka/LC_MESSAGES/bug-buddy.mo +share/locale/kn/LC_MESSAGES/bug-buddy.mo +share/locale/ko/LC_MESSAGES/bug-buddy.mo +share/locale/ku/LC_MESSAGES/bug-buddy.mo +share/locale/ky/LC_MESSAGES/bug-buddy.mo +share/locale/lt/LC_MESSAGES/bug-buddy.mo +share/locale/lv/LC_MESSAGES/bug-buddy.mo +share/locale/mai/LC_MESSAGES/bug-buddy.mo +share/locale/mg/LC_MESSAGES/bug-buddy.mo +share/locale/mk/LC_MESSAGES/bug-buddy.mo +share/locale/ml/LC_MESSAGES/bug-buddy.mo +share/locale/mn/LC_MESSAGES/bug-buddy.mo +share/locale/mr/LC_MESSAGES/bug-buddy.mo +share/locale/ms/LC_MESSAGES/bug-buddy.mo +share/locale/nb/LC_MESSAGES/bug-buddy.mo +share/locale/ne/LC_MESSAGES/bug-buddy.mo +share/locale/nl/LC_MESSAGES/bug-buddy.mo +share/locale/nn/LC_MESSAGES/bug-buddy.mo +share/locale/oc/LC_MESSAGES/bug-buddy.mo +share/locale/or/LC_MESSAGES/bug-buddy.mo +share/locale/pa/LC_MESSAGES/bug-buddy.mo +share/locale/pl/LC_MESSAGES/bug-buddy.mo +share/locale/ps/LC_MESSAGES/bug-buddy.mo +share/locale/pt/LC_MESSAGES/bug-buddy.mo +share/locale/pt_BR/LC_MESSAGES/bug-buddy.mo +share/locale/ro/LC_MESSAGES/bug-buddy.mo +share/locale/ru/LC_MESSAGES/bug-buddy.mo +share/locale/rw/LC_MESSAGES/bug-buddy.mo +share/locale/si/LC_MESSAGES/bug-buddy.mo +share/locale/sk/LC_MESSAGES/bug-buddy.mo +share/locale/sl/LC_MESSAGES/bug-buddy.mo +share/locale/sq/LC_MESSAGES/bug-buddy.mo +share/locale/sr/LC_MESSAGES/bug-buddy.mo +share/locale/sr@latin/LC_MESSAGES/bug-buddy.mo +share/locale/sv/LC_MESSAGES/bug-buddy.mo +share/locale/ta/LC_MESSAGES/bug-buddy.mo +share/locale/te/LC_MESSAGES/bug-buddy.mo +share/locale/th/LC_MESSAGES/bug-buddy.mo +share/locale/tr/LC_MESSAGES/bug-buddy.mo +share/locale/ug/LC_MESSAGES/bug-buddy.mo +share/locale/uk/LC_MESSAGES/bug-buddy.mo +share/locale/uz@cyrillic/LC_MESSAGES/bug-buddy.mo +share/locale/vi/LC_MESSAGES/bug-buddy.mo +share/locale/wa/LC_MESSAGES/bug-buddy.mo +share/locale/xh/LC_MESSAGES/bug-buddy.mo +share/locale/zh_CN/LC_MESSAGES/bug-buddy.mo +share/locale/zh_HK/LC_MESSAGES/bug-buddy.mo +share/locale/zh_TW/LC_MESSAGES/bug-buddy.mo +@dirrmtry share/icons/HighContrastLargePrint/48x48/apps +@dirrmtry share/icons/HighContrastLargePrint/48x48 +@dirrmtry share/icons/HighContrastLargePrint +@dirrm %%DATADIR%% +@dirrmtry share/applications +@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/uz@cyrillic/LC_MESSAGES +@dirrmtry share/locale/uz@cyrillic +@dirrmtry share/locale/ug/LC_MESSAGES +@dirrmtry share/locale/ug +@dirrmtry share/locale/te/LC_MESSAGES +@dirrmtry share/locale/te +@dirrmtry share/locale/sr@latin/LC_MESSAGES +@dirrmtry share/locale/sr@latin +@dirrmtry share/locale/si/LC_MESSAGES +@dirrmtry share/locale/si +@dirrmtry share/locale/rw/LC_MESSAGES +@dirrmtry share/locale/rw +@dirrmtry share/locale/ps/LC_MESSAGES +@dirrmtry share/locale/ps +@dirrmtry share/locale/oc/LC_MESSAGES +@dirrmtry share/locale/oc +@dirrmtry share/locale/mr/LC_MESSAGES +@dirrmtry share/locale/mr +@dirrmtry share/locale/mg/LC_MESSAGES +@dirrmtry share/locale/mg +@dirrmtry share/locale/mai/LC_MESSAGES +@dirrmtry share/locale/mai +@dirrmtry share/locale/ky/LC_MESSAGES +@dirrmtry share/locale/ky +@dirrmtry share/locale/ku/LC_MESSAGES +@dirrmtry share/locale/ku +@dirrmtry share/locale/dz/LC_MESSAGES +@dirrmtry share/locale/dz +@dirrmtry share/locale/ca@valencia/LC_MESSAGES +@dirrmtry share/locale/ca@valencia +@dirrmtry share/locale/bn_IN/LC_MESSAGES +@dirrmtry share/locale/bn_IN +@dirrmtry share/locale/be@latin/LC_MESSAGES +@dirrmtry share/locale/be@latin +@dirrmtry share/locale/as/LC_MESSAGES +@dirrmtry share/locale/as |