[Solved] [audacious-git] dependency question
Hi, I maintain audacious-git and audacious-plugins-git and have a question:
audacious-plugins-git should be a dependency of audacious-git.
On the other side audacious-git should be a makedependency of audacious-git.
This is the case for the packages from [extra] (of course without -git)
How is it now possible to compile audacious / audacious-plugins if both packages are not installed?
And how should I handle this in the PKGBUILD?
Thanks for an answer
Radioactiveman
Last edited by Radioactiveman (2011-06-24 12:32:59)
The audacious-plugins package need only be a dependency of audacious for usability reasons: it is not required to build it. So it is easy to "manually" bootstrap by first compiling an audacious PKGBUILD without the audacious-plugins dependency. In the AUR, of course, that's not so handy, and I believe the best solution to your issue is to have audacious-plugins-git as an optdepends (not a depends) in the audacious-git PKGBUILD, and remind your users that they very likely want to install it.
Similar Messages
-
[SOLVED]mplayer2-git fails compiling
Hey guys,
since some time i failed to update my mplayer2 cause the compile failes. Currently i have installed `harfbuzz 20110919-1` and `libass-git 20110918-1`, but mplayer2 uses its own libass. When compiling withut any changes, it hangs on ass_shaper.c:580, cause the harfbuzz function hb_language_from_string takes not 2 parameters, not one. I fixed this by changing 'hb_language_from_string(code);' to 'hb_language_from_string(code, strlen(code));'. But now it fails with some linking stuff, here the output:
CC stream/audio_in.o
CC sub/unrar_exec.o
CC stream/stream_vcd.o
CC libmpcodecs/ad_libvorbis.o
CC libmpdemux/demux_ogg.o
CC libmpcodecs/vd_xanim.o
CC libmpcodecs/vd_xvid4.o
CC mplayer
/tmp/yaourt-tmp-marko/aur-mplayer2-git/src/mplayer2-build/build_libs/lib/libass.a(ass_shaper.o): In function `shape_harfbuzz':
ass_shaper.c:(.text+0x221): undefined reference to `hb_buffer_create'
ass_shaper.c:(.text+0x2ab): undefined reference to `hb_font_set_scale'
ass_shaper.c:(.text+0x2cc): undefined reference to `hb_font_set_ppem'
ass_shaper.c:(.text+0x369): undefined reference to `hb_buffer_pre_allocate'
ass_shaper.c:(.text+0x381): undefined reference to `hb_buffer_set_direction'
ass_shaper.c:(.text+0x38e): undefined reference to `hb_buffer_set_language'
ass_shaper.c:(.text+0x3ad): undefined reference to `hb_buffer_add_utf32'
ass_shaper.c:(.text+0x3c7): undefined reference to `hb_shape'
ass_shaper.c:(.text+0x45c): undefined reference to `hb_buffer_get_length'
ass_shaper.c:(.text+0x468): undefined reference to `hb_buffer_get_glyph_infos'
ass_shaper.c:(.text+0x475): undefined reference to `hb_buffer_get_glyph_positions'
ass_shaper.c:(.text+0x5f8): undefined reference to `hb_buffer_destroy'
ass_shaper.c:(.text+0x63d): undefined reference to `hb_ft_font_create'
ass_shaper.c:(.text+0x6a4): undefined reference to `hb_font_funcs_create'
ass_shaper.c:(.text+0x6d6): undefined reference to `hb_font_funcs_set_glyph_func'
ass_shaper.c:(.text+0x6ec): undefined reference to `hb_font_funcs_set_glyph_h_advance_func'
ass_shaper.c:(.text+0x702): undefined reference to `hb_font_funcs_set_glyph_v_advance_func'
ass_shaper.c:(.text+0x718): undefined reference to `hb_font_funcs_set_glyph_h_origin_func'
ass_shaper.c:(.text+0x72e): undefined reference to `hb_font_funcs_set_glyph_v_origin_func'
ass_shaper.c:(.text+0x744): undefined reference to `hb_font_funcs_set_glyph_h_kerning_func'
ass_shaper.c:(.text+0x75a): undefined reference to `hb_font_funcs_set_glyph_v_kerning_func'
ass_shaper.c:(.text+0x770): undefined reference to `hb_font_funcs_set_glyph_extents_func'
ass_shaper.c:(.text+0x786): undefined reference to `hb_font_funcs_set_glyph_contour_point_func'
ass_shaper.c:(.text+0x7a9): undefined reference to `hb_font_set_funcs'
/tmp/yaourt-tmp-marko/aur-mplayer2-git/src/mplayer2-build/build_libs/lib/libass.a(ass_shaper.o): In function `ass_shaper_info':
ass_shaper.c:(.text+0x895): undefined reference to `hb_version_string'
/tmp/yaourt-tmp-marko/aur-mplayer2-git/src/mplayer2-build/build_libs/lib/libass.a(ass_shaper.o): In function `ass_shaper_font_data_free':
ass_shaper.c:(.text+0x936): undefined reference to `hb_font_destroy'
ass_shaper.c:(.text+0x93f): undefined reference to `hb_font_funcs_destroy'
/tmp/yaourt-tmp-marko/aur-mplayer2-git/src/mplayer2-build/build_libs/lib/libass.a(ass_shaper.o): In function `ass_shaper_set_language':
ass_shaper.c:(.text+0xc62): undefined reference to `hb_language_from_string'
collect2: ld returned 1 exit status
make[1]: *** [mplayer] Fehler 1
make[1]: Leaving directory `/tmp/yaourt-tmp-marko/aur-mplayer2-git/src/mplayer2-build/mplayer'
make: *** [mplayer] Fehler 2
==> FEHLER: Ein Fehler geschah in build().
Breche ab ...
==> ERROR: Makepkg was unable to build mplayer2-git.
==> Restart building mplayer2-git ? [y/N]
==> -------------------------------------
==>
i tried to include the hb.h from my include-directory inside the ass-shaper.c, but it neither work as to copy the harfbuzz-dir from /usr/include to the include-dir in the mplayer2-build-dir. Obviously mplayer2 uses another source than libass-git, cause it compiles without any problems. Anyone can give me some advise how to fix this thing?
Greetz Corubba
Last edited by Corubba (2011-09-22 16:19:21)It seems newer libass-git depends on a newer harfbuzz than the libass in mplayer2 can work with. What's more, the libass in mplayer2 doesn't need harfbuzz to function, but the git version does (from what my gentoo system dependencies tell me). I just came across, and fixed (got around) the problem by downgrading libass to a version that doesn't pull in harfbuzz (this was on gentoo). Then the mplayer2 libass never picked up harfbuzz and disabled its functionality.
A better solution would be to pass --disable-harfbuzz to the libass configure script in mplayer2, then you will not get the compile error. Edit the file script/libass-config, here is a diff.
--- a/libass-config 2011-09-22 22:26:29.341675565 +0930
+++ b/libass-config 2011-09-22 22:26:47.086315777 +0930
@@ -3,8 +3,8 @@
mydir="$(pwd)"
if test -f "wrapper_export_version" ; then
cd "$mydir"/libass
- ./configure --prefix="$mydir/build_libs" --enable-static --disable-shared
+ ./configure --prefix="$mydir/build_libs" --enable-static --disable-shared --disable-harfbuzz
else
cd "$mydir"/libass
- ./autogen.sh --prefix="$mydir/build_libs" --enable-static --disable-shared
+ ./autogen.sh --prefix="$mydir/build_libs" --enable-static --disable-shared --disable-harfbuzz
fi
Hopefully that all works for you. I should report this to the mplayer2 bug tracker (or libass, as it must not do version checking correctly). -
Dependency Question: jnc from AUR
Hi,
I do "maintain" one package in AUR (jnc) and have a dependency question about this package:
I built an extra package for x86_64 because of some dependency issues on my machine, but after uploading I recognised, that the issues comes with the juniper binary and not with my package.
What is the right way? It is just a perl script, so the dependcies are just perl and the other system commands used in the perl script, or it is ok to say, to use the perl script you need these juniper binaries, and if you have a x86_64 machine you need these dependencies to run the juniper binary?
The missing dependencies are 'lib32-glibc' 'lib32-zlib' ...
Cheers yannsenyou can combine both architectures in 1 package, use something like this :
depends=('libglade')
if [[ ${CARCH} == "i686" ]]; then
depends+=('glibc')
else
depends+=('lib32-glibc')
fi
Edit :
Chances are the i686 package also needs glibc and zlib as dependencies , namcap can help with determining that.
Last edited by Lone_Wolf (2012-09-05 09:56:36) -
[SOLVED] ocrfeeder-git PKGBUILD doesn't work
https://aur.archlinux.org/packages/ocrfeeder-git/
[pippo@linux ocrfeeder-git]$ makepkg -s
==> Creazione del pacchetto: ocrfeeder-git 0.7.11.20.g22218bc-1 (mar 18 nov 2014, 14.32.01, CET)
==> Controllo delle dipendenze durante l'avvio in corso...
==> Controllo delle dipendenze durante la compilazione in corso...
==> Download dei sorgenti in corso...
-> Clonazione del repository ocrfeeder git in corso...
Clone nel repository spoglio '/home/pippo/TEMP/ocrfeeder-git/ocrfeeder'...
remote: Counting objects: 3584, done.
remote: Compressing objects: 100% (2578/2578), done.
remote: Total 3584 (delta 2415), reused 1346 (delta 936)
Ricezione degli oggetti: 100% (3584/3584), 1.71 MiB | 510.00 KiB/s, done.
Risoluzione dei delta: 100% (2415/2415), done.
Checking connectivity... fatto.
==> Validazione dei sorgenti con sha512sums in corso...
ocrfeeder ... Ignorato
==> Estrazione dei sorgenti in corso...
-> Creazione di una copia di lavoro del repository ocrfeeder git in corso...
Cloning into 'ocrfeeder'...
fatto.
==> Avvio di pkgver() in corso...
==> Versione aggiornata: ocrfeeder-git 0.8-1
==> Avvio di build() in corso...
/usr/bin/gnome-autogen.sh
checking for automake >= 1.11.2...
testing automake... found 1.14.1
checking for autoreconf >= 2.53...
testing autoreconf... found 2.69
checking for glib-gettext >= 2.2.0...
testing glib-gettextize... found 2.42.0
checking for intltool >= 0.25...
testing intltoolize... found 0.50.2
checking for gnome-doc-utils >= 0.4.2...
testing gnome-doc-prepare... found 0.20.10
Checking for required M4 macros...
Processing ./configure.ac
Running glib-gettextize... Ignore non-fatal messages.
Copying file po/Makefile.in.in
Please add the files
codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
progtest.m4
from the /usr/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.
Running gnome-doc-prepare...
You should add the contents of '/usr/share/aclocal/gnome-doc-utils.m4' to 'aclocal.m4'.
Putting files in AC_CONFIG_MACRO_DIR, 'm4'.
Running intltoolize...
Running autoreconf...
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force --warnings=no-portability -I m4 ${ACLOCAL_FLAGS}
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force --warnings=no-portability
autoreconf: configure.ac: not using Autoheader
autoreconf: running: automake --add-missing --copy --force-missing --warnings=no-portability
configure.ac:48: installing './compile'
configure.ac:9: installing './install-sh'
configure.ac:9: installing './missing'
Makefile.am: installing './INSTALL'
src/ocrfeeder/Makefile.am:3: installing './py-compile'
autoreconf: Leaving directory `.'
Running ./configure --enable-maintainer-mode PYTHON=python2 ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
checking whether python2 version is >= 2.5... yes
checking for python2 version... 2.7
checking for python2 platform... linux2
checking for python2 script directory... ${prefix}/lib/python2.7/site-packages
checking for python2 extension module directory... ${exec_prefix}/lib/python2.7/site-packages
checking python2 module: enchant... yes
checking python2 module: sane... yes
checking python2 module: PIL... yes
checking python2 module: reportlab... yes
checking python2 module: gobject... yes
checking gobject introspection module Gtk... yes
checking gobject introspection module GooCanvas... no
configure: error: failed to find required GObject Introspection module GooCanvas
==> ERRORE: Si è verificato un errore in build().
L'operazione sta per essere interrotta...
with yaourt:
ocrfeeder-git 0.7.11.20.g22218bc-1 (gio 19 set 2013, 16.13.18, CEST)
( Pacchetto non supportato: Potenzialmente pericoloso! )
==> Modificare PKGBUILD [S/n] ("A" per annullare)
==> ----------------------------------------------
==> n
==> Dipendenze di ocrfeeder-git
- python2-pyenchant (già installato)
- pygoocanvas (già installato)
- python2-gtkspell (già installato)
- python2-imaging (già installato)
- python2-lxml (già installato)
- python2-reportlab (già installato)
- ghostscript (già installato)
- unpaper (già installato)
- sane (già installato)
- desktop-file-utils (già installato)
- intltool (già installato)
- gnome-doc-utils (già installato)
- gnome-common (già installato)
==> Modificare ocrfeeder.install [S/n] ("A" per annullare)
==> -------------------------------------------------------
==> n
==> Continuare la compilazione di ocrfeeder-git [S/n]
==> -------------------------------------------------
==>
==> Compilazione e installazione del pacchetto
==> Creazione del pacchetto: ocrfeeder-git 0.7.11.20.g22218bc-1 (mar 18 nov 2014, 18.53.10, CET)
==> Controllo delle dipendenze durante l'avvio in corso...
==> Controllo delle dipendenze durante la compilazione in corso...
==> Download dei sorgenti in corso...
-> Clonazione del repository ocrfeeder git in corso...
Clone nel repository spoglio '/tmp/yaourt-tmp-pippo/aur-ocrfeeder-git/ocrfeeder'...
remote: Counting objects: 3584, done.
remote: Compressing objects: 100% (2578/2578), done.
remote: Total 3584 (delta 2414), reused 1346 (delta 936)
Ricezione degli oggetti: 100% (3584/3584), 1.71 MiB | 556.00 KiB/s, done.
Risoluzione dei delta: 100% (2414/2414), done.
Checking connectivity... fatto.
==> Validazione dei sorgenti con sha512sums in corso...
ocrfeeder ... Ignorato
==> Estrazione dei sorgenti in corso...
-> Creazione di una copia di lavoro del repository ocrfeeder git in corso...
Cloning into 'ocrfeeder'...
fatto.
==> Avvio di pkgver() in corso...
==> Versione aggiornata: ocrfeeder-git 0.8-1
==> Avvio di build() in corso...
/usr/bin/gnome-autogen.sh
checking for automake >= 1.11.2...
testing automake... found 1.14.1
checking for autoreconf >= 2.53...
testing autoreconf... found 2.69
checking for glib-gettext >= 2.2.0...
testing glib-gettextize... found 2.42.0
checking for intltool >= 0.25...
testing intltoolize... found 0.50.2
checking for gnome-doc-utils >= 0.4.2...
testing gnome-doc-prepare... found 0.20.10
Checking for required M4 macros...
Processing ./configure.ac
Running glib-gettextize... Ignore non-fatal messages.
Copying file po/Makefile.in.in
Please add the files
codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
progtest.m4
from the /usr/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.
Running gnome-doc-prepare...
You should add the contents of '/usr/share/aclocal/gnome-doc-utils.m4' to 'aclocal.m4'.
Putting files in AC_CONFIG_MACRO_DIR, 'm4'.
Running intltoolize...
Running autoreconf...
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force --warnings=no-portability -I m4 ${ACLOCAL_FLAGS}
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force --warnings=no-portability
autoreconf: configure.ac: not using Autoheader
autoreconf: running: automake --add-missing --copy --force-missing --warnings=no-portability
configure.ac:48: installing './compile'
configure.ac:9: installing './install-sh'
configure.ac:9: installing './missing'
Makefile.am: installing './INSTALL'
src/ocrfeeder/Makefile.am:3: installing './py-compile'
autoreconf: Leaving directory `.'
Running ./configure --enable-maintainer-mode PYTHON=python2 ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
checking whether python2 version is >= 2.5... yes
checking for python2 version... 2.7
checking for python2 platform... linux2
checking for python2 script directory... ${prefix}/lib/python2.7/site-packages
checking for python2 extension module directory... ${exec_prefix}/lib/python2.7/site-packages
checking python2 module: enchant... yes
checking python2 module: sane... yes
checking python2 module: PIL... yes
checking python2 module: reportlab... yes
checking python2 module: gobject... yes
checking gobject introspection module Gtk... yes
checking gobject introspection module GooCanvas... no
configure: error: failed to find required GObject Introspection module GooCanvas
==> ERRORE: Si è verificato un errore in build().
L'operazione sta per essere interrotta...
==> ERRORE: Makepkg non è riuscito a compilare ocrfeeder-git.
==> Riavviare la compilazione di ocrfeeder-git [s/N]
==> ------------------------------------------------
==>
$ pacman -Q|grep canvas
goocanvas1 1.0.0-3
pygoocanvas 0.14.1-6
EDIT:
SOLVED:
# pacman -S goocanvas
Last edited by quellen (2014-11-18 18:02:18)VCS PKGBUILDs need to include the VCS type at the end of the pkgname. In this case your package should be named "wifiz-git".
Here's an updated version of your PKGBUILD:
# Maintainer: Cody Dostal <[email protected]>
pkgname=wifiz-git
_gitname=WiFiz
pkgver=0.9.2.2.r1.g8147a9f
pkgrel=1
pkgdesc="NetCTL GUI Frontend, written in wxPython. Stable Version."
arch=('any')
url="https://github.com/codywd/$_gitname"
license=('MIT')
depends=('python2' 'wxpython' 'wireless_tools' 'netctl' 'wpa_supplicant')
makedepends=('git')
optdepends=('gedit: manually edit profiles')
conflicts=('wifiz' 'wifiz-nightly')
provides=('wifiz')
source=("git://github.com/codywd/$_gitname.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_gitname"
git describe --always --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
package() {
cd "$srcdir/$_gitname"
python2 setup.py install --root="$pkgdir/" --optimize=1
Note the following changes:
pkgname
conflicts with "wifiz" (all VCS packages should provide and conflict with their non-VCS equivalents)
removed redundant echo and shell invocation from pkgver function
"$srcdir/$_gitname" instead of "$_gitname" in pkgver function: the git repo will not be in the same directory if the user sets SRCDIR in makepkg.conf -
[SOLVED] Pacman's "Depends On" field
When I query how much space firefox is going to take and what its dependencies are I get a list and a value which are very different from what I get when I actually try to install it. Can somebody please explain why is it like that?
[lex@gaia ~]$ pacman -Si firefox
Depends On : xulrunner=1.9.2.8 desktop-file-utils
Optional Deps : None
Conflicts With : None
Replaces : None
Download Size : 771.98 K
Installed Size : 3628.00 K
[lex@gaia ~]$ sudo pacman -S firefox
Password:
resolving dependencies...
looking for inter-conflicts...
Targets (4): mozilla-common-1.4-1 mime-types-1.0-3 xulrunner-1.9.2.8-1 firefox-3.6.8-1
Total Download Size: 16.09 MB
Total Installed Size: 83.33 MB
Last edited by archguest (2010-08-09 14:28:55)karol wrote:
archguest wrote:
Thanks guys, I understood that. What I wonder about is what use is "depends on" line if it does not show recursive dependencies? Is there a reason to why it doesn't?
The way it is now I can't tell how much is going to be installed and what until I try to install the package.
There are some tools that attempt to do that, but if you're so smart, tell me, would you count xulrunner as a firefox dependency if you already have it installed as a dependency for another package? There were similar discussions on the forums and there may be some similar feature requests in the bug tracker.
Nowadays people may have sh*tty cpus, so they prefer binary-based distro to a source-based one. They may have not that mush RAM, so they like lightweight apps, but most people have enough of harddrive space to simply install the thing, try it out and keep it if they like it - not because it's small, but because it works for them.
With due respect but I find your language offensive. I didn't say that I am smart and I did not even challenge the way things are. I asked *why* they are the way they are.
In answer to your question, xulrunner is a dependency because without it firefox won't run. Maybe what I am looking for is not a list of first-order dependencies for a package but a list of packages to be downloaded and installed with the package. In the context of your question, xulrunner would not be on that list as it already is installed.
I agree with you about the disk space. The disk space is not my concern. I just wanted to know why pacman does not display what packages will be downloaded and installed before I actually run install (as a root).
Despite I have not received an answer to my question, I now begin to think it was a design decision. I wonder if having this information displayed in addition to what pacman -Si already displays would be useful. The rationale would be that it is not reasonable to su or sudo just to find out how many packages need to be downloaded and installed to get some package working.
Last edited by archguest (2010-08-08 14:08:05) -
[Solved in GIT]xmms2 error when trying to play *.wma files
Hi - I just installed xmms2 and find it to fit my needs pretty well. I'm not able to make it play wma files though.
Here's the relevant section from xmms2d.log
--- Starting new xmms2d ---
INFO: ../src/xmms/log.c:49: Initialized logging system :)
08:09:39 INFO: ../src/xmms/ipc.c:874: IPC listening on 'unix:///tmp/xmms-ipc-user'.
08:09:39 ERROR: ../src/xmms/plugin.c:375: Failed to open plugin /usr/lib/xmms2/libxmms_mpg123.so: libmpg123.so.0: cannot open shared object file: No such file or directory
08:09:40 ERROR: ../src/xmms/plugin.c:375: Failed to open plugin /usr/lib/xmms2/libxmms_pulse.so: libpulse.so.0: cannot open shared object file: No such file or directory
08:09:40 ERROR: ../src/xmms/plugin.c:313: Setup function failed for plugin 'DAAP access plugin'!
params.c:OpenConfFile() - Unable to open configuration file "/home/user/.smb/smb.conf":
No such file or directory
params.c:OpenConfFile() - Unable to open configuration file "/home/user/.smb/smb.conf.append":
No such file or directory
08:09:41 INFO: ../src/xmms/main.c:563: Using output plugin: alsa
codec type or id mismatches
08:10:51 ERROR: ../src/xmms/xform.c:1453: Couldn't set up chain for 'file:///home/user/music/seu+jorge-life+aquatic+soundtrack/02+Life+on+Mars-.wma' (1231)
08:10:51 ERROR: ../src/xmms/xform.c:1453: Couldn't set up chain for 'file:///home/user/music/seu+jorge-life+aquatic+soundtrack/03+Starman.wma' (1232)
08:11:17 INFO: ../src/xmms/log.c:55: Logging says bye bye :)
and the output from pacman -Qi xmms2:
Name : xmms2
Version : 0.7DrNo-4
URL : http://xmms2.xmms.org/
Licenses : LGPL
Groups : None
Provides : None
Depends On : sqlite3 libmad
Optional Deps : alsa-lib: ALSA audio output
boost: C++ language bindings
curl: play HTTP streams
faad2: AAC support
ffmpeg: WMA, avcodec & avformat support
fftw: calculations for visualization
flac: FLAC support
jack-audio-connection-kit: JACK audio output
libao: liboa audio output
libofa: MusicDNS fingerprinting
libmms: play MMS streams
libmodplug: to play MOD files
libmpcdec: Musepack support
libsamplerate: vocoder support
libshout: Icecast audio output
libvorbis: Ogg Vorbis support
libxml2: XSPF and podcast support
mpg123: alternative MP3 plugin
oss: OSS audio output
perl: Perl language bindings
pulseaudio: PulseAudio audio output
pyrex: Python language bindings
ruby: Ruby language bindings
smbclient: direct CIFS/SMB access
speex: Speex support
wavpack: WavPack support
Required By : ccx2 lxmusic
Conflicts With : xmms2-devel
Replaces : None
Installed Size : 4724.00 K
Packager : Andrea Scarpino <[email protected]>
Architecture : i686
Build Date : Sun 11 Apr 2010 03:16:12 IST
Install Date : Mon 26 Apr 2010 20:23:53 IST
Install Reason : Explicitly installed
Install Script : Yes
Description : complete rewrite of the popular music player
I have ffmpeg installed :
> pacman -Qs | grep ffmpeg
local/ffmpeg 22837-2
local/ffmpegthumbnailer 2.0.0-4
The files in question play wo problems with mplayer and vlc.
Any ideas ?
Last edited by choubi (2010-04-28 13:20:25)Seems it is an upstream problem - see http://bugs.xmms2.xmms.se/view.php?id=2332
Think I will wait until they get it fixed. -
[SOLVED] libgcrypt-git
Hello,
I'm maintaining gnupg-git AUR package. A nice beta of gnupg development branch has just arrived today that brings experimental support for Ed25519 ECC for signature. However for encryption support a patched libgcrypt is required. I tried to put together a PKGBUILD to build libgcrypt based upon the git version but it fails towards the end on the doc section.
Would someone be kind enough to try to fix it?
# $Id$
# Maintainer: Andreas Radke <[email protected]>
_gitname=libgcrypt
pkgname=libgcrypt-git
pkgver=1.6.0+83+gf14fb5b
pkgrel=1
pkgdesc="General purpose cryptographic library based on the code from GnuPG"
arch=(i686 x86_64)
url="http://www.gnupg.org"
license=('LGPL')
depends=('libgpg-error>=1.10-2')
makedepends=('git' 'automake-1.11')
provides=("libgcrypt=${pkgver}")
conflicts=('libgcrypt')
install=${pkgname}.install
source=("git://git.gnupg.org/libgcrypt.git")
sha1sums=('SKIP')
pkgver() {
cd "$_gitname"
git describe --tags | sed 's/libgcrypt-//;s/-/+/g'
build() {
cd "$_gitname"
AUTOMAKE_SUFFIX="-1.11" ./autogen.sh --force
./configure --prefix=/usr \
--disable-static \
--disable-padlock-support
make
package() {
cd "$_gitname"
make DESTDIR=${pkgdir} install
Here is the error message I am getting:
make[2]: Leaving directory '/home/alpha/PERSO/GIT-REPOS/arch-packages/NOTDONEYET/libgcrypt-git/src/libgcrypt/src'
Making all in doc
make[2]: Entering directory '/home/alpha/PERSO/GIT-REPOS/arch-packages/NOTDONEYET/libgcrypt-git/src/libgcrypt/doc'
fig2dev -L eps `test -f 'libgcrypt-modules.fig' || echo './'`libgcrypt-modules.fig libgcrypt-modules.eps
fig2dev -L eps `test -f 'fips-fsm.fig' || echo './'`fips-fsm.fig fips-fsm.eps
fig2dev -L png `test -f 'libgcrypt-modules.fig' || echo './'`libgcrypt-modules.fig libgcrypt-modules.png
fig2dev -L png `test -f 'fips-fsm.fig' || echo './'`fips-fsm.fig fips-fsm.png
fig2dev -L pdf `test -f 'libgcrypt-modules.fig' || echo './'`libgcrypt-modules.fig libgcrypt-modules.pdf
fig2dev -L pdf `test -f 'fips-fsm.fig' || echo './'`fips-fsm.fig fips-fsm.pdf
make all-am
make[3]: Entering directory '/home/alpha/PERSO/GIT-REPOS/arch-packages/NOTDONEYET/libgcrypt-git/src/libgcrypt/doc'
restore=: && backupdir=".am$$" && \
am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \
rm -rf $backupdir && mkdir $backupdir && \
if (/bin/sh /home/alpha/PERSO/GIT-REPOS/arch-packages/NOTDONEYET/libgcrypt-git/src/libgcrypt/build-aux/missing --run makeinfo --version) >/dev/null 2>&1; then \
for f in gcrypt.info gcrypt.info-[0-9] gcrypt.info-[0-9][0-9] gcrypt.i[0-9] gcrypt.i[0-9][0-9]; do \
if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
done; \
else :; fi && \
cd "$am__cwd"; \
if /bin/sh /home/alpha/PERSO/GIT-REPOS/arch-packages/NOTDONEYET/libgcrypt-git/src/libgcrypt/build-aux/missing --run makeinfo -I . \
-o gcrypt.info gcrypt.texi; \
then \
rc=0; \
CDPATH="${ZSH_VERSION+.}:" && cd .; \
else \
rc=$?; \
CDPATH="${ZSH_VERSION+.}:" && cd . && \
$restore $backupdir/* `echo "./gcrypt.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
gcrypt.texi:4: @include: could not find version.texi
gcrypt.texi:12: warning: undefined flag: VERSION
gcrypt.texi:12: warning: undefined flag: UPDATED
gcrypt.texi:58: warning: undefined flag: VERSION
gcrypt.texi:59: warning: undefined flag: UPDATED
Makefile:370: recipe for target 'gcrypt.info' failed
make[3]: *** [gcrypt.info] Error 1
make[3]: Leaving directory '/home/alpha/PERSO/GIT-REPOS/arch-packages/NOTDONEYET/libgcrypt-git/src/libgcrypt/doc'
Makefile:328: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/alpha/PERSO/GIT-REPOS/arch-packages/NOTDONEYET/libgcrypt-git/src/libgcrypt/doc'
Makefile:411: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/alpha/PERSO/GIT-REPOS/arch-packages/NOTDONEYET/libgcrypt-git/src/libgcrypt'
Makefile:342: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Thanks
alphazo
Last edited by alphazo (2014-06-07 19:32:10)Please let me know if the following works for you. You can verify the changes with a diff. Here's a summary of what I did:
1) pkgver=1.7
This is because although the git describe says we're 1.6.something, the output from the ./configure says it's actually 1.7. This matters, in my opinion.
2) Removed pkgver() for reason mentioned above
3) depends=('libgpg-error>=1.13-1')
When I compiled, outside of the Arch Build System, I had trouble with compiling libgcrypt without having a high enough version of libgpg-error. You may find that this is not needed, and that requirement can be relaxed at your discretion.
4) Configure invocation: --enable-maintainer-mode --with-capabilities
We're Arch, so we're definitely Linux, so configure with Linux capabilities. I have no idea what this means, but why not enable it, right? Enabling maintainer mode is apparently required to get the doc portion to build correctly. Not sure why.
5) make -j
Who only has one core anyway?
5) Added check()
Since libgcrypt and gnupg 2.1 are still unstable, we should always run the test suite.
# $Id$
# Maintainer: Andreas Radke <[email protected]>
# Contributor: Adrian Cohea <[email protected]>
_gitname=libgcrypt
pkgname=libgcrypt-git
pkgver=1.7
pkgrel=1
pkgdesc="General purpose cryptographic library based on the code from GnuPG"
arch=(i686 x86_64)
url="http://www.gnupg.org"
license=('LGPL')
depends=('libgpg-error>=1.13-1')
makedepends=('git' 'automake-1.11')
provides=("libgcrypt=${pkgver}")
conflicts=('libgcrypt')
install=${pkgname}.install
source=("git://git.gnupg.org/libgcrypt.git")
sha1sums=('SKIP')
build() {
cd "$_gitname"
AUTOMAKE_SUFFIX="-1.11" ./autogen.sh --force
./configure --prefix=/usr --enable-maintainer-mode --with-capabilities --disable-static --disable-padlock-support
make -j
check() {
cd "$_gitname"
make check
package() {
cd "$_gitname"
make DESTDIR=${pkgdir} install -
[SOLVED] sbcl-git PKGBUILD
I'm trying to write a sbcl-git PKGBUILD so people can circumvent some sbcl bugs and install stumpwm-git, here's my attempt thus far which fails miserably.
Edit: solved, big thanks to acieroid who provided the pkgbuild:
http://aur.archlinux.org/packages.php?ID=45922
Last edited by drot (2011-01-30 20:39:05)It currently looks like this:
# Maintainer: Gerardo Marset <[email protected]>
pkgname=lci-git
pkgver=20110413
pkgrel=1
pkgdesc="A simple and fast 1.2 lolcode interpreter written in C."
arch=('i686' 'x86_64')
url="http://icanhaslolcode.org/"
license=('GPL3')
makedepends=('git')
provides=('lci')
conflicts=('lci')
_gitroot="https://github.com/justinmeza/lci.git"
_gitname="lci"
build() {
cd "$srcdir"
msg "Connecting to GIT server...."
if [ -d $_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot $_gitname
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
rm -rf "$srcdir/$_gitname-build"
git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
cd "$srcdir/$_gitname-build"
make
make check
install -Dm755 lci ${pkgdir}/usr/bin/lci -
[SOLVED] [kernel26zen-git] Unable to build kernel
Hi!
I am unable to sucessfully build the kernel26zen-git package.
I am using the stable version, master branch.
Error is:
==> Building kernel and modules...
scripts/kconfig/conf -s arch/x86/Kconfig
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CC arch/x86/kernel/asm-offsets.s - due to target missing
In file included from include/linux/module.h:18:0,
from include/linux/crypto.h:21,
from arch/x86/kernel/asm-offsets_64.c:8,
from arch/x86/kernel/asm-offsets.c:4:
include/linux/tracepoint.h: In function 'tracepoint_synchronize_unregister':
include/linux/tracepoint.h:80:2: error: implicit declaration of function 'synchronize_sched'
make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
==> ERROR: Failed... Your source tree might be broken. Run 'make mrproper' in src/kernel26zen-stable to clean it up
Aborting...
I already tried the "make mrproper", building it without any modifications to "config" and googleing for the problem.
Anyone got a clue?
EDIT: Okay, I was searching with the wrong keywords. I searched for
include/linux/tracepoint.h:80:2: error: implicit declaration of function 'synchronize_sched'
and found this thread.
Going to try this out.
EDIT 2: What can I say? It worked.
EDIT 3: Another Thread with the solution
PS: What about this "RCU"? What does it do and why does the "classic RCU" not work?
Last edited by akurei (2010-10-05 19:39:30)ChoK wrote:It seems like you need lib32-jack and the maintainer of lib32-portaudio forgot to add it to makedepends/depends
Iv'e got lib32-jack already installed. And by reading the comments of the AUR link to the package ( lib32-portaudio ) they supposedly fixed the PKGBUILD too. -
[SOLVED]Slim and gdm questions
Hi all,
I just installed slim cause I wanted to try something new and faster than gdm login manager for gnome, I have it working right now but with a few hiccups:
1- I login using slim, but after I am logged in the system if I lock the screen, the gdm login shows (instead of the slim one)
2- System bootup is a LOT slower, after I login the system stays with just the background for a few seconds, then loads the desktop.
So, here are my questions:
a) If I remove gdm will I have this same issues? maybe the increased boot time is because I have 2 login managers installed?
b) I disabled the gdm daemon from rc.conf (put a ! before it), should I remove it from there completely? because apparently it is still loading.
Also I dont know much about login managers so I wanted a little enlightenment in this matter.
regards and thanks in advance
Last edited by 655321 (2010-06-13 20:57:35)BKLive
Here is the info:
slim.conf
# Path, X server and arguments (if needed)
# Note: -xauth $authfile is automatically appended
default_path ./:/bin:/usr/bin:/usr/local/bin
default_xserver /usr/bin/X
xserver_arguments -nolisten tcp vt07
# Commands for halt, login, etc.
halt_cmd /sbin/shutdown -h now
reboot_cmd /sbin/shutdown -r now
console_cmd /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
#suspend_cmd /usr/sbin/suspend
# Full path to the xauth binary
xauth_path /usr/bin/xauth
# Xauth file for server
authfile /var/run/slim.auth
# Activate numlock when slim starts. Valid values: on|off
# numlock on
# Hide the mouse cursor (note: does not work with some WMs).
# Valid values: true|false
# hidecursor false
# This command is executed after a succesful login.
# you can place the %session and %theme variables
# to handle launching of specific commands in .xinitrc
# depending of chosen session and slim theme
# NOTE: if your system does not have bash you need
# to adjust the command according to your preferred shell,
# i.e. for freebsd use:
# login_cmd exec /bin/sh - ~/.xinitrc %session
login_cmd exec /bin/bash -login ~/.xinitrc %session
# Commands executed when starting and exiting a session.
# They can be used for registering a X11 session with
# sessreg. You can use the %user variable
# sessionstart_cmd some command
# sessionstop_cmd some command
# Start in daemon mode. Valid values: yes | no
# Note that this can be overriden by the command line
# options "-d" and "-nodaemon"
# daemon yes
# Available sessions (first one is the default).
# The current chosen session name is replaced in the login_cmd
# above, so your login command can handle different sessions.
# see the xinitrc.sample file shipped with slim sources
sessions xfce4,icewm,wmaker,blackbox
# Executed when pressing F11 (requires imagemagick)
screenshot_cmd import -window root /slim.png
# welcome message. Available variables: %host, %domain
welcome_msg Welcome to %host
# Session message. Prepended to the session name when pressing F1
# session_msg Session:
# shutdown / reboot messages
shutdown_msg The system is halting...
reboot_msg The system is rebooting...
# default user, leave blank or remove this line
# for avoid pre-loading the username.
#default_user simone
# Focus the password field on start when default_user is set
# Set to "yes" to enable this feature
#focus_password no
# Automatically login the default user (without entering
# the password. Set to "yes" to enable this feature
#auto_login no
# current theme, use comma separated list to specify a set to
# randomly choose from
#current_theme default
current_theme archlinux-darch-white
# Lock file
lockfile /var/lock/slim.lock
# Log file
logfile /var/log/slim.log
~/.xinitrc:
#!/bin/sh
# ~/.xinitrc
# Executed by startx (run your window manager from here)
# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
#exec xterm
setxkbmap -option terminate:ctrl_alt_bksp
exec ck-launch-session gnome-session
Regarding whats runs at bootup, I guess you want to see my daemons array in rc.conf, here it is:
DAEMONS=(syslog-ng dbus hal network netfs crond alsa @cups slim !gdm)
Notice gdm is disabled.
Also, would you advice to reinstall gdm? removing it didnt do anything for the problem im experiencing.
thanks for the help -
[SOLVED]OSS4 and lib32 question
Well... I'm thinking about installing arch64 on my new notebook with some lib32 packages and in the wiki I noticed the for sound in 32bit application is needed lib32-alsa. In case I use oss4 is there something else needed for using sound in 32 bit applications?
Also a quiestion: I noticed that if arch=i686 the oss-linux-free package compiles libflashsupport.so and puts it in /usr/lib/. Will I have sound in flashplugin wiht oss4 if that step is not complited.
The PKGBUILD:
pkgname=oss-linux-free
pkgver=4.0_1016
pkgrel=1
_realname=oss-v4.0-build1016-src-gpl
pkgdesc="OSS/Open source driver"
arch=('i686' 'x86_64')
url="http://www.opensound.com/"
license=('GPL2')
depends=('gcc' 'make' 'gtk2' 'libtool' 'bc' 'sed')
makedepends=('gawk' 'pkgconfig')
conflicts=('oss-linux')
provides=('oss')
install=oss.install
source=(rc.oss-linux-free http://www.4front-tech.com/developer/sources/stable/gpl/$_realname.tar.bz2)
md5sums=('f343bb70a4dbd1aabefabbea0f76e886'
'b8c3409b477387dbe87118caf46773ed')
build() {
rm -rf build ; mkdir build ; cd build
sed -i "s|export HAVE_ALSA=1|# export HAVE_ALSA=1|g" $srcdir/$_realname/configure
sed -i "s|700|755|g" $srcdir/$_realname/setup/Linux/build.sh
unset CFLAGS
$srcdir/$_realname/configure || return 1
make build || return 1
cp -r prototype/{etc,usr} $pkgdir/
install -Dm755 ../rc.oss-linux-free $pkgdir/etc/rc.d/oss-linux-free
if [ `uname -m` == "i686" ]; then
cd setup/Linux/oss/lib
gcc -m32 -shared -fPIC -O2 -Wall -Werror -lssl flashsupport.c -o libflashsupport.so || return 1
cp libflashsupport.so $pkgdir/usr/lib/oss/lib/
fi
NVM I sticked to the chroot approach and I have no trouble with oss4 audio output.
Last edited by Dheart (2008-07-16 10:13:13)Yes, I have PHP5.2.5 and Apache 2.2
But I have solved the problem. It was with windows. Under windows explorer --> tools --> Folder Options --> view tab. Uncheck the Hide extensions for known file types. This fixed my problem
Thank you all for taking time to help me.
Thank you very much
Message was edited by:
pransuj -
[SOLVED] video card support question
Hi Everyone,
I need to get my dad a new pc with a simple (newbee) linux distro on it and I was thinking of something like mint. He has been using Ubuntu the last 2 years but for some reasons we want to switch. I'm a very satisfied arch user but this is way over his head.
I'm looking for a system without windows and found something with the following specs:
Cardreaders 3,5" Spire 51-in-1 zwart
Processor AM3 AMD Athlon2 X2 255 65W 3.10GHz / BOX
Motherboard Biostar AM3 N68S3+ V/S/L/µATX/DDR3
RAM 2048MB DDR3/1333 Kingston CL9
Graphics 5450 ATI HIS HD 5450 Silence VGA/DVI/HDMI/GDDR3 1024MB
HDD 500GB Samsung HD502HJ SATA/16MB/7200rpm
Housing Codegen P6232-A11 460 Watt / zwart-zilver
DVD-Burner Samsung SH-222AB 22x SATA / bulk / zwart
DVD-player Sony Optiarc 18x/48x SATA / bulk / zwart
I'm somewhat worried about the graphics card and after browsing the forums I can't get a satisfying answer whether the card will work with or without problems if at all. Can anyone help out or give some advise?
Thanx a bunch.
Last edited by billy-bones (2011-06-10 22:30:53)billy-bones wrote:
karol wrote:
billy-bones wrote:He is not going to do any heavy gaming and such.
So why do you need 1 GB RAM card?
He want's do edit video's and work more intensively with multimedia.
I would suggest getting some more RAM.
https://bbs.archlinux.org/viewtopic.php … 97#p934697
Maybe you can ask mhertz some specific questions as he seems to have a 5450 too. Judging from this one post the situation doesn't seem bad. -
[Solved] Avidemux-git fails to compile
I looked for a fresh update to the latest avidemux compilation. I got this while attempting to make the package:
[ 80%] Building CXX object ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/CMakeFiles/ADM_coreLibVA6.dir/ADM_coreLibVA.cpp.o
/tmp/yaourt-tmp-myself/aur-avidemux-2.6-git/src/avidemux/avidemux_core/ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/ADM_coreLibVA.cpp: In static member function ‘static VASurfaceID admLibVA::allocateSurface(int, int)’:
/tmp/yaourt-tmp-myself/aur-avidemux-2.6-git/src/avidemux/avidemux_core/ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/ADM_coreLibVA.cpp:365:89: error: invalid conversion from ‘int’ to ‘VASurfaceID* {aka unsigned int*}’ [-fpermissive]
CHECK_ERROR(vaCreateSurfaces(ADM_coreLibVA::display,w,h,VA_RT_FORMAT_YUV420,1,&s));
^
/tmp/yaourt-tmp-myself/aur-avidemux-2.6-git/src/avidemux/avidemux_core/ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/ADM_coreLibVA.cpp:57:32: note: in definition of macro ‘CHECK_ERROR’
#define CHECK_ERROR(x) {xError=x;displayXError(#x,ADM_coreLibVA::display,xError);}
^
/tmp/yaourt-tmp-myself/aur-avidemux-2.6-git/src/avidemux/avidemux_core/ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/ADM_coreLibVA.cpp:365:89: error: invalid conversion from ‘VASurfaceID* {aka unsigned int*}’ to ‘unsigned int’ [-fpermissive]
CHECK_ERROR(vaCreateSurfaces(ADM_coreLibVA::display,w,h,VA_RT_FORMAT_YUV420,1,&s));
^
/tmp/yaourt-tmp-myself/aur-avidemux-2.6-git/src/avidemux/avidemux_core/ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/ADM_coreLibVA.cpp:57:32: note: in definition of macro ‘CHECK_ERROR’
#define CHECK_ERROR(x) {xError=x;displayXError(#x,ADM_coreLibVA::display,xError);}
^
/tmp/yaourt-tmp-myself/aur-avidemux-2.6-git/src/avidemux/avidemux_core/ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/ADM_coreLibVA.cpp:365:89: error: too few arguments to function ‘VAStatus vaCreateSurfaces(VADisplay, unsigned int, unsigned int, unsigned int, VASurfaceID*, unsigned int, VASurfaceAttrib*, unsigned int)’
CHECK_ERROR(vaCreateSurfaces(ADM_coreLibVA::display,w,h,VA_RT_FORMAT_YUV420,1,&s));
^
/tmp/yaourt-tmp-myself/aur-avidemux-2.6-git/src/avidemux/avidemux_core/ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/ADM_coreLibVA.cpp:57:32: note: in definition of macro ‘CHECK_ERROR’
#define CHECK_ERROR(x) {xError=x;displayXError(#x,ADM_coreLibVA::display,xError);}
^
In file included from /tmp/yaourt-tmp-myself/aur-avidemux-2.6-git/src/avidemux/avidemux_core/ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/../include/ADM_coreLibVA.h:28:0,
from /tmp/yaourt-tmp-myself/aur-avidemux-2.6-git/src/avidemux/avidemux_core/ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/ADM_coreLibVA.cpp:17:
/usr/include/va/va.h:792:1: note: declared here
vaCreateSurfaces(
^
make[2]: *** [ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/CMakeFiles/ADM_coreLibVA6.dir/ADM_coreLibVA.cpp.o] Errore 1
make[1]: *** [ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/CMakeFiles/ADM_coreLibVA6.dir/all] Errore 2
make: *** [all] Errore 2
I'll point this at avidemux forum, in case isn't caused by package making.
Last edited by TheSaint (2013-08-28 13:22:44)I'ved the same error.
I resolved it for the r3392 version :
I said N for recompilation
in the file /tmp/yaourt-tmp-$USER/aur-avidemux-2.6-git/src/avidemux/avidemux_core/ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/ADM_coreLibVA.cpp
i replaced
CHECK_ERROR(vaCreateSurfaces(ADM_coreLibVA::display,w,h,VA_RT_FORMAT_YUV420,1,&s));
by
VASurfaceAttrib attrib_list;
unsigned int num_attribs;
CHECK_ERROR(vaCreateSurfaces(ADM_coreLibVA::display,VA_RT_FORMAT_YUV420,w,h,&s,1,&attrib_list,num_attribs));
in the file /tmp/yaourt-tmp-christophe/aur-avidemux-2.6-git/src/avidemux/avidemux_plugins/ADM_videoEncoder/libva/ADM_libvaEncoder.cpp
i replaced
if(!vaSurface.fromAdmImage(image))
by
if(!vaSurface->fromAdmImage(image))
then i typed :
makepkg -e && makepkg -i
That's it!
Enjoy !!!
Last edited by japama (2013-08-06 09:58:07) -
[SOLVED] Audacious won't start
audacious
WARNING: Audacious seems to be already running but is not responding.
(audacious:1810): Gtk-CRITICAL **: _gtk_css_section_to_string: assertion `section != NULL' failed
** (audacious:1810): WARNING **: Can't load fallback CSS resource: (null)Failed to import: The resource at '/org/gnome/adwaita/gtk-fallback.css' does not exist
(audacious:1810): Gtk-CRITICAL **: _gtk_css_section_to_string: assertion `section != NULL' failed
** (audacious:1810): WARNING **: Can't load fallback CSS resource: (null)Failed to import: The resource at '/org/gnome/adwaita/gtk-fallback.css' does not exist
(bootstrap.c:60) [mowgli_init]: mowgli_init() is a deprecated function, provided only for backwards compatibility with Mowgli-1. You should remove it if you no longer support using Mowgli-1.
[1] 1810 segmentation fault (core dumped) audacious
Audacious is not running, or it's not in the process list.
The GTK errors surely won't start it from running, as other GTK apps display that but they still work too. Seems something is going wrong with mowgli, which I have reinstalled.
Just rebooted and tried again, now it's an abort error not a segfault:
audacious
WARNING: Audacious seems to be already running but is not responding.
(audacious:786): Gtk-CRITICAL **: _gtk_css_section_to_string: assertion `section != NULL' failed
** (audacious:786): WARNING **: Can't load fallback CSS resource: (null)Failed to import: The resource at '/org/gnome/adwaita/gtk-fallback.css' does not exist
(audacious:786): Gtk-CRITICAL **: _gtk_css_section_to_string: assertion `section != NULL' failed
** (audacious:786): WARNING **: Can't load fallback CSS resource: (null)Failed to import: The resource at '/org/gnome/adwaita/gtk-fallback.css' does not exist
(bootstrap.c:60) [mowgli_init]: mowgli_init() is a deprecated function, provided only for backwards compatibility with Mowgli-1. You should remove it if you no longer support using Mowgli-1.
GLib-GObject:ERROR:gtype.c:1991:type_iface_vtable_base_init_Wm: assertion failed: (iface->data && entry && entry->vtable == NULL && iholder && iholder->info)
[1] 786 abort (core dumped) audacious
EDIT: Now this is getting weird. I have steam on my PC, and I went and played TF2 for a few minutes, took a screenshot, then exited the game. I'm now getting the audacious errors in STEAM's console output. WHAT.
SDL video target is 'x11'
SDL video target is 'x11'
SDL failed to create GL compatibility profile (whichProfile=0!
This system supports the OpenGL extension GL_EXT_framebuffer_object.
This system supports the OpenGL extension GL_EXT_framebuffer_blit.
This system supports the OpenGL extension GL_EXT_framebuffer_multisample.
This system DOES NOT support the OpenGL extension GL_APPLE_fence.
This system supports the OpenGL extension GL_NV_fence.
This system supports the OpenGL extension GL_ARB_sync.
This system supports the OpenGL extension GL_EXT_draw_buffers2.
This system supports the OpenGL extension GL_EXT_bindable_uniform.
This system DOES NOT support the OpenGL extension GL_APPLE_flush_buffer_range.
This system supports the OpenGL extension GL_ARB_map_buffer_range.
This system supports the OpenGL extension GL_ARB_vertex_buffer_object.
This system supports the OpenGL extension GL_ARB_occlusion_query.
This system DOES NOT support the OpenGL extension GL_APPLE_texture_range.
This system DOES NOT support the OpenGL extension GL_APPLE_client_storage.
This system DOES NOT support the OpenGL extension GL_ARB_uniform_buffer.
This system supports the OpenGL extension GL_ARB_vertex_array_bgra.
This system supports the OpenGL extension GL_EXT_vertex_array_bgra.
This system supports the OpenGL extension GL_ARB_framebuffer_object.
This system DOES NOT support the OpenGL extension GL_GREMEDY_string_marker.
This system supports the OpenGL extension GL_ARB_debug_output.
This system supports the OpenGL extension GL_EXT_direct_state_access.
This system DOES NOT support the OpenGL extension GL_NV_bindless_texture.
This system DOES NOT support the OpenGL extension GL_AMD_pinned_memory.
This system supports the OpenGL extension GL_EXT_framebuffer_multisample_blit_scaled.
This system supports the OpenGL extension GL_EXT_texture_sRGB_decode.
This system supports the OpenGL extension GL_NVX_gpu_memory_info.
This system DOES NOT support the OpenGL extension GL_ATI_meminfo.
This system supports the OpenGL extension GL_EXT_texture_compression_s3tc.
This system supports the OpenGL extension GLX_EXT_swap_control_tear.
GL_NV_bindless_texture: DISABLED
GL_AMD_pinned_memory: DISABLED
GL_EXT_texture_sRGB_decode: AVAILABLE
Installing breakpad exception handler for appid(gameoverlayui)/version(20121214145418_client)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0_client)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0_client)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0_client)
[1219/184327:WARNING:proxy_service.cc(646)] PAC support disabled because there is no system implementation
Using breakpad crash handler
Setting breakpad minidump AppID = 440
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Installing breakpad exception handler for appid(440)/version(5148_client)
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Steam_SetMinidumpSteamID: Caching Steam ID: 76561197989209372 [API loaded yes]
Steam_SetMinidumpSteamID: Setting Steam ID: 76561197989209372
ConVarRef m_rawinput doesn't point to an existing ConVar
GL_NVX_gpu_memory_info: AVAILABLE
GL_ATI_meminfo: UNAVAILABLE
GL_NVX_gpu_memory_info: Total Dedicated: 1047872, Total Avail: 1048576, Current Avail: 838248
GL_MAX_SAMPLES_EXT: 32
(process:1091): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
[1219/184328:ERROR:resource_bundle.cc(411)] Failed to load /media/F/steam4linux/Steam/SteamApps/briandam8/Team Fortress 2/cef_gtk.pak
Some features may not be available.
[1219/184328:WARNING:proxy_service.cc(646)] PAC support disabled because there is no system implementation
CShaderDeviceMgrBase::GetRecommendedConfigurationInfo: CPU speed: 3701 MHz, Processor: GenuineIntel
GlobalMemoryStatus: 4294967295
CShaderDeviceMgrBase::GetRecommendedConfigurationInfo: CPU speed: 3701 MHz, Processor: GenuineIntel
GlobalMemoryStatus: 4294967295
IDirect3DDevice9::Create: BackBufWidth: 1920, BackBufHeight: 1080, D3DFMT: 3, BackBufCount: 1, MultisampleType: 0, MultisampleQuality: 0
Loaded program cache file "glbaseshaders.cfg", total keyvalues: 266, total successfully linked: 266
Loaded program cache file "glshaders.cfg", total keyvalues: 596, total successfully linked: 596
Precache: Took 4507 ms, Vertex 1000, Pixel 2124
Game.so loaded for "Team Fortress"
Installing breakpad exception handler for appid(hl2_linux)/version(1.0_client)
Installing breakpad exception handler for appid(hl2_linux)/version(1.0_client)
Game update: AppID 440 "Team Fortress 2", ProcID 1091, IP 196.38.180.26:27015
warning: Unknown nb_ctl request: 4
warning: Unknown nb_ctl request: 4
warning: Unknown nb_ctl request: 4
warning: Unknown nb_ctl request: 4
warning: Unknown nb_ctl request: 4
warning: Unknown nb_ctl request: 4
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0_client)
Installing breakpad exception handler for appid(steam)/version(1355789024_client)
Installing breakpad exception handler for appid(steam)/version(1355789024_client)
Game removed: AppID 440 "Team Fortress 2", ProcID 1091
saving roaming config store to 'sharedconfig.vdf'
roaming config store 2 saved successfully
WARNING: Audacious seems to be already running but is not responding.
(audacious:1163): Gtk-CRITICAL **: _gtk_css_section_to_string: assertion `section != NULL' failed
** (audacious:1163): WARNING **: Can't load fallback CSS resource: (null)Failed to import: The resource at '/org/gnome/adwaita/gtk-fallback.css' does not exist
(audacious:1163): Gtk-CRITICAL **: _gtk_css_section_to_string: assertion `section != NULL' failed
** (audacious:1163): WARNING **: Can't load fallback CSS resource: (null)Failed to import: The resource at '/org/gnome/adwaita/gtk-fallback.css' does not exist
(bootstrap.c:60) [mowgli_init]: mowgli_init() is a deprecated function, provided only for backwards compatibility with Mowgli-1. You should remove it if you no longer support using Mowgli-1.
GLib-GObject:ERROR:gtype.c:1991:type_iface_vtable_base_init_Wm: assertion failed: (iface->data && entry && entry->vtable == NULL && iholder && iholder->info)
WARNING: Audacious seems to be already running but is not responding.
(audacious:1181): Gtk-CRITICAL **: _gtk_css_section_to_string: assertion `section != NULL' failed
** (audacious:1181): WARNING **: Can't load fallback CSS resource: (null)Failed to import: The resource at '/org/gnome/adwaita/gtk-fallback.css' does not exist
(audacious:1181): Gtk-CRITICAL **: _gtk_css_section_to_string: assertion `section != NULL' failed
** (audacious:1181): WARNING **: Can't load fallback CSS resource: (null)Failed to import: The resource at '/org/gnome/adwaita/gtk-fallback.css' does not exist
(bootstrap.c:60) [mowgli_init]: mowgli_init() is a deprecated function, provided only for backwards compatibility with Mowgli-1. You should remove it if you no longer support using Mowgli-1.
GLib-GObject:ERROR:gtype.c:1991:type_iface_vtable_base_init_Wm: assertion failed: (iface->data && entry && entry->vtable == NULL && iholder && iholder->info)
WARNING: Audacious seems to be already running but is not responding.
(audacious:1198): Gtk-CRITICAL **: _gtk_css_section_to_string: assertion `section != NULL' failed
** (audacious:1198): WARNING **: Can't load fallback CSS resource: (null)Failed to import: The resource at '/org/gnome/adwaita/gtk-fallback.css' does not exist
(audacious:1198): Gtk-CRITICAL **: _gtk_css_section_to_string: assertion `section != NULL' failed
** (audacious:1198): WARNING **: Can't load fallback CSS resource: (null)Failed to import: The resource at '/org/gnome/adwaita/gtk-fallback.css' does not exist
(bootstrap.c:60) [mowgli_init]: mowgli_init() is a deprecated function, provided only for backwards compatibility with Mowgli-1. You should remove it if you no longer support using Mowgli-1.
GLib-GObject:ERROR:gtype.c:1991:type_iface_vtable_base_init_Wm: assertion failed: (iface->data && entry && entry->vtable == NULL && iholder && iholder->info)
WARNING: Audacious seems to be already running but is not responding.
(audacious:1215): Gtk-CRITICAL **: _gtk_css_section_to_string: assertion `section != NULL' failed
** (audacious:1215): WARNING **: Can't load fallback CSS resource: (null)Failed to import: The resource at '/org/gnome/adwaita/gtk-fallback.css' does not exist
(audacious:1215): Gtk-CRITICAL **: _gtk_css_section_to_string: assertion `section != NULL' failed
** (audacious:1215): WARNING **: Can't load fallback CSS resource: (null)Failed to import: The resource at '/org/gnome/adwaita/gtk-fallback.css' does not exist
(bootstrap.c:60) [mowgli_init]: mowgli_init() is a deprecated function, provided only for backwards compatibility with Mowgli-1. You should remove it if you no longer support using Mowgli-1.
GLib-GObject:ERROR:gtype.c:1991:type_iface_vtable_base_init_Wm: assertion failed: (iface->data && entry && entry->vtable == NULL && iholder && iholder->info)
It seems to display that error every time I click the "Show on disk" button on the screenshot manager.
Something is very broken.
Last edited by biltong (2012-12-19 18:39:49)Well changing back to my normal theme after starting audacious works. So that's a plus. I still don't get how it affected steam.
Or reinstalling it worked, because now Audacious is starting fine with my normal theme. This is really strange.
Okay I figured out why the errors were showing up in steam. For some reason, steam tries to open audacious as my file manager instead of nemo.
Last edited by biltong (2012-12-19 18:39:33) -
Hello Friends,
I have question regarding Finance datasource in R/3 source system.
If I want to independantly activate 0FI_GL_4 datasource in source system, Does it necessary to also activate FI-AR and FI-AP datasources.
Theoreticallly is should not be required, But technically is there any dependancies exists to activate 0FI_GL_4.
Thanks,
John.No there is no dependancies, but in the future if you want AP and AR then there is as you want to keep the 3 in sync with each other, otherwise the reports will be missing leading to users.
http://help.sap.com/saphelp_nw04/helpdata/en/57/dd153c4eb5d82ce10000000a114084/frameset.htm
Maybe you are looking for
-
Is it possible to upload non-numeric data into Planning from ODI?
Dear All, I have problem to upload non-numeric data into planning? Regards, Thomas
-
11.1.1.4.0 Install Error: soa-infra PathLengthException
Doing a fresh install of SOA Suite 11.1.1.4.0 on Windows XP following guidance provided in quickstartguidesoasuite11gr1ps3-313245.pdf verbatim. Get the following error when starting the SOA domain for the first time: <Mar 17, 2011 10:39:10 AM CDT> <E
-
.jpg.jpg When exporting & other issues
I guess something changed in iPhoto 08. It used to be when I imported from my camera, I would change the name of a photo from 1213231.jpg to cat.jpg. Then when I exported to a folder on my Mac it would export cat.jpg. Now if I rename and I export it,
-
What is the best practice in order to create flow in a single maintenance plan?
Hi All, What is the best practice in order to create flow in a single maintenance plan. 1st Check Database Integrity (Check DB) 2nd Rebuild Index or 1st Rebuild Index 2nd Check Database Integrity (Check DB) Grateful to your time and support. Regard
-
HT1212 What can I do when my Sleep/Wake button is broken and I have forgotten my password?
What can I do when my Sleep/Wake button is broken and I have forgotten my password? Also the Find my iPhone app is on and I can't get in to my phone to shut it.