[Bug 240138] [New port] devel/udisks2: daemon, tools and libraries to access and manipulate disks, storage devices and technologies

classic Classic list List threaded Threaded
37 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[Bug 240138] [New port] devel/udisks2: daemon, tools and libraries to access and manipulate disks, storage devices and technologies

bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240138

            Bug ID: 240138
           Summary: [New port] devel/udisks2: daemon, tools and libraries
                    to access and manipulate disks, storage devices and
                    technologies
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://github.com/storaged-project/udisks
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [hidden email]
          Reporter: [hidden email]

Since it appears that bug 240110 will require using udisks2 instead of
devel/libgudev and devel/libudev-devd as I initially thought, I or someone
should port it. I'm not sure udisks2 belongs in the devel/ category, but I put
it there on the grounds that it's a sorta-kinda replacement for these 2
libraries.

https://www.freedesktop.org/wiki/Software/udisks/

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 240138] [New port] devel/udisks2: daemon, tools and libraries to access and manipulate disks, storage devices and technologies

bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240138

PauAmma <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |240110


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240110
[Bug 240110] x11-fm/thunar: use udisks2 to add support for removable storage
devices
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 240138] [NEW PORT] sysutils/udisks2: Daemon, tools and libraries to access and manipulate disks, storage devices and technologies

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240138

Kubilay Kocak <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |feature, needs-patch
                 CC|                            |[hidden email]
             Status|New                         |Open
            Summary|[New port] devel/udisks2:   |[NEW PORT]
                   |daemon, tools and libraries |sysutils/udisks2: Daemon,
                   |to access and manipulate    |tools and libraries to
                   |disks, storage devices and  |access and manipulate
                   |technologies                |disks, storage devices and
                   |                            |technologies
              Flags|                            |maintainer-feedback?(pauamm
                   |                            |[hidden email])

--- Comment #1 from Kubilay Kocak <[hidden email]> ---
Most ports matching disk* are in the sysutils category, so that's probably a
better primary category for it.

We try to avoid devel unless its specifically and only development related, and
only then if there's not a better primary category (where devel can be
secondary)

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 240138] [NEW PORT] sysutils/udisks2: Daemon, tools and libraries to access and manipulate disks, storage devices and technologies

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240138

Gleb Popov <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #2 from Gleb Popov <[hidden email]> ---
UDisks contains Linux-specific backed part. When considering porting it, I
decided that it is easier to implement the same service for FreeBSD from
scratch. This resulted in sysutils/bsdisks port. It implements minimal
functionality required to mount volumes at the moment.

The libudisks part of UDisks project is a D-Bus bindings library, and should be
portable.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 240138] [NEW PORT] sysutils/udisks2: Daemon, tools and libraries to access and manipulate disks, storage devices and technologies

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240138

Ting-Wei Lan <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #3 from Ting-Wei Lan <[hidden email]> ---
(In reply to Gleb Popov from comment #2)
Has anyone asked the upstream if they are willing to accept patches to build
just the client library or add FreeBSD-specific code? If the upstream accepts
patches for non-Linux operating systems, I think it will be nice to have at
least the client library, so we can stop converting projects using the client
library to do D-Bus calls directly.

I just ran 'readelf -d /usr/libexec/udisks2/udisksd' on Linux, and I found it
needs GLib. It may be a problem on FreeBSD because FreeBSD geom library is
known to conflict with GLib. Both FreeBSD geom library and GLib use 'g_' prefix
for their function names, which is known to cause problems for libgtop and
force us to disable all code using geom in libgtop.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 240138] [NEW PORT] sysutils/udisks2: Daemon, tools and libraries to access and manipulate disks, storage devices and technologies

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240138

--- Comment #4 from PauAmma <[hidden email]> ---
(In reply to Ting-Wei Lan from comment #3)
OK, this sounds to me like you and Gleb Popov are suggesting to do the
following, not necessarily in that order:

1- split off libudisks from udisks2,
2- patch it so it can use bsdisks instead,
3- offer those patches to upstream for their consideration.

If my understanding is correct, who's in charge of drafting an email to the
udisks2 upstream? Me? (I don't want to tread on anyone's toes, but I don't want
this bug to sit around gathering dust if no one else has time to move on it.)

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 240138] [NEW PORT] sysutils/udisks2: Daemon, tools and libraries to access and manipulate disks, storage devices and technologies

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240138

--- Comment #5 from PauAmma <[hidden email]> ---
(In reply to Kubilay Kocak from comment #1)
Is the "maintainer feedback" flag asking me to agree with the change from
devel/ to sysutils/ ? If so, how do I say I agree (which I do)? Change it to +
?

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 240138] [NEW PORT] sysutils/udisks2: Daemon, tools and libraries to access and manipulate disks, storage devices and technologies

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240138

PauAmma <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|maintainer-feedback?(pauamm |maintainer-feedback+
                   |[hidden email])                |

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 240138] [NEW PORT] sysutils/udisks2: Daemon, tools and libraries to access and manipulate disks, storage devices and technologies

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240138

