Alsa pkg *git
Hello,
I was serching the web to find a solution for a sound problem.
However, a treat says that I need the following alsa driver or higher - Version 1.0.20-git20090806.
I didn't find a *git-version in the repos.
#pacman -Qs alsa
local/alsa-lib 1.0.21.a-1
An alternative implementation of Linux sound support
local/alsa-oss 1.0.17-1
OSS compatibility library
local/alsa-utils 1.0.21-1
An alternative implementation of Linux sound support
I've version 21 but what does the "git" in 1.0.20-git20090806 mean, respectively is the git package another package or is only the name different to my package?
Thank you!
clementis
Anybody an idea if the arch alsa pkg (alsa-lib 1.0.21.a-1) and the pkg named alsa-driver.git on the alsa website are the same?
http://www.alsa-project.org/main/index.php/GIT_Server
Thx - clementis
Similar Messages
-
the package git in the official repositories is giving this error when I install.
:: File /var/cache/pacman/pkg/git-1.8.4.2-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
It first checks every server and gives a 404 error.
Is this the right place to post? please respond soon, this sounds either to me like a major problem, or i've done something stupid
Thanks for the help
Last edited by Corky98 (2013-12-07 18:34:22)What command did you run?
Please update your system, the current git version is 1.8.5.1-1 https://www.archlinux.org/packages/?name=git
Edit: Make sure your mirrorlist is up to date.
Last edited by karol (2013-12-07 18:39:14) -
(solved) Can't install snd-aloop on kernel 2.6.35
Hi
On my hda-intel soundcard I have no mixing option to record my soundcard's output.
I got round this by using the snd-aloop module as advised - https://bbs.archlinux.org/viewtopic.php?id=97598
To install the snd-aloop module you have to get the alsa-driver source file and compile with
./configure --with-cards=loopback
make
This worked fine on kernel 2.6.32/33/34
But on the latest kernel (.35) I get an error:-
make -C /lib/modules/2.6.35-ARCH/build SUBDIRS=/usr/src/alsa-driver-1.0.23 CPP="gcc -E" CC="gcc" modules
make[1]: Entering directory `/usr/src/linux-2.6.35-ARCH'
CC [M] /usr/src/alsa-driver-1.0.23/acore/memory_wrapper.o
CC [M] /usr/src/alsa-driver-1.0.23/acore/memalloc.o
CC [M] /usr/src/alsa-driver-1.0.23/acore/sgbuf.o
CC [M] /usr/src/alsa-driver-1.0.23/acore/pcm.o
CC [M] /usr/src/alsa-driver-1.0.23/acore/pcm_native.o
/usr/src/alsa-driver-1.0.23/acore/pcm_native.c: In function 'snd_pcm_hw_params':
/usr/src/alsa-driver-1.0.23/acore/pcm_native.c:489:2: error: implicit declaration of function 'pm_qos_remove_requirement'
/usr/src/alsa-driver-1.0.23/acore/pcm_native.c:492:3: error: implicit declaration of function 'pm_qos_add_requirement'
make[3]: *** [/usr/src/alsa-driver-1.0.23/acore/pcm_native.o] Error 1
make[2]: *** [/usr/src/alsa-driver-1.0.23/acore] Error 2
make[1]: *** [_module_/usr/src/alsa-driver-1.0.23] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.35-ARCH'
make: *** [compile] Error 2
I am using alsa-driiver 1.0.23 - does anyone have any hints ?
Thanks
Last edited by yossarianuk (2010-08-20 23:14:01)Hi,
you could add
static inline void remove_acceptable_latency(char *name)
static inline void set_acceptable_latency(char *name, s32 value)
to the beginning of include/pm_qos_params_compat.h
#include <pm_qos_params_compat.h>
to the includes of acore/pcm_native.c
and touch /include/linux/latency.h
It compiles, but I can't say if it works, seems to be broken;)
Real fixes have been commited to git (git clone git://git.alsa-project.org/alsa-driver.git alsa-driver)
Last edited by DIDI2002 (2010-08-20 16:46:55) -
[SOLVED]I'd like to remove them but...
Hello,guys:
I just wrote a tiny script to remove the packages that were installed as dependencies but are no longer
required by any installed package.However, it always complained to me for some reasons:
my script:
#!/bin/bash
pkg=$(pacman -Qdt|gawk '{ printf "%s ", $1; }')
test -n $pkg
if [ $? = 0 ];then
echo I will remove $pkg
sudo pacman -Rs $pkg
else
echo DO NOT NEED TO REMOVE ANYTHING!
fi
and it complained:
./abs.sh: line 3: test: git: binary operator expected
DO NOT NEED TO REMOVE ANYTHING!
P.S.:
[justin@YZMSQ Desktop]$ pacman -Qdt
git 1.7.0.3-1
phonon 4.4.0-1
What's wrong with my code?I need your help,please.:D
Last edited by YZMSQ (2010-03-30 09:42:47)Put the $pkg into "" so it would expand to a string. ( test -n "$pkg" )
At the moment the shell thinks of your line as this: ( pkg="git 1.7.0.3-1 phonon 4.4.0-1" )
test -n git 1.7.0.3-1 phonon 4.4.0-1
( 3 extra arguments: "1.7.0.3-1", "phonon" and "4.4.0-1" )
With the little change above it would be like:
test -n "git 1.7.0.3-1 phonon 4.4.0-1" -
Xgl-git-20061214-1.pkg.tar.gz corrupted
the archive itself is corrupted, and pacman says
error: archive xgl-git-20061214-1.pkg.tar.gz is corrupted
from danimoth's server i686
it's not my connection because i've tried pacman -Syu a couple of times, deleting the 'corrupted' package in between from /var/cache/pacman/pkg/xgl-git...
the archive itself doesn't extract with a tar -xf anyways, so either I'm stupid, or the package wasn't zipped properly.
vogtsame problem here
-
SOLUTION: Fixed in latest pulseaudio. Build from latest git, or use AUR.
I've just installed Arch following the beginner's guide, managing to get an up to date system, Xorg working with Awesome, and positive results with systemd. My next goal was basic audio and video.
I installed Alsa, added myself to the audio group, tested the playback and recording with arecord and aplay, no problems.
I installed mplayer2, which pulled `libpulse=0.9.22-2` as a dependency.
Mplayer2 did not work. It looked like it had something to do with pulseaudio, but I didn't look too hard before removing mplayer2 and libpulse.
Installed pulseaudio, pavucontrol, paprefs, avahi. I want to use mplayer2, but mostly I want pulseaudio for its own merits, especially its network transparency. I'm also hoping it fixes a skype problem.
Tried running `pulseaudio --start`, but it fails returning this error:
[jake@clyde pkg]$ pulseaudio --start
pulseaudio: symbol lookup error: /usr/lib/libpulsecommon-0.9.22.so: undefined symbol: STRING
Here's also a snippet of strace, I can post the full log if it would help.
[jake@clyde ~]$ strace -f pulseaudio --start
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\r\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=16064, ...}) = 0
mmap2(NULL, 18804, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6e91000
mmap2(0xb6e95000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3) = 0xb6e95000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6e90000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6e8f000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6e8e000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb6e8e700, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb7038000, 311296, PROT_READ|PROT_WRITE) = 0
mprotect(0xb7038000, 311296, PROT_READ|PROT_EXEC) = 0
mprotect(0xb7099000, 4096, PROT_READ) = 0
mprotect(0xb70b2000, 4096, PROT_READ) = 0
mprotect(0xb7242000, 8192, PROT_READ) = 0
mprotect(0xb7270000, 4096, PROT_READ) = 0
mprotect(0xb7275000, 4096, PROT_READ) = 0
mprotect(0xb727f000, 4096, PROT_READ) = 0
mprotect(0xb729d000, 4096, PROT_READ) = 0
mprotect(0xb72e8000, 4096, PROT_READ) = 0
writev(2, [{"pulseaudio", 10}, {": ", 2}, {"symbol lookup error", 19}, {": ", 2}, {"/usr/lib/libpulsecommon-0.9.22.s"..., 33}, {": ", 2}, {"undefined symbol: STRING", 24}, {"", 0}, {"", 0}, {"\n", 1}], 10pulseaudio: symbol lookup error: /usr/lib/libpulsecommon-0.9.22.so: undefined symbol: STRING
) = 93
exit_group(127) = ?
Hope someone can point me in the right direction. I'm liking Arch so far. It feels like Slackware, but without the dependency hell!
Last edited by djeikyb (2011-06-23 20:51:22)rickeyski wrote:
I know there is an issue with pulse and xcb-util 3.8, taken from the awesome-git aur page
http://sources.gentoo.org/cgi-bin/viewv … threv=HEAD
Gentoo's Bugzilla
http://bugs.gentoo.org/show_bug.cgi?id=364965
Thank you for this find! Your links have been mentioned in the awesome-git AUR page:
http://aur.archlinux.org/packages.php?ID=13916 -
[solved] How to source a specific commit in a Git package?
Hi there,
I wonder whether it is possible to use a certain Git commit in the source array of a package.
Example:
freshplayerplugin-git
For debugging purposes I would like to use the commit
8ff0bd0282205802c482c7d47f216feb0d3394a9
I tried the following in the source array and it successfully built the package:
source=('git://github.com/i-rinat/freshplayerplugin.git#commit=8ff0bd0282205802c482c7d47f216feb0d3394a9')
However, I have no idea how to detect whether it actually built from the specific commit or just skipped the #commit appending.
Does anyone know how to source a specific commit?
Thanks ahead!
Last edited by orschiro (2014-07-17 11:21:17)Correct syntax for Git repository as a source would be:
source=('git+https://<repo-url>#[commit|tag|branch]=<ref>')
To verify it's building correct tree, and moreover to keep sane when dealing with multiple trees I like following pkgver (check https://wiki.archlinux.org/index.php/VC … Guidelines):
pkgver() {
cd "$srcdir/<repo-name>"
printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
producing something like:
<package-name-git>-r4.34e558d-1-any.pkg.tar.xz
Also just going to fetched Git tree and checking out what's there is an option (look for makepkg branch), for example:
$ git show-ref
34e558d2ef8b2cae212da3ab3f74513a99f9ee1b refs/heads/makepkg
86350ab5a3a209de4339ef04d75d27c7bd399746 refs/heads/master
86350ab5a3a209de4339ef04d75d27c7bd399746 refs/remotes/origin/HEAD
86350ab5a3a209de4339ef04d75d27c7bd399746 refs/remotes/origin/master
Last edited by mkoskar (2014-07-17 09:13:11) -
[SOLVED] ALSA firmware not loading properly with kernel 3.8.6-1
Hi All,
I have a E-MU 1820 card + breakout box that have been working beautiful under Archlinux for years but now something happen.
It still work OK under windows (dual boot same computer).
Normally during boot all indicators on the breakout box blink and then only thin show is clock setting indicator. But now all the indicators still blink but instead it is a -12 dB indicator that light up and not the clock settings and no sound.
dmesg show following.
[christer@Arch ~]$ dmesg | grep emu
[ 5.269612] emu1010: Special config.
[ 5.269731] emu1010: EMU_HANA_ID = 0x7f
[ 5.274685] emu1010: firmware file = emu/hana.fw, size = 0x133a4
[ 13.465727] emu1010: Hana Firmware loaded
[ 13.465776] emu1010: Hana version: 3.4
[ 13.465864] emu1010: Card options = 0x0
[ 13.465888] emu1010: Card options = 0x0
[ 13.466379] emu1010: Card options3 = 0x0
[ 14.486723] emu1010: Loading Audio Dock Firmware
[ 16.477785] emu1010: EMU_HANA+DOCK_IRQ_STATUS = 0x36
[ 16.477809] emu1010: EMU_HANA+DOCK_ID = 0x55
[ 16.477809] emu1010: Audio Dock Firmware loaded
[christer@Arch ~]$
aplay -l looks like it did before.
[christer@Arch ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: EMU1010 [E-mu 1010 [MAEM8810]], device 0: emu10k1 [ADC Capture/Standard PCM Playback]
Subdevices: 32/32
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
Subdevice #8: subdevice #8
Subdevice #9: subdevice #9
Subdevice #10: subdevice #10
Subdevice #11: subdevice #11
Subdevice #12: subdevice #12
Subdevice #13: subdevice #13
Subdevice #14: subdevice #14
Subdevice #15: subdevice #15
Subdevice #16: subdevice #16
Subdevice #17: subdevice #17
Subdevice #18: subdevice #18
Subdevice #19: subdevice #19
Subdevice #20: subdevice #20
Subdevice #21: subdevice #21
Subdevice #22: subdevice #22
Subdevice #23: subdevice #23
Subdevice #24: subdevice #24
Subdevice #25: subdevice #25
Subdevice #26: subdevice #26
Subdevice #27: subdevice #27
Subdevice #28: subdevice #28
Subdevice #29: subdevice #29
Subdevice #30: subdevice #30
Subdevice #31: subdevice #31
card 0: EMU1010 [E-mu 1010 [MAEM8810]], device 2: emu10k1 efx [Multichannel Capture/PT Playback]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 0: EMU1010 [E-mu 1010 [MAEM8810]], device 3: emu10k1 [Multichannel Playback]
Subdevices: 1/1
Subdevice #0: subdevice #0
[christer@Arch ~]$
lsmod
[christer@Arch ~]$ lsmod | grep emu
snd_emu10k1 140245 1
snd_util_mem 2403 1 snd_emu10k1
snd_hwdep 6428 1 snd_emu10k1
snd_ac97_codec 113456 1 snd_emu10k1
snd_rawmidi 18831 1 snd_emu10k1
snd_seq_device 5268 5 snd_seq,snd_rawmidi,snd_seq_oss,snd_emu10k1,snd_seq_dummy
snd_pcm 78146 3 snd_pcm_oss,snd_ac97_codec,snd_emu10k1
snd_page_alloc 7426 2 snd_pcm,snd_emu10k1
snd_timer 18934 3 snd_pcm,snd_seq,snd_emu10k1
snd 60156 13 snd_pcm_oss,snd_ac97_codec,snd_hwdep,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_seq_oss,snd_emu10k1,snd_seq_device,snd_mixer_oss
[christer@Arch ~]$
From what I can see all looks OK, like it did when it worked, but something is not at it should.
Any thoughts or ideas about what might have happen or how to progress in troubleshooting.
All input most welcome.
I found info describing problem with firmware loading, but it is over my head.
http://git.kernel.org/cgit/linux/kernel … 54cf7008ab
Output from Aadebug ( http://alsa.opensrc.org/Aadebug )
[christer@Arch ~]$ ./alsadebug
ALSA Audio Debug v0.2.0 - Fri Apr 12 20:46:05 CEST 2013
http://alsa.opensrc.org/aadebug
http://www.gnu.org/licenses/agpl-3.0.txt
Kernel ----------------------------------------------------
Linux Arch 3.8.6-1-ARCH #1 SMP PREEMPT Sat Apr 6 07:27:01 CEST 2013 x86_64 GNU/Linux
Advanced Linux Sound Architecture Driver Version k3.8.6-1-ARCH.
Loaded Modules --------------------------------------------
snd_emu10k1 139271 2
snd_util_mem 2339 1 snd_emu10k1
snd_hwdep 6364 1 snd_emu10k1
snd_pcm_oss 38511 0
snd_mixer_oss 14995 1 snd_pcm_oss
snd_ac97_codec 112216 1 snd_emu10k1
snd_seq_dummy 1463 0
snd_seq_oss 29098 0
snd_seq_midi_event 5660 1 snd_seq_oss
snd_rawmidi 18742 1 snd_emu10k1
snd_seq 49946 5 snd_seq_midi_event,snd_seq_oss,snd_seq_dummy
snd_seq_device 5180 5 snd_seq,snd_rawmidi,snd_seq_oss,snd_emu10k1,snd_seq_dummy
snd_pcm 76956 4 snd_pcm_oss,snd_ac97_codec,snd_emu10k1
snd_page_alloc 7298 2 snd_pcm,snd_emu10k1
snd_timer 18687 3 snd_pcm,snd_seq,snd_emu10k1
snd 58893 14 snd_pcm_oss,snd_ac97_codec,snd_hwdep,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_seq_oss,snd_emu10k1,snd_seq_device,snd_mixer_oss
Proc Asound -----------------------------------------------
0 [EMU1010 ]: Audigy2 - E-mu 1010 [MAEM8810]
E-mu 1010 [MAEM8810] (rev.3, serial:0x40011102) at 0xd000, irq 19
1: : sequencer
2: [ 0- 0]: hardware dependent
3: [ 0- 1]: raw midi
4: [ 0- 0]: raw midi
5: [ 0- 3]: digital audio playback
6: [ 0- 2]: digital audio playback
7: [ 0- 2]: digital audio capture
8: [ 0- 1]: digital audio capture
9: [ 0- 0]: digital audio playback
10: [ 0- 0]: digital audio capture
11: [ 0] : control
33: : timer
00-00: EMU10K1 (FX8010)
00-00: emu10k1 : ADC Capture/Standard PCM Playback : playback 32 : capture 1
00-01: emu10k1 mic : Mic Capture : capture 1
00-02: emu10k1 efx : Multichannel Capture/PT Playback : playback 8 : capture 1
00-03: emu10k1 : Multichannel Playback : playback 1
Client info
cur clients : 3
peak clients : 3
max clients : 192
Client 0 : "System" [Kernel]
Port 0 : "Timer" (Rwe-)
Port 1 : "Announce" (R-e-)
Connecting To: 15:0
Client 14 : "Midi Through" [Kernel]
Port 0 : "Midi Through Port-0" (RWe-)
Client 15 : "OSS sequencer" [Kernel]
Port 0 : "Receiver" (-we-)
Connected From: 0:1
Client 16 : "E-mu 1010 [MAEM8810]" [Kernel]
Port 0 : "Audigy MPU-401 (UART)" (RWeX)
Port 32 : "Audigy MPU-401 #2" (RWeX)
Client 17 : "Emu10k1 WaveTable" [Kernel]
Port 0 : "Emu10k1 Port 0" (-We-)
Port 1 : "Emu10k1 Port 1" (-We-)
Port 2 : "Emu10k1 Port 2" (-We-)
Port 3 : "Emu10k1 Port 3" (-We-)
Dev Snd ---------------------------------------------------
total 0
drwxr-xr-x 2 root root 60 Apr 12 20:42 by-path
crw-rw----+ 1 root audio 116, 11 Apr 12 20:42 controlC0
crw-rw----+ 1 root audio 116, 2 Apr 12 20:42 hwC0D0
crw-rw----+ 1 root audio 116, 12 Apr 12 20:46 hwC0D2
crw-rw----+ 1 root audio 116, 4 Apr 12 20:42 midiC0D0
crw-rw----+ 1 root audio 116, 3 Apr 12 20:42 midiC0D1
crw-rw----+ 1 root audio 116, 13 Apr 12 20:46 midiC0D2
crw-rw----+ 1 root audio 116, 14 Apr 12 20:46 midiC0D3
crw-rw----+ 1 root audio 116, 10 Apr 12 20:42 pcmC0D0c
crw-rw----+ 1 root audio 116, 9 Apr 12 20:43 pcmC0D0p
crw-rw----+ 1 root audio 116, 8 Apr 12 20:42 pcmC0D1c
crw-rw----+ 1 root audio 116, 7 Apr 12 20:42 pcmC0D2c
crw-rw----+ 1 root audio 116, 6 Apr 12 20:42 pcmC0D2p
crw-rw----+ 1 root audio 116, 5 Apr 12 20:42 pcmC0D3p
crw-rw----+ 1 root audio 116, 1 Apr 12 20:42 seq
crw-rw----+ 1 root audio 116, 33 Apr 12 20:42 timer
CPU -------------------------------------------------------
model name : Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
cpu MHz : 2000.000
model name : Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
cpu MHz : 2000.000
RAM -------------------------------------------------------
MemTotal: 4051696 kB
SwapTotal: 51196 kB
Hardware --------------------------------------------------
01:00.0 VGA compatible controller: NVIDIA Corporation G94 [GeForce 9600 GT] (rev a1)
05:01.0 Multimedia audio controller: Creative Labs SB Audigy (rev 03)
Interupts -------------------------------------------------
CPU0 CPU1
0: 48 0 IO-APIC-edge timer
1: 1 1 IO-APIC-edge i8042
6: 1 2 IO-APIC-edge floppy
8: 0 1 IO-APIC-edge rtc0
9: 0 0 IO-APIC-fasteoi acpi
12: 4 1 IO-APIC-edge i8042
16: 529 493 IO-APIC-fasteoi uhci_hcd:usb1, pata_jmicron, nvidia
18: 10654 10645 IO-APIC-fasteoi uhci_hcd:usb3, ehci_hcd:usb4, uhci_hcd:usb8, firewire_ohci, i801_smbus
19: 3621 3626 IO-APIC-fasteoi uhci_hcd:usb7, snd_emu10k1
21: 0 0 IO-APIC-fasteoi uhci_hcd:usb2
23: 0 0 IO-APIC-fasteoi ehci_hcd:usb5, uhci_hcd:usb6
44: 7637 7652 PCI-MSI-edge ahci
45: 11719 11736 PCI-MSI-edge eth0
NMI: 47 47 Non-maskable interrupts
LOC: 49551 45081 Local timer interrupts
SPU: 0 0 Spurious interrupts
PMI: 47 47 Performance monitoring interrupts
IWI: 0 0 IRQ work interrupts
RTR: 0 0 APIC ICR read retries
RES: 28730 28313 Rescheduling interrupts
CAL: 94 54 Function call interrupts
TLB: 3503 3509 TLB shootdowns
TRM: 0 0 Thermal event interrupts
THR: 0 0 Threshold APIC interrupts
MCE: 0 0 Machine check exceptions
MCP: 1 1 Machine check polls
ERR: 0
MIS: 0
[christer@Arch ~]$
output from systemctl show somw inacive sound related sevices.
alsa-restore.service loaded inactive dead Restore Sound Card State
alsa-store.service loaded inactive dead Store Sound Card State
auditd.service error inactive dead auditd.service
display-manager.service error inactive dead display-manager.service
dmeventd.service loaded inactive dead Device-mapper event daemon
emergency.service loaded inactive dead Emergency Shell
lvmetad.service loaded inactive dead LVM2 metadata daemon
plymouth-quit-wait.service error inactive dead plymouth-quit-wait.service
plymouth-start.service error inactive dead plymouth-start.service
rc-local-shutdown.service loaded inactive dead /etc/rc.local.shutdown Compatibility
rescue.service loaded inactive dead Rescue Shell
systemd-...console.service loaded inactive dead Dispatch Password Requests to Console
systemd-...rd-wall.service loaded inactive dead Forward Password Requests to Wall
systemd-fsck-root.service loaded inactive dead File System Check on Root Device
systemd-...e8ee844.service loaded inactive dead File System Check on /dev/disk/by-uuid/9751ee37-e769-4bbe-9436-2d8e5e8ee844
systemd-...ev-sda2.service loaded inactive dead File System Check on /dev/sda2
systemd-...ev-sda4.service loaded inactive dead File System Check on /dev/sda4
systemd-initctl.service loaded inactive dead /dev/initctl Compatibility Daemon
systemd-...l-flush.service loaded inactive dead Trigger Flushing of Journal to Persistent Storage
systemd-...ed-load.service loaded inactive dead Load Random Seed
systemd-...ed-save.service loaded inactive dead Save Random Seed
systemd-...ad-done.service loaded inactive dead Stop Read-Ahead Data Collection
systemd-shutdownd.service loaded inactive dead Delayed Shutdown Service
systemd-...s-clean.service loaded inactive dead Cleanup of Temporary Directories
systemd-...unlevel.service loaded inactive dead Update UTMP about System Runlevel Changes
systemd-...hutdown.service loaded inactive dead Update UTMP about System Shutdown
ypbind.service error inactive dead ypbind.service
emergency.target loaded inactive dead Emergency Mode
final.target loaded inactive dead Final Step
nss-lookup.target loaded inactive dead Host and Network Name Lookups
nss-user-lookup.target loaded inactive dead User and Group Name Lookups
remote-fs-pre.target loaded inactive dead Remote File Systems (Pre)
remote-fs-setup.target error inactive dead remote-fs-setup.target
rescue.target loaded inactive dead Rescue Mode
runlevel1.target error inactive dead runlevel1.target
runlevel2.target error inactive dead runlevel2.target
runlevel3.target error inactive dead runlevel3.target
runlevel4.target error inactive dead runlevel4.target
runlevel5.target error inactive dead runlevel5.target
shutdown.target loaded inactive dead Shutdown
syslog.target error inactive dead syslog.target
umount.target loaded inactive dead Unmount All Filesystems
All the best!
Christer
Last edited by agkbill (2013-04-15 18:41:03)Thank you mich41!
It looks like a kernel bug.
I downgraded to 3.7.10-1 then firmware loaded OK and I could play sounds.
Upgraded to 3.8.6-1 then the firmware fail to load.
Something looks not ok with 3.8.6-1.
Best regards,
Christer -
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 -
Video and audio not in sync (ALSA underrun occurred)
Hi, after a recent system upgrade (upgrade log here http://pastebin.com/1gRwexFr), video and sound are not in sync anymore. The problem occurs in mplayer instantly, and in XBMC after a while (the audio is slowly getting out of sync). The error message I get continuously in XBMC is "ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred". The error I get in mplayer is "[ac3 @ 0xf46b40]frame sync error" I did another system upgrade and the problem persists. I'm using Terratec Aureon 7.1 external sound card and linux 3.3.3-1-ARCH. I'm not using pulseaudio, just alsa.
EDIT: I downgraded (sudo pacman -U linux-3.2.13-1-x86_64.pkg.tar.xz linux-headers-3.2.13-1-x86_64.pkg.tar.xz linux-api-headers-3.1.6-1-x86_64.pkg.tar.xz dbus-1.4.16-1-x86_64.pkg.tar.xz dbus-core-1.4.16-1-x86_64.pkg.tar.xz glibc-2.15-7-x86_64.pkg.tar.xz) and the problem seems to be gone. I'm suspecting the kernel upgrade broke it..
Last edited by nawitus (2012-05-02 20:08:53)nawitus wrote:underrun occurred
See what buffer size you end up with. Start mplayer, and run:
cat /proc/asound/card0/pcm0p/sub0/hw_params -
Cannot record ingame sound with glc (-git)
I have a problem with recording ingame sound with some games with glc (well, glc-git). glc says, it can record sound from games, if they use alsa (or sdl and forcing sdl to use alsa). As long as I don't use pulseaudio, this shouldn't be a problem. But for some games, I can't get the sound recording to work. The 2 at the moment are:
FTL
Amnesia: The Dark Descent
I usually get a message like this:
[ 1.46s alsa_hook error ] 0xa8a8170: unsupported audio format 0x0e
[ 1.46s alsa_hook error ] 0xa8a8170: can't extract hardware configuration: Operation not supported (95)
I can record the game, but not the audio. If someone can help or test it, if it works for him, that might be nice. Or if someone knows a workaround or so. Or if someone can confirm, that there is no audio recording for those 2 games (but I actually don't wanna hear it... :-) ).
Also there are plenty of games, I got the audio recording to work with. You can see it in my youtube-channel: http://www.youtube.com/user/ChemBroTronNo1doorknob60 wrote:Do you use 64 bit? I don't have a copy of Amnesia downloaded right now, but if Amnesia is a 32 bit binary game, and you use 64 bit, you need to make sure you have the proper 32 bit libraries. lib32-glc will probably be enough.
That's not the issue, the problem is that some games are firing 32-bit float audio (0x0e type as indicated in the error) into ALSA through whatever means, and the standard GLC only supports 16, 24 and 32bit signed int audio. My fork above adds very rudimentary support for float.
Last edited by Darkimmortal (2012-12-02 01:13:35) -
Jackd - failed to open alsa seq
I did an update last night, and on reboot this morning jackd complains that it cannot open /dev/snd/seq due to Permission denied. I have already downgraded jackd to 0.118 to no avail - other noteworthy updates last night include the kernel & udev.
Here's the full output of jackd, followed by last night's additions to /var/log/pacman.log - any informed ideas would be appreciated.
12:17:41.391 Patchbay activated.
12:17:41.474 Statistics reset.
12:17:41.519 Could not open ALSA sequencer as a client. ALSA MIDI patchbay will be not available.
12:17:43.867 Startup script...
12:17:43.868 artsshell -q terminate
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: Permission denied
sh: artsshell: command not found
12:17:44.277 Startup script terminated with exit status=32512.
12:17:44.278 JACK is starting...
12:17:44.278 /usr/bin/jackd -P89 -dalsa -r44100 -p1024 -n2 -Xseq -D -Chw:1,0 -Phw:1,0
jackd 0.118.0
Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
Memory locking is unlimited - this is dangerous. You should probably alter the line:
@audio - memlock unlimited
in your /etc/limits.conf to read:
@audio - memlock 965454
12:17:44.302 JACK was started with PID=2221.
could not open driver .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory
JACK compiled with System V SHM support.
loading driver ..
apparent rate = 44100
creating alsa driver ... hw:1,0|hw:1,0|1024|2|44100|0|0|nomon|swmeter|-|32bit
control device hw:1
configuring for 44100Hz, period = 1024 frames (23.2 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 32bit integer little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 32bit integer little-endian
ALSA: use 2 periods for playback
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: Permission denied
failed to open alsa seq
ALSA: cannot attach midi: -13
12:17:46.508 JACK connection change.
12:17:46.510 Server configuration saved to "/home/mark/.jackdrc".
12:17:46.512 Statistics reset.
12:17:48.311 Client activated.
12:17:48.311 Post-startup script...
12:17:48.312 jack_connect system:capture_11 system:playback_3; jack_connect system:capture_12 system:playback_4
12:17:48.750 Post-startup script terminated successfully.
12:17:48.751 JACK active patchbay scan...
12:17:48.753 patch: system:capture_11 -> system:playback_3 checked.
12:17:48.754 patch: system:capture_12 -> system:playback_4 checked.
[2011-06-02 01:04] Running 'pacman -Sy'
[2011-06-02 01:04] synchronizing package lists
[2011-06-02 01:05] starting full system upgrade
[2011-06-02 01:07] Running 'pacman -S -u'
[2011-06-02 01:07] starting full system upgrade
[2011-06-02 01:24] upgraded acpid (2.0.10-1 -> 2.0.10-2)
[2011-06-02 01:24] upgraded jack (0.120.1-1 -> 0.120.2-1)
[2011-06-02 01:24] upgraded allegro (4.4.1.1-2 -> 4.4.2-1)
[2011-06-02 01:24] upgraded apr (1.4.4-1 -> 1.4.5-1)
[2011-06-02 01:24] upgraded apr-util (1.3.11-1 -> 1.3.12-1)
[2011-06-02 01:24] upgraded bluez (4.93-1 -> 4.93-2)
[2011-06-02 01:24] upgraded boost-libs (1.46.0-4 -> 1.46.1-1)
[2011-06-02 01:24] upgraded boost (1.46.0-4 -> 1.46.1-1)
[2011-06-02 01:24] upgraded nspr (4.8.7-1 -> 4.8.8-1)
[2011-06-02 01:24] upgraded nss (3.12.9-1 -> 3.12.10-1)
[2011-06-02 01:24] upgraded chromium (11.0.696.68-1 -> 11.0.696.71-1)
[2011-06-02 01:24] upgraded startup-notification (0.10-2 -> 0.12-1)
[2011-06-02 01:25] upgraded claws-mail (3.7.9-2 -> 3.7.9-3)
[2011-06-02 01:25] upgraded consolekit (0.4.4-1 -> 0.4.5-1)
[2011-06-02 01:25] upgraded deadbeef (0.5.0-2 -> 0.5.1-1)
[2011-06-02 01:25] upgraded glib2 (2.28.6-1 -> 2.28.7-1)
[2011-06-02 01:25] upgraded pango (1.28.4-2 -> 1.28.4-3)
[2011-06-02 01:25] upgraded gtk3 (3.0.9-2 -> 3.0.10-2)
[2011-06-02 01:25] upgraded libgnome-keyring (3.0.1-1 -> 3.0.3-1)
[2011-06-02 01:25] upgraded evince (3.0.0-4 -> 3.0.2-1)
[2011-06-02 01:25] upgraded flowcanvas (0.7.1-1 -> 0.7.1-2)
[2011-06-02 01:25] upgraded glew (1.5.8-1 -> 1.6.0-1)
[2011-06-02 01:25] upgraded glib-networking (2.28.6.1-2 -> 2.28.7-1)
[2011-06-02 01:25] upgraded gnome-keyring (3.0.2-1 -> 3.0.3-1)
[2011-06-02 01:25] upgraded gnome-mplayer (1.0.3-2 -> 1.0.3-3)
[2011-06-02 01:25] upgraded goffice (0.8.14-1 -> 0.8.15-1)
[2011-06-02 01:25] upgraded gnumeric (1.10.14-1 -> 1.10.15-1)
[2011-06-02 01:25] upgraded parted (2.3-1 -> 2.4-1)
[2011-06-02 01:25] upgraded gparted (0.8.0-2 -> 0.8.1-1)
[2011-06-02 01:25] upgraded gperf (3.0.4-2 -> 3.0.4-3)
[2011-06-02 01:25] upgraded gtksourceview3 (3.0.1-1 -> 3.0.3-1)
[2011-06-02 01:25] upgraded libsoup (2.34.1-1 -> 2.34.2-1)
[2011-06-02 01:25] upgraded libsoup-gnome (2.34.1-1 -> 2.34.2-1)
[2011-06-02 01:25] upgraded gvfs (1.8.1-1 -> 1.8.2-1)
[2011-06-02 01:25] ATTENTION UDEV:
[2011-06-02 01:25] ---------------
[2011-06-02 01:25] Kernel 2.6.32 or newer is now required.
[2011-06-02 01:25] OSS emulation modules are not loaded by default, add to rc.conf if needed.
[2011-06-02 01:25] Arch specific cd symlinks are now no longer created.
[2011-06-02 01:25] cd and net persistent rules will no longer be autogenerated,
[2011-06-02 01:25] see <https://wiki.archlinux.org/index.php/Udev> for details.
[2011-06-02 01:25] Errors are now logged (possibly to the console) by default.
[2011-06-02 01:25] ---------------
[2011-06-02 01:25] upgraded udev (168-2 -> 171-1)
[2011-06-02 01:25] upgraded upower (0.9.10-1 -> 0.9.11-1)
[2011-06-02 01:25] upgraded udisks (1.0.3-2 -> 1.0.3-3)
[2011-06-02 01:25] upgraded kdelibs (4.6.3-2 -> 4.6.3-3)
[2011-06-02 01:26] >>> Updating module dependencies. Please wait ...
[2011-06-02 01:26] >>> MKINITCPIO SETUP
[2011-06-02 01:26] >>> ----------------
[2011-06-02 01:26] >>> If you use LVM2, Encrypted root or software RAID,
[2011-06-02 01:26] >>> Ensure you enable support in /etc/mkinitcpio.conf .
[2011-06-02 01:26] >>> More information about mkinitcpio setup can be found here:
[2011-06-02 01:26] >>> http://wiki.archlinux.org/index.php/Mkinitcpio
[2011-06-02 01:26]
[2011-06-02 01:26] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
[2011-06-02 01:26] ==> Building image "default"
[2011-06-02 01:26] ==> Running command: /sbin/mkinitcpio -k 2.6.38-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
[2011-06-02 01:26] :: Begin build
[2011-06-02 01:26] :: Parsing hook [base]
[2011-06-02 01:26] :: Parsing hook [udev]
[2011-06-02 01:26] :: Parsing hook [autodetect]
[2011-06-02 01:26] :: Parsing hook [pata]
[2011-06-02 01:26] :: Parsing hook [scsi]
[2011-06-02 01:26] :: Parsing hook [sata]
[2011-06-02 01:26] :: Parsing hook [filesystems]
[2011-06-02 01:26] :: Generating module dependencies
[2011-06-02 01:26] :: Generating image '/boot/kernel26.img'...SUCCESS
[2011-06-02 01:26] ==> SUCCESS
[2011-06-02 01:26] ==> Building image "fallback"
[2011-06-02 01:26] ==> Running command: /sbin/mkinitcpio -k 2.6.38-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26-fallback.img -S autodetect
[2011-06-02 01:26] :: Begin build
[2011-06-02 01:26] :: Parsing hook [base]
[2011-06-02 01:26] :: Parsing hook [udev]
[2011-06-02 01:26] :: Parsing hook [pata]
[2011-06-02 01:26] :: Parsing hook [scsi]
[2011-06-02 01:27] :: Parsing hook [sata]
[2011-06-02 01:27] :: Parsing hook [filesystems]
[2011-06-02 01:27] :: Generating module dependencies
[2011-06-02 01:27] :: Generating image '/boot/kernel26-fallback.img'...SUCCESS
[2011-06-02 01:27] ==> SUCCESS
[2011-06-02 01:27] upgraded kernel26 (2.6.38.6-2 -> 2.6.38.7-1)
[2011-06-02 01:27] upgraded less (443-1 -> 443-2)
[2011-06-02 01:27] upgraded libass (0.9.11-1 -> 0.9.12-1)
[2011-06-02 01:27] upgraded libftdi (0.18-2 -> 0.19-1)
[2011-06-02 01:27] upgraded libjpeg-turbo (1.1.0-1 -> 1.1.1-1)
[2011-06-02 01:27] upgraded libmysqlclient (5.5.12-1 -> 5.5.13-1)
[2011-06-02 01:27] upgraded libpurple (2.7.11-3 -> 2.7.11-5)
[2011-06-02 01:27] upgraded libssh (0.4.8-1 -> 0.5.0-1)
[2011-06-02 01:27] upgraded libtorrent-rasterbar (0.15.6-1 -> 0.15.6-2)
[2011-06-02 01:27] upgraded mkinitcpio-busybox (1.18.2-1 -> 1.18.4-1)
[2011-06-02 01:27] upgraded neon (0.29.3-3 -> 0.29.6-1)
[2011-06-02 01:27] upgraded ntrack (1:13-1 -> 1:13-2)
[2011-06-02 01:27] upgraded pidgin (2.7.11-3 -> 2.7.11-5)
[2011-06-02 01:27] upgraded pkg-config (0.25-3 -> 0.26-1)
[2011-06-02 01:27] upgraded ruby (1.9.2_p180-1 -> 1.9.2_p180-2)
[2011-06-02 01:27] upgraded sox (14.3.2-2 -> 14.3.2-3)
[2011-06-02 01:27] upgraded spring (0.82.7.1-2 -> 0.82.7.1-4)
[2011-06-02 01:27] upgraded springlobby (0.131-1 -> 0.131-2)
[2011-06-02 01:27] upgraded sudo (1.8.1.p1-1 -> 1.8.1.p2-1)
[2011-06-02 01:27] upgraded thunar (1.2.1-2 -> 1.2.2-1)
[2011-06-02 01:27] upgraded totem-plparser (2.32.4-1 -> 2.32.5-1)
[2011-06-02 01:27] upgraded v4l-utils (0.8.3-1 -> 0.8.3-2)
[2011-06-02 01:27] upgraded vala (0.12.0-1 -> 0.12.1-1)
[2011-06-02 01:28] upgraded vlc (1.1.9-1 -> 1.1.9-3)
[2011-06-02 01:28] upgraded xfdesktop (4.8.2-1 -> 4.8.2-2)
[2011-06-02 01:28] upgraded xorg-iceauth (1.0.4-2 -> 1.0.5-1)
[2011-06-02 01:28] upgraded xorg-server-common (1.10.1-1 -> 1.10.2-1)
[2011-06-02 01:28] upgraded xorg-server (1.10.1-1 -> 1.10.2-1)
[2011-06-02 01:28] upgraded xorg-xauth (1.0.5-2 -> 1.0.6-1)
[2011-06-02 01:28] upgraded xscreensaver (5.13-1 -> 5.14-1)
[2011-06-02 12:09] Running 'pacman -Sy'
[2011-06-02 12:09] synchronizing package lists
[2011-06-02 12:09] starting full system upgrade
[2011-06-02 12:12] Running 'pacman -U /home/mark/Packages/jack-0.118.0-4-i686.pkg.tar.xz'
[2011-06-02 12:12] upgraded jack (0.120.2-1 -> 0.118.0-4)OK, so it's a udev bug. Reloading the snd_seq module manually creates the node with the correct permissions, and jackd can now access it.
[mark@squid ~]$ ls -al /dev/snd/seq
crw------- 1 root audio 116, 1 Jun 2 12:17 /dev/snd/seq
[mark@squid ~]$ sudo modprobe snd_seq
Password:
[mark@squid ~]$ ls -al /dev/snd/seq
crw-rw---- 1 root audio 116, 1 Jun 2 13:26 /dev/snd/seq
A more permanent workaround seem to be to add snd_seq to the modules array in /etc/rc.conf , which I will try later.
EDIT: tried it, works. Thanks for the pointers, Karol
Last edited by markhadman (2011-06-03 12:17:17) -
AUR for LibreOffice GIT (can't upload to AUR?)
I have created a PKGBUILD for LibreOffice that builds from the GIT master branch, but the AUR won't allow me to upload it, so I'm putting it here.
Source package: http://8bitboobs.com/stuff/libreoffice- … src.tar.gz
PKGBUILD:
# Maintainer: Maxwell Pray a.k.a. Synthead <[email protected]>
# Contributor: AndyRTR <[email protected]>
pkgbase='libreoffice-git'
pkgname=(
'libreoffice-common-git'
'libreoffice-base-git'
'libreoffice-calc-git'
'libreoffice-draw-git'
'libreoffice-gnome-git'
'libreoffice-impress-git'
'libreoffice-kde4-git'
'libreoffice-math-git'
'libreoffice-sdk-git'
'libreoffice-sdk-doc-git'
'libreoffice-writer-git'
'libreoffice-en-US-git'
'libreoffice-postgresql-connector-git'
'libreoffice-extension-pdfimport-git'
'libreoffice-extension-presenter-screen-git'
'libreoffice-extension-presentation-minimizer-git'
'libreoffice-extension-report-builder-git'
'libreoffice-scripting-beanshell-git'
'libreoffice-scripting-javascript-git'
'libreoffice-extension-scripting-python-git'
'libreoffice-extension-wiki-publisher-git'
'libreoffice-extension-nlpsolver-git'
pkgver=20121008
pkgrel=1
arch=(
'i686'
'x86_64'
license=('LGPL3')
url="http://www.libreoffice.org/"
makedepends=(
'apache-ant'
'beanshell'
'bluez'
'cppunit'
'doxygen'
'gconf'
'gperf'
'gstreamer0.10-base'
'hsqldb-java'
'imagemagick'
'java-environment'
'junit'
'kdelibs'
'libmythes'
'libwpg'
'mesa'
'perl-archive-zip'
'postgresql-libs'
'sane'
'unixodbc'
'unzip'
'vigra'
'zip'
depends=(
'curl>=7.20.0'
'dbus-glib'
'desktop-file-utils'
'gcc-libs'
'graphite'
'gtk2'
'hicolor-icon-theme'
'hunspell>=1.2.8'
'hyphen'
'icu>=49.1'
'lcms2'
'libgl'
'libjpeg'
'librsvg'
'libtextcat'
'libwpd>=0.9.2'
'libxaw'
'libxrandr'
'libxslt'
'lpsolve'
'neon>=0.28.6'
'nspr'
'orbit2'
'pango'
'python2>=2.7'
'redland'
'sh'
'shared-mime-info'
'translate-toolkit'
'ttf-dejavu'
'xdg-utils'
_gitroot=(
'git://anongit.freedesktop.org/libreoffice/core'
'git://anongit.freedesktop.org/libreoffice/help'
'git://anongit.freedesktop.org/libreoffice/translations'
_gitname=(
'libreoffice-core'
'libreoffice-help'
'libreoffice-translations'
_additional_source_url="http://dev-www.libreoffice.org/src"
_additional_source_url2="http://dev-www.libreoffice.org/extern"
source=(
"$_additional_source_url/0168229624cfac409e766913506961a8-ucpp-1.3.2.tar.gz"
"$_additional_source_url/18f577b374d60b3c760a3a3350407632-STLport-4.5.tar.gz"
"$_additional_source_url/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz"
"$_additional_source_url/2a177023f9ea8ec8bd00837605c5df1b-jakarta-tomcat-5.0.30-src.tar.gz"
"$_additional_source_url/2ae988b339daec234019a7066f96733e-commons-lang-2.3-src.tar.gz"
"$_additional_source_url/2c9b0f83ed5890af02c0df1c1776f39b-commons-httpclient-3.1-src.tar.gz"
"$_additional_source_url/3404ab6b1792ae5f16bbd603bd1e1d03-libformula-1.1.7.zip"
"$_additional_source_url/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip"
"$_additional_source_url/39bb3fcea1514f1369fcfc87542390fd-sacjava-1.3.zip"
"$_additional_source_url/3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip"
"$_additional_source_url/3c219630e4302863a9a83d0efde889db-commons-logging-1.1.1-src.tar.gz"
"$_additional_source_url/46d9f4cf8b145c21ce1056e116d2ce71-liborcus_0.1.0.tar.bz2"
"$_additional_source_url/48d647fbd8ef8889e5a7f422c1bfda94-clucene-core-2.3.3.4.tar.gz"
"$_additional_source_url/599dc4cc65a07ee868cf92a667a913d2-xpdf-3.02.tar.gz"
"$_additional_source_url/6097739c841f671cb21332b9cc593ae7-libexttextcat-3.3.1.tar.bz2"
"$_additional_source_url/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip"
"$_additional_source_url/8ce2fcd72becf06c41f7201d15373ed9-librepository-1.1.6.zip"
"$_additional_source_url/94e7f271e38c976462558b4278590178-libvisio-0.0.19.tar.bz2"
"$_additional_source_url/97b2d4dba862397f446b217e2b623e71-libloader-1.1.6.zip"
"$_additional_source_url/9f9e15966b5624834157fe3d748312bc-mdds_0.6.1.tar.bz2"
"$_additional_source_url/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip"
"$_additional_source_url/ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip"
"$_additional_source_url/ada24d37d8d638b3d8a9985e80bc2978-source-9.0.0.7-bj.zip"
"$_additional_source_url/af3c3acf618de6108d65fcdc92b492e1-commons-codec-1.3-src.tar.gz"
"$_additional_source_url/b2371dc7cf4811c9d32146eec913d296-libcmis-0.3.0.tar.gz"
"$_additional_source_url/b2db54b6e96287ac995d7ed654ace4fc-libmspub-0.0.3.tar.bz2"
"$_additional_source_url/ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip"
"$_additional_source_url/3c0037fb07dea2f0bbae8386fa7c6a9a-libcdr-0.0.9.tar.bz2"
"$_additional_source_url/d197bd6211669a2fa4ca648faf04bcb1-libwps-0.2.7.tar.bz2"
"$_additional_source_url/d8bd5eed178db6e2b18eeed243f85aa8-flute-1.1.6.zip"
"$_additional_source_url/db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip"
"$_additional_source_url/eeb2c7ddf0d302fba4bfc6e97eac9624-libbase-1.1.6.zip"
"$_additional_source_url/f02578f5218f217a9f20e9c30e119c6a-boost_1_44_0.tar.bz2"
"$_additional_source_url/f94d9870737518e3b597f9265f4e9803-libserializer-1.1.6.zip"
"$_additional_source_url/fa6a2f85bd28baab035b2c95e722713f-liblangtag-0.2.tar.bz2"
"$_additional_source_url/fdb27bfe2dbe2e7b57ae194d9bf36bab-SampleICC-1.3.2.tar.gz"
"$_additional_source_url2/185d60944ea767075d27247c3162b3bc-unowinreg.dll"
'improve-vml-path-parsing-to-handle-repeated-commands.patch::https://gerrit.libreoffice.org/gitweb?p=core.git;a=patch;h=9cc362d8b210bfa06ad40e15dd3c8b37b10fa702'
'vml-import-only-apply-width-percent-attribute-if-non-zero.patch::https://gerrit.libreoffice.org/gitweb?p=core.git;a=patch;h=4dd8bb09dc4ac1a499a159a4c647475230170d71'
noextract=(
'0168229624cfac409e766913506961a8-ucpp-1.3.2.tar.gz'
'185d60944ea767075d27247c3162b3bc-unowinreg.dll'
'18f577b374d60b3c760a3a3350407632-STLport-4.5.tar.gz'
'1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz'
'2a177023f9ea8ec8bd00837605c5df1b-jakarta-tomcat-5.0.30-src.tar.gz'
'2ae988b339daec234019a7066f96733e-commons-lang-2.3-src.tar.gz'
'2c9b0f83ed5890af02c0df1c1776f39b-commons-httpclient-3.1-src.tar.gz'
'3404ab6b1792ae5f16bbd603bd1e1d03-libformula-1.1.7.zip'
'35c94d2df8893241173de1d16b6034c0-swingExSrc.zip'
'39bb3fcea1514f1369fcfc87542390fd-sacjava-1.3.zip'
'3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip'
'3c219630e4302863a9a83d0efde889db-commons-logging-1.1.1-src.tar.gz'
'46d9f4cf8b145c21ce1056e116d2ce71-liborcus_0.1.0.tar.bz2'
'48d647fbd8ef8889e5a7f422c1bfda94-clucene-core-2.3.3.4.tar.gz'
'599dc4cc65a07ee868cf92a667a913d2-xpdf-3.02.tar.gz'
'6097739c841f671cb21332b9cc593ae7-libexttextcat-3.3.1.tar.bz2'
'798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip'
'8ce2fcd72becf06c41f7201d15373ed9-librepository-1.1.6.zip'
'94e7f271e38c976462558b4278590178-libvisio-0.0.19.tar.bz2'
'97b2d4dba862397f446b217e2b623e71-libloader-1.1.6.zip'
'9f9e15966b5624834157fe3d748312bc-mdds_0.6.1.tar.bz2'
'a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip'
'ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip'
'ada24d37d8d638b3d8a9985e80bc2978-source-9.0.0.7-bj.zip'
'af3c3acf618de6108d65fcdc92b492e1-commons-codec-1.3-src.tar.gz'
'b2371dc7cf4811c9d32146eec913d296-libcmis-0.3.0.tar.gz'
'b2db54b6e96287ac995d7ed654ace4fc-libmspub-0.0.3.tar.bz2'
'ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip'
'3c0037fb07dea2f0bbae8386fa7c6a9a-libcdr-0.0.9.tar.bz2'
'd197bd6211669a2fa4ca648faf04bcb1-libwps-0.2.7.tar.bz2'
'd8bd5eed178db6e2b18eeed243f85aa8-flute-1.1.6.zip'
'db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip'
'eeb2c7ddf0d302fba4bfc6e97eac9624-libbase-1.1.6.zip'
'f02578f5218f217a9f20e9c30e119c6a-boost_1_44_0.tar.bz2'
'f94d9870737518e3b597f9265f4e9803-libserializer-1.1.6.zip'
'fa6a2f85bd28baab035b2c95e722713f-liblangtag-0.2.tar.bz2'
'fdb27bfe2dbe2e7b57ae194d9bf36bab-SampleICC-1.3.2.tar.gz'
md5sums=(
'0168229624cfac409e766913506961a8'
'18f577b374d60b3c760a3a3350407632'
'1f24ab1d39f4a51faf22244c94a6203f'
'2a177023f9ea8ec8bd00837605c5df1b'
'2ae988b339daec234019a7066f96733e'
'2c9b0f83ed5890af02c0df1c1776f39b'
'3404ab6b1792ae5f16bbd603bd1e1d03'
'35c94d2df8893241173de1d16b6034c0'
'39bb3fcea1514f1369fcfc87542390fd'
'3bdf40c0d199af31923e900d082ca2dd'
'3c219630e4302863a9a83d0efde889db'
'46d9f4cf8b145c21ce1056e116d2ce71'
'48d647fbd8ef8889e5a7f422c1bfda94'
'599dc4cc65a07ee868cf92a667a913d2'
'6097739c841f671cb21332b9cc593ae7'
'798b2ffdc8bcfe7bca2cf92b62caf685'
'8ce2fcd72becf06c41f7201d15373ed9'
'94e7f271e38c976462558b4278590178'
'97b2d4dba862397f446b217e2b623e71'
'9f9e15966b5624834157fe3d748312bc'
'a7983f859eafb2677d7ff386a023bc40'
'ace6ab49184e329db254e454a010f56d'
'ada24d37d8d638b3d8a9985e80bc2978'
'af3c3acf618de6108d65fcdc92b492e1'
'b2371dc7cf4811c9d32146eec913d296'
'b2db54b6e96287ac995d7ed654ace4fc'
'ba2930200c9f019c2d93a8c88c651a0f'
'3c0037fb07dea2f0bbae8386fa7c6a9a'
'd197bd6211669a2fa4ca648faf04bcb1'
'd8bd5eed178db6e2b18eeed243f85aa8'
'db60e4fde8dd6d6807523deb71ee34dc'
'eeb2c7ddf0d302fba4bfc6e97eac9624'
'f02578f5218f217a9f20e9c30e119c6a'
'f94d9870737518e3b597f9265f4e9803'
'fa6a2f85bd28baab035b2c95e722713f'
'fdb27bfe2dbe2e7b57ae194d9bf36bab'
'185d60944ea767075d27247c3162b3bc'
'82893e891aca9c2f04df6347253c1d04'
'c3f2473294124bd83e49328761c362ac'
install_from_list() {
# Create directories from .txt file.
for directory in $(grep '^%dir' "$srcdir/libreoffice-core-build/file-lists/$1_list.txt"); do
install -dm 755 "$pkgdir/${directory/\%dir}"
done
# Install files into pkg from the fakeinstall dir.
for file in $(grep -v '^%dir' "$srcdir/libreoffice-core-build/file-lists/$1_list.txt"); do
dirname="$(dirname "$file")"
# Check if directory has been already been created.
[[ -d "$pkgdir/$dirname" ]] || install -dm 755 "$pkgdir/$dirname"
# Move file from fakeinstall to $pkgdir.
mv "$srcdir/fakeinstall$file" "$pkgdir$file"
done
unzip_extension() {
# Unzip this extension to $pkgdir.
install -dm 755 "$pkgdir/usr/lib/libreoffice/share/extensions"
unzip -q "$srcdir/libreoffice-core-build/solver/unxlng"*"/bin/$1.oxt" -d "$pkgdir/usr/lib/libreoffice/share/extensions/$1"
build() {
# Manage the three GIT repositories.
cd "$srcdir"
for i in {0..2}; do
msg "Connecting to GIT server for ${_gitname[i]}..."
if [[ -d "$srcdir/${_gitname[i]}" ]]; then
msg2 "Updating local GIT repository..."
cd "$srcdir/${_gitname[i]}" && git pull origin
else
msg2 "Downloading GIT repository..."
git clone "${_gitroot[i]}" "$srcdir/${_gitname[i]}"
fi
msg2 "Cloning for build..."
rm -rf "$srcdir/${_gitname[i]}-build"
git clone "$srcdir/${_gitname[i]}" "$srcdir/${_gitname[i]}-build"
done
msg "Starting build..."
cd "$srcdir/${_gitname[0]}-build"
# Patches for better support for "inked" documents.
patch -p1 < "$srcdir/improve-vml-path-parsing-to-handle-repeated-commands.patch"
patch -p1 < "$srcdir/vml-import-only-apply-width-percent-attribute-if-non-zero.patch"
# Correctly set environment variables.
unset J2REDIR J2SDKDIR JAVA_HOME CLASSPATH EXTRAOPTS
. /etc/profile.d/jdk.sh || . /etc/profile.d/openjdk6.sh
[[ ! $ANT_HOME ]] && . /etc/profile.d/apache-ant.sh
# Create symlinks for external sources.
[[ -d "$srcdir/ext_sources" ]] && rm -r "$srcdir/ext_sources"
mkdir "$srcdir/ext_sources"
for source in "${noextract[@]}"; do
ln -s "$srcdir/$source" "$srcdir/ext_sources"
done
# Create symlinks for the "help" and "translations" repositories.
ln -s ../libreoffice-help-build/helpcontent2 "$srcdir/${_gitname[0]}-build"
ln -s ../libreoffice-translations-build/translations "$srcdir/${_gitname[0]}-build"
# Use the CFLAGS, but remove the LibO overridden ones.
for i in $CFLAGS; do
case "$i" in
-O?|-pipe|-Wall|-g|-fexceptions) continue ;;
esac
ARCH_FLAGS="$ARCH_FLAGS $i"
done
# Fix for python2.
export PYTHON=python2
# Configure LibreOffice with a Swiss Army knife of options!
./autogen.sh \
--disable-ext-mysql-connector \
--disable-fetch-external \
--disable-gnome-vfs \
--disable-kde \
--disable-mozilla \
--disable-verbose \
--enable-crashdump \
--enable-dbus \
--enable-evolution2 \
--enable-ext-nlpsolver \
--enable-ext-scripting-beanshell \
--enable-ext-scripting-javascript \
--enable-ext-wiki-publisher \
--enable-gio \
--enable-gtk3 \
--enable-kde4 \
--enable-librsvg=system \
--enable-lockdown \
--enable-mergelibs \
--enable-odk \
--enable-opengl \
--enable-split-app-modules \
--exec-prefix=/usr \
--libdir=/usr/lib \
--mandir=/usr/share/man \
--prefix=/usr \
--sysconfdir=/etc \
--with-alloc=system \
--with-ant-home="/usr/share/apache-ant" \
--with-build-version="GIT-$pkgver ArchLinux build-$pkgrel" \
--with-external-dict-dir=/usr/share/hunspell \
--with-external-hyph-dir=/usr/share/hyphen \
--with-external-tar="${srcdir}/ext_sources" \
--with-external-thes-dir=/usr/share/mythes \
--with-java-target-version=1.5 \
--with-lang="" \
--with-max-jobs=${MAKEFLAGS/-j/} \
--with-num-cpus=${MAKEFLAGS/-j/} \
--with-system-beanshell \
--with-system-cairo \
--with-system-cppunit \
--with-system-dicts \
--with-system-graphite \
--with-system-headers \
--with-system-hsqldb \
--with-system-libs \
--with-system-libwpg \
--with-system-mysql \
--with-system-mythes \
--with-system-redland \
--with-unix-wrapper="libreoffice" \
--with-vendor="ArchLinux" \
--without-afms \
--without-fonts \
--without-myspell-dicts \
--without-ppds \
--without-system-apache-commons \
--without-system-boost \
--without-system-clucene \
--without-system-jfreereport \
--without-system-libcdr \
--without-system-libcmis \
--without-system-libexttextcat \
--without-system-liblangtag \
--without-system-libmspub \
--without-system-libvisio \
--without-system-libwps \
--without-system-mdds \
--without-system-mozilla \
--without-system-mozilla-headers \
--without-system-orcus \
--without-system-poppler \
--without-system-saxon \
--without-system-servlet-api \
$EXTRAOPTS
# Tell LibreOffice that the sources are already downloaded.
touch src.downloaded
# Build LibreOffice.
make
# Create fake installation directory to create split file lists.
mkdir "$srcdir/fakeinstall"
# Install LibreOffice to the fake installation directory.
make DESTDIR="$srcdir/fakeinstall" distro-pack-install
package_libreoffice-common-git() {
pkgdesc="Common files for LibreOffice, a productivity suite that is compatible with other major office suites."
depends=(
'libreoffice-langpack'
'hunspell>=1.2.8'
'python2>=2.7'
'neon>=0.28.6'
'nspr'
'libsm'
'redland'
'hyphen'
'graphite'
'icu>=49.1'
'lcms2'
'hicolor-icon-theme'
'desktop-file-utils'
'shared-mime-info'
'xdg-utils'
'orbit2'
optdepends=(
'libreoffice-langpack: Additional language support.'
'java-runtime: Adds java support.'
'libcups: Adds printing support.'
'gconf: Adds additional gnome support.'
'nss: Adds support for signed files/macros.'
'pstoedit: Translates PostScript and PDF graphics into other vector formats.'
'libmythes: For use in thesaurus.'
'beanshell: Interactive java; good for prototyping and macros.'
'vigra: C++ computer vision library, usable in Basebmp.'
'libmspack: Library for Microsoft compression formats for use in FontOOo.'
'libwpg: Library for importing and converting Corel WordPerfect(tm) Graphics images.'
'sane: For scanner access.'
'unixodbc: Adds ODBC database support.'
'gstreamer0.10-base: Some gstr-plugins to support multimedia content, e.g. in impress.'
'gtk2: For browser plugin.'
backup=(
'etc/libreoffice/sofficerc'
'etc/libreoffice/bootstraprc'
'etc/libreoffice/psprint.conf'
groups=('libreoffice')
provides=(
'go-openoffice'
'libreoffice-common'
conflicts=(
'go-openoffice'
'libreoffice-common'
replaces=(
'go-openoffice'
'libreoffice'
'openoffice-base'
install='libreoffice-common.install'
install_from_list common
# Configuration files.
install -dm 755 "$pkgdir/etc/libreoffice"
install -m 644 "$pkgdir/usr/lib/libreoffice/program/"{bootstraprc,sofficerc} "$pkgdir/etc/libreoffice"
install -m 644 "$pkgdir/usr/lib/libreoffice/share/psprint/psprint.conf" "$pkgdir/etc/libreoffice"
# Install dummy links.
cd "$pkgdir/usr/lib/libreoffice/program"
ln -sf /etc/libreoffice/{bootstraprc,sofficerc} .
cd "$pkgdir/usr/lib/libreoffice/share/psprint"
ln -sf /etc/libreoffice/psprint.conf .
# Move bash-completion files.
install -dm755 "$pkgdir/usr/share/bash-completion/completions"
mv "$pkgdir/etc/bash_completion.d/libreoffice.sh" "$pkgdir/usr/share/bash-completion/completions/libreoffice.sh"
rm -rf "$pkgdir/etc/bash_completion.d"
# Prevent conflicts.
rm -f "$pkgdir/usr/lib/libreoffice/program/classes/ScriptProviderForJavaScript.jar"
rm -f "$pkgdir/usr/lib/libreoffice/program/classes/js.jar"
rm -f "$pkgdir/usr/lib/libreoffice/program/services/scriptproviderforjavascript.rdb"
package_libreoffice-base-git() {
pkgdesc="GUI database front-end for LibreOffice. Allows creation and management of databases through a GUI."
depends=(
'libreoffice-common'
'hsqldb-java'
optdepends=('libreoffice-postgresql-connector')
provides=('libreoffice-base')
conflicts=(
'go-openoffice'
'libreoffice-base'
'libreoffice-common'
groups=('libreoffice')
replaces=('libreoffice')
install='update-desktop-database.install'
install_from_list base
package_libreoffice-postgresql-connector-git() {
pkgdesc="A PostgreSQL connector for LibreOffice."
depends=(
'libreoffice-base'
'postgresql-libs'
groups=('libreoffice')
replaces=('libreoffice')
provides=('libreoffice-postgresql-connector')
conflicts=('libreoffice-postgresql-connector')
# No file list for this package.
install -dm 755 "$pkgdir/usr/lib/libreoffice/program/services"
install -m 644 "$srcdir/fakeinstall/usr/lib/libreoffice/program/postgresql-sdbc.uno.so" "$pkgdir/usr/lib/libreoffice/program"
install -m 644 "$srcdir/fakeinstall/usr/lib/libreoffice/program/postgresql-sdbc-impl.uno.so" "$pkgdir/usr/lib/libreoffice/program"
install -m 644 "$srcdir/fakeinstall/usr/lib/libreoffice/program/postgresql-sdbc.ini" "$pkgdir/usr/lib/libreoffice/program"
install -m 644 "$srcdir/fakeinstall/usr/lib/libreoffice/program/services/postgresql-sdbc.rdb" "$pkgdir/usr/lib/libreoffice/program/services"
install -dm 755 "$pkgdir/usr/lib/libreoffice/share/registry"
install -m 644 "$srcdir/fakeinstall/usr/lib/libreoffice/share/registry/postgresqlsdbc.xcd" "$pkgdir/usr/lib/libreoffice/share/registry"
package_libreoffice-calc-git() {
pkgdesc="Spreadsheet application for LibreOffice."
depends=(
'libreoffice-common'
'lpsolve'
groups=('libreoffice')
replaces=('libreoffice')
provides=('libreoffice-calc')
conflicts=('libreoffice-calc')
install='update-desktop-database.install'
install_from_list calc
package_libreoffice-draw-git() {
pkgdesc="Drawing application for LibreOffice."
arch=('any')
depends=('libreoffice-common')
groups=('libreoffice')
replaces=('libreoffice')
provides=('libreoffice-draw')
conflicts=('libreoffice-draw')
install='update-desktop-database.install'
install_from_list draw
package_libreoffice-gnome-git() {
pkgdesc="Plug-in for LibreOffice that enables integration of Gnome and other GTK-based desktop environments."
depends=(
'gtk2'
'gtk3'
'libreoffice-common'
groups=('libreoffice')
provides=('libreoffice-gnome')
conflicts=('libreoffice-gnome')
install_from_list gnome
package_libreoffice-impress-git() {
pkgdesc="Presentation Application for LibreOffice."
depends=('libreoffice-common')
optdepends=('mesa: For the OGLTrans extension.')
groups=('libreoffice')
replaces=('libreoffice')
provides=('libreoffice-impress')
conflicts=('libreoffice-impress')
install='update-desktop-database.install'
install_from_list impress
package_libreoffice-kde4-git() {
pkgdesc="Plug-in for LibreOffice that enables integration into the KDE4 desktop environment."
depends=(
'libreoffice-common'
'kdelibs'
groups=('libreoffice')
provides=('libreoffice-kde4')
conflicts=('libreoffice-kde4')
install_from_list kde4
package_libreoffice-math-git() {
pkgdesc="Equation editor for LibreOffice."
depends=('libreoffice-common')
groups=('libreoffice')
replaces=('libreoffice')
provides=('libreoffice-math')
conflicts=('libreoffice-math')
install_from_list math
package_libreoffice-sdk-git() {
pkgdesc="Software Development Kit for LibreOffice."
depends=(
'gcc'
'gcc-libs'
'java-environment'
'libreoffice-common'
'make'
'sh'
'zip'
groups=('libreoffice')
provides=('libreoffice-sdk')
conflicts=('libreoffice-sdk')
install_from_list sdk
# Fix environment path for compatibility with openjdk6 and openjdk7.
sed -ie 's:\/usr\/lib\/jvm\/java-7-openjdk:$J2SDKDIR:' "$pkgdir/usr/lib/libreoffice/sdk/setsdkenv_unix."{sh,csh}
package_libreoffice-sdk-doc-git() {
pkgdesc="Software Development Kit documentation for LibreOffice."
arch=('any')
depends=(
'libreoffice-common'
'libreoffice-sdk'
groups=('libreoffice')
provides=('libreoffice-sdk-doc')
conflicts=('libreoffice-sdk-doc')
install_from_list sdk_doc
# Fix permissions.
find "$pkgdir/usr/lib/libreoffice/sdk/examples" -type f -exec chmod -x {} \;
package_libreoffice-writer-git() {
pkgdesc="Word Processor Application for LibreOffice."
depends=(
'libreoffice-common'
'libwpd>=0.9.2'
'libxml2'
optdepends=('libwpg: Library for importing and converting Corel WordPerfect(tm) Graphics images.')
groups=('libreoffice')
replaces=('libreoffice')
provides=('libreoffice-writer')
conflicts=('libreoffice-writer')
install='update-desktop-database.install'
install_from_list writer
package_libreoffice-en-US-git() {
pkgdesc="English (US) language pack for LibreOffice."
arch=('any')
provides=(
'openoffice-en-US'
'libreoffice-en-US'
'libreoffice-langpack'
replaces=('openoffice-en-US')
conflicts=(
'openoffice-en-US'
'libreoffice-en-US'
install_from_list lang_en_US
package_libreoffice-extension-pdfimport-git() {
pkgdesc="LibreOffice extension to import and modify PDF documents."
arch=('any')
depends=('libreoffice-common')
groups=('libreoffice-extensions')
provides=('libreoffice-extension-pdfimport')
conflicts=('libreoffice-extension-pdfimport')
unzip_extension pdfimport
package_libreoffice-extension-presenter-screen-git() {
pkgdesc="LibreOffice extension to provide more control over slide show presentations."
depends=(
'libreoffice-common'
'java-environment'
groups=('libreoffice-extensions')
provides=('libreoffice-extension-presenter-screen')
conflicts=('libreoffice-extension-presenter-screen')
unzip_extension presenter-screen
package_libreoffice-extension-presentation-minimizer-git() {
pkgdesc="LibreOffice extension to reduce the file size of presentations."
depends=(
'libreoffice-common'
'gcc-libs'
groups=('libreoffice-extensions')
provides=('libreoffice-extension-presentation-minimizer')
conflicts=('libreoffice-extension-presentation-minimizer')
unzip_extension presentation-minimizer
package_libreoffice-extension-report-builder-git() {
pkgdesc="LibreOffice extension to create database reports."
arch=('any')
depends=(
'libreoffice-common'
'java-environment'
groups=('libreoffice-extensions')
provides=('libreoffice-extension-report-builder')
conflicts=('libreoffice-extension-report-builder')
unzip_extension report-builder
package_libreoffice-extension-scripting-python-git() {
pkgdesc="LibreOffice extension to enable support for Python."
arch=('any')
depends=(
'libreoffice-common'
'python2'
groups=('libreoffice-extensions')
provides=('libreoffice-extension-scripting-python')
conflicts=('libreoffice-extension-scripting-python')
unzip_extension script-provider-for-python
package_libreoffice-extension-wiki-publisher-git() {
pkgdesc="LibreOffice extension to create Wiki articles on MediaWiki servers."
arch=('any')
depends=(
'libreoffice-common'
'java-environment'
groups=('libreoffice-extensions')
provides=('libreoffice-extension-wiki-publisher')
conflicts=('libreoffice-extension-wiki-publisher')
unzip_extension wiki-publisher
package_libreoffice-extension-nlpsolver-git() {
pkgdesc="LibreOffice extension for Calc: additional Solver engines for optimizing nonlinear programming models."
arch=('any')
depends=(
'libreoffice-common'
'java-environment'
groups=('libreoffice-extensions')
provides=('libreoffice-extension-nlpsolver')
conflicts=('libreoffice-extension-nlpsolver')
unzip_extension nlpsolver
package_libreoffice-scripting-beanshell-git() {
pkgdesc="LibreOffice extension for BeanShell script support."
arch=('any')
depends=(
'libreoffice-common'
'java-environment'
groups=('libreoffice-extensions')
provides=('libreoffice-scripting-beanshell')
conflicts=('libreoffice-scripting-beanshell')
install -dm 755 "$pkgdir/usr/lib/libreoffice/program/"{classes,services}
mv "$srcdir/fakeinstall/usr/lib/libreoffice/program/classes/ScriptProviderForBeanShell.jar" "$pkgdir/usr/lib/libreoffice/program/classes"
mv "$srcdir/fakeinstall/usr/lib/libreoffice/program/services/scriptproviderforbeanshell.rdb" "$pkgdir/usr/lib/libreoffice/program/services"
package_libreoffice-scripting-javascript-git() {
pkgdesc="LibreOffice extension to enable support for JavaScript."
arch=('any')
depends=(
'libreoffice-common'
'java-environment'
groups=('libreoffice-extensions')
provides=('libreoffice-scripting-javascript')
conflicts=('libreoffice-scripting-javascript')
install -dm 755 "$pkgdir/usr/lib/libreoffice/program/"{classes,services}
mv "$srcdir/libreoffice-core-build/solver/unxlngx6.pro/bin/"{js.jar,ScriptProviderForJavaScript.jar} "$pkgdir/usr/lib/libreoffice/program/classes"
mv "$srcdir/libreoffice-core-build/solver/unxlngx6.pro/xml/scriptproviderforjavascript.rdb" "$pkgdir/usr/lib/libreoffice/program/services"
update-desktop-database.install
post_install() {
update-desktop-database -q
post_upgrade() {
post_install
post_remove() {
post_install
libreoffice-common.install
post_upgrade() {
xdg-icon-resource forceupdate --theme hicolor
update-desktop-database -q
update-mime-database usr/share/mime > /dev/null 2>&1
post_install() {
post_upgrade
printf '%s\n' \
'LibreOffice is split into several packages:' \
'- libreoffice-common' \
'- libreoffice-{base,calc,draw,impress,math,writer}: Frontend applications.' \
'- libreoffice-{gnome,kde4}: Desktop integration plugins.' \
'- libreoffice-{sdk,sdk-doc}: SDK and documentation for the LibreOffice API and extensions (UNO components).' \
'In addition:' \
'- At least one libreoffice-langpack needs to be installed.' \
'- Install {hunspell,mythes,hyphen}-xx for spell checking.'
post_remove() {
post_upgrade
Last edited by synthead (2012-10-08 19:40:13)synthead wrote:
This is based off an official package: https://projects.archlinux.org/svntogit … ibreoffice
Also, splitting it into multiple files means that the (large) GIT repo would need to be downloaded and compiled per PKGBUILD (yeech).
Oh well, that was my opinion, but I can't say anything against the core team I thought this was a reasonable split, since there were three git repos. If you need all for one build, forget what I said.
PS: To upload a split-package to AUR create a meaningful global package description that mentions splitting, and use the mentioned workaround:
pkgname="AUR-name"
true && pkgname=(...) # the array
Last edited by progandy (2012-10-08 19:03:37) -
Hi all,
Today i run the pacman -Syu, and i get this:
# pacman -Syu
:: Synchronizing package databases...
:: current is up to date
error: anonymous login failed
:: extra is up to date
community [###############################################] 100% 109K 3.7K/s 00:00:29
:: Replace alsa-driver with kernel26 from "current"? [Y/n]
:: Replace devfsd with udev from "current"? [Y/n]
:: Replace rar with unrar from "current"? [Y/n]
Remove: alsa-driver devfsd rar
Targets: klibc-1.4-1 klibc-extras-1.6-1 klibc-udev-094-2 gen-init-cpio-2.6.17-1 mkinitcpio-0.4.2-1
kernel26-2.6.17.1-1 udev-094-2 unrar-3.6.4-2 archlinux-menus-1.1-2 kde-common-3.5.3-3 arts-1.5.3-2
avahi-0.6.10-3 bind-9.3.2-3 binutils-2.16.1-3 libstdc++5-3.3.6-1 codecs-20060501-4 coreutils-5.96-2
cups-1.2.1-3 curl-7.15.1-2 cyrus-sasl-2.1.21-4 db-4.4.20-2 dnsutils-9.3.2-2 gcc-4.1.1-3
ghostscript-8.15.2-3 gkrellm-2.2.7-3 glib2-2.10.3-1 kernel-headers-2.6.12.0-1 glibc-2.4-2
gnome-desktop-2.14.2-1 libtasn1-0.3.4-1 gnutls-1.4.0-1 gnome-vfs-2.14.2-1 pango-1.12.3-1 gtk2-2.8.18-1
gtkhtml-3.10.2-1 heimdal-0.7.2-3 hplip-1.6.6-1 initscripts-0.7.2-3 iputils-021109-5 kbd-1.12-5
kdelibs-3.5.3-3 kdebase-3.5.3-3 kde-i18n-pt_br-3.5.3-1 kdeaccessibility-3.5.3-1 bluez-libs-2.25-1
kdepim-3.5.3-1 kdemultimedia-3.5.3-2 kdegames-3.5.3-1 kdeaddons-3.5.3-2 kdeadmin-3.5.3-1
kdeartwork-3.5.3-2 kdebindings-3.5.3-1 kdeedu-3.5.3-1 kdegraphics-3.5.3-1 kdenetwork-3.5.3-3
kdesdk-3.5.3-2 kdetoys-3.5.3-1 kdeutils-3.5.3-2 kdewebdev-3.5.3-1 libsoup-2.2.93-1 libtiff-3.8.2-2
libxau-1.0.1-1 libxmu-1.0.2-1 libxss-1.1.0-1 libxt-1.0.2-1 licq-1.3.2-3 links-2.1pre20-2 lua-5.1.1-1
lynx-2.8.5-3 mcpp-2.5-3 module-init-tools-3.2.2-3 mozilla-firefox-1.5.0.4-1
mozilla-thunderbird-1.5.0.4-1 mysql-5.0.22-1 net-snmp-5.2.1-4 nmap-4.01-2 nspr-4.6.2-1 nss-3.11.1-1
openldap-2.3.21-3 openslp-1.2.0-3 openssl-0.9.8b-1 openssh-4.3p2-2 pam-0.81-2 perl-5.8.8-4
perl-net-ssleay-1.25-2 pmount-0.9.11-1 poppler-0.5.3-2 postfix-2.2.10-3 python-2.4.3-3 qca-tls-1.0-3
qscintilla-1.6-2 rdesktop-1.4.1-3 ruby-1.8.4-3 sip-4.4.5-2 smbclient-3.0.22A-3 totem-plparser-1.4.1-1
totem-1.4.1-1 totem-plugin-1.4.1-2 vim-7.0.17-2 weechat-0.1.9-4 wget-1.10.2-2 libxvmc-1.0.2-1
xine-lib-1.1.1-3 xine-ui-0.99.4-3 xorg-server-utils-1.0.2-1
Total Package Size: 435.2 MB
Proceed with upgrade? [Y/n]
This is correct?Penguin wrote:
eduac wrote:
Snowman wrote:Yes.
http://www.archlinux.org/news.php#242
http://www.archlinux.org/news.php#244
What are the benefits to upgrade 435.2 MB of pkgs? I still cant understand
because gcc was updated?
humm...thats why? thx! -
[Suggestion] About git,svn package
I recently want to use git pacakge to get 3d enable on my machine, but I found that it is hard to change git package to the normal one even if normal one updates.
So I hope PKGBUILD can make package version like this way: [offical version].git[git verseion]
like mesa-git:
mesa-7.7.git20100118
so when mesa is updated to 7.8, we can also change it to the offical version with a simple yaourt -Syu.
This can be done like following:
pkgbase="mesa-git"
pkgname=('mesa' 'libgl' 'ati-dri')
pkgver=20100119
_realver=7.7
pkgrel=1
arch=(i686 x86_64)
depends=('libx11>=1.2' 'libxt' 'gcc-libs>=4.3.3' 'libdrm>=2.4.12')
makedepends=('glproto' 'pkgconfig' 'libdrm>=2.4.12' 'libxxf86vm' 'libxdamage' 'expat>=2.0.1' 'libx11>=1.2.2' 'libxt' 'gcc-libs' 'dri2proto')
url="http://mesa3d.sourceforge.net"
license=('custom')
options=(!makeflags)
source=(ftp://ftp.archlinux.org/other/mesa/gl-manpages-1.0.1.tar.bz2
mesa-7.1-link-shared.patch
LICENSE)
export gitver=$pkgver
_gitroot="http://anongit.freedesktop.org/git/mesa/mesa.git"
_gitname="mesa"
build() {
msg "Connecting to git.freedesktop.org GIT server...."
if [ -d ${srcdir}/$_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
if [[ -d ${srcdir}/${_gitname}-build ]]; then
msg "Cleaning the previous build directory..."
rm -rf ${srcdir}/${_gitname}-build
fi
cp -pR ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
cd ${srcdir}/${_gitname}-build
msg "Starting configure..."
msg "Applying patches..."
# patch -Np1 -i "${startdir}/mesa-7.1-link-shared.patch" || return 1
./autogen.sh --prefix=/usr \
--with-dri-driverdir=/usr/lib/xorg/modules/dri \
--with-dri-drivers=swrast,radeon,r200,r300,r600 \
--enable-gallium \
--enable-gallium-radeon \
--disable-gallium-intel \
--with-state-trackers=dri,egl \
--enable-glx-tls \
--with-driver=dri \
--enable-xcb \
--disable-glut || return 1
make || return 1
cd "${srcdir}/gl-manpages-1.0.1"
./configure --prefix=/usr || return 1
make || return 1
package_mesa() {
pkgver="${_realver}.git$gitver"
depends=('libgl' 'libx11>=1.2.2' 'libxt' 'gcc-libs>=4.4.1' 'dri2proto=2.2' 'libdrm>=2.4.15')
pkgdesc="Mesa 3-D graphics libraries and include files"
cd "${srcdir}/${_gitname}-build" || return 1
make DESTDIR="${pkgdir}" install || return 1
install -m755 -d "${pkgdir}/usr/bin"
install -m755 progs/xdemos/glx{gears,info} "${pkgdir}/usr/bin/" || return 1
rm -f "${pkgdir}/usr/lib/libGL.so"*
rm -rf "${pkgdir}/usr/lib/xorg"
rm -f "${pkgdir}/usr/include/GL/glew.h"
rm -f "${pkgdir}/usr/include/GL/glxew.h"
rm -f "${pkgdir}/usr/include/GL/wglew.h"
rm -f "${pkgdir}/usr/include/GL/glut.h"
cd "${srcdir}/gl-manpages-1.0.1" || return 1
make DESTDIR="${pkgdir}" install || return 1
install -m755 -d "${pkgdir}/usr/share/licenses/mesa"
install -m755 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/mesa/" || return 1
package_libgl() {
pkgver="${_realver}.git$gitver"
depends=('libdrm>=2.4.15' 'libxxf86vm' 'libxdamage' 'expat>=2.0.1')
pkgdesc="Mesa 3-D graphics library and DRI software rasterizer"
cd "${srcdir}/${_gitname}-build" || return 1
install -m755 -d "${pkgdir}/usr/lib" || return 1
install -m755 -d "${pkgdir}/usr/lib/xorg/modules/extensions"
bin/minstall lib/libGL.so* "${pkgdir}/usr/lib/" || return 1
cd src/mesa/drivers/dri
make -C swrast DESTDIR="${pkgdir}" install || return 1
# install -m755 libdricore.so "${pkgdir}/usr/lib/xorg/modules/dri/" || return 1
ln -s libglx.xorg "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so" || return 1
install -m755 -d "${pkgdir}/usr/share/licenses/libgl"
install -m755 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/libgl/" || return 1
package_ati-dri() {
pkgver="${_realver}.git$gitver"
depends=("libgl=${pkgver}")
pkgdesc="Mesa DRI drivers for AMD/ATI Radeon"
conflicts=('xf86-video-ati<6.9.0-6')
cd "${srcdir}/${_gitname}-build/src/mesa/drivers/dri" || return 1
make -C radeon DESTDIR="${pkgdir}" install || return 1
make -C r200 DESTDIR="${pkgdir}" install || return 1
make -C r300 DESTDIR="${pkgdir}" install || return 1
make -C r600 DESTDIR="${pkgdir}" install || return 1
cd "${srcdir}/${_gitname}-build/src/gallium/winsys/drm/radeon/egl"
make DESTDIR="${pkgdir}" install || return 1
md5sums=('6ae05158e678f4594343f32c2ca50515'
'd892b4fbc37fadc0e07debcd4bdfa109'
'7ba429de367a2b3d273d2230cc705771')
As you can see, gitver is set to be pkgver and for each package, its pkgver is set to "${_realver}.git$gitver", so we can also get the feature from makepkg ver update, and make packages of simple git version .
we will get libgl-7.7.git20100119-1-i686.pkg.tar.gz mesa-7.7.git20100119-1-i686.pkg.tar.gz ati-dir-7.7.git20100119-1-i686.pkg.tar.gz from the pkgbuild before.
And for a package don't need split, a dumb pacakage must be added in pkgname, like following one:
pkgbase=libdrm-git
pkgname=("libdrm" "dumb")
pkgver=20100119
_realver=2.4.17
pkgrel=1
pkgdesc="Userspace interface to kernel DRM services"
arch=('i686' 'x86_64')
depends=('glibc')
options=('!libtool')
url="http://dri.freedesktop.org/"
license=('custom')
replaces=('libdrm>=2.4.12')
groups=('xorg')
source=(no-pthread-stubs.patch)
md5sums=()
export gitver=$pkgver
_gitroot="http://anongit.freedesktop.org/git/mesa/drm.git"
_gitname="drm"
build() {
msg "Connecting to git.freedesktop.org GIT server...."
if [ -d $srcdir/$_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
if [[ -d ${srcdir}/${_gitname}-build ]]; then
msg "Cleaning the previous build directory..."
rm -rf ${srcdir}/${_gitname}-build
fi
git clone ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
cd ${srcdir}/${_gitname}-build
cd $srcdir/$_gitname-build
patch -Np1 -i "${srcdir}/no-pthread-stubs.patch" || return 1
sh autogen.sh --prefix=/usr \
--enable-nouveau-experimental-api \
--enable-radeon-experimental-api \
--enable-udev || return 1
make || return 1
package_libdrm()
pkgver=${_realver}.git${gitver}
cd ${srcdir}/${_gitname}-build
make DESTDIR=${pkgdir} install || return 1
package_dumb()
echo a
md5sums=('9b5ec3bbebe86921e2057694c42f65b8')I recently want to use git pacakge to get 3d enable on my machine, but I found that it is hard to change git package to the normal one even if normal one updates.
So I hope PKGBUILD can make package version like this way: [offical version].git[git verseion]
like mesa-git:
mesa-7.7.git20100118
so when mesa is updated to 7.8, we can also change it to the offical version with a simple yaourt -Syu.
This can be done like following:
pkgbase="mesa-git"
pkgname=('mesa' 'libgl' 'ati-dri')
pkgver=20100119
_realver=7.7
pkgrel=1
arch=(i686 x86_64)
depends=('libx11>=1.2' 'libxt' 'gcc-libs>=4.3.3' 'libdrm>=2.4.12')
makedepends=('glproto' 'pkgconfig' 'libdrm>=2.4.12' 'libxxf86vm' 'libxdamage' 'expat>=2.0.1' 'libx11>=1.2.2' 'libxt' 'gcc-libs' 'dri2proto')
url="http://mesa3d.sourceforge.net"
license=('custom')
options=(!makeflags)
source=(ftp://ftp.archlinux.org/other/mesa/gl-manpages-1.0.1.tar.bz2
mesa-7.1-link-shared.patch
LICENSE)
export gitver=$pkgver
_gitroot="http://anongit.freedesktop.org/git/mesa/mesa.git"
_gitname="mesa"
build() {
msg "Connecting to git.freedesktop.org GIT server...."
if [ -d ${srcdir}/$_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
if [[ -d ${srcdir}/${_gitname}-build ]]; then
msg "Cleaning the previous build directory..."
rm -rf ${srcdir}/${_gitname}-build
fi
cp -pR ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
cd ${srcdir}/${_gitname}-build
msg "Starting configure..."
msg "Applying patches..."
# patch -Np1 -i "${startdir}/mesa-7.1-link-shared.patch" || return 1
./autogen.sh --prefix=/usr \
--with-dri-driverdir=/usr/lib/xorg/modules/dri \
--with-dri-drivers=swrast,radeon,r200,r300,r600 \
--enable-gallium \
--enable-gallium-radeon \
--disable-gallium-intel \
--with-state-trackers=dri,egl \
--enable-glx-tls \
--with-driver=dri \
--enable-xcb \
--disable-glut || return 1
make || return 1
cd "${srcdir}/gl-manpages-1.0.1"
./configure --prefix=/usr || return 1
make || return 1
package_mesa() {
pkgver="${_realver}.git$gitver"
depends=('libgl' 'libx11>=1.2.2' 'libxt' 'gcc-libs>=4.4.1' 'dri2proto=2.2' 'libdrm>=2.4.15')
pkgdesc="Mesa 3-D graphics libraries and include files"
cd "${srcdir}/${_gitname}-build" || return 1
make DESTDIR="${pkgdir}" install || return 1
install -m755 -d "${pkgdir}/usr/bin"
install -m755 progs/xdemos/glx{gears,info} "${pkgdir}/usr/bin/" || return 1
rm -f "${pkgdir}/usr/lib/libGL.so"*
rm -rf "${pkgdir}/usr/lib/xorg"
rm -f "${pkgdir}/usr/include/GL/glew.h"
rm -f "${pkgdir}/usr/include/GL/glxew.h"
rm -f "${pkgdir}/usr/include/GL/wglew.h"
rm -f "${pkgdir}/usr/include/GL/glut.h"
cd "${srcdir}/gl-manpages-1.0.1" || return 1
make DESTDIR="${pkgdir}" install || return 1
install -m755 -d "${pkgdir}/usr/share/licenses/mesa"
install -m755 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/mesa/" || return 1
package_libgl() {
pkgver="${_realver}.git$gitver"
depends=('libdrm>=2.4.15' 'libxxf86vm' 'libxdamage' 'expat>=2.0.1')
pkgdesc="Mesa 3-D graphics library and DRI software rasterizer"
cd "${srcdir}/${_gitname}-build" || return 1
install -m755 -d "${pkgdir}/usr/lib" || return 1
install -m755 -d "${pkgdir}/usr/lib/xorg/modules/extensions"
bin/minstall lib/libGL.so* "${pkgdir}/usr/lib/" || return 1
cd src/mesa/drivers/dri
make -C swrast DESTDIR="${pkgdir}" install || return 1
# install -m755 libdricore.so "${pkgdir}/usr/lib/xorg/modules/dri/" || return 1
ln -s libglx.xorg "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so" || return 1
install -m755 -d "${pkgdir}/usr/share/licenses/libgl"
install -m755 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/libgl/" || return 1
package_ati-dri() {
pkgver="${_realver}.git$gitver"
depends=("libgl=${pkgver}")
pkgdesc="Mesa DRI drivers for AMD/ATI Radeon"
conflicts=('xf86-video-ati<6.9.0-6')
cd "${srcdir}/${_gitname}-build/src/mesa/drivers/dri" || return 1
make -C radeon DESTDIR="${pkgdir}" install || return 1
make -C r200 DESTDIR="${pkgdir}" install || return 1
make -C r300 DESTDIR="${pkgdir}" install || return 1
make -C r600 DESTDIR="${pkgdir}" install || return 1
cd "${srcdir}/${_gitname}-build/src/gallium/winsys/drm/radeon/egl"
make DESTDIR="${pkgdir}" install || return 1
md5sums=('6ae05158e678f4594343f32c2ca50515'
'd892b4fbc37fadc0e07debcd4bdfa109'
'7ba429de367a2b3d273d2230cc705771')
As you can see, gitver is set to be pkgver and for each package, its pkgver is set to "${_realver}.git$gitver", so we can also get the feature from makepkg ver update, and make packages of simple git version .
we will get libgl-7.7.git20100119-1-i686.pkg.tar.gz mesa-7.7.git20100119-1-i686.pkg.tar.gz ati-dir-7.7.git20100119-1-i686.pkg.tar.gz from the pkgbuild before.
And for a package don't need split, a dumb pacakage must be added in pkgname, like following one:
pkgbase=libdrm-git
pkgname=("libdrm" "dumb")
pkgver=20100119
_realver=2.4.17
pkgrel=1
pkgdesc="Userspace interface to kernel DRM services"
arch=('i686' 'x86_64')
depends=('glibc')
options=('!libtool')
url="http://dri.freedesktop.org/"
license=('custom')
replaces=('libdrm>=2.4.12')
groups=('xorg')
source=(no-pthread-stubs.patch)
md5sums=()
export gitver=$pkgver
_gitroot="http://anongit.freedesktop.org/git/mesa/drm.git"
_gitname="drm"
build() {
msg "Connecting to git.freedesktop.org GIT server...."
if [ -d $srcdir/$_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
if [[ -d ${srcdir}/${_gitname}-build ]]; then
msg "Cleaning the previous build directory..."
rm -rf ${srcdir}/${_gitname}-build
fi
git clone ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
cd ${srcdir}/${_gitname}-build
cd $srcdir/$_gitname-build
patch -Np1 -i "${srcdir}/no-pthread-stubs.patch" || return 1
sh autogen.sh --prefix=/usr \
--enable-nouveau-experimental-api \
--enable-radeon-experimental-api \
--enable-udev || return 1
make || return 1
package_libdrm()
pkgver=${_realver}.git${gitver}
cd ${srcdir}/${_gitname}-build
make DESTDIR=${pkgdir} install || return 1
package_dumb()
echo a
md5sums=('9b5ec3bbebe86921e2057694c42f65b8')
Maybe you are looking for
-
THis seems to be very basic, but I want to make sure the diff between line item and header.
-
Hello I have just installed Arch 2007.08-2 and everything went well (dual booting with Ubuntu), however when I try to add packages with pacman I get "error: failed to add target '.........' (could not find or read file. Here is my pacman.conf: # /et
-
QUEUE_NAME is initial Frank Schmitt cau u give the solution?
Hi Frank, My Scenario is Webservices-XI-BW... While sending data from webservices the response i get is QUEUE_NAME is initial... this i am getting since i am using QOS--EOIO, Can u tell me how u have solved this solution which u posted in sdn long ba
-
Guys: I would like know if you have manuals of Oracle BPM 11g. I hope you can give me some pages and pdf. Thanks a lot PS:If you have manuals in spanish, it will be great!!!.
-
Security analyst over on F-Secure are reporting a possible OPSEC issue in Yosemite. After copy a file from a Mac to a USB thumb drive, the user discovers that the Spotlight index files , ".store.db", contained e-mail addresses, subject lines, and in