These work for me compiled as per Linux From Scratch, using this patch which I manually edited the changes from.kimathi wrote:Mind sharing your pet packages for others to use. Maybe have they could be added to quickpetGeoffrey wrote:I've compiled xfce and have it running of a fashion, still needs work to get everything working, recompiled glib with the patch that's mentioned,
then compiled the pup-volume-monitor, it threw a few warnings in the compile but it's now working,
no segment faults, thunar filemanager shows drives and desktop also shows them.
glib_2.40.0-tahr-090814.patch
Code: Select all
diff -rupN glib-2.36.4/gio/gappinfo.c glib-2.36.4-patched-s/gio/gappinfo.c
--- glib-2.36.4/gio/gappinfo.c 2013-08-07 22:34:32.000000000 +0800
+++ glib-2.36.4-patched-s/gio/gappinfo.c 2014-06-28 09:47:48.573336650 +0800
@@ -25,7 +25,7 @@
#include "glibintl.h"
#include <gioerror.h>
#include <gfile.h>
-
+#include <stdlib.h>
/**
* SECTION:gappinfo
@@ -702,8 +702,13 @@ g_app_info_launch_default_for_uri (const
file = g_file_new_for_uri (uri);
app_info = g_file_query_default_handler (file, NULL, error);
g_object_unref (file);
- if (app_info == NULL)
- return FALSE;
+ if (app_info == NULL)
+ {
+ gchar *cCommand = g_strdup_printf (" xdg-open %s", uri );
+ system(cCommand);
+ g_free (cCommand);
+ return TRUE;
+ }
/* We still use the original @uri rather than calling
* g_file_get_uri(), because GFile might have modified the URI
diff -rupN glib-2.36.4/gio/gunixmounts.c glib-2.36.4-patched-s/gio/gunixmounts.c
--- glib-2.36.4/gio/gunixmounts.c 2013-08-07 22:34:32.000000000 +0800
+++ glib-2.36.4-patched-s/gio/gunixmounts.c 2014-06-28 09:53:33.366673050 +0800
@@ -2136,7 +2136,7 @@ g_unix_mount_guess_should_display (GUnix
mount_path[sizeof ("/run/media/") - 1 + user_name_len] == '/')
is_in_runtime_dir = TRUE;
- if (is_in_runtime_dir || g_str_has_prefix (mount_path, "/media/"))
+ if (is_in_runtime_dir || g_str_has_prefix (mount_path, "/mnt/"))
{
char *path;
/* Avoid displaying mounts that are not accessible to the user.
@@ -2146,7 +2146,7 @@ g_unix_mount_guess_should_display (GUnix
* block or fail stat()'ing, such as network mounts.
*/
path = g_path_get_dirname (mount_path);
- if (g_str_has_prefix (path, "/media/"))
+ if (g_str_has_prefix (path, "/mnt/"))
{
if (g_access (path, R_OK|X_OK) != 0)
{
Code: Select all
#!/bin/bash
case "$1" in
start)
pup-volume-monitor-admin --start
;;
stop)
pup-volume-monitor-admin --stop
;;
restart)
pup-volume-monitor-admin --stop
sleep 1
pup-volume-monitor-admin --start
;;
*)
echo "Usage: $0 {start|stop|restart}"
;;
esac
glib_DEV-2.42.0-i686.pet
glib_DOC-2.42.0-i686.pet
glib_NLS-2.42.0-i686.pet
glib-2.42.0-i686.pet
pup_DEV-volume-monitor-0.1.15-i686.pet
pup-volume-monitor-0.1.15-i686.pet