diff --git a/talimatname/genel/xfce4-places-plugin/mounts.patch b/talimatname/genel/xfce4-places-plugin/mounts.patch new file mode 100644 index 000000000..44e5e0368 --- /dev/null +++ b/talimatname/genel/xfce4-places-plugin/mounts.patch @@ -0,0 +1,12 @@ +diff -Nur original/panel-plugin/model_volumes.c modified/panel-plugin/model_volumes.c +--- original/panel-plugin/model_volumes.c 2013-12-28 11:30:18.000000000 +0000 ++++ modified/panel-plugin/model_volumes.c 2015-06-25 09:59:34.324437370 +0100 +@@ -380,7 +380,7 @@ + g_object_unref(mount); + } + +- return has_media && !is_shadowed; ++ return /*has_media &&*/ !is_shadowed; + } + + static inline gboolean diff --git a/talimatname/genel/xfce4-places-plugin/talimat b/talimatname/genel/xfce4-places-plugin/talimat new file mode 100644 index 000000000..82e27a25d --- /dev/null +++ b/talimatname/genel/xfce4-places-plugin/talimat @@ -0,0 +1,34 @@ +# Description: Xfce paneli için Yerler Menüsü eklentisi +# URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-places-plugin +# Packager: yasarciv67@gmail.com +# Depends on: intltool libnotify xfce4-panel + +name=xfce4-places-plugin +version=1.7.0 +release=1 +source=(http://archive.xfce.org/src/panel-plugins/$name/${version%.*}/$name-$version.tar.bz2 +mounts.patch +undefined-symbol.patch +) + +build() { + cd "$name-$version" + # Disk olmayan diğer bağları göster (örn. NFS) + + patch -Np1 -i "${SRC}/mounts.patch" + + # Bug 11939 + + patch -Np1 -i "${SRC}/undefined-symbol.patch" + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=/usr/lib \ + --localstatedir=/var \ + --disable-static \ + --disable-debug + + make + make DESTDIR="$PKG" install + +} \ No newline at end of file diff --git a/talimatname/genel/xfce4-places-plugin/undefined-symbol.patch b/talimatname/genel/xfce4-places-plugin/undefined-symbol.patch new file mode 100644 index 000000000..3fe7be23d --- /dev/null +++ b/talimatname/genel/xfce4-places-plugin/undefined-symbol.patch @@ -0,0 +1,65 @@ +From 94d583d0ba257cdc96cde5794ebb7d38001ae3a5 Mon Sep 17 00:00:00 2001 +From: Andrzej +Date: Tue, 7 Jul 2015 22:26:51 +0100 +Subject: Bug 11939: xfce4-places-plugin 1.7.0 crashes with undefined symbol + +Patch from Fedora. Submitted by Kevin Fenzi. + +diff --git a/panel-plugin/model.h b/panel-plugin/model.h +index 06d9d6f..043e391 100644 +--- a/panel-plugin/model.h ++++ b/panel-plugin/model.h +@@ -36,13 +36,13 @@ struct _PlacesBookmarkAction + void (*finalize) (PlacesBookmarkAction *self); + }; + +-inline PlacesBookmarkAction* ++extern inline PlacesBookmarkAction* + places_bookmark_action_create(gchar *label); + +-inline void ++extern inline void + places_bookmark_action_destroy(PlacesBookmarkAction*); + +-inline void ++extern inline void + places_bookmark_action_call(PlacesBookmarkAction*); + + /* Places Bookmark */ +@@ -70,10 +70,10 @@ struct _PlacesBookmark + void (*finalize) (PlacesBookmark *self); + }; + +-inline PlacesBookmark* ++extern inline PlacesBookmark* + places_bookmark_create(gchar *label); + +-inline void ++extern inline void + places_bookmark_destroy(PlacesBookmark *bookmark); + + /* Places Bookmark Group */ +@@ -86,16 +86,16 @@ struct _PlacesBookmarkGroup + gpointer priv; + }; + +-inline GList* ++extern inline GList* + places_bookmark_group_get_bookmarks(PlacesBookmarkGroup*); + +-inline gboolean ++extern inline gboolean + places_bookmark_group_changed(PlacesBookmarkGroup*); + +-inline PlacesBookmarkGroup* ++extern inline PlacesBookmarkGroup* + places_bookmark_group_create(); + +-inline void ++extern inline void + places_bookmark_group_destroy(PlacesBookmarkGroup*); + + #endif +-- +cgit v0.10.1 +