PauAmma <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|maintainer-feedback+        |maintainer-feedback?(pauamm
                   |                            |[hidden email])

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 240138] [NEW PORT] sysutils/udisks2: Daemon, tools and libraries to access and manipulate disks, storage devices and technologies

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240138

--- Comment #6 from Gleb Popov <[hidden email]> ---
(In reply to PauAmma from comment #4)
You shouldn't need p.2 at all and regarding ps. 1 and 3, I'd recommend you do
the following:

- name the port sysutils/libudisks
- use UDisks2 distfile
- patch configure script to pass on FreeBSD (it looks for udev, which is not
applicable for us)
- build only libudisks target and install its products

In ideal case, this shouldn't even require communicating with upstream.

I'd do this myself, but I'm away from computer ATM.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 240138] [NEW PORT] sysutils/udisks2: Daemon, tools and libraries to access and manipulate disks, storage devices and technologies

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240138

--- Comment #7 from Ting-Wei Lan <[hidden email]> ---
(In reply to Gleb Popov from comment #6)
It is not required, but it is usually better to let the upstream know that
there are people interested in building only the client library. Ideally, all
required patches will be merged upstream and no patch will be required in the
port.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 240138] [NEW PORT] sysutils/udisks2: Daemon, tools and libraries to access and manipulate disks, storage devices and technologies

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240138

--- Comment #8 from Ting-Wei Lan <[hidden email]> ---
I just submitted a pull request to upstream to allow building without the
Linux-only udisks daemon: https://github.com/storaged-project/udisks/pull/693.
It can be built by passing --disable-daemon --disable-gtk-doc to configure, but
there are a few warnings when using the client library with bsdisks.

(process:23042): GLib-GIO-WARNING **: 12:21:10.961: Trying to set property
Configuration of type aa{sv} but according to the expected interface the type
is a(sa{sv})

(process:23042): GLib-GIO-WARNING **: 12:21:10.961: Trying to set property
Symlinks of type as but according to the expected interface the type is aay

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 240138] [NEW PORT] sysutils/udisks2: Daemon, tools and libraries to access and manipulate disks, storage devices and technologies

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240138

--- Comment #9 from Gleb Popov <[hidden email]> ---
(In reply to Ting-Wei Lan from comment #8)

Great news!

> there are a few warnings when using the client library with bsdisks.

Should be fixed in bsdisks HEAD revision. Please try it out.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 240138] [NEW PORT] sysutils/udisks2: Daemon, tools and libraries to access and manipulate disks, storage devices and technologies

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240138

--- Comment #10 from Ting-Wei Lan <[hidden email]> ---
(In reply to Gleb Popov from comment #9)
The warning for Symlinks is now resolved, but Configuration still shows
warnings.

(gnome-control-center:64166): GLib-GIO-WARNING **: 18:22:04.156: Trying to set
property Configuration of type (sa{sv}) but according to the expected interface
the type is a{sv}

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 240138] [NEW PORT] sysutils/udisks2: Daemon, tools and libraries to access and manipulate disks, storage devices and technologies

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240138

--- Comment #11 from Gleb Popov <[hidden email]> ---
(In reply to Ting-Wei Lan from comment #10)
Should be fixed too now. Thanks for testing.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 240138] [NEW PORT] sysutils/udisks2: Daemon, tools and libraries to access and manipulate disks, storage devices and technologies

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240138

--- Comment #12 from Ting-Wei Lan <[hidden email]> ---
(In reply to Gleb Popov from comment #11)
Yes, it is fixed. There is no warning now.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 240138] [NEW PORT] sysutils/udisks2: Daemon, tools and libraries to access and manipulate disks, storage devices and technologies

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240138

--- Comment #13 from PauAmma <[hidden email]> ---
(In reply to Ting-Wei Lan from comment #8)
Wow! You're way faster that me. Thanks. *goes look at PR to see what needed to
be done*

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 240138] [NEW PORT] sysutils/libudisks: Library from udisks project, to access and manipulate disks, storage devices and technologies

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240138

PauAmma <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[NEW PORT]                  |[NEW PORT]
                   |sysutils/udisks2: Daemon,   |sysutils/libudisks: Library
                   |tools and libraries to      |from udisks project, to
                   |access and manipulate       |access and manipulate
                   |disks, storage devices and  |disks, storage devices and
                   |technologies                |technologies

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 240138] [NEW PORT] sysutils/libudisks: Library from udisks project, to access and manipulate disks, storage devices and technologies

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240138

--- Comment #14 from Ting-Wei Lan <[hidden email]> ---
https://github.com/storaged-project/udisks/pull/693 has been accepted and
merged by upstream.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 240138] [NEW PORT] sysutils/libudisks: Library from udisks project, to access and manipulate disks, storage devices and technologies

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240138

--- Comment #15 from PauAmma <[hidden email]> ---
Created attachment 208102
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=208102&action=edit
Patch for new port sysutils/libudisks

Tested against sysutils/bsdisks
Also tested with:
- portlint -AN
- port test from porttools (the upstream head,
https://github.com/skreuzer/porttools)
- poudriere

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
12