FS#16903 - Mark package as installed from source.
Attached to Project:
Pacman
Opened by Mate Horvath (blo) - Thursday, 29 October 2009, 11:45 GMT
Last edited by Xavier (shining) - Monday, 09 November 2009, 19:44 GMT
Opened by Mate Horvath (blo) - Thursday, 29 October 2009, 11:45 GMT
Last edited by Xavier (shining) - Monday, 09 November 2009, 19:44 GMT
|
Details
Summary and Info:
I would like to see a feature to mark packages as installed from source. A simple config option in pacman.conf where the user can specify package names (like mplayer, opera etc.). Yes I can use ABS to build packages but sometimes it is easier to install from source and I think this feature is trivial to implement. |
This task depends upon
Closed by Xavier (shining)
Monday, 09 November 2009, 19:44 GMT
Reason for closing: Won't implement
Additional comments about closing: this should not and will not be implemented , see comments
Monday, 09 November 2009, 19:44 GMT
Reason for closing: Won't implement
Additional comments about closing: this should not and will not be implemented , see comments
The package name is a TINY part of all the information you would have to provide.
"impossible" to implement would be much more accurate than "trivial".
Anyway I hope it is not what you had in mind either.
I meant this:
If I build mplayer from git with a script and install it from source then I just add mplayer (or the desired package name that I installed from source and I want pacman to recognize it as installed) to pacman.conf's dedicated section (well you name it) and it will recognize mplayer as installed. So if I would like to install an app that require mplayer then pacman won't download the package named mplayer as it is already installed from source.
Summary:
Installedfromsource=packages
If you don't care about the wrong part, you are free to automate the creation of a dummy pkg. Actually someone might have already done something like this, I believe I have already seen it somewhere. [1]
So it will do what you want, without implementing ugly feature in pacman :)
Edit :
[1] http://bbs.archlinux.org/viewtopic.php?pid=628890#p628890
We will never recommend and support that anyway.
I am still not sure why you insist not using makepkg/pacman. Writing a git pkgbuild is easy :
http://aur.archlinux.org/packages.php?ID=28623
That said, there are some special cases where I personally find using pkgbuild/makepkg inconvenient, but that's my problem, and I don't want or need to fake pacman about it.