xfce4-mount-plugin: upgrade 1.1.5 -> 1.2.0

License-Change: checksum change reflectes the change of address of the Free Software Foundation.

Patch updated with new offsets where appropariate.

Changelog: https://gitlab.xfce.org/panel-plugins/xfce4-mount-plugin/-/tags/xfce4-mount-plugin-1.2.0
Changelog: https://gitlab.xfce.org/panel-plugins/xfce4-mount-plugin/-/tags/xfce4-mount-plugin-1.1.7
Changelog: https://gitlab.xfce.org/panel-plugins/xfce4-mount-plugin/-/tags/xfce4-mount-plugin-1.1.6

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Jason Schonberg 2025-10-05 21:47:27 -04:00 committed by Khem Raj
parent 8ddb2f559a
commit d6841c1815
No known key found for this signature in database
GPG Key ID: BB053355919D3314
2 changed files with 11 additions and 11 deletions

View File

@ -23,16 +23,14 @@ diff --git a/configure.ac b/configure.ac
index 375e64a..590b7ad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -65,6 +65,9 @@ dnl param.h is part of libc6 on Linux, but important for old-style Unix and espe
AC_CHECK_HEADERS([sys/param.h])
AC_CHECK_HEADERS([sys/mount.h])
@@ -36,4 +36,7 @@
AC_PROG_INSTALL
+dnl make musl happy
+AC_CHECK_HEADERS([fstab.h])
+
dnl Add -traditional to output variable CC if using the GNU C compiler and ioctl does not work properly without -traditional. That usually happens when the fixed header files have not been installed on an old system. Leave here commented out to comment in if some older *NIX systems might require it as was recently written on the ML.
dnl AC_PROG_GCC_TRADITIONAL
dnl Initialize libtool
LT_PREREQ([2.2.6])
diff --git a/panel-plugin/devices.c b/panel-plugin/devices.c
index 797b079..d29df56 100644
--- a/panel-plugin/devices.c
@ -47,7 +45,7 @@ index 797b079..d29df56 100644
#include <glib.h>
#include <stdio.h>
#include <stdlib.h>
@@ -468,11 +470,12 @@ disks_new (gboolean include_NFSs, gboolean *showed_fstab_dialog, gint length)
@@ -467,11 +469,12 @@ disks_new (gboolean include_NFSs, gboolean *showed_fstab_dialog, gint length)
{
GPtrArray * pdisks; /* to be returned */
t_disk * pdisk;
@ -61,7 +59,7 @@ index 797b079..d29df56 100644
/* open fstab */
if (setfsent()!=1)
{
@@ -526,7 +529,20 @@ disks_new (gboolean include_NFSs, gboolean *showed_fstab_dialog, gint length)
@@ -529,7 +532,20 @@ disks_new (gboolean include_NFSs, gboolean *showed_fstab_dialog, gint length)
} /* end for */
endfsent(); /* close file */

View File

@ -2,10 +2,12 @@ SUMMARY = "Mount/umount utility for the xfce panel"
HOMEPAGE = "https://docs.xfce.org/panel-plugins/xfce4-mount-plugin/start"
SECTION = "x11/application"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
XFCE_COMPRESS_TYPE = "xz"
inherit xfce-panel-plugin
SRC_URI += "file://0001-check-for-fstab.h-during-configure.patch"
SRC_URI[sha256sum] = "584cd954929e542b3da0ff8d69e0325d8838dc39e7b32a509d1074ce3bb58ec2"
SRC_URI[sha256sum] = "adef71a83078e7dc45997e57411f8c43080a0204159a8b8db2ade0a9877e7b4c"