diff options
Diffstat (limited to 'ports-mgmt/gnome-packagekit')
-rw-r--r-- | ports-mgmt/gnome-packagekit/Makefile | 5 | ||||
-rw-r--r-- | ports-mgmt/gnome-packagekit/distinfo | 6 | ||||
-rw-r--r-- | ports-mgmt/gnome-packagekit/files/patch-src_gpk-dbus.c | 59 | ||||
-rw-r--r-- | ports-mgmt/gnome-packagekit/pkg-plist | 7 |
4 files changed, 71 insertions, 6 deletions
diff --git a/ports-mgmt/gnome-packagekit/Makefile b/ports-mgmt/gnome-packagekit/Makefile index 159e21c1cb1d..24dc2ae9408e 100644 --- a/ports-mgmt/gnome-packagekit/Makefile +++ b/ports-mgmt/gnome-packagekit/Makefile @@ -3,11 +3,10 @@ # Whom: Anders F Bjorklund <afb@users.sourceforge.net> # # $FreeBSD$ -# $MCom: ports/ports-mgmt/gnome-packagekit/Makefile,v 1.14 2010/03/30 11:24:01 avl Exp $ +# $MCom: ports-stable/ports-mgmt/gnome-packagekit/Makefile,v 1.1 2010/07/21 15:21:03 kwm Exp $ PORTNAME= gnome-packagekit -PORTVERSION= 2.30.0 -PORTREVISION= 1 +PORTVERSION= 2.30.3 CATEGORIES= ports-mgmt sysutils gnome MASTER_SITES= GNOME diff --git a/ports-mgmt/gnome-packagekit/distinfo b/ports-mgmt/gnome-packagekit/distinfo index ca10eeffda57..dc31a1d7c879 100644 --- a/ports-mgmt/gnome-packagekit/distinfo +++ b/ports-mgmt/gnome-packagekit/distinfo @@ -1,3 +1,3 @@ -MD5 (gnome-packagekit-2.30.0.tar.bz2) = 6f96d71ad1567122075ab60d4dd60a98 -SHA256 (gnome-packagekit-2.30.0.tar.bz2) = 79738a368a7e4fd051c9fd95fe280ee244160cbf84b8044aa79747d2ab037ee9 -SIZE (gnome-packagekit-2.30.0.tar.bz2) = 3521537 +MD5 (gnome-packagekit-2.30.3.tar.bz2) = 865675fb52f131083e76f97c9a630def +SHA256 (gnome-packagekit-2.30.3.tar.bz2) = 2fd9e49d0b538dac7223c170119507fdf5e896aa27683a9b886aef74e13651b1 +SIZE (gnome-packagekit-2.30.3.tar.bz2) = 3595882 diff --git a/ports-mgmt/gnome-packagekit/files/patch-src_gpk-dbus.c b/ports-mgmt/gnome-packagekit/files/patch-src_gpk-dbus.c new file mode 100644 index 000000000000..471734de6324 --- /dev/null +++ b/ports-mgmt/gnome-packagekit/files/patch-src_gpk-dbus.c @@ -0,0 +1,59 @@ +--- src/gpk-dbus.c.orig 2010-07-20 09:56:17.000000000 +0200 ++++ src/gpk-dbus.c 2010-07-21 17:14:31.000000000 +0200 +@@ -32,6 +32,12 @@ + #include <unistd.h> + #endif /* HAVE_UNISTD_H */ + ++#ifdef __FreeBSD__ ++#include <sys/sysctl.h> ++//#include <errno.h> ++#include <string.h> ++#endif ++ + #include <sys/wait.h> + #include <fcntl.h> + +@@ -212,6 +218,13 @@ gpk_dbus_get_exec_for_sender (GpkDbus *d + GError *error = NULL; + guint pid; + ++#ifdef __FreeBSD__ ++ size_t len; ++ int mib[4]; ++/* figure out how to use the above GError */ ++ int error2; ++#endif ++ + g_return_val_if_fail (PK_IS_DBUS (dbus), NULL); + g_return_val_if_fail (sender != NULL, NULL); + +@@ -223,7 +236,29 @@ gpk_dbus_get_exec_for_sender (GpkDbus *d + } + + /* get command line from proc */ ++#ifdef __FreeBSD__ ++ mib[0] = CTL_KERN; ++ mib[1] = KERN_PROC; ++ mib[2] = KERN_PROC_PATHNAME; ++ mib[3] = pid; ++ ++ len = 0; ++ ++ error2 = sysctl(mib, 4, NULL, &len, NULL, 0); ++ if (error2) { ++ printf ("Error: %s\n", strerror(error2)); ++ goto out; ++ } ++ ++ filename = malloc(len); ++ error2 = sysctl(mib, 4, filename, &len, NULL, 0); ++ if (error2) { ++ printf ("Error: %s\n", strerror(error2)); ++ goto out; ++ } ++#else + filename = g_strdup_printf ("/proc/%i/exe", pid); ++#endif + cmdline = g_file_read_link (filename, &error); + if (cmdline == NULL) { + egg_warning ("failed to find exec: %s", error->message); diff --git a/ports-mgmt/gnome-packagekit/pkg-plist b/ports-mgmt/gnome-packagekit/pkg-plist index b998fe705931..fbe981a8c2ad 100644 --- a/ports-mgmt/gnome-packagekit/pkg-plist +++ b/ports-mgmt/gnome-packagekit/pkg-plist @@ -389,6 +389,7 @@ share/locale/bg/LC_MESSAGES/gnome-packagekit.mo share/locale/bn/LC_MESSAGES/gnome-packagekit.mo share/locale/bn_IN/LC_MESSAGES/gnome-packagekit.mo share/locale/ca/LC_MESSAGES/gnome-packagekit.mo +share/locale/ca@valencia/LC_MESSAGES/gnome-packagekit.mo share/locale/cs/LC_MESSAGES/gnome-packagekit.mo share/locale/cy/LC_MESSAGES/gnome-packagekit.mo share/locale/da/LC_MESSAGES/gnome-packagekit.mo @@ -397,6 +398,7 @@ share/locale/el/LC_MESSAGES/gnome-packagekit.mo share/locale/en@shaw/LC_MESSAGES/gnome-packagekit.mo share/locale/en_GB/LC_MESSAGES/gnome-packagekit.mo share/locale/es/LC_MESSAGES/gnome-packagekit.mo +share/locale/et/LC_MESSAGES/gnome-packagekit.mo share/locale/fi/LC_MESSAGES/gnome-packagekit.mo share/locale/fr/LC_MESSAGES/gnome-packagekit.mo share/locale/gl/LC_MESSAGES/gnome-packagekit.mo @@ -404,12 +406,15 @@ share/locale/gu/LC_MESSAGES/gnome-packagekit.mo share/locale/he/LC_MESSAGES/gnome-packagekit.mo share/locale/hi/LC_MESSAGES/gnome-packagekit.mo share/locale/hu/LC_MESSAGES/gnome-packagekit.mo +share/locale/id/LC_MESSAGES/gnome-packagekit.mo share/locale/it/LC_MESSAGES/gnome-packagekit.mo share/locale/ja/LC_MESSAGES/gnome-packagekit.mo share/locale/kn/LC_MESSAGES/gnome-packagekit.mo share/locale/lt/LC_MESSAGES/gnome-packagekit.mo +share/locale/lv/LC_MESSAGES/gnome-packagekit.mo share/locale/ml/LC_MESSAGES/gnome-packagekit.mo share/locale/mr/LC_MESSAGES/gnome-packagekit.mo +share/locale/ms/LC_MESSAGES/gnome-packagekit.mo share/locale/nb/LC_MESSAGES/gnome-packagekit.mo share/locale/nl/LC_MESSAGES/gnome-packagekit.mo share/locale/oc/LC_MESSAGES/gnome-packagekit.mo @@ -450,6 +455,8 @@ share/omf/gnome-packagekit/gnome-packagekit-zh_CN.omf @dirrmtry share/locale/mr @dirrmtry share/locale/en@shaw/LC_MESSAGES @dirrmtry share/locale/en@shaw +@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/as/LC_MESSAGES |