Hi,
I have just finished packaging freesweep, a minesweeper-game, after
having had many problems to do so.
Anyways, the current problem is, that namcap complains about:
/var/games/freesweep/{,sweeptimes} being owned by root:games (E) and
/var/games/{,freesweep/{,sweeptimes}} existing in a non-standard
directory (W)
The point is, that freesweep needs a file, that any user can write to.
The way this would be done by `make install' is exactly how I did it in
the PKGBUILD - make the file (sweeptimes) and its directory owned by
root:games and give the games group write permissions.
Some days ago, Justin Dray proposed to do exactly this to solve a more
or less identical problem [1], however I would like to avoid pushing a
PKGBUILD whose package does not pass namcap.
So is there any better way to achieve what I want to?
Furthermore I don't know, how strict the policy to only use standard
directories, as listed here [2], is.
And why does the /var/games directory exist if a package may not use it?
May it only be populated by installed programs?
[1]
https://lists.archlinux.org/pipermail/aur-general/2015-September/031535.html
[2]
https://wiki.archlinux.org/index.php/Arch_packaging_standards#Directories
I've made a Qt 5 port of qPutty (which is in turn a Qt 4 wrapper for putty,
famous SSH/Telmet client). qPutty was in aur3 as orphan for some time and
was dropped. One of the main goals was not only to port it to Qt 5, but
also to be able to use recent putty versions which required lots of qPutty
code to be modified. Actually I've already pushed this PKGBUILD to AUR
since namcap is OK about it. The thing in question is fetching putty
sources which are being used for building, but putty is not compiled as
project itself. Please see PKGBUILD below and thanks in advance.
# Maintainer: Dmitriy Morozov <dmorozov.mailbox(a)gmail.com>
pkgname=qputty-qt5-git
pkgver=501
pkgrel=1
pkgdesc="A Qt 5 port for putty, the free telnet/ssh client"
arch=('i686' 'x86_64')
url="https://github.com/dsmorozov/qputty-qt5"
license=('MIT LGPL3')
depends=('glibc' 'gcc-libs' 'qt5-base' 'qt5-x11extras' 'libgssglue')
makedepends=('git')
conflicts=('qputty')
source=('git://github.com/dsmorozov/qputty-qt5.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "%s" "$(git describe --tags)"
}
prepare() {
cd "$srcdir"
# Fetch putty sources
git clone git://git.tartarus.org/simon/putty.git
cd putty
git checkout tags/0.65
}
build() {
cd "$srcdir/${pkgname%-git}"
qmake
make
}
package() {
cd $srcdir/${pkgname%-git}
install -Dm0755 qPutty "$pkgdir/usr/bin/qPutty"
install -Dm0644 qPutty.desktop
"$pkgdir/usr/share/applications/qPutty.desktop"
install -Dm0644 icons/qputty.svgz
"$pkgdir/usr/share/icons/hicolor/scalable/apps/qputty.svgz"
install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/qputty-qt5/LICENSE"
}
Hi,
loading and scrolling through folders is very slow. Rodent becomes
unusable, if folders have lots of items. I needed to replace rodent
with spacefm and roxterm.
On Ubuntu I still use rodent 5.0.5 and it works without issues.
It already was slow, when I build it a few month ago.
$ pacman -Q rodent librfm5 desktop-file-utils python2
rodent 5.3.16.0-1
librfm5 5.3.16.0-1
desktop-file-utils 0.22-1
python2 2.7.10-2
$ pacman -Qi rodent | grep Build
Build Date : Thu 28 May 2015 02:10:13 PM CEST
Am I the only one experiencing this issue?
I wish to know this, before I report it upstream.
I'm asking on the list too, because a comment on
https://aur.archlinux.org/packages/rodent will reach less users.
Regards,
Ralf
Howdy,
I'm working on a package. The package will need to download sounds to a subdirectory of itself. I have placed the package in /opt.
The package is /opt/tintin-alteraeon. It downloads the msp sounds from the Alter Aeon mud as it encounters them. But my current setup gives me, for example:
sounds/spell//tensor.opus: Permission denied
So, how can I give normal users permission to write to the sounds directory? Also, is that a bad thing to do? If so, I'll have to come up with a different way to handle sounds.
--
Powered by Arch Linux! I am registered Linux user number 508465: https://linuxcounter.net/user/508465.html
My blog, Thoughts of a Dragon: http://www.stormdragon.tk/
get my public PGP key: gpg --keyserver wwwkeys.pgp.net --recv-key 43DDC193
Twitter and Facebook are so ... yesteryear. Get your 2MB Social account TODAY! http://2mb.social/main/register
The great thing about Object Oriented code is that it can make small, simple problems look like large, complex ones.
"As the moon is rising, give us the sign. Now let us rise up in awe, rock 'n' roll angels bring thy hard rock hallelujah, demons and angels all in one have arrived."
Lordi - Hard Rock Hallelujah