-
Notifications
You must be signed in to change notification settings - Fork 21
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
Add to the AUR #20
Comments
I can do this The PKGBUILD would probably look like this:
And the .SRCINFO would look like this:
The main question I'd ask myself is: Also, I'm currently using gtk3 as dependency for archlinux, since I guess that what most people probably already have installed. Should I use something else? Should I maybe add some architectures other than arm64? Any other reccomendations? For what I'm concerned, the package could go online even like this. It would also maybe be better to curl the single files from raw.githubusercontent.com, and remove the git make dependency, but it's way easier like this |
Yes it would be great if you maintained it! Yes the package version will always be package.txt. But could you rename it xborders naming it xborder was a mistake and I changed it. Yes gtk3 is fine. I don't know about multiple architectures, how would that work? Also git is fine, anyone who has installed arch linux probably has git installed, it is needed for installing a bunch of stuff so it shouldn't be a problem |
lmao, I just realized I forgot a dependency on python (minor issue, since it would still be installed with python-pycairo, but it doesn't hurt to leave it explicit) I will get it upstream as soon as possible, which will probably mean saturday as for multiple architectures, it should be fine with python, but it would need testing, so I'll leave x64 atm |
I'm very sorry, I read this issue too late. I thought no one had thought of it yet. I have already added the project to the AUR as xborder-git. @deter0 @alba4k I can disown the package if some of you are interested so you can get the maintainer status on the package. Otherwise, you can create another AUR package as xborder but I think that is a bit useless. |
problem is, now we can't rename it |
I don't think you need to rename it: following the AUR guidelines the package name is correct due to the build being made directly from the source. When I created the package on the AUR I precisely thought of not naming it |
what I mean is: @deter0 was asking to name it |
I understand now, however, if you think that is required I can create a deletion request from the AUR. |
Maybe I can do a fix to find version.txt somewhere else, but it would be better to fix the AUR package instead of patch it |
This is related to this line: Line 51 in fa50c90
Is not a problem with the AUR package. I mean In the You should change the way you print the version or change the directory in which However, as I said I can disown the package and leave it to you. |
Yes can you tell me how to become maintainer of the package? |
I think that the best way is to initially add you as a co-maintainer and after that, I will promote you as a maintainer or simply disown the package so you will become the only maintainer. So I need to know which is your AUR username. |
would be fine for me, not really my decision I can mantain this if needed, would really not be an issue on my side |
Added. I think more is better. |
Offtopic # Last line in ~/.config/i3/config
exec --no-startup-id xborders --config $HOME/.config/xborder/config.json --disable-version-warning |
--disable-version-warning dont work, it still notify me with ERROR: xborders couldn*t get latest version! |
For version.txt can't we place it in ~/.local/share/xborders and all other files needed? |
Can we not do something like this? |
I tested it seems fine, only problem would be when I create files in the xborders directory. I only do this for ignoring version update notification, but I can just check if we're installed by AUR to disable the updates. |
checking if installed by aur would be easily done by putting a or, better but slower, using libalpm, but I'm not sure how we would go on that in python, maybe it would just be worth it to directly run |
Can we not check the path of executable? and if it's in /opt/ we can determine its installed by AUR |
we could, but I often put stuff in /opt when it would belong there, even if I didn't install it trough the package manager (since that's where it would belong) I doubt someone would crete something like a file named aur just because |
Sorry but I don't understand why you need a file to store the version. Why you can't simply create a constant directly in the script? |
you mean by modifying in the pkgbuild? |
No, I mean in the Lines 48 to 55 in fa50c90
To this: VERSION = 3.1
...
def get_version():
return VERSION And completely remove the I created a pull request if you agree with my solution: #35 |
then yes, obviously I mean how would be go on detecting if the script was installed from the aur or not? |
Why do you need to know that? |
as mentioned by @deter0 , most people install packages out of the aur trough an aur helper, so it might be useful to avoid checking for updates if the program is already being managed |
No description provided.
The text was updated successfully, but these errors were encountered: