diff options
Diffstat (limited to 'abs/extra-testing')
-rw-r--r-- | abs/extra-testing/community/xbmc-svn/CHANGELOG | 76 | ||||
-rw-r--r-- | abs/extra-testing/community/xbmc-svn/Lircmap.xml | 233 | ||||
-rw-r--r-- | abs/extra-testing/community/xbmc-svn/PKGBUILD | 131 | ||||
-rw-r--r-- | abs/extra-testing/community/xbmc-svn/__changelog | 1 | ||||
-rw-r--r-- | abs/extra-testing/community/xbmc-svn/libcurl-not-in-lib64.patch | 13 | ||||
-rw-r--r-- | abs/extra-testing/community/xbmc-svn/libfaad2-enable-AC_PROG_CXX.patch | 13 | ||||
-rw-r--r-- | abs/extra-testing/community/xbmc-svn/xbmc-safe-fullscreen.patch | 23 | ||||
-rw-r--r-- | abs/extra-testing/community/xbmc-svn/xbmc-svn.install | 9 | ||||
-rw-r--r-- | abs/extra-testing/fakeroot/PKGBUILD | 28 | ||||
-rw-r--r-- | abs/extra-testing/fakeroot/fakeroot.install | 30 | ||||
-rw-r--r-- | abs/extra-testing/irqbalance/Makefile.irqbalance | 13 | ||||
-rw-r--r-- | abs/extra-testing/irqbalance/PKGBUILD | 32 | ||||
-rw-r--r-- | abs/extra-testing/irqbalance/irqbalance.conf.d | 6 | ||||
-rw-r--r-- | abs/extra-testing/irqbalance/irqbalance.rc.d | 46 | ||||
-rw-r--r-- | abs/extra-testing/libsamplerate/PKGBUILD | 23 |
15 files changed, 677 insertions, 0 deletions
diff --git a/abs/extra-testing/community/xbmc-svn/CHANGELOG b/abs/extra-testing/community/xbmc-svn/CHANGELOG new file mode 100644 index 0000000..170990b --- /dev/null +++ b/abs/extra-testing/community/xbmc-svn/CHANGELOG @@ -0,0 +1,76 @@ +xbmc-svn Change log: +-------------------- + +19th May 2009 +20449-1 richy: 1. Removed the autoreconf line as it didn't seem to help + 2. Added !makeflags + 3. Rev push :-) + +16th May 2009 +20343-1 richy: 1. added python as a depenency and removed x-server (namcap advised), + 2. added autoreconf to goom before aclocal - another pot-shot at the goom compile prob. + 3. added flax and bison to makedepends - I thought they were implicitely provided, but + some users didn't have them. + 4. Rev push to 20343 + 5. Removed the --quiet flag form SVN for now as sourcforge was timing out and + failing silently. + + Note: namcap advised a number of other changes which I ignored for now. + +15th May 2009 +20231-3 - haggy: added libsamplerate as a dependency, it is needed for the recent smoothvideo patches + +14th May 2009 +20231-2 - haggy: another shot in the dark to fix that damn goom compilation error + +13th May 2009 +20231 - haggy: smoothvideo! + +12th May 2009 +20172 - haggy: a shot in the dark: try another autoreconf inside goom and see if it helps. + +11th May 2009 +20149 - haggy: pushed rev, removed 'hitting-o-breaks...'-patch - it got fixed in svn + +9th May 2009 +20101 - haggy: an updated PM3 skin made it into xbmc. added conflicts hint to this PKGBUILD + +8th May 2009 +20059 - haggy: minor push past 9.04, removed copying the source tree to a build tree which wastes space, + takes ages and stresses the hdd for no reason. instead we now use svn to revert to a + clean build dir. + +5th May 2009 +19941 - rich: heaps more tickets closed, Mexican translation + +30th April 2009 +19841 - haggy: lots of closed tickets worth a release, removed xsession patch + +27th April 2009 +19753 - haggy: added patch for xsession file breaking installation into fakeroot. + +22nd April 2009 +19602 - richy: version bump to address problem with python scripts and plugins + +20th April 2009 +19550 - haggy: pushed rev, some .mov fixes and better i18n in xbmc + +17th April 2009 +19517 - haggy: pushed rev, re-added installfile +19516-2- richy: Added back autoreconf -vif in libdvdcss - still required for some folk (me) +19516 - haggy: pushed rev, moved patches to patchfiles, added 'safe fullscreen patch', several cleanups + +15th April 2009 +19484 - haggy: pushed rev, re-enabled MAKEFLAGS to allow a more streamlined package + +14th April 2009 +19463 - haggy: added install file +19463 - richy: moved _svn* back inside build() on Haggy's suggestion. Let's try and avoid broken releases! +19463 - richy: makedepends 'subversion' instead of 'svn' because that's what's in the guidelines +19463 - richy: changed licens from ('GPL' 'custom') to ('GPL', 'LGPL') - See: http://xbmc.org/about/ + +13th April 2009 - initial upload to AUR, tested on 32bit and 64bit. +19444 - richy: Moved _svn* outside of build so that users get the latest SVN. +19444 - richy: Added a symlink for XBMCtex to usr/bin/XBMCtex +19444 - richy: Moved libcdio into depends from opt-depends - right now it is a dependency. + diff --git a/abs/extra-testing/community/xbmc-svn/Lircmap.xml b/abs/extra-testing/community/xbmc-svn/Lircmap.xml new file mode 100644 index 0000000..600567f --- /dev/null +++ b/abs/extra-testing/community/xbmc-svn/Lircmap.xml @@ -0,0 +1,233 @@ +<!-- This file contains the mapping of LIRC keys to XBMC keys used in Keymap.xml --> +<!-- --> +<!-- How to add remotes --> +<!-- <remote device="name_Lirc_calls_the_remote"> --> +<!-- --> +<!-- For the commands the layout following layout is used --> +<!-- <XBMC_COMMAND>LircButtonName</XBMC_COMMAND> --> +<!-- --> +<!-- For a list of XBMC_COMMAND's check out the <remote> sections of keymap.xml --> + +<lircmap> + <remote device="mceusb"> + <pause>Pause</pause> + <stop>Stop</stop> + <forward>Forward</forward> + <reverse>Rewind</reverse> + <left>Left</left> + <right>Right</right> + <up>Up</up> + <down>Down</down> + <select>OK</select> + <pageplus>ChanUp</pageplus> + <pageminus>ChanDown</pageminus> + <back>Back</back> + <menu>PreviousMenu</menu> + <title>Play</title> + <info>More</info> + <skipplus>Skip</skipplus> + <skipminus>Replay</skipminus> + <display>Teletext</display> + <start>Home</start> + <record>Record</record> + <volumeplus>VolUp</volumeplus> + <volumeminus>VolDown</volumeminus> + <mute>Mute</mute> + <power>Power</power> + <myvideo>Videos</myvideo> + <mymusic>Music</mymusic> + <mypictures>Pictures</mypictures> + <mytv>TV</mytv> + <one>One</one> + <two>Two</two> + <three>Three</three> + <four>Four</four> + <five>Five</five> + <six>Six</six> + <seven>Seven</seven> + <eight>Eight</eight> + <nine>Nine</nine> + <zero>Zero</zero> + <mytv>Red</mytv> + <mymusic>Green</mymusic> + <mypictures>Yellow</mypictures> + <myvideo>Blue</myvideo> + </remote> + + <remote device="mceusb2"> + <pause>Pause</pause> + <stop>Stop</stop> + <forward>Forward</forward> + <reverse>Rewind</reverse> + <left>Left</left> + <right>Right</right> + <up>Up</up> + <down>Down</down> + <select>OK</select> + <pageplus>ChanUp</pageplus> + <pageminus>ChanDown</pageminus> + <back>Back</back> + <menu>PreviousMenu</menu> + <title>Play</title> + <info>More</info> + <skipplus>Skip</skipplus> + <skipminus>Replay</skipminus> + <display>Teletext</display> + <start>Home</start> + <record>Record</record> + <volumeplus>VolUp</volumeplus> + <volumeminus>VolDown</volumeminus> + <mute>Mute</mute> + <power>Power</power> + <myvideo>Videos</myvideo> + <mymusic>Music</mymusic> + <mypictures>Pictures</mypictures> + <mytv>TV</mytv> + <one>One</one> + <two>Two</two> + <three>Three</three> + <four>Four</four> + <five>Five</five> + <six>Six</six> + <seven>Seven</seven> + <eight>Eight</eight> + <nine>Nine</nine> + <zero>Zero</zero> + <mytv>Red</mytv> + <mymusic>Green</mymusic> + <mypictures>Yellow</mypictures> + <myvideo>Blue</myvideo> + </remote> + + <remote device="XboxDVDDongle"> + <play>PLAY</play> + <pause>PAUSE</pause> + <stop>STOP</stop> + <forward>FORWARD</forward> + <reverse>REVERSE</reverse> + <left>LEFT</left> + <right>RIGHT</right> + <up>UP</up> + <down>DOWN</down> + <select>SELECT</select> + <back>BACK</back> + <menu>MENU</menu> + <title>TITLE</title> + <info>INFO</info> + <skipplus>SKIP+</skipplus> + <skipminus>SKIP-</skipminus> + <display>DISPLAY</display> + <one>1</one> + <two>2</two> + <three>3</three> + <four>4</four> + <five>5</five> + <six>6</six> + <seven>7</seven> + <eight>8</eight> + <nine>9</nine> + <zero>0</zero> + </remote> + + <remote device="Microsoft_Xbox"> + <play>PLAY</play> + <pause>PAUSE</pause> + <stop>STOP</stop> + <forward>FORWARD</forward> + <reverse>REVERSE</reverse> + <left>LEFT</left> + <right>RIGHT</right> + <up>UP</up> + <down>DOWN</down> + <select>SELECT</select> + <back>BACK</back> + <menu>MENU</menu> + <title>TITLE</title> + <info>INFO</info> + <skipplus>SKIP+</skipplus> + <skipminus>SKIP-</skipminus> + <display>DISPLAY</display> + <one>1</one> + <two>2</two> + <three>3</three> + <four>4</four> + <five>5</five> + <six>6</six> + <seven>7</seven> + <eight>8</eight> + <nine>9</nine> + <zero>0</zero> + </remote> + + <remote device="PinnacleSysPCTVRemote"> + <play>Play</play> + <pause>pause</pause> + <stop>Stop</stop> + <forward>FForward</forward> + <reverse>Rewind</reverse> + <left>Vol-Rew</left> + <right>Vol+FF</right> + <up>Chan+Play</up> + <down>Chan-Stop</down> + <pageplus>channel+</pageplus> + <pageminus>channel-</pageminus> + <select>middle</select> + <back>undo</back> + <menu>Menu</menu> + <title>L</title> + <info>Info</info> + <skipplus>next</skipplus> + <display>Fullscreen</display> + <record>Record</record> + <volumeplus>vol+</volumeplus> + <volumeminus>vol-</volumeminus> + <mute>Mute</mute> + <power>Power</power> + <one>1</one> + <two>2</two> + <three>3</three> + <four>4</four> + <five>5</five> + <six>6</six> + <seven>7</seven> + <eight>8</eight> + <nine>9</nine> + <zero>0</zero> + </remote> + + <remote device="Streamzap_PC_Remote"> + <play>PLAY</play> + <pause>PAUSE</pause> + <stop>STOP</stop> + <forward>>></forward> + <reverse><<</reverse> + <left>LEFT</left> + <right>RIGHT</right> + <up>UP</up> + <down>DOWN</down> + <pageplus>CH_UP</pageplus> + <pageminus>CH_DOWN</pageminus> + <select>OK</select> + <back>EXIT</back> + <menu>MENU</menu> + <title>RED</title> + <info>GREEN</info> + <skipplus>>>|</skipplus> + <display>YELLOW</display> + <record>RECORD</record> + <volumeplus>VOL_UP</volumeplus> + <volumeminus>VOL_DOWN</volumeminus> + <mute>MUTE</mute> + <power>POWER</power> + <one>1</one> + <two>2</two> + <three>3</three> + <four>4</four> + <five>5</five> + <six>6</six> + <seven>7</seven> + <eight>8</eight> + <nine>9</nine> + <zero>0</zero> + </remote> +</lircmap> diff --git a/abs/extra-testing/community/xbmc-svn/PKGBUILD b/abs/extra-testing/community/xbmc-svn/PKGBUILD new file mode 100644 index 0000000..e583600 --- /dev/null +++ b/abs/extra-testing/community/xbmc-svn/PKGBUILD @@ -0,0 +1,131 @@ +# Contributors : Richard Atkinson atkinsonr-at-gmail +# Ralf Barth <archlinux dot org at haggy dot org> +# +# Original credits go to Edgar Hucek <gimli at dark-green dot com> +# for his xbmc-vdpau-vdr PKGBUILD at https://archvdr.svn.sourceforge.net/svnroot/archvdr/trunk/archvdr/xbmc-vdpau-vdr/PKGBUILD + +pkgname=xbmc-svn +pkgver=20449 +pkgrel=1 +pkgdesc="XBMC Media Center from SVN (linuxport branch)" +provides=('xbmc') +conflicts=('xbmc' 'xbmc-smoothvideo' 'xbmc-vdpau') +arch=('i686' 'x86_64') +url="http://xbmc.org" +license=('GPL' 'LGPL') +depends=('alsa-lib' 'curl' 'enca' 'faac' 'freetype2' 'fribidi' 'gawk' 'glew' \ + 'hal' 'jasper' 'libgl' 'libjpeg>=6b-5' 'libmad' 'libmysqlclient' \ + 'libxinerama' 'libxrandr' 'lzo2' 'sdl_image' 'sdl_mixer' 'sqlite3' \ + 'tre' 'unzip' 'libcdio' 'libsamplerate' 'python') +makedepends=('subversion' 'autoconf' 'automake' 'boost' 'cmake' 'gcc' 'gperf' + 'libtool>=2.2.6a-1' 'make' 'nasm' 'patch' 'pkgconfig' 'zip' 'flex' 'bison') +optdepends=('lirc: remote controller support' + 'pmount: mount removable devices as normal user' + 'smbclient: access windows shares' + 'unrar: access compressed files without unpacking them') +install=("${pkgname}.install") +source=('libcurl-not-in-lib64.patch' \ + 'libfaad2-enable-AC_PROG_CXX.patch' \ + 'xbmc-safe-fullscreen.patch' + 'Lircmap.xml') +noextract=('libcurl-not-in-lib64.patch' \ + 'libfaad2-enable-AC_PROG_CXX.patch' \ + 'xbmc-safe-fullscreen.patch') + +md5sums=('96636ee964e37b78ca62235eb10d29c1' + '6864778d6adc3ccc79130c294f2fffd9' + 'c4d53522773846d8670884cc38f94aa0' + '3f93186f1ea4aad73011d00754c7265a') + +options=(!makeflags) + +build() { + + _svntrunk=http://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/linuxport/XBMC + _svnmod=XBMC + _prefix=/usr + + cd ${srcdir}/ + if [ -d $_svnmod/.svn ]; then + msg "SVN tree found, reverting changes and updating to -r$pkgver" + (cd $_svnmod && svn revert -R . && svn up -r $pkgver) || return 1 + else + msg "Checking out SVN tree of -r$pkgver" + svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod || return 1 + fi + msg "Done. Starting make..." + + # Apply patches + cd "$srcdir/$_svnmod" + + # Experimental safe fullscreen patch from the forums (by motd2k) + msg "Patching with xbmc-safe-fullscreen.patch" + patch --quiet -p0 < "$srcdir/xbmc-safe-fullscreen.patch" || return 1 + + # Arch's libcurl lives in /usr/lib, not /usr/lib64 - fix the path: + msg "Patching with libcurl-not-in-lib64.patch" + patch --quiet -p0 < "$srcdir/libcurl-not-in-lib64.patch" || return 1 + + # libfaad2 complains about a missing AC_PROG_CXX - add it and bootstrap: + msg "Patching with libfaad2-enable-AC_PROG_CXX.patch" + patch --quiet -p0 < "$srcdir/libfaad2-enable-AC_PROG_CXX.patch" || return 1 + autoreconf -vif xbmc/cores/dvdplayer/Codecs/libfaad2 + + # libass needs a bootstrap due to newer autotools in Arch Linux + autoreconf -vif xbmc/lib/libass + + # Another autotools mismatch between Arch and Ubuntu (xbmc-linuxport is developed against Ubuntu) + autoreconf -vif "$srcdir/$_svnmod/xbmc/cores/dvdplayer/Codecs/libdvd/libdvdcss" + + # Goom also needs a fixup due to newer autotools + cd "$srcdir/$_svnmod/xbmc/visualizations/Goom/goom2k4-0" + aclocal + libtoolize --copy --force + ./autogen.sh --enable-static --with-pic + + # Configure XBMC + cd "$srcdir/$_svnmod" + make distclean + ./configure --prefix=${_prefix} \ + --disable-debug || return 1 + + # Fix false negative detections of realloc that happens some times + if grep -q 'HAVE_REALLOC 0' config.h; then + sed -e 's|#define HAVE_REALLOC 0|#define HAVE_REALLOC 1|' \ + -e 's|#define realloc rpl_realloc|/* #define realloc rpl_realloc */|' \ + -i config.h || return 1 + fi + + # XBMCTex will segfault on systems with nvidia installed if linked to OpenGL + sed -e 's/-lGLU -lGLEW -lGL//' \ + -i ${srcdir}/$_svnmod/tools/XBMCTex/Makefile + + # Now (finally) build + make || return 1 + make prefix=${pkgdir}${_prefix} install || return 1 + + # Install + install -Dm755 ${srcdir}/$_svnmod/xbmc-xrandr \ + ${pkgdir}${_prefix}/share/xbmc/xbmc-xrandr || return 1 + + install -Dm644 ${srcdir}/$_svnmod/tools/Linux/xbmc.desktop \ + ${pkgdir}${_prefix}/share/applications/xbmc.desktop || return 1 + + install -Dm644 ${srcdir}/$_svnmod/tools/Linux/xbmc.png \ + ${pkgdir}${_prefix}/share/pixmaps/xbmc.png || return 1 + + install -Dm755 ${srcdir}/$_svnmod/tools/XBMCTex/XBMCTex \ + ${pkgdir}${_prefix}/share/xbmc/tools/xbmctex || return 1 + + # Skins often use build.sh that looks for /usr/bin/XBMCTex + ln -s "${_prefix}/share/xbmc/tools/xbmctex" "$pkgdir/usr/bin/XBMCTex" + + install -dm755 ${pkgdir}${_prefix}/share/licenses/${pkgname} + for licensef in LICENSE.GPL README.linux copying.txt; do + mv ${pkgdir}${_prefix}/share/xbmc/${licensef} \ + ${pkgdir}${_prefix}/share/licenses/${pkgname} || return 1 + done + + # Use custom Lircmap to support StreamZap remote + cp $srcdir/Lircmap.xml ${pkgdir}${_prefix}/share/xbmc/system/Lircmap.xml +} diff --git a/abs/extra-testing/community/xbmc-svn/__changelog b/abs/extra-testing/community/xbmc-svn/__changelog new file mode 100644 index 0000000..bbf1705 --- /dev/null +++ b/abs/extra-testing/community/xbmc-svn/__changelog @@ -0,0 +1 @@ +Added Lircmap.xml to PKGBUILD to support MCE2 and StreamZap remotes diff --git a/abs/extra-testing/community/xbmc-svn/libcurl-not-in-lib64.patch b/abs/extra-testing/community/xbmc-svn/libcurl-not-in-lib64.patch new file mode 100644 index 0000000..b89db5a --- /dev/null +++ b/abs/extra-testing/community/xbmc-svn/libcurl-not-in-lib64.patch @@ -0,0 +1,13 @@ +Index: Makefile.include.in +=================================================================== +--- Makefile.include.in (revision 20149) ++++ Makefile.include.in (working copy) +@@ -24,7 +24,7 @@ + + ifeq (linux,$(findstring linux, $(ARCH))) + ifeq ($(ARCH), x86_64-linux) +- DEFINES+=-DDLL_PATH_LIBCURL="\"/usr/lib64/libcurl.so.4\"" ++ DEFINES+=-DDLL_PATH_LIBCURL="\"/usr/lib/libcurl.so.4\"" + else + DEFINES+=-DDLL_PATH_LIBCURL="\"/usr/lib/libcurl.so.4\"" + endif diff --git a/abs/extra-testing/community/xbmc-svn/libfaad2-enable-AC_PROG_CXX.patch b/abs/extra-testing/community/xbmc-svn/libfaad2-enable-AC_PROG_CXX.patch new file mode 100644 index 0000000..89d7497 --- /dev/null +++ b/abs/extra-testing/community/xbmc-svn/libfaad2-enable-AC_PROG_CXX.patch @@ -0,0 +1,13 @@ +Index: xbmc/cores/dvdplayer/Codecs/libfaad2/configure.in +=================================================================== +--- xbmc/cores/dvdplayer/Codecs/libfaad2/configure.in (revision 19486) ++++ xbmc/cores/dvdplayer/Codecs/libfaad2/configure.in (working copy) +@@ -18,7 +18,7 @@ + AC_PROG_CC + AC_PROG_CPP + dnl disable for mpeg4ip plugin +-dnl AC_PROG_CXX ++AC_PROG_CXX + AC_PROG_INSTALL + AC_PROG_LN_S + AC_PROG_MAKE_SET diff --git a/abs/extra-testing/community/xbmc-svn/xbmc-safe-fullscreen.patch b/abs/extra-testing/community/xbmc-svn/xbmc-safe-fullscreen.patch new file mode 100644 index 0000000..d112e52 --- /dev/null +++ b/abs/extra-testing/community/xbmc-svn/xbmc-safe-fullscreen.patch @@ -0,0 +1,23 @@ +Index: xbmc/Application.cpp +=================================================================== +--- xbmc/Application.cpp (revision 20059) ++++ xbmc/Application.cpp (working copy) +@@ -873,6 +873,8 @@ + #endif + + // set GUI res and force the clear of the screen ++ if (g_guiSettings.GetBool("videoscreen.safefull")) ++ g_guiSettings.m_LookAndFeelResolution = AUTORES; + g_graphicsContext.SetVideoResolution(g_guiSettings.m_LookAndFeelResolution, TRUE, true); + + #ifdef _WIN32PC +@@ -949,6 +951,9 @@ + time(&seconds); + srand((unsigned int)seconds); + ++ if (g_guiSettings.GetBool("videoscreen.safefull")) ++ g_graphicsContext.ToggleFullScreenRoot(); ++ + return CXBApplicationEx::Create(hWnd); + } + diff --git a/abs/extra-testing/community/xbmc-svn/xbmc-svn.install b/abs/extra-testing/community/xbmc-svn/xbmc-svn.install new file mode 100644 index 0000000..9316bc8 --- /dev/null +++ b/abs/extra-testing/community/xbmc-svn/xbmc-svn.install @@ -0,0 +1,9 @@ +post_install() { + echo ">> If XBMC won't start, but just segfaults, double check your X.Org config" + echo ">> so that your display depth is at least 24-bit. Eg: change " + echo ">> \"DefaultDepth 16\" under the \"Screen\" section so it says 24 instead" + echo ">> of 16." + /bin/true +} + +# vim:set ts=2 sw=2 et: diff --git a/abs/extra-testing/fakeroot/PKGBUILD b/abs/extra-testing/fakeroot/PKGBUILD new file mode 100644 index 0000000..f8dd4b2 --- /dev/null +++ b/abs/extra-testing/fakeroot/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 29508 2009-03-09 17:06:43Z andyrtr $ +# Maintainer: Andreas Radke <andyrtr@archlinux.org> +# Contributor: Jochem Kossen <j.kossen@home.nl> + +pkgname=fakeroot +pkgver=1.12.2 +pkgrel=2 +pkgdesc="Gives a fake root environment, useful for building packages as a non-privileged user" +arch=('i686' 'x86_64') +license=('GPL') +url="http://packages.debian.org/fakeroot" +groups=('base-devel') +install=fakeroot.install +depends=('glibc' 'filesystem' 'grep' 'sed') +options=('!libtool') +source=(http://ftp.debian.org/debian/pool/main/f/$pkgname/${pkgname}_${pkgver}.tar.gz) +md5sums=('1eb7d972a19159035892e7d132602726') + +build() { + cd ${srcdir}/$pkgname-$pkgver + ./configure --prefix=/usr --libdir=/usr/lib/libfakeroot \ + --disable-static --with-ipc=sysv + # --with-ipc=tcp is currently broken and no option on smp systems + make || return 1 + make DESTDIR=${pkgdir} install || return 1 + # install README for sysv/tcp usage + install -Dm644 $srcdir/$pkgname-$pkgver/README $pkgdir/usr/share/doc/$pkgname/README +} diff --git a/abs/extra-testing/fakeroot/fakeroot.install b/abs/extra-testing/fakeroot/fakeroot.install new file mode 100644 index 0000000..c2f62a7 --- /dev/null +++ b/abs/extra-testing/fakeroot/fakeroot.install @@ -0,0 +1,30 @@ +# arg 1: the new package version +post_install() { + if [ ! "`grep /usr/lib/libfakeroot etc/ld.so.conf`" ]; then + echo -n "updating /etc/ld.so.conf... " + echo "/usr/lib/libfakeroot" >>etc/ld.so.conf + sbin/ldconfig -r . + echo "done." + fi +echo "The package is built using sysv ipc. If this causes segfaults" +echo "see included README file and rebuild the pkg --with-ipc=tcp" +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + post_install $1 +} + +# arg 1: the old package version +pre_remove() { + echo -ne "\nupdating /etc/ld.so.conf... " + sed -i -e '/\/usr\/lib\/libfakeroot/d' etc/ld.so.conf + sbin/ldconfig -r . + echo "done." +} + +op=$1 +shift + +$op $* diff --git a/abs/extra-testing/irqbalance/Makefile.irqbalance b/abs/extra-testing/irqbalance/Makefile.irqbalance new file mode 100644 index 0000000..fe08dc0 --- /dev/null +++ b/abs/extra-testing/irqbalance/Makefile.irqbalance @@ -0,0 +1,13 @@ +CFLAGS := $(CFLAGS) -D_FORTIFY_SOURCE=2 -Wall -W $(shell pkg-config --cflags glib-2.0) +LDFLAGS := $(shell pkg-config --libs glib-2.0) + +OBJS = bitmap.o irqbalance.o cputree.o procinterrupts.o irqlist.o \ + placement.o activate.o network.o powermode.o numa.o classify.o + +all: irqbalance + +irqbalance: $(OBJS) + $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) + +clean: + rm -f irqbalance *~ *.o diff --git a/abs/extra-testing/irqbalance/PKGBUILD b/abs/extra-testing/irqbalance/PKGBUILD new file mode 100644 index 0000000..5d823cd --- /dev/null +++ b/abs/extra-testing/irqbalance/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Dan McGee <dan@archlinux.org> +# Contributor: Martin Striz <ms@poruba.net> + +pkgname=irqbalance +pkgver=0.55 +pkgrel=3 +pkgdesc="IRQ balancing daemon for SMP systems" +arch=('i686' 'x86_64') +url="http://www.irqbalance.org/" +license=('GPL') +depends=(glib2) +makedepends=(pkgconfig) +backup=(etc/conf.d/irqbalance) +source=(http://www.irqbalance.org/releases/$pkgname-$pkgver.tar.gz + Makefile.irqbalance + irqbalance.conf.d + irqbalance.rc.d) +md5sums=('9f6b314ff1fdc14173abeb40592d4edf' + '45bc9e1d041d8547f2dbf12f887216df' + '336c1ee99818f9ecda1687e34c69fd6b' + '96efae052553711f74a61760cefa93b5') + +build() { + cd $srcdir/$pkgname-$pkgver + # use our Makefile instead of one provided which is not quite right + cp ../Makefile.irqbalance Makefile + make || return 1 + + install -D -m755 irqbalance $pkgdir/usr/sbin/irqbalance + install -D -m644 ../irqbalance.conf.d $pkgdir/etc/conf.d/irqbalance + install -D -m755 ../irqbalance.rc.d $pkgdir/etc/rc.d/irqbalance +} diff --git a/abs/extra-testing/irqbalance/irqbalance.conf.d b/abs/extra-testing/irqbalance/irqbalance.conf.d new file mode 100644 index 0000000..ef1bdfd --- /dev/null +++ b/abs/extra-testing/irqbalance/irqbalance.conf.d @@ -0,0 +1,6 @@ +# +# Settings for irqbalance daemon +# + +# one shot mode - set to 1 if you have Pentium 4 with HT +ONESHOT=0 diff --git a/abs/extra-testing/irqbalance/irqbalance.rc.d b/abs/extra-testing/irqbalance/irqbalance.rc.d new file mode 100644 index 0000000..c8d197f --- /dev/null +++ b/abs/extra-testing/irqbalance/irqbalance.rc.d @@ -0,0 +1,46 @@ +#!/bin/bash + +# source application-specific settings +ONESHOT=0 +[ -f /etc/conf.d/irqbalance ] && . /etc/conf.d/irqbalance + +if [ "$ONESHOT" -ne 0 ]; then + ONESHOT_CMD="oneshot" +fi + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pidof -o %PPID /usr/sbin/irqbalance` +case "$1" in + start) + stat_busy "Starting IRQ balancing" + [ -z "$PID" ] && /usr/sbin/irqbalance $ONESHOT_CMD + if [ $? -gt 0 ]; then + stat_fail + else + if [ "$ONESHOT" -eq 0 ]; then + add_daemon irqbalance + fi + stat_done + fi + ;; + stop) + stat_busy "Stopping IRQ balancing" + [ ! -z "$PID" ] && kill $PID &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon irqbalance + stat_done + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/abs/extra-testing/libsamplerate/PKGBUILD b/abs/extra-testing/libsamplerate/PKGBUILD new file mode 100644 index 0000000..1537675 --- /dev/null +++ b/abs/extra-testing/libsamplerate/PKGBUILD @@ -0,0 +1,23 @@ +# $Id$ +# Maintainer: Eric Belanger <eric@archlinux.org> +# Contributor: Jason Chu <jchu@xentac.net> + +pkgname=libsamplerate +pkgver=0.1.7 +pkgrel=1 +pkgdesc="Secret Rabbit Code - aka Sample Rate Converter for audio" +arch=('i686' 'x86_64') +url="http://www.mega-nerd.com/SRC/index.html" +license=('GPL') +depends=('libsndfile' 'flac>=1.1.4') +options=('!libtool') +source=(http://www.mega-nerd.com/SRC/libsamplerate-${pkgver}.tar.gz) +md5sums=('ad093e60ec44f0a60de8e29983ddbc0f') +sha1sums=('98a52392eb97f9ba724ca024b3af29a8a0cc0206') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr || return 1 + make || return 1 + make DESTDIR=${pkgdir} install || return 1 +} |