summaryrefslogtreecommitdiffstats
path: root/devel/bug-buddy
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-01-29 09:36:37 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-01-29 09:36:37 +0800
commitba809a4ce1ee5d8c53fcec6f157ac92e9f6554d7 (patch)
tree5ec37f374abc65e4b31ab06cb761f012c8e5523a /devel/bug-buddy
parent6d186796c193e15b24b69b5a72f44c0e2a1402b5 (diff)
downloadmarcuscom-ports-ba809a4ce1ee5d8c53fcec6f157ac92e9f6554d7.tar
marcuscom-ports-ba809a4ce1ee5d8c53fcec6f157ac92e9f6554d7.tar.gz
marcuscom-ports-ba809a4ce1ee5d8c53fcec6f157ac92e9f6554d7.tar.bz2
marcuscom-ports-ba809a4ce1ee5d8c53fcec6f157ac92e9f6554d7.tar.lz
marcuscom-ports-ba809a4ce1ee5d8c53fcec6f157ac92e9f6554d7.tar.xz
marcuscom-ports-ba809a4ce1ee5d8c53fcec6f157ac92e9f6554d7.tar.zst
marcuscom-ports-ba809a4ce1ee5d8c53fcec6f157ac92e9f6554d7.zip
Move libsoup dependency to libsoup22.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10257 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/bug-buddy')
-rw-r--r--devel/bug-buddy/Makefile44
-rw-r--r--devel/bug-buddy/distinfo3
-rw-r--r--devel/bug-buddy/files/patch-gnome-breakpad_gnome-breakpad.cc52
-rw-r--r--devel/bug-buddy/pkg-descr7
-rw-r--r--devel/bug-buddy/pkg-plist135
5 files changed, 241 insertions, 0 deletions
diff --git a/devel/bug-buddy/Makefile b/devel/bug-buddy/Makefile
new file mode 100644
index 000000000..c11d8ec51
--- /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: ports/devel/bug-buddy/Makefile,v 1.55 2007/10/06 22:03:31 mezz Exp $
+#
+
+PORTNAME= bug-buddy
+PORTVERSION= 2.20.1
+PORTREVISION= 1
+CATEGORIES= devel 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= A bug reporting tool for GNOME 2
+
+LIB_DEPENDS= gtop-2.0.7:${PORTSDIR}/devel/libgtop \
+ soup-2.2.8:${PORTSDIR}/devel/libsoup22
+
+USE_BZIP2= yes
+USE_GETTEXT= yes
+USE_XLIB= yes
+INSTALLS_ICONS= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+USE_GNOME= gnomeprefix gnomehack intlhack gnomedesktop gnomemenus \
+ gnomedocutils evolutiondataserver
+GNOME_DESKTOP_VERSION=2
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+GCONF_SCHEMAS= bug-buddy.schemas
+
+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..b443c5b57
--- /dev/null
+++ b/devel/bug-buddy/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome2/bug-buddy-2.20.1.tar.bz2) = 6b9ea4c067674120bd93711b3b9a9e63
+SHA256 (gnome2/bug-buddy-2.20.1.tar.bz2) = cb0cb3f2400f201e2bf7afc6de81df6ab4b68c5a770ec0a132c300efe72d5f4e
+SIZE (gnome2/bug-buddy-2.20.1.tar.bz2) = 1070862
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..801be1064
--- /dev/null
+++ b/devel/bug-buddy/files/patch-gnome-breakpad_gnome-breakpad.cc
@@ -0,0 +1,52 @@
+--- gnome-breakpad/gnome-breakpad.cc.orig 2007-08-16 13:55:38.000000000 -0400
++++ gnome-breakpad/gnome-breakpad.cc 2007-09-02 19:21:10.000000000 -0400
+@@ -6,8 +6,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>
+@@ -114,6 +120,7 @@ find_in_debug_path (const char *filename
+ }
+
+
++#if !defined(__FreeBSD__) || __FreeBSD_version > 700024
+ static gboolean
+ elf_has_debug_symbols (const char *filename)
+ {
+@@ -166,7 +173,7 @@ elf_has_debug_symbols (const char *filen
+ elf_end (elf);
+ return false;
+ }
+-
++#endif
+
+
+
+@@ -269,9 +276,17 @@ check_if_gdb (void *callback_context)
+ _exit(0);
+ }
+
++#if !defined(__FreeBSD__) || __FreeBSD_version > 700024
+ memset(mypath, 0, sizeof(mypath));
++#ifndef __FreeBSD__
+ readlink ("/proc/self/exe", mypath, sizeof(mypath));
++#else
++ readlink ("/proc/curproc/file", mypath, sizeof(mypath));
++#endif
+ has_debug_symbols = elf_has_debug_symbols (mypath);
++#else
++ has_debug_symbols = TRUE;
++#endif
+
+
+ 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..27f3b5fad
--- /dev/null
+++ b/devel/bug-buddy/pkg-plist
@@ -0,0 +1,135 @@
+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%%/bug-buddy.menu
+%%DATADIR%%/bug-buddy.png
+%%DATADIR%%/bugzilla/gnome.bugzilla
+%%DATADIR%%/bugzilla/gnome/config
+%%DATADIR%%/bugzilla/gnome/mostfreq
+%%DATADIR%%/bugzilla/gnome/products
+%%DATADIR%%/bugzilla/ximian.bugzilla
+%%DATADIR%%/bugzilla/ximian/config
+%%DATADIR%%/bugzilla/ximian/mostfreq
+%%DATADIR%%/bugzilla/ximian/products
+%%DATADIR%%/gdb-cmd
+share/icons/hicolor/48x48/apps/bug-buddy.png
+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/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/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/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/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@Latn/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
+@dirrm %%DATADIR%%/bugzilla/ximian
+@dirrm %%DATADIR%%/bugzilla/gnome
+@dirrm %%DATADIR%%/bugzilla
+@dirrm %%DATADIR%%
+@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/si/LC_MESSAGES
+@dirrmtry share/locale/si
+@dirrmtry share/locale/rw/LC_MESSAGES
+@dirrmtry share/locale/rw
+@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/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/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
+@dirrmtry share/applications