Hello everybody,
I just wanted to share some doubts about some packages cointaining Java
libraries.
As I noticed that some official packages that usually ships Java
libraries upstream (for binding or common usage) haven't such files in
official PKGBUILDs/packages, I had to edit the official PKGBUILD in
order to build also Java files.
The actual packages I'm referring to are opencv[1] and gettext[2], for
which I've created {opencv,gettext}-java (see [3],[4]).
My doubts are the following:
- As my packages are just some files that are missed from the official
packages because of a missing 'java-environment' makedependency, should
I open an issue in the bug tracker asking for the addition of the Java
libraries?
- Is it fine to host some files on AUR packages that are expected to be
in the official packages?
- Actually, for splitting already present packages and Java ones (the
ones that aren't in official packages), I made a really simple but dirty
thing; I made that 'make install' put files in '$srcdir/temp' and then I
copy the files I need with a 'cp /path/to/file $pkgdir/path/in/os/to/file'.
I tried creating a directory with something like 'mktemp -d -p $srcdir'
but during package(), every temporary directory variable (made with
'tmpdir=$(mktemp -d -p $srcdir)') is lost and I can't create any
directory (because we are in the fakeroot environment).
I have no ideas for making this in a cleaner way, so I hope it is fine
to do so; if someone has some suggestions, please tell me.
TL;DR
Should I ask to add this libraries in official packages or doing my AUR
packages?
References:
[1] https://www.archlinux.org/packages/?q=opencv
[2] https://www.archlinux.org/packages/?q=gettext
[3] https://aur4.archlinux.org/packages/opencv-java/
[4] https://aur4.archlinux.org/packages/gettext-java/
Greetings
--
Giovanni Santini
My blog: http://giovannisantini.tk
My code: https://github.com/ItachiSan
My GPG: 2FADEBF5
the account is registered under this mail and I can get a link to reset
the accounts password, but I still need the username. Can someone send
the username to this mail?
hi,
i tried to create a new package, and when i tryed to push it to the server
i received a message that it is blacklisted. what happened?
This was what i did:
$git push origin master
Counting objects: 4, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 1.05 KiB | 0 bytes/s, done.
Total 4 (delta 0), reused 0 (delta 0)
remote: error: package is blacklisted: python2-passlib
remote: error: hook declined to update refs/heads/master
To ssh+git://aur4.archlinux.org/python-passlib.git/
! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'ssh+git://
aur4.archlinux.org/python-passlib.git/'
---
Eduardo M. Machado
Hi,
Feel free to update my packages while I'm on vacation. I'm back at the end
of July.
--
Best regards,
Alexander Rødseth
xyproto / TU
--
Best regards,
Alexander F Rødseth / xyproto