Git versions in AUR
Let's say I want to install randompackage-git from the AUR. It has a submission date, an update date, and a long weird version number.
But I understand that the version number of that tarball is not necessarily the version number of the package. Somehow git gives me access to the latest version no matter what the version/update time on the AUR is, right? I searched for introductions to Git but found nothing dumbed down enough for a crude casual user like me.
Last edited by stozi (2014-02-05 02:54:48)
stozi wrote:Ok, life's short. So what then is the point of the aur package version number?
I suspect it's just that the package version number has always been a mandatory field and it's not clear that it should be made non-mandatory just because of github.
Probably, it would be a good idea for people putting code on github to give it a "tag" every now and again, which effectively imposes a notion of versioning, in which case the package version number would make sense.
Also, many projects on github are just small little programs that don't really need installing to the system /usr/bin directory; I have a $HOME/src directory where I often put small things from github; after compiling, the binary can be symlinked to $HOME/bin.
My philosophy on this is probably a long way from becoming an established convention, though.
Also, your thread title is not consistent with the content of your opening post. Your topic is about the relationship between PKGBUILDs and github projects. It is not about the internal workings of git.
Similar Messages
-
I am not able to install screen-git from the aur
So yeah, i cant install screen-git from the aur. Im using yaourt.
┌─[yamifrankc]──(~)
└─| % > aur -S screen-git
==> Resuming previous build
==> Downloading screen-git PKGBUILD from AUR...
tar: Record size = 13 blocks
==> Last 5 comments ordered by date (asc):
Comment by: dolby on Tue, 16 Jun 2009 15:02:25 +0000
GNU screen shouldnt depend on libelf. Package in extra now doesnt.
See http://bugs.archlinux.org/task/14700
Comment by: dolby on Tue, 16 Jun 2009 15:03:08 +0000
Oh yeah, gpm isnt a dependency either.
Comment by: nihathrael on Tue, 16 Jun 2009 16:23:56 +0000
Thanks for the pointers. Package updated.
Comment by: firecat53 on Tue, 16 Jun 2009 23:19:28 +0000
At least for x86_64, libelf seems to be a dependency. Throws an error about libelf.so.0 when starting screen if it's not installed.
Comment by: Ranguvar on Sun, 11 Oct 2009 04:00:10 +0000
The three lines at the end of the install scriplet are unnecessary now and can cause problems apparently, please remove :)
Also, I cannot confirm libelf dependency, both by using ldd and trying removing libelf, so it should be kept out.
First Submitted: Sun, 09 Nov 2008 15:43:42 +0000
screen-git 20090616-1 : GNU Screen from GIT repository. Provides vertical splitting.
( Unsupported package: Potentally dangerous ! )
==> Edit the PKGBUILD (highly recommended for security reasons) ? [Y/n]("A" to abort)
==> ----------------------------------------------
==>n
==> screen-git dependencies:
- ncurses (already installed)
- shadow (already installed)
- git (already installed)
- automake (already installed)
- autoconf (already installed)
==> WARNING: This PKGBUILD contains install file that can be dangerous.
screen.install
==> Edit screen.install (highly recommended for security reasons) ? [Y/n] ("A" to abort)
==> ----------------------------------------------
==>y
Please add EDITOR to your environment variables
for example:
==> Edit PKGBUILD with:(replace gvim with your favorite editor)
==> Edit screen.install with:vim
==> WARNING: This PKGBUILD contains install file that can be dangerous.
screen.install
==> Edit screen.install (highly recommended for security reasons) ? [Y/n] ("A" to abort)
==> ----------------------------------------------
==>n
==> Continue the building of screen-git ? [Y/n]
==> ----------------------------------------------
==>y
==> Install or build missing dependencies for screen-git:
==> Building and installing package
mkdir: cannot create directory `/var/abs': Permission denied
==> WARNING: Unable to write in /var/abs/local/yaourtbuild/screen-git directory. Using /tmp directory
==> screen-git dependencies:
- ncurses (already installed)
- shadow (already installed)
- git (already installed)
- automake (already installed)
- autoconf (already installed)
==> Determining latest git revision...
-> Version found: 20091204
==> Making package: screen-git 20091204-1 i686 (Fri Dec 4 07:43:16 CST 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found screen.pam in build dir
==> Validating source files with md5sums...
screen.pam ... Passed
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
==> Connecting to GIT server....
Already up-to-date.
==> The local files are updated.
==> GIT checkout done or server timeout
==> Starting make...
autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without
autoheader: WARNING: `acconfig.h':
autoheader:
autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: [Define if a function `main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
configure: WARNING: unrecognized options: --with-sys-screenrc
this is screen version 4.1.0
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether gcc needs -traditional... no
checking for library containing strerror... none required
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for gawk... gawk
checking for a BSD-compatible install... /bin/install -c
configure: checking for buggy tools...
- sh is 'GNU bash, version 4.0.35(2)-release (i686-pc-linux-gnu)'.
- sed is 'GNU sed version 4.2.1'.
checking if a system-wide socket dir should be used... yes
checking for the socket dir... (eff_uid ? "/tmp/uscreens" : "/tmp/screens")
configure: checking for MIPS...
configure: checking for Ultrix...
configure: checking for butterfly...
configure: checking for POSIX.1...
- you have a POSIX system
configure: checking for System V...
configure: checking for sequent/ptx...
configure: checking SVR4...
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
configure: checking for Solaris 2.x...
configure: checking BSD job jontrol...
- you have jobcontrol
configure: checking setresuid...
configure: checking setreuid...
configure: checking seteuid...
configure: checking select...
configure: checking fifos...
- your fifos are usable
configure: checking for broken fifo implementation...
- your implementation is ok
configure: checking sockets...
- your sockets are usable
configure: checking socket implementation...
- you are normal
- both sockets and fifos usable. let's take sockets.
configure: checking select return value...
- select is ok
configure: checking for tgetent...
configure: checking libcurses...
- you use the terminfo database
configure: checking ospeed...
configure: checking for /dev/ptc...
configure: checking for SVR4 ptys...
checking for getpt... yes
configure: checking for ptyranges...
configure: checking default tty permissions/group...
checking for write... /usr/bin/write
checking for xterm... /usr/bin/xterm
- pty mode: 0620, group: 0
configure: checking getutent...
configure: checking ut_host...
checking utempter.h usability... no
checking utempter.h presence... no
checking for utempter.h... no
configure: checking for libutil(s)...
configure: checking getloadavg...
assuming posix signal definition
configure: checking for crypt and sec libraries...
configure: checking crypt...
configure: checking IRIX sun library...
configure: checking syslog...
configure: checking wait union...
configure: checking for termio or termios...
configure: checking getspnam...
configure: checking getttyent...
configure: checking fdwalk...
configure: checking whether memcpy/memmove/bcopy handles overlapping arguments...
checking for long file names... yes
checking for vsprintf... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for setenv... checking for nl_langinfo(CODESET)... yes
checking for library containing gethostname... none required
checking for rename... yes
checking for fchmod... yes
checking for fchown... yes
checking for strerror... yes
checking for lstat... yes
checking for _exit... yes
checking for utimes... yes
checking for vsnprintf... yes
checking for getcwd... yes
checking for setlocale... yes
checking for strftime... yes
checking for PAM support... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default commands
configure: WARNING: unrecognized options: --with-sys-screenrc
Now please check the pathnames in the Makefile and in the user
configuration section in config.h.
Then type 'make' to make screen. Good luck.
CPP="gcc -E -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"'" srcdir=. sh ./osdef.sh
AWK=gawk CC="gcc -march=i686 -mtune=generic -O2 -pipe" srcdir=. sh ./comm.sh
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \
-march=i686 -mtune=generic -O2 -pipe screen.c
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \
-march=i686 -mtune=generic -O2 -pipe ansi.c
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \
-march=i686 -mtune=generic -O2 -pipe fileio.c
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \
-march=i686 -mtune=generic -O2 -pipe mark.c
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \
-march=i686 -mtune=generic -O2 -pipe misc.c
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \
-march=i686 -mtune=generic -O2 -pipe resize.c
gcc -c -I. -I. -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \
-march=i686 -mtune=generic -O2 -pipe socket.c
In file included from socket.c:51:
extern.h:159: error: conflicting types for 'execvpe'
/usr/include/unistd.h:585: note: previous declaration of 'execvpe' was here
make: *** [socket.o] Error 1
==> ERROR: Build Failed.
Aborting...
Error: Makepkg was unable to build screen-git package
Vertical split is ftw! What can i do to build it?yeah, i also got that message.
for vertical split you can go for screen-vs package. this is screen with the vs patch.
http://aur.archlinux.org/packages.php?ID=6006 -
Cinelerra and Yaourt WEIRD ONE - latest git version
Hi...
Well there's new version in AUR for Cinelerra
I uninstalled the non working version that complains no matter what like this:
error while loading shared libraries: libImath.so.4: cannot open shared object file: No such file or directory
SO... I uninstall that and I go for the new version via yaourt:
and after a make it gives me this:
[please see the part at the end of the following .... can't copy the package etc.
grrrr..... really need this working!
thanks fot any tips...
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/tmp/yaourt-tmp-root/aur-cinelerra-cv-git/cinelerra-cv-git/src/cinelerra-build'
make[1]: Leaving directory `/tmp/yaourt-tmp-root/aur-cinelerra-cv-git/cinelerra-cv-git/src/cinelerra-build'
==> Tidying install...
-> Compressing man pages...
-> Stripping debugging symbols from binaries and libraries...
==> Creating package...
-> Generating .PKGINFO file...
-> Compressing package...
==> Finished making: cinelerra-cv-git 20090116-1 i686 (Fri Jan 16 17:20:07 PST 2009)
==> Continue installing cinelerra-cv-git? [Y/n]
loading package data...
error: './cinelerra-cv-git-20090105-2-i686.pkg.tar.gz': cannot open package file
==> WARNING: Your package is saved in /tmp/cinelerra-cv-git-20090105-2-i686.pkg.tar.gz
cp: cannot stat `./cinelerra-cv-git-20090105-2-i686.pkg.tar.gz': No such file or directory
==> WARNING: Unable to copy cinelerra-cv-git-2-i686.pkg.tar.gz to /tmp/ directorynice tip and thought Matt..
I think that getting AUR/pacman understood like you do is in my near future..
I like how supposed problems spark all kinds of good techniques..
so, I was alternating between the source code from Cinelerra site, the version in extra I think it is and the -git latest version I installed via Yaourt,,,
So, at the end of all my attempts I used a combination of symlinks most of wshich I got from the comments in the AUR page for the -git latest version... then... after that didn't work I found this one and it at LEAST got me running...
messy messy.... I'll delete all the symlinks which I've kept documented in my 'notes' file for the app... and then will get good enough at the pacman and package thing you do hopefully...
for anyone else this is the symlink that worked... NOTE that which of the earlier created ones 'helped' I don't and won't know...
so it's not a good idea of course.. though here's the symlinks I just used ..... THEN the one that after that got me running..
also I needed to instlal 'nasm' for the package to get past an error in the yaourt attempts...
Thanks again MATT!!!!
ln -s /usr/lib/libIlmImf.so /usr/lib/libIlmImf.so.4
ln -s /usr/lib/libIm /usr/lib/libImath.so.4
ln -s /usr/lib/libImath.so /usr/lib/libImath.so.4
ln -s /usr/lib/libHalf.so /usr/lib/libHalf.so.4
ln -s /usr/lib/libIex.so /usr/lib/libIex.so.4
ln /usr/lib/libIlmImf.so /usr/lib/libIlmImf.so.4
ln /usr/lib/libfaad.so /usr/lib/libfaad.so.1.0.0
THEN this one:
ln -s /usr/lib/libImath.so.{6,4}
Last edited by yvonney (2009-01-17 18:04:13) -
[SOLVED] Telepathy protocols (git versions)
A lot of work is going on with empathy and telepathy lately, I'm already running the git version of empathy but would like the git versions of telepathy-butterfly (MSN), telepathy-gabble (XMPP/Jabber) and telepathy-idle (IRC).
I have no idea how to build from source let alone write PKGBUILDS for git versions of these so if someone would be willing to give it a shot it would be great
http://telepathy.freedesktop.org/wiki/Components
http://git.collabora.co.uk/?p=telepathy … ;a=summary
http://git.collabora.co.uk/?p=telepathy … ;a=summary
http://git.collabora.co.uk/?p=telepathy-idle.git
Last edited by descendent87 (2009-12-30 00:09:22)these builds complete, but i didnt actually run/use the library because i dont use empathy (kde will do it eventually right?).
PKGBUILDs are as-is, not in AUR. they are also using an experimental git routine from here:
http://bbs.archlinux.org/viewtopic.php?id=86366
please let me know if you have any issues when rebuilding each day/whatever (mainly, is the repo updating correctly, or is it redownloading everything each time makepkg is ran?). all i did was take the PKGBUILDs from ABS, and add the git specific bits (pkgver, _gitroot, _gitname, provides=(), conflicts=(), source=()) along with a handful of tweaks. you can make your own for the other telepathy-* packages pretty easily by following these examples; usually only minor changes are necessary to make it work (telepathy-gabble needed another makedepend, and both telepathy-gabble and telepathy-idle needed ./configure changed to ./autogen.sh ... that was it)
TELEPATHY-BUTTERFLY-GIT
pkgname=telepathy-butterfly-git
pkgver=20091221
pkgrel=1
pkgdesc="A MSN connection manager for Telepathy"
arch=('i686' 'x86_64')
url="http://telepathy.freedesktop.org"
groups=('telepathy')
license=('GPL')
depends=('papyon>=0.4.2' 'python-telepathy>=0.15.11')
conflicts=('telepathy-butterfly')
provides=('telepathy-butterfly')
source=()
_gitroot=git://git.collabora.co.uk/git/telepathy-butterfly.git
_gitname=master
build() {
msg2 "Syncing with ${_gitroot}..."
g=${startdir}/${pkgname}.git; w=${srcdir}/${pkgname}
[ -n "${_gitname#HEAD}" ] || \
_gitname=$(git ls-remote $_gitroot | awk '$2~/HEAD/ {S=$1}; $1==S && $2!~/HEAD/ {sub("[a-z]+/[a-z]+/","",$2); print $2; exit}')
[ -d "${g}" ] || git --git-dir=${g} --work-tree=${w} init
mkdir -p ${w} && { [ -d "${w}/.git" ] || ln -s ${g} ${w}/.git; } && cd ${w}
git show-ref -q $_gitname || d="--depth=1"
git fetch -f -u -n $d ${_gitroot} +${_gitname}:${_gitname} || return 1
git reset --hard ${_gitrefspec:=$_gitname} || return 1
msg2 "Fetched remote ${_gitname}"
./configure --prefix=/usr --libexecdir=/usr/lib/telepathy
make || return 1
make DESTDIR=$pkgdir install || return 1
TELEPATHY-GABBLE-GIT
pkgname=telepathy-gabble-git
pkgver=20091221
pkgrel=1
pkgdesc="A Jabber/XMPP connection manager for Telepathy"
arch=('i686' 'x86_64')
url="http://telepathy.freedesktop.org"
groups=('telepathy')
license=('LGPL')
options=('!libtool')
depends=('loudmouth' 'telepathy-glib>=0.7.37' 'libsoup')
makedepends=('libxslt' 'gtk-doc')
conflicts=('telepathy-gabble')
provides=('telepathy-gabble')
source=()
_gitroot=git://git.collabora.co.uk/git/telepathy-gabble.git
_gitname=master
build() {
msg2 "Syncing with ${_gitroot}..."
g=${startdir}/${pkgname}.git; w=${srcdir}/${pkgname}
[ -n "${_gitname#HEAD}" ] || \
_gitname=$(git ls-remote $_gitroot | awk '$2~/HEAD/ {S=$1}; $1==S && $2!~/HEAD/ {sub("[a-z]+/[a-z]+/","",$2); print $2; exit}')
[ -d "${g}" ] || git --git-dir=${g} --work-tree=${w} init
mkdir -p ${w} && { [ -d "${w}/.git" ] || ln -s ${g} ${w}/.git; } && cd ${w}
git show-ref -q $_gitname || d="--depth=1"
git fetch -f -u -n $d ${_gitroot} +${_gitname}:${_gitname} || return 1
git reset --hard ${_gitrefspec:=$_gitname} || return 1
msg2 "Fetched remote ${_gitname}"
./autogen.sh --prefix=/usr --libexecdir=/usr/lib/telepathy --enable-shave
make || return 1
make DESTDIR=$pkgdir install
TELEPATHY-IDLE-GIT
pkgname=telepathy-idle-git
pkgver=20091221
pkgrel=1
pkgdesc="An IRC connection manager for Telepathy"
arch=('i686' 'x86_64')
url="http://telepathy.freedesktop.org"
groups=('telepathy')
license=('LGPL')
depends=('telepathy-glib' 'openssl')
makedepends=('libxslt')
conflicts=('telepathy-idle')
provides=('telepathy-idle')
source=()
_gitroot=git://git.collabora.co.uk/git/telepathy-idle.git
_gitname=master
build() {
msg2 "Syncing with ${_gitroot}..."
g=${startdir}/${pkgname}.git; w=${srcdir}/${pkgname}
[ -n "${_gitname#HEAD}" ] || \
_gitname=$(git ls-remote $_gitroot | awk '$2~/HEAD/ {S=$1}; $1==S && $2!~/HEAD/ {sub("[a-z]+/[a-z]+/","",$2); print $2; exit}')
[ -d "${g}" ] || git --git-dir=${g} --work-tree=${w} init
mkdir -p ${w} && { [ -d "${w}/.git" ] || ln -s ${g} ${w}/.git; } && cd ${w}
git show-ref -q $_gitname || d="--depth=1"
git fetch -f -u -n $d ${_gitroot} +${_gitname}:${_gitname} || return 1
git reset --hard ${_gitrefspec:=$_gitname} || return 1
msg2 "Fetched remote ${_gitname}"
./autogen.sh --prefix=/usr --libexecdir=/usr/lib/telepathy
make || return 1
make DESTDIR=$pkgdir install -
Git version of bti fails to compile
Hi,
I'm trying to compile the git version of bti (an console client for twitter and identi.ca) (http://www.kernel.org/pub/linux/kernel/people/gregkh/bti/ , <http://github.com/gregkh/bti/ http://github.com/gregkh/bti/>).
When I run ./autogen.sh, it says
checking for main in -lnsl... yes
checking for main in -lreadline... yes
checking for main in -lpcre... yes
./configure: line 3738: syntax error near unexpected token `yes,'
./configure: line 3738: `LIBCURL_CHECK_CONFIG(yes, , have_libcurl="yes", have_libcurl="no")'
But curl is installed:
$ yaourt -Q curl
==> List all installed packages
extra/curl 7.19.5-1
Also, I have installed the base-devel group:
$ yaourt -Qg base-devel
==> List all installed packages members of a group
core/autoconf base-devel
core/automake base-devel
core/bin86 base-devel
core/bison base-devel
core/ed base-devel
core/fakeroot base-devel
core/flex base-devel
core/gcc base-devel
core/libtool base-devel
core/m4 base-devel
core/make base-devel
core/patch base-devel
core/pkgconfig base-devel
Does anyone know what could cause the problem, do i maybe need another package?
BTW:
The latest upstream tarballs (same as git version) can be compiled without error, so maybe it is a problem with running autogen.sh?
Last edited by uvok (2009-05-28 18:13:02)Sorry, I didn't explain the issue correctly, is not within a website, the problem is when I try to open the flashhelp project in a shared drive within the company.
I know you won't be able to open this but I will copy the path:
file://172.25.130.21/Videos_Knowledge/FlashHelp
Regards. -
Can't build empathy-git from the AUR
I'm using empathy-devel (2.7.5) is quite stable~ and it supports video chat and audio chat for gtalk, which works even better than pidgin 2.6.1(with video and audio enabled when compiling).
Using empathy-devel (2.7.5) can't hear the voice from the other side. But the person on the other side can hear me~ (The other side was using google chrome with gtalk plugin for gmail under windows system.)
this happen to my friend who is a archlinux user too.
I don't know if this is a bug or we are missing something to recieve the sound from the other side.
So, I tried to install empathy-git and empathy-devel( I edited the PKGBUILD to the newest version 2.27.91.1), see if it works better~
Unfortunately, I failed to compile both version of empathy above.
I got the same error when compiling~~(not the dependecy check in the PKGBUILD)
configure: error: gnome-doc-utils >= 0.17.3 not found
I've already installed gnome-common-svn gnome-doc-utils-svn.
1. Now i have no idea how to get the latest empathy installed on my system.
2. And if being unable to hear the other's voice is not a bug of empathy (2.7.5), what can I do to make it works properly.
Please give me a hand~
Thank you so much!you have to update gnome-doc-utils using abs to that version. i believe that they are preparing for gnome 2.28 release. also you need to use telepathy-mission-control-5 from aur.
like a side note. gnome-doc-utils-svn is not even used anymore. they migrated to git so in svn nobody commited anything.
Last edited by wonder (2009-08-28 07:58:09) -
How to get info about updates' repo and versions, including AUR pkgs
I'm writing a little tool in python that checks for updates and displays notification in gnome about available updates. I'm doing this by syncing database to custom directory with:
pacman -Syb /custom/dir
and then getting list of updates with
pacman -Qub /custom/dir
I do it this way because I don't want to sync my real pacman database until I'm actually installing or updating packages. I then get current version and repo of the listed packages with:
yaourt -Q | grep "list\|of\|packages"
It's quite long and seemingly wasteful procedure, but an even bigger issue is that I don't know how to do the same thing with packages from AUR. Looking at the yaourt's man pages I see no option to sync database into a custom directory.
Any suggestions?Camus wrote:
The author of that blog post used cower instead of yaourt, but I don't think cower allows me to sync AUR database into custom dir either. Or am I missing something? I don't how yaourt and cower sync AUR database anyway.
I actually already wrote such notifier for gnome in bash. But I want to display more info and I want to include AUR packages.
The perfect tool in my situation would be something that allows me to sync official and AUR databases into custom dir and then displays list of updates with:
-name of package
-current version
-updated version
-repo
I can currently do all of the above, but just with official repos and not as elegantly as I want.
Not sure what you mean by 'sync AUR database' (no such thing exists as it does for the binary repos), but cower will let you download to wherever you want. -
Yaourt: all git packages from AUR give me an error
what could be the problem here? it worked before
==> Connecting to GIT server....
Cloning into 'emesene'...
fatal: unable to connect to github.com:
github.com[0: 207.97.227.239]:
Last edited by capoeira (2012-11-20 12:08:54)WorMzy wrote:It's working fine here. Just built pkgfile-git without problems.
strange, why the hack isn't it working here?
only way is editing the PCKGBUILD -
PKGBUILD for transmission-remote-gtk new since move to git - help?
Transmission-remote-gtk just moved to git from svn and I made a new PKGBUILD for it;
# Maintainer: Aleksey Frolov <[email protected]> [ru]
# Contributor: PitBall
_pname=transmission-remote-gtk
pkgname=${_pname}-git
pkgver=20120203
pkgrel=1
pkgdesc="GTK client for remote management of the Transmission BitTorrent client, using its HTTP RPC protocol"
arch=(i686 x86_64)
license=('GPL2')
depends=('git' 'hicolor-icon-theme' 'geoip' 'libproxy' 'libunique' 'json-glib' 'libnotify' 'gconf' 'desktop-file-utils' 'curl')
makedepends=('intltool')
conflicts=('transmission-remote-gtk')
install=${pkgname}.install
options=('!libtool')
url="http://code.google.com/p/transmission-remote-gtk"
_gittrunk="https://code.google.com/p/transmission-remote-gtk/"
_gitmod=${pkgname}
build() {
cd ${srcdir}
# GIT checkout
if [[ -d ${_gitmod} ]]; then
(cd ${_gitmod} && git pull )
else
git clone ${_gittrunk} ${_gitmod}
fi
rm -rf ${srcdir}/${_gitmod}-build
cp -r ${srcdir}/${_gitmod} ${srcdir}/${_gitmod}-build
cd ${srcdir}/${_gitmod}-build
# Configure
./autogen.sh
./configure \
--prefix=/usr
# --prefix=/usr \
# --disable-schemas-install \
# --with-gconf-schema-file-dir=/usr/share/gconf/schemas
# Compile
make
# Install
make DESTDIR=${pkgdir} install
# License & Authors
install -dm755 ${pkgdir}/usr/share/licenses/${_pname}
ln -sf /usr/share/licenses/common/GPL2/license.txt ${pkgdir}/usr/share/licenses/${_pname}/LICENSE
install -Dm644 AUTHORS ${pkgdir}/usr/share/doc/${_pname}/AUTHORS
When doing a pacman -U 'pkgname' I get about 20 file "exists in filesystem". With my limited knolwedge I don't know how to fix this. pacman -Uf does it but is an ugly solution. What can I do with the PKGBUILD or maybe recommend users to uninstall the svn version first?
Furthermore; there was a bit of code looking for the .svn directory
# SVN checkout
if [[ -d ${_svnmod}/.svn ]]; then
(cd ${_svnmod} && svn up -r $pkgver)
else
svn co ${_svntrunk} --config-dir ./ -r ${pkgver} ${_svnmod}
fi
which I changed to this;
# GIT checkout
if [[ -d ${_gitmod} ]]; then
(cd ${_gitmod} && git pull )
else
git clone ${_gittrunk} ${_gitmod}
fi
The prupose is to look for previous source and not download it all again, just get the changes. svn up -r is quite straight forward but git pull, I find is not. I'd really appreciate some pointers on this.
By the way, it compiles just fine and with pacman -Uf it works, I'd just like to make a proper PKGBUILD.
Last edited by swanson (2012-02-03 22:35:17)Yes, that's the seems to be the easiest and cleanest way to go. Here's the new transmission-remote-gtk git version in AUR;
https://aur.archlinux.org/packages.php?ID=56377 -
Bootchart2-git: bootchart-renderer fails to mount /lib/bootchart/tmpfs
I recently bought a new laptop and made a fresh Arch installation. After a few initial annoyances I got everything working more or less as intended, except bootchart. Since the wiki said "Note: An alternative to Bootchart is bootchart2, which at least has more recent activity than 2005. It can be found on the AUR as bootchart2-git. It uses python for generating the final chart instead of a JVM. ", I used the git version from AUR, if that matters.
[r-a@vinter ~]$ /sbin/bootchartd start; sleep 1; /sbin/bootchartd stop
10834 109
bootchart-collector tmpfs mount to /lib/bootchart/tmpfs failed
Can't extract boot chart from collector
[r-a@vinter ~]$
A peek at the source code(collector/collector.c:625-630):
if (mount ("none", TMPFS_PATH, "tmpfs", MS_NOEXEC|MS_NOSUID, NULL) < 0) {
if (errno != EBUSY) {
fprintf (stderr, "bootchart-collector tmpfs mount to " TMPFS_PATH " failed\n");
return 1;
strace output:
15146 mount("none", "/lib/bootchart/tmpfs", "tmpfs", MS_NOSUID|MS_NOEXEC, NULL) = -1 EPERM (Operation not permitted)
man 2 mount says this:
EPERM The caller does not have the required privileges.
I haven't tried changing the default path to mount to for example something like /tmp/, perhaps it'd solve the privilege issue... What bugs me is that the default config indeed uses /lib/bootchart/ as it's base path... So I can only assume that it somehow should have permission to mount tmpfs to that directory? Whatever, I am a bit clueless here. What next?Setting the SUID bit of bootchart-collector with chmod +s didn't do the trick; though I am not entirely sure if it was because of failed mount - I can't check it right now.
...anyone...? -
[solved] Radeon/Ati and Xorg 1.9
Hi,
since I've upgradede my ati driver (xf86-video-ati) and X to X 1.9 I cannot start my X session, because of the following issue:
Failed to map cursor buffer memory
Fatal server error:
failed to map pixmap -22
XIO fatal IO error 11 (Resource temporarily unavailable) on X server 0:0
In the very beginning after having upgraded, I obtained in addition the error of unknown synaptic devices (mouse and touchpad), but in one of the forum threads it was solved and thus I could fix it.(sry link is missing)
But the one error above is still unsolved, and hinders me starting X. Mr. Google couldn't help enymore.
Downgrading is not possible, because of the missing packages...
I hope one of you can help me get X on the screen.
best,
L-K
[EDIT]
I compiled from git and now xf86-video-ati-git works well. maybe the version in [extra] differs from that git-version in AUR.
Ty for reading.
Last edited by linux-ka (2010-10-26 18:07:35)The kind people from the IRC channel suggested I add this bit at the very end of the "/etc/X11/xorg.conf" file (instead of "/etc/X11/xorg.conf.d/10-evdev.conf" - tho it would've probably worked that way too):
Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XkbLayout" "us, ro"
Option "XkbVariant" "std"
Option "XkbOptions" "grp:caps_toggle, grp_led:scroll"
EndSection
Apparently it works. I just have to hold AltGr and press s, q , a, i, t, etc to type ș â ă î ț etc. But how do I set it to ; { } ] ' ", etc, like the default behaviour in Windows... ? I would like them to correspond to this layout.
Because this is not the "standard" ("std") version...
I may have to edit the "/usr/share/X11/xkb/symbols/ro" file to map them.
Unless there's a better way ?
Last edited by DSpider (2010-12-11 13:19:16) -
[solved]amarok-2.5.0-2 doesn't work
i use Arch Linux x86_64 with the latest kernel from core, it's the 3.2.8, and KDE 4.8.0, Qt 4.8 with ffmpeg 20120127-3. My problem is when i try to run amarok it says "amarok: error while loading shared libraries: libavcodec.so.52: cannot open shared object file: No such file or directory" i made a symlink for libavcodec.so.53 but still doesn't work. I couldn't find anything in this topic. I try to compile the git version from AUR but it's the same.
Last edited by hg2rbw (2012-03-03 07:55:07)What's the output of
LD_DEBUG=files amarok > amarok.log 2>&1 && grep libavcodec amarok.log -
Cairo-compmgr corrupts second monitor
Hey all,
I just set up openbox with cairo-compmgr, and it works great when I'm just using my laptop screen... however when I enable my secondary 22" monitor, the second display is "corrupted." What I see is similar to the ie6 effect. I've tried both cairo-compmgr 0.3.0 from community and the git version from AUR.
Both displays works fine with xcompmgr, but I'd prefer cairo-compmgr because I like its plugins. Any suggestions?
Thanks!
Edit: Okay, I just checked, and if I set a wallpaper with xsetroot or feh after starting cairo-compmgr, this doesn't happen. So it seems to be caused because there is no background set on the root window?
Edit 2: Also, when I go from two monitors to one, the screen goes black except for my mouse cursor. I can't see any windows, and nothing will show over the black except the cursor. Again, with xcompmgr, everything is fine when hotplugging monitors.
Last edited by sargk (2010-10-12 03:01:27)Welcome to the Arch forums zeroplayer. A lot of water has passed under the bridge and changes since this nearly 3 year old thread was posted. Please read our forum etiquette in regard to awakening the dead: https://wiki.archlinux.org/index.php/Fo … Bumping.22
Closing. -
[kde-unstable] KDE Applications 15.04 Beta
Packages (x86_64 only) are available for testing in the official [kde-unstable] repo.
New applications in this release: kdenlive, telepathy-kde
Ported to KF5 in this release:
- kdeadmin: kcron
- kdeedu: blinken, cantor, kbruch, kgeography, kiten klettres, kmplot, kstars, kturtle, kwordquiz, rocs, step
- kdegames: bomber, bovo, granatier, kapman, katomic, kblackbox, kblocks, kbounce, kbreakout, kdiamond, kfourinline, killbots, kjumpingcube, klines, kmines, knetwalk, kollision, kpatience, kshisen, ksquares
- kdegraphics: kruler
- kdesdk: kompare, lokalize
- kdeutils: filelight, kcalc, kcharselect, ktimer, print-manager
- kdetoys: kteatime
Please report packaging issues to bugs.archlinux.org (using [kde-unstable] in the description), upsteam issues to bugs.kde.org
Known packaging issues:
- cantor is missing, compilation fails at the moment
- kdeartwork is not packaged, it's mostly stuff for KDE4 which hasn't been updated for years. Same for kde-wallpapers, kde-base-artwork.
- l10n packages are not available, so new KF5 apps will not be translated
- rocs depends on grantlee-qt5, which conflicts with grantlee-qt4, so currently can't be coinstalled with some KDE4 apps such as kdepim, kdevelop or skrooge. Hopefully will be fixed before the final release.
Last edited by arojas (2015-03-23 21:54:10)fishonadish wrote:
pb wrote:
MilesRdz wrote:No Qt5 Dolphin in this release?
No. Both: Dolphin and all KDE-Baseapps will be in 15.08.
Personally I use dolphin-git version (from AUR) and it works pretty well. It depends only on baloo-widgets from git (and AUR). The all other dependencies are in repositories.
I was going to try this but following the baloo-git dependency, it seems to depend on a lot of git versions
I've just modified PKGBUILD of baloo-widgets-git:
# Contributor: Andrea Scarpino <[email protected]>
pkgname=baloo-widgets-git
pkgver=r408.ebfa75c
pkgrel=1
pkgdesc="A framework for searching and managing metadata"
arch=('i686' 'x86_64')
url='https://projects.kde.org/projects/kde/kdelibs/baloo'
license=('LGPL')
depends=('baloo-frameworks')
makedepends=('extra-cmake-modules' 'git' 'kdoctools')
source=('git://anongit.kde.org/baloo-widgets')
replaces=('baloo-widgets-frameworks-git')
md5sums=('SKIP')
pkgver() {
cd baloo-widgets
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
prepare() {
mkdir -p build
build() {
cd build
cmake ../baloo-widgets \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib
make
package() {
cd build
make DESTDIR="${pkgdir}" install
It depends only on stable baloo-frameworks and... so on, it works.
Then build and install this baloo-widgets-git before dolphin-git, and after that install dolphin-git from AUR. This solutions is for those from us, who want to use baloo with dolphin. -
I've searched the web and found very few clues to why this happens. To run vlc -I http --media-library works fine as to connect. The problem is that in the play-list I get nothing most of the time. At times my library suddenly may appear, but 95% of the time it won't. Some clicks in the play-list menu give this output: http interface error: this needs to be fixed to use the new playlist framework.
Since I see few reports about this it might indicate that I'm doing something wrong here. I really want it to work because this is a very easy way of getting a remote box (it like a music media system) to play mms streams. I've tried the current version and also the git version from AUR. I tried to build the nightly build but the connection doesn't work at the moment. Anyway same problem with both.
Any suggestions?I haven't been able to understand why the http code of VLC fail to show playlist and medialibrary. My own solution is simply to edit VLC's index.html and add whatever radio-streams I want. I can't spend more time on this anyway, so more important is that it's working the way I want it to.
Maybe you are looking for
-
FAQ: How do I restore a previous version of Photoshop Express?
How do I restore a previous version of Photoshop Express? Case 1: You have updated Photoshop Express on your phone, but iTunes on your computer has the old version 1. First, go to iTunes on your computer. In the "Apps" section, look for the Photoshop
-
I can`t transfer files from iPad2 to iTunes
I have an iPad2 iOS 4.3.5, and Mac Pro 10.7 with iTunes 10.4. It´s not possible to transfer files from these apps: Djay (Recordings), iThougths (pdf or another files), Keynote and Pages. In iThoughts i send the datas to iTunes. But there are no files
-
Hi all, I am strungling using tables in RoboHelp HTML 7, to generate webhelp. What I try to accomplish is using tables in RH, and have its formatting defined in a style sheet. The html code generated by RH should be nice and clean. If possible I woul
-
External Firewire not mounting
Since the quicktime 7.5 updater I have been unable to mount ANY firewire devices. A check of the system profiler shows under firewire,(in red) "Unable to list FireWire devices." The same external drive when using USB 2.0 connection does indeed mount
-
NOKIA 2220 cant accept MMS settings sent by servic...
hi, i have been using my Nokia 2220 since May 2010, but until now, i cant send or receive MMS. My service provider had sent MMS settings several times but my phone keeps on rejecting them with an error message that says like only 20 files can be rece