jcnelson / vdev

A device-file manager for *nix
GNU General Public License v3.0
101 stars 13 forks source link

libudev.pc for libudev-compat #65

Open fbt opened 8 years ago

fbt commented 8 years ago

libudev-compat should probably provide a .pc file for pkg-config, otherwise configure scripts can't find libudev. I've tried to just put in the one from eudev and it works perfectly. Should I create a pull request with it? There's nothing eudev-specific in it. It even has systemd's standard “this file is part of systemd” header (although that should probably be removed without any licensing considerations, it's a config, not code).

Low priority probably.

UPD: also a libudev.so -> libudev.so.$ver link should exist.

suedi commented 8 years ago

regarding libudev.so

I have with original libudev in arch

libudev.so -> libudev.so.1.6.4 libudev.so.1 -> libudev.so.1.6.4 libudev.so.1.6.4

is there a correct way to do this?

fbt commented 8 years ago

That's the correct way, yeah, edited my comment.

jcnelson commented 8 years ago

Hey, sorry for the late reply.

@fbt libudev-compat will need a .pc file at some point. It's probably best to derive it from libudev or libeudev, and track upstream. If you want to send a PR for it, I'd be happy to merge it :). Otherwise, I'll do to it sometime later this week (once eventfs is working with libudev-compat).

jcnelson commented 8 years ago

Added in e2bbff3d6d85bf68a65b9096d506497aa750e5f1