Merge branch 'testing' of gitorious.org:chakra-packages/platform into testing

This commit is contained in:
Manuel 2011-10-08 02:32:42 +00:00
commit 8ab4621440
24 changed files with 263 additions and 463 deletions

30
alkimia/PKGBUILD Normal file
View File

@ -0,0 +1,30 @@
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=alkimia
pkgver=4.3.1
pkgrel=1
pkgdesc="A library with common classes and functionality used by finance applications for the KDE SC."
depends=()
makedepends=('cmake' 'automoc4')
conflicts=()
url=('http://kde-apps.org/content/show.php/libalkimia?content=137323')
license=('LGPL')
arch=('i686' 'x86_64')
source=("http://kde-apps.org/CONTENT/content-files/137323-libalkimia-$pkgver.tar.bz2")
md5sums=('73d7f1365118019030b2045d95c92456')
build()
{
cd $srcdir/libalkimia-$pkgver
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=DebugFull
make
make DESTDIR=$startdir/pkg install
}

View File

@ -5,7 +5,8 @@
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=aqbanking-qt4
pkgver=5.0.5
pkgver=5.0.15
_dnrel=86
pkgrel=1
pkgdesc="A library for online banking and financial applications"
arch=(i686 x86_64)
@ -14,7 +15,7 @@ url="http://www.aquamaniac.de/aqbanking"
license=('GPL')
depends=('gwenhywfar' 'ktoblzcheck' 'libofx')
options=('!makeflags' '!libtool')
source=("aqbanking-$pkgver.tar.gz::http://www2.aquamaniac.de/sites/download/download.php?package=03&release=78&file=01&dummy=aqbanking-$pkgver.tar.gz")
source=("aqbanking-$pkgver.tar.gz::http://www2.aquamaniac.de/sites/download/download.php?package=03&release=${_dnrel}&file=01&dummy=aqbanking-$pkgver.tar.gz")
build() {
cd $srcdir/aqbanking-$pkgver
@ -26,4 +27,4 @@ build() {
make DESTDIR=$pkgdir install
}
md5sums=('b50c28887fc9fd2fc9a4d9fc996497e6')
md5sums=('d7619785e50c2b9ca44b4ae8aa27aebc')

View File

@ -1,52 +0,0 @@
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=flashplugin-square
_licensefile='PlatformClients_PC_WWEULA_Combined_20100108_1657.pdf'
pkgver=11.0.1.129
pkgrel=1
pkgdesc='Adobe Flash Player Beta'
url='http://labs.adobe.com/technologies/flashplatformruntimes/flashplayer11/'
arch=('i686' 'x86_64')
source=('http://download.macromedia.com/pub/labs/flashplatformruntimes/flashplayer11/flashplayer11_rc1_install_lin_32_090611.tar.gz'
"http://www.adobe.com/products/eulas/pdfs/${_licensefile}"
'mms.cfg')
md5sums=('2a780926255d88f39f3b007f3d342e0d'
'94ca2aecb409abfe36494d1a7ec7591d'
'dcd4454dc4aa8116b4d7a6c3ba159ea4')
if [[ $CARCH == x86_64 ]]; then
source[0]=http://download.macromedia.com/pub/labs/flashplatformruntimes/flashplayer11/flashplayer11_rc1_install_lin_64_090611.tar.gz
md5sums[0]=fd9bea881552223ddd73ccd84d2cd459
fi
depends=('mozilla-common' 'libxt' 'gtk2' 'nss' 'curl')
optdepends=('libvdpau: GPU acceleration on Nvidia card')
conflicts=('flashplugin')
provides=('flashplayer' 'flashplugin')
license=('custom')
options=(!strip)
install=flashplugin.install
backup=(etc/adobe/mms.cfg)
package() {
install -D -m755 ${srcdir}/usr/lib/kde4/kcm_adobe_flash_player.so ${pkgdir}/usr/lib/kde4/kcm_adobe_flash_player.so
install -D -m644 ${srcdir}/usr/share/icons/hicolor/16x16/apps/flash-player-properties.png ${pkgdir}/usr/share/icons/hicolor/16x16/apps/flash-player-properties.png
install -D -m644 ${srcdir}/usr/share/icons/hicolor/32x32/apps/flash-player-properties.png ${pkgdir}/usr/share/icons/hicolor/32x32/apps/flash-player-properties.png
install -D -m644 ${srcdir}/usr/share/icons/hicolor/24x24/apps/flash-player-properties.png ${pkgdir}/usr/share/icons/hicolor/24x24/apps/flash-player-properties.png
install -D -m644 ${srcdir}/usr/share/icons/hicolor/48x48/apps/flash-player-properties.png ${pkgdir}/usr/share/icons/hicolor/48x48/apps/flash-player-properties.png
install -D -m644 ${srcdir}/usr/share/icons/hicolor/22x22/apps/flash-player-properties.png ${pkgdir}/usr/share/icons/hicolor/22x22/apps/flash-player-properties.png
install -D -m644 ${srcdir}/usr/share/icons/hicolor/48x48/apps/flash-player-properties.png ${pkgdir}/usr/share/pixmaps/flash-player-properties.png
install -D -m644 ${srcdir}/usr/share/applications/flash-player-properties.desktop ${pkgdir}/usr/share/applications/flash-player-properties.desktop
install -D -m644 ${srcdir}/usr/share/kde4/services/kcm_adobe_flash_player.desktop ${pkgdir}/usr/share/kde4/services/kcm_adobe_flash_player.desktop
install -D -m755 ${srcdir}/usr/bin/flash-player-properties ${pkgdir}/usr/bin/flash-player-properties
install -D -m755 libflashplayer.so ${pkgdir}/usr/lib/mozilla/plugins/libflashplayer.so
install -D -m644 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/${_licensefile}
install -D -m644 mms.cfg ${pkgdir}/etc/adobe/mms.cfg
}

View File

@ -1,14 +0,0 @@
post_install() {
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
echo " >> "
echo " >> If you have an NVIDIA card that supports libvdpau or Broadcom Crystal HD chips,"
echo " >> uncomment EnableLinuxHWVideoDecode=1 from /etc/adobe/mms.cfg."
echo " >> If you run into problems, please contact nVidia or Broadcom along with your system config info / driver version."
echo " >> "
}
post_upgrade() {
if [ "$(vercmp $2 10.2.152.27-2)" -lt 0 ]; then
post_install $1
fi
}

View File

@ -1,3 +0,0 @@
#Hardware video decoding
EnableLinuxHWVideoDecode=0

View File

@ -8,38 +8,48 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=flashplugin
_licensefile='Reader_Player_AIR_WWEULA-Combined-20080204_1313.pdf'
pkgver=10.3.183.10
_pkgver64=10.0.45.2
pkgrel=1
pkgdesc='Adobe Flash Player'
url='http://get.adobe.com/flashplayer'
arch=('i686') # 'x86_64')
depends=('mozilla-common' 'libxt' 'gtk2' 'nss' 'curl' 'hicolor-icon-theme')
_licensefile='PlatformClients_PC_WWEULA_Combined_20100108_1657.pdf'
pkgver=11.0.1.152
pkgrel=2
pkgdesc='Adobe Flash Player Beta'
url='http://labs.adobe.com/technologies/flashplatformruntimes/flashplayer11/'
arch=('i686' 'x86_64')
conflicts=("flashplugin-square")
replaces=("flashplugin-square")
provides=("flashplugin-square")
source=('http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_11_linux.i386.tar.gz'
"http://www.adobe.com/products/eulas/pdfs/${_licensefile}"
'mms.cfg')
md5sums=('34051edfcb78e6db14567a6c5f53e161'
'94ca2aecb409abfe36494d1a7ec7591d'
'dcd4454dc4aa8116b4d7a6c3ba159ea4')
if [[ $CARCH == x86_64 ]]; then
source[0]=http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_11_linux.x86_64.tar.gz
md5sums[0]=782952c5730caa4e4cbe7e1d9dfa6214
fi
depends=('mozilla-common' 'libxt' 'gtk2' 'nss' 'curl')
optdepends=('libvdpau: GPU acceleration on Nvidia card')
replaces=('flashplugin-beta')
provides=('flashplayer')
conflicts=('flashplugin')
provides=('flashplayer' 'flashplugin')
license=('custom')
options=(!strip)
install=flashplugin.install
backup=(etc/adobe/mms.cfg)
source=('http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz'
"http://www.adobe.com/products/eulas/pdfs/${_licensefile}"
mms.cfg)
md5sums=('f04482fcfa0ccd081447d15341762978'
'1636037610ee2aa35c5fb736a697b7e0'
'f34aae6279b40e0bd2abfb0d9963d7b8')
#[ "${CARCH}" = "x86_64" ] && source[0]="http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-${_pkgver64}.linux-${CARCH}.so.tar.gz"
#[ "${CARCH}" = "x86_64" ] && md5sums[0]='4a4561e456612a6751653b58342d53df'
package () {
cd ${srcdir}
install -Dm755 libflashplayer.so "${pkgdir}/usr/lib/mozilla/plugins/libflashplayer.so"
install -Dm755 usr/bin/flash-player-properties "${pkgdir}/usr/bin/flash-player-properties"
for i in 16x16 22x22 24x24 32x32 48x48; do
install -Dm644 usr/share/icons/hicolor/${i}/apps/flash-player-properties.png \
"${pkgdir}/usr/share/icons/hicolor/${i}/apps/flash-player-properties.png"
done
install -Dm644 usr/share/applications/flash-player-properties.desktop "${pkgdir}/usr/share/applications/flash-player-properties.desktop"
install -Dm644 "${_licensefile}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.pdf"
install -Dm644 ${srcdir}/mms.cfg "${pkgdir}/etc/adobe/mms.cfg"
package() {
install -D -m755 ${srcdir}/usr/lib/kde4/kcm_adobe_flash_player.so ${pkgdir}/usr/lib/kde4/kcm_adobe_flash_player.so
install -D -m644 ${srcdir}/usr/share/icons/hicolor/16x16/apps/flash-player-properties.png ${pkgdir}/usr/share/icons/hicolor/16x16/apps/flash-player-properties.png
install -D -m644 ${srcdir}/usr/share/icons/hicolor/32x32/apps/flash-player-properties.png ${pkgdir}/usr/share/icons/hicolor/32x32/apps/flash-player-properties.png
install -D -m644 ${srcdir}/usr/share/icons/hicolor/24x24/apps/flash-player-properties.png ${pkgdir}/usr/share/icons/hicolor/24x24/apps/flash-player-properties.png
install -D -m644 ${srcdir}/usr/share/icons/hicolor/48x48/apps/flash-player-properties.png ${pkgdir}/usr/share/icons/hicolor/48x48/apps/flash-player-properties.png
install -D -m644 ${srcdir}/usr/share/icons/hicolor/22x22/apps/flash-player-properties.png ${pkgdir}/usr/share/icons/hicolor/22x22/apps/flash-player-properties.png
install -D -m644 ${srcdir}/usr/share/icons/hicolor/48x48/apps/flash-player-properties.png ${pkgdir}/usr/share/pixmaps/flash-player-properties.png
install -D -m644 ${srcdir}/usr/share/applications/flash-player-properties.desktop ${pkgdir}/usr/share/applications/flash-player-properties.desktop
install -D -m644 ${srcdir}/usr/share/kde4/services/kcm_adobe_flash_player.desktop ${pkgdir}/usr/share/kde4/services/kcm_adobe_flash_player.desktop
install -D -m755 ${srcdir}/usr/bin/flash-player-properties ${pkgdir}/usr/bin/flash-player-properties
install -D -m755 libflashplayer.so ${pkgdir}/usr/lib/mozilla/plugins/libflashplayer.so
install -D -m644 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/${_licensefile}
install -D -m644 mms.cfg ${pkgdir}/etc/adobe/mms.cfg
}

View File

@ -1,4 +1,5 @@
post_install() {
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
echo " >> "
echo " >> If you have an NVIDIA card that supports libvdpau or Broadcom Crystal HD chips,"
echo " >> uncomment EnableLinuxHWVideoDecode=1 from /etc/adobe/mms.cfg."
@ -7,7 +8,7 @@ post_install() {
}
post_upgrade() {
if [ "$(vercmp $2 10.2.152.27)" -lt 0 ]; then
if [ "$(vercmp $2 10.2.152.27-2)" -lt 0 ]; then
post_install $1
fi
}
}

View File

@ -1,2 +1,3 @@
#Hardware video decoding
#EnableLinuxHWVideoDecode=1
EnableLinuxHWVideoDecode=0

View File

@ -8,20 +8,20 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=gwenhywfar
pkgver=4.0.9
pkgver=4.3.0
pkgrel=1
pkgdesc="OS abstraction functions for various projects"
arch=(i686 x86_64)
url="http://www.aquamaniac.de"
options=('!libtool')
license=("LGPL")
depends=('openssl' 'qt' 'gnutls')
depends=('openssl' 'qt' 'gnutls' 'libgcrypt')
source=("gwenhywfar-$pkgver.tar.gz::http://www2.aquamaniac.de/sites/download/download.php?package=01&release=60&file=01&dummy=gwenhywfar-$pkgver.tar.gz")
md5sums=('03c22b95eb493c8c98284d3d2e4d9795')
build() {
pacman -Q gwenhywfar && return 1
cd $srcdir/gwenhywfar-$pkgver
cd $srcdir/gwenhywfar-4.0.9
./configure --prefix=/usr --sysconfdir=/etc --enable-ssl --with-guis=qt4 --disable-gtk2
make
make DESTDIR=$pkgdir install

View File

@ -8,7 +8,7 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=ktoblzcheck
pkgver=1.28
pkgver=1.33
pkgrel=1
pkgdesc="tool for verification of account numbers and bank codes"
arch=('i686' 'x86_64')
@ -16,11 +16,15 @@ license=('LGPL')
url="http://ktoblzcheck.sourceforge.net/"
depends=('python2' 'gcc-libs')
source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('c0d4eea78f30e9bef4c5770c4773cde0')
md5sums=('e9f62a9a64ee51ab43751eadcade0433')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --enable-python
make
make prefix=$pkgdir/usr install
}
package() {
cd "$srcdir/ktoblzcheck-$pkgver"
make DESTDIR="$pkgdir" install
}

View File

@ -1,24 +1,48 @@
#
# Chakra Packages for Chakra, part of chakra-project.org
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=libofx
pkgver=0.9.2
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgbase=libofx
pkgname=('libofx' 'libofx-doc')
pkgver=0.9.4
pkgrel=1
pkgdesc="API for the OFX banking standard"
arch=('i686' 'x86_64')
url="http://libofx.sourceforge.net"
license=("GPL")
options=('!libtool')
depends=('opensp>=1.5.2' 'curl' 'gcc-libs')
license=('GPL')
depends=('opensp' 'curl' 'libxml++')
checkdepends=('gnupg')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('cb72fce95e0d59bef78ba0601fbc91f3')
md5sums=('f2419bf8d01c0cff74efe7084e0a26c5')
sha1sums=('7370245c011ac4ea9313ba24a88c70e0eb9c317b')
build() {
cd $srcdir/$pkgname-$pkgver
cd "$srcdir/$pkgbase-$pkgver"
./configure --prefix=/usr
make || return 1
make DESTDIR=$pkgdir install
make
}
check() {
cd "$srcdir/$pkgbase-$pkgver"
make check
}
package_libofx() {
options=('!libtool' '!docs')
cd "$srcdir/$pkgbase-$pkgver"
make DESTDIR="$pkgdir" install
}
package_libofx-doc() {
pkgdesc="Documention of the OFX banking standard API"
depends=()
cd "$srcdir/$pkgbase-$pkgver"
make DESTDIR="$pkgdir" install-docDATA
make -C doc DESTDIR="$pkgdir" install
}

View File

@ -1,10 +1,16 @@
# $Id: PKGBUILD 75563 2010-04-01 20:42:21Z giovanni $
# Maintainer: dorphell <dorphell@archlinux.org>
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=ntp
pkgver=4.2.6.p3
_realver=4.2.6p3
pkgrel=4
pkgver=4.2.6.p4
_realver=4.2.6p4
pkgrel=1
pkgdesc="NTP (Network Time Protocol) tries to keep servers in sync"
arch=('i686' 'x86_64')
license=('custom')
@ -12,71 +18,44 @@ url="http://www.ntp.org/"
depends=('openssl' 'readline' 'libcap')
makedepends=('perl-html-parser')
backup=('etc/ntp.conf' 'etc/conf.d/ntp-client.conf')
options=('!emptydirs')
install=install
source=("http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-${_realver}.tar.gz"
ntp-4.2.4-html2man.patch
ntp.conf
ntp-client.conf
ntpd.conf
ntpd
ntpdate)
md5sums=('59876a9009b098ff59767ee45a88ebd2'
'1b04e888717bb31479a6087632981723'
'6e3bac6153ab072d60d6f494093d2ded'
md5sums=('1447121a07b49361677ffda4f6e29527'
'302c19233dc599328f0faefcce45f109'
'58997d6cf4846d80e35a01b855376a33'
'bf20804e75656609e808ca21b53ea4aa'
'99b49d763e5866f4f81c48d922c80b93')
'1a487594387e87039169e200f74a8346'
'997d91431ebfd8b75a68de6f7ada2a95')
build() {
cd "${srcdir}/${pkgname}-${_realver}"
# fix man page generation
patch -Np1 -i ../ntp-4.2.4-html2man.patch
# configure
export LDFLAGS="${LDFLAGS//-Wl,--as-needed -lrt}"
# 4.2.6p3: aclocal too old, regenerate
rm -f aclocal.m4
libtoolize --copy --force
ac_cv_header_dns_sd_h=0 ./configure --prefix=/usr \
./configure --prefix=/usr \
--mandir=/usr/share/man \
--enable-linux-caps
# build
make
}
package() {
cd "${srcdir}/${pkgname}-${_realver}"
cd "${srcdir}/${pkgname}-$_realver"
# install
make DESTDIR="${pkgdir}" install
make DESTDIR="${pkgdir}" install
# install conf files
install -d "${pkgdir}/usr/share/ntp"
install -D -m644 conf/* "${pkgdir}/usr/share/ntp"
install -Dm755 ../ntpd "${pkgdir}"/etc/rc.d/ntpd
install -Dm755 ../ntpdate "${pkgdir}"/etc/rc.d/ntpdate
install -Dm644 ../ntp.conf "${pkgdir}"/etc/ntp.conf
install -Dm644 ../ntpd.conf "${pkgdir}"/etc/conf.d/ntpd.conf
# install launch scripts
install -d "${pkgdir}/etc/rc.d"
install -D -m755 "${srcdir}"/{ntpd,ntpdate} "${pkgdir}/etc/rc.d"
cd html
../scripts/html2man
install -d "${pkgdir}"/usr/share/man
mv man/man* "${pkgdir}"/usr/share/man
mv "${pkgdir}/usr/share/man/man8/ntpd.8" "${pkgdir}/usr/share/man/man8/ntp-ntpd.8" # we should ditch openntpd
cd ..
# install man pages
cd html
../scripts/html2man
sed -i 's/^[\t\ ]*$//;/./,/^$/!d' man/man*/*.[58]
install -d "${pkgdir}"/usr/share/man/man{5,8}
install -m644 man/man5/* "${pkgdir}/usr/share/man/man5"
install -m644 man/man8/* "${pkgdir}/usr/share/man/man8"
mv "${pkgdir}/usr/share/man/man8/ntpd.8" "${pkgdir}/usr/share/man/man8/ntp-ntpd.8"
cd ..
# install sample configs
install -D -m644 "${srcdir}/ntp.conf" "${pkgdir}/etc/ntp.conf"
install -D -m644 "${srcdir}/ntp-client.conf" \
"${pkgdir}/etc/conf.d/ntp-client.conf"
# create /var/lib/ntp
install -d "${pkgdir}/var/lib/ntp"
touch "${pkgdir}/var/lib/ntp/.placeholder"
install -Dm644 "${srcdir}/${pkgname}-${_realver}/COPYRIGHT" \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
rmdir "${pkgdir}"/usr/{lib,sbin}
install -d "${pkgdir}/var/lib/ntp"
install -Dm644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
# vim:set ts=2 sw=2 et:

View File

@ -1,10 +0,0 @@
--- ntp-4.2.4p7-orig/configure.ac 2009-06-18 14:48:12.151346763 +0200
+++ ntp-4.2.4p7/configure.ac 2009-06-18 14:50:07.054692531 +0200
@@ -4456,6 +4456,7 @@
[
AC_LANG_PROGRAM(
[
+ #define _GNU_SOURCE
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>

10
ntp/install Normal file
View File

@ -0,0 +1,10 @@
post_upgrade() {
if [[ $(vercmp $2 4.2.6.p3) -le 0 ]]; then
cat <<EOF
==> The file /etc/conf.d/ntp-client.conf has been renamed /etc/conf.d/ntpd.conf
==> If you made changes to the former, please update the latter.
EOF
fi
}

View File

@ -1,183 +0,0 @@
--- ntp-4.2.4/scripts/html2man.in.html2man 2006-06-06 22:17:10.000000000 +0200
+++ ntp-4.2.4/scripts/html2man.in 2007-01-08 12:47:31.000000000 +0100
@@ -23,10 +23,10 @@
'ntpq' => ['ntpq', 8, 'ntpd(8), ntpdc(8)'],
'ntpdate' => ['ntpdate', 8, 'ntpd(8)'],
'ntpdc' => ['ntpdc', 8, 'ntpd(8)'],
- 'ntptime' => ['ntpdtime', 8, 'ntpd(8), ntpdate(8)'],
+ 'ntptime' => ['ntptime', 8, 'ntpd(8), ntpdate(8)'],
'ntptrace' => ['ntptrace', 8, 'ntpd(8)'],
'keygen' => ['ntp-keygen', 8, 'ntpd(8), ntp_auth(5)'],
- 'confopt' => ['ntp.conf', 5, 'ntpd(8)'],
+ 'confopt' => ['ntp.conf', 5, 'ntpd(8), ntp_auth(5), ntp_mon(5), ntp_acc(5), ntp_clock(5), ntp_misc(5)'],
'authopt' => ['ntp_auth', 5, 'ntp.conf(5), ntpd(8)'],
'monopt' => ['ntp_mon', 5, 'ntp.conf(5)'],
'accopt' => ['ntp_acc', 5, 'ntp.conf(5)'],
@@ -34,17 +34,8 @@
'miscopt' => ['ntp_misc', 5, 'ntp.conf(5)']);
# Disclaimer to go in SEE ALSO section of the man page
-$seealso_disclaimer = 'These man pages are automatically hacked from the main NTP ' .
- 'documentation pages, which are maintained in HTML format. These files are ' .
- 'included in the NTP source distribution. If you installed NTP from a binary ' .
- 'package, or it came pre-installed on your system, chances are the documentation ' .
- 'was also included in the usual place for your system. The HTML files are more ' .
- 'correct and complete than these man pages, which are provided for your reference ' .
- 'only.';
-
-# Disclaimer to go right at the top
-$top_disclaimer = 'This file was automatically generated from HTML source, and may be ' .
- 'incorrect. See the SEE ALSO section at the end of this file for more info';
+$seealso_disclaimer = "Primary source of documentation: /usr/share/doc/ntp-*\n\n" .
+ "This file was automatically generated from HTML source.\n";
mkdir $MANDIR, 0777;
mkdir "$MANDIR/man8", 0777;
@@ -64,7 +55,8 @@
$fileinfo = $manfiles{$filename};
$p = HTML::TokeParser->new("$filename.html") || die "Can't open $filename.html: $!";
- open(MANOUT, ">$MANDIR/man$fileinfo->[1]/$fileinfo->[0].$fileinfo->[1]")
+ $fileout = "$MANDIR/man$fileinfo->[1]/$fileinfo->[0].$fileinfo->[1]";
+ open(MANOUT, ">$fileout")
|| die "Can't open: $!";
$p->get_tag("title");
@@ -73,7 +65,6 @@
# Setup man header
print MANOUT ".TH " . $fileinfo->[0] . " " . $fileinfo->[1] . "\n";
- print MANOUT ".UC 4\n";
print MANOUT ".SH NAME\n";
$pat = $fileinfo->[0];
if ($name =~ /$pat/) {
@@ -81,10 +72,12 @@
# Add the manpage name, if not in the HTML title already
print MANOUT "$fileinfo->[0] - ";
}
- print MANOUT "$name\n\n";
-
- print MANOUT "$top_disclaimer\n";
+ print MANOUT "$name\n.SH \\ \n\n";
+ @fontstack = ();
+ $deflevel = 0;
+ $pre = 0;
+ $ignore = 0;
# Now start scanning. We basically print everything after translating some tags.
# $token->[0] has "T", "S", "E" for Text, Start, End
# $token->[1] has the tag name, or text (for "T" case)
@@ -92,19 +85,37 @@
while (my $token = $p->get_token) {
if($token->[0] eq "T") {
my $text = $token->[1];
- if($tag) {
- $text =~ s/^[\n ]*//;
- $text =~ s/[\n ]*$/ /;
+ if (!$pre) {
+ if($tag) {
+ $text =~ s/^[\n\t ]*//;
+ }
+ $text =~ s/^[\n\t ][\n\t ]+$//;
+ $text =~ s/[\n\t ]+/ /g;
+ $text =~ s/&nbsp\;/ /g;
+ $text =~ s/&gt\;/>/g;
+ $text =~ s/&lt\;/</g;
+ $text =~ s/&quot\;/"/g;
+ $text =~ s/&amp\;/&/g;
+ $text =~ s/^\./\\[char46]/;
}
- $text =~ s/&nbsp\;/ /g;
- $text =~ s/^\./\\./;
print MANOUT "$text";
$tag = 0;
}
if($token->[0] eq "S") {
if($token->[1] eq "h4") {
my $text = uc($p->get_trimmed_text("/h4"));
- print MANOUT ".SH $text\n";
+ # ignore these two sections in ntpd.html
+ if ($filename eq "ntpd" &&
+ ($text eq "FILES" || $text eq "CONFIGURATION OPTIONS")) {
+ $ignore = 1;
+ close(MANOUT);
+ open(MANOUT, ">/dev/null");
+ } elsif ($ignore) {
+ $ignore = 0;
+ close(MANOUT);
+ open(MANOUT, ">>$fileout");
+ }
+ print MANOUT "\n\n.SH $text\n";
}
if($token->[1] eq "tt") {
push @fontstack, "tt";
@@ -118,22 +129,30 @@
my $text = $p->get_trimmed_text("/address");
print MANOUT "\n.SH AUTHOR\n$text\n";
}
- if($token->[1] eq "dt") {
- $tmp = $deflevel-4;
- print MANOUT "\n.RS $tmp\n";
+ if($token->[1] eq "dt" || $token->[1] eq "br" && $deflevel > 0) {
+ print MANOUT "\n.TP 8\n";
$tag = 1;
}
if($token->[1] eq "dd") {
- print MANOUT "\n.RS $deflevel\n";
+ print MANOUT "\n";
$tag = 1;
}
if($token->[1] eq "dl") {
- $deflevel+=4;
+ $deflevel+=1;
+ if ($deflevel > 0) {
+ print MANOUT "\n.RS ", $deflevel > 1 ? 8 : 0;
+ }
+ }
+ if($token->[1] eq "p") {
+ print MANOUT "\n";
+ }
+ if($token->[1] eq "pre") {
+ print MANOUT "\n.nf";
+ $pre = 1;
}
}
elsif($token->[0] eq "E") {
- if($token->[1] eq "dd") {
- print MANOUT "\n.RE\n";
+ if($token->[1] eq "h4") {
$tag = 1;
}
if($token->[1] eq "tt") {
@@ -157,15 +176,27 @@
print MANOUT "$fontswitch";
}
if($token->[1] eq "dl") {
- $deflevel-=4;
+ if ($deflevel > 0) {
+ print MANOUT "\n.RE";
+ }
+ print MANOUT "\n";
+ $deflevel-=1;
}
- if($token->[1] eq "dt") {
- print MANOUT "\n.RE";
+ if($token->[1] eq "p") {
+ print MANOUT "\n";
$tag = 1;
}
+ if($token->[1] eq "pre") {
+ print MANOUT "\n.fi";
+ $pre = 0;
+ }
}
}
- print MANOUT ".SH SEE ALSO\n\n";
+ if ($ignore) {
+ close(MANOUT);
+ open(MANOUT, ">>$fileout");
+ }
+ print MANOUT "\n.SH SEE ALSO\n\n";
print MANOUT "$fileinfo->[2]\n\n";
print MANOUT "$seealso_disclaimer\n";
close(MANOUT);

View File

@ -1,20 +0,0 @@
http://bugs.gentoo.org/270483
ripped from fedora
--- ntp-4.2.4p7/include/ntp_syscall.h
+++ ntp-4.2.4p7/include/ntp_syscall.h
@@ -14,5 +14,13 @@
# include <sys/timex.h>
#endif
+#if defined(ADJ_NANO) && !defined(MOD_NANO)
+#define MOD_NANO ADJ_NANO
+#endif
+
+#if defined(ADJ_TAI) && !defined(MOD_TAI)
+#define MOD_TAI ADJ_TAI
+#endif
+
#ifndef NTP_SYSCALLS_LIBC
#ifdef NTP_SYSCALLS_STD

View File

@ -1,51 +1,22 @@
# NOTES:
# - you should only have to update the server line below
# - if you start getting lines like 'restrict' and 'fudge'
# and you didnt add them, AND you run dhcpcd on your
# network interfaces, be sure to add '-Y -N' to the
# dhcpcd_ethX variables in /etc/conf.d/net
# Name of the servers ntpd should sync with
# Please respect the access policy as stated by the responsible person.
#server ntp.example.tld iburst
server pool.ntp.org
##
# A list of available servers can be found here:
# http://www.pool.ntp.org/
# http://www.pool.ntp.org/#use
# A good way to get servers for your machine is:
# netselect -s 3 pool.ntp.org
##
#server ntplocal.example.com prefer
#server timeserver.example.org
# Warning: Using default NTP settings will leave your NTP
# server accessible to all hosts on the Internet.
# A default deny all (including localhost) policy
# To use this define restrictions for all servers and clients
#restrict default ignore
#restrict -6 default ignore
# A more open policy, allow access but deny changing the configuration
restrict default nomodify nopeer
#restrict -6 default nomodify nopeer
# Allow localhost
restrict 127.0.0.1
#restrict -6 ::1
# To allow machines within your network to synchronize
# their clocks with your server, but ensure they are
# not allowed to configure the server or used as peers
# to synchronize against, uncomment this line.
# With the default settings below, ntpd will only synchronize your clock.
#
#restrict 192.168.0.0 mask 255.255.255.0 nomodify nopeer notrap
# For details, see:
# - the ntp.conf man page
# - http://support.ntp.org/bin/view/Support/GettingStarted
# - https://wiki.archlinux.org/index.php/Network_Time_Protocol_daemon
# Select three geolocalized NTP public servers; see http://www.pool.ntp.org/
server 0.pool.ntp.org
server 1.pool.ntp.org
server 2.pool.ntp.org
# you should not need to modify the following paths
driftfile /var/lib/ntp/ntp.drift
# Only allow read-only access from localhost
restrict default nomodify nopeer
restrict 127.0.0.1
# Location of drift and log files
driftfile /var/lib/ntp/ntp.drift
logfile /var/log/ntp.log
# NOTE: If you run dhcpcd and have lines like 'restrict' and 'fudge' appearing
# here, be sure to add '-Y -N' to the dhcpcd_ethX variables in /etc/conf.d/net

View File

@ -2,7 +2,7 @@
. /etc/rc.conf
. /etc/rc.d/functions
. /etc/conf.d/ntp-client.conf
. /etc/conf.d/ntpd.conf
PIDFILE="/var/run/ntpd/ntpd.pid"
PID=$(cat $PIDFILE 2> /dev/null)

View File

@ -29,3 +29,4 @@ case "$1" in
echo "usage: $0 {start|stop|restart}"
esac

View File

@ -1,29 +1,39 @@
# $Id: PKGBUILD 27689 2009-02-24 21:08:28Z eric $
# Maintainer: dorphell <dorphell@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=opensp
pkgver=1.5.2
pkgrel=1
pkgdesc="A library and a set of tools for validating, parsing and manipulating SGML and XML documents."
pkgrel=2
pkgdesc="A library and a set of tools for validating, parsing and manipulating SGML and XML documents"
arch=('i686' 'x86_64')
url="http://openjade.sourceforge.net/"
license=('BSD')
depends=('gcc-libs')
makedepends=('xmlto' 'docbook-xsl')
options=('!libtool')
source=(http://download.sourceforge.net/openjade/OpenSP-$pkgver.tar.gz)
source=("http://download.sourceforge.net/openjade/OpenSP-$pkgver.tar.gz")
md5sums=('670b223c5d12cee40c9137be86b6c39b')
build() {
cd $srcdir/OpenSP-$pkgver
./configure --prefix=/usr --mandir=/usr/share/man \
--disable-nls \
--enable-http \
--enable-default-catalog=/etc/sgml/catalog:/etc/xml/catalog \
--enable-default-search-path=/usr/share/sgml:/usr/share/xml \
--enable-xml-messages || return 1
make || return 1
make DESTDIR=$pkgdir install || return 1
install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
cd "${srcdir}"/OpenSP-$pkgver
./configure --prefix=/usr \
--mandir=/usr/share/man \
--disable-nls \
--enable-http \
--enable-default-catalog=/etc/sgml/catalog:/etc/xml/catalog \
--enable-default-search-path=/usr/share/sgml:/usr/share/xml \
--enable-xml-messages
make
}
package() {
cd "${srcdir}"/OpenSP-$pkgver
make DESTDIR="${pkgdir}" install
install -D -m644 COPYING "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
}

View File

@ -0,0 +1,40 @@
commit 7563e0bbb54fbac54e77f3a62d9761a70f3a559c
Author: Colin Guthrie <colin@mageia.org>
Date: Sat Oct 1 12:03:44 2011 +0100
libpulse: Always return a three part version number in API calls.
For both the headers and the library we should provide clean, three part
strings as this has been what we've previously done in the past
and some external systems apparently rely on this format. While it's not
something we've officially commented on before, there is no real advantage
to us to change it so let's not try to tidy things up too much
considering some third party apps (e.g. Skype) seem to dislike a two
part version string.
diff --git a/src/pulse/context.c b/src/pulse/context.c
index 25d04a1..af144aa 100644
--- a/src/pulse/context.c
+++ b/src/pulse/context.c
@@ -1281,7 +1281,7 @@ pa_operation* pa_context_set_name(pa_context *c, const char *name, pa_context_su
}
const char* pa_get_library_version(void) {
- return PACKAGE_VERSION;
+ return pa_get_headers_version();
}
const char* pa_context_get_server(pa_context *c) {
diff --git a/src/pulse/version.h.in b/src/pulse/version.h.in
index 7e00c5e..1be4c75 100644
--- a/src/pulse/version.h.in
+++ b/src/pulse/version.h.in
@@ -35,7 +35,7 @@ PA_C_DECL_BEGIN
/** Return the version of the header files. Keep in mind that this is
a macro and not a function, so it is impossible to get the pointer of
it. */
-#define pa_get_headers_version() ("@PACKAGE_VERSION@")
+#define pa_get_headers_version() ("@PA_MAJOR@.@PA_MINOR@.0")
/** Return the version of the library the current application is
* linked to. */

View File

@ -7,20 +7,20 @@
pkgbase=qt
pkgname=('qt' 'qt-private-headers')
pkgver=4.7.4
pkgrel=1
pkgrel=2
arch=('i686' 'x86_64')
url='http://qt.nokia.com/'
license=('GPL3' 'LGPL')
makedepends=('libtiff' 'libpng' 'libmng' 'sqlite3' 'ca-certificates' 'glib2' 'dbus'
'fontconfig' 'libgl' 'libsm' 'libxrandr' 'libxv' 'libxi' 'alsa-lib'
'xdg-utils' 'hicolor-icon-theme' 'desktop-file-utils' 'mesa' 'postgresql-libs'
'mysql' 'unixodbc' 'cups' 'libxinerama')
'mysql' 'unixodbc' 'cups' 'libxinerama' 'libxcursor')
options=('!libtool')
_pkgfqn="qt-everywhere-opensource-src-${pkgver}"
source=("ftp://ftp.qt.nokia.com/qt/source/${_pkgfqn}.tar.gz"
'assistant.desktop' 'designer.desktop' 'linguist.desktop'
'qtconfig.desktop' 'appmenu.patch')
md5sums=('ddf7d83f912cf1283aa066368464fa22'
md5sums=('9831cf1dfa8d0689a06c2c54c5c65aaf'
'fc211414130ab2764132e7370f8e5caa'
'85179f5e0437514f8639957e1d8baf62'
'f11852b97583610f3dbb669ebc3e21bc'
@ -111,7 +111,8 @@ build() {
-no-gtkstyle \
-opengl \
-no-openvg \
-glib
-glib \
-xcursor
make
}
@ -119,12 +120,11 @@ package_qt() {
pkgdesc='A cross-platform application and UI framework'
depends=('libtiff' 'libpng' 'libmng' 'sqlite3' 'ca-certificates' 'glib2' 'dbus'
'fontconfig' 'libgl' 'libsm' 'libxrandr' 'libxv' 'libxi' 'alsa-lib'
'xdg-utils' 'hicolor-icon-theme' 'desktop-file-utils' 'libxinerama')
'xdg-utils' 'hicolor-icon-theme' 'desktop-file-utils' 'libxinerama' 'libxcursor')
optdepends=('postgresql-libs: PostgreSQL driver'
'libmysqlclient: MySQL driver'
'unixodbc: ODBC driver'
'libxinerama: Xinerama support'
'libxcursor: Xcursor support'
'libxfixes: Xfixes support')
conflicts=('qt-doc' 'qt-debug' 'qt-demos' 'qt-tools')
provides=('qt-tools')

View File

@ -10,8 +10,8 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgbase=vlc
pkgname=('vlc'
'vlc-plugin')
pkgver=1.1.11
pkgrel=2
pkgver=1.1.12
pkgrel=1
arch=('i686' 'x86_64')
url="http://www.videolan.org/vlc/"
license=('GPL')
@ -25,8 +25,8 @@ makedepends=('a52dec' 'fluidsynth' 'libmtp' 'libdvbpsi' 'lirc-utils'
'flac' 'libtheora' 'alsa-lib' 'jack' 'udev'
'libraw1394' 'libdc1394' 'libavc1394' 'libva')
options=('!libtool')
source=("http://download.videolan.org/pub/videolan/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.bz2")
md5sums=('a64846d6f21ea179ae8e8bfb6f9447fe')
source=("http://download.videolan.org/pub/videolan/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.xz")
md5sums=('56cb9975725a12da8c84882bc00fdce0')
build() {
cd "${srcdir}/${pkgbase}-${pkgver}"