-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package naming (from CMake / consumer perspective) #16
Comments
Hello @ferdnyc, |
@azubieta I totally understand. And as I said at the start, I would've totally understood if the response was just a flat-out, "No, too much trouble." So, I appreciate you indulging me even this far. 😁 As far as naming goes, xdg-utils-cxx (and XdgUtilsCxx as the CMake transliteration) strikes me as a fine name, I was mostly kidding about cxxdg-utils. (I mean, I still think it's a good name, but changing the name completely at this point doesn't seem warranted. Just tacking the "Cxx" part onto the CMake identity, to match the main project and better differentiate from the official xdg-utils, is more than sufficient IMHO.) Thanks again! |
And, actually, I just had an idea. I do fully appreciate the need to avoid disrupting existing users of the library, and that's honestly the last thing I'd want to see happen. So, what if you were to take advantage of the fact that xdg-utils doesn't currently have any CMake tooling visibility, and install BOTH configurations for a time? The targets could be installed as both Then, after a few releases and maybe a major version bump, the old config could be phased out with (hopefully) minimal disruption. |
(And I'll be happy to submit a PR with the necessary changes in CMake, if there's interest and a reasonable chance of it being merged.) |
Having both Feel free to make a PR :) |
The name of this project causes confusion over at Debian, where the package name clearly implies a relation to the normal Also, given your project is merely for use as a library, you should consider prefixing the name with |
Seems reasonable, what do you think about renaming it to @ScarlettGatelyMoore which implications has this change on the Debian packaging? |
Nothing I can't fix with a breaks/replace. New name sounds reasonable to me. |
I'm guessing this is going to be an unpopular suggestion, and I'll understand if it's rejected, but I'd like to suggest that the "external" tooling of the project — specifically, things like the CMake
${PROJECT_NAME}
(and by extension, the names theEXPORTED
config will install under) — be changed to something different from simply "XdgUtils".Because:
XdgUtilsConfig.cmake
, it appears to be the configuration for thatxdg-utils
, notxdg-utils-cxx
.USE_SYSTEM_XDGUTILS
(*cough* libappimage *cough*), it doesn't seem unreasonable to assume that havingxdg-utils
installed would be sufficient to satisfy that option. And it seems confusing to find out, "Oh, they didn't mean xdg-utils, they meant a different xdg-utils."xdg-utils
doesn't provide anEXPORTED
CMake configuration today, they may in the future, which could cause a naming conflict.xdg-utils
packages in most distros, this code can't be packaged asxdg-utils
, it would have to bexdg-utils-cxx
, only furthering the confusion about what exactly the required dependency is for any packages that depend onxdg-utils-cxx
.Also, not part of my actual argument, but just as a side note:
The text was updated successfully, but these errors were encountered: