mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
Cleared out extra and community
This commit is contained in:
parent
3a5447e414
commit
3e413be96a
106 changed files with 0 additions and 10574 deletions
|
@ -1,39 +0,0 @@
|
|||
pkgname=openjdk6-debian
|
||||
pkgver=6.b18_1.8.3
|
||||
pkgrel=1
|
||||
pkgdesc="Debian's package of OpenJDK6, including the Zero and Shark VMs"
|
||||
depends=('glibc' 'gcc-libs')
|
||||
makedepends=()
|
||||
conflicts=('java-environment' 'java-runtime')
|
||||
provides=('java-environment=6' 'java-runtime=6' 'openjdk6')
|
||||
url="http://packages.debian.org/sid/openjdk-6-jre-zero"
|
||||
install=(openjdk6-debian.install)
|
||||
source=("http://ftp.us.debian.org/debian/pool/main/o/openjdk-6/openjdk-6-jre-headless_6b18-1.8.3-1_armel.deb"
|
||||
"http://ftp.us.debian.org/debian/pool/main/o/openjdk-6/openjdk-6-jre-zero_6b18-1.8.3-1_armel.deb"
|
||||
"http://ftp.us.debian.org/debian/pool/main/o/openjdk-6/openjdk-6-jdk_6b18-1.8.3-1_armel.deb")
|
||||
arch=('arm')
|
||||
license="GPLv2"
|
||||
|
||||
build() {
|
||||
ar x `basename ${source[0]}`
|
||||
tar xf data.tar.gz -C ${pkgdir}
|
||||
ar x `basename ${source[0]}`
|
||||
tar xf data.tar.gz -C ${pkgdir}
|
||||
|
||||
ar x `basename ${source[1]}`
|
||||
tar xf data.tar.gz -C ${pkgdir}
|
||||
ar x `basename ${source[1]}`
|
||||
tar xf data.tar.gz -C ${pkgdir}
|
||||
|
||||
ar x `basename ${source[2]}`
|
||||
tar xf data.tar.gz -C ${pkgdir}
|
||||
ar x `basename ${source[2]}`
|
||||
tar xf data.tar.gz -C ${pkgdir}
|
||||
|
||||
rm -rf ${pkgdir}/usr/share/lintian
|
||||
mkdir -p ${pkgdir}/usr/bin
|
||||
}
|
||||
|
||||
md5sums=('b68973122a69990a7e7a74c7e8a16ed4'
|
||||
'2a4618c0495a598e86530e6f6cf72fb6'
|
||||
'fc785eef18402fdfb5b44bbff01d50aa')
|
|
@ -1,14 +0,0 @@
|
|||
post_install() {
|
||||
ln -s /usr/lib/jvm/java-6-openjdk/bin/* /usr/bin
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
}
|
||||
|
||||
op=$1
|
||||
shift
|
||||
$op $*
|
|
@ -1,20 +0,0 @@
|
|||
# Maintainer: Mike Staszel <mikestaszel@gmail.com>
|
||||
|
||||
pkgname=openjre7
|
||||
pkgver=7b86
|
||||
pkgrel=2
|
||||
pkgdesc="OpenJRE from WithLinux"
|
||||
arch=('arm')
|
||||
license=('GPL2')
|
||||
url="unknown"
|
||||
depends=('libffi')
|
||||
makedepends=('xz')
|
||||
provides=('java-runtime')
|
||||
install=openjre7.install
|
||||
source=(http://sheeva.with-linux.com/sheeva/java/$pkgname-$pkgver-armv5tel.txz)
|
||||
md5sums=('d1820d7f0b4bfed65c0d0e541f670e7f')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/
|
||||
cp -R ${srcdir}/opt ${pkgdir}/
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
post_install() {
|
||||
echo -e "\033[1mNotice\033[0m"
|
||||
echo "Add /opt/openjre7/bin to your PATH."
|
||||
echo ""
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
KERNEL_VERSION=.*
|
||||
}
|
||||
|
||||
op=$1
|
||||
shift
|
||||
$op $*
|
|
@ -1,98 +0,0 @@
|
|||
# Maintainer: kevin <kevin@archlinux.org>
|
||||
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
|
||||
# TU: Kritoke <kritoke@gamebox.net>
|
||||
# Contributor: Luca Roccia <little_rock@users.sourceforge.net>
|
||||
|
||||
# Plugbox mods: Change linuxx86 to linuxarm
|
||||
|
||||
pkgbase=boost
|
||||
pkgname=('boost-libs' 'boost')
|
||||
pkgver=1.43.0
|
||||
_boostver=1_43_0
|
||||
pkgrel=2
|
||||
arch=('arm')
|
||||
url="http://www.boost.org/"
|
||||
makedepends=('python2' 'bzip2' 'zlib')
|
||||
source=(http://downloads.sourceforge.net/sourceforge/${pkgbase}/${pkgbase}_${_boostver}.tar.gz)
|
||||
license=('custom')
|
||||
options=('!ccache')
|
||||
md5sums=('734565ca4819bf04bd8e903e116c3fb1')
|
||||
|
||||
_stagedir="${srcdir}/stagedir"
|
||||
|
||||
build() {
|
||||
# set python path for bjam
|
||||
cd "${srcdir}/${pkgbase}_${_boostver}/tools"
|
||||
echo "using python : 2.7 : /usr/bin/python2 ;" >> build/v2/user-config.jam
|
||||
|
||||
# build bjam
|
||||
cd "${srcdir}/${pkgbase}_${_boostver}/tools/jam/src"
|
||||
./build.sh cc || return 1
|
||||
|
||||
_bindir="bin.linuxarm"
|
||||
|
||||
install -m755 -d "${_stagedir}"/usr/bin
|
||||
install -m755 ${_bindir}/bjam "${_stagedir}"/usr/bin/bjam || return 1
|
||||
|
||||
# build bcp
|
||||
cd "${srcdir}/${pkgbase}_${_boostver}/tools/bcp"
|
||||
../jam/src/${_bindir}/bjam --toolset=gcc || return 1
|
||||
install -m755 "${srcdir}/${pkgbase}_${_boostver}/dist/bin/bcp" \
|
||||
${_stagedir}/usr/bin/bcp || return 1
|
||||
|
||||
# build libs
|
||||
cd "${srcdir}/${pkgbase}_${_boostver}"
|
||||
# default "minimal" install: "release link=shared,static
|
||||
# runtime-link=shared threading=multi"
|
||||
# --layout=tagged will add the "-mt" suffix for multithreaded libraries
|
||||
# and installs includes in /usr/include/boost.
|
||||
# --layout=system no longer adds the -mt suffix for multi-threaded libs.
|
||||
# install to ${_stagedir} in preparation for split packaging
|
||||
|
||||
./tools/jam/src/${_bindir}/bjam \
|
||||
release debug-symbols=off threading=single,multi \
|
||||
runtime-link=shared link=shared,static \
|
||||
cflags=-fno-strict-aliasing \
|
||||
toolset=gcc \
|
||||
--prefix="${_stagedir}" \
|
||||
-sTOOLS=gcc \
|
||||
--layout=tagged \
|
||||
install || return 1
|
||||
|
||||
# build pyste
|
||||
cd "${srcdir}/${pkgbase}_${_boostver}/libs/python/pyste/install"
|
||||
python2 setup.py install --root=${_stagedir} || return 1
|
||||
}
|
||||
|
||||
package_boost() {
|
||||
pkgdesc="Free peer-reviewed portable C++ source libraries - Development"
|
||||
depends=("boost-libs=${pkgver}")
|
||||
optdepends=('python2: for python bindings')
|
||||
|
||||
install -dm 755 "${pkgdir}"/usr/{include,lib}
|
||||
# headers/source files
|
||||
cp -r "${_stagedir}"/include/ "${pkgdir}"/usr/
|
||||
|
||||
# static libs
|
||||
cp -r "${_stagedir}"/lib/*.a "${pkgdir}"/usr/lib/
|
||||
|
||||
# utilities (bjam, bcp, pyste)
|
||||
cp -r "${_stagedir}"/usr/* "${pkgdir}"/usr/
|
||||
|
||||
# license
|
||||
install -D -m644 "${srcdir}/${pkgbase}_${_boostver}/LICENSE_1_0.txt" \
|
||||
"${pkgdir}"/usr/share/licenses/boost/LICENSE_1_0.txt || return 1
|
||||
}
|
||||
|
||||
package_boost-libs() {
|
||||
pkgdesc="Free peer-reviewed portable C++ source libraries - Runtime"
|
||||
depends=('gcc-libs' 'bzip2' 'zlib')
|
||||
|
||||
install -dm 755 "${pkgdir}/usr/lib"
|
||||
#shared libs
|
||||
cp -r "${_stagedir}"/lib/*.so{,.*} "${pkgdir}/usr/lib/"
|
||||
|
||||
# license
|
||||
install -D -m644 "${srcdir}/${pkgbase}_${_boostver}/LICENSE_1_0.txt" \
|
||||
"${pkgdir}"/usr/share/licenses/boost-libs/LICENSE_1_0.txt || return 1
|
||||
}
|
|
@ -1,31 +0,0 @@
|
|||
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
|
||||
|
||||
# Plugbox Changes: $CARCH = arm
|
||||
|
||||
pkgname=chntpw
|
||||
pkgver=100627
|
||||
pkgrel=1
|
||||
pkgdesc="The Offline NT Password Editor - enables you to view some information and change user passwords in a Windows NT SAM userdatabase file"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://pogostick.net/~pnh/ntpasswd/"
|
||||
license=('GPL' 'LGPL')
|
||||
makedepends=('openssl')
|
||||
source=(http://pogostick.net/~pnh/ntpasswd/${pkgname}-source-${pkgver}.zip)
|
||||
md5sums=('8b046c2073f27eed728e18635ba72dd4')
|
||||
sha1sums=('4b2a7e7a406ca9ecb68c9ab4fb6012864828806d')
|
||||
|
||||
build() {
|
||||
if [ "$CARCH" = "arm" ]; then
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
sed -i "s|CFLAGS= -DUSEOPENSSL -g -I. -I\$(OSSLINC) -Wall -m32|CFLAGS= -DUSEOPENSSL -g -I. -I\$(OSSLINC) -Wall|" Makefile
|
||||
fi
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
make
|
||||
# install binaries, don't install static binaries!
|
||||
install -Dm755 ${srcdir}/${pkgname}-${pkgver}/${pkgname} ${pkgdir}/usr/bin/${pkgname}
|
||||
install -Dm755 ${srcdir}/${pkgname}-${pkgver}/reged ${pkgdir}/usr/bin/reged
|
||||
install -Dm755 ${srcdir}/${pkgname}-${pkgver}/cpnt ${pkgdir}/usr/bin/cpnt
|
||||
for doc in *.txt; do
|
||||
install -Dm644 ${doc} ${pkgdir}/usr/share/doc/${pkgname}/${doc}
|
||||
done
|
||||
}
|
3
extra/dhcp/.gitignore
vendored
3
extra/dhcp/.gitignore
vendored
|
@ -1,3 +0,0 @@
|
|||
dhcp-*.tar.gz
|
||||
src
|
||||
pkg
|
|
@ -1,78 +0,0 @@
|
|||
# $Id: PKGBUILD 85736 2010-07-19 02:41:06Z kevin $
|
||||
# Maintainer: judd <jvinet@zeroflux.org>
|
||||
pkgbase=dhcp
|
||||
pkgname=('dhcp'
|
||||
'dhclient')
|
||||
# separate patch levels with a period to maintain proper versioning.
|
||||
pkgver=4.2.0
|
||||
_pkgver=4.2.0
|
||||
pkgrel=1
|
||||
arch=('i686' 'x86_64' 'arm')
|
||||
license=('custom:isc-dhcp')
|
||||
url="https://www.isc.org/software/dhcp"
|
||||
source=(http://ftp.isc.org/isc/${pkgname}/${pkgname}-${_pkgver}.tar.gz
|
||||
dhcpd dhcp.conf.d dhcp-4.1.1-missing-ipv6-not-fatal.patch dhclient-script-pathFixes.patch)
|
||||
md5sums=('83abd7c4f9c24d8dd024ca5a71380c0a'
|
||||
'df22cffa7d7415ece7bb025b7bf774dd'
|
||||
'49da3192e5c885e3c7d02f447c2dea5e'
|
||||
'fd64aeb4f399dcc41ea43089a3811094'
|
||||
'ddcc5cd576ec631ade6c4da21952b50b')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${pkgname}-${_pkgver}
|
||||
# Define _GNU_SOURCE to fix IPV6.
|
||||
sed '/^CFLAGS="$CFLAGS/ s/INGS"/INGS -D_GNU_SOURCE"/' -i configure
|
||||
# Make not having ipv6 non-fatal.
|
||||
patch -Np0 -i ${srcdir}/dhcp-4.1.1-missing-ipv6-not-fatal.patch
|
||||
./configure --prefix=/usr --sysconfdir=/etc \
|
||||
--with-srv-lease-file=/var/state/dhcp/dhcpd.leases \
|
||||
--with-srv6-lease-file=/var/state/dhcp/dhcpd6.leases \
|
||||
--with-ldap --with-ldapcrypto
|
||||
make || return 1
|
||||
}
|
||||
|
||||
package_dhcp(){
|
||||
pkgdesc="A DHCP server, client, and relay agent"
|
||||
depends=('openssl>=0.9.8a')
|
||||
backup=('etc/dhcpd.conf' 'etc/conf.d/dhcp')
|
||||
install=dhcp.install
|
||||
|
||||
cd ${srcdir}/${pkgname}-${_pkgver}
|
||||
make DESTDIR=${pkgdir} install
|
||||
install -D -m755 ${srcdir}/dhcpd ${pkgdir}/etc/rc.d/dhcpd
|
||||
install -D -m644 ${srcdir}/dhcp.conf.d ${pkgdir}/etc/conf.d/${pkgbase}
|
||||
mkdir -p ${pkgdir}/var/state/dhcp
|
||||
rm -f ${pkgdir}/etc/dhclient.conf
|
||||
rm -f ${pkgdir}/usr/sbin/dhclient
|
||||
rm -f ${pkgdir}/usr/share/man/man{5,8}/dhclient*
|
||||
|
||||
# install licenses
|
||||
install -m644 -D ${srcdir}/${pkgbase}-${_pkgver}/LICENSE \
|
||||
${pkgdir}/usr/share/licenses/dhcp/LICENSE
|
||||
}
|
||||
|
||||
package_dhclient(){
|
||||
|
||||
pkgdesc="dhclient is standalone client from the dhcp package"
|
||||
depends=('bash')
|
||||
|
||||
cd ${srcdir}/${pkgname}-${_pkgver}/client/scripts
|
||||
patch -Np1 -i ${srcdir}/dhclient-script-pathFixes.patch linux || return 1
|
||||
cd ${srcdir}/${pkgname}-${_pkgver}/client
|
||||
make DESTDIR=${pkgdir} install
|
||||
install -m755 -d ${startdir}/pkg/var/lib/dhclient
|
||||
|
||||
#not needed after fresh install
|
||||
rm -f ${pkgdir}/var/lib/dhclient/dhcpd.leases
|
||||
|
||||
#move dhclient.conf to dhclient.conf.example
|
||||
mv ${pkgdir}/etc/dhclient.conf ${pkgdir}/etc/dhclient.conf.example
|
||||
|
||||
# install dhclient linux script
|
||||
mkdir ${pkgdir}/sbin
|
||||
install -m755 -D ${srcdir}/${pkgname}-${_pkgver}/client/scripts/linux \
|
||||
${pkgdir}/sbin/dhclient-script
|
||||
# install licenses
|
||||
install -m644 -D ${srcdir}/${pkgname}-${_pkgver}/LICENSE \
|
||||
${pkgdir}/usr/share/licenses/dhclient/LICENSE
|
||||
}
|
|
@ -1,118 +0,0 @@
|
|||
--- linux 2009-04-21 16:21:09.000000000 +0200
|
||||
+++ linux_new 2010-06-30 19:06:20.000000000 +0200
|
||||
@@ -23,7 +23,7 @@
|
||||
# of the $1 in its args.
|
||||
|
||||
# 'ip' just looks too weird. /sbin/ip looks less weird.
|
||||
-ip=/sbin/ip
|
||||
+ip=/usr/sbin/ip
|
||||
|
||||
make_resolv_conf() {
|
||||
if [ x"$new_domain_name_servers" != x ]; then
|
||||
@@ -112,9 +112,9 @@
|
||||
if [ x$reason = xPREINIT ]; then
|
||||
if [ x$alias_ip_address != x ]; then
|
||||
# Bring down alias interface. Its routes will disappear too.
|
||||
- ifconfig $interface:0- inet 0
|
||||
+ /sbin/ifconfig $interface:0- inet 0
|
||||
fi
|
||||
- ifconfig $interface 0 up
|
||||
+ /sbin/ifconfig $interface 0 up
|
||||
|
||||
# We need to give the kernel some time to get the interface up.
|
||||
sleep 1
|
||||
@@ -141,32 +141,32 @@
|
||||
if [ x$old_ip_address != x ] && [ x$alias_ip_address != x ] && \
|
||||
[ x$alias_ip_address != x$old_ip_address ]; then
|
||||
# Possible new alias. Remove old alias.
|
||||
- ifconfig $interface:0- inet 0
|
||||
+ /sbin/ifconfig $interface:0- inet 0
|
||||
fi
|
||||
if [ x$old_ip_address != x ] && [ x$old_ip_address != x$new_ip_address ]; then
|
||||
# IP address changed. Bringing down the interface will delete all routes,
|
||||
# and clear the ARP cache.
|
||||
- ifconfig $interface inet 0 down
|
||||
+ /sbin/ifconfig $interface inet 0 down
|
||||
|
||||
fi
|
||||
if [ x$old_ip_address = x ] || [ x$old_ip_address != x$new_ip_address ] || \
|
||||
[ x$reason = xBOUND ] || [ x$reason = xREBOOT ]; then
|
||||
|
||||
- ifconfig $interface inet $new_ip_address $new_subnet_arg \
|
||||
+ /sbin/ifconfig $interface inet $new_ip_address $new_subnet_arg \
|
||||
$new_broadcast_arg $mtu_arg
|
||||
# Add a network route to the computed network address.
|
||||
for router in $new_routers; do
|
||||
if [ "x$new_subnet_mask" = "x255.255.255.255" ] ; then
|
||||
- route add -host $router dev $interface
|
||||
+ /sbin/route add -host $router dev $interface
|
||||
fi
|
||||
- route add default gw $router $metric_arg dev $interface
|
||||
+ /sbin/route add default gw $router $metric_arg dev $interface
|
||||
done
|
||||
fi
|
||||
if [ x$new_ip_address != x$alias_ip_address ] && [ x$alias_ip_address != x ];
|
||||
then
|
||||
- ifconfig $interface:0- inet 0
|
||||
- ifconfig $interface:0 inet $alias_ip_address $alias_subnet_arg
|
||||
- route add -host $alias_ip_address $interface:0
|
||||
+ /sbin/ifconfig $interface:0- inet 0
|
||||
+ /sbin/ifconfig $interface:0 inet $alias_ip_address $alias_subnet_arg
|
||||
+ /sbin/route add -host $alias_ip_address $interface:0
|
||||
fi
|
||||
make_resolv_conf
|
||||
exit_with_hooks 0
|
||||
@@ -176,42 +176,42 @@
|
||||
|| [ x$reason = xSTOP ]; then
|
||||
if [ x$alias_ip_address != x ]; then
|
||||
# Turn off alias interface.
|
||||
- ifconfig $interface:0- inet 0
|
||||
+ /sbin/ifconfig $interface:0- inet 0
|
||||
fi
|
||||
if [ x$old_ip_address != x ]; then
|
||||
# Shut down interface, which will delete routes and clear arp cache.
|
||||
- ifconfig $interface inet 0 down
|
||||
+ /sbin/ifconfig $interface inet 0 down
|
||||
fi
|
||||
if [ x$alias_ip_address != x ]; then
|
||||
- ifconfig $interface:0 inet $alias_ip_address $alias_subnet_arg
|
||||
- route add -host $alias_ip_address $interface:0
|
||||
+ /sbin/ifconfig $interface:0 inet $alias_ip_address $alias_subnet_arg
|
||||
+ /sbin/route add -host $alias_ip_address $interface:0
|
||||
fi
|
||||
exit_with_hooks 0
|
||||
fi
|
||||
|
||||
if [ x$reason = xTIMEOUT ]; then
|
||||
if [ x$alias_ip_address != x ]; then
|
||||
- ifconfig $interface:0- inet 0
|
||||
+ /sbin/ifconfig $interface:0- inet 0
|
||||
fi
|
||||
- ifconfig $interface inet $new_ip_address $new_subnet_arg \
|
||||
+ /sbin/ifconfig $interface inet $new_ip_address $new_subnet_arg \
|
||||
$new_broadcast_arg $mtu_arg
|
||||
set $new_routers
|
||||
if ping -q -c 1 $1; then
|
||||
if [ x$new_ip_address != x$alias_ip_address ] && \
|
||||
[ x$alias_ip_address != x ]; then
|
||||
- ifconfig $interface:0 inet $alias_ip_address $alias_subnet_arg
|
||||
- route add -host $alias_ip_address dev $interface:0
|
||||
+ /sbin/ifconfig $interface:0 inet $alias_ip_address $alias_subnet_arg
|
||||
+ /sbin/route add -host $alias_ip_address dev $interface:0
|
||||
fi
|
||||
for router in $new_routers; do
|
||||
if [ "x$new_subnet_mask" = "x255.255.255.255" ] ; then
|
||||
- route add -host $router dev $interface
|
||||
+ /sbin/route add -host $router dev $interface
|
||||
fi
|
||||
- route add default gw $router $metric_arg dev $interface
|
||||
+ /sbin/route add default gw $router $metric_arg dev $interface
|
||||
done
|
||||
make_resolv_conf
|
||||
exit_with_hooks 0
|
||||
fi
|
||||
- ifconfig $interface inet 0 down
|
||||
+ /sbin/ifconfig $interface inet 0 down
|
||||
exit_with_hooks 1
|
||||
fi
|
||||
|
|
@ -1,39 +0,0 @@
|
|||
--- common/discover.c 2009-09-29 21:44:49.000000000 +0200
|
||||
+++ common/discover.c_new 2010-06-30 19:40:02.000000000 +0200
|
||||
@@ -443,7 +443,7 @@
|
||||
}
|
||||
|
||||
#ifdef DHCPv6
|
||||
- if (local_family == AF_INET6) {
|
||||
+ if ((local_family == AF_INET6) && !access("/proc/net/if_inet6", R_OK)) {
|
||||
ifaces->fp6 = fopen("/proc/net/if_inet6", "r");
|
||||
if (ifaces->fp6 == NULL) {
|
||||
log_error("Error opening '/proc/net/if_inet6' to "
|
||||
@@ -454,6 +454,8 @@
|
||||
ifaces->fp = NULL;
|
||||
return 0;
|
||||
}
|
||||
+ } else {
|
||||
+ ifaces->fp6 = NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -721,7 +723,7 @@
|
||||
return 1;
|
||||
}
|
||||
#ifdef DHCPv6
|
||||
- if (!(*err)) {
|
||||
+ if (!(*err) && ifaces->fp6) {
|
||||
if (local_family == AF_INET6)
|
||||
return next_iface6(info, err, ifaces);
|
||||
}
|
||||
@@ -740,7 +742,8 @@
|
||||
ifaces->sock = -1;
|
||||
#ifdef DHCPv6
|
||||
if (local_family == AF_INET6) {
|
||||
- fclose(ifaces->fp6);
|
||||
+ if(ifaces->fp6)
|
||||
+ fclose(ifaces->fp6);
|
||||
ifaces->fp6 = NULL;
|
||||
}
|
||||
#endif
|
|
@ -1,6 +0,0 @@
|
|||
#
|
||||
# Arguments to be passed to the DHCP server daemon
|
||||
#
|
||||
|
||||
DHCP_ARGS="-q"
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
# arg 1: the new package version
|
||||
post_install() {
|
||||
[ -f var/state/dhcp/dhcpd.leases ] || : >var/state/dhcp/dhcpd.leases
|
||||
#echo "If dhcpd doesn't start, ensure the ipv6 kernel module is loaded."
|
||||
}
|
||||
|
||||
# arg 1: the new package version
|
||||
# arg 2: the old package version
|
||||
post_upgrade() {
|
||||
post_install $1
|
||||
}
|
|
@ -1,40 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
. /etc/rc.conf
|
||||
. /etc/rc.d/functions
|
||||
. /etc/conf.d/dhcp
|
||||
|
||||
PIDFILE="/var/run/dhcpd.pid"
|
||||
PID=`cat $PIDFILE 2>/dev/null`
|
||||
case "$1" in
|
||||
start)
|
||||
stat_busy "Starting DHCP Server"
|
||||
if [ "$PID" = "" ]; then
|
||||
/usr/sbin/dhcpd $DHCP_ARGS
|
||||
fi
|
||||
if [ "$PID" != "" -o $? -gt 0 ]; then
|
||||
stat_fail
|
||||
else
|
||||
add_daemon dhcpd
|
||||
stat_done
|
||||
fi
|
||||
;;
|
||||
stop)
|
||||
stat_busy "Stopping DHCP Server"
|
||||
[ ! -z "$PID" ] && kill $PID &> /dev/null
|
||||
rm -f $PIDFILE
|
||||
if [ $? -gt 0 ]; then
|
||||
stat_fail
|
||||
else
|
||||
rm_daemon dhcpd
|
||||
stat_done
|
||||
fi
|
||||
;;
|
||||
restart)
|
||||
$0 stop
|
||||
sleep 1
|
||||
$0 start
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 {start|stop|restart}"
|
||||
esac
|
|
@ -1,22 +0,0 @@
|
|||
# $Id: PKGBUILD 59198 2009-11-21 11:27:17Z jgc $
|
||||
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
||||
|
||||
pkgname=eggdbus
|
||||
pkgver=0.6
|
||||
pkgrel=1
|
||||
pkgdesc="Experimental D-Bus bindings for GObject"
|
||||
arch=(arm)
|
||||
license=('LGPL')
|
||||
url="http://www.freedesktop.org/wiki/Software/Policykit"
|
||||
depends=('glib2>=2.22.2' 'dbus-glib>=0.82-2')
|
||||
makedepends=('gtk-doc')
|
||||
options=('!libtool')
|
||||
source=(http://hal.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz)
|
||||
md5sums=('b43d2a6c523fcb8b9d0b0300c4222386')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
./configure --prefix=/usr --disable-static --disable-maintainer-mode --disable-dependency-tracking --disable-ansi || return 1
|
||||
make || return 1
|
||||
make DESTDIR="${pkgdir}" install || return 1
|
||||
}
|
|
@ -1,26 +0,0 @@
|
|||
# Maintainer: Manuel Rotter <rotter.manuel@gmail.com>
|
||||
|
||||
pkgname=faac
|
||||
pkgver=1.28
|
||||
pkgrel=1
|
||||
pkgdesc="FAAC is an AAC audio encoder."
|
||||
arch=('arm')
|
||||
url="http://www.audiocoding.com/"
|
||||
license=('GPL' 'custom')
|
||||
depends=('libmp4v2' 'glibc')
|
||||
makedepends=('automake' 'autoconf' 'libtool')
|
||||
options=('!libtool')
|
||||
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
|
||||
md5sums=('80763728d392c7d789cde25614c878f6')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
find . -type f -print0 | xargs -0 sed -i 's/\r//g'
|
||||
./bootstrap
|
||||
./configure --prefix=/usr --with-mp4v2
|
||||
make || return 1
|
||||
make DESTDIR=${pkgdir} install
|
||||
|
||||
install -D -m644 ${srcdir}/${pkgname}-${pkgver}/libfaac/kiss_fft/COPYING \
|
||||
${pkgdir}/usr/share/licenses/faac/COPYING.kiss_fft
|
||||
}
|
|
@ -1,38 +0,0 @@
|
|||
# Maintainer: Philipp Scholl <pscholl@bawue.de>
|
||||
# From ArchMobile.org
|
||||
|
||||
pkgname=gtk2
|
||||
pkgver=2.18.6
|
||||
pkgrel=1
|
||||
pkgdesc="The GTK+ Toolkit (v2)"
|
||||
arch=(arm)
|
||||
url="http://www.gtk.org/"
|
||||
install=gtk2.install
|
||||
depends=('atk>=1.28.0' 'pango>=1.26.0' 'libxcursor' 'libxinerama' 'libxrandr>=1.3.0' \
|
||||
'libxi>=1.2.1' 'libcups>=1.4.2' 'libxcomposite' 'libxdamage' 'heimdal>=1.3.1' \
|
||||
'gnutls>=2.8.3' 'shared-mime-info')
|
||||
makedepends=('pkgconfig' 'gtk-doc')
|
||||
replaces=('gtkprint-cups' 'gail')
|
||||
conflicts=('gtkprint-cups' 'gail')
|
||||
provides=('gail=1.22.3')
|
||||
options=('!libtool' '!docs')
|
||||
backup=(etc/gtk-2.0/gtkrc)
|
||||
license=('LGPL')
|
||||
source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/2.18/gtk+-${pkgver}.tar.bz2
|
||||
xid-collision-debug.patch)
|
||||
sha256sums=('67a83c6b2e774bc20b2a0582fb7fad7b1e8d5e04ede39f299d614e365756d2a7'
|
||||
'd758bb93e59df15a4ea7732cf984d1c3c19dff67c94b957575efea132b8fe558')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/gtk+-${pkgver}"
|
||||
patch -Np1 -i "${srcdir}/xid-collision-debug.patch" || return 1
|
||||
|
||||
CXX=/bin/false ./configure --prefix=/usr --sysconfdir=/etc \
|
||||
--localstatedir=/var --with-xinput=yes \
|
||||
--without-libjasper\
|
||||
--with-included-loaders=png || return 1
|
||||
make || return 1
|
||||
make DESTDIR="${pkgdir}" install || return 1
|
||||
|
||||
echo 'gtk-fallback-icon-theme = "gnome"' > "${pkgdir}/etc/gtk-2.0/gtkrc" || return 1
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
post_install() {
|
||||
usr/bin/gtk-query-immodules-2.0 > etc/gtk-2.0/gtk.immodules
|
||||
usr/bin/gdk-pixbuf-query-loaders > etc/gtk-2.0/gdk-pixbuf.loaders
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
pre_remove() {
|
||||
rm -f etc/gtk-2.0/gtk.immodules &>/dev/null
|
||||
rm -f etc/gtk-2.0/gdk-pixbuf.loaders &>/dev/null
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
--- gtk+-2.18.2/gdk-pixbuf/io-jpeg.c.orig 2009-10-09 09:53:34.000000000 +0200
|
||||
+++ gtk+-2.18.2/gdk-pixbuf/io-jpeg.c 2009-10-09 09:54:23.000000000 +0200
|
||||
@@ -920,6 +920,8 @@
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
+
|
||||
+ cinfo->scale_num = 1;
|
||||
|
||||
for (cinfo->scale_denom = 2; cinfo->scale_denom <= 8; cinfo->scale_denom *= 2) {
|
||||
jpeg_calc_output_dimensions (cinfo);
|
|
@ -1,15 +0,0 @@
|
|||
--- gtk+-2.18.3/gdk/x11/gdkxid.c 2009-06-19 04:59:18.000000000 +0200
|
||||
+++ gtk+-2.18.3/gdk/x11/gdkxid.c.new 2009-07-22 11:30:12.000000000 +0200
|
||||
@@ -56,10 +56,10 @@
|
||||
if (!display_x11->xid_ht)
|
||||
display_x11->xid_ht = g_hash_table_new ((GHashFunc) gdk_xid_hash,
|
||||
(GEqualFunc) gdk_xid_equal);
|
||||
-
|
||||
+/*
|
||||
if (g_hash_table_lookup (display_x11->xid_ht, xid))
|
||||
g_warning ("XID collision, trouble ahead");
|
||||
-
|
||||
+*/
|
||||
g_hash_table_insert (display_x11->xid_ht, xid, data);
|
||||
}
|
||||
|
|
@ -1,39 +0,0 @@
|
|||
# $Id: PKGBUILD 87283 2010-08-11 20:42:35Z andyrtr $
|
||||
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
||||
|
||||
pkgname=gutenprint
|
||||
pkgver=5.2.6
|
||||
pkgrel=1
|
||||
pkgdesc="Top quality printer drivers for POSIX systems"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL')
|
||||
install=gutenprint.install
|
||||
depends=('readline' 'gnutls>=2.8.5') # needs to be checked. build log says -Lgnutls but namcap doesn't detect it
|
||||
makedepends=('gtk2>=2.18.6' 'cups>=1.4.2' 'foomatic-db-engine' 'ghostscript>=8.71')
|
||||
optdepends=('cups: to use cups printer spooler(recommended)'
|
||||
'foomatic-db-engine: to use foomatic spooler'
|
||||
'ghostscript: adds postscript support for ijsgutenprint'
|
||||
'gimp: adds gutenprint plugin to gimp')
|
||||
source=(http://downloads.sourceforge.net/gimp-print/$pkgname-$pkgver.tar.bz2)
|
||||
url="http://gimp-print.sourceforge.net/"
|
||||
replaces=('gimp-print')
|
||||
options=('!libtool' '!emptydirs')
|
||||
md5sums=('1f0d0cbef6c089f4f095e21869fa70db')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
./configure --prefix=/usr --disable-samples --with-cups \
|
||||
--disable-translated-cups-ppds --with-gimp2-as-gutenprint \
|
||||
--disable-libgutenprintui --enable-libgutenprintui2 --disable-gtktest \
|
||||
--enable-cups-ppds --enable-cups-ppds-at-top-level \
|
||||
--with-foomatic --with-foomatic3 --with-ghostscript \
|
||||
--disable-static --disable-static-genppd --with-ijs \
|
||||
--disable-globalized-cups-ppds
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install
|
||||
}
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
post_install() {
|
||||
echo ">>please run /usr/sbin/cups-genppdupdate"
|
||||
echo ">>and restart cups deamon"
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
|
@ -1,79 +0,0 @@
|
|||
# $Id: PKGBUILD 61559 2009-12-19 19:21:33Z jgc $
|
||||
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
||||
# Contributor: Link Dupont <link@subpop.net>
|
||||
|
||||
# NOTE!!!
|
||||
# You'll need to edit your /usr/include/scsi/scsi.h:
|
||||
# Change "u8" to "__u8" on lines 148 to 150-something
|
||||
|
||||
pkgname=hal
|
||||
pkgver=0.5.14
|
||||
pkgrel=1
|
||||
pkgdesc="Hardware Abstraction Layer"
|
||||
arch=(arm)
|
||||
license=('GPL' 'custom')
|
||||
url="http://www.freedesktop.org/wiki/Software/hal"
|
||||
depends=('dbus-glib>=0.82' 'libusb>=0.1.12' 'udev>=146' 'filesystem>=0.7.1-5' 'hal-info>=0.20090716' 'eject' 'dmidecode' 'pciutils>=3.0.2' 'usbutils>=0.73-5' 'pm-utils>=1.2.5' 'consolekit>=0.4.1' 'util-linux-ng>=2.16')
|
||||
makedepends=('pkgconfig' 'gperf')
|
||||
options=('!libtool' '!makeflags')
|
||||
install=hal.install
|
||||
source=(http://hal.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz
|
||||
hal
|
||||
cryptsetup_location.patch
|
||||
hal-0.5.9-hide-diagnostic.patch
|
||||
hal-remove-dell-killswitch.patch
|
||||
hal-KVM-evdev.patch
|
||||
hal-HDAPS-blacklist.patch
|
||||
hal-xen-unignore-axes.patch
|
||||
hal-use-at-console.patch
|
||||
fix-libusb-detection.patch)
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
patch -Np1 -i "${srcdir}/cryptsetup_location.patch" || return 1
|
||||
patch -Np1 -i "${srcdir}/hal-0.5.9-hide-diagnostic.patch" || return 1
|
||||
patch -Np1 -i "${srcdir}/hal-remove-dell-killswitch.patch" || return 1
|
||||
patch -Np1 -i "${srcdir}/hal-KVM-evdev.patch" || return 1
|
||||
patch -Np1 -i "${srcdir}/hal-HDAPS-blacklist.patch" || return 1
|
||||
patch -Np1 -i "${srcdir}/hal-xen-unignore-axes.patch" || return 1
|
||||
patch -Np1 -i "${srcdir}/hal-use-at-console.patch" || return 1
|
||||
patch -Np1 -i "${srcdir}/fix-libusb-detection.patch" || return 1
|
||||
|
||||
libtoolize --force || return 1
|
||||
aclocal || return 1
|
||||
autoconf || return 1
|
||||
automake || return 1
|
||||
|
||||
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
|
||||
--libexecdir=/usr/lib/hal --with-udev-prefix=/etc \
|
||||
--enable-static=no --disable-acpi-ibm \
|
||||
--disable-man-pages --disable-gtk-doc \
|
||||
--disable-docbook-docs --disable-console-kit \
|
||||
--disable-policy-kit --disable-acl-management \
|
||||
--enable-umount-helper --disable-smbios --disable-acpi \
|
||||
--with-hal-user=hal --with-hal-group=hal \
|
||||
--with-omap --enable-pmu --without-cpufreq \
|
||||
--without-usb-csr --without-keymaps \
|
||||
--disable-sonypic --without-dell-backlight \
|
||||
--with-pid-file=/var/run/hald.pid || return 1
|
||||
|
||||
make || return 1
|
||||
|
||||
make DESTDIR="${pkgdir}" install || return 1
|
||||
install -m755 -d "${pkgdir}/etc/rc.d"
|
||||
install -m755 -d "${pkgdir}/media" || return 1
|
||||
install -m755 "${srcdir}/hal" "${pkgdir}/etc/rc.d/" || return 1
|
||||
|
||||
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
|
||||
}
|
||||
md5sums=('e9163df591a6f38f59fdbfe33e73bf20'
|
||||
'277e96ac130d7bfce0b30f0b80db8782'
|
||||
'c688a3c6574699365926f4fef7441545'
|
||||
'4d4b6801a1cedca22b8bdd9db73b16fb'
|
||||
'6d87c3e63184ae3a69caafc846f538a3'
|
||||
'6507e5091ee2d11a87ae738a8e2caecb'
|
||||
'1171c2d83b76059f2da7a3538e08fa4e'
|
||||
'52bd305299aa22ae07f1a862c22d30fa'
|
||||
'3f11234fb5e5044fbfc5199ec65b182c'
|
||||
'da088f12cfc2d190bbf95b747e19ab9e')
|
|
@ -1,36 +0,0 @@
|
|||
diff -Naur hal-0.5.8.1/tools/linux/hal-luks-remove-linux hal-0.5.8.1-new/tools/linux/hal-luks-remove-linux
|
||||
--- hal-0.5.8.1/tools/linux/hal-luks-remove-linux 2006-09-19 22:23:25.000000000 +0200
|
||||
+++ hal-0.5.8.1-new/tools/linux/hal-luks-remove-linux 2007-02-11 13:04:46.000000000 +0100
|
||||
@@ -6,7 +6,7 @@
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2.
|
||||
|
||||
-CRYPTSETUP=/sbin/cryptsetup
|
||||
+CRYPTSETUP=/usr/sbin/cryptsetup
|
||||
|
||||
echo LUKS cryptotext device $HAL_PROP_INFO_UDI is going away
|
||||
|
||||
diff -Naur hal-0.5.8.1/tools/linux/hal-luks-setup-linux hal-0.5.8.1-new/tools/linux/hal-luks-setup-linux
|
||||
--- hal-0.5.8.1/tools/linux/hal-luks-setup-linux 2006-09-19 22:23:25.000000000 +0200
|
||||
+++ hal-0.5.8.1-new/tools/linux/hal-luks-setup-linux 2007-02-11 13:04:45.000000000 +0100
|
||||
@@ -9,7 +9,7 @@
|
||||
read password
|
||||
PASSWORD=${PASSWORD//[^[:alnum:]_=[:space:]:.+-]/@}
|
||||
|
||||
-CRYPTSETUP=/sbin/cryptsetup
|
||||
+CRYPTSETUP=/usr/sbin/cryptsetup
|
||||
|
||||
if [ ! -f $CRYPTSETUP ]; then
|
||||
echo org.freedesktop.Hal.Device.Volume.Crypto.SetupError >&2
|
||||
diff -Naur hal-0.5.8.1/tools/linux/hal-luks-teardown-linux hal-0.5.8.1-new/tools/linux/hal-luks-teardown-linux
|
||||
--- hal-0.5.8.1/tools/linux/hal-luks-teardown-linux 2006-09-19 22:23:25.000000000 +0200
|
||||
+++ hal-0.5.8.1-new/tools/linux/hal-luks-teardown-linux 2007-02-11 13:04:44.000000000 +0100
|
||||
@@ -6,7 +6,7 @@
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2.
|
||||
|
||||
-CRYPTSETUP=/sbin/cryptsetup
|
||||
+CRYPTSETUP=/usr/sbin/cryptsetup
|
||||
|
||||
if [ ! -f $CRYPTSETUP ]; then
|
||||
echo org.freedesktop.Hal.Device.Volume.Crypto.TeardownError >&2
|
|
@ -1,66 +0,0 @@
|
|||
From fce91df8ba7f305c624baf1f06961c040b088ecc Mon Sep 17 00:00:00 2001
|
||||
From: Joe Marcus Clarke <marcus@FreeBSD.org>
|
||||
Date: Tue, 08 Dec 2009 00:05:27 +0000
|
||||
Subject: Fix libusb detection on Linux
|
||||
|
||||
Adjust the FreeBSD libusb20 code so that it does not interfere with the
|
||||
Linux libusb detection.
|
||||
|
||||
Reported by: Robby Workman <rw@rlworkman.net>
|
||||
---
|
||||
diff --git a/configure.in b/configure.in
|
||||
index a8fda51..8363595 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -479,9 +479,6 @@ if test "x$with_libpci" != xno ; then
|
||||
fi
|
||||
AM_CONDITIONAL([HAVE_LIBPCI], [test "x$USE_LIBPCI" = "xyes"])
|
||||
|
||||
-USE_LIBUSB20=no
|
||||
-USE_LIBUSB=no
|
||||
-LIBUSB20_LIBS=""
|
||||
AC_ARG_WITH([backend],
|
||||
AS_HELP_STRING([--with-backend=<name>],
|
||||
[backend to use (linux/solaris/freebsd/dummy)]),
|
||||
@@ -510,21 +507,25 @@ AM_CONDITIONAL(HALD_COMPILE_FREEBSD, [test x$HALD_BACKEND = xfreebsd], [Compilin
|
||||
AM_CONDITIONAL(HALD_COMPILE_SOLARIS, [test x$HALD_BACKEND = xsolaris], [Compiling for Solaris])
|
||||
AC_SUBST(HALD_BACKEND)
|
||||
if test "x$HALD_BACKEND" = "xfreebsd"; then
|
||||
- AC_CHECK_LIB([usb20], [libusb20_dev_get_info], [USE_LIBUSB20=yes], [USE_LIBUSB20=no])
|
||||
-fi
|
||||
-if test "x$USE_LIBUSB20" = "xno"; then
|
||||
- AC_CHECK_LIB([usb], [libusb20_dev_get_info], [USE_LIBUSB=yes], [USE_LIBUSB=no])
|
||||
-fi
|
||||
-AM_CONDITIONAL([HAVE_LIBUSB20],[test "x$USE_LIBUSB20" = "xyes"])
|
||||
-AM_CONDITIONAL([HAVE_LIBUSB20],[test "x$USE_LIBUSB" = "xyes"])
|
||||
-if test "x$USE_LIBUSB20" = "xyes"; then
|
||||
- AC_DEFINE(HAVE_LIBUSB20, 1, [Set if we need libusb20])
|
||||
- LIBUSB20_LIBS="-lusb20"
|
||||
-elif test "x$USE_LIBUSB" = "xyes"; then
|
||||
- AC_DEFINE(HAVE_LIBUSB20, 1, [Set if we need libsub20])
|
||||
- LIBUSB20_LIBS="-lusb"
|
||||
+ USE_BSDLIBUSB20=no
|
||||
+ USE_BSDLIBUSB=no
|
||||
+ LIBUSB20_LIBS=""
|
||||
+ AC_CHECK_LIB([usb20], [libusb20_dev_get_info], [USE_BSDLIBUSB20=yes], [USE_BSDLIBUSB20=no])
|
||||
+ if test "x$USE_BSDLIBUSB20" = "xno"; then
|
||||
+ AC_CHECK_LIB([usb], [libusb20_dev_get_info], [USE_BSDLIBUSB=yes], [USE_BSDLIBUSB=no])
|
||||
+ fi
|
||||
+ AM_CONDITIONAL([HAVE_LIBUSB20],[test "x$USE_BSDLIBUSB20" = "xyes" -o "x$USE_BSDLIBUSB" = "xyes"])
|
||||
+ if test "x$USE_BSDLIBUSB20" = "xyes"; then
|
||||
+ AC_DEFINE(HAVE_LIBUSB20, 1, [Set if we need libusb20])
|
||||
+ LIBUSB20_LIBS="-lusb20"
|
||||
+ elif test "x$USE_BSDLIBUSB" = "xyes"; then
|
||||
+ AC_DEFINE(HAVE_LIBUSB20, 1, [Set if we need libsub20])
|
||||
+ LIBUSB20_LIBS="-lusb"
|
||||
+ fi
|
||||
+ AC_SUBST(LIBUSB20_LIBS)
|
||||
+else
|
||||
+ AM_CONDITIONAL([HAVE_LIBUSB20], [false])
|
||||
fi
|
||||
-AC_SUBST(LIBUSB20_LIBS)
|
||||
|
||||
dnl DBUS API is subject to changes
|
||||
AC_DEFINE_UNQUOTED(DBUS_API_SUBJECT_TO_CHANGE, [], [DBUS API is subject to change])
|
||||
--
|
||||
cgit v0.8.3-6-g21f6
|
|
@ -1,54 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# general config
|
||||
. /etc/rc.conf
|
||||
. /etc/rc.d/functions
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
#Check for running dbus, start when not running
|
||||
ck_daemon dbus && /etc/rc.d/dbus start
|
||||
if [ -x /etc/rc.d/acpid ]; then
|
||||
ck_daemon acpid && /etc/rc.d/acpid start
|
||||
fi
|
||||
stat_busy "Starting Hardware Abstraction Layer"
|
||||
if [ ! -x /var/cache/hald ] ; then
|
||||
install -m755 -g 82 -o 82 -d /var/cache/hald
|
||||
fi
|
||||
if [ ! -x /var/run/hald ]; then
|
||||
install -m755 -g 82 -o 82 -d /var/run/hald
|
||||
fi
|
||||
if [ ! -x /var/run/hald/hald-local ]; then
|
||||
install -m755 -g 0 -o 0 -d /var/run/hald/hald-local
|
||||
fi
|
||||
if [ ! -x /var/run/hald/hald-runner ]; then
|
||||
install -m755 -g 0 -o 0 -d /var/run/hald/hald-runner
|
||||
fi
|
||||
/usr/sbin/hald
|
||||
if [ $? -gt 0 ]; then
|
||||
stat_fail
|
||||
else
|
||||
add_daemon hal
|
||||
stat_done
|
||||
fi
|
||||
;;
|
||||
stop)
|
||||
stat_busy "Stopping Hardware Abstraction Layer"
|
||||
[ -f /var/run/hald.pid ] && kill `cat /var/run/hald.pid` &> /dev/null
|
||||
if [ $? -gt 0 ]; then
|
||||
stat_fail
|
||||
else
|
||||
rm_daemon hal
|
||||
stat_done
|
||||
fi
|
||||
;;
|
||||
restart)
|
||||
$0 stop
|
||||
sleep 1
|
||||
$0 start
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 {start|stop|restart}"
|
||||
;;
|
||||
esac
|
||||
exit 0
|
|
@ -1,14 +0,0 @@
|
|||
--- hal-0.5.9/fdi/policy/10osvendor/20-storage-methods.fdi.orig 2007-05-01 21:39:31.000000000 +0000
|
||||
+++ hal-0.5.9/fdi/policy/10osvendor/20-storage-methods.fdi 2007-05-01 21:51:14.000000000 +0000
|
||||
@@ -100,6 +100,11 @@
|
||||
</match>
|
||||
</match>
|
||||
|
||||
+ <!-- Hide partitions marked as Compaq Diagnostics -->
|
||||
+ <match key="volume.partition.type" string="0x12">
|
||||
+ <merge key="volume.ignore" type="bool">true</merge>
|
||||
+ </match>
|
||||
+
|
||||
<!-- EFI firmware partitions -->
|
||||
<match key="volume.fstype" string="vfat">
|
||||
<match key="volume.label" string="EFI">
|
|
@ -1,30 +0,0 @@
|
|||
From e1f85fe0cdfa7e4d4ce7a811d0b0c90bf38fba0c Mon Sep 17 00:00:00 2001
|
||||
From: Peter Hutterer <peter.hutterer@who-t.net>
|
||||
Date: Thu, 25 Jun 2009 09:47:27 +1000
|
||||
Subject: [PATCH] Blacklist HDAPS accelerometer device from being picked up in X.
|
||||
|
||||
This device posts accelerometer data through ABS_X/ABS_Y, making X unusable
|
||||
if it's controlling the pointer.
|
||||
---
|
||||
fdi/policy/10osvendor/10-x11-input.fdi | 6 ++++++
|
||||
1 files changed, 6 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/fdi/policy/10osvendor/10-x11-input.fdi b/fdi/policy/10osvendor/10-x11-input.fdi
|
||||
index a342421..89ba672 100644
|
||||
--- a/fdi/policy/10osvendor/10-x11-input.fdi
|
||||
+++ b/fdi/policy/10osvendor/10-x11-input.fdi
|
||||
@@ -38,5 +38,11 @@
|
||||
<merge key="input.x11_driver" type="string">evdev</merge>
|
||||
</match>
|
||||
</match>
|
||||
+
|
||||
+ <!-- http://bugs.freedesktop.org/show_bug.cgi?id=22442
|
||||
+ Posts accel data through ABS_X/ABS_Y, makes X unusable -->
|
||||
+ <match key="info.product" contains="ThinkPad HDAPS accelerometer data">
|
||||
+ <remove key="input.x11_driver" />
|
||||
+ </match>
|
||||
</device>
|
||||
</deviceinfo>
|
||||
--
|
||||
1.6.3.rc1.2.g0164.dirty
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
From 7618498eec840cb26474dc47821e083957772706 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Hutterer <peter.hutterer@who-t.net>
|
||||
Date: Fri, 20 Mar 2009 14:37:24 +1000
|
||||
Subject: [PATCH] Add x11_driver for American Megatrends KVM.
|
||||
|
||||
This device exposes only ABS_X, ABS_Y and buttons. It gets input.joystick
|
||||
assigned but not input.mouse, hence the default evdev mapping doesn't pick up
|
||||
on it.
|
||||
|
||||
Red Hat Bug 484776 <https://bugzilla.redhat.com/show_bug.cgi?id=484776>
|
||||
|
||||
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
||||
---
|
||||
fdi/policy/10osvendor/10-x11-input.fdi | 6 ++++++
|
||||
1 files changed, 6 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/fdi/policy/10osvendor/10-x11-input.fdi b/fdi/policy/10osvendor/10-x11-input.fdi
|
||||
index 769f75b..eb9767e 100644
|
||||
--- a/fdi/policy/10osvendor/10-x11-input.fdi
|
||||
+++ b/fdi/policy/10osvendor/10-x11-input.fdi
|
||||
@@ -2,6 +2,12 @@
|
||||
<deviceinfo version="0.2">
|
||||
<device>
|
||||
|
||||
+ <!-- This KVMS has abs x/y and buttons. It only has inputInfo.joystick
|
||||
+ set by hal and doesn't get picked up by default -->
|
||||
+ <match key="input.product" contains="American Megatrends Inc. Virtual Keyboard and Mouse">
|
||||
+ <merge key="input.x11_driver" type="string">evdev</merge>
|
||||
+ </match>
|
||||
+
|
||||
<!-- KVM emulates a USB graphics tablet which works in absolute coordinate mode -->
|
||||
<match key="input.product" contains="QEMU USB Tablet">
|
||||
<merge key="input.x11_driver" type="string">evdev</merge>
|
||||
--
|
||||
1.6.0.6
|
||||
|
|
@ -1,201 +0,0 @@
|
|||
diff -upr hal-0.5.12/tools/linux/hal-system-killswitch-get-power-linux hal-0.5.12.new/tools/linux/hal-system-killswitch-get-power-linux
|
||||
--- hal-0.5.12/tools/linux/hal-system-killswitch-get-power-linux 2008-08-22 07:34:47.000000000 +0100
|
||||
+++ hal-0.5.12.new/tools/linux/hal-system-killswitch-get-power-linux 2009-03-03 10:45:20.000000000 +0000
|
||||
@@ -8,11 +8,6 @@
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
-DELL_WCTL=/usr/bin/dellWirelessCtl
|
||||
-if [ -x "/usr/sbin/dellWirelessCtl" ]; then
|
||||
- DELL_WCTL=/usr/sbin/dellWirelessCtl
|
||||
-fi
|
||||
-
|
||||
if [ "$HAL_PROP_KILLSWITCH_TYPE" = "bluetooth" ]; then
|
||||
if [ "$HAL_PROP_KILLSWITCH_ACCESS_METHOD" = "sonypic" ]; then
|
||||
value="`hal-system-sonypic getbluetooth`"
|
||||
@@ -22,25 +17,6 @@ if [ "$HAL_PROP_KILLSWITCH_TYPE" = "blue
|
||||
exit 1
|
||||
fi
|
||||
exit ${value}
|
||||
- elif [ "$HAL_PROP_KILLSWITCH_ACCESS_METHOD" = "dell" ]; then
|
||||
- if [ -x "$DELL_WCTL" ]; then
|
||||
- # TODO: write our own binary that links with libsmbios?
|
||||
- $DELL_WCTL --st_bt
|
||||
- value=$?
|
||||
- if [ "$value" = "0" ]; then
|
||||
- exit 1
|
||||
- elif [ "$value" = "1" ]; then
|
||||
- exit 0
|
||||
- else
|
||||
- echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2
|
||||
- echo "dellWirelessCtl returned $value" >&2
|
||||
- exit 1
|
||||
- fi
|
||||
- else
|
||||
- echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2
|
||||
- echo "dellWirelessCtl ($DELL_WCTL) not available or executable" >&2
|
||||
- exit 1
|
||||
- fi
|
||||
elif [ "$HAL_PROP_KILLSWITCH_ACCESS_METHOD" = thinkpad -a -r "$HAL_PROP_LINUX_SYSFS_PATH" ]; then
|
||||
read value < $HAL_PROP_LINUX_SYSFS_PATH 2> /dev/null
|
||||
if [ $? -eq 0 ]; then
|
||||
@@ -55,56 +31,6 @@ if [ "$HAL_PROP_KILLSWITCH_TYPE" = "blue
|
||||
echo "Access type not supported" >&2
|
||||
exit 1
|
||||
fi
|
||||
-elif [ "$HAL_PROP_KILLSWITCH_TYPE" = "wlan" ]; then
|
||||
- if [ "$HAL_PROP_KILLSWITCH_ACCESS_METHOD" = "dell" ]; then
|
||||
- if [ -x "$DELL_WCTL" ]; then
|
||||
- # TODO: write our own binary that links with libsmbios?
|
||||
- $DELL_WCTL --st_wlan
|
||||
- value=$?
|
||||
- if [ "$value" = "0" ]; then
|
||||
- exit 1
|
||||
- elif [ "$value" = "1" ]; then
|
||||
- exit 0
|
||||
- else
|
||||
- echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2
|
||||
- echo "dellWirelessCtl returned $value" >&2
|
||||
- exit 1
|
||||
- fi
|
||||
- else
|
||||
- echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2
|
||||
- echo "dellWirelessCtl ($DELL_WCTL) not available or executable" >&2
|
||||
- exit 1
|
||||
- fi
|
||||
- else
|
||||
- echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2
|
||||
- echo "Access type not supported" >&2
|
||||
- exit 1
|
||||
- fi
|
||||
-elif [ "$HAL_PROP_KILLSWITCH_TYPE" = "wwan" ]; then
|
||||
- if [ "$HAL_PROP_KILLSWITCH_ACCESS_METHOD" = "dell" ]; then
|
||||
- if [ -x "$DELL_WCTL" ]; then
|
||||
- # TODO: write our own binary that links with libsmbios?
|
||||
- $DELL_WCTL --st_wwan
|
||||
- value=$?
|
||||
- if [ "$value" = "0" ]; then
|
||||
- exit 1
|
||||
- elif [ "$value" = "1" ]; then
|
||||
- exit 0
|
||||
- else
|
||||
- echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2
|
||||
- echo "dellWirelessCtl returned $value" >&2
|
||||
- exit 1
|
||||
- fi
|
||||
- else
|
||||
- echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2
|
||||
- echo "dellWirelessCtl ($DELL_WCTL) not available or executable" >&2
|
||||
- exit 1
|
||||
- fi
|
||||
- else
|
||||
- echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2
|
||||
- echo "Access type not supported" >&2
|
||||
- exit 1
|
||||
- fi
|
||||
else
|
||||
echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2
|
||||
echo "Killswitch type not supported" >&2
|
||||
diff -upr hal-0.5.12/tools/linux/hal-system-killswitch-set-power-linux hal-0.5.12.new/tools/linux/hal-system-killswitch-set-power-linux
|
||||
--- hal-0.5.12/tools/linux/hal-system-killswitch-set-power-linux 2008-10-24 09:45:54.000000000 +0100
|
||||
+++ hal-0.5.12.new/tools/linux/hal-system-killswitch-set-power-linux 2009-03-03 10:44:49.000000000 +0000
|
||||
@@ -8,11 +8,6 @@
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
-DELL_WCTL=/usr/bin/dellWirelessCtl
|
||||
-if [ -x "/usr/sbin/dellWirelessCtl" ]; then
|
||||
- DELL_WCTL=/usr/sbin/dellWirelessCtl
|
||||
-fi
|
||||
-
|
||||
if [ "$HAL_PROP_KILLSWITCH_TYPE" = "bluetooth" ]; then
|
||||
if [ "$HAL_PROP_KILLSWITCH_ACCESS_METHOD" = "sonypic" ]; then
|
||||
hal-system-sonypic setbluetooth $value
|
||||
@@ -23,26 +18,6 @@ if [ "$HAL_PROP_KILLSWITCH_TYPE" = "blue
|
||||
exit 1
|
||||
fi
|
||||
exit 0
|
||||
- elif [ "$HAL_PROP_KILLSWITCH_ACCESS_METHOD" = "dell" ]; then
|
||||
- if [ -x "$DELL_WCTL" ]; then
|
||||
- # TODO: write our own binary that links with libsmbios?
|
||||
- if [ "$value" = "true" ]; then
|
||||
- $DELL_WCTL --bt 1
|
||||
- ret=$?
|
||||
- else
|
||||
- $DELL_WCTL --bt 0
|
||||
- ret=$?
|
||||
- fi
|
||||
- if [ "$ret" != "0" ]; then
|
||||
- echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2
|
||||
- echo "dellWirelessCtl returned $ret" >&2
|
||||
- exit 1
|
||||
- fi
|
||||
- else
|
||||
- echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2
|
||||
- echo "dellWirelessCtl ($DELL_WCTL) not available or executable" >&2
|
||||
- exit 1
|
||||
- fi
|
||||
elif [ "$HAL_PROP_KILLSWITCH_ACCESS_METHOD" = thinkpad -a -w "$HAL_PROP_LINUX_SYSFS_PATH" ]; then
|
||||
if [ "$value" = "true" ]; then
|
||||
bit=1;
|
||||
@@ -61,60 +36,6 @@ if [ "$HAL_PROP_KILLSWITCH_TYPE" = "blue
|
||||
echo "Access type not supported" >&2
|
||||
exit 1
|
||||
fi
|
||||
-elif [ "$HAL_PROP_KILLSWITCH_TYPE" = "wlan" ]; then
|
||||
- if [ "$HAL_PROP_KILLSWITCH_ACCESS_METHOD" = "dell" ]; then
|
||||
- if [ -x "$DELL_WCTL" ]; then
|
||||
- # As a side effect we disable the physical kill switch
|
||||
- # TODO: write our own binary that links with libsmbios?
|
||||
- if [ "$value" = "true" ]; then
|
||||
- $DELL_WCTL --sw_wlan 0 --wlan 1
|
||||
- ret=$?
|
||||
- else
|
||||
- $DELL_WCTL --sw_wlan 0 --wlan 0
|
||||
- ret=$?
|
||||
- fi
|
||||
- if [ "$ret" != "0" ]; then
|
||||
- echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2
|
||||
- echo "dellWirelessCtl returned $ret" >&2
|
||||
- exit 1
|
||||
- fi
|
||||
- else
|
||||
- echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2
|
||||
- echo "dellWirelessCtl ($DELL_WCTL) not available or executable" >&2
|
||||
- exit 1
|
||||
- fi
|
||||
- else
|
||||
- echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2
|
||||
- echo "Access type not supported" >&2
|
||||
- exit 1
|
||||
- fi
|
||||
-elif [ "$HAL_PROP_KILLSWITCH_TYPE" = "wwan" ]; then
|
||||
- if [ "$HAL_PROP_KILLSWITCH_ACCESS_METHOD" = "dell" ]; then
|
||||
- if [ -x "$DELL_WCTL" ]; then
|
||||
- # As a side effect we disable the physical kill switch
|
||||
- # TODO: write our own binary that links with libsmbios?
|
||||
- if [ "$value" = "true" ]; then
|
||||
- $DELL_WCTL --sw_wwan 0 --wwan 1
|
||||
- ret=$?
|
||||
- else
|
||||
- $DELL_WCTL --sw_wwan 0 --wwan 0
|
||||
- ret=$?
|
||||
- fi
|
||||
- if [ "$ret" != "0" ]; then
|
||||
- echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2
|
||||
- echo "dellWirelessCtl returned $ret" >&2
|
||||
- exit 1
|
||||
- fi
|
||||
- else
|
||||
- echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2
|
||||
- echo "dellWirelessCtl ($DELL_WCTL) not available or executable" >&2
|
||||
- exit 1
|
||||
- fi
|
||||
- else
|
||||
- echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2
|
||||
- echo "Access type not supported" >&2
|
||||
- exit 1
|
||||
- fi
|
||||
else
|
||||
echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2
|
||||
echo "Killswitch type not supported" >&2
|
|
@ -1,45 +0,0 @@
|
|||
diff -up hal-0.5.13/hal.conf.in.drop-polkit hal-0.5.13/hal.conf.in
|
||||
--- hal-0.5.13/hal.conf.in.drop-polkit 2009-02-04 17:07:23.000000000 -0500
|
||||
+++ hal-0.5.13/hal.conf.in 2009-07-29 23:15:16.866766074 -0400
|
||||
@@ -25,7 +25,41 @@
|
||||
send_interface="org.freedesktop.Hal.Device"/>
|
||||
<allow send_destination="org.freedesktop.Hal"
|
||||
send_interface="org.freedesktop.Hal.Manager"/>
|
||||
+ </policy>
|
||||
+
|
||||
+ <!-- Only allow users at the local console to manipulate devices -->
|
||||
+ <policy at_console="true">
|
||||
+ <allow send_destination="org.freedesktop.Hal"
|
||||
+ send_interface="org.freedesktop.Hal.Device.CPUFreq"/>
|
||||
+ <allow send_destination="org.freedesktop.Hal"
|
||||
+ send_interface="org.freedesktop.Hal.Device.DockStation"/>
|
||||
+ <allow send_destination="org.freedesktop.Hal"
|
||||
+ send_interface="org.freedesktop.Hal.Device.KillSwitch"/>
|
||||
+ <allow send_destination="org.freedesktop.Hal"
|
||||
+ send_interface="org.freedesktop.Hal.Device.KeyboardBacklight"/>
|
||||
+ <allow send_destination="org.freedesktop.Hal"
|
||||
+ send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
|
||||
+ <allow send_destination="org.freedesktop.Hal"
|
||||
+ send_interface="org.freedesktop.Hal.Device.Leds"/>
|
||||
+ <allow send_destination="org.freedesktop.Hal"
|
||||
+ send_interface="org.freedesktop.Hal.Device.LightSensor"/>
|
||||
+ <allow send_destination="org.freedesktop.Hal"
|
||||
+ send_interface="org.freedesktop.Hal.Device.Storage"/>
|
||||
+ <allow send_destination="org.freedesktop.Hal"
|
||||
+ send_interface="org.freedesktop.Hal.Device.Storage.Removable"/>
|
||||
+ <allow send_destination="org.freedesktop.Hal"
|
||||
+ send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
|
||||
+ <allow send_destination="org.freedesktop.Hal"
|
||||
+ send_interface="org.freedesktop.Hal.Device.Volume"/>
|
||||
+ <allow send_destination="org.freedesktop.Hal"
|
||||
+ send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
|
||||
+ <allow send_destination="org.freedesktop.Hal"
|
||||
+ send_interface="org.freedesktop.Hal.Device.WakeOnLan"/>
|
||||
+
|
||||
+ </policy>
|
||||
|
||||
+ <!-- well,...and root too -->
|
||||
+ <policy user="root">
|
||||
<allow send_destination="org.freedesktop.Hal"
|
||||
send_interface="org.freedesktop.Hal.Device.CPUFreq"/>
|
||||
<allow send_destination="org.freedesktop.Hal"
|
|
@ -1,39 +0,0 @@
|
|||
From e48f59d2b9bcb43ea8a7b8c884dcb73c8f65b170 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Hutterer <peter.hutterer@who-t.net>
|
||||
Date: Mon, 19 Oct 2009 14:27:20 +1000
|
||||
Subject: [PATCH] Un-ignore absolute axes for the Xen Virtual Pointer.
|
||||
|
||||
The evdev-internal axis type picking fails for the Xen Virtual Pointer as it
|
||||
exposes both relative and absolute axes. Evdev picks the relative axes by
|
||||
default, leading to a immovable pointer if the Xen backend only sends
|
||||
absolute coordinates.
|
||||
|
||||
Explicitly tell evdev to not ignore the absolute axes.
|
||||
|
||||
https://bugzilla.redhat.com/show_bug.cgi?id=523914
|
||||
|
||||
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
||||
---
|
||||
fdi/policy/10osvendor/10-x11-input.fdi | 7 +++++++
|
||||
1 files changed, 7 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/fdi/policy/10osvendor/10-x11-input.fdi b/fdi/policy/10osvendor/10-x11-input.fdi
|
||||
index 89ba672..752c4ab 100644
|
||||
--- a/fdi/policy/10osvendor/10-x11-input.fdi
|
||||
+++ b/fdi/policy/10osvendor/10-x11-input.fdi
|
||||
@@ -44,5 +44,12 @@
|
||||
<match key="info.product" contains="ThinkPad HDAPS accelerometer data">
|
||||
<remove key="input.x11_driver" />
|
||||
</match>
|
||||
+
|
||||
+ <!-- https://bugzilla.redhat.com/show_bug.cgi?id=523914
|
||||
+ Mouse does not move in PV Xen guest -->
|
||||
+ <match key="info.product" contains="Xen Virtual Pointer">
|
||||
+ <merge key="input.x11_options.IgnoreAbsoluteAxes" type="string">false</merge>
|
||||
+ <merge key="input.x11_options.IgnoreRelativeAxes" type="string">false</merge>
|
||||
+ </match>
|
||||
</device>
|
||||
</deviceinfo>
|
||||
--
|
||||
1.6.2.5
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
post_install() {
|
||||
getent group hal >/dev/null || usr/sbin/groupadd -g 82 hal
|
||||
getent group optical >/dev/null || usr/sbin/groupadd -g 93 optical
|
||||
getent group floppy >/dev/null || usr/sbin/groupadd -g 94 floppy
|
||||
getent group storage >/dev/null || usr/sbin/groupadd -g 95 storage
|
||||
getent passwd hal >/dev/null || usr/sbin/useradd -c 'HAL daemon' -u 82 -g hal -G optical,floppy,storage -d '/' -s /bin/false hal
|
||||
usr/bin/passwd -l hal &>/dev/null
|
||||
}
|
||||
|
||||
# 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() {
|
||||
usr/sbin/userdel hal &>/dev/null
|
||||
usr/sbin/groupdel hal &>/dev/null
|
||||
}
|
|
@ -1,20 +0,0 @@
|
|||
Index: tools/toolutil/pkg_genc.c
|
||||
===================================================================
|
||||
--- a/tools/toolutil/pkg_genc.c
|
||||
+++ b/tools/toolutil/pkg_genc.c
|
||||
@@ -1,4 +1,4 @@
|
||||
/******************************************************************************
|
||||
- * Copyright (C) 2009, International Business Machines
|
||||
+ * Copyright (C) 2009-2010, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
*******************************************************************************
|
||||
@@ -119,8 +119,8 @@
|
||||
{"gcc",
|
||||
".globl %s\n"
|
||||
- "\t.section .note.GNU-stack,\"\",@progbits\n"
|
||||
+ "\t.section .note.GNU-stack,\"\",%%progbits\n"
|
||||
"\t.section .rodata\n"
|
||||
"\t.align 8\n" /* Either align 8 bytes or 2^8 (256) bytes. 8 bytes is needed. */
|
||||
- "\t.type %s,@object\n"
|
||||
+ "\t.type %s,%%object\n"
|
||||
"%s:\n\n",
|
|
@ -1,31 +0,0 @@
|
|||
# Maintainer: Mike Staszel <mikestaszel@plugboxlinux.org>
|
||||
# Contributor: Art Gramlich <art@gramlich-net.com>
|
||||
|
||||
# Plugbox changes:
|
||||
# - icu needs the patch to build on ARM
|
||||
|
||||
pkgname=icu
|
||||
pkgver=4.4.1
|
||||
pkgrel=1
|
||||
pkgdesc="International Components for Unicode library"
|
||||
arch=(i686 x86_64 arm)
|
||||
url="http://www.icu-project.org/"
|
||||
license=('custom:"icu"')
|
||||
depends=('gcc-libs' 'sh')
|
||||
source=(http://download.icu-project.org/files/${pkgname}4c/${pkgver}/${pkgname}4c-${pkgver//./_}-src.tgz
|
||||
28107-icu-arm.patch)
|
||||
md5sums=('b6bc0a1153540b2088f8b03e0ba625d3'
|
||||
'930eec07e19c542d54e28d40a3c2e709')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/icu/source
|
||||
|
||||
patch -Np1 -i $srcdir/28107-icu-arm.patch || return 1
|
||||
|
||||
./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man
|
||||
make || return 1
|
||||
make -j1 DESTDIR=${pkgdir} install || return 1
|
||||
|
||||
# Install license
|
||||
install -Dm644 ${srcdir}/icu/license.html ${pkgdir}/usr/share/licenses/icu/license.html
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
# Maintainer: Ian Botley <ianjb@plugapps.com>
|
||||
# Contributor: Eric Belanger <eric@archlinux.org>
|
||||
|
||||
pkgname=imagemagick-doc
|
||||
pkgver=6.6.0.9
|
||||
pkgrel=9
|
||||
pkgdesc="The ImageMagick documentation (utilities manuals and libraries API)"
|
||||
arch=('any')
|
||||
url="http://www.imagemagick.org/"
|
||||
license=('custom')
|
||||
depends=('imagemagick')
|
||||
options=('!makeflags')
|
||||
source=(ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-${pkgver%.*}-${pkgver##*.}.tar.xz)
|
||||
md5sums=('e2c654ba9a0bc002608e40ce523d3e13')
|
||||
sha1sums=('797fae0d0b58ba148750f20af292dad75a1c4881')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/ImageMagick-${pkgver%.*}-${pkgver##*.}"
|
||||
./configure --prefix=/usr || return 1
|
||||
make DESTDIR="${pkgdir}" install-data-html || return 1
|
||||
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
|
||||
install -D -m644 NOTICE "${pkgdir}/usr/share/licenses/${pkgname}/NOTICE" || return 1
|
||||
}
|
|
@ -1,192 +0,0 @@
|
|||
2010-02-26 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.6.0.0-1
|
||||
* Upstream update
|
||||
|
||||
2010-02-14 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.5.9.5-1
|
||||
* Upstream update
|
||||
|
||||
2010-01-18 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.5.9.0-2
|
||||
* Fixed undefined symbols
|
||||
|
||||
2010-01-14 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.5.9.0-1
|
||||
* Upstream update
|
||||
|
||||
2009-12-12 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.5.8.5-1
|
||||
* Upstream update
|
||||
|
||||
2009-11-22 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.5.7.10-1
|
||||
* Upstream update
|
||||
|
||||
2009-11-08 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.5.7.5-1
|
||||
* Upstream update
|
||||
|
||||
2009-10-14 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.5.6.10-1
|
||||
* Upstream update
|
||||
|
||||
2009-09-18 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.5.6.1-1
|
||||
* Upstream update
|
||||
|
||||
2009-09-02 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.5.5.6-1
|
||||
* Upstream update
|
||||
|
||||
2009-08-05 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.5.4.8-1
|
||||
* Upstream update
|
||||
|
||||
2009-07-23 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.5.4.5-1
|
||||
* Upstream update
|
||||
|
||||
2009-06-05 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.5.3.2-1
|
||||
* Upstream update
|
||||
* Removed insecure RPATH (close FS#14843)
|
||||
|
||||
2009-05-21 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.5.2.7-1
|
||||
* Upstream update
|
||||
|
||||
2009-04-29 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.5.1.9-1
|
||||
* Upstream update
|
||||
|
||||
2009-03-31 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.5.0.10-1
|
||||
* Upstream update
|
||||
|
||||
2009-03-17 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.5.0.1-1
|
||||
* Upstream update
|
||||
|
||||
2009-02-27 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.4.9.7-1
|
||||
* Upstream update
|
||||
|
||||
2009-02-07 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.4.9.2-1
|
||||
* Upstream update
|
||||
|
||||
2009-01-30 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.4.8.10-1
|
||||
* Upstream update
|
||||
|
||||
2008-12-29 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.4.8.2-1
|
||||
* Upstream update
|
||||
|
||||
2008-12-14 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.4.7.8-1
|
||||
* Upstream update
|
||||
|
||||
2008-12-05 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.4.7.0-1
|
||||
* Upstream update
|
||||
* Rebuild against heimdal 1.2.1
|
||||
|
||||
2008-11-25 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.4.6.3-1
|
||||
* Upstream update
|
||||
|
||||
2008-11-14 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.4.5.6-1
|
||||
* Upstream update
|
||||
|
||||
2008-10-26 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.4.5.0-1
|
||||
* Upstream update
|
||||
|
||||
2008-10-18 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.4.4.9-1
|
||||
* Upstream update
|
||||
|
||||
2008-10-03 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.4.4.1-1
|
||||
* Upstream update
|
||||
|
||||
2008-09-06 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.4.3.6-1
|
||||
* Upstream update
|
||||
* Added JPEG2000 support (close FS#10544)
|
||||
|
||||
2008-08-19 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.4.2.10-1
|
||||
* Upstream update
|
||||
|
||||
2008-08-11 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.4.2.7-1
|
||||
* Upstream update
|
||||
* Added bzip2 and libxml2 depends
|
||||
* Disabled docs
|
||||
|
||||
2008-07-18 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.4.2.4-1
|
||||
* Upstream update
|
||||
|
||||
2008-06-23 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.4.2.1-1
|
||||
* Upstream update
|
||||
* Fixed linking problem (close FS#10574)
|
||||
|
||||
2008-05-19 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.4.1.3-1
|
||||
* Upstream update
|
||||
|
||||
2008-04-30 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.4.1.0-1
|
||||
* Upstream update
|
||||
|
||||
2008-04-24 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.4.0.9-1
|
||||
* Upstream update
|
||||
|
||||
2008-03-29 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* imagemagick 6.4.0.2-1
|
||||
* Upstream update
|
||||
* Added dvips to delegates list for dvi support (close FS#8914)
|
||||
* Added ChangeLog
|
|
@ -1,52 +0,0 @@
|
|||
# $Id: PKGBUILD 70509 2010-02-27 04:25:53Z eric $
|
||||
# Maintainer: Eric Belanger <eric@archlinux.org>
|
||||
|
||||
# NOTE: To circumvent linking problems (FS#10574), this package must now be built the following way:
|
||||
# install old package, build new package, install new package, rebuild
|
||||
# Just uninstalling ImageMagick before build fails as it is used during the build processs
|
||||
|
||||
pkgname=imagemagick
|
||||
pkgver=6.6.0.9
|
||||
pkgrel=9
|
||||
pkgdesc="An image viewing/manipulation program"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.imagemagick.org/"
|
||||
license=('custom')
|
||||
depends=('lcms' 'libwmf' 'librsvg' 'libxt' 'gcc-libs' 'ghostscript' 'openexr' 'libtool' 'heimdal' 'bzip2' 'libxml2' 'jasper')
|
||||
makedepends=('imagemagick') # comment this out 1st pass
|
||||
options=('!makeflags' '!docs')
|
||||
source=(ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-${pkgver%.*}-${pkgver##*.}.tar.xz \
|
||||
libpng_mmx_patch_x86_64.patch perlmagick.rpath.patch)
|
||||
md5sums=('e2c654ba9a0bc002608e40ce523d3e13' '069980fc2590c02aed86420996259302'\
|
||||
'ff9974decbfe9846f8e347239d87e4eb')
|
||||
sha1sums=('797fae0d0b58ba148750f20af292dad75a1c4881' 'e42f3acbe85b6098af75c5cecc9a254baaa0482c'\
|
||||
'23405f80904b1de94ebd7bd6fe2a332471b8c283')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/ImageMagick-${pkgver%.*}-${pkgver##*.}"
|
||||
|
||||
if [ "${CARCH}" = "x86_64" ]; then
|
||||
patch -Np1 < ../libpng_mmx_patch_x86_64.patch || return 1
|
||||
fi
|
||||
|
||||
patch -p0 < ../perlmagick.rpath.patch || return 1
|
||||
|
||||
# When there is a soname bump, remove 'LIBS=-lMagickWand' from configure line and build/install. Then, readd 'LIBS=-lMagickWand' and build/install twice.
|
||||
# comment next line out on firts pass.
|
||||
LIBS=-lMagickWand \
|
||||
./configure --prefix=/usr --without-modules --disable-static --enable-openmp \
|
||||
--with-x --with-wmf --with-openexr --with-xml \
|
||||
--with-gslib --with-gs-font-dir=/usr/share/fonts/Type1 \
|
||||
--with-perl --with-perl-options="INSTALLDIRS=vendor" \
|
||||
--without-gvc --without-djvu --without-autotrace --with-jp2 \
|
||||
--without-jbig --without-fpx --without-dps || return 1
|
||||
|
||||
make || return 1
|
||||
make DESTDIR="${pkgdir}" install || return 1
|
||||
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
|
||||
install -D -m644 NOTICE "${pkgdir}/usr/share/licenses/${pkgname}/NOTICE" || return 1
|
||||
|
||||
#Cleaning
|
||||
find "${pkgdir}" -name '*.bs' -exec rm {} \; || return 1
|
||||
rm -f "${pkgdir}"/usr/lib/*.la || return 1
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
diff -Naur ImageMagick-6.2.7.orig/coders/png.c ImageMagick-6.2.7/coders/png.c
|
||||
--- ImageMagick-6.2.7.orig/coders/png.c 2006-05-21 12:35:55.784852536 +0200
|
||||
+++ ImageMagick-6.2.7/coders/png.c 2006-05-21 12:36:50.698504392 +0200
|
||||
@@ -164,6 +164,8 @@
|
||||
#define PNG_MAX_UINT (png_uint_32) 0x7fffffffL
|
||||
#endif
|
||||
|
||||
+#undef PNG_ASSEMBLER_CODE_SUPPORTED
|
||||
+
|
||||
/*
|
||||
Constant strings for known chunk types. If you need to add a chunk,
|
||||
add a string holding the name here. To make the code more
|
|
@ -1,10 +0,0 @@
|
|||
--- Makefile.in.orig 2009-05-26 16:22:11.000000000 -0300
|
||||
+++ Makefile.in 2009-05-26 16:23:27.000000000 -0300
|
||||
@@ -10067,6 +10067,7 @@
|
||||
|
||||
@WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@$(PERLMAKEFILE): perl-sources $(PERLMAKEMAKER)
|
||||
@WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@ cd $(PERLMAGICK) && @PERL@ Makefile.PL $(PERL_MAKE_OPTIONS)
|
||||
+@WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@ cd $(PERLMAGICK) && @SED@ -i 's|LD_RUN_PATH|DIE_LD_RUN_PATH_DIE|g' Makefile
|
||||
|
||||
@WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@install-exec-perl: $(MAGICKCORE_LIBS) $(MAGICKWAND_LIBS) $(PERLMAKEFILE)
|
||||
@WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@ cd $(PERLMAGICK) && $(MAKE) CC='@CC@' install
|
|
@ -1,44 +0,0 @@
|
|||
# $Id: PKGBUILD 81927 2010-06-07 10:44:11Z jgc $
|
||||
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
||||
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
|
||||
|
||||
# Plugbox changed only the gcc-lib depends to be 4.4.3-5
|
||||
# instead of 4.5.0
|
||||
|
||||
pkgbase=libsigc++
|
||||
pkgname=('libsigc++' 'libsigc++-docs')
|
||||
pkgver=2.2.8
|
||||
pkgrel=1
|
||||
arch=(i686 x86_64)
|
||||
license=('LGPL')
|
||||
url="http://libsigc.sourceforge.net/"
|
||||
source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/2.2/${pkgname}-${pkgver}.tar.bz2)
|
||||
makedepends=('gcc-libs>=4.4.3-5')
|
||||
options=(!libtool !emptydirs)
|
||||
sha256sums=('0fd75fd8249e09ae2fd3ffd20c3fbaea11b47d71ba5ba2340ed98b6bdca40ea8')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
./configure --prefix=/usr || return 1
|
||||
make || return 1
|
||||
}
|
||||
|
||||
package_libsigc++() {
|
||||
pkgdesc="Libsigc++ implements a full callback system for use in widget libraries - V2"
|
||||
depends=('gcc-libs>=4.4.3-5')
|
||||
provides=("libsigc++2.0=${pkgver}")
|
||||
replaces=('libsigc++2.0')
|
||||
conflicts=('libsigc++2.0')
|
||||
cd "${srcdir}/libsigc++-${pkgver}"
|
||||
sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile || return 1
|
||||
make DESTDIR="${pkgdir}" install || return 1
|
||||
}
|
||||
|
||||
package_libsigc++-docs() {
|
||||
pkgdesc="Developer documentation for libsigc++"
|
||||
provides=("libsigc++2.0-docs=${pkgver}")
|
||||
replaces=('libsigc++2.0-docs')
|
||||
conflicts=('libsigc++2.0-docs')
|
||||
cd "${srcdir}/libsigc++-${pkgver}/docs"
|
||||
make DESTDIR="${pkgdir}" install || return 1
|
||||
}
|
|
@ -1,29 +0,0 @@
|
|||
# Maintainer: Ionut Biru <ibiru@archlinux.org>
|
||||
|
||||
# Plugbox changes:
|
||||
# Removed "--enable-shared" from ./configure for ARMv5
|
||||
|
||||
pkgname=libvpx
|
||||
pkgver=0.9.1
|
||||
pkgrel=1
|
||||
pkgdesc="The VP8 Codec SDK"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.webmproject.org/"
|
||||
license=('BSD')
|
||||
depends=('glibc')
|
||||
makedepends=('yasm')
|
||||
source=(http://webm.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2)
|
||||
sha1sums=('a18acb7a1a2fd62268e63aab860b43ff04669b9e')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
./configure --enable-vp8 \
|
||||
--enable-runtime-cpu-detect \
|
||||
--enable-postproc \
|
||||
--enable-pic \
|
||||
--disable-install-docs \
|
||||
--disable-install-srcs
|
||||
make || return 1
|
||||
make DIST_DIR="$pkgdir/usr" install || return 1
|
||||
install -D -m 0644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" || return 1
|
||||
}
|
|
@ -1,82 +0,0 @@
|
|||
Disclaimer
|
||||
|
||||
Mesa is a 3-D graphics library with an API which is very similar to
|
||||
that of OpenGL*
|
||||
To the extent that Mesa utilizes the OpenGL command syntax or state
|
||||
machine, it is being used with authorization from Silicon Graphics,
|
||||
Inc.(SGI). However, the author does not possess an OpenGL license
|
||||
from SGI, and makes no claim that Mesa is in any way a compatible
|
||||
replacement for OpenGL or associated with SGI. Those who want a
|
||||
licensed implementation of OpenGL should contact a licensed
|
||||
vendor.
|
||||
|
||||
Please do not refer to the library as MesaGL (for legal
|
||||
reasons). It's just Mesa or The Mesa 3-D graphics
|
||||
library
|
||||
|
||||
* OpenGL is a trademark of Silicon Graphics Incorporated.
|
||||
|
||||
License / Copyright Information
|
||||
|
||||
The Mesa distribution consists of several components. Different copyrights
|
||||
and licenses apply to different components. For example, GLUT is copyrighted
|
||||
by Mark Kilgard, some demo programs are copyrighted by SGI, some of the Mesa
|
||||
device drivers are copyrighted by their authors. See below for a list of
|
||||
Mesa's main components and the license for each.
|
||||
|
||||
The core Mesa library is licensed according to the terms of the MIT license.
|
||||
This allows integration with the XFree86, Xorg and DRI projects.
|
||||
|
||||
The default Mesa license is as follows:
|
||||
|
||||
Copyright (C) 1999-2007 Brian Paul All Rights Reserved.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the "Software"),
|
||||
to deal in the Software without restriction, including without limitation
|
||||
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
and/or sell copies of the Software, and to permit persons to whom the
|
||||
Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included
|
||||
in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
||||
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
Attention, Contributors
|
||||
|
||||
When contributing to the Mesa project you must agree to the licensing terms
|
||||
of the component to which you're contributing.
|
||||
The following section lists the primary components of the Mesa distribution
|
||||
and their respective licenses.
|
||||
|
||||
|
||||
Mesa Component Licenses
|
||||
|
||||
Component Location Primary Author License
|
||||
----------------------------------------------------------------------------
|
||||
Main Mesa code src/mesa/ Brian Paul Mesa (MIT)
|
||||
|
||||
Device drivers src/mesa/drivers/* See drivers See drivers
|
||||
|
||||
Ext headers include/GL/glext.h SGI SGI Free B
|
||||
include/GL/glxext.h
|
||||
|
||||
GLUT src/glut/ Mark Kilgard Mark's copyright
|
||||
|
||||
Mesa GLU library src/glu/mesa/ Brian Paul GNU-LGPL
|
||||
|
||||
SGI GLU library src/glu/sgi/ SGI SGI Free B
|
||||
|
||||
demo programs progs/demos/ various see source files
|
||||
|
||||
X demos progs/xdemos/ Brian Paul see source files
|
||||
|
||||
SGI demos progs/samples/ SGI SGI copyright
|
||||
|
||||
RedBook demos progs/redbook/ SGI SGI copyright
|
|
@ -1,137 +0,0 @@
|
|||
# Maintainer: Mike Staszel <mikestaszel@plugboxlinux.org>
|
||||
|
||||
# Plugbox Modifications:
|
||||
# Removed ATI, SIS, TDFX
|
||||
|
||||
pkgbase="mesa"
|
||||
pkgname=('mesa' 'libgl' 'unichrome-dri' 'mga-dri' 'savage-dri')
|
||||
pkgver=7.7.1
|
||||
pkgrel=3
|
||||
arch=(arm)
|
||||
makedepends=('glproto>=1.4.11' 'pkgconfig' 'libdrm>=2.4.19' 'libxxf86vm>=1.1.0' 'libxdamage>=1.1.2' 'expat>=2.0.1' 'libx11>=1.3.3' 'libxt>=1.0.7'
|
||||
'gcc-libs>=4.4.3' 'dri2proto>=2.1' 'python')
|
||||
url="http://mesa3d.sourceforge.net"
|
||||
license=('custom')
|
||||
options=(!makeflags)
|
||||
source=(ftp://ftp.freedesktop.org/pub/mesa/${pkgver}/MesaLib-${pkgver}.tar.bz2
|
||||
#ftp://ftp.freedesktop.org/pub/mesa/${pkgver/.0.902//}RC/MesaLib-${pkgver/0.902/1-rc2}.tar.bz2
|
||||
ftp://ftp.freedesktop.org/pub/mesa/${pkgver}/MesaDemos-${pkgver}.tar.bz2
|
||||
#ftp://ftp.freedesktop.org/pub/mesa/${pkgver/.0.902//}RC/MesaDemos-${pkgver/0.902/1-rc2}.tar.bz2
|
||||
ftp://ftp.archlinux.org/other/mesa/gl-manpages-1.0.1.tar.bz2
|
||||
mesa-7.1-link-shared.patch
|
||||
intel-revert-vbl.patch
|
||||
LICENSE)
|
||||
md5sums=('46664d99e03f1e3ac078a7fea02af115'
|
||||
'aeb39645d80d656e0adebaa09e5bcd03'
|
||||
'6ae05158e678f4594343f32c2ca50515'
|
||||
'8420bed348e7016ef03cac6545d68389'
|
||||
'a111f4dc82e894f8801bc3fa129af7af'
|
||||
'5c65a0fe315dd347e09b1f2826a1df5a')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/Mesa-${pkgver}"
|
||||
#cd "${srcdir}/Mesa-${pkgver/0.902/1-rc2}"
|
||||
patch -Np1 -i "${srcdir}/mesa-7.1-link-shared.patch" || return 1
|
||||
patch -Np1 -i "${srcdir}/intel-revert-vbl.patch" || return 1
|
||||
./configure --prefix=/usr \
|
||||
--with-dri-driverdir=/usr/lib/xorg/modules/dri \
|
||||
--with-dri-drivers=swrast,unichrome,mga,savage \
|
||||
--disable-gallium-intel \
|
||||
--enable-glx-tls \
|
||||
--with-driver=dri \
|
||||
--enable-xcb \
|
||||
--disable-glut --disable-gallium || return 1
|
||||
|
||||
# --with-state-trackers=dri,egl \
|
||||
# --enable-gallium-nouveau \
|
||||
|
||||
# --with-state-trackers=yes \ # gentoo: glx,dri,egl
|
||||
# --disable-gallium build gallium [default=enabled]
|
||||
# --disable-gallium-intel build gallium intel [default=enabled]
|
||||
# --enable-gallium-radeon build gallium radeon [default=disabled]
|
||||
# --enable-gallium-nouveau build gallium nouveau [default=disabled]
|
||||
|
||||
#ls src/Mesa-7.6/src/mesa/drivers/dri/
|
||||
#common dri.pc.in fb ffb gamma glcore i810 i915 i965 intel mach64 mga r128 r200 r300 r600 radeon s3v savage sis swrast tdfx trident unichrome
|
||||
#ls src/Mesa-7.6/src/gallium/drivers/
|
||||
#cell failover i915simple i965simple identity llvmpipe nouveau nv04 nv10 nv20 nv30 nv40 nv50 r300 softpipe trace
|
||||
|
||||
|
||||
make || return 1
|
||||
|
||||
cd "${srcdir}/gl-manpages-1.0.1"
|
||||
./configure --prefix=/usr || return 1
|
||||
make || return 1
|
||||
}
|
||||
|
||||
package_libgl() {
|
||||
depends=('libdrm>=2.4.17-2' 'libxxf86vm>=1.1.0' 'libxdamage>=1.1.2' 'expat>=2.0.1')
|
||||
pkgdesc="Mesa 3-D graphics library and DRI software rasterizer"
|
||||
|
||||
cd "${srcdir}/Mesa-${pkgver}" || return 1
|
||||
# cd "${srcdir}/Mesa-${pkgver/0.902/1-rc2}" || 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_mesa() {
|
||||
depends=('libgl' 'libx11>=1.3.2' 'libxt>=1.0.7' 'gcc-libs>=4.4.2' 'dri2proto>=2.1' 'libdrm>=2.4.17-2')
|
||||
pkgdesc="Mesa 3-D graphics libraries and include files"
|
||||
|
||||
cd "${srcdir}/Mesa-${pkgver}" || return 1
|
||||
# cd "${srcdir}/Mesa-${pkgver/0.902/1-rc2}" || 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"
|
||||
|
||||
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_unichrome-dri() {
|
||||
depends=("libgl=${pkgver}")
|
||||
pkgdesc="Mesa DRI drivers for S3 Graphics/VIA Unichrome"
|
||||
|
||||
cd "${srcdir}/Mesa-${pkgver}/src/mesa/drivers/dri" || return 1
|
||||
# cd "${srcdir}/Mesa-${pkgver/0.902/1-rc2}/src/mesa/drivers/dri" || return 1
|
||||
make -C unichrome DESTDIR="${pkgdir}" install || return 1
|
||||
}
|
||||
|
||||
package_mga-dri() {
|
||||
depends=("libgl=${pkgver}")
|
||||
pkgdesc="Mesa DRI drivers for Matrox"
|
||||
conflicts=('xf86-video-mga<1.4.11')
|
||||
|
||||
cd "${srcdir}/Mesa-${pkgver}/src/mesa/drivers/dri" || return 1
|
||||
# cd "${srcdir}/Mesa-${pkgver/0.902/1-rc2}/src/mesa/drivers/dri" || return 1
|
||||
make -C mga DESTDIR="${pkgdir}" install || return 1
|
||||
}
|
||||
|
||||
package_savage-dri() {
|
||||
depends=("libgl=${pkgver}")
|
||||
pkgdesc="Mesa DRI drivers for S3 Sraphics/VIA Savage"
|
||||
conflicts=('xf86-video-savage<2.3.1')
|
||||
|
||||
cd "${srcdir}/Mesa-${pkgver}/src/mesa/drivers/dri" || return 1
|
||||
# cd "${srcdir}/Mesa-${pkgver/0.902/1-rc2}/src/mesa/drivers/dri" || return 1
|
||||
make -C savage DESTDIR="${pkgdir}" install || return 1
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
commit 532d2051245a1d8afe7ca236f1d966d555bb121a
|
||||
Author: Dave Airlie <airlied@linux.ie>
|
||||
Date: Fri Sep 12 17:21:25 2008 +1000
|
||||
|
||||
Revert "intel: sync to vblank by default"
|
||||
|
||||
This reverts commit e9bf3e4cc9a7e4bcd4c45bd707541d26ecdf0409.
|
||||
|
||||
diff --git a/src/mesa/drivers/dri/intel/intel_screen.c b/src/mesa/drivers/dri/intel/intel_screen.c
|
||||
index c193830..f02192d 100644
|
||||
--- a/src/mesa/drivers/dri/intel/intel_screen.c
|
||||
+++ b/src/mesa/drivers/dri/intel/intel_screen.c
|
||||
@@ -55,7 +55,7 @@ PUBLIC const char __driConfigOptions[] =
|
||||
DRI_CONF_BEGIN
|
||||
DRI_CONF_SECTION_PERFORMANCE
|
||||
DRI_CONF_FTHROTTLE_MODE(DRI_CONF_FTHROTTLE_IRQS)
|
||||
- DRI_CONF_VBLANK_MODE(DRI_CONF_VBLANK_ALWAYS_SYNC)
|
||||
+ DRI_CONF_VBLANK_MODE(DRI_CONF_VBLANK_DEF_INTERVAL_0)
|
||||
/* Options correspond to DRI_CONF_BO_REUSE_DISABLED,
|
||||
* DRI_CONF_BO_REUSE_ALL
|
||||
*/
|
|
@ -1,101 +0,0 @@
|
|||
diff -up mesa-20091221/src/mesa/drivers/dri/Makefile.da mesa-20091221/src/mesa/drivers/dri/Makefile
|
||||
--- mesa-20091221/src/mesa/drivers/dri/Makefile.da 2009-12-21 08:09:11.000000000 +1000
|
||||
+++ mesa-20091221/src/mesa/drivers/dri/Makefile 2009-12-21 08:43:03.000000000 +1000
|
||||
@@ -6,12 +6,17 @@ include $(TOP)/configs/current
|
||||
|
||||
|
||||
|
||||
-default: $(TOP)/$(LIB_DIR) subdirs dri.pc
|
||||
+default: $(TOP)/$(LIB_DIR) $(TOP)/$(LIB_DIR)/libdricore.so subdirs dri.pc
|
||||
|
||||
|
||||
$(TOP)/$(LIB_DIR):
|
||||
-mkdir $(TOP)/$(LIB_DIR)
|
||||
|
||||
+libdricore.so:
|
||||
+ gcc -shared -o libdricore.so -Wl,--whole-archive ../../libmesa.a -Wl,--no-whole-archive -lm -lpthread -lc
|
||||
+
|
||||
+$(TOP)/$(LIB_DIR)/libdricore.so: $(TOP)/$(LIB_DIR) libdricore.so
|
||||
+ $(INSTALL) libdricore.so $(TOP)/$(LIB_DIR)
|
||||
|
||||
subdirs:
|
||||
@for dir in $(DRI_DIRS) ; do \
|
||||
@@ -32,12 +37,14 @@ dri.pc: dri.pc.in
|
||||
$(pcedit) $< > $@
|
||||
|
||||
|
||||
-install: dri.pc
|
||||
+install: dri.pc $(TOP)/$(LIB_DIR)/libdricore.so
|
||||
@for dir in $(DRI_DIRS) ; do \
|
||||
if [ -d $$dir ] ; then \
|
||||
(cd $$dir && $(MAKE) install) || exit 1 ; \
|
||||
fi \
|
||||
done
|
||||
+ $(INSTALL) -d $(DESTDIR)$(DRI_DRIVER_INSTALL_DIR)
|
||||
+ $(INSTALL) -m 755 $(TOP)/$(LIB_DIR)/libdricore.so $(DESTDIR)$(DRI_DRIVER_INSTALL_DIR)
|
||||
$(INSTALL) -d $(DESTDIR)$(INSTALL_INC_DIR)/GL/internal
|
||||
$(INSTALL) -m 0644 $(TOP)/include/GL/internal/dri_interface.h \
|
||||
$(DESTDIR)$(INSTALL_INC_DIR)/GL/internal
|
||||
@@ -51,5 +58,6 @@ clean:
|
||||
(cd $$dir && $(MAKE) clean) ; \
|
||||
fi \
|
||||
done
|
||||
+ -rm -f libdricore.so $(TOP)/$(LIB_DIR)/libdricore.so
|
||||
-rm -f common/*.o
|
||||
-rm -f *.pc
|
||||
diff -up mesa-20091221/src/mesa/drivers/dri/Makefile.template.da mesa-20091221/src/mesa/drivers/dri/Makefile.template
|
||||
--- mesa-20091221/src/mesa/drivers/dri/Makefile.template.da 2009-12-21 08:09:11.000000000 +1000
|
||||
+++ mesa-20091221/src/mesa/drivers/dri/Makefile.template 2009-12-21 08:43:40.000000000 +1000
|
||||
@@ -1,6 +1,6 @@
|
||||
# -*-makefile-*-
|
||||
|
||||
-MESA_MODULES = $(TOP)/src/mesa/libmesa.a
|
||||
+MESA_MODULES = $(TOP)/$(LIB_DIR)/libdricore.so
|
||||
|
||||
COMMON_GALLIUM_SOURCES = \
|
||||
../common/utils.c \
|
||||
@@ -70,7 +70,8 @@ lib: symlinks subdirs depend
|
||||
$(LIBNAME): $(OBJECTS) $(MESA_MODULES) $(EXTRA_MODULES) $(WINOBJ) Makefile \
|
||||
$(TOP)/src/mesa/drivers/dri/Makefile.template
|
||||
$(MKLIB) -o $@ -noprefix -linker '$(CC)' -ldflags '$(LDFLAGS)' \
|
||||
- $(OBJECTS) $(MESA_MODULES) $(EXTRA_MODULES) $(WINOBJ) \
|
||||
+ $(OBJECTS) $(EXTRA_MODULES) $(WINOBJ) \
|
||||
+ -L$(TOP)/$(LIB_DIR) -Wl,-R$(DRI_DRIVER_INSTALL_DIR) -ldricore \
|
||||
$(DRI_LIB_DEPS)
|
||||
|
||||
|
||||
diff -up mesa-20091221/src/mesa/x86/read_rgba_span_x86.S.da mesa-20091221/src/mesa/x86/read_rgba_span_x86.S
|
||||
--- mesa-20091221/src/mesa/x86/read_rgba_span_x86.S.da 2009-12-21 08:09:11.000000000 +1000
|
||||
+++ mesa-20091221/src/mesa/x86/read_rgba_span_x86.S 2009-12-21 08:43:03.000000000 +1000
|
||||
@@ -77,7 +77,6 @@
|
||||
*/
|
||||
|
||||
.globl _generic_read_RGBA_span_BGRA8888_REV_MMX
|
||||
-.hidden _generic_read_RGBA_span_BGRA8888_REV_MMX
|
||||
.type _generic_read_RGBA_span_BGRA8888_REV_MMX, @function
|
||||
_generic_read_RGBA_span_BGRA8888_REV_MMX:
|
||||
pushl %ebx
|
||||
@@ -172,7 +171,6 @@ _generic_read_RGBA_span_BGRA8888_REV_MMX
|
||||
*/
|
||||
|
||||
.globl _generic_read_RGBA_span_BGRA8888_REV_SSE
|
||||
-.hidden _generic_read_RGBA_span_BGRA8888_REV_SSE
|
||||
.type _generic_read_RGBA_span_BGRA8888_REV_SSE, @function
|
||||
_generic_read_RGBA_span_BGRA8888_REV_SSE:
|
||||
pushl %esi
|
||||
@@ -335,7 +333,6 @@ _generic_read_RGBA_span_BGRA8888_REV_SSE
|
||||
|
||||
.text
|
||||
.globl _generic_read_RGBA_span_BGRA8888_REV_SSE2
|
||||
-.hidden _generic_read_RGBA_span_BGRA8888_REV_SSE2
|
||||
.type _generic_read_RGBA_span_BGRA8888_REV_SSE2, @function
|
||||
_generic_read_RGBA_span_BGRA8888_REV_SSE2:
|
||||
pushl %esi
|
||||
@@ -494,7 +491,6 @@ _generic_read_RGBA_span_BGRA8888_REV_SSE
|
||||
|
||||
.text
|
||||
.globl _generic_read_RGBA_span_RGB565_MMX
|
||||
- .hidden _generic_read_RGBA_span_RGB565_MMX
|
||||
.type _generic_read_RGBA_span_RGB565_MMX, @function
|
||||
|
||||
_generic_read_RGBA_span_RGB565_MMX:
|
|
@ -1,26 +0,0 @@
|
|||
# $Id: PKGBUILD 49652 2009-08-14 11:52:53Z pierre $
|
||||
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
|
||||
|
||||
pkgname=php-apc
|
||||
pkgver=3.1.3p1
|
||||
pkgrel=1
|
||||
arch=('i686' 'x86_64')
|
||||
pkgdesc='A free, open, and robust framework for caching and optimizing PHP intermediate code'
|
||||
url='http://pecl.php.net/package/APC'
|
||||
depends=('php>=5.3.0')
|
||||
license="PHP"
|
||||
source=("http://pecl.php.net/get/APC-${pkgver}.tgz")
|
||||
backup=('etc/php/conf.d/apc.ini')
|
||||
md5sums=('941cf59c3f8042c1d6961b7afb1002b9')
|
||||
|
||||
build() {
|
||||
cd $srcdir/APC-$pkgver
|
||||
phpize || return 1
|
||||
./configure --prefix=/usr || return 1
|
||||
make || return 1
|
||||
make INSTALL_ROOT=$pkgdir install || return 1
|
||||
echo ';extension=apc.so' > apc.ini
|
||||
install -D -m644 apc.ini $pkgdir/etc/php/conf.d/apc.ini
|
||||
install -D -m644 apc.php $pkgdir/usr/share/php-apc/apc.php
|
||||
install -D -m644 INSTALL $pkgdir/usr/share/doc/php-apc/install.txt
|
||||
}
|
|
@ -1,27 +0,0 @@
|
|||
# $Id: PKGBUILD 49795 2009-08-15 22:33:31Z pierre $
|
||||
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
|
||||
|
||||
pkgname=php-suhosin
|
||||
pkgver=0.9.29
|
||||
pkgrel=1
|
||||
arch=('i686' 'x86_64')
|
||||
pkgdesc='An advanced protection system for PHP installations'
|
||||
url='http://www.hardened-php.net/suhosin/'
|
||||
license='PHP'
|
||||
source=("http://download.suhosin.org/suhosin-${pkgver}.tgz")
|
||||
depends=('php>=5.3.0')
|
||||
conflicts=('php-suhosin-extension')
|
||||
replaces=('php-suhosin-extension')
|
||||
backup=('etc/php/conf.d/suhosin.ini')
|
||||
md5sums=('e3c599e7e344e981f935b2dab90592c1')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/suhosin-${pkgver}
|
||||
phpize || return 1
|
||||
./configure --prefix=/usr --enable-suhosin || return 1
|
||||
make || return 1
|
||||
make INSTALL_ROOT=${pkgdir} install || return 1
|
||||
# disable by default
|
||||
sed -i 's|extension = suhosin.so|;extension=suhosin.so|g' suhosin.ini
|
||||
install -D -m644 suhosin.ini ${pkgdir}/etc/php/conf.d/suhosin.ini
|
||||
}
|
4
extra/php/.gitignore
vendored
4
extra/php/.gitignore
vendored
|
@ -1,4 +0,0 @@
|
|||
*.gz
|
||||
*.bz2
|
||||
src
|
||||
pkg
|
|
@ -1,40 +0,0 @@
|
|||
# $Id: PKGBUILD 86064 2010-07-25 11:20:29Z pierre $
|
||||
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
|
||||
|
||||
pkgbase=php
|
||||
pkgname=('php')
|
||||
pkgver=5.3.3
|
||||
pkgrel=4
|
||||
_suhosinver=${pkgver}-0.9.10
|
||||
arch=('i686' 'x86_64')
|
||||
license=('PHP')
|
||||
url='http://www.php.net'
|
||||
options=('!makeflags')
|
||||
source=('php.tar.bz2')
|
||||
md5sums=('4dc4271319d697ff8588d80c935ca08c')
|
||||
|
||||
build() {
|
||||
# ldap-sasl does not compile with --as-needed
|
||||
export LDFLAGS="${LDFLAGS//-Wl,--as-needed}"
|
||||
export LDFLAGS="${LDFLAGS//,--as-needed}"
|
||||
|
||||
}
|
||||
|
||||
package_php() {
|
||||
pkgdesc='An HTML-embedded scripting language'
|
||||
depends=('pcre' 'libxml2' 'bzip2' 'openssl' 'imap'
|
||||
'postgresql-libs' 'mysql' 'libldap' 'postfix'
|
||||
'sqlite3' 'unixodbc' 'net-snmp' 'libzip' 'enchant' 'file'
|
||||
'libmcrypt' 'tidyhtml' 'aspell' 'libtool' 'gd' 'icu'
|
||||
'curl' 'libxslt' 'openssl' 'bzip2' 'db' 'gmp' 'libevent')
|
||||
replaces=('php-fileinfo')
|
||||
provides=('php-fileinfo')
|
||||
conflicts=('php-fileinfo')
|
||||
backup=('etc/php/php.ini')
|
||||
|
||||
cp -R ${srcdir}/etc ${pkgdir}
|
||||
cp -R ${srcdir}/usr ${pkgdir}
|
||||
|
||||
# cd ${srcdir}/${pkgbase}-${pkgver}
|
||||
}
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
. /usr/lib/pm-utils/functions
|
||||
|
||||
suspend_netcfg() {
|
||||
netcfg2 all-suspend
|
||||
}
|
||||
|
||||
resume_netcfg() {
|
||||
netcfg2 all-resume
|
||||
}
|
||||
|
||||
if [ -x /usr/bin/netcfg2 ]; then
|
||||
case "$1" in
|
||||
hibernate|suspend)
|
||||
suspend_netcfg
|
||||
;;
|
||||
thaw|resume)
|
||||
resume_netcfg
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
exit $?
|
|
@ -1,39 +0,0 @@
|
|||
# Maintainer: Thayer Williams <thayer@archlinux.org>
|
||||
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
|
||||
|
||||
pkgname=pm-utils
|
||||
pkgver=1.2.6.1
|
||||
pkgrel=4
|
||||
pkgdesc="Utilities and scripts for suspend and hibernate power management"
|
||||
arch=(arm)
|
||||
url="http://pm-utils.freedesktop.org"
|
||||
license=('GPL')
|
||||
depends=('bash' 'procps')
|
||||
makedepends=('xmlto')
|
||||
source=(http://pm-utils.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz
|
||||
11netcfg
|
||||
daemons.patch
|
||||
nouveau.patch)
|
||||
md5sums=('ddbb73b5fd1e5a2c77ad3ce537a0260c'
|
||||
'9839687c8787d99fd4ff36aa3238c27b'
|
||||
'7be3f7460569d5a382474abd7f7b53fb'
|
||||
'6300409fcc96d70fd2a2e2efeff19f79')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
|
||||
# temp fix for nouveau power management--will be fixed in next release
|
||||
patch -Np1 -i ${srcdir}/nouveau.patch || return 1
|
||||
|
||||
# make sure Arch Linux daemons are properly handled
|
||||
patch -Np1 -i ${srcdir}/daemons.patch || return 1
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var
|
||||
make || return 1
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
|
||||
# install additional hooks
|
||||
install -m755 ${srcdir}/11netcfg "${pkgdir}/usr/lib/pm-utils/sleep.d/11netcfg"
|
||||
}
|
|
@ -1,20 +0,0 @@
|
|||
--- a/pm/functions.in 2009-11-07 21:51:04.000000000 -0800
|
||||
+++ b/pm/functions.in 2009-12-01 17:30:59.000000000 -0800
|
||||
@@ -141,7 +141,7 @@
|
||||
if ! command_exists service; then
|
||||
service()
|
||||
{
|
||||
- for svc in "/etc/init.d/$1" "/etc/rc.d/rc.$1"; do #lsb, then slack
|
||||
+ for svc in "/etc/init.d/$1" "/etc/rc.d/$1"; do #lsb, then slack
|
||||
[ -x "$svc" ] && { shift; "$svc" "$@"; return $?; }
|
||||
done
|
||||
# this only happens if we did not find the service
|
||||
@@ -153,7 +153,7 @@
|
||||
|
||||
stopservice()
|
||||
{
|
||||
- if service "$1" status 2>/dev/null | grep -q -e running -e started
|
||||
+ if [[ -e "/var/run/daemons/$1" ]] || service "$1" status 2>/dev/null | grep -q -e running -e started
|
||||
then
|
||||
touch "${STORAGEDIR}/service:$1"
|
||||
service "$1" stop
|
|
@ -1,11 +0,0 @@
|
|||
--- a/pm/sleep.d/98smart-kernel-video.old 2010-01-07 08:31:25.275911479 -0800
|
||||
+++ a/pm/sleep.d/98smart-kernel-video 2010-01-07 08:32:01.596732967 -0800
|
||||
@@ -32,7 +32,7 @@
|
||||
{
|
||||
# if we are running with a KMS-enabled video driver, we should not
|
||||
# attempt to run any quirks
|
||||
- grep -q -E '(noveau|drm)fb' /proc/fb || return 1
|
||||
+ grep -q -E '(nouveau|drm)fb' /proc/fb || return 1
|
||||
remove_all_video_quirks
|
||||
add_parameters --quirk-no-chvt
|
||||
}
|
|
@ -1,28 +0,0 @@
|
|||
# $Id: PKGBUILD 66482 2010-01-31 10:39:02Z jgc $
|
||||
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
||||
|
||||
pkgname=polkit
|
||||
pkgver=0.96
|
||||
pkgrel=1
|
||||
pkgdesc="Application development toolkit for controlling system-wide privileges"
|
||||
arch=(arm)
|
||||
license=('LGPL')
|
||||
url="http://www.freedesktop.org/wiki/Software/Policykit"
|
||||
depends=('eggdbus>=0.6' 'pam')
|
||||
makedepends=('intltool' 'gtk-doc' 'gobject-introspection')
|
||||
options=('!libtool')
|
||||
source=(http://hal.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz
|
||||
polkit.pam)
|
||||
md5sums=('e0a06da501b04ed3bab986a9df5b5aa2'
|
||||
'6564f95878297b954f0572bc1610dd15')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
./configure --prefix=/usr --sysconfdir=/etc \
|
||||
--localstatedir=/var --libexecdir=/usr/lib/polkit-1 \
|
||||
--disable-static || return 1
|
||||
make || return 1
|
||||
make DESTDIR="${pkgdir}" install || return 1
|
||||
|
||||
install -m644 "${srcdir}/polkit.pam" "${pkgdir}/etc/pam.d/polkit-1" || return 1
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
auth requisite pam_nologin.so
|
||||
auth required pam_env.so
|
||||
auth required pam_unix.so
|
||||
account required pam_unix.so
|
||||
session required pam_limits.so
|
||||
session required pam_unix.so
|
||||
password required pam_unix.so
|
|
@ -1,24 +0,0 @@
|
|||
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
|
||||
# Contributor: Sebastien Binet <binet@farnsworth>
|
||||
|
||||
# Plugbox changes: Submitted by pepedog to replace ABS for python 2.6/7/3.0
|
||||
|
||||
pkgname=python-distribute
|
||||
pkgver=0.6.14
|
||||
pkgrel=5
|
||||
pkgdesc="A collection of extensions to the Python distutils"
|
||||
arch=('any')
|
||||
license=('PSF')
|
||||
url="http://packages.python.org/distribute"
|
||||
depends=('python2')
|
||||
source=(http://pypi.python.org/packages/source/d/distribute/distribute-${pkgver}.tar.gz
|
||||
distribute-${pkgver}_python2_and_3.patch)
|
||||
sha1sums=('6bea50b97f36bf751548bb486a534204a690aa4d'
|
||||
'de635febfb11dc6878e5bdbac4a0e1d539c19d79')
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/distribute-${pkgver}
|
||||
patch -Np1 -i ../distribute-${pkgver}_python2_and_3.patch
|
||||
python2 setup.py install --prefix=/usr --root=${pkgdir}
|
||||
}
|
||||
# vim: set noexpandtab tabstop=8 shiftwidth=8 textwidth=132 autoindent
|
|
@ -1,51 +0,0 @@
|
|||
diff -Naur distribute-0.6.14.ori//distribute.egg-info/entry_points.txt distribute-0.6.14/distribute.egg-info/entry_points.txt
|
||||
--- distribute-0.6.14.ori//distribute.egg-info/entry_points.txt 2010-07-14 20:14:10.000000000 -0400
|
||||
+++ distribute-0.6.14/distribute.egg-info/entry_points.txt 2010-10-21 09:26:43.386667396 -0400
|
||||
@@ -31,7 +31,8 @@
|
||||
depends.txt = setuptools.command.egg_info:warn_depends_obsolete
|
||||
|
||||
[console_scripts]
|
||||
-easy_install = setuptools.command.easy_install:main
|
||||
+easy_install-3.1 = setuptools.command.easy_install:main
|
||||
+easy_install-2.7 = setuptools.command.easy_install:main
|
||||
easy_install-2.6 = setuptools.command.easy_install:main
|
||||
|
||||
[setuptools.file_finders]
|
||||
diff -Naur distribute-0.6.14.ori//distribute_setup.py distribute-0.6.14/distribute_setup.py
|
||||
--- distribute-0.6.14.ori//distribute_setup.py 2010-07-14 19:53:38.000000000 -0400
|
||||
+++ distribute-0.6.14/distribute_setup.py 2010-10-21 09:25:18.356667404 -0400
|
||||
@@ -299,8 +299,7 @@
|
||||
log.warn('Could not find the install location')
|
||||
return
|
||||
pyver = '%s.%s' % (sys.version_info[0], sys.version_info[1])
|
||||
- setuptools_file = 'setuptools-%s-py%s.egg-info' % \
|
||||
- (SETUPTOOLS_FAKED_VERSION, pyver)
|
||||
+ setuptools_file = 'setuptools-%s.egg-info' % SETUPTOOLS_FAKED_VERSION
|
||||
pkg_info = os.path.join(placeholder, setuptools_file)
|
||||
if os.path.exists(pkg_info):
|
||||
log.warn('%s already exists', pkg_info)
|
||||
diff -Naur distribute-0.6.14.ori//setup.py distribute-0.6.14/setup.py
|
||||
--- distribute-0.6.14.ori//setup.py 2010-07-14 19:53:38.000000000 -0400
|
||||
+++ distribute-0.6.14/setup.py 2010-10-21 09:32:44.850000736 -0400
|
||||
@@ -96,6 +96,8 @@
|
||||
f.close()
|
||||
|
||||
|
||||
+console_scripts = ["easy_install-%s = setuptools.command.easy_install:main" % sys.version[:3]]
|
||||
+
|
||||
# if we are installing Distribute using "python setup.py install"
|
||||
# we need to get setuptools out of the way
|
||||
def _easy_install_marker():
|
||||
@@ -182,11 +184,7 @@
|
||||
"dependency_links.txt = setuptools.command.egg_info:overwrite_arg",
|
||||
],
|
||||
|
||||
- "console_scripts": [
|
||||
- "easy_install = setuptools.command.easy_install:main",
|
||||
- "easy_install-%s = setuptools.command.easy_install:main"
|
||||
- % sys.version[:3]
|
||||
- ],
|
||||
+ "console_scripts": console_scripts,
|
||||
|
||||
"setuptools.file_finders":
|
||||
["svn_cvs = setuptools.command.sdist:_default_revctrl"],
|
|
@ -1,122 +0,0 @@
|
|||
# $Id: PKGBUILD 68838 2010-02-14 15:15:52Z pierre $
|
||||
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
|
||||
# Contributor: John Proctor <jproctor@prium.net>
|
||||
|
||||
pkgname=qt3
|
||||
pkgver=3.3.8
|
||||
pkgrel=15
|
||||
pkgdesc="The QT gui toolkit."
|
||||
arch=(i686 x86_64)
|
||||
license=('GPL')
|
||||
url="http://www.trolltech.com/products/qt/index.html"
|
||||
pkgfqn=qt-x11-free-${pkgver}
|
||||
install=qt.install
|
||||
depends=('libpng>=1.4.0' 'libxmu' 'libxcursor' 'libxinerama' 'mesa' \
|
||||
'libxft' 'libxrandr' 'libmng>=1.0.10-3')
|
||||
makedepends=('mysql' 'postgresql>=8.2.3' 'unixodbc' 'sqlite3')
|
||||
optdepends=('libmysqlclient' 'postgresql-libs' 'unixodbc')
|
||||
source=(ftp://ftp.trolltech.com/qt/source/${pkgfqn}.tar.bz2 qt3-png14.patch qt.profile \
|
||||
qt-copy-kde-patches.tar.bz2 qt-patches.tar.bz2 utf8-bug-qt3.diff \
|
||||
qt-font-default-subst.diff mysql.patch eastern_asian_languagues.diff qt-odbc.patch)
|
||||
options=(!libtool)
|
||||
md5sums=('cf3c43a7dfde5bfb76f8001102fe6e85'
|
||||
'1dc671df42b9030dbdf68bb61cd3375e'
|
||||
'f72d1eb4eb49b9a9467c1f6035194266'
|
||||
'f2a2dbdbfee9422c90efc3ef3f86197c'
|
||||
'2f00e5c0c1e2c2a23dddc982cd79f3e0'
|
||||
'f6b3b39040f2b8f19ba1cf1445468c28'
|
||||
'9370d82e85f2c799335ed0dcc1d53189'
|
||||
'7d40ed1bd40d33d8b9b27a2076a5d22a'
|
||||
'616f1f3029cf8375256ad6a406de3549'
|
||||
'2178ca88dfd75a230918593b30eb0dbe')
|
||||
|
||||
# qt-copy-kde-patches come from http://websvn.kde.org/trunk/qt-copy/patches/
|
||||
# other qt-patches come from fedora and gentoo
|
||||
|
||||
build() {
|
||||
unset QMAKESPEC
|
||||
export QTDIR=$startdir/src/$pkgfqn
|
||||
export PATH=${QTDIR}/bin:${PATH}
|
||||
export LD_LIBRARY_PATH=${QTDIR}/lib:${LD_LIBRARY_PATH}
|
||||
export QMAKESPEC=$QTDIR/mkspecs/linux-g++
|
||||
cd $startdir/src/$pkgfqn
|
||||
# apply qt patches from kde.org
|
||||
for i in ../qt-copy-kde-patches/*; do
|
||||
patch -Np0 -i $i || return 1
|
||||
done
|
||||
# apply other qt patches and one security fix from debian/gentoo
|
||||
for i in ../qt-patches/*; do
|
||||
patch -Np1 -i $i || return 1
|
||||
done
|
||||
# fix utf8 bug
|
||||
patch -Np0 -i ../utf8-bug-qt3.diff || return 1
|
||||
# fix asia fonts
|
||||
patch -Np0 -i ../qt-font-default-subst.diff || return 1
|
||||
# fix segfaults on exit when using mysql DB driver
|
||||
patch -Np0 -i ../mysql.patch || return 1
|
||||
# fix CJK font/chars select error (FS#11245)
|
||||
patch -p1 -i ${srcdir}/eastern_asian_languagues.diff || return 1
|
||||
# fix build problem against new unixODBC
|
||||
patch -p1 -i $srcdir/qt-odbc.patch || return 1
|
||||
|
||||
# fix qt-x11-free-3.3.8 problems with new gcc
|
||||
patch -p0 -i $startdir/qt3-qglobal.patch
|
||||
patch -p0 -i $startdir/qt3-qstring.patch
|
||||
|
||||
patch -p0 -i $srcdir/qt3-png14.patch || return 1
|
||||
# start compiling qt
|
||||
sed -i 's|-cp -P -f|-cp -L -f|' qmake/Makefile.unix
|
||||
rm -rf doc/html examples tutorial
|
||||
sed -i "s|sub-tutorial sub-examples||" Makefile
|
||||
sed -i "s|-O2|$CXXFLAGS|" mkspecs/linux-g++/qmake.conf
|
||||
sed -i "s|-O2|$CXXFLAGS|" mkspecs/linux-g++-32/qmake.conf
|
||||
sed -i "s|-O2|$CXXFLAGS|" mkspecs/linux-g++-64/qmake.conf
|
||||
sed -i "s|-I. |$CXXFLAGS -I. |" qmake/Makefile.unix
|
||||
sed -i "s|read acceptance|acceptance=yes|" configure
|
||||
|
||||
# remove unwanted mkspecs
|
||||
rm -rf mkspecs/{*aix*,*bsd*,cygwin*,dgux*,darwin*,hpux*,hurd*,irix*,lynxos*,macx*,qnx*,reliant*,sco*,solaris*,tru64*,unixware*,win32*}
|
||||
|
||||
if [ "$CARCH" = "x86_64" ]; then
|
||||
export ARCH="-64"
|
||||
else unset ARCH
|
||||
fi
|
||||
|
||||
./configure -prefix /opt/qt -platform linux-g++$ARCH \
|
||||
-system-zlib -qt-gif -release -shared -sm -nis -thread -stl \
|
||||
-system-lib{png,jpeg,mng} \
|
||||
-no-g++-exceptions -plugin-sql-{mysql,psql,sqlite,odbc}
|
||||
|
||||
# fix /opt/qt/lib path
|
||||
[ "$CARCH" = "x86_64" ] && sed -i "s|/opt/qt/lib64|/opt/qt/lib|g" $startdir/src/$pkgfqn/src/Makefile
|
||||
[ "$CARCH" = "x86_64" ] && sed -i "s|/opt/qt/lib64|/opt/qt/lib|g" $startdir/src/$pkgfqn/tools/designer/designer/Makefile
|
||||
[ "$CARCH" = "x86_64" ] && sed -i "s|/opt/qt/lib64|/opt/qt/lib|g" $startdir/src/$pkgfqn/tools/designer/editor/Makefile
|
||||
[ "$CARCH" = "x86_64" ] && sed -i "s|/opt/qt/lib64|/opt/qt/lib|g" $startdir/src/$pkgfqn/tools/assistant/lib/Makefile
|
||||
[ "$CARCH" = "x86_64" ] && sed -i "s|/opt/qt/lib64|/opt/qt/lib|g" $startdir/src/$pkgfqn/tools/designer/uilib/Makefile
|
||||
|
||||
cd $startdir/src/$pkgfqn
|
||||
make -C qmake || return 1
|
||||
cd $startdir/src/$pkgfqn/plugins/src/sqldrivers/mysql
|
||||
$startdir/src/$pkgfqn/bin/qmake -o Makefile "INCPATH+=/usr/include/mysql" "LIBS+=-L/usr/lib/mysql -lmysqlclient" mysql.pro
|
||||
cd $startdir/src/$pkgfqn/plugins/src/sqldrivers/psql
|
||||
$startdir/src/$pkgfqn/bin/qmake -o Makefile "INCPATH+=/usr/src/include /usr/include/postgresql/server" "LIBS+=-L/usr/lib -lpq" psql.pro
|
||||
|
||||
cd $startdir/src/$pkgfqn
|
||||
# fix the broken makefiles
|
||||
#sed -i 's|[[:space:]]*strip.*doc/html.*$|#|g' src/Makefile
|
||||
make || return 1
|
||||
make INSTALL_ROOT=$startdir/pkg install
|
||||
rm -rf $startdir/pkg/opt/qt/{phrasebooks,templates,translations}
|
||||
sed -i "s|-L$startdir/src/$pkgfqn/lib ||g" $startdir/pkg/opt/qt/lib/*.prl
|
||||
install -D -m755 qmake/qmake $startdir/pkg/opt/qt/bin/qmake
|
||||
install -D -m755 $srcdir/qt.profile $startdir/pkg/etc/profile.d/qt3.sh
|
||||
ln -sf /opt/qt/bin/qtconfig $startdir/pkg/opt/qt/bin/qt3config
|
||||
rm -f $startdir/pkg/opt/qt/mkspecs/linux-g++$ARCH/linux-g++$ARCH
|
||||
|
||||
# install man pages
|
||||
mkdir -p $startdir/pkg/opt/qt/man
|
||||
cp -r $startdir/src/$pkgfqn/doc/man/{man1,man3} $startdir/pkg/opt/qt/man/
|
||||
|
||||
install -d -m755 ${pkgdir}/etc/ld.so.conf.d/
|
||||
echo '/opt/qt/lib' > ${pkgdir}/etc/ld.so.conf.d/qt3.conf
|
||||
}
|
|
@ -1,39 +0,0 @@
|
|||
--- qt-x11-free-3.3.8b/src/kernel/qfontdatabase.cpp 2008-01-15 21:09:13.000000000 +0200
|
||||
+++ qt-x11-free-3.3.8b/src/kernel/qfontdatabase.cpp 2008-03-10 11:34:22.000000000 +0200
|
||||
@@ -966,20 +966,22 @@
|
||||
|
||||
#ifdef Q_WS_X11
|
||||
if (script == QFont::Han) {
|
||||
- // modify script according to locale
|
||||
- static QFont::Script defaultHan = QFont::UnknownScript;
|
||||
- if (defaultHan == QFont::UnknownScript) {
|
||||
- QCString locale = setlocale(LC_ALL, NULL);
|
||||
- if (locale.contains("ko"))
|
||||
- defaultHan = QFont::Han_Korean;
|
||||
- else if (locale.contains("zh_TW") || locale.contains("zh_HK"))
|
||||
- defaultHan = QFont::Han_TraditionalChinese;
|
||||
- else if (locale.contains("zh"))
|
||||
- defaultHan = QFont::Han_SimplifiedChinese;
|
||||
- else
|
||||
- defaultHan = QFont::Han_Japanese;
|
||||
- }
|
||||
- script = defaultHan;
|
||||
+ // modify script according to locale
|
||||
+ static QFont::Script defaultHan;
|
||||
+ QCString locale = setlocale(LC_ALL, NULL);
|
||||
+
|
||||
+ if (locale.contains("ko"))
|
||||
+ defaultHan = QFont::Han_Korean;
|
||||
+ else if (locale.contains("zh_TW") || locale.contains("zh_HK"))
|
||||
+ defaultHan = QFont::Han_TraditionalChinese;
|
||||
+ else if (locale.contains("zh"))
|
||||
+ defaultHan = QFont::Han_SimplifiedChinese;
|
||||
+ else if (locale.contains("ja"))
|
||||
+ defaultHan = QFont::Han_Japanese;
|
||||
+ else
|
||||
+ defaultHan = QFont::Han; // don't change
|
||||
+
|
||||
+ script = defaultHan;
|
||||
}
|
||||
#endif
|
||||
|
|
@ -1,47 +0,0 @@
|
|||
--- src/sql/drivers/mysql/qsql_mysql.cpp
|
||||
+++ src/sql/drivers/mysql/qsql_mysql.cpp
|
||||
@@ -37,7 +37,6 @@
|
||||
#include "qsql_mysql.h"
|
||||
#include <private/qsqlextension_p.h>
|
||||
|
||||
-#include <qapplication.h>
|
||||
#include <qdatetime.h>
|
||||
#include <qvaluevector.h>
|
||||
#include <qsqlrecord.h>
|
||||
@@ -341,14 +340,6 @@ int QMYSQLResult::numRowsAffected()
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////
|
||||
-static void qServerEnd()
|
||||
-{
|
||||
-#ifndef Q_NO_MYSQL_EMBEDDED
|
||||
-# if MYSQL_VERSION_ID >= 40000
|
||||
- mysql_server_end();
|
||||
-# endif // MYSQL_VERSION_ID
|
||||
-#endif // Q_NO_MYSQL_EMBEDDED
|
||||
-}
|
||||
|
||||
static void qServerInit()
|
||||
{
|
||||
@@ -366,9 +357,7 @@ static void qServerInit()
|
||||
qWarning( "QMYSQLDriver::qServerInit: unable to start server." );
|
||||
# endif
|
||||
}
|
||||
- qAddPostRoutine(qServerEnd);
|
||||
init = TRUE;
|
||||
-
|
||||
# endif // MYSQL_VERSION_ID
|
||||
#endif // Q_NO_MYSQL_EMBEDDED
|
||||
}
|
||||
@@ -411,6 +400,11 @@ QMYSQLDriver::~QMYSQLDriver()
|
||||
QSqlOpenExtension *ext = qSqlOpenExtDict()->take( this );
|
||||
delete ext;
|
||||
}
|
||||
+#ifndef Q_NO_MYSQL_EMBEDDED
|
||||
+# if MYSQL_VERSION_ID > 40000
|
||||
+ mysql_server_end();
|
||||
+# endif
|
||||
+#endif
|
||||
}
|
||||
|
||||
bool QMYSQLDriver::hasFeature( DriverFeature f ) const
|
Binary file not shown.
|
@ -1,77 +0,0 @@
|
|||
--- src/kernel/qfontdatabase_x11.cpp
|
||||
+++ src/kernel/qfontdatabase_x11.cpp
|
||||
@@ -1589,15 +1589,6 @@ QFontEngine *loadEngine( QFont::Script s
|
||||
if (script == QFont::Latin)
|
||||
// add Euro character
|
||||
FcCharSetAddChar(cs, 0x20ac);
|
||||
- if (script == QFont::Han_SimplifiedChinese)
|
||||
- FcCharSetAddChar(cs, 0x3400);
|
||||
- if (script == QFont::Han_TraditionalChinese){
|
||||
- FcCharSetAddChar(cs, 0x3435);
|
||||
- FcCharSetAddChar(cs, 0xE000);
|
||||
- FcCharSetAddChar(cs, 0xF6B1);
|
||||
- }
|
||||
- if (script == QFont::MiscellaneousSymbols)
|
||||
- FcCharSetAddChar(cs, 0x2714);
|
||||
FcPatternAddCharSet(pattern, FC_CHARSET, cs);
|
||||
FcCharSetDestroy(cs);
|
||||
}
|
||||
@@ -1813,7 +1804,11 @@ static QFontEngine *loadFontConfigFont(c
|
||||
FcPatternPrint(pattern);
|
||||
#endif
|
||||
|
||||
+ // XftFontMatch calls the right ConfigSubstitute variants, but as we use
|
||||
+ // FcFontMatch/Sort here we have to do it manually.
|
||||
FcConfigSubstitute(0, pattern, FcMatchPattern);
|
||||
+ XftDefaultSubstitute(QPaintDevice::x11AppDisplay(), QPaintDevice::x11AppScreen(), pattern);
|
||||
+
|
||||
// qDebug("1: pattern contains:");
|
||||
// FcPatternPrint(pattern);
|
||||
|
||||
@@ -1847,10 +1842,6 @@ static QFontEngine *loadFontConfigFont(c
|
||||
value.u.s = (const FcChar8 *)cs.data();
|
||||
FcPatternAddWeak(pattern, FC_FAMILY, value, FcTrue);
|
||||
}
|
||||
-#ifdef FONT_MATCH_DEBUG
|
||||
- printf("final pattern contains:\n");
|
||||
- FcPatternPrint(pattern);
|
||||
-#endif
|
||||
}
|
||||
|
||||
if (script != QFont::Unicode) {
|
||||
@@ -1860,19 +1851,15 @@ static QFontEngine *loadFontConfigFont(c
|
||||
if (script == QFont::Latin)
|
||||
// add Euro character
|
||||
FcCharSetAddChar(cs, 0x20ac);
|
||||
- if (script == QFont::Han_SimplifiedChinese)
|
||||
- FcCharSetAddChar(cs, 0x3400);
|
||||
- if (script == QFont::Han_TraditionalChinese) {
|
||||
- FcCharSetAddChar(cs, 0x3435);
|
||||
- FcCharSetAddChar(cs, 0xE000);
|
||||
- FcCharSetAddChar(cs, 0xF6B1);
|
||||
- }
|
||||
- if (script == QFont::MiscellaneousSymbols)
|
||||
- FcCharSetAddChar(cs, 0x2714);
|
||||
FcPatternAddCharSet(pattern, FC_CHARSET, cs);
|
||||
FcCharSetDestroy(cs);
|
||||
}
|
||||
|
||||
+#ifdef FONT_MATCH_DEBUG
|
||||
+ printf("final pattern contains:\n");
|
||||
+ FcPatternPrint(pattern);
|
||||
+#endif
|
||||
+
|
||||
QFontEngine *fe = 0;
|
||||
|
||||
for( int jj = (FcGetVersion() >= 20392 ? 0 : 1); jj < 2; ++jj ) {
|
||||
--- src/kernel/qfontdatabase.cpp
|
||||
+++ src/kernel/qfontdatabase.cpp
|
||||
@@ -554,7 +554,7 @@ static const unsigned short sample_chars
|
||||
// GeometricSymbols,
|
||||
{ 0x2500, 0x0 },
|
||||
// MiscellaneousSymbols,
|
||||
- { 0x2640, 0x0 },
|
||||
+ { 0x2640, 0x2714, 0x0 },
|
||||
// EnclosedAndSquare,
|
||||
{ 0x2460, 0x0 },
|
||||
// Braille,
|
|
@ -1,19 +0,0 @@
|
|||
diff -up qt-x11-free-3.3.8/src/sql/drivers/odbc/qsql_odbc.cpp.orig qt-x11-free-3.3.8/src/sql/drivers/odbc/qsql_odbc.cpp
|
||||
--- qt-x11-free-3.3.8/src/sql/drivers/odbc/qsql_odbc.cpp.orig 2009-02-24 11:32:27.000000000 +0100
|
||||
+++ qt-x11-free-3.3.8/src/sql/drivers/odbc/qsql_odbc.cpp 2009-02-24 11:33:43.000000000 +0100
|
||||
@@ -57,13 +57,13 @@
|
||||
#endif
|
||||
|
||||
// newer platform SDKs use SQLLEN instead of SQLINTEGER
|
||||
-#ifdef SQLLEN
|
||||
+#if defined(SQLLEN) || defined(Q_OS_WIN64) || defined(Q_OS_UNIX)
|
||||
# define QSQLLEN SQLLEN
|
||||
#else
|
||||
# define QSQLLEN SQLINTEGER
|
||||
#endif
|
||||
|
||||
-#ifdef SQLULEN
|
||||
+#if defined(SQLULEN) || defined(Q_OS_WIN64) || defined(Q_OS_UNIX)
|
||||
# define QSQLULEN SQLULEN
|
||||
#else
|
||||
# define QSQLULEN SQLUINTEGER
|
Binary file not shown.
|
@ -1,12 +0,0 @@
|
|||
post_install() {
|
||||
post_remove
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_remove
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
# this can be removed in future versions
|
||||
sed -ie '/\/opt\/qt\/lib/d' etc/ld.so.conf
|
||||
}
|
|
@ -1,4 +0,0 @@
|
|||
export QTDIR=/opt/qt
|
||||
export QT_XFT=true
|
||||
export PATH=$PATH:$QTDIR/bin
|
||||
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/qt/lib/pkgconfig
|
|
@ -1,33 +0,0 @@
|
|||
--- src/kernel/qpngio.cpp.orig 2010-01-16 22:02:41.000000000 +0100
|
||||
+++ src/kernel/qpngio.cpp 2010-01-16 22:03:56.000000000 +0100
|
||||
@@ -159,7 +159,7 @@
|
||||
image.setColor( i, qRgba(c,c,c,0xff) );
|
||||
}
|
||||
if ( png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS) ) {
|
||||
- const int g = info_ptr->trans_values.gray;
|
||||
+ const int g = info_ptr->trans_color.gray;
|
||||
if (g < ncols) {
|
||||
image.setAlphaBuffer(TRUE);
|
||||
image.setColor(g, image.color(g) & RGB_MASK);
|
||||
@@ -187,7 +187,7 @@
|
||||
info_ptr->palette[i].red,
|
||||
info_ptr->palette[i].green,
|
||||
info_ptr->palette[i].blue,
|
||||
- info_ptr->trans[i]
|
||||
+ info_ptr->trans_alpha[i]
|
||||
)
|
||||
);
|
||||
i++;
|
||||
@@ -321,9 +321,9 @@
|
||||
png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS)
|
||||
if (image.depth()==32 && png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS)) {
|
||||
QRgb trans = 0xFF000000 | qRgb(
|
||||
- (info_ptr->trans_values.red << 8 >> bit_depth)&0xff,
|
||||
- (info_ptr->trans_values.green << 8 >> bit_depth)&0xff,
|
||||
- (info_ptr->trans_values.blue << 8 >> bit_depth)&0xff);
|
||||
+ (info_ptr->trans_color.red << 8 >> bit_depth)&0xff,
|
||||
+ (info_ptr->trans_color.green << 8 >> bit_depth)&0xff,
|
||||
+ (info_ptr->trans_color.blue << 8 >> bit_depth)&0xff);
|
||||
for (uint y=0; y<height; y++) {
|
||||
for (uint x=0; x<info_ptr->width; x++) {
|
||||
if (((uint**)jt)[y][x] == trans) {
|
|
@ -1,20 +0,0 @@
|
|||
--- src/tools/qglobal.h
|
||||
+++ src/tools/qglobal.h
|
||||
@@ -314,12 +314,16 @@
|
||||
char, or short. We tell gcc to pack QChars to 16 bits, to avoid
|
||||
QString bloat. However, gcc 3.4 doesn't allow us to create references to
|
||||
members of a packed struct. (Pointers are OK, because then you
|
||||
- supposedly know what you are doing.) */
|
||||
+ supposedly know what you are doing.)
|
||||
+ For gcc 4.0.2 pointers dont seem to be ok, */
|
||||
# if (defined(__arm__) || defined(__ARMEL__)) && !defined(QT_MOC_CPP)
|
||||
# define Q_PACKED __attribute__ ((packed))
|
||||
# if __GNUC__ == 3 && __GNUC_MINOR__ >= 4
|
||||
# define Q_NO_PACKED_REFERENCE
|
||||
# endif
|
||||
+# if __GNUC__ == 4 && __GNUC_MINOR__ >= 0
|
||||
+# define Q_NO_PACKED_POINTERS
|
||||
+# endif
|
||||
# endif
|
||||
# if !defined(__EXCEPTIONS)
|
||||
# define Q_NO_EXCEPTIONS
|
|
@ -1,11 +0,0 @@
|
|||
--- src/tools/qstring.h
|
||||
+++ src/tools/qstring.h
|
||||
@@ -195,6 +195,8 @@
|
||||
ushort unicode() const { return ucs; }
|
||||
#ifdef Q_NO_PACKED_REFERENCE
|
||||
ushort &unicode() { return *(&ucs); }
|
||||
+#elif defined Q_NO_PACKED_POINTERS
|
||||
+ ushort &unicode() { ushort& tmp = ucs; return tmp; }
|
||||
#else
|
||||
ushort &unicode() { return ucs; }
|
||||
#endif
|
|
@ -1,101 +0,0 @@
|
|||
--- src/codecs/qutfcodec.cpp
|
||||
+++ src/codecs/qutfcodec.cpp
|
||||
@@ -154,6 +154,7 @@
|
||||
|
||||
class QUtf8Decoder : public QTextDecoder {
|
||||
uint uc;
|
||||
+ uint min_uc;
|
||||
int need;
|
||||
bool headerDone;
|
||||
public:
|
||||
@@ -167,8 +168,9 @@
|
||||
result.setLength( len ); // worst case
|
||||
QChar *qch = (QChar *)result.unicode();
|
||||
uchar ch;
|
||||
+ int error = -1;
|
||||
for (int i=0; i<len; i++) {
|
||||
- ch = *chars++;
|
||||
+ ch = chars[i];
|
||||
if (need) {
|
||||
if ( (ch&0xc0) == 0x80 ) {
|
||||
uc = (uc << 6) | (ch & 0x3f);
|
||||
@@ -182,6 +184,8 @@
|
||||
*qch++ = QChar(high);
|
||||
*qch++ = QChar(low);
|
||||
headerDone = TRUE;
|
||||
+ } else if ((uc < min_uc) || (uc >= 0xd800 && uc <= 0xdfff) || (uc >= 0xfffe)) {
|
||||
+ *qch++ = QChar::replacement;
|
||||
} else {
|
||||
if (headerDone || QChar(uc) != QChar::byteOrderMark)
|
||||
*qch++ = uc;
|
||||
@@ -190,6 +194,7 @@
|
||||
}
|
||||
} else {
|
||||
// error
|
||||
+ i = error;
|
||||
*qch++ = QChar::replacement;
|
||||
need = 0;
|
||||
}
|
||||
@@ -200,12 +205,21 @@
|
||||
} else if ((ch & 0xe0) == 0xc0) {
|
||||
uc = ch & 0x1f;
|
||||
need = 1;
|
||||
+ error = i;
|
||||
+ min_uc = 0x80;
|
||||
} else if ((ch & 0xf0) == 0xe0) {
|
||||
uc = ch & 0x0f;
|
||||
need = 2;
|
||||
+ error = i;
|
||||
+ min_uc = 0x800;
|
||||
} else if ((ch&0xf8) == 0xf0) {
|
||||
uc = ch & 0x07;
|
||||
need = 3;
|
||||
+ error = i;
|
||||
+ min_uc = 0x10000;
|
||||
+ } else {
|
||||
+ // error
|
||||
+ *qch++ = QChar::replacement;
|
||||
}
|
||||
}
|
||||
}
|
||||
--- src/tools/qstring.cpp
|
||||
+++ src/tools/qstring.cpp
|
||||
@@ -5805,6 +5805,7 @@
|
||||
result.setLength( len ); // worst case
|
||||
QChar *qch = (QChar *)result.unicode();
|
||||
uint uc = 0;
|
||||
+ uint min_uc = 0;
|
||||
int need = 0;
|
||||
int error = -1;
|
||||
uchar ch;
|
||||
@@ -5822,6 +5823,12 @@
|
||||
unsigned short low = uc%0x400 + 0xdc00;
|
||||
*qch++ = QChar(high);
|
||||
*qch++ = QChar(low);
|
||||
+ } else if (uc < min_uc || (uc >= 0xd800 && uc <= 0xdfff) || (uc >= 0xfffe)) {
|
||||
+ // overlong seqence, UTF16 surrogate or BOM
|
||||
+ i = error;
|
||||
+ qch = addOne(qch, result);
|
||||
+ *qch++ = QChar(0xdbff);
|
||||
+ *qch++ = QChar(0xde00+((uchar)utf8[i]));
|
||||
} else {
|
||||
*qch++ = uc;
|
||||
}
|
||||
@@ -5844,14 +5851,17 @@
|
||||
uc = ch & 0x1f;
|
||||
need = 1;
|
||||
error = i;
|
||||
+ min_uc = 0x80;
|
||||
} else if ((ch & 0xf0) == 0xe0) {
|
||||
uc = ch & 0x0f;
|
||||
need = 2;
|
||||
error = i;
|
||||
+ min_uc = 0x800;
|
||||
} else if ((ch&0xf8) == 0xf0) {
|
||||
uc = ch & 0x07;
|
||||
need = 3;
|
||||
error = i;
|
||||
+ min_uc = 0x10000;
|
||||
} else {
|
||||
// Error
|
||||
qch = addOne(qch, result);
|
|
@ -1,171 +0,0 @@
|
|||
# Maintainer: Garrett L. Ward <glward1@gmail.com>
|
||||
|
||||
pkgbase=samba
|
||||
pkgname=('tdb' 'smbclient' 'samba')
|
||||
pkgver=3.5.2
|
||||
# We use the 'A' to fake out pacman's version comparators. Samba chooses
|
||||
# to append 'a','b',etc to their subsequent releases, which pamcan
|
||||
# misconstrues as alpha, beta, etc. Bad samba!
|
||||
_realver=3.5.2
|
||||
pkgrel=1
|
||||
arch=(arm)
|
||||
url="http://www.samba.org"
|
||||
license=('GPL3')
|
||||
makedepends=('db>=4.7' 'popt' 'libcups' 'acl' 'libldap' 'libcap>=2.16' 'heimdal>=1.3.1' 'pam' 'fam' 'gnutls>=2.4.1')
|
||||
options=(!makeflags)
|
||||
source=(http://us1.samba.org/samba/ftp/stable/${pkgbase}-${_realver}.tar.gz
|
||||
samba samba.logrotate
|
||||
swat.xinetd
|
||||
samba.pam
|
||||
samba.conf.d
|
||||
fix-ipv6-mount.patch)
|
||||
|
||||
### UNINSTALL dmapi package before building!!!
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${pkgbase}-${_realver}
|
||||
patch -Np0 -i ../fix-ipv6-mount.patch || return 1
|
||||
cd ${srcdir}/${pkgbase}-${_realver}/source3
|
||||
|
||||
# heimdal-1.3.1 build fix
|
||||
sed -i "/KRB5_DEPRECATED/s#1##" libsmb/clikrb5.c
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib/ \
|
||||
--localstatedir=/var \
|
||||
--with-configdir=/etc/samba \
|
||||
--with-lockdir=/var/cache/samba \
|
||||
--with-piddir=/var/run/samba \
|
||||
--with-fhs \
|
||||
--with-pam \
|
||||
--with-pam_smbpass \
|
||||
--with-pammodulesdir=/lib/security \
|
||||
--with-ads \
|
||||
--with-acl-support \
|
||||
--with-cifsmount \
|
||||
--with-libsmbclient \
|
||||
--with-syslog \
|
||||
--disable-dnssd \
|
||||
--disable-avahi \
|
||||
--with-cifsumount
|
||||
make || return 1
|
||||
}
|
||||
|
||||
package_tdb () {
|
||||
pkgdesc="A Trivia Database similar to GDBM but allows simultaneous commits"
|
||||
cd ${srcdir}/${pkgbase}-${_realver}/lib/replace
|
||||
./autogen.sh
|
||||
./configure --prefix=/usr
|
||||
make || return 1
|
||||
cp replace.o snprintf.o getpass.o ../tdb/
|
||||
cd ${srcdir}/${pkgbase}-${_realver}/lib/tdb
|
||||
./autogen.sh
|
||||
./configure --prefix=/usr
|
||||
make || return 1
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
ln -sf /usr/lib/libtdb.so.1.1.3 ${pkgdir}/usr/lib/libtdb.so.1 || return 1
|
||||
ln -sf /usr/lib/libtdb.so.1.1.3 ${pkgdir}/usr/lib/libtdb.so || return 1
|
||||
}
|
||||
|
||||
package_smbclient () {
|
||||
pkgdesc="Tools to access a server's filespace and printers via SMB"
|
||||
depends=('readline>=6.0.00' 'popt' 'libldap>=2.4.18-1' 'libcap>=2.16' 'heimdal>=1.3-1' 'db>=4.7' 'e2fsprogs' "tdb>=$pkgver")
|
||||
cd ${srcdir}/${pkgbase}-${_realver}/source3
|
||||
mkdir -p ${pkgdir}/usr/bin ${pkgdir}/sbin ${pkgdir}/usr/lib
|
||||
install -m755 bin/{smbclient,rpcclient,smbspool,smbtree,smbcacls,smbcquotas,smbget,net,nmblookup} ${pkgdir}/usr/bin/
|
||||
install -m755 bin/{mount.cifs,umount.cifs} ${pkgdir}/sbin/
|
||||
for i in libnetapi* libwbclient* libsmbclient*;do
|
||||
cp -a bin/${i}*.so* ${pkgdir}/usr/lib/
|
||||
done
|
||||
install -m755 script/smbtar ${pkgdir}/usr/bin/
|
||||
mkdir -p ${pkgdir}/usr/lib/cups/backend
|
||||
ln -sf /usr/bin/smbspool ${pkgdir}/usr/lib/cups/backend/smb
|
||||
rm -rf ${pkgdir}/usr/lib/samba/libsmbsharemodes*
|
||||
for i in ${pkgdir}/usr/lib/samba/*; do
|
||||
ln -sf samba/$(basename $i) ${pkgdir}/usr/lib/$(basename $i)
|
||||
done
|
||||
rm -rf ${pkgdir}/usr/lib/libtdb*
|
||||
mkdir -p ${pkgdir}/usr/include
|
||||
install -m644 include/libsmbclient.h ${pkgdir}/usr/include/
|
||||
install -m644 ${srcdir}/${pkgbase}-${_realver}/lib/talloc/talloc.h ${pkgdir}/usr/include/
|
||||
install -m644 lib/netapi/netapi.h ${pkgdir}/usr/include/
|
||||
mkdir -p ${pkgdir}/usr/share/man/man{1,7,8}
|
||||
for man in smbspool \
|
||||
umount.cifs mount.cifs net; do
|
||||
install -m644 ../docs/manpages/${man}.8 ${pkgdir}/usr/share/man/man8/
|
||||
done
|
||||
for man in rpcclient smbcacls smbclient smbcquotas smbget \
|
||||
smbtree smbtar nmblookup; do
|
||||
install -m644 ../docs/manpages/${man}.1 ${pkgdir}/usr/share/man/man1/
|
||||
done
|
||||
install -m644 ../docs/manpages/libsmbclient.7 ${pkgdir}/usr/share/man/man7/
|
||||
}
|
||||
|
||||
package_samba () {
|
||||
pkgdesc="Tools to access a server's filespace and printers via SMB"
|
||||
backup=(etc/logrotate.d/samba
|
||||
etc/pam.d/samba
|
||||
etc/samba/smb.conf
|
||||
etc/xinetd.d/swat
|
||||
etc/conf.d/samba)
|
||||
depends=('db>=4.7' 'popt' 'libcups' 'acl' 'libldap' "smbclient>=$pkgver" 'libcap>=2.16' 'heimdal>=1.3-1' 'pam' 'fam' 'gnutls>=2.4.1' 'e2fsprogs' "tdb>=$pkgver")
|
||||
cd ${srcdir}/samba-${_realver}/source3
|
||||
mkdir -p ${pkgdir}/var/log/samba
|
||||
mkdir -p ${pkgdir}/etc/samba/private
|
||||
chmod 700 ${pkgdir}/etc/samba/private
|
||||
make DESTDIR=$pkgdir install || return 1
|
||||
chmod 644 ${pkgdir}/usr/include/*.h
|
||||
rm -rf ${pkgdir}/usr/var
|
||||
(cd script; cp installbin.sh i; cat i | sed 's/\/sbin\///' > installbin.sh)
|
||||
install -D -m755 ../../samba ${pkgdir}/etc/rc.d/samba
|
||||
install -D -m644 ../../samba.conf.d ${pkgdir}/etc/conf.d/samba
|
||||
mkdir -p ${pkgdir}/etc/samba
|
||||
cat ../examples/smb.conf.default | \
|
||||
sed 's|log file = .*$|log file = /var/log/samba/log.%m|g' >${pkgdir}/etc/samba/smb.conf.default
|
||||
install -D -m644 ../../samba.logrotate ${pkgdir}/etc/logrotate.d/samba
|
||||
install -D -m644 ../../swat.xinetd ${pkgdir}/etc/xinetd.d/swat
|
||||
install -D -m644 ../../samba.pam ${pkgdir}/etc/pam.d/samba
|
||||
# symlink libs
|
||||
for i in ${pkgdir}/usr/lib/samba/libsmbshare*; do
|
||||
ln -sf samba/$(basename $i) ${pkgdir}/usr/lib/$(basename $i)
|
||||
done
|
||||
# spool directory
|
||||
install -d -m1777 ${pkgdir}/var/spool/samba
|
||||
sed -i 's|/usr/spool/samba|/var/spool/samba|g' ${pkgdir}/etc/samba/smb.conf.default
|
||||
# fix logrotate
|
||||
sed -i -e 's|log.%m|%m.log|g' ${pkgdir}/etc/samba/smb.conf.default
|
||||
# nsswitch libraries
|
||||
install -D -m755 ${srcdir}/samba-${_realver}/nsswitch/libnss_wins.so ${pkgdir}/lib/libnss_wins.so
|
||||
ln -s libnss_wins.so ${pkgdir}/lib/libnss_wins.so.2
|
||||
install -D -m755 ${srcdir}/samba-${_realver}/nsswitch/libnss_winbind.so ${pkgdir}/lib/libnss_winbind.so
|
||||
install -D -m755 bin/pam_winbind.so ${pkgdir}/lib/security/pam_winbind.so
|
||||
# remove conflict files of smbclient and tdb
|
||||
for man in libsmbclient smbspool \
|
||||
umount.cifs mount.cifs net; do
|
||||
rm -f ${pkgdir}/usr/share/man/man8/${man}.8
|
||||
done
|
||||
for i in libnetapi* libtdb* libtalloc* libwbclient* libsmbclient*;do
|
||||
rm -f ${pkgdir}/usr/lib/samba/$i
|
||||
done
|
||||
for bin in tdbbackup tdbdump tdbtool net \
|
||||
nmblookup rpcclient smbcacls smbclient \
|
||||
smbcquotas smbget smbspool smbtar smbtree; do
|
||||
rm -f ${pkgdir}/usr/bin/$bin
|
||||
done
|
||||
rm -f ${pkgdir}/usr/include/{tdb.h,talloc.h,netapi.h}
|
||||
for man in rpcclient smbcacls smbclient smbcquotas \
|
||||
smbtree smbtar nmblookup smbget; do
|
||||
rm -f ${pkgdir}/usr/share/man/man1/${man}.1
|
||||
done
|
||||
rm -f ${pkgdir}/usr/share/man/man7/libsmbclient.7
|
||||
rm -f ${pkgdir}/usr/include/libsmbclient.h
|
||||
# copy ldap example
|
||||
install -D -m644 ${srcdir}/samba-${_realver}/examples/LDAP/samba.schema ${pkgdir}/usr/share/doc/samba/examples/LDAP/samba.schema
|
||||
}
|
||||
md5sums=('6f8cf649207ccd8c2c17e28c335f4e9d'
|
||||
'e93533fa2296c07c1f645dfdd373657f'
|
||||
'5697da77590ec092cc8a883bae06093c'
|
||||
'a4bbfa39fee95bba2e7ad6b535fae7e6'
|
||||
'96f82c38f3f540b53f3e5144900acf17'
|
||||
'f2f2e348acd1ccb566e95fa8a561b828'
|
||||
'c6a38a8c8fa24979e6217aed533358ea')
|
|
@ -1,11 +0,0 @@
|
|||
--- client/mount.cifs.c.orig 2010-03-03 13:42:02.143936727 +1000
|
||||
+++ client/mount.cifs.c 2010-03-04 01:53:22.752879004 +1000
|
||||
@@ -1563,7 +1563,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
- if (addr->ai_addr->sa_family == AF_INET6 && addr6->sin6_scope_id) {
|
||||
+ if (addr && addr->ai_addr->sa_family == AF_INET6 && addr6->sin6_scope_id) {
|
||||
strlcat(options, "%", options_size);
|
||||
current_len = strnlen(options, options_size);
|
||||
optionstail = options + current_len;
|
|
@ -1,51 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
. /etc/rc.conf
|
||||
. /etc/rc.d/functions
|
||||
[ -f /etc/conf.d/samba ] && . /etc/conf.d/samba
|
||||
|
||||
[ -z "$SAMBA_DAEMONS" ] && SAMBA_DAEMONS=(smbd nmbd)
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
rc=0
|
||||
stat_busy "Starting Samba Server"
|
||||
for d in ${SAMBA_DAEMONS[@]}; do
|
||||
PID=`pidof -o %PPID /usr/sbin/$d`
|
||||
[ -z "$PID" ] && /usr/sbin/$d -D
|
||||
rc=$(($rc+$?))
|
||||
done
|
||||
if [ $rc -gt 0 ]; then
|
||||
stat_fail
|
||||
else
|
||||
add_daemon samba
|
||||
stat_done
|
||||
fi
|
||||
;;
|
||||
stop)
|
||||
rc=0
|
||||
stat_busy "Stopping Samba Server"
|
||||
for d in ${SAMBA_DAEMONS[@]}; do
|
||||
PID=`pidof -o %PPID /usr/sbin/$d`
|
||||
[ -z "$PID" ] || kill $PID &> /dev/null
|
||||
rc=$(($rc+$?))
|
||||
done
|
||||
if [ $rc -gt 0 ]; then
|
||||
stat_fail
|
||||
else
|
||||
rm /var/run/samba/smbd.pid &>/dev/null
|
||||
rm /var/run/samba/nmbd.pid &>/dev/null
|
||||
rm /var/run/samba/winbindd.pid &>/dev/null
|
||||
rm_daemon samba
|
||||
stat_done
|
||||
fi
|
||||
;;
|
||||
restart)
|
||||
$0 stop
|
||||
sleep 1
|
||||
$0 start
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 {start|stop|restart}"
|
||||
esac
|
||||
exit 0
|
|
@ -1,7 +0,0 @@
|
|||
#
|
||||
# Configuration for the samba init script
|
||||
#
|
||||
|
||||
# space separated list of daemons to launch
|
||||
SAMBA_DAEMONS=(smbd nmbd)
|
||||
#SAMBA_DAEMONS=(smbd nmbd winbindd)
|
|
@ -1,9 +0,0 @@
|
|||
/var/log/samba/log.smbd /var/log/samba/log.nmbd /var/log/samba/*.log {
|
||||
notifempty
|
||||
missingok
|
||||
sharedscripts
|
||||
copytruncate
|
||||
postrotate
|
||||
/bin/kill -HUP `cat /var/run/samba/*.pid 2>/dev/null` 2>/dev/null || true
|
||||
endscript
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
auth required pam_unix.so
|
||||
account required pam_unix.so
|
||||
session required pam_unix.so
|
|
@ -1,10 +0,0 @@
|
|||
service swat
|
||||
{
|
||||
socket_type = stream
|
||||
wait = no
|
||||
user = root
|
||||
server = /usr/sbin/swat
|
||||
log_on_success += HOST DURATION
|
||||
log_on_failure += HOST
|
||||
disable = yes
|
||||
}
|
|
@ -1,66 +0,0 @@
|
|||
2009-12-27 Ionut Biru <ionut@archlinux.ro>
|
||||
|
||||
* subversion 1.6.6-3: adding svn bash completion script
|
||||
|
||||
2009-08-07 Douglas Soares de Andrade <douglas@archlinux.org>
|
||||
|
||||
* Updated to: 1.6.4
|
||||
|
||||
2009-08-02 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* subversion 1.6.3-2: Rebuilt against ruby 1.9
|
||||
|
||||
2009-06-07 Douglas Soares de Andrade <douglas@archlinux.org>
|
||||
|
||||
* Now hopefully fixed git issues
|
||||
|
||||
2009-05-16 Douglas Soares de Andrade <douglas@archlinux.org>
|
||||
|
||||
* Fixing wrong link against ruby 1.9
|
||||
|
||||
2009-05-11 Douglas Soares de Andrade <douglas@archlinux.org>
|
||||
|
||||
* Updated for i686: 1.6.2
|
||||
|
||||
2009-04-17 Douglas Soares de Andrade <douglas@archlinux.org>
|
||||
|
||||
* Back to use svnmerge.py from trunk
|
||||
|
||||
2009-04-11 Douglas Soares de Andrade <douglas@archlinux.org>
|
||||
|
||||
* Removing libtool files
|
||||
|
||||
2009-04-10 Douglas Soares de Andrade <douglas@archlinux.org>
|
||||
|
||||
* Updated for i686: 1.6.1
|
||||
* Added gerardo patch to fix insecure rpaths
|
||||
|
||||
2009-03-24 Douglas Soares de Andrade <douglas@archlinux.org>
|
||||
|
||||
* Added sqlite3 as a dep
|
||||
|
||||
2009-03-21 Douglas Soares de Andrade <douglas@archlinux.org>
|
||||
|
||||
* Updated for i686: 1.6.0
|
||||
|
||||
2009-02-26 Douglas Soares de Andrade <douglas@archlinux.org>
|
||||
|
||||
* Updated for i686: 1.5.6
|
||||
|
||||
2008-10-10 Douglas Soares de Andrade <douglas@archlinux.org>
|
||||
|
||||
* Updated for i686: 1.5.3
|
||||
|
||||
2008-09-04 Douglas Soares de Andrade <douglas@archlinux.org>
|
||||
|
||||
* 1.5.2: Finally updated for i686 as it does not break the
|
||||
devtools.
|
||||
|
||||
2008-08-13 Douglas Soares de Andrade <dsa@aur.archlinux.org>
|
||||
|
||||
* Updated for i686: 1.5.1
|
||||
|
||||
2008-07-23 Douglas Soares de Andrade <douglas@archlinux.org>
|
||||
|
||||
* Updated for i686: 1.5.0
|
||||
|
|
@ -1,90 +0,0 @@
|
|||
# $Id: PKGBUILD 77223 2010-04-11 14:13:33Z pierre $
|
||||
# Maintainer: Paul Mattal <paul@archlinux.org>
|
||||
# Contributor: Jason Chu <jason@archlinux.org>
|
||||
|
||||
pkgname=subversion
|
||||
pkgver=1.6.9
|
||||
pkgrel=6
|
||||
pkgdesc="Replacement for CVS, another versioning system (svn)"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('apache' 'bsd')
|
||||
depends=('neon' 'apr-util' 'libldap')
|
||||
makedepends=('heimdal' 'apache' 'python' 'perl' 'swig' 'ruby'
|
||||
'autoconf' 'sqlite3' 'db' 'e2fsprogs')
|
||||
source=(http://subversion.tigris.org/downloads/$pkgname-$pkgver.tar.bz2
|
||||
svnserve svn svnserve.conf svnmerge.py
|
||||
subversion.rpath.fix.patch
|
||||
subversion.suppress.deprecation.warnings.patch)
|
||||
|
||||
backup=('etc/xinetd.d/svn' 'etc/conf.d/svnserve')
|
||||
url="http://subversion.tigris.org/"
|
||||
provides=('svn')
|
||||
options=('!makeflags' '!libtool')
|
||||
optdepends=('bash-completion: for svn bash completion')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver} || return 1
|
||||
|
||||
# apply patches
|
||||
patch -p0 < $srcdir/subversion.rpath.fix.patch || return 1
|
||||
patch -p1 -i $srcdir/subversion.suppress.deprecation.warnings.patch \
|
||||
|| return 1
|
||||
|
||||
# configure
|
||||
autoreconf || return 1
|
||||
./configure --prefix=/usr --with-apr=/usr --with-apr-util=/usr \
|
||||
--with-zlib=/usr --with-neon=/usr --with-apxs \
|
||||
--with-sqlite=/usr || return 1
|
||||
|
||||
# build
|
||||
(make external-all && make LT_LDFLAGS="-L$Fdestdir/usr/lib" local-all ) \
|
||||
|| return 1
|
||||
|
||||
# install
|
||||
export LD_LIBRARY_PATH=${pkgdir}/usr/lib:$LD_LIBRARY_PATH
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
|
||||
make DESTDIR=${pkgdir} swig-py || return 1
|
||||
make install-swig-py DESTDIR=${pkgdir} || return 1
|
||||
|
||||
mkdir -p ${pkgdir}/usr/lib/python2.6 || return 1
|
||||
mv ${pkgdir}/usr/lib/svn-python/ ${pkgdir}/usr/lib/python2.6/site-packages \
|
||||
|| return 1
|
||||
|
||||
mkdir -p ${pkgdir}/usr/share/subversion || return 1
|
||||
install -d -m 755 tools/hook-scripts ${pkgdir}/usr/share/subversion/ \
|
||||
|| return 1
|
||||
rm -f ${pkgdir}/usr/share/subversion/hook-scripts/*.in || return 1
|
||||
|
||||
make DESTDIR=${pkgdir} swig-pl || return 1
|
||||
make install-swig-pl DESTDIR=${pkgdir} INSTALLDIRS=vendor || return 1
|
||||
rm -f ${pkgdir}/usr/lib/perl5/vendor_perl/auto/SVN/_Core/.packlist \
|
||||
|| return 1
|
||||
rm -rf ${pkgdir}/usr/lib/perl5/core_perl || return 1
|
||||
|
||||
make DESTDIR=${pkgdir} swig-rb || return 1
|
||||
make install-swig-rb DESTDIR=${pkgdir} || return 1
|
||||
|
||||
mkdir -p ${pkgdir}/etc/rc.d || return 1
|
||||
mkdir -p ${pkgdir}/etc/xinetd.d || return 1
|
||||
mkdir -p ${pkgdir}/etc/conf.d || return 1
|
||||
|
||||
install -m 755 ${srcdir}/svnserve ${pkgdir}/etc/rc.d || return 1
|
||||
install -m 644 ${srcdir}/svn ${pkgdir}/etc/xinetd.d || return 1
|
||||
install -m 644 ${srcdir}/svnserve.conf ${pkgdir}/etc/conf.d/svnserve \
|
||||
|| return 1
|
||||
install -m 755 ${srcdir}/svnmerge.py ${pkgdir}/usr/bin/svnmerge || return 1
|
||||
install -D -m 644 ${srcdir}/subversion-$pkgver/COPYING \
|
||||
${pkgdir}/usr/share/licenses/$pkgname/LICENSE || return 1
|
||||
|
||||
# bash completion
|
||||
install -Dm 644 ${srcdir}/${pkgname}-${pkgver}/tools/client-side/bash_completion \
|
||||
${pkgdir}/etc/bash_completion.d/subversion || return 1
|
||||
}
|
||||
md5sums=('9c30a47b1d48664e7afef68bb4834c53'
|
||||
'a2b029e8385007ffb99b437b30521c90'
|
||||
'a0db6dd43af33952739b6ec089852630'
|
||||
'c459e299192552f61578f3438abf0664'
|
||||
'21bf3aa5b797ce98eba8307f30e9c070'
|
||||
'6b4340ba9d8845cd8497e013ae01be3f'
|
||||
'1166f3b7413d7e7450299b3525680bbe')
|
|
@ -1,192 +0,0 @@
|
|||
.\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07)
|
||||
.\"
|
||||
.\" Standard preamble:
|
||||
.\" ========================================================================
|
||||
.de Sp \" Vertical space (when we can't use .PP)
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.de Vb \" Begin verbatim text
|
||||
.ft CW
|
||||
.nf
|
||||
.ne \\$1
|
||||
..
|
||||
.de Ve \" End verbatim text
|
||||
.ft R
|
||||
.fi
|
||||
..
|
||||
.\" Set up some character translations and predefined strings. \*(-- will
|
||||
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
|
||||
.\" double quote, and \*(R" will give a right double quote. \*(C+ will
|
||||
.\" give a nicer C++. Capital omega is used to do unbreakable dashes and
|
||||
.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
|
||||
.\" nothing in troff, for use with C<>.
|
||||
.tr \(*W-
|
||||
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
|
||||
.ie n \{\
|
||||
. ds -- \(*W-
|
||||
. ds PI pi
|
||||
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
|
||||
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
|
||||
. ds L" ""
|
||||
. ds R" ""
|
||||
. ds C` ""
|
||||
. ds C' ""
|
||||
'br\}
|
||||
.el\{\
|
||||
. ds -- \|\(em\|
|
||||
. ds PI \(*p
|
||||
. ds L" ``
|
||||
. ds R" ''
|
||||
'br\}
|
||||
.\"
|
||||
.\" Escape single quotes in literal strings from groff's Unicode transform.
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\"
|
||||
.\" If the F register is turned on, we'll generate index entries on stderr for
|
||||
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
|
||||
.\" entries marked with X<> in POD. Of course, you'll have to process the
|
||||
.\" output yourself in some meaningful fashion.
|
||||
.ie \nF \{\
|
||||
. de IX
|
||||
. tm Index:\\$1\t\\n%\t"\\$2"
|
||||
..
|
||||
. nr % 0
|
||||
. rr F
|
||||
.\}
|
||||
.el \{\
|
||||
. de IX
|
||||
..
|
||||
.\}
|
||||
.\"
|
||||
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
|
||||
.\" Fear. Run. Save yourself. No user-serviceable parts.
|
||||
. \" fudge factors for nroff and troff
|
||||
.if n \{\
|
||||
. ds #H 0
|
||||
. ds #V .8m
|
||||
. ds #F .3m
|
||||
. ds #[ \f1
|
||||
. ds #] \fP
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
|
||||
. ds #V .6m
|
||||
. ds #F 0
|
||||
. ds #[ \&
|
||||
. ds #] \&
|
||||
.\}
|
||||
. \" simple accents for nroff and troff
|
||||
.if n \{\
|
||||
. ds ' \&
|
||||
. ds ` \&
|
||||
. ds ^ \&
|
||||
. ds , \&
|
||||
. ds ~ ~
|
||||
. ds /
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
|
||||
. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
|
||||
. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
|
||||
. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
|
||||
. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
|
||||
. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
|
||||
.\}
|
||||
. \" troff and (daisy-wheel) nroff accents
|
||||
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
|
||||
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
|
||||
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
|
||||
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
|
||||
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
|
||||
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
|
||||
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
|
||||
.ds ae a\h'-(\w'a'u*4/10)'e
|
||||
.ds Ae A\h'-(\w'A'u*4/10)'E
|
||||
. \" corrections for vroff
|
||||
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
|
||||
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
|
||||
. \" for low resolution devices (crt and lpr)
|
||||
.if \n(.H>23 .if \n(.V>19 \
|
||||
\{\
|
||||
. ds : e
|
||||
. ds 8 ss
|
||||
. ds o a
|
||||
. ds d- d\h'-1'\(ga
|
||||
. ds D- D\h'-1'\(hy
|
||||
. ds th \o'bp'
|
||||
. ds Th \o'LP'
|
||||
. ds ae ae
|
||||
. ds Ae AE
|
||||
.\}
|
||||
.rm #[ #] #H #V #F C
|
||||
.\" ========================================================================
|
||||
.\"
|
||||
.IX Title "native::Base 3"
|
||||
.TH native::Base 3 "2004-12-04" "perl v5.10.1" "User Contributed Perl Documentation"
|
||||
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
|
||||
.\" way too many mistakes in technical documents.
|
||||
.if n .ad l
|
||||
.nh
|
||||
.SH "NAME"
|
||||
SVN::Base \- Base class for importing symbols for svn modules
|
||||
.SH "SYNOPSIS"
|
||||
.IX Header "SYNOPSIS"
|
||||
.Vb 3
|
||||
\& # Load the svn_ra_* functions into the SVN::Ra namespace.
|
||||
\& package SVN::Ra;
|
||||
\& use SVN::Base qw(Ra svn_ra_);
|
||||
\&
|
||||
\& # Load svn_config_t structure accessors in the magic namcespace
|
||||
\& # provided by swig, so we could use it returned by other functions
|
||||
\& package _p_svn_config_t;
|
||||
\& use SVN::Base qw(Core svn_config_);
|
||||
.Ve
|
||||
.SH "DESCRIPTION"
|
||||
.IX Header "DESCRIPTION"
|
||||
SVN::Base is a module importing the subversion perl bindings raw
|
||||
symbols created by swig, into proper namespace and make them easier to
|
||||
use.
|
||||
.PP
|
||||
It will also find the accessors for members of a C struct, create an
|
||||
simpler accessor function like \f(CW\*(C`$data\->field()\*(C'\fR and
|
||||
\&\f(CW\*(C`$data\->field($new_value)\*(C'\fR.
|
||||
.PP
|
||||
Once you understand the convention of subversion functions in perl
|
||||
bindings, you could look at the subversion api and write them in perl.
|
||||
The \s-1API\s0 is available in the source header files or online at
|
||||
http://svn.collab.net/svn\-doxygen/.
|
||||
.SH "INTERNALS"
|
||||
.IX Header "INTERNALS"
|
||||
The perl bindings of swig wraps raw functions into different perl
|
||||
modules, for example, SVN::_Core, SVN::_Repos. Upon import, SVN::Base
|
||||
bootstrap the requested module if it's not yet loaded, and iterate
|
||||
over the symbols provided in that module, it them puts the function
|
||||
with prefix trimmed in the namespace of the caller for this import.
|
||||
.PP
|
||||
The 3rd through the last parameter is a list of symbol endings that
|
||||
you wish for SVN::Base not to import into your namespace. This is useful
|
||||
for cases where you may want to import certaion symbols differently than
|
||||
normally.
|
||||
.SH "CAVEATS"
|
||||
.IX Header "CAVEATS"
|
||||
SVN::Base consider a function as structure member accessor if it is
|
||||
postfixed ``_get'' or ``_set''. Real functions with this postfixes
|
||||
will need extra handling.
|
||||
.SH "AUTHORS"
|
||||
.IX Header "AUTHORS"
|
||||
Chia-liang Kao <clkao@clkao.org>
|
||||
.SH "COPYRIGHT"
|
||||
.IX Header "COPYRIGHT"
|
||||
Copyright (c) 2003 CollabNet. All rights reserved.
|
||||
.PP
|
||||
This software is licensed as described in the file \s-1COPYING\s0, which you
|
||||
should have received as part of this distribution. The terms are also
|
||||
available at http://subversion.tigris.org/license\-1.html. If newer
|
||||
versions of this license are posted there, you may use a newer version
|
||||
instead, at your option.
|
||||
.PP
|
||||
This software consists of voluntary contributions made by many
|
||||
individuals. For exact contribution history, see the revision history
|
||||
and logs, available at http://subversion.tigris.org/.
|
File diff suppressed because it is too large
Load diff
|
@ -1,560 +0,0 @@
|
|||
.\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07)
|
||||
.\"
|
||||
.\" Standard preamble:
|
||||
.\" ========================================================================
|
||||
.de Sp \" Vertical space (when we can't use .PP)
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.de Vb \" Begin verbatim text
|
||||
.ft CW
|
||||
.nf
|
||||
.ne \\$1
|
||||
..
|
||||
.de Ve \" End verbatim text
|
||||
.ft R
|
||||
.fi
|
||||
..
|
||||
.\" Set up some character translations and predefined strings. \*(-- will
|
||||
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
|
||||
.\" double quote, and \*(R" will give a right double quote. \*(C+ will
|
||||
.\" give a nicer C++. Capital omega is used to do unbreakable dashes and
|
||||
.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
|
||||
.\" nothing in troff, for use with C<>.
|
||||
.tr \(*W-
|
||||
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
|
||||
.ie n \{\
|
||||
. ds -- \(*W-
|
||||
. ds PI pi
|
||||
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
|
||||
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
|
||||
. ds L" ""
|
||||
. ds R" ""
|
||||
. ds C` ""
|
||||
. ds C' ""
|
||||
'br\}
|
||||
.el\{\
|
||||
. ds -- \|\(em\|
|
||||
. ds PI \(*p
|
||||
. ds L" ``
|
||||
. ds R" ''
|
||||
'br\}
|
||||
.\"
|
||||
.\" Escape single quotes in literal strings from groff's Unicode transform.
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\"
|
||||
.\" If the F register is turned on, we'll generate index entries on stderr for
|
||||
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
|
||||
.\" entries marked with X<> in POD. Of course, you'll have to process the
|
||||
.\" output yourself in some meaningful fashion.
|
||||
.ie \nF \{\
|
||||
. de IX
|
||||
. tm Index:\\$1\t\\n%\t"\\$2"
|
||||
..
|
||||
. nr % 0
|
||||
. rr F
|
||||
.\}
|
||||
.el \{\
|
||||
. de IX
|
||||
..
|
||||
.\}
|
||||
.\"
|
||||
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
|
||||
.\" Fear. Run. Save yourself. No user-serviceable parts.
|
||||
. \" fudge factors for nroff and troff
|
||||
.if n \{\
|
||||
. ds #H 0
|
||||
. ds #V .8m
|
||||
. ds #F .3m
|
||||
. ds #[ \f1
|
||||
. ds #] \fP
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
|
||||
. ds #V .6m
|
||||
. ds #F 0
|
||||
. ds #[ \&
|
||||
. ds #] \&
|
||||
.\}
|
||||
. \" simple accents for nroff and troff
|
||||
.if n \{\
|
||||
. ds ' \&
|
||||
. ds ` \&
|
||||
. ds ^ \&
|
||||
. ds , \&
|
||||
. ds ~ ~
|
||||
. ds /
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
|
||||
. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
|
||||
. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
|
||||
. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
|
||||
. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
|
||||
. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
|
||||
.\}
|
||||
. \" troff and (daisy-wheel) nroff accents
|
||||
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
|
||||
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
|
||||
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
|
||||
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
|
||||
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
|
||||
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
|
||||
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
|
||||
.ds ae a\h'-(\w'a'u*4/10)'e
|
||||
.ds Ae A\h'-(\w'A'u*4/10)'E
|
||||
. \" corrections for vroff
|
||||
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
|
||||
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
|
||||
. \" for low resolution devices (crt and lpr)
|
||||
.if \n(.H>23 .if \n(.V>19 \
|
||||
\{\
|
||||
. ds : e
|
||||
. ds 8 ss
|
||||
. ds o a
|
||||
. ds d- d\h'-1'\(ga
|
||||
. ds D- D\h'-1'\(hy
|
||||
. ds th \o'bp'
|
||||
. ds Th \o'LP'
|
||||
. ds ae ae
|
||||
. ds Ae AE
|
||||
.\}
|
||||
.rm #[ #] #H #V #F C
|
||||
.\" ========================================================================
|
||||
.\"
|
||||
.IX Title "native::Core 3"
|
||||
.TH native::Core 3 "2008-08-13" "perl v5.10.1" "User Contributed Perl Documentation"
|
||||
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
|
||||
.\" way too many mistakes in technical documents.
|
||||
.if n .ad l
|
||||
.nh
|
||||
.SH "NAME"
|
||||
SVN::Core \- Core module of the subversion perl bindings
|
||||
.SH "SYNOPSIS"
|
||||
.IX Header "SYNOPSIS"
|
||||
.Vb 1
|
||||
\& use SVN::Core; # does apr_initialize and cleanup for you
|
||||
\&
|
||||
\& # create a root pool and set it as default pool for later use
|
||||
\& my $pool = SVN::Pool\->new_default;
|
||||
\&
|
||||
\& sub something {
|
||||
\& # create a subpool of the current default pool
|
||||
\& my $pool = SVN::Pool\->new_default_sub;
|
||||
\& # some svn operations...
|
||||
\&
|
||||
\& # $pool gets destroyed and the previous default pool
|
||||
\& # is restored when $pool\*(Aqs lexical scope ends
|
||||
\& }
|
||||
\&
|
||||
\& # svn_stream_t as native perl io handle
|
||||
\& my $stream = $txn\->root\->apply_text(\*(Aqtrunk/filea\*(Aq, undef);
|
||||
\& print $stream $text;
|
||||
\& close $stream;
|
||||
\&
|
||||
\& # native perl io handle as svn_stream_t
|
||||
\& SVN::Repos::dump_fs($repos, \e*STDOUT, \e*STDERR,
|
||||
\& 0, $repos\->fs\->youngest_rev, 0);
|
||||
.Ve
|
||||
.SH "DESCRIPTION"
|
||||
.IX Header "DESCRIPTION"
|
||||
SVN::Core implements higher level functions of fundamental subversion
|
||||
functions.
|
||||
.SH "FUNCTIONS"
|
||||
.IX Header "FUNCTIONS"
|
||||
.IP "SVN::Core::auth_open([auth provider array]);" 4
|
||||
.IX Item "SVN::Core::auth_open([auth provider array]);"
|
||||
Takes a reference to an array of authentication providers
|
||||
and returns an auth_baton. If you use prompt providers
|
||||
you can not use this function, but need to use the
|
||||
auth_open_helper.
|
||||
.IP "SVN::Core::auth_open_helper([auth provider array]);" 4
|
||||
.IX Item "SVN::Core::auth_open_helper([auth provider array]);"
|
||||
Prompt providers return two values instead of one. The
|
||||
2nd parameter is a reference to whatever was passed into
|
||||
them as the callback. auth_open_helper splits up these
|
||||
arguments, passing the provider objects into auth_open
|
||||
which gives it an auth_baton and putting the other
|
||||
ones in an array. The first return value of this
|
||||
function is the auth_baton, the second is a reference
|
||||
to an array containing the references to the callbacks.
|
||||
.Sp
|
||||
These callback arrays should be stored in the object
|
||||
the auth_baton is attached to.
|
||||
.SH "OTHER OBJECTS"
|
||||
.IX Header "OTHER OBJECTS"
|
||||
.SS "svn_stream_t \- SVN::Stream"
|
||||
.IX Subsection "svn_stream_t - SVN::Stream"
|
||||
You can use native perl io handles (including io globs) as
|
||||
svn_stream_t in subversion functions. Returned svn_stream_t are also
|
||||
translated into perl io handles, so you could access them with regular
|
||||
print, read, etc.
|
||||
.PP
|
||||
Note that some functions take a stream to read from or write to, but do not
|
||||
close the stream while still holding the reference to the io handle.
|
||||
In this case the handle won't be destroyed properly.
|
||||
You should always set up the correct default pool before calling
|
||||
such functions.
|
||||
.SS "svn_pool_t \- SVN::Pool"
|
||||
.IX Subsection "svn_pool_t - SVN::Pool"
|
||||
The perl bindings significantly simplify the usage of pools, while
|
||||
still being manually adjustable.
|
||||
.PP
|
||||
For functions requiring a pool as the last argument (which are, almost all
|
||||
of the subversion functions), the pool argument is optional. The default pool
|
||||
is used if it is omitted. When \f(CW\*(C`SVN::Core\*(C'\fR is loaded, it creates a
|
||||
new default pool, which is also available from \f(CW\*(C`SVN::Core\->gpool\*(C'\fR.
|
||||
.PP
|
||||
For callback functions providing a pool to your subroutine, you could
|
||||
also use \f(CW$pool\fR\->default to make it the default pool in the scope.
|
||||
.PP
|
||||
\fIMethods\fR
|
||||
.IX Subsection "Methods"
|
||||
.IP "new ([$parent])" 4
|
||||
.IX Item "new ([$parent])"
|
||||
Create a new pool. The pool is a root pool if \f(CW$parent\fR is not supplied.
|
||||
.IP "new_default ([$parent])" 4
|
||||
.IX Item "new_default ([$parent])"
|
||||
Create a new pool. The pool is a root pool if \f(CW$parent\fR is not supplied.
|
||||
Set the new pool as default pool.
|
||||
.IP "new_default_sub" 4
|
||||
.IX Item "new_default_sub"
|
||||
Create a new subpool of the current default pool, and set the
|
||||
resulting pool as new default pool.
|
||||
.IP "clear" 4
|
||||
.IX Item "clear"
|
||||
Clear the pool.
|
||||
.IP "\s-1DESTROY\s0" 4
|
||||
.IX Item "DESTROY"
|
||||
Destroy the pool. If the pool was the default pool, restore the
|
||||
previous default pool. This is normally called
|
||||
automatically when the SVN::Pool object is no longer used and
|
||||
destroyed by the perl garbage collector.
|
||||
.SS "svn_error_t \- SVN::Error"
|
||||
.IX Subsection "svn_error_t - SVN::Error"
|
||||
By default the perl bindings handle exceptions for you. The default handler
|
||||
automatically croaks with an appropriate error message. This is likely
|
||||
sufficient for simple scripts, but more complex usage may demand handling of
|
||||
errors.
|
||||
.PP
|
||||
You can override the default exception handler by changing the
|
||||
\&\f(CW$SVN::Error::handler\fR variable. This variable holds a reference to a perl sub
|
||||
that should be called whenever an error is returned by a svn function. This
|
||||
sub will be passed a svn_error_t object. Its return value is ignored.
|
||||
.PP
|
||||
If you set the \f(CW$SVN::Error::handler\fR to undef then each call will return an
|
||||
svn_error_t object as its first return in the case of an error, followed by the
|
||||
normal return values. If there is no error then a svn_error_t will not be
|
||||
returned and only the normal return values will be returned. When using this
|
||||
mode you should be careful only to call functions in array context. For
|
||||
example: my ($ci) = \f(CW$ctx\fR\->mkdir('http://svn/foo'); In this case \f(CW$ci\fR will
|
||||
be an svn_error_t object if an error occurs and a svn_client_commit_info object
|
||||
otherwise. If you leave the parenthesis off around \f(CW$ci\fR (scalar context) it
|
||||
will be the commit_info object, which in the case of an error will be undef.
|
||||
.PP
|
||||
If you plan on using explicit exception handling, understanding the exception
|
||||
handling system the C \s-1API\s0 uses is helpful. You can find information on it in
|
||||
the \s-1HACKING\s0 file and the \s-1API\s0 documentation. Looking at the implementation of
|
||||
SVN::Error::croak_on_error and SVN::Error::expanded_message may be helpful as
|
||||
well.
|
||||
.ie n .IP "$svn_error_t\->\fIapr_err()\fR" 4
|
||||
.el .IP "\f(CW$svn_error_t\fR\->\fIapr_err()\fR" 4
|
||||
.IX Item "$svn_error_t->apr_err()"
|
||||
\&\s-1APR\s0 error value, possibly \s-1SVN_\s0 custom error.
|
||||
.ie n .IP "$svn_error_t\->\fImessage()\fR" 4
|
||||
.el .IP "\f(CW$svn_error_t\fR\->\fImessage()\fR" 4
|
||||
.IX Item "$svn_error_t->message()"
|
||||
Details from producer of error.
|
||||
.ie n .IP "$svn_error_t\->\fIchild()\fR" 4
|
||||
.el .IP "\f(CW$svn_error_t\fR\->\fIchild()\fR" 4
|
||||
.IX Item "$svn_error_t->child()"
|
||||
svn_error_t object of the error that's wrapped.
|
||||
.ie n .IP "$svn_error_t\->\fIpool()\fR" 4
|
||||
.el .IP "\f(CW$svn_error_t\fR\->\fIpool()\fR" 4
|
||||
.IX Item "$svn_error_t->pool()"
|
||||
The pool holding this error and any child errors it wraps.
|
||||
.ie n .IP "$svn_error_t\->\fIfile()\fR" 4
|
||||
.el .IP "\f(CW$svn_error_t\fR\->\fIfile()\fR" 4
|
||||
.IX Item "$svn_error_t->file()"
|
||||
Source file where the error originated.
|
||||
.ie n .IP "$svn_error_t\->\fIline()\fR" 4
|
||||
.el .IP "\f(CW$svn_error_t\fR\->\fIline()\fR" 4
|
||||
.IX Item "$svn_error_t->line()"
|
||||
Source line where the error originated.
|
||||
.IP "SVN::Error::strerror($apr_status_t)" 4
|
||||
.IX Item "SVN::Error::strerror($apr_status_t)"
|
||||
Returns the english description of the status code.
|
||||
.ie n .IP "$svn_error_t\->\fIstrerror()\fR" 4
|
||||
.el .IP "\f(CW$svn_error_t\fR\->\fIstrerror()\fR" 4
|
||||
.IX Item "$svn_error_t->strerror()"
|
||||
Returns the english description of the apr_err status code set on the
|
||||
\&\f(CW$svn_error_t\fR. This is short for:
|
||||
SVN::Error::strerror($svn_error_t\->\fIapr_err()\fR);
|
||||
.ie n .IP "SVN::Error::create($apr_err, $child, $message);" 4
|
||||
.el .IP "SVN::Error::create($apr_err, \f(CW$child\fR, \f(CW$message\fR);" 4
|
||||
.IX Item "SVN::Error::create($apr_err, $child, $message);"
|
||||
Returns a new svn_error_t object with the error status specified in \f(CW$apr_err\fR,
|
||||
the child as \f(CW$child\fR, and error message of \f(CW$message\fR.
|
||||
.ie n .IP "SVN::Error::quick_wrap($child, $new_msg); or $child\->quick_wrap($new_msg);" 4
|
||||
.el .IP "SVN::Error::quick_wrap($child, \f(CW$new_msg\fR); or \f(CW$child\fR\->quick_wrap($new_msg);" 4
|
||||
.IX Item "SVN::Error::quick_wrap($child, $new_msg); or $child->quick_wrap($new_msg);"
|
||||
A quick n' easy way to create a wrappered exception with your own message
|
||||
before throwing it up the stack.
|
||||
.Sp
|
||||
\&\f(CW$child\fR is the svn_error_t object you want to wrap and \f(CW$new_msg\fR is the new error
|
||||
string you want to set.
|
||||
.ie n .IP "SVN::Error::compose($chain, $new_error); or $chain\->compose($new_error);" 4
|
||||
.el .IP "SVN::Error::compose($chain, \f(CW$new_error\fR); or \f(CW$chain\fR\->compose($new_error);" 4
|
||||
.IX Item "SVN::Error::compose($chain, $new_error); or $chain->compose($new_error);"
|
||||
Add new_err to the end of \f(CW$chain\fR's chain of errors.
|
||||
.Sp
|
||||
The \f(CW$new_err\fR chain will be copied into \f(CW$chain\fR's pool and destroyed, so \f(CW$new_err\fR
|
||||
itself becomes invalid after this function.
|
||||
.ie n .IP "SVN::Error::clear($svn_error_t); or $svn_error_t\->\fIclear()\fR;" 4
|
||||
.el .IP "SVN::Error::clear($svn_error_t); or \f(CW$svn_error_t\fR\->\fIclear()\fR;" 4
|
||||
.IX Item "SVN::Error::clear($svn_error_t); or $svn_error_t->clear();"
|
||||
Free the memory used by \f(CW$svn_error_t\fR, as well as all ancestors and descendants
|
||||
of \f(CW$svn_error_t\fR.
|
||||
.Sp
|
||||
You must call this on every svn_error_t object you get or you will leak memory.
|
||||
.ie n .IP "SVN::Error::expanded_message($svn_error_t) or $svn_error_t\->\fIexpanded_message()\fR" 4
|
||||
.el .IP "SVN::Error::expanded_message($svn_error_t) or \f(CW$svn_error_t\fR\->\fIexpanded_message()\fR" 4
|
||||
.IX Item "SVN::Error::expanded_message($svn_error_t) or $svn_error_t->expanded_message()"
|
||||
Returns the error message by tracing through the svn_error_t object and its
|
||||
children and concatenating the error messages. This is how the internal
|
||||
exception handlers get their error messages.
|
||||
.IP "SVN::Error::is_error($value)" 4
|
||||
.IX Item "SVN::Error::is_error($value)"
|
||||
Returns true if value is of type svn_error. Returns false if value is
|
||||
anything else or undefined. This is useful for seeing if a call has returned
|
||||
an error.
|
||||
.IP "SVN::Error::croak_on_error" 4
|
||||
.IX Item "SVN::Error::croak_on_error"
|
||||
Default error handler. It takes an svn_error_t and extracts the error messages
|
||||
from it and croaks with those messages.
|
||||
.Sp
|
||||
It can be used in two ways. The first is detailed above as setting it as the
|
||||
automatic exception handler via setting \f(CW$SVN::Error::handler\fR.
|
||||
.Sp
|
||||
The second is if you have \f(CW$SVN::Error::handler\fR set to undef as a wrapper for
|
||||
calls you want to croak on when there is an error, but you don't want to write
|
||||
an explicit error handler. For example:
|
||||
.Sp
|
||||
my \f(CW$result_rev\fR=SVN::Error::croak_on_error($ctx\->checkout($url,$path,'\s-1HEAD\s0',1));
|
||||
.Sp
|
||||
If there is no error then croak_on_error will return the arguments passed to it
|
||||
unchanged.
|
||||
.IP "SVN::Error::confess_on_error" 4
|
||||
.IX Item "SVN::Error::confess_on_error"
|
||||
The same as croak_on_error except it will give a more detailed stack backtrace,
|
||||
including internal calls within the implementation of the perl bindings.
|
||||
This is useful when you are doing development work on the bindings themselves.
|
||||
.IP "SVN::Error::ignore_error" 4
|
||||
.IX Item "SVN::Error::ignore_error"
|
||||
This is useful for wrapping around calls which you wish to ignore any potential
|
||||
error. It checks to see if the first parameter is an error and if it is it
|
||||
clears it. It then returns all the other parameters.
|
||||
.SS "svn_log_changed_path_t"
|
||||
.IX Subsection "svn_log_changed_path_t"
|
||||
.ie n .IP "$lcp\->\fIaction()\fR" 4
|
||||
.el .IP "\f(CW$lcp\fR\->\fIaction()\fR" 4
|
||||
.IX Item "$lcp->action()"
|
||||
\&'A'dd, 'D'elete, 'R'eplace, 'M'odify
|
||||
.ie n .IP "$lcp\->\fIcopyfrom_path()\fR" 4
|
||||
.el .IP "\f(CW$lcp\fR\->\fIcopyfrom_path()\fR" 4
|
||||
.IX Item "$lcp->copyfrom_path()"
|
||||
Source path of copy, or \f(CW\*(C`undef\*(C'\fR if there isn't any previous revision
|
||||
history.
|
||||
.ie n .IP "$lcp\->\fIcopyfrom_rev()\fR" 4
|
||||
.el .IP "\f(CW$lcp\fR\->\fIcopyfrom_rev()\fR" 4
|
||||
.IX Item "$lcp->copyfrom_rev()"
|
||||
Source revision of copy, or \f(CW$SVN::Core::INVALID_REVNUM\fR if there is
|
||||
no previous history.
|
||||
.SS "svn_node_kind_t \- SVN::Node"
|
||||
.IX Subsection "svn_node_kind_t - SVN::Node"
|
||||
An enum of the following constants:
|
||||
.PP
|
||||
\&\f(CW$SVN::Node::none\fR, \f(CW$SVN::Node::file\fR,
|
||||
\&\f(CW$SVN::Node::dir\fR, \f(CW$SVN::Node::unknown\fR.
|
||||
.SS "svn_opt_revision_t"
|
||||
.IX Subsection "svn_opt_revision_t"
|
||||
.SS "svn_config_t"
|
||||
.IX Subsection "svn_config_t"
|
||||
Opaque object describing a set of configuration options.
|
||||
.SS "svn_dirent_t"
|
||||
.IX Subsection "svn_dirent_t"
|
||||
.ie n .IP "$dirent\->\fIkind()\fR" 4
|
||||
.el .IP "\f(CW$dirent\fR\->\fIkind()\fR" 4
|
||||
.IX Item "$dirent->kind()"
|
||||
Node kind. A number which matches one of these constants:
|
||||
\&\f(CW$SVN::Node::none\fR, \f(CW$SVN::Node::file\fR,
|
||||
\&\f(CW$SVN::Node::dir\fR, \f(CW$SVN::Node::unknown\fR.
|
||||
.ie n .IP "$dirent\->\fIsize()\fR" 4
|
||||
.el .IP "\f(CW$dirent\fR\->\fIsize()\fR" 4
|
||||
.IX Item "$dirent->size()"
|
||||
Length of file text, or 0 for directories.
|
||||
.ie n .IP "$dirent\->\fIhas_props()\fR" 4
|
||||
.el .IP "\f(CW$dirent\fR\->\fIhas_props()\fR" 4
|
||||
.IX Item "$dirent->has_props()"
|
||||
Does the node have properties?
|
||||
.ie n .IP "$dirent\->\fIcreated_rev()\fR" 4
|
||||
.el .IP "\f(CW$dirent\fR\->\fIcreated_rev()\fR" 4
|
||||
.IX Item "$dirent->created_rev()"
|
||||
Last revision in which this node changed.
|
||||
.ie n .IP "$dirent\->\fItime()\fR" 4
|
||||
.el .IP "\f(CW$dirent\fR\->\fItime()\fR" 4
|
||||
.IX Item "$dirent->time()"
|
||||
Time of created_rev (mod-time).
|
||||
.ie n .IP "$dirent\->\fIlast_author()\fR" 4
|
||||
.el .IP "\f(CW$dirent\fR\->\fIlast_author()\fR" 4
|
||||
.IX Item "$dirent->last_author()"
|
||||
Author of created rev.
|
||||
.SS "svn_auth_cred_simple_t"
|
||||
.IX Subsection "svn_auth_cred_simple_t"
|
||||
.ie n .IP "$simple\->\fIusername()\fR" 4
|
||||
.el .IP "\f(CW$simple\fR\->\fIusername()\fR" 4
|
||||
.IX Item "$simple->username()"
|
||||
Username.
|
||||
.ie n .IP "$simple\->\fIpassword()\fR" 4
|
||||
.el .IP "\f(CW$simple\fR\->\fIpassword()\fR" 4
|
||||
.IX Item "$simple->password()"
|
||||
Password.
|
||||
.ie n .IP "$simple\->\fImay_save()\fR" 4
|
||||
.el .IP "\f(CW$simple\fR\->\fImay_save()\fR" 4
|
||||
.IX Item "$simple->may_save()"
|
||||
Indicates if the credentials may be saved (to disk).
|
||||
.SS "svn_auth_cred_username_t"
|
||||
.IX Subsection "svn_auth_cred_username_t"
|
||||
.ie n .IP "$username\->\fIusername()\fR" 4
|
||||
.el .IP "\f(CW$username\fR\->\fIusername()\fR" 4
|
||||
.IX Item "$username->username()"
|
||||
Username.
|
||||
.ie n .IP "$username\->\fImay_save()\fR" 4
|
||||
.el .IP "\f(CW$username\fR\->\fImay_save()\fR" 4
|
||||
.IX Item "$username->may_save()"
|
||||
Indicates if the credentials may be saved (to disk).
|
||||
.SS "svn_auth_cred_ssl_server_trust_t"
|
||||
.IX Subsection "svn_auth_cred_ssl_server_trust_t"
|
||||
.ie n .IP "$strust\->\fImay_save()\fR" 4
|
||||
.el .IP "\f(CW$strust\fR\->\fImay_save()\fR" 4
|
||||
.IX Item "$strust->may_save()"
|
||||
Indicates if the credentials may be saved (to disk).
|
||||
.ie n .IP "$strust\->\fIaccepted_failures()\fR" 4
|
||||
.el .IP "\f(CW$strust\fR\->\fIaccepted_failures()\fR" 4
|
||||
.IX Item "$strust->accepted_failures()"
|
||||
Bit mask of the accepted failures.
|
||||
.SS "svn_auth_ssl_server_cert_info_t"
|
||||
.IX Subsection "svn_auth_ssl_server_cert_info_t"
|
||||
.ie n .IP "$scert\->\fIhostname()\fR" 4
|
||||
.el .IP "\f(CW$scert\fR\->\fIhostname()\fR" 4
|
||||
.IX Item "$scert->hostname()"
|
||||
Primary \s-1CN\s0.
|
||||
.ie n .IP "$scert\->\fIfingerprint()\fR" 4
|
||||
.el .IP "\f(CW$scert\fR\->\fIfingerprint()\fR" 4
|
||||
.IX Item "$scert->fingerprint()"
|
||||
\&\s-1ASCII\s0 fingerprint.
|
||||
.ie n .IP "$scert\->\fIvalid_from()\fR" 4
|
||||
.el .IP "\f(CW$scert\fR\->\fIvalid_from()\fR" 4
|
||||
.IX Item "$scert->valid_from()"
|
||||
\&\s-1ASCII\s0 date from which the certificate is valid.
|
||||
.ie n .IP "$scert\->\fIvalid_until()\fR" 4
|
||||
.el .IP "\f(CW$scert\fR\->\fIvalid_until()\fR" 4
|
||||
.IX Item "$scert->valid_until()"
|
||||
\&\s-1ASCII\s0 date until which the certificate is valid.
|
||||
.ie n .IP "$scert\->\fIissuer_dname()\fR" 4
|
||||
.el .IP "\f(CW$scert\fR\->\fIissuer_dname()\fR" 4
|
||||
.IX Item "$scert->issuer_dname()"
|
||||
\&\s-1DN\s0 of the certificate issuer.
|
||||
.ie n .IP "$scert\->\fIascii_cert()\fR" 4
|
||||
.el .IP "\f(CW$scert\fR\->\fIascii_cert()\fR" 4
|
||||
.IX Item "$scert->ascii_cert()"
|
||||
Base\-64 encoded \s-1DER\s0 certificate representation.
|
||||
.SS "svn_auth_cred_ssl_client_cert_t"
|
||||
.IX Subsection "svn_auth_cred_ssl_client_cert_t"
|
||||
.ie n .IP "$ccert\->\fIcert_file()\fR" 4
|
||||
.el .IP "\f(CW$ccert\fR\->\fIcert_file()\fR" 4
|
||||
.IX Item "$ccert->cert_file()"
|
||||
Full paths to the certificate file.
|
||||
.ie n .IP "$ccert\->\fImay_save()\fR" 4
|
||||
.el .IP "\f(CW$ccert\fR\->\fImay_save()\fR" 4
|
||||
.IX Item "$ccert->may_save()"
|
||||
Indicates if the credentials may be saved (to disk).
|
||||
.SS "svn_auth_cred_ssl_client_cert_pw_t"
|
||||
.IX Subsection "svn_auth_cred_ssl_client_cert_pw_t"
|
||||
.ie n .IP "$ccertpw\->\fIpassword()\fR" 4
|
||||
.el .IP "\f(CW$ccertpw\fR\->\fIpassword()\fR" 4
|
||||
.IX Item "$ccertpw->password()"
|
||||
Certificate password.
|
||||
.ie n .IP "$ccertpw\->\fImay_save()\fR" 4
|
||||
.el .IP "\f(CW$ccertpw\fR\->\fImay_save()\fR" 4
|
||||
.IX Item "$ccertpw->may_save()"
|
||||
Indicates if the credentials may be saved (to disk).
|
||||
.SH "CONSTANTS"
|
||||
.IX Header "CONSTANTS"
|
||||
.SS "SVN::Auth::SSL"
|
||||
.IX Subsection "SVN::Auth::SSL"
|
||||
.ie n .IP "$SVN::Auth::SSL::NOTYETVALID" 4
|
||||
.el .IP "\f(CW$SVN::Auth::SSL::NOTYETVALID\fR" 4
|
||||
.IX Item "$SVN::Auth::SSL::NOTYETVALID"
|
||||
Certificate is not yet valid.
|
||||
.ie n .IP "$SVN::Auth::SSL::EXPIRED" 4
|
||||
.el .IP "\f(CW$SVN::Auth::SSL::EXPIRED\fR" 4
|
||||
.IX Item "$SVN::Auth::SSL::EXPIRED"
|
||||
Certificate has expired.
|
||||
.ie n .IP "$SVN::Auth::SSL::CNMISMATCH" 4
|
||||
.el .IP "\f(CW$SVN::Auth::SSL::CNMISMATCH\fR" 4
|
||||
.IX Item "$SVN::Auth::SSL::CNMISMATCH"
|
||||
Certificate's \s-1CN\s0 (hostname) does not match the remote hostname.
|
||||
.ie n .IP "$SVN::Auth::SSL::UNKNOWNCA" 4
|
||||
.el .IP "\f(CW$SVN::Auth::SSL::UNKNOWNCA\fR" 4
|
||||
.IX Item "$SVN::Auth::SSL::UNKNOWNCA"
|
||||
Certificate authority is unknown (i.e. not trusted).
|
||||
.ie n .IP "$SVN::Auth::SSL::OTHER" 4
|
||||
.el .IP "\f(CW$SVN::Auth::SSL::OTHER\fR" 4
|
||||
.IX Item "$SVN::Auth::SSL::OTHER"
|
||||
Other failure. This can happen if neon has introduced a new failure bit that we
|
||||
do not handle yet.
|
||||
.SS "_p_svn_lock_t"
|
||||
.IX Subsection "_p_svn_lock_t"
|
||||
Objects of this class contain information about locks placed on files
|
||||
in a repository. It has the following accessor methods:
|
||||
.IP "path" 4
|
||||
.IX Item "path"
|
||||
The full path to the file which is locked, starting with a forward slash (\f(CW\*(C`/\*(C'\fR).
|
||||
.IP "token" 4
|
||||
.IX Item "token"
|
||||
A string containing the lock token, which is a unique \s-1URI\s0.
|
||||
.IP "owner" 4
|
||||
.IX Item "owner"
|
||||
The username of whoever owns the lock.
|
||||
.IP "comment" 4
|
||||
.IX Item "comment"
|
||||
A comment associated with the lock, or undef if there isn't one.
|
||||
.IP "is_dav_comment" 4
|
||||
.IX Item "is_dav_comment"
|
||||
True if the comment was made by a generic \s-1DAV\s0 client.
|
||||
.IP "creation_date" 4
|
||||
.IX Item "creation_date"
|
||||
Time at which the lock was created, as the number of microseconds since
|
||||
00:00:00 January\ 1, 1970 \s-1UTC\s0. Divide it by 1_000_000 to get a Unix
|
||||
time_t value.
|
||||
.IP "expiration_date" 4
|
||||
.IX Item "expiration_date"
|
||||
When the lock will expire. Has the value '0' if the lock will never expire.
|
||||
.SH "AUTHORS"
|
||||
.IX Header "AUTHORS"
|
||||
Chia-liang Kao <clkao@clkao.org>
|
||||
.SH "COPYRIGHT"
|
||||
.IX Header "COPYRIGHT"
|
||||
Copyright (c) 2003 CollabNet. All rights reserved.
|
||||
.PP
|
||||
This software is licensed as described in the file \s-1COPYING\s0, which you
|
||||
should have received as part of this distribution. The terms are also
|
||||
available at http://subversion.tigris.org/license\-1.html. If newer
|
||||
versions of this license are posted there, you may use a newer version
|
||||
instead, at your option.
|
||||
.PP
|
||||
This software consists of voluntary contributions made by many
|
||||
individuals. For exact contribution history, see the revision history
|
||||
and logs, available at http://subversion.tigris.org/.
|
|
@ -1,224 +0,0 @@
|
|||
.\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07)
|
||||
.\"
|
||||
.\" Standard preamble:
|
||||
.\" ========================================================================
|
||||
.de Sp \" Vertical space (when we can't use .PP)
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.de Vb \" Begin verbatim text
|
||||
.ft CW
|
||||
.nf
|
||||
.ne \\$1
|
||||
..
|
||||
.de Ve \" End verbatim text
|
||||
.ft R
|
||||
.fi
|
||||
..
|
||||
.\" Set up some character translations and predefined strings. \*(-- will
|
||||
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
|
||||
.\" double quote, and \*(R" will give a right double quote. \*(C+ will
|
||||
.\" give a nicer C++. Capital omega is used to do unbreakable dashes and
|
||||
.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
|
||||
.\" nothing in troff, for use with C<>.
|
||||
.tr \(*W-
|
||||
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
|
||||
.ie n \{\
|
||||
. ds -- \(*W-
|
||||
. ds PI pi
|
||||
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
|
||||
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
|
||||
. ds L" ""
|
||||
. ds R" ""
|
||||
. ds C` ""
|
||||
. ds C' ""
|
||||
'br\}
|
||||
.el\{\
|
||||
. ds -- \|\(em\|
|
||||
. ds PI \(*p
|
||||
. ds L" ``
|
||||
. ds R" ''
|
||||
'br\}
|
||||
.\"
|
||||
.\" Escape single quotes in literal strings from groff's Unicode transform.
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\"
|
||||
.\" If the F register is turned on, we'll generate index entries on stderr for
|
||||
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
|
||||
.\" entries marked with X<> in POD. Of course, you'll have to process the
|
||||
.\" output yourself in some meaningful fashion.
|
||||
.ie \nF \{\
|
||||
. de IX
|
||||
. tm Index:\\$1\t\\n%\t"\\$2"
|
||||
..
|
||||
. nr % 0
|
||||
. rr F
|
||||
.\}
|
||||
.el \{\
|
||||
. de IX
|
||||
..
|
||||
.\}
|
||||
.\"
|
||||
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
|
||||
.\" Fear. Run. Save yourself. No user-serviceable parts.
|
||||
. \" fudge factors for nroff and troff
|
||||
.if n \{\
|
||||
. ds #H 0
|
||||
. ds #V .8m
|
||||
. ds #F .3m
|
||||
. ds #[ \f1
|
||||
. ds #] \fP
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
|
||||
. ds #V .6m
|
||||
. ds #F 0
|
||||
. ds #[ \&
|
||||
. ds #] \&
|
||||
.\}
|
||||
. \" simple accents for nroff and troff
|
||||
.if n \{\
|
||||
. ds ' \&
|
||||
. ds ` \&
|
||||
. ds ^ \&
|
||||
. ds , \&
|
||||
. ds ~ ~
|
||||
. ds /
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
|
||||
. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
|
||||
. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
|
||||
. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
|
||||
. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
|
||||
. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
|
||||
.\}
|
||||
. \" troff and (daisy-wheel) nroff accents
|
||||
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
|
||||
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
|
||||
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
|
||||
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
|
||||
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
|
||||
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
|
||||
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
|
||||
.ds ae a\h'-(\w'a'u*4/10)'e
|
||||
.ds Ae A\h'-(\w'A'u*4/10)'E
|
||||
. \" corrections for vroff
|
||||
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
|
||||
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
|
||||
. \" for low resolution devices (crt and lpr)
|
||||
.if \n(.H>23 .if \n(.V>19 \
|
||||
\{\
|
||||
. ds : e
|
||||
. ds 8 ss
|
||||
. ds o a
|
||||
. ds d- d\h'-1'\(ga
|
||||
. ds D- D\h'-1'\(hy
|
||||
. ds th \o'bp'
|
||||
. ds Th \o'LP'
|
||||
. ds ae ae
|
||||
. ds Ae AE
|
||||
.\}
|
||||
.rm #[ #] #H #V #F C
|
||||
.\" ========================================================================
|
||||
.\"
|
||||
.IX Title "native::Delta 3"
|
||||
.TH native::Delta 3 "2005-10-24" "perl v5.10.1" "User Contributed Perl Documentation"
|
||||
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
|
||||
.\" way too many mistakes in technical documents.
|
||||
.if n .ad l
|
||||
.nh
|
||||
.SH "NAME"
|
||||
SVN::Delta \- Subversion delta functions
|
||||
.SH "SYNOPSIS"
|
||||
.IX Header "SYNOPSIS"
|
||||
.Vb 3
|
||||
\& require SVN::Core;
|
||||
\& require SVN::Repos;
|
||||
\& require SVN::Delta;
|
||||
\&
|
||||
\& # driving an editor
|
||||
\& my $editor = SVN::Delta::Editor\->
|
||||
\& new(SVN::Repos::get_commit_editor($repos, "file://$repospath",
|
||||
\& \*(Aq/\*(Aq, \*(Aqroot\*(Aq, \*(AqFOO\*(Aq, \e&committed));
|
||||
\&
|
||||
\& my $rootbaton = $editor\->open_root(0);
|
||||
\&
|
||||
\& my $fbaton = $editor\->add_file (\*(Aqfilea\*(Aq, $rootbaton,
|
||||
\& undef, \-1);
|
||||
\&
|
||||
\& my $ret = $editor\->apply_textdelta ($fbaton, undef);
|
||||
\& SVN::TxDelta::send_string("FILEA CONTENT", @$ret);
|
||||
\&
|
||||
\& # implement an editor in perl
|
||||
\& SVN::Repos::dir_delta($root1, $path, undef,
|
||||
\& $root2, $path,
|
||||
\& SVN::Delta::Editor\->new(_debug=>1),
|
||||
\& 1, 1, 0, 1
|
||||
.Ve
|
||||
.SH "DESCRIPTION"
|
||||
.IX Header "DESCRIPTION"
|
||||
SVN::Delta wraps delta related function in subversion. The most
|
||||
important one is SVN::Delta::Editor, the interface for describing tree
|
||||
deltas. by default SVN::Delta::Editor relays method calls to its
|
||||
internal member \f(CW\*(C`_editor\*(C'\fR, which could either be an editor in C (such
|
||||
as the one you get from get_commit_editor), or another
|
||||
SVN::Delta::Editor object.
|
||||
.SH "SVN::Delta::Editor"
|
||||
.IX Header "SVN::Delta::Editor"
|
||||
.SS "Driving Editors"
|
||||
.IX Subsection "Driving Editors"
|
||||
If you want to drive a native editor (such as commit_editor obtained
|
||||
by SVN::Repos::get_commit_editor), create a SVN::Delta::Editor object
|
||||
with the native editor/baton pair. The object will then be ready to
|
||||
use and its method calls will be relayed to the native editor.
|
||||
.SS "Implementing Editors"
|
||||
.IX Subsection "Implementing Editors"
|
||||
If you want to implement an editor, subclass SVN::Delta::Editor and
|
||||
implement the editors callbacks. see the \s-1METHODS\s0 section below.
|
||||
.SS "\s-1CONSTRUCTOR\s0 \- new (...)"
|
||||
.IX Subsection "CONSTRUCTOR - new (...)"
|
||||
.ie n .IP "new ($editor, $editor_baton)" 4
|
||||
.el .IP "new ($editor, \f(CW$editor_baton\fR)" 4
|
||||
.IX Item "new ($editor, $editor_baton)"
|
||||
Link to the native editor
|
||||
.PP
|
||||
You can also pass a hash array to new:
|
||||
.IP "_debug" 4
|
||||
.IX Item "_debug"
|
||||
Turn on debug.
|
||||
.IP "_editor" 4
|
||||
.IX Item "_editor"
|
||||
An arrayref of the editor/baton pair or another SVN::Delta::Editor
|
||||
object to link with.
|
||||
.SS "\s-1METHODS\s0"
|
||||
.IX Subsection "METHODS"
|
||||
Please consult the svn_delta.h section in the Subversion \s-1API\s0. Member
|
||||
functions of svn_delta_editor_t could be called as methods of
|
||||
SVN::Delta::Editor objects, with the edit_baton omitted. The pool is
|
||||
also optional.
|
||||
.PP
|
||||
If you are subclassing, the methods take exactly the same arguments as
|
||||
the member functions (note that void ** are returned data though as
|
||||
throughout the perl bindings), with the edit_baton omitted.
|
||||
.SH "BUGS"
|
||||
.IX Header "BUGS"
|
||||
Functions returning editor/baton pair should really be typemapped to a
|
||||
SVN::Delta::Editor object.
|
||||
.SH "AUTHORS"
|
||||
.IX Header "AUTHORS"
|
||||
Chia-liang Kao <clkao@clkao.org>
|
||||
.SH "COPYRIGHT"
|
||||
.IX Header "COPYRIGHT"
|
||||
Copyright (c) 2003 CollabNet. All rights reserved.
|
||||
.PP
|
||||
This software is licensed as described in the file \s-1COPYING\s0, which you
|
||||
should have received as part of this distribution. The terms are also
|
||||
available at http://subversion.tigris.org/license\-1.html. If newer
|
||||
versions of this license are posted there, you may use a newer version
|
||||
instead, at your option.
|
||||
.PP
|
||||
This software consists of voluntary contributions made by many
|
||||
individuals. For exact contribution history, see the revision history
|
||||
and logs, available at http://subversion.tigris.org/.
|
|
@ -1,567 +0,0 @@
|
|||
.\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07)
|
||||
.\"
|
||||
.\" Standard preamble:
|
||||
.\" ========================================================================
|
||||
.de Sp \" Vertical space (when we can't use .PP)
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.de Vb \" Begin verbatim text
|
||||
.ft CW
|
||||
.nf
|
||||
.ne \\$1
|
||||
..
|
||||
.de Ve \" End verbatim text
|
||||
.ft R
|
||||
.fi
|
||||
..
|
||||
.\" Set up some character translations and predefined strings. \*(-- will
|
||||
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
|
||||
.\" double quote, and \*(R" will give a right double quote. \*(C+ will
|
||||
.\" give a nicer C++. Capital omega is used to do unbreakable dashes and
|
||||
.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
|
||||
.\" nothing in troff, for use with C<>.
|
||||
.tr \(*W-
|
||||
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
|
||||
.ie n \{\
|
||||
. ds -- \(*W-
|
||||
. ds PI pi
|
||||
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
|
||||
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
|
||||
. ds L" ""
|
||||
. ds R" ""
|
||||
. ds C` ""
|
||||
. ds C' ""
|
||||
'br\}
|
||||
.el\{\
|
||||
. ds -- \|\(em\|
|
||||
. ds PI \(*p
|
||||
. ds L" ``
|
||||
. ds R" ''
|
||||
'br\}
|
||||
.\"
|
||||
.\" Escape single quotes in literal strings from groff's Unicode transform.
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\"
|
||||
.\" If the F register is turned on, we'll generate index entries on stderr for
|
||||
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
|
||||
.\" entries marked with X<> in POD. Of course, you'll have to process the
|
||||
.\" output yourself in some meaningful fashion.
|
||||
.ie \nF \{\
|
||||
. de IX
|
||||
. tm Index:\\$1\t\\n%\t"\\$2"
|
||||
..
|
||||
. nr % 0
|
||||
. rr F
|
||||
.\}
|
||||
.el \{\
|
||||
. de IX
|
||||
..
|
||||
.\}
|
||||
.\"
|
||||
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
|
||||
.\" Fear. Run. Save yourself. No user-serviceable parts.
|
||||
. \" fudge factors for nroff and troff
|
||||
.if n \{\
|
||||
. ds #H 0
|
||||
. ds #V .8m
|
||||
. ds #F .3m
|
||||
. ds #[ \f1
|
||||
. ds #] \fP
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
|
||||
. ds #V .6m
|
||||
. ds #F 0
|
||||
. ds #[ \&
|
||||
. ds #] \&
|
||||
.\}
|
||||
. \" simple accents for nroff and troff
|
||||
.if n \{\
|
||||
. ds ' \&
|
||||
. ds ` \&
|
||||
. ds ^ \&
|
||||
. ds , \&
|
||||
. ds ~ ~
|
||||
. ds /
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
|
||||
. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
|
||||
. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
|
||||
. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
|
||||
. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
|
||||
. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
|
||||
.\}
|
||||
. \" troff and (daisy-wheel) nroff accents
|
||||
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
|
||||
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
|
||||
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
|
||||
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
|
||||
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
|
||||
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
|
||||
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
|
||||
.ds ae a\h'-(\w'a'u*4/10)'e
|
||||
.ds Ae A\h'-(\w'A'u*4/10)'E
|
||||
. \" corrections for vroff
|
||||
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
|
||||
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
|
||||
. \" for low resolution devices (crt and lpr)
|
||||
.if \n(.H>23 .if \n(.V>19 \
|
||||
\{\
|
||||
. ds : e
|
||||
. ds 8 ss
|
||||
. ds o a
|
||||
. ds d- d\h'-1'\(ga
|
||||
. ds D- D\h'-1'\(hy
|
||||
. ds th \o'bp'
|
||||
. ds Th \o'LP'
|
||||
. ds ae ae
|
||||
. ds Ae AE
|
||||
.\}
|
||||
.rm #[ #] #H #V #F C
|
||||
.\" ========================================================================
|
||||
.\"
|
||||
.IX Title "native::Fs 3"
|
||||
.TH native::Fs 3 "2006-09-13" "perl v5.10.1" "User Contributed Perl Documentation"
|
||||
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
|
||||
.\" way too many mistakes in technical documents.
|
||||
.if n .ad l
|
||||
.nh
|
||||
.SH "NAME"
|
||||
SVN::Fs \- Subversion filesystem functions
|
||||
.SH "DESCRIPTION"
|
||||
.IX Header "DESCRIPTION"
|
||||
SVN::Fs wraps the functions in svn_fs.h. The actual namespace
|
||||
for filesystem objects is \f(CW\*(C`_p_svn_fs_t\*(C'\fR.
|
||||
.SH "FUNCTIONS"
|
||||
.IX Header "FUNCTIONS"
|
||||
.ie n .IP "SVN::Fs::berkeley_logfiles($path, $only_unused)" 4
|
||||
.el .IP "SVN::Fs::berkeley_logfiles($path, \f(CW$only_unused\fR)" 4
|
||||
.IX Item "SVN::Fs::berkeley_logfiles($path, $only_unused)"
|
||||
.PD 0
|
||||
.IP "SVN::Fs::berkeley_recover($path)" 4
|
||||
.IX Item "SVN::Fs::berkeley_recover($path)"
|
||||
.ie n .IP "SVN::Fs::check_related($id1, $id2)" 4
|
||||
.el .IP "SVN::Fs::check_related($id1, \f(CW$id2\fR)" 4
|
||||
.IX Item "SVN::Fs::check_related($id1, $id2)"
|
||||
.ie n .IP "SVN::Fs::compare_ids($id1, $id2)" 4
|
||||
.el .IP "SVN::Fs::compare_ids($id1, \f(CW$id2\fR)" 4
|
||||
.IX Item "SVN::Fs::compare_ids($id1, $id2)"
|
||||
.ie n .IP "SVN::Fs::contents_changed($root1, $path1, $root2, $path2)" 4
|
||||
.el .IP "SVN::Fs::contents_changed($root1, \f(CW$path1\fR, \f(CW$root2\fR, \f(CW$path2\fR)" 4
|
||||
.IX Item "SVN::Fs::contents_changed($root1, $path1, $root2, $path2)"
|
||||
.ie n .IP "SVN::Fs::create($path, $config)" 4
|
||||
.el .IP "SVN::Fs::create($path, \f(CW$config\fR)" 4
|
||||
.IX Item "SVN::Fs::create($path, $config)"
|
||||
.IP "SVN::Fs::delete_fs($path)" 4
|
||||
.IX Item "SVN::Fs::delete_fs($path)"
|
||||
.ie n .IP "SVN::Fs::deltify_revision($fs, $rev)" 4
|
||||
.el .IP "SVN::Fs::deltify_revision($fs, \f(CW$rev\fR)" 4
|
||||
.IX Item "SVN::Fs::deltify_revision($fs, $rev)"
|
||||
.ie n .IP "SVN::Fs::get_file_delta_stream($source_root, $source_path, $target_root, $target_path)" 4
|
||||
.el .IP "SVN::Fs::get_file_delta_stream($source_root, \f(CW$source_path\fR, \f(CW$target_root\fR, \f(CW$target_path\fR)" 4
|
||||
.IX Item "SVN::Fs::get_file_delta_stream($source_root, $source_path, $target_root, $target_path)"
|
||||
.ie n .IP "SVN::Fs::hotcopy($src_path, $dest_path, $clean)" 4
|
||||
.el .IP "SVN::Fs::hotcopy($src_path, \f(CW$dest_path\fR, \f(CW$clean\fR)" 4
|
||||
.IX Item "SVN::Fs::hotcopy($src_path, $dest_path, $clean)"
|
||||
.IP "SVN::Fs::initialize($pool)" 4
|
||||
.IX Item "SVN::Fs::initialize($pool)"
|
||||
.ie n .IP "SVN::Fs::merge($source_root, $source_path, $target_root, $target_path, $ancestor_root, $ancestor_path)" 4
|
||||
.el .IP "SVN::Fs::merge($source_root, \f(CW$source_path\fR, \f(CW$target_root\fR, \f(CW$target_path\fR, \f(CW$ancestor_root\fR, \f(CW$ancestor_path\fR)" 4
|
||||
.IX Item "SVN::Fs::merge($source_root, $source_path, $target_root, $target_path, $ancestor_root, $ancestor_path)"
|
||||
.ie n .IP "SVN::Fs::open($path, $config)" 4
|
||||
.el .IP "SVN::Fs::open($path, \f(CW$config\fR)" 4
|
||||
.IX Item "SVN::Fs::open($path, $config)"
|
||||
.IP "SVN::Fs::path($fs)" 4
|
||||
.IX Item "SVN::Fs::path($fs)"
|
||||
.IP "SVN::Fs::print_modules($s)" 4
|
||||
.IX Item "SVN::Fs::print_modules($s)"
|
||||
.PD
|
||||
\&\s-1TODO\s0 \- doesn't work, segfaults if \f(CW$s\fR is null, doesn't do anything if
|
||||
its an empty string
|
||||
.ie n .IP "SVN::Fs::props_changed($root1, $path1, $root2, $path2)" 4
|
||||
.el .IP "SVN::Fs::props_changed($root1, \f(CW$path1\fR, \f(CW$root2\fR, \f(CW$path2\fR)" 4
|
||||
.IX Item "SVN::Fs::props_changed($root1, $path1, $root2, $path2)"
|
||||
See also \f(CW\*(C`SVN::Fs::contents_changed\*(C'\fR
|
||||
.ie n .IP "SVN::Fs::purge_txn($fs, $txn_id)" 4
|
||||
.el .IP "SVN::Fs::purge_txn($fs, \f(CW$txn_id\fR)" 4
|
||||
.IX Item "SVN::Fs::purge_txn($fs, $txn_id)"
|
||||
Cleanup the transaction \f(CW$txn_id\fR, removing it completely from
|
||||
the filesystem \f(CW$fs\fR.
|
||||
.ie n .IP "SVN::Fs::set_warning_func($fs, $code, $baton)" 4
|
||||
.el .IP "SVN::Fs::set_warning_func($fs, \f(CW$code\fR, \f(CW$baton\fR)" 4
|
||||
.IX Item "SVN::Fs::set_warning_func($fs, $code, $baton)"
|
||||
.PD 0
|
||||
.IP "SVN::Fs::unparse_id($id)" 4
|
||||
.IX Item "SVN::Fs::unparse_id($id)"
|
||||
.PD
|
||||
Return a string containing the unparsed form of the node or node
|
||||
revision id \f(CW$id\fR, which must be a \f(CW\*(C`_p_svn_fs_id_t\*(C'\fR object.
|
||||
.Sp
|
||||
\&\s-1TODO\s0 \- why isn't this a method of that object?
|
||||
.IP "\fISVN::Fs::version()\fR" 4
|
||||
.IX Item "SVN::Fs::version()"
|
||||
\&\s-1TODO\s0 \- what can we do with the _p_svn_version_t value returned?
|
||||
.IP "SVN::Fs::create_access($username)" 4
|
||||
.IX Item "SVN::Fs::create_access($username)"
|
||||
Return a new \f(CW\*(C`_p_svn_fs_access_t\*(C'\fR object representing \f(CW$username\fR.
|
||||
\&\f(CW$username\fR is presumed to have been authenticated by the caller.
|
||||
.SH "_p_svn_fs_t"
|
||||
.IX Header "_p_svn_fs_t"
|
||||
.ie n .IP "$fs\->begin_txn($rev)" 4
|
||||
.el .IP "\f(CW$fs\fR\->begin_txn($rev)" 4
|
||||
.IX Item "$fs->begin_txn($rev)"
|
||||
Creates a new transaction in the repository, and returns a
|
||||
\&\f(CW\*(C`_p_svn_fs_txn_t\*(C'\fR object representing it. The new transaction's
|
||||
base revision will be \f(CW$rev\fR, which should be a number.
|
||||
.ie n .IP "$fs\->change_rev_prop" 4
|
||||
.el .IP "\f(CW$fs\fR\->change_rev_prop" 4
|
||||
.IX Item "$fs->change_rev_prop"
|
||||
.PD 0
|
||||
.ie n .IP "$fs\->\fIgenerate_lock_token()\fR" 4
|
||||
.el .IP "\f(CW$fs\fR\->\fIgenerate_lock_token()\fR" 4
|
||||
.IX Item "$fs->generate_lock_token()"
|
||||
.PD
|
||||
Generate a unique lock-token using \f(CW$fs\fR.
|
||||
.Sp
|
||||
\&\s-1TODO\s0 \- translate this to apply to Perl:
|
||||
This can be used in to populate lock\->token before calling
|
||||
\&\fIsvn_fs_attach_lock()\fR.
|
||||
.ie n .IP "$fs\->\fIget_access()\fR" 4
|
||||
.el .IP "\f(CW$fs\fR\->\fIget_access()\fR" 4
|
||||
.IX Item "$fs->get_access()"
|
||||
The filesystem's current access context, as a \f(CW\*(C`_p_svn_fs_access_t\*(C'\fR
|
||||
object. Returns undef if no access context has been set with
|
||||
the \f(CW\*(C`set_access()\*(C'\fR method.
|
||||
.ie n .IP "$fs\->get_lock" 4
|
||||
.el .IP "\f(CW$fs\fR\->get_lock" 4
|
||||
.IX Item "$fs->get_lock"
|
||||
.PD 0
|
||||
.ie n .IP "$fs\->get_locks" 4
|
||||
.el .IP "\f(CW$fs\fR\->get_locks" 4
|
||||
.IX Item "$fs->get_locks"
|
||||
.ie n .IP "$fs\->\fIget_uuid()\fR" 4
|
||||
.el .IP "\f(CW$fs\fR\->\fIget_uuid()\fR" 4
|
||||
.IX Item "$fs->get_uuid()"
|
||||
.PD
|
||||
The \s-1UUID\s0 associated with \f(CW$fs\fR.
|
||||
.ie n .IP "$fs\->\fIlist_transactions()\fR" 4
|
||||
.el .IP "\f(CW$fs\fR\->\fIlist_transactions()\fR" 4
|
||||
.IX Item "$fs->list_transactions()"
|
||||
A reference to an array of all currently active transactions in the
|
||||
filesystem. Each one is a string containing the transaction's \s-1ID\s0,
|
||||
suitable for passing to \f(CW\*(C`$fs\->open_txn()\*(C'\fR.
|
||||
.ie n .IP "$fs\->lock" 4
|
||||
.el .IP "\f(CW$fs\fR\->lock" 4
|
||||
.IX Item "$fs->lock"
|
||||
.PD 0
|
||||
.ie n .IP "$fs\->open_txn($name)" 4
|
||||
.el .IP "\f(CW$fs\fR\->open_txn($name)" 4
|
||||
.IX Item "$fs->open_txn($name)"
|
||||
.PD
|
||||
Get a transaction in the repository by name. Returns a
|
||||
\&\f(CW\*(C`_p_svn_fs_txn_t\*(C'\fR object.
|
||||
.ie n .IP "$fs\->revision_prop($rev, $propname)" 4
|
||||
.el .IP "\f(CW$fs\fR\->revision_prop($rev, \f(CW$propname\fR)" 4
|
||||
.IX Item "$fs->revision_prop($rev, $propname)"
|
||||
The value of revision property \f(CW$propname\fR in revision \f(CW$rev\fR.
|
||||
.ie n .IP "$fs\->revision_proplist($rev)" 4
|
||||
.el .IP "\f(CW$fs\fR\->revision_proplist($rev)" 4
|
||||
.IX Item "$fs->revision_proplist($rev)"
|
||||
A hashref containing the names and values of all revision properties
|
||||
from revision \f(CW$rev\fR.
|
||||
.ie n .IP "$fs\->revision_root" 4
|
||||
.el .IP "\f(CW$fs\fR\->revision_root" 4
|
||||
.IX Item "$fs->revision_root"
|
||||
.PD 0
|
||||
.ie n .IP "$fs\->set_access($access)" 4
|
||||
.el .IP "\f(CW$fs\fR\->set_access($access)" 4
|
||||
.IX Item "$fs->set_access($access)"
|
||||
.PD
|
||||
Associate an access context with an open filesystem.
|
||||
.Sp
|
||||
This method can be run multiple times on the same open
|
||||
filesystem, in order to change the filesystem access context for
|
||||
different filesystem operations. \f(CW$access\fR should be
|
||||
a \f(CW\*(C`_p_svn_fs_access_t\*(C'\fR object, or undef to disassociate the
|
||||
current access context from the filesystem.
|
||||
.ie n .IP "$fs\->set_uuid($uuid)" 4
|
||||
.el .IP "\f(CW$fs\fR\->set_uuid($uuid)" 4
|
||||
.IX Item "$fs->set_uuid($uuid)"
|
||||
Associate \f(CW$uuid\fR with \f(CW$fs\fR.
|
||||
.ie n .IP "$fs\->unlock" 4
|
||||
.el .IP "\f(CW$fs\fR\->unlock" 4
|
||||
.IX Item "$fs->unlock"
|
||||
.PD 0
|
||||
.ie n .IP "$fs\->\fIyoungest_rev()\fR" 4
|
||||
.el .IP "\f(CW$fs\fR\->\fIyoungest_rev()\fR" 4
|
||||
.IX Item "$fs->youngest_rev()"
|
||||
.PD
|
||||
Return the number of the youngest revision in the filesystem.
|
||||
The oldest revision in any filesystem is numbered zero.
|
||||
.SH "_p_svn_fs_root_t"
|
||||
.IX Header "_p_svn_fs_root_t"
|
||||
.ie n .IP "$root\->apply_text" 4
|
||||
.el .IP "\f(CW$root\fR\->apply_text" 4
|
||||
.IX Item "$root->apply_text"
|
||||
.PD 0
|
||||
.ie n .IP "$root\->apply_textdelta" 4
|
||||
.el .IP "\f(CW$root\fR\->apply_textdelta" 4
|
||||
.IX Item "$root->apply_textdelta"
|
||||
.ie n .IP "$root\->change_node_prop($path, $propname, $value)" 4
|
||||
.el .IP "\f(CW$root\fR\->change_node_prop($path, \f(CW$propname\fR, \f(CW$value\fR)" 4
|
||||
.IX Item "$root->change_node_prop($path, $propname, $value)"
|
||||
.ie n .IP "$root\->check_path($path)" 4
|
||||
.el .IP "\f(CW$root\fR\->check_path($path)" 4
|
||||
.IX Item "$root->check_path($path)"
|
||||
.PD
|
||||
Kind of node at \f(CW$path\fR. A number which matches one of these constants:
|
||||
\&\f(CW$SVN::Node::none\fR, \f(CW$SVN::Node::file\fR,
|
||||
\&\f(CW$SVN::Node::dir\fR, \f(CW$SVN::Node::unknown\fR.
|
||||
.ie n .IP "$root\->close_root" 4
|
||||
.el .IP "\f(CW$root\fR\->close_root" 4
|
||||
.IX Item "$root->close_root"
|
||||
.PD 0
|
||||
.ie n .IP "$root\->closest_copy" 4
|
||||
.el .IP "\f(CW$root\fR\->closest_copy" 4
|
||||
.IX Item "$root->closest_copy"
|
||||
.ie n .IP "$root\->copied_from" 4
|
||||
.el .IP "\f(CW$root\fR\->copied_from" 4
|
||||
.IX Item "$root->copied_from"
|
||||
.ie n .IP "$root\->copy" 4
|
||||
.el .IP "\f(CW$root\fR\->copy" 4
|
||||
.IX Item "$root->copy"
|
||||
.ie n .IP "$root\->delete" 4
|
||||
.el .IP "\f(CW$root\fR\->delete" 4
|
||||
.IX Item "$root->delete"
|
||||
.ie n .IP "$root\->dir_entries" 4
|
||||
.el .IP "\f(CW$root\fR\->dir_entries" 4
|
||||
.IX Item "$root->dir_entries"
|
||||
.ie n .IP "$root\->file_contents" 4
|
||||
.el .IP "\f(CW$root\fR\->file_contents" 4
|
||||
.IX Item "$root->file_contents"
|
||||
.ie n .IP "$root\->file_length" 4
|
||||
.el .IP "\f(CW$root\fR\->file_length" 4
|
||||
.IX Item "$root->file_length"
|
||||
.ie n .IP "$root\->file_md5_checksum" 4
|
||||
.el .IP "\f(CW$root\fR\->file_md5_checksum" 4
|
||||
.IX Item "$root->file_md5_checksum"
|
||||
.ie n .IP "$root\->\fIfs()\fR" 4
|
||||
.el .IP "\f(CW$root\fR\->\fIfs()\fR" 4
|
||||
.IX Item "$root->fs()"
|
||||
.PD
|
||||
The filesystem to which \f(CW$root\fR belongs, as a \f(CW\*(C`_p_svn_fs_t\*(C'\fR object.
|
||||
.ie n .IP "$root\->is_dir($path)" 4
|
||||
.el .IP "\f(CW$root\fR\->is_dir($path)" 4
|
||||
.IX Item "$root->is_dir($path)"
|
||||
True if there is a node at \f(CW$path\fR which is a directory.
|
||||
.ie n .IP "$root\->is_file($path)" 4
|
||||
.el .IP "\f(CW$root\fR\->is_file($path)" 4
|
||||
.IX Item "$root->is_file($path)"
|
||||
True if there is a node at \f(CW$path\fR which is a file.
|
||||
.ie n .IP "$root\->\fIis_revision_root()\fR" 4
|
||||
.el .IP "\f(CW$root\fR\->\fIis_revision_root()\fR" 4
|
||||
.IX Item "$root->is_revision_root()"
|
||||
True if the root comes from a revision (i.e., the contents has already been
|
||||
committed).
|
||||
.ie n .IP "$root\->\fIis_txn_root()\fR" 4
|
||||
.el .IP "\f(CW$root\fR\->\fIis_txn_root()\fR" 4
|
||||
.IX Item "$root->is_txn_root()"
|
||||
True if the root comes from a transaction.
|
||||
.ie n .IP "$root\->make_dir" 4
|
||||
.el .IP "\f(CW$root\fR\->make_dir" 4
|
||||
.IX Item "$root->make_dir"
|
||||
.PD 0
|
||||
.ie n .IP "$root\->make_file" 4
|
||||
.el .IP "\f(CW$root\fR\->make_file" 4
|
||||
.IX Item "$root->make_file"
|
||||
.ie n .IP "$root\->node_created_path($path)" 4
|
||||
.el .IP "\f(CW$root\fR\->node_created_path($path)" 4
|
||||
.IX Item "$root->node_created_path($path)"
|
||||
.ie n .IP "$root\->node_created_rev($path)" 4
|
||||
.el .IP "\f(CW$root\fR\->node_created_rev($path)" 4
|
||||
.IX Item "$root->node_created_rev($path)"
|
||||
.ie n .IP "$root\->node_history($path)" 4
|
||||
.el .IP "\f(CW$root\fR\->node_history($path)" 4
|
||||
.IX Item "$root->node_history($path)"
|
||||
.PD
|
||||
\&\s-1TODO\s0 \- _p_svn_fs_history_t
|
||||
.ie n .IP "$root\->node_id($path)" 4
|
||||
.el .IP "\f(CW$root\fR\->node_id($path)" 4
|
||||
.IX Item "$root->node_id($path)"
|
||||
.PD 0
|
||||
.ie n .IP "$root\->node_prop($path, $propname)" 4
|
||||
.el .IP "\f(CW$root\fR\->node_prop($path, \f(CW$propname\fR)" 4
|
||||
.IX Item "$root->node_prop($path, $propname)"
|
||||
.ie n .IP "$root\->node_proplist($path)" 4
|
||||
.el .IP "\f(CW$root\fR\->node_proplist($path)" 4
|
||||
.IX Item "$root->node_proplist($path)"
|
||||
.ie n .IP "$root\->\fIpaths_changed()\fR" 4
|
||||
.el .IP "\f(CW$root\fR\->\fIpaths_changed()\fR" 4
|
||||
.IX Item "$root->paths_changed()"
|
||||
.PD
|
||||
A reference to a hash indicating what changes are made in the root.
|
||||
The keys are the paths of the files changed, starting with \f(CW\*(C`/\*(C'\fR to
|
||||
indicate the top-level directory of the repository. The values
|
||||
are \f(CW\*(C`_p_svn_fs_path_change_t\*(C'\fR objects which contain information about
|
||||
what kind of changes are made.
|
||||
.ie n .IP "$root\->revision_link" 4
|
||||
.el .IP "\f(CW$root\fR\->revision_link" 4
|
||||
.IX Item "$root->revision_link"
|
||||
.PD 0
|
||||
.ie n .IP "$root\->revision_root_revision" 4
|
||||
.el .IP "\f(CW$root\fR\->revision_root_revision" 4
|
||||
.IX Item "$root->revision_root_revision"
|
||||
.PD
|
||||
Revision number of the revision the root comes from.
|
||||
For transaction roots, returns \f(CW$SVN::Core::INVALID_REVNUM\fR.
|
||||
.SH "_p_svn_fs_history_t"
|
||||
.IX Header "_p_svn_fs_history_t"
|
||||
.ie n .IP "$history\->\fIlocation()\fR" 4
|
||||
.el .IP "\f(CW$history\fR\->\fIlocation()\fR" 4
|
||||
.IX Item "$history->location()"
|
||||
In list context, a list of two items: the path to the node whose history
|
||||
this is, and the revision number in which it exists. In scalar context
|
||||
returns only the revision number.
|
||||
.ie n .IP "$history\->prev($cross_copies)" 4
|
||||
.el .IP "\f(CW$history\fR\->prev($cross_copies)" 4
|
||||
.IX Item "$history->prev($cross_copies)"
|
||||
.SH "_p_svn_fs_txn_t"
|
||||
.IX Header "_p_svn_fs_txn_t"
|
||||
.PD 0
|
||||
.ie n .IP "$txn\->\fIabort()\fR" 4
|
||||
.el .IP "\f(CW$txn\fR\->\fIabort()\fR" 4
|
||||
.IX Item "$txn->abort()"
|
||||
.PD
|
||||
Abort the transaction. Any changes made in \f(CW$txn\fR are discarded, and
|
||||
the filesystem is left unchanged.
|
||||
.Sp
|
||||
Note: This function first sets the state of \f(CW$txn\fR to 'dead', and
|
||||
then attempts to purge it and any related data from the filesystem.
|
||||
If some part of the cleanup process fails, \f(CW$txn\fR and some portion
|
||||
of its data may remain in the database after this function returns.
|
||||
Use \f(CW\*(C`$fs\->purge_txn()\*(C'\fR to retry the transaction cleanup.
|
||||
.ie n .IP "$txn\->\fIbase_revision()\fR" 4
|
||||
.el .IP "\f(CW$txn\fR\->\fIbase_revision()\fR" 4
|
||||
.IX Item "$txn->base_revision()"
|
||||
The transaction's base revision number.
|
||||
.ie n .IP "$txn\->change_prop($name, $value)" 4
|
||||
.el .IP "\f(CW$txn\fR\->change_prop($name, \f(CW$value\fR)" 4
|
||||
.IX Item "$txn->change_prop($name, $value)"
|
||||
Add, change, or remove a property from the transaction.
|
||||
If \f(CW$value\fR is \f(CW\*(C`undef\*(C'\fR then the property \f(CW$name\fR is removed,
|
||||
if it exists. Otherwise the property \f(CW$name\fR is set to the
|
||||
new value.
|
||||
.ie n .IP "$txn\->commit" 4
|
||||
.el .IP "\f(CW$txn\fR\->commit" 4
|
||||
.IX Item "$txn->commit"
|
||||
.PD 0
|
||||
.ie n .IP "$txn\->\fIname()\fR" 4
|
||||
.el .IP "\f(CW$txn\fR\->\fIname()\fR" 4
|
||||
.IX Item "$txn->name()"
|
||||
.PD
|
||||
Full name of the revision, in the same format as can be passed
|
||||
to \f(CW\*(C`$fs\->open_txn()\*(C'\fR.
|
||||
.ie n .IP "$txn\->prop($name)" 4
|
||||
.el .IP "\f(CW$txn\fR\->prop($name)" 4
|
||||
.IX Item "$txn->prop($name)"
|
||||
The value of the transaction's \f(CW$name\fR property.
|
||||
.ie n .IP "$txn\->\fIproplist()\fR" 4
|
||||
.el .IP "\f(CW$txn\fR\->\fIproplist()\fR" 4
|
||||
.IX Item "$txn->proplist()"
|
||||
A reference to a hash containing all the transaction's properties,
|
||||
keyed by name.
|
||||
.ie n .IP "$txn\->\fIroot()\fR" 4
|
||||
.el .IP "\f(CW$txn\fR\->\fIroot()\fR" 4
|
||||
.IX Item "$txn->root()"
|
||||
The root directory of the transaction, as a \f(CW\*(C`_p_svn_fs_root_t\*(C'\fR object.
|
||||
.SH "_p_svn_fs_access_t"
|
||||
.IX Header "_p_svn_fs_access_t"
|
||||
.SS "\s-1SYNOPSIS\s0"
|
||||
.IX Subsection "SYNOPSIS"
|
||||
.Vb 1
|
||||
\& my $access = SVN::Fs::create_access($username);
|
||||
\&
|
||||
\& my $access = $fs\->get_access;
|
||||
\& $fs\->set_access($access);
|
||||
\&
|
||||
\& my $username = $access\->get_username;
|
||||
\&
|
||||
\& $access\->add_lock_token($token);
|
||||
.Ve
|
||||
.SS "\s-1METHODS\s0"
|
||||
.IX Subsection "METHODS"
|
||||
.ie n .IP "$access\->add_lock_token($token)" 4
|
||||
.el .IP "\f(CW$access\fR\->add_lock_token($token)" 4
|
||||
.IX Item "$access->add_lock_token($token)"
|
||||
Push a lock-token into the access context. The
|
||||
context remembers all tokens it receives, and makes them available
|
||||
to fs functions.
|
||||
.ie n .IP "$access\->get_username" 4
|
||||
.el .IP "\f(CW$access\fR\->get_username" 4
|
||||
.IX Item "$access->get_username"
|
||||
The username represented by the access context.
|
||||
.SH "svn_fs_dirent_t"
|
||||
.IX Header "svn_fs_dirent_t"
|
||||
An object representing a directory entry. Values of this type are returned
|
||||
as the values in the hash returned by \f(CW\*(C`$root\->dir_entries()\*(C'\fR. They
|
||||
are like svn_dirent_t objects, but have less
|
||||
information.
|
||||
.ie n .IP "$dirent\->\fIid()\fR" 4
|
||||
.el .IP "\f(CW$dirent\fR\->\fIid()\fR" 4
|
||||
.IX Item "$dirent->id()"
|
||||
\&\s-1TODO\s0
|
||||
.ie n .IP "$dirent\->\fIkind()\fR" 4
|
||||
.el .IP "\f(CW$dirent\fR\->\fIkind()\fR" 4
|
||||
.IX Item "$dirent->kind()"
|
||||
Node kind. A number which matches one of these constants:
|
||||
\&\f(CW$SVN::Node::none\fR, \f(CW$SVN::Node::file\fR,
|
||||
\&\f(CW$SVN::Node::dir\fR, \f(CW$SVN::Node::unknown\fR.
|
||||
.ie n .IP "$dirent\->\fIname()\fR" 4
|
||||
.el .IP "\f(CW$dirent\fR\->\fIname()\fR" 4
|
||||
.IX Item "$dirent->name()"
|
||||
The filename of the directory entry.
|
||||
.SH "_p_svn_fs_path_change_t"
|
||||
.IX Header "_p_svn_fs_path_change_t"
|
||||
.ie n .IP "$change\->\fIchange_kind()\fR" 4
|
||||
.el .IP "\f(CW$change\fR\->\fIchange_kind()\fR" 4
|
||||
.IX Item "$change->change_kind()"
|
||||
The type of change made. A number which matches one of the following:
|
||||
.RS 4
|
||||
.ie n .IP "$SVN::Fs::PathChange::modify" 4
|
||||
.el .IP "\f(CW$SVN::Fs::PathChange::modify\fR" 4
|
||||
.IX Item "$SVN::Fs::PathChange::modify"
|
||||
Content at path modified.
|
||||
.ie n .IP "$SVN::Fs::PathChange::add" 4
|
||||
.el .IP "\f(CW$SVN::Fs::PathChange::add\fR" 4
|
||||
.IX Item "$SVN::Fs::PathChange::add"
|
||||
Path added in transaction.
|
||||
.ie n .IP "$SVN::Fs::PathChange::delete" 4
|
||||
.el .IP "\f(CW$SVN::Fs::PathChange::delete\fR" 4
|
||||
.IX Item "$SVN::Fs::PathChange::delete"
|
||||
Path removed in transaction.
|
||||
.ie n .IP "$SVN::Fs::PathChange::replace" 4
|
||||
.el .IP "\f(CW$SVN::Fs::PathChange::replace\fR" 4
|
||||
.IX Item "$SVN::Fs::PathChange::replace"
|
||||
Path removed and re-added in transaction.
|
||||
.ie n .IP "$SVN::Fs::PathChange::reset" 4
|
||||
.el .IP "\f(CW$SVN::Fs::PathChange::reset\fR" 4
|
||||
.IX Item "$SVN::Fs::PathChange::reset"
|
||||
Ignore all previous change items for path (internal-use only).
|
||||
.RE
|
||||
.RS 4
|
||||
.RE
|
||||
.ie n .IP "$change\->\fInode_rev_id()\fR" 4
|
||||
.el .IP "\f(CW$change\fR\->\fInode_rev_id()\fR" 4
|
||||
.IX Item "$change->node_rev_id()"
|
||||
Node revision id of changed path. A \f(CW\*(C`_p_svn_fs_id_t\*(C'\fR object.
|
||||
.ie n .IP "$change\->\fIprop_mod()\fR" 4
|
||||
.el .IP "\f(CW$change\fR\->\fIprop_mod()\fR" 4
|
||||
.IX Item "$change->prop_mod()"
|
||||
True if the properties were modified.
|
||||
.ie n .IP "$change\->\fItext_mod()\fR" 4
|
||||
.el .IP "\f(CW$change\fR\->\fItext_mod()\fR" 4
|
||||
.IX Item "$change->text_mod()"
|
||||
True if the text (content) was modified.
|
|
@ -1,670 +0,0 @@
|
|||
.\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07)
|
||||
.\"
|
||||
.\" Standard preamble:
|
||||
.\" ========================================================================
|
||||
.de Sp \" Vertical space (when we can't use .PP)
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.de Vb \" Begin verbatim text
|
||||
.ft CW
|
||||
.nf
|
||||
.ne \\$1
|
||||
..
|
||||
.de Ve \" End verbatim text
|
||||
.ft R
|
||||
.fi
|
||||
..
|
||||
.\" Set up some character translations and predefined strings. \*(-- will
|
||||
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
|
||||
.\" double quote, and \*(R" will give a right double quote. \*(C+ will
|
||||
.\" give a nicer C++. Capital omega is used to do unbreakable dashes and
|
||||
.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
|
||||
.\" nothing in troff, for use with C<>.
|
||||
.tr \(*W-
|
||||
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
|
||||
.ie n \{\
|
||||
. ds -- \(*W-
|
||||
. ds PI pi
|
||||
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
|
||||
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
|
||||
. ds L" ""
|
||||
. ds R" ""
|
||||
. ds C` ""
|
||||
. ds C' ""
|
||||
'br\}
|
||||
.el\{\
|
||||
. ds -- \|\(em\|
|
||||
. ds PI \(*p
|
||||
. ds L" ``
|
||||
. ds R" ''
|
||||
'br\}
|
||||
.\"
|
||||
.\" Escape single quotes in literal strings from groff's Unicode transform.
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\"
|
||||
.\" If the F register is turned on, we'll generate index entries on stderr for
|
||||
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
|
||||
.\" entries marked with X<> in POD. Of course, you'll have to process the
|
||||
.\" output yourself in some meaningful fashion.
|
||||
.ie \nF \{\
|
||||
. de IX
|
||||
. tm Index:\\$1\t\\n%\t"\\$2"
|
||||
..
|
||||
. nr % 0
|
||||
. rr F
|
||||
.\}
|
||||
.el \{\
|
||||
. de IX
|
||||
..
|
||||
.\}
|
||||
.\"
|
||||
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
|
||||
.\" Fear. Run. Save yourself. No user-serviceable parts.
|
||||
. \" fudge factors for nroff and troff
|
||||
.if n \{\
|
||||
. ds #H 0
|
||||
. ds #V .8m
|
||||
. ds #F .3m
|
||||
. ds #[ \f1
|
||||
. ds #] \fP
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
|
||||
. ds #V .6m
|
||||
. ds #F 0
|
||||
. ds #[ \&
|
||||
. ds #] \&
|
||||
.\}
|
||||
. \" simple accents for nroff and troff
|
||||
.if n \{\
|
||||
. ds ' \&
|
||||
. ds ` \&
|
||||
. ds ^ \&
|
||||
. ds , \&
|
||||
. ds ~ ~
|
||||
. ds /
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
|
||||
. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
|
||||
. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
|
||||
. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
|
||||
. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
|
||||
. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
|
||||
.\}
|
||||
. \" troff and (daisy-wheel) nroff accents
|
||||
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
|
||||
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
|
||||
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
|
||||
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
|
||||
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
|
||||
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
|
||||
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
|
||||
.ds ae a\h'-(\w'a'u*4/10)'e
|
||||
.ds Ae A\h'-(\w'A'u*4/10)'E
|
||||
. \" corrections for vroff
|
||||
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
|
||||
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
|
||||
. \" for low resolution devices (crt and lpr)
|
||||
.if \n(.H>23 .if \n(.V>19 \
|
||||
\{\
|
||||
. ds : e
|
||||
. ds 8 ss
|
||||
. ds o a
|
||||
. ds d- d\h'-1'\(ga
|
||||
. ds D- D\h'-1'\(hy
|
||||
. ds th \o'bp'
|
||||
. ds Th \o'LP'
|
||||
. ds ae ae
|
||||
. ds Ae AE
|
||||
.\}
|
||||
.rm #[ #] #H #V #F C
|
||||
.\" ========================================================================
|
||||
.\"
|
||||
.IX Title "native::Ra 3"
|
||||
.TH native::Ra 3 "2008-01-27" "perl v5.10.1" "User Contributed Perl Documentation"
|
||||
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
|
||||
.\" way too many mistakes in technical documents.
|
||||
.if n .ad l
|
||||
.nh
|
||||
.SH "NAME"
|
||||
SVN::Ra \- Subversion remote access functions
|
||||
.SH "SYNOPSIS"
|
||||
.IX Header "SYNOPSIS"
|
||||
.Vb 2
|
||||
\& use SVN::Core;
|
||||
\& use SVN::Ra;
|
||||
\&
|
||||
\& my $ra = SVN::Ra\->new(\*(Aqfile:///tmp/svntest\*(Aq);
|
||||
\& print $ra\->get_latest_revnum;
|
||||
.Ve
|
||||
.SH "DESCRIPTION"
|
||||
.IX Header "DESCRIPTION"
|
||||
SVN::Ra wraps the object-oriented \f(CW\*(C`svn_ra_plugin_t\*(C'\fR functions,
|
||||
providing access to a Subversion repository though a \s-1URL\s0, using
|
||||
whichever repository access module is appropriate.
|
||||
.SH "SVN::Ra"
|
||||
.IX Header "SVN::Ra"
|
||||
.SS "SVN::Ra\->new(...)"
|
||||
.IX Subsection "SVN::Ra->new(...)"
|
||||
The constructor creates an \s-1RA\s0 object and calls \f(CW\*(C`open\*(C'\fR for it. Its parameters
|
||||
are either a hash of options or a single value containing the \s-1URL\s0 of the
|
||||
repository. Valid options are:
|
||||
.IP "url" 4
|
||||
.IX Item "url"
|
||||
The \s-1URL\s0 of the repository.
|
||||
.IP "auth" 4
|
||||
.IX Item "auth"
|
||||
An \f(CW\*(C`auth_baton\*(C'\fR could be given to the \s-1SVN::RA\s0 object. Defaults to an
|
||||
\&\f(CW\*(C`auth_provider\*(C'\fR with a \f(CW\*(C`username_provider\*(C'\fR. See SVN::Client for how to
|
||||
create \f(CW\*(C`auth_baton\*(C'\fR.
|
||||
.IP "pool" 4
|
||||
.IX Item "pool"
|
||||
The pool for the \s-1RA\s0 session to use. Member functions will also be
|
||||
called with this pool. Defaults to a newly created root pool.
|
||||
.IP "config" 4
|
||||
.IX Item "config"
|
||||
The config hash that could be obtained by calling
|
||||
\&\f(CW\*(C`SVN::Core::config_get_config(undef)\*(C'\fR.
|
||||
.IP "callback" 4
|
||||
.IX Item "callback"
|
||||
The \f(CW\*(C`ra_callback\*(C'\fR namespace to use. Defaults to SVN::Ra::Callbacks.
|
||||
.PP
|
||||
The following examples will both do the same thing, with all the optional
|
||||
arguments taking their defaults:
|
||||
.PP
|
||||
.Vb 2
|
||||
\& my $ra = SVN::Ra\->new(\*(Aqfile:///tmp/repos\*(Aq);
|
||||
\& my $ra = SVN::Ra\->new(url => \*(Aqfile:///tmp/repos\*(Aq);
|
||||
.Ve
|
||||
.SS "\s-1METHODS\s0"
|
||||
.IX Subsection "METHODS"
|
||||
Please consult the svn_ra.h section in the Subversion \s-1API\s0. Member
|
||||
functions of \f(CW\*(C`svn_ra_plugin_t\*(C'\fR can be called as methods of SVN::Ra
|
||||
objects, with the \f(CW\*(C`session_baton\*(C'\fR and \f(CW\*(C`pool\*(C'\fR arguments omitted.
|
||||
.ie n .IP "$ra\->change_rev_prop($revnum, $name, $value)" 4
|
||||
.el .IP "\f(CW$ra\fR\->change_rev_prop($revnum, \f(CW$name\fR, \f(CW$value\fR)" 4
|
||||
.IX Item "$ra->change_rev_prop($revnum, $name, $value)"
|
||||
Sets the revision (unversioned) property \f(CW$name\fR to \f(CW$value\fR on
|
||||
revision \f(CW$revnum\fR, or removes the property if \f(CW$value\fR is undef.
|
||||
.Sp
|
||||
.Vb 1
|
||||
\& $ra\->change_rev_prop(123, \*(Aqsvn:log\*(Aq, \*(AqNew log message.\*(Aq);
|
||||
.Ve
|
||||
.Sp
|
||||
Of course this will only work if there is a \f(CW\*(C`pre\-revprop\-change\*(C'\fR
|
||||
hook available.
|
||||
.ie n .IP "$ra\->check_path($path, $revnum)" 4
|
||||
.el .IP "\f(CW$ra\fR\->check_path($path, \f(CW$revnum\fR)" 4
|
||||
.IX Item "$ra->check_path($path, $revnum)"
|
||||
Kind of node at \f(CW$path\fR in revision \f(CW$revnum\fR. A number which matches one
|
||||
of these constants:
|
||||
\&\f(CW$SVN::Node::none\fR, \f(CW$SVN::Node::file\fR,
|
||||
\&\f(CW$SVN::Node::dir\fR, \f(CW$SVN::Node::unknown\fR.
|
||||
.ie n .IP "$ra\->do_diff($revision, $target, $recurse, $ignore_ancestry, $versus_url, $editor)" 4
|
||||
.el .IP "\f(CW$ra\fR\->do_diff($revision, \f(CW$target\fR, \f(CW$recurse\fR, \f(CW$ignore_ancestry\fR, \f(CW$versus_url\fR, \f(CW$editor\fR)" 4
|
||||
.IX Item "$ra->do_diff($revision, $target, $recurse, $ignore_ancestry, $versus_url, $editor)"
|
||||
.PD 0
|
||||
.ie n .IP "$ra\->do_diff2($revision, $target, $recurse, $ignore_ancestry, $text_deltas, $versus_url, $editor)" 4
|
||||
.el .IP "\f(CW$ra\fR\->do_diff2($revision, \f(CW$target\fR, \f(CW$recurse\fR, \f(CW$ignore_ancestry\fR, \f(CW$text_deltas\fR, \f(CW$versus_url\fR, \f(CW$editor\fR)" 4
|
||||
.IX Item "$ra->do_diff2($revision, $target, $recurse, $ignore_ancestry, $text_deltas, $versus_url, $editor)"
|
||||
.PD
|
||||
Both of these return a SVN::Ra::Reporter with which you can describe
|
||||
a working copy. It will then call methods on \f(CW$editor\fR to indicates
|
||||
the differences between the repository and the working copy.
|
||||
.Sp
|
||||
The \f(CW\*(C`do_diff2\*(C'\fR method was added in Subversion\ 1.4. It adds the
|
||||
\&\f(CW$text_deltas\fR option, which if false disables the generation of text
|
||||
deltas on the editor. With \f(CW\*(C`do_diff\*(C'\fR text deltas are always generated.
|
||||
.Sp
|
||||
.Vb 4
|
||||
\& my $reporter = $ra\->do_diff(1, \*(Aq\*(Aq, 1, 0, $repos_url,
|
||||
\& MyEditor\->new);
|
||||
\& $reporter\->set_path(...);
|
||||
\& $reporter\->finish_report;
|
||||
.Ve
|
||||
.ie n .IP "$ra\->do_status($target, $revision, $recurse, $editor)" 4
|
||||
.el .IP "\f(CW$ra\fR\->do_status($target, \f(CW$revision\fR, \f(CW$recurse\fR, \f(CW$editor\fR)" 4
|
||||
.IX Item "$ra->do_status($target, $revision, $recurse, $editor)"
|
||||
Returns a SVN::Ra::Reporter to which you can describe the status of
|
||||
a working copy. It will then call methods on \f(CW$editor\fR to describe
|
||||
the current status of the working copy compared to the repository.
|
||||
.ie n .IP "$ra\->do_switch($revnum, $target, $recurse, $repos_url, $editor)" 4
|
||||
.el .IP "\f(CW$ra\fR\->do_switch($revnum, \f(CW$target\fR, \f(CW$recurse\fR, \f(CW$repos_url\fR, \f(CW$editor\fR)" 4
|
||||
.IX Item "$ra->do_switch($revnum, $target, $recurse, $repos_url, $editor)"
|
||||
Returns a SVN::Ra::Reporter with which you can describe a working copy.
|
||||
It will then call methods on \f(CW$editor\fR to indicate how to adjust the working
|
||||
copy to switch it to revision \f(CW$revnum\fR of \f(CW$repos_url\fR.
|
||||
.ie n .IP "$ra\->do_update($revision_to_update_to, $target, $recurse, $editor)" 4
|
||||
.el .IP "\f(CW$ra\fR\->do_update($revision_to_update_to, \f(CW$target\fR, \f(CW$recurse\fR, \f(CW$editor\fR)" 4
|
||||
.IX Item "$ra->do_update($revision_to_update_to, $target, $recurse, $editor)"
|
||||
Returns a SVN::Ra::Reporter object. Call methods on the reporter to
|
||||
describe the current state of your working copy (or whatever you're
|
||||
updating). After calling the reporter's \f(CW\*(C`finish_report()\*(C'\fR method,
|
||||
Subversion will generate calls to your \f(CW$editor\fR to describe the
|
||||
differences between what you already have and the state of the repository in
|
||||
\&\f(CW$revision_to_update_to\fR.
|
||||
.Sp
|
||||
To update to the latest revision, pass \f(CW$SVN::Core::INVALID_REVNUM\fR for
|
||||
the first argument.
|
||||
.Sp
|
||||
\&\f(CW$target\fR should be the path to the part of the repository you are
|
||||
interested in. You won't be given information about changes outside this
|
||||
path. If you want everything, pass an empty string.
|
||||
.Sp
|
||||
If \f(CW$recurse\fR is true and the target is a directory, update
|
||||
recursively; otherwise, update just the target and its immediate
|
||||
entries, but not its child directories (if any).
|
||||
.Sp
|
||||
All paths are relative to the \s-1URL\s0 used to open \f(CW$ra\fR.
|
||||
.Sp
|
||||
The caller may not perform any \s-1RA\s0 operations using \f(CW$ra\fR before
|
||||
finishing the report, and may not perform any \s-1RA\s0 operations using
|
||||
\&\f(CW$ra\fR from within the editing operations of \f(CW$editor\fR.
|
||||
.Sp
|
||||
This example shows the simplest update, where the client tells the reporter
|
||||
that it has nothing to start with:
|
||||
.Sp
|
||||
.Vb 3
|
||||
\& my $reporter = $ra\->do_update($revnum, \*(Aq\*(Aq, 1, MyEditor\->new);
|
||||
\& $reporter\->set_path(\*(Aq\*(Aq, 0, 1, undef);
|
||||
\& $reporter\->finish_report;
|
||||
.Ve
|
||||
.ie n .IP "$ra\->get_commit_editor($logmsg, $callback, $callback_baton, $lock_tokens, $keep_locks)" 4
|
||||
.el .IP "\f(CW$ra\fR\->get_commit_editor($logmsg, \f(CW$callback\fR, \f(CW$callback_baton\fR, \f(CW$lock_tokens\fR, \f(CW$keep_locks\fR)" 4
|
||||
.IX Item "$ra->get_commit_editor($logmsg, $callback, $callback_baton, $lock_tokens, $keep_locks)"
|
||||
.PD 0
|
||||
.ie n .IP "$ra\->get_commit_editor2($logmsg, $callback, $callback_baton, $lock_tokens, $keep_locks)" 4
|
||||
.el .IP "\f(CW$ra\fR\->get_commit_editor2($logmsg, \f(CW$callback\fR, \f(CW$callback_baton\fR, \f(CW$lock_tokens\fR, \f(CW$keep_locks\fR)" 4
|
||||
.IX Item "$ra->get_commit_editor2($logmsg, $callback, $callback_baton, $lock_tokens, $keep_locks)"
|
||||
.PD
|
||||
Return an opaque editor object for committing a new revision to the
|
||||
repository. The return values should be passed to the
|
||||
SVN::Delta::Editor constructor to create an
|
||||
editor object you can actually use. For example:
|
||||
.Sp
|
||||
.Vb 4
|
||||
\& my $editor = SVN::Delta::Editor\->new(
|
||||
\& $ra\->get_commit_editor(
|
||||
\& "I\*(Aqm going to commit some changes from within my Perl code.",
|
||||
\& \e&commit_callback, undef, {}, 0));
|
||||
.Ve
|
||||
.Sp
|
||||
Now that you've got your editor you can call methods on it to describe
|
||||
changes in the tree you want to make, such as adding directories, changing
|
||||
file contents, etc. See SVN::Delta for documentation of the editor
|
||||
interface.
|
||||
.Sp
|
||||
The \f(CW$callback\fR function will be called during your call to the
|
||||
\&\f(CW\*(C`$ed\->close_edit()\*(C'\fR method, after the commit has succeeded. It will
|
||||
not be called if there were no changes to commit. If you don't need it,
|
||||
pass undef instead of a code ref.
|
||||
.Sp
|
||||
\&\f(CW\*(C`get_commit_editor2\*(C'\fR is identical to \f(CW\*(C`get_commit_editor\*(C'\fR except for
|
||||
the information passed to the callback function. The new version, added
|
||||
in Subversion\ 1.4, will pass the callback a single value (\s-1TODO:\s0 I
|
||||
can' test this, but it's probably an object or hash ref) which contains
|
||||
all the information. It also includes the error message from the
|
||||
post-commit hook script, which is not available with \f(CW\*(C`get_commit_editor\*(C'\fR.
|
||||
.Sp
|
||||
The callback for the original version will be passed three arguments:
|
||||
.RS 4
|
||||
.IP "\(bu" 4
|
||||
Number of the new revision.
|
||||
.IP "\(bu" 4
|
||||
Date and time that the revision was committed, which will be exactly
|
||||
the same value as its \f(CW\*(C`svn:date\*(C'\fR revision property. It will be in
|
||||
this format: \f(CW\*(C`2006\-04\-05T12:17:48.180320Z\*(C'\fR
|
||||
.IP "\(bu" 4
|
||||
The name of the author who committed the revision, which will be the same
|
||||
as the \f(CW\*(C`svn:author\*(C'\fR revision property.
|
||||
.RE
|
||||
.RS 4
|
||||
.Sp
|
||||
The undef in the argument list in the example above is the baton which is
|
||||
meant to be passed to the commit callback, but it isn't. This isn't a
|
||||
problem since you can supply a closure as the callback so that it can get to
|
||||
whatever variables you need.
|
||||
.Sp
|
||||
The \f(CW$logmsg\fR value should be a string which will be stored in the
|
||||
\&\f(CW\*(C`svn:log\*(C'\fR revision property. If undef is passed instead then the
|
||||
new revision won't have a \f(CW\*(C`svn:log\*(C'\fR property.
|
||||
.Sp
|
||||
\&\f(CW$lock_tokens\fR should be a reference to a hash mapping the paths to
|
||||
lock tokens to use for them. I seems that with Subversion\ 1.2 this is
|
||||
required, so if you aren't using any locks simply pass \f(CW\*(C`{}\*(C'\fR. In
|
||||
Subversion\ 1.3.1 though it seems to be necessary to \fInot\fR pass this
|
||||
argument at all.
|
||||
.Sp
|
||||
If \f(CW$keep_locks\fR is true then locks on the files committed won't be
|
||||
released by the commit.
|
||||
.Sp
|
||||
The \f(CW\*(C`get_commit_editor()\*(C'\fR method itself returns a list of two items, the
|
||||
first of which (a \f(CW\*(C`_p_svn_delta_editor_t\*(C'\fR object) is the actual editor.
|
||||
The second is the editor baton. Neither is of any use without wrapping the
|
||||
pair of them in a SVN::Delta::Editor.
|
||||
.RE
|
||||
.ie n .IP "$ra\->get_dated_revision($time)" 4
|
||||
.el .IP "\f(CW$ra\fR\->get_dated_revision($time)" 4
|
||||
.IX Item "$ra->get_dated_revision($time)"
|
||||
\&\s-1TODO\s0 \- this doesn't seem to work in Subversion\ 1.3.
|
||||
.ie n .IP "$ra\->get_dir($path, $revnum)" 4
|
||||
.el .IP "\f(CW$ra\fR\->get_dir($path, \f(CW$revnum\fR)" 4
|
||||
.IX Item "$ra->get_dir($path, $revnum)"
|
||||
.PD 0
|
||||
.ie n .IP "$ra\->get_dir2($path, $revnum, $dirent_fields)" 4
|
||||
.el .IP "\f(CW$ra\fR\->get_dir2($path, \f(CW$revnum\fR, \f(CW$dirent_fields\fR)" 4
|
||||
.IX Item "$ra->get_dir2($path, $revnum, $dirent_fields)"
|
||||
.PD
|
||||
Fetch the directory entries and properties of the directory at \f(CW$path\fR
|
||||
in revision \f(CW$revnum\fR
|
||||
.Sp
|
||||
A list of three values are returned. The first is a reference to a hash
|
||||
of directory entries. The keys are the names of all the files and
|
||||
directories in \f(CW$path\fR (not full paths, just the filenames). The values
|
||||
are _p_svn_dirent_t objects, with all their
|
||||
fields filled in. The third parameter to \f(CW\*(C`get_dir2\*(C'\fR allows you to
|
||||
select particular fields. \s-1TODO:\s0 I don't think the constants you'd use
|
||||
to construct the \f(CW$dirent_fields\fR value are provided in the Perl \s-1API\s0.
|
||||
.Sp
|
||||
The second value is a number, which is only valid if \f(CW$revnum\fR is
|
||||
\&\f(CW$SVN::Core::INVALID_REVNUM\fR. If that is the case then the latest revision
|
||||
will be fetched, and the revision number (the \s-1HEAD\s0 revision) will be returned
|
||||
as the second value. Otherwise the revision number returned will be
|
||||
completely arbitrary.
|
||||
.Sp
|
||||
The third value returned will be a reference to a hash of all properties
|
||||
on the directory. This means \fIall\fR properties: not just ones controlled by
|
||||
the user and stored in the repository fs, but non-tweakable ones
|
||||
generated by the \s-1SCM\s0 system itself (e.g. 'wcprops', 'entryprops', etc).
|
||||
.Sp
|
||||
.Vb 3
|
||||
\& my ($dirents, undef, $props) = $ra\->get_dir(\*(Aq/trunk/dir\*(Aq, 123);
|
||||
\& my ($dirents, $fetched_revnum, $props) = $ra\->get_dir(
|
||||
\& \*(Aq/trunk/dir\*(Aq, $SVN::Core::INVALID_REVNUM);
|
||||
.Ve
|
||||
.ie n .IP "$ra\->get_file($path, $revnum, $fh)" 4
|
||||
.el .IP "\f(CW$ra\fR\->get_file($path, \f(CW$revnum\fR, \f(CW$fh\fR)" 4
|
||||
.IX Item "$ra->get_file($path, $revnum, $fh)"
|
||||
Fetch the contents and properties of the file at \f(CW$path\fR in revision
|
||||
\&\f(CW$revnum\fR. \f(CW$fh\fR should be a Perl filehandle, to which the contents
|
||||
of the file will be written, or undef if you don't need the file contents.
|
||||
.Sp
|
||||
Note that \f(CW$path\fR cannot end in a slash unless it is just '/'.
|
||||
.Sp
|
||||
A list of two values are returned. The first is a number, which is only
|
||||
valid if \f(CW$revnum\fR is \f(CW$SVN::Core::INVALID_REVNUM\fR. If that is the
|
||||
case then the latest revision will be fetched, and the revision number
|
||||
(the \s-1HEAD\s0 revision) will be returned as the first value. Otherwise the
|
||||
number returned will be completely arbitrary.
|
||||
.Sp
|
||||
The second value returned will be a reference to a hash of all properties
|
||||
on the file. This means \fIall\fR properties: not just ones controlled by
|
||||
the user and stored in the repository fs, but non-tweakable ones
|
||||
generated by the \s-1SCM\s0 system itself (e.g. 'wcprops', 'entryprops', etc).
|
||||
.Sp
|
||||
.Vb 2
|
||||
\& my (undef, $props) = $ra\->get_file(
|
||||
\& \*(Aq/trunk/foo\*(Aq, 123, undef);
|
||||
\&
|
||||
\& open my $fh, \*(Aq>\*(Aq, \*(Aqtmp_out\*(Aq
|
||||
\& or die "error opening file: $!";
|
||||
\& my (undef, $props) = $ra\->get_file(
|
||||
\& \*(Aq/trunk/foo\*(Aq, 123, $fh);
|
||||
\&
|
||||
\& my ($fetched_revnum, $props) = $ra\->get_file(
|
||||
\& \*(Aq/trunk/foo\*(Aq, $SVN::Core::INVALID_REVNUM, $fh);
|
||||
.Ve
|
||||
.ie n .IP "$ra\->get_file_revs($path, $start, $end, \e&callback)" 4
|
||||
.el .IP "\f(CW$ra\fR\->get_file_revs($path, \f(CW$start\fR, \f(CW$end\fR, \e&callback)" 4
|
||||
.IX Item "$ra->get_file_revs($path, $start, $end, &callback)"
|
||||
\&\s-1TODO\s0 \- doesn't seem to work in Subversion 1.3
|
||||
.ie n .IP "$ra\->get_latest_revnum" 4
|
||||
.el .IP "\f(CW$ra\fR\->get_latest_revnum" 4
|
||||
.IX Item "$ra->get_latest_revnum"
|
||||
Return the number of the latest revision in the repository (\s-1HEAD\s0).
|
||||
.ie n .IP "$ra\->get_locations($path, $peg_revnum, \e@location_revisions)" 4
|
||||
.el .IP "\f(CW$ra\fR\->get_locations($path, \f(CW$peg_revnum\fR, \e@location_revisions)" 4
|
||||
.IX Item "$ra->get_locations($path, $peg_revnum, @location_revisions)"
|
||||
\&\s-1TODO\s0 \- doesn't seem to work in Subversion 1.3
|
||||
.ie n .IP "$ra\->get_lock($path)" 4
|
||||
.el .IP "\f(CW$ra\fR\->get_lock($path)" 4
|
||||
.IX Item "$ra->get_lock($path)"
|
||||
Returns a _p_svn_lock_t object containing
|
||||
information about the lock at \f(CW$path\fR, or undef if that path isn't
|
||||
currently locked.
|
||||
.ie n .IP "$ra\->get_locks($path)" 4
|
||||
.el .IP "\f(CW$ra\fR\->get_locks($path)" 4
|
||||
.IX Item "$ra->get_locks($path)"
|
||||
\&\s-1TODO\s0 \- doesn't seem to work in Subversion 1.3
|
||||
.ie n .IP "$ra\->get_log(\e@paths, $start, $end, $limit, $discover_changed_paths, $strict_node_history, \e&callback)" 4
|
||||
.el .IP "\f(CW$ra\fR\->get_log(\e@paths, \f(CW$start\fR, \f(CW$end\fR, \f(CW$limit\fR, \f(CW$discover_changed_paths\fR, \f(CW$strict_node_history\fR, \e&callback)" 4
|
||||
.IX Item "$ra->get_log(@paths, $start, $end, $limit, $discover_changed_paths, $strict_node_history, &callback)"
|
||||
For \f(CW$limit\fR revisions from \f(CW$start\fR to \f(CW$end\fR, invoke the receiver
|
||||
\&\f(CW\*(C`callback()\*(C'\fR with information about the changes made in the revision
|
||||
(log message, time, etc.).
|
||||
.Sp
|
||||
The caller may not invoke any \s-1RA\s0 operations using \f(CW$ra\fR from
|
||||
within the callback function. They may work in some situations, but
|
||||
it's not guaranteed.
|
||||
.Sp
|
||||
The first argument can be either a single string or a reference to an
|
||||
array of strings. Each of these indicates a path in the repository
|
||||
which you are interested in. Revisions which don't change any of these
|
||||
paths (or files below them) will be ignored. Simply pass '' if you don't
|
||||
want to limit by path.
|
||||
.Sp
|
||||
\&\f(CW$start\fR and \f(CW$end\fR should be revision numbers. If \f(CW$start\fR has a lower
|
||||
value than \f(CW$end\fR then the revisions will be produced in ascending order
|
||||
(r1, r2, ...), otherwise in descending order. If \f(CW$start\fR is
|
||||
\&\f(CW$SVN::Core::INVALID_REVNUM\fR then it defaults to the latest revision.
|
||||
.Sp
|
||||
\&\s-1TODO\s0 \- the previous sentence should also be true of \f(CW$end\fR, but doing that
|
||||
gets an error message in Subversion 1.3.
|
||||
.Sp
|
||||
\&\f(CW$limit\fR is a number indicating the maximum number of times that the
|
||||
receiver \f(CW\*(C`callback()\*(C'\fR should be called. If it is 0, there will be no
|
||||
limit.
|
||||
.Sp
|
||||
If \f(CW$discover_changed_paths\fR is true, then information about which changes
|
||||
were made to which paths is passed to \f(CW\*(C`callback()\*(C'\fR.
|
||||
.Sp
|
||||
If \f(CW$strict_node_history\fR is true, copy history will not be traversed
|
||||
(if any exists) when harvesting the revision logs for each path.
|
||||
.Sp
|
||||
The callback function will be given the following arguments:
|
||||
.RS 4
|
||||
.IP "\(bu" 4
|
||||
A reference to a hash of paths changed by the revision. Only passed if
|
||||
\&\f(CW$discover_changed_paths\fR is true, otherwise undef is passed in its
|
||||
place.
|
||||
.Sp
|
||||
The hash's keys are the full paths to the files and directories changed.
|
||||
The values are _p_svn_log_changed_path_t
|
||||
objects.
|
||||
.IP "\(bu" 4
|
||||
Revision number.
|
||||
.IP "\(bu" 4
|
||||
Name of user who made the change, or undef if not known.
|
||||
.IP "\(bu" 4
|
||||
Date and time the revision was committed.
|
||||
.IP "\(bu" 4
|
||||
Log message as a single string, or undef.
|
||||
.IP "\(bu" 4
|
||||
A pool object.
|
||||
.RE
|
||||
.RS 4
|
||||
.Sp
|
||||
This example prints some of the information received in a simple format,
|
||||
showing which paths were changed in each revision, for all revisions starting
|
||||
from the first:
|
||||
.Sp
|
||||
.Vb 2
|
||||
\& $ra\->get_log(\*(Aq\*(Aq, 1, $ra\->get_latest_revnum, 0, 1, 0,
|
||||
\& \e&log_callback);
|
||||
\&
|
||||
\& sub log_callback
|
||||
\& {
|
||||
\& my ($paths, $revnum, $user, $datetime, $logmsg) = @_;
|
||||
\& print "$datetime \- $user \- r$revnum\en";
|
||||
\&
|
||||
\& while (my ($path, $changes) = each %$paths) {
|
||||
\& print $changes\->action, " $path\en";
|
||||
\& if ($changes\->copyfrom_path) {
|
||||
\& print " from ", $changes\->copyfrom_path,
|
||||
\& " r", $changes\->copyfrom_rev, "\en"
|
||||
\& }
|
||||
\& }
|
||||
\&
|
||||
\& print "\en";
|
||||
\& }
|
||||
.Ve
|
||||
.RE
|
||||
.ie n .IP "$ra\->get_repos_root" 4
|
||||
.el .IP "\f(CW$ra\fR\->get_repos_root" 4
|
||||
.IX Item "$ra->get_repos_root"
|
||||
Returns the repository's root \s-1URL\s0. The value will not include
|
||||
a trailing '/'. The returned \s-1URL\s0 is guaranteed to be a prefix of the
|
||||
session's \s-1URL\s0.
|
||||
.ie n .IP "$ra\->get_uuid" 4
|
||||
.el .IP "\f(CW$ra\fR\->get_uuid" 4
|
||||
.IX Item "$ra->get_uuid"
|
||||
Returns the repository's \s-1UUID\s0 as a string.
|
||||
.ie n .IP "$ra\->lock(\e%path_revs, $comment, $steal_lock, \e&callback)" 4
|
||||
.el .IP "\f(CW$ra\fR\->lock(\e%path_revs, \f(CW$comment\fR, \f(CW$steal_lock\fR, \e&callback)" 4
|
||||
.IX Item "$ra->lock(%path_revs, $comment, $steal_lock, &callback)"
|
||||
\&\s-1TODO\s0 \- doesn't seem to work in Subversion 1.3.2
|
||||
.ie n .IP "$ra\->reparent($url)" 4
|
||||
.el .IP "\f(CW$ra\fR\->reparent($url)" 4
|
||||
.IX Item "$ra->reparent($url)"
|
||||
Change the root \s-1URL\s0 of the session in \f(CW$ra\fR to point to a different
|
||||
path. \f(CW$url\fR must be in the same repository as the one \f(CW$ra\fR is
|
||||
already accessing.
|
||||
.Sp
|
||||
New in Subversion\ 1.4.
|
||||
.ie n .IP "$ra\->replay($revnum, $low_water_mark, $send_deltas, $editor)" 4
|
||||
.el .IP "\f(CW$ra\fR\->replay($revnum, \f(CW$low_water_mark\fR, \f(CW$send_deltas\fR, \f(CW$editor\fR)" 4
|
||||
.IX Item "$ra->replay($revnum, $low_water_mark, $send_deltas, $editor)"
|
||||
Call methods on \f(CW$editor\fR to describe the changes made in the revisions
|
||||
after \f(CW$low_water_mark\fR, up to revision \f(CW$revnum\fR. This is like using
|
||||
\&\f(CW\*(C`do_update()\*(C'\fR, except that it doesn't return a reporter object, and so
|
||||
you don't have to describe a working copy to it. It assumes that you've
|
||||
already got everything up to \f(CW$low_water_mark\fR.
|
||||
.Sp
|
||||
If \f(CW$send_deltas\fR is true then file contents and property values will
|
||||
be supplied, otherwise just filename changes.
|
||||
.Sp
|
||||
New in Subversion\ 1.4.
|
||||
.ie n .IP "$ra\->rev_prop($revnum, $name)" 4
|
||||
.el .IP "\f(CW$ra\fR\->rev_prop($revnum, \f(CW$name\fR)" 4
|
||||
.IX Item "$ra->rev_prop($revnum, $name)"
|
||||
Return the value of the unversioned property \f(CW$name\fR from revision \f(CW$revnum\fR.
|
||||
Returns undef if there is no such property.
|
||||
.Sp
|
||||
.Vb 1
|
||||
\& print $ra\->rev_prop(123, \*(Aqsvn:date\*(Aq);
|
||||
.Ve
|
||||
.ie n .IP "$ra\->rev_proplist($revnum)" 4
|
||||
.el .IP "\f(CW$ra\fR\->rev_proplist($revnum)" 4
|
||||
.IX Item "$ra->rev_proplist($revnum)"
|
||||
Returns a reference to a hash containing all the unversioned properties
|
||||
of revision \f(CW$revnum\fR.
|
||||
.Sp
|
||||
.Vb 2
|
||||
\& my $props = $ra\->rev_proplist(123);
|
||||
\& print $props\->{\*(Aqsvn:log\*(Aq};
|
||||
.Ve
|
||||
.ie n .IP "$ra\->stat($path, $revnum)" 4
|
||||
.el .IP "\f(CW$ra\fR\->stat($path, \f(CW$revnum\fR)" 4
|
||||
.IX Item "$ra->stat($path, $revnum)"
|
||||
Returns a _p_svn_dirent_t object containing
|
||||
information about the file at \f(CW$path\fR in revision \f(CW$revnum\fR.
|
||||
.ie n .IP "$ra\->unlock(\e%path_tokens, $break_lock, \e&callback)" 4
|
||||
.el .IP "\f(CW$ra\fR\->unlock(\e%path_tokens, \f(CW$break_lock\fR, \e&callback)" 4
|
||||
.IX Item "$ra->unlock(%path_tokens, $break_lock, &callback)"
|
||||
\&\s-1TODO\s0 \- doesn't seem to work in Subversion 1.3.2
|
||||
.SH "SVN::Ra::Reporter"
|
||||
.IX Header "SVN::Ra::Reporter"
|
||||
The SVN::Ra methods \f(CW\*(C`do_diff\*(C'\fR, \f(CW\*(C`do_status\*(C'\fR, \f(CW\*(C`do_switch\*(C'\fR, and
|
||||
\&\f(CW\*(C`do_update\*(C'\fR all return a SVN::Ra::Reporter object, which can be used
|
||||
to describe the working copy (or other available data) which the client has.
|
||||
Subversion uses this to figure out what new information should be provided
|
||||
through a tree delta editor.
|
||||
.PP
|
||||
Objects of this class are actually simple wrappers around underlying
|
||||
\&\f(CW\*(C`svn_ra_reporter2_t\*(C'\fR objects and their associated baton.
|
||||
.SS "\s-1METHODS\s0"
|
||||
.IX Subsection "METHODS"
|
||||
.ie n .IP "$reporter\->set_path($path, $revision, $start_empty, $lock_token, $pool)" 4
|
||||
.el .IP "\f(CW$reporter\fR\->set_path($path, \f(CW$revision\fR, \f(CW$start_empty\fR, \f(CW$lock_token\fR, \f(CW$pool\fR)" 4
|
||||
.IX Item "$reporter->set_path($path, $revision, $start_empty, $lock_token, $pool)"
|
||||
Describe a working copy \f(CW$path\fR as being at a particular \f(CW$revision\fR.
|
||||
.Sp
|
||||
If \f(CW$start_empty\fR is true and \f(CW$path\fR is a directory, the
|
||||
implementor should assume the directory has no entries or properties.
|
||||
.Sp
|
||||
This will \fIoverride\fR any previous \f(CW\*(C`set_path()\*(C'\fR calls made on parent
|
||||
paths. \f(CW$path\fR is relative to the \s-1URL\s0 specified in \f(CW\*(C`SVN::Ra\->open()\*(C'\fR
|
||||
or \f(CW\*(C`SVN::Ra\->new()\*(C'\fR.
|
||||
.Sp
|
||||
If \f(CW$lock_token\fR is not undef, it is the lock token for \f(CW$path\fR in the \s-1WC\s0.
|
||||
.Sp
|
||||
All temporary allocations are done in \f(CW$pool\fR.
|
||||
.ie n .IP "$reporter\->delete_path($path, $pool)" 4
|
||||
.el .IP "\f(CW$reporter\fR\->delete_path($path, \f(CW$pool\fR)" 4
|
||||
.IX Item "$reporter->delete_path($path, $pool)"
|
||||
Describe a working copy \f(CW$path\fR as missing.
|
||||
.Sp
|
||||
All temporary allocations are done in \f(CW$pool\fR.
|
||||
.ie n .IP "$reporter\->link_path($path, $url, $revision, $start_empty, $lock_token, $pool)" 4
|
||||
.el .IP "\f(CW$reporter\fR\->link_path($path, \f(CW$url\fR, \f(CW$revision\fR, \f(CW$start_empty\fR, \f(CW$lock_token\fR, \f(CW$pool\fR)" 4
|
||||
.IX Item "$reporter->link_path($path, $url, $revision, $start_empty, $lock_token, $pool)"
|
||||
Like \f(CW\*(C`set_path()\*(C'\fR, but differs in that \f(CW$path\fR in the working copy
|
||||
(relative to the root of the report driver) isn't a reflection of
|
||||
\&\f(CW$path\fR in the repository (relative to the \s-1URL\s0 specified when
|
||||
opening the \s-1RA\s0 layer), but is instead a reflection of a different
|
||||
repository \f(CW$url\fR at \f(CW$revision\fR.
|
||||
.Sp
|
||||
If \f(CW$start_empty\fR is true and \f(CW$path\fR is a directory,
|
||||
the implementor should assume the directory has no entries or props.
|
||||
.Sp
|
||||
If \f(CW$lock_token\fR is not undef, it is the lock token for \f(CW$path\fR in the \s-1WC\s0.
|
||||
.Sp
|
||||
All temporary allocations are done in \f(CW$pool\fR.
|
||||
.ie n .IP "$reporter\->finish_report($pool)" 4
|
||||
.el .IP "\f(CW$reporter\fR\->finish_report($pool)" 4
|
||||
.IX Item "$reporter->finish_report($pool)"
|
||||
Call this when the state report is finished; any directories
|
||||
or files not explicitly 'set' are assumed to be at the
|
||||
baseline revision originally passed into \f(CW\*(C`do_update()\*(C'\fR. No other
|
||||
reporting functions, including \f(CW\*(C`abort_report()\*(C'\fR, should be called after
|
||||
calling this function.
|
||||
.ie n .IP "$reporter\->abort_report($pool)" 4
|
||||
.el .IP "\f(CW$reporter\fR\->abort_report($pool)" 4
|
||||
.IX Item "$reporter->abort_report($pool)"
|
||||
If an error occurs during a report, this method should cause the
|
||||
filesystem transaction to be aborted and cleaned up. No other reporting
|
||||
methods should be called after calling this method.
|
||||
.SH "SVN::Ra::Callbacks"
|
||||
.IX Header "SVN::Ra::Callbacks"
|
||||
This is the wrapper class for \f(CW\*(C`svn_ra_callback_t\*(C'\fR. To supply custom
|
||||
callbacks to SVN::Ra, subclass this class and override the member
|
||||
functions.
|
||||
.SH "AUTHORS"
|
||||
.IX Header "AUTHORS"
|
||||
Chia-liang Kao <clkao@clkao.org>
|
||||
.SH "COPYRIGHT"
|
||||
.IX Header "COPYRIGHT"
|
||||
Copyright (c) 2003 CollabNet. All rights reserved.
|
||||
.PP
|
||||
This software is licensed as described in the file \s-1COPYING\s0, which you
|
||||
should have received as part of this distribution. The terms are also
|
||||
available at http://subversion.tigris.org/license\-1.html. If newer
|
||||
versions of this license are posted there, you may use a newer version
|
||||
instead, at your option.
|
||||
.PP
|
||||
This software consists of voluntary contributions made by many
|
||||
individuals. For exact contribution history, see the revision history
|
||||
and logs, available at http://subversion.tigris.org/.
|
|
@ -1,398 +0,0 @@
|
|||
.\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07)
|
||||
.\"
|
||||
.\" Standard preamble:
|
||||
.\" ========================================================================
|
||||
.de Sp \" Vertical space (when we can't use .PP)
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.de Vb \" Begin verbatim text
|
||||
.ft CW
|
||||
.nf
|
||||
.ne \\$1
|
||||
..
|
||||
.de Ve \" End verbatim text
|
||||
.ft R
|
||||
.fi
|
||||
..
|
||||
.\" Set up some character translations and predefined strings. \*(-- will
|
||||
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
|
||||
.\" double quote, and \*(R" will give a right double quote. \*(C+ will
|
||||
.\" give a nicer C++. Capital omega is used to do unbreakable dashes and
|
||||
.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
|
||||
.\" nothing in troff, for use with C<>.
|
||||
.tr \(*W-
|
||||
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
|
||||
.ie n \{\
|
||||
. ds -- \(*W-
|
||||
. ds PI pi
|
||||
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
|
||||
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
|
||||
. ds L" ""
|
||||
. ds R" ""
|
||||
. ds C` ""
|
||||
. ds C' ""
|
||||
'br\}
|
||||
.el\{\
|
||||
. ds -- \|\(em\|
|
||||
. ds PI \(*p
|
||||
. ds L" ``
|
||||
. ds R" ''
|
||||
'br\}
|
||||
.\"
|
||||
.\" Escape single quotes in literal strings from groff's Unicode transform.
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\"
|
||||
.\" If the F register is turned on, we'll generate index entries on stderr for
|
||||
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
|
||||
.\" entries marked with X<> in POD. Of course, you'll have to process the
|
||||
.\" output yourself in some meaningful fashion.
|
||||
.ie \nF \{\
|
||||
. de IX
|
||||
. tm Index:\\$1\t\\n%\t"\\$2"
|
||||
..
|
||||
. nr % 0
|
||||
. rr F
|
||||
.\}
|
||||
.el \{\
|
||||
. de IX
|
||||
..
|
||||
.\}
|
||||
.\"
|
||||
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
|
||||
.\" Fear. Run. Save yourself. No user-serviceable parts.
|
||||
. \" fudge factors for nroff and troff
|
||||
.if n \{\
|
||||
. ds #H 0
|
||||
. ds #V .8m
|
||||
. ds #F .3m
|
||||
. ds #[ \f1
|
||||
. ds #] \fP
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
|
||||
. ds #V .6m
|
||||
. ds #F 0
|
||||
. ds #[ \&
|
||||
. ds #] \&
|
||||
.\}
|
||||
. \" simple accents for nroff and troff
|
||||
.if n \{\
|
||||
. ds ' \&
|
||||
. ds ` \&
|
||||
. ds ^ \&
|
||||
. ds , \&
|
||||
. ds ~ ~
|
||||
. ds /
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
|
||||
. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
|
||||
. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
|
||||
. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
|
||||
. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
|
||||
. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
|
||||
.\}
|
||||
. \" troff and (daisy-wheel) nroff accents
|
||||
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
|
||||
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
|
||||
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
|
||||
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
|
||||
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
|
||||
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
|
||||
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
|
||||
.ds ae a\h'-(\w'a'u*4/10)'e
|
||||
.ds Ae A\h'-(\w'A'u*4/10)'E
|
||||
. \" corrections for vroff
|
||||
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
|
||||
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
|
||||
. \" for low resolution devices (crt and lpr)
|
||||
.if \n(.H>23 .if \n(.V>19 \
|
||||
\{\
|
||||
. ds : e
|
||||
. ds 8 ss
|
||||
. ds o a
|
||||
. ds d- d\h'-1'\(ga
|
||||
. ds D- D\h'-1'\(hy
|
||||
. ds th \o'bp'
|
||||
. ds Th \o'LP'
|
||||
. ds ae ae
|
||||
. ds Ae AE
|
||||
.\}
|
||||
.rm #[ #] #H #V #F C
|
||||
.\" ========================================================================
|
||||
.\"
|
||||
.IX Title "native::Repos 3"
|
||||
.TH native::Repos 3 "2008-03-17" "perl v5.10.1" "User Contributed Perl Documentation"
|
||||
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
|
||||
.\" way too many mistakes in technical documents.
|
||||
.if n .ad l
|
||||
.nh
|
||||
.SH "NAME"
|
||||
SVN::Repos \- Subversion repository functions
|
||||
.SH "SYNOPSIS"
|
||||
.IX Header "SYNOPSIS"
|
||||
.Vb 3
|
||||
\& use SVN::Core;
|
||||
\& use SVN::Repos;
|
||||
\& use SVN::Fs;
|
||||
\&
|
||||
\& my $repos = SVN::Repos::open(\*(Aq/path/to/repos\*(Aq);
|
||||
\& print $repos\->fs()\->youngest_rev;
|
||||
.Ve
|
||||
.SH "DESCRIPTION"
|
||||
.IX Header "DESCRIPTION"
|
||||
SVN::Repos wraps the object-oriented \f(CW\*(C`svn_repos_t\*(C'\fR functions, providing
|
||||
access to a Subversion repository on the local filesystem.
|
||||
.SS "\s-1CONSTRUCTORS\s0"
|
||||
.IX Subsection "CONSTRUCTORS"
|
||||
.IP "SVN::Repos::open($path)" 4
|
||||
.IX Item "SVN::Repos::open($path)"
|
||||
This function opens an existing repository, and returns an
|
||||
\&\f(CW\*(C`SVN::Repos\*(C'\fR object.
|
||||
.ie n .IP "create($path, undef, undef, $config, $fs_config)" 4
|
||||
.el .IP "create($path, undef, undef, \f(CW$config\fR, \f(CW$fs_config\fR)" 4
|
||||
.IX Item "create($path, undef, undef, $config, $fs_config)"
|
||||
This function creates a new repository, and returns an \f(CW\*(C`SVN::Repos\*(C'\fR
|
||||
object.
|
||||
.SS "\s-1METHODS\s0"
|
||||
.IX Subsection "METHODS"
|
||||
.ie n .IP "$repos\->dump_fs($dump_fh, $feedback_fh, $start_rev, $end_rev, $incremental, $cancel_func, $cancel_baton)" 4
|
||||
.el .IP "\f(CW$repos\fR\->dump_fs($dump_fh, \f(CW$feedback_fh\fR, \f(CW$start_rev\fR, \f(CW$end_rev\fR, \f(CW$incremental\fR, \f(CW$cancel_func\fR, \f(CW$cancel_baton\fR)" 4
|
||||
.IX Item "$repos->dump_fs($dump_fh, $feedback_fh, $start_rev, $end_rev, $incremental, $cancel_func, $cancel_baton)"
|
||||
.PD 0
|
||||
.ie n .IP "$repos\->dump_fs2($dump_fh, $feedback_fh, $start_rev, $end_rev, $incremental, $deltify, $cancel_func, $cancel_baton)" 4
|
||||
.el .IP "\f(CW$repos\fR\->dump_fs2($dump_fh, \f(CW$feedback_fh\fR, \f(CW$start_rev\fR, \f(CW$end_rev\fR, \f(CW$incremental\fR, \f(CW$deltify\fR, \f(CW$cancel_func\fR, \f(CW$cancel_baton\fR)" 4
|
||||
.IX Item "$repos->dump_fs2($dump_fh, $feedback_fh, $start_rev, $end_rev, $incremental, $deltify, $cancel_func, $cancel_baton)"
|
||||
.PD
|
||||
Create a dump file of the repository from revision \f(CW$start_rev\fR to \f(CW$end_rev\fR
|
||||
, store it into the filehandle \f(CW$dump_fh\fR, and write feedback on the progress
|
||||
of the operation to filehandle \f(CW$feedback_fh\fR.
|
||||
.Sp
|
||||
If \f(CW$incremental\fR is \s-1TRUE\s0, the first revision dumped will be a diff
|
||||
against the previous revision (usually it looks like a full dump of
|
||||
the tree).
|
||||
.Sp
|
||||
If \f(CW$use_deltas\fR is \s-1TRUE\s0, output only node properties which have
|
||||
changed relative to the previous contents, and output text contents
|
||||
as svndiff data against the previous contents. Regardless of how
|
||||
this flag is set, the first revision of a non-incremental dump will
|
||||
be done with full plain text. A dump with \f(CW@a\fR use_deltas set cannot
|
||||
be loaded by Subversion 1.0.x.
|
||||
.Sp
|
||||
According to svn_repos.h, the \f(CW$cancel_func\fR is a function that is called
|
||||
periodically and given \f(CW$cancel_baton\fR as a parameter to determine whether
|
||||
the client wishes to cancel the dump. You must supply \f(CW\*(C`undef\*(C'\fR at the very
|
||||
least.
|
||||
.Sp
|
||||
Example:
|
||||
.Sp
|
||||
.Vb 2
|
||||
\& use SVN::Core;
|
||||
\& use SVN::Repos;
|
||||
\&
|
||||
\& my $repos = SVN::Repos::open (\*(Aq/repo/sandbox\*(Aq);
|
||||
\&
|
||||
\& open my $fh, ">/tmp/tmp.dump" or die "Cannot open file: $!\en";
|
||||
\&
|
||||
\& my $start_rev = 10;
|
||||
\& my $end_rev = 20;
|
||||
\& my $incremental = 1;
|
||||
\& my $deltify = 1;
|
||||
\&
|
||||
\& $repos\->dump_fs2($fh, \e*STDOUT, # Dump file => $fh, Feedback => STDOUT
|
||||
\& $start_rev, $end_rev, # Revision Range
|
||||
\& $incremental, $deltify, # Options
|
||||
\& undef, undef); # Cancel Function
|
||||
\&
|
||||
\& close $fh;
|
||||
.Ve
|
||||
.ie n .IP "$repos\->load_fs($dumpfile_fh, $feedback_fh, $uuid_action, $parent_dir, $cancel_func, $cancel_baton);" 4
|
||||
.el .IP "\f(CW$repos\fR\->load_fs($dumpfile_fh, \f(CW$feedback_fh\fR, \f(CW$uuid_action\fR, \f(CW$parent_dir\fR, \f(CW$cancel_func\fR, \f(CW$cancel_baton\fR);" 4
|
||||
.IX Item "$repos->load_fs($dumpfile_fh, $feedback_fh, $uuid_action, $parent_dir, $cancel_func, $cancel_baton);"
|
||||
.PD 0
|
||||
.ie n .IP "$repos\->load_fs2($dumpfile_fh, $feedback_fh, $uuid_action, $parent_dir, $use_pre_commit_hook, $use_post_commit_hook, $cancel_func, $cancel_baton);" 4
|
||||
.el .IP "\f(CW$repos\fR\->load_fs2($dumpfile_fh, \f(CW$feedback_fh\fR, \f(CW$uuid_action\fR, \f(CW$parent_dir\fR, \f(CW$use_pre_commit_hook\fR, \f(CW$use_post_commit_hook\fR, \f(CW$cancel_func\fR, \f(CW$cancel_baton\fR);" 4
|
||||
.IX Item "$repos->load_fs2($dumpfile_fh, $feedback_fh, $uuid_action, $parent_dir, $use_pre_commit_hook, $use_post_commit_hook, $cancel_func, $cancel_baton);"
|
||||
.PD
|
||||
Loads a dumpfile specified by the \f(CW$dumpfile_fh\fR filehandle into the repository.
|
||||
If the dumpstream contains copy history that is unavailable in the repository,
|
||||
an error will be thrown.
|
||||
.Sp
|
||||
The repository's \s-1UUID\s0 will be updated iff the dumpstream contains a \s-1UUID\s0 and
|
||||
\&\f(CW$uuid_action\fR is not equal to \f(CW$SVN::Repos::load_uuid_ignore\fR and either the
|
||||
repository contains no revisions or \f(CW$uuid_action\fR is equal to
|
||||
\&\f(CW$SVN::Repos::load_uuid_force\fR.
|
||||
.Sp
|
||||
If the dumpstream contains no \s-1UUID\s0, then \f(CW$uuid_action\fR is
|
||||
ignored and the repository \s-1UUID\s0 is not touched.
|
||||
.Sp
|
||||
If \f(CW$parent_dir\fR is not null, then the parser will reparent all the
|
||||
loaded nodes, from root to \f(CW@a\fR parent_dir. The directory \f(CW$parent_dir\fR
|
||||
must be an existing directory in the repository.
|
||||
.Sp
|
||||
If \f(CW$use_pre_commit_hook\fR is set, call the repository's pre-commit
|
||||
hook before committing each loaded revision.
|
||||
.Sp
|
||||
If \f(CW$use_post_commit_hook\fR is set, call the repository's
|
||||
post-commit hook after committing each loaded revision.
|
||||
.Sp
|
||||
If \f(CW$cancel_func\fR is not \s-1NULL\s0, it is called periodically with
|
||||
\&\f(CW$cancel_baton\fR as argument to see if the client wishes to cancel
|
||||
the load.
|
||||
.Sp
|
||||
You must at least provide undef for these parameters for the method call
|
||||
to work.
|
||||
.Sp
|
||||
Example:
|
||||
use SVN::Core;
|
||||
use SVN::Repos;
|
||||
.Sp
|
||||
.Vb 1
|
||||
\& my $repos = SVN::Repos::open (\*(Aq/repo/test_repo\*(Aq);
|
||||
\&
|
||||
\& open my $fh, "/repo/sandbox.dump" or die "Cannot open file: $!\en";
|
||||
\&
|
||||
\& my $parent_dir = \*(Aq/\*(Aq;
|
||||
\& my $use_pre_commit_hook = 0;
|
||||
\& my $use_post_commit_hook = 0;
|
||||
\&
|
||||
\& $repos\->load_fs2($fh, \e*STDOUT,
|
||||
\& $SVN::Repos::load_uuid_ignore, # Ignore uuid
|
||||
\& $parent_dir,
|
||||
\& $use_pre_commit_hook, # Use pre\-commit hook?
|
||||
\& $use_post_commit_hook, # Use post\-commit hook?
|
||||
\& undef, undef);
|
||||
\&
|
||||
\&
|
||||
\& close $fh;
|
||||
.Ve
|
||||
.ie n .IP "$repos\->\fIfs()\fR" 4
|
||||
.el .IP "\f(CW$repos\fR\->\fIfs()\fR" 4
|
||||
.IX Item "$repos->fs()"
|
||||
Returns the \f(CW\*(C`SVN::Fs\*(C'\fR object for this repository.
|
||||
.ie n .IP "$repos\->get_logs([$path, ...], $start, $end, $discover_changed_paths, $strict_node_history, $receiver)" 4
|
||||
.el .IP "\f(CW$repos\fR\->get_logs([$path, ...], \f(CW$start\fR, \f(CW$end\fR, \f(CW$discover_changed_paths\fR, \f(CW$strict_node_history\fR, \f(CW$receiver\fR)" 4
|
||||
.IX Item "$repos->get_logs([$path, ...], $start, $end, $discover_changed_paths, $strict_node_history, $receiver)"
|
||||
Iterates over all the revisions that affect the list of paths passed
|
||||
as the first parameter, starting at \f(CW$start\fR, and ending at \f(CW$end\fR.
|
||||
.Sp
|
||||
\&\f(CW$receiver\fR is called for each change. The arguments to \f(CW$receiver\fR are:
|
||||
.RS 4
|
||||
.ie n .IP "$self" 4
|
||||
.el .IP "\f(CW$self\fR" 4
|
||||
.IX Item "$self"
|
||||
The \f(CW\*(C`SVN::Repos\*(C'\fR object.
|
||||
.ie n .IP "$paths" 4
|
||||
.el .IP "\f(CW$paths\fR" 4
|
||||
.IX Item "$paths"
|
||||
\&\f(CW\*(C`undef\*(C'\fR if \f(CW$discover_changed_paths\fR is false. Otherwise, contains a hash
|
||||
of paths that have changed in this revision.
|
||||
.ie n .IP "$rev" 4
|
||||
.el .IP "\f(CW$rev\fR" 4
|
||||
.IX Item "$rev"
|
||||
The revision this change occured in.
|
||||
.ie n .IP "$date" 4
|
||||
.el .IP "\f(CW$date\fR" 4
|
||||
.IX Item "$date"
|
||||
The date and time the revision occured.
|
||||
.ie n .IP "$msg" 4
|
||||
.el .IP "\f(CW$msg\fR" 4
|
||||
.IX Item "$msg"
|
||||
The log message associated with this revision.
|
||||
.ie n .IP "$pool" 4
|
||||
.el .IP "\f(CW$pool\fR" 4
|
||||
.IX Item "$pool"
|
||||
An \f(CW\*(C`SVN::Pool\*(C'\fR object which may be used in the function.
|
||||
.RE
|
||||
.RS 4
|
||||
.Sp
|
||||
If \f(CW$strict_node_history\fR is true then copies will not be traversed.
|
||||
.RE
|
||||
.SS "\s-1ADDITIONAL\s0 \s-1METHODS\s0"
|
||||
.IX Subsection "ADDITIONAL METHODS"
|
||||
The following methods work, but are not currently documented in this
|
||||
file. Please consult the svn_repos.h section in the Subversion \s-1API\s0
|
||||
for more details.
|
||||
.ie n .IP "$repos\->get_commit_editor(...)" 4
|
||||
.el .IP "\f(CW$repos\fR\->get_commit_editor(...)" 4
|
||||
.IX Item "$repos->get_commit_editor(...)"
|
||||
.PD 0
|
||||
.ie n .IP "$repos\->get_commit_editor2(...)" 4
|
||||
.el .IP "\f(CW$repos\fR\->get_commit_editor2(...)" 4
|
||||
.IX Item "$repos->get_commit_editor2(...)"
|
||||
.ie n .IP "$repos\->path(...)" 4
|
||||
.el .IP "\f(CW$repos\fR\->path(...)" 4
|
||||
.IX Item "$repos->path(...)"
|
||||
.ie n .IP "$repos\->db_env(...)" 4
|
||||
.el .IP "\f(CW$repos\fR\->db_env(...)" 4
|
||||
.IX Item "$repos->db_env(...)"
|
||||
.ie n .IP "$repos\->lock_dir(...)" 4
|
||||
.el .IP "\f(CW$repos\fR\->lock_dir(...)" 4
|
||||
.IX Item "$repos->lock_dir(...)"
|
||||
.ie n .IP "$repos\->db_lockfile(...)" 4
|
||||
.el .IP "\f(CW$repos\fR\->db_lockfile(...)" 4
|
||||
.IX Item "$repos->db_lockfile(...)"
|
||||
.ie n .IP "$repos\->hook_dir(...)" 4
|
||||
.el .IP "\f(CW$repos\fR\->hook_dir(...)" 4
|
||||
.IX Item "$repos->hook_dir(...)"
|
||||
.ie n .IP "$repos\->start_commit_hook(...)" 4
|
||||
.el .IP "\f(CW$repos\fR\->start_commit_hook(...)" 4
|
||||
.IX Item "$repos->start_commit_hook(...)"
|
||||
.ie n .IP "$repos\->pre_commit_hook(...)" 4
|
||||
.el .IP "\f(CW$repos\fR\->pre_commit_hook(...)" 4
|
||||
.IX Item "$repos->pre_commit_hook(...)"
|
||||
.ie n .IP "$repos\->post_commit_hook(...)" 4
|
||||
.el .IP "\f(CW$repos\fR\->post_commit_hook(...)" 4
|
||||
.IX Item "$repos->post_commit_hook(...)"
|
||||
.ie n .IP "$repos\->pre_revprop_change(...)" 4
|
||||
.el .IP "\f(CW$repos\fR\->pre_revprop_change(...)" 4
|
||||
.IX Item "$repos->pre_revprop_change(...)"
|
||||
.ie n .IP "$repos\->post_revprop_change(...)" 4
|
||||
.el .IP "\f(CW$repos\fR\->post_revprop_change(...)" 4
|
||||
.IX Item "$repos->post_revprop_change(...)"
|
||||
.ie n .IP "$repos\->dated_revision(...)" 4
|
||||
.el .IP "\f(CW$repos\fR\->dated_revision(...)" 4
|
||||
.IX Item "$repos->dated_revision(...)"
|
||||
.ie n .IP "$repos\->fs_commit_txn(...)" 4
|
||||
.el .IP "\f(CW$repos\fR\->fs_commit_txn(...)" 4
|
||||
.IX Item "$repos->fs_commit_txn(...)"
|
||||
.ie n .IP "$repos\->fs_being_txn_for_commit(...)" 4
|
||||
.el .IP "\f(CW$repos\fR\->fs_being_txn_for_commit(...)" 4
|
||||
.IX Item "$repos->fs_being_txn_for_commit(...)"
|
||||
.ie n .IP "$repos\->fs_being_txn_for_update(...)" 4
|
||||
.el .IP "\f(CW$repos\fR\->fs_being_txn_for_update(...)" 4
|
||||
.IX Item "$repos->fs_being_txn_for_update(...)"
|
||||
.ie n .IP "$repos\->fs_change_rev_prop(...)" 4
|
||||
.el .IP "\f(CW$repos\fR\->fs_change_rev_prop(...)" 4
|
||||
.IX Item "$repos->fs_change_rev_prop(...)"
|
||||
.ie n .IP "$repos\->node_editor(...)" 4
|
||||
.el .IP "\f(CW$repos\fR\->node_editor(...)" 4
|
||||
.IX Item "$repos->node_editor(...)"
|
||||
.ie n .IP "$repos\->dump_fs(...)" 4
|
||||
.el .IP "\f(CW$repos\fR\->dump_fs(...)" 4
|
||||
.IX Item "$repos->dump_fs(...)"
|
||||
.ie n .IP "$repos\->load_fs(...)" 4
|
||||
.el .IP "\f(CW$repos\fR\->load_fs(...)" 4
|
||||
.IX Item "$repos->load_fs(...)"
|
||||
.ie n .IP "$repos\->get_fs_build_parser(...)" 4
|
||||
.el .IP "\f(CW$repos\fR\->get_fs_build_parser(...)" 4
|
||||
.IX Item "$repos->get_fs_build_parser(...)"
|
||||
.PD
|
||||
.SH "AUTHORS"
|
||||
.IX Header "AUTHORS"
|
||||
Chia-liang Kao <clkao@clkao.org>
|
||||
.SH "COPYRIGHT"
|
||||
.IX Header "COPYRIGHT"
|
||||
Copyright (c) 2003\-2006 CollabNet. All rights reserved.
|
||||
.PP
|
||||
This software is licensed as described in the file \s-1COPYING\s0, which you
|
||||
should have received as part of this distribution. The terms are also
|
||||
available at http://subversion.tigris.org/license\-1.html. If newer
|
||||
versions of this license are posted there, you may use a newer version
|
||||
instead, at your option.
|
||||
.PP
|
||||
This software consists of voluntary contributions made by many
|
||||
individuals. For exact contribution history, see the revision history
|
||||
and logs, available at http://subversion.tigris.org/.
|
|
@ -1,473 +0,0 @@
|
|||
.\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07)
|
||||
.\"
|
||||
.\" Standard preamble:
|
||||
.\" ========================================================================
|
||||
.de Sp \" Vertical space (when we can't use .PP)
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.de Vb \" Begin verbatim text
|
||||
.ft CW
|
||||
.nf
|
||||
.ne \\$1
|
||||
..
|
||||
.de Ve \" End verbatim text
|
||||
.ft R
|
||||
.fi
|
||||
..
|
||||
.\" Set up some character translations and predefined strings. \*(-- will
|
||||
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
|
||||
.\" double quote, and \*(R" will give a right double quote. \*(C+ will
|
||||
.\" give a nicer C++. Capital omega is used to do unbreakable dashes and
|
||||
.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
|
||||
.\" nothing in troff, for use with C<>.
|
||||
.tr \(*W-
|
||||
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
|
||||
.ie n \{\
|
||||
. ds -- \(*W-
|
||||
. ds PI pi
|
||||
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
|
||||
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
|
||||
. ds L" ""
|
||||
. ds R" ""
|
||||
. ds C` ""
|
||||
. ds C' ""
|
||||
'br\}
|
||||
.el\{\
|
||||
. ds -- \|\(em\|
|
||||
. ds PI \(*p
|
||||
. ds L" ``
|
||||
. ds R" ''
|
||||
'br\}
|
||||
.\"
|
||||
.\" Escape single quotes in literal strings from groff's Unicode transform.
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\"
|
||||
.\" If the F register is turned on, we'll generate index entries on stderr for
|
||||
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
|
||||
.\" entries marked with X<> in POD. Of course, you'll have to process the
|
||||
.\" output yourself in some meaningful fashion.
|
||||
.ie \nF \{\
|
||||
. de IX
|
||||
. tm Index:\\$1\t\\n%\t"\\$2"
|
||||
..
|
||||
. nr % 0
|
||||
. rr F
|
||||
.\}
|
||||
.el \{\
|
||||
. de IX
|
||||
..
|
||||
.\}
|
||||
.\"
|
||||
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
|
||||
.\" Fear. Run. Save yourself. No user-serviceable parts.
|
||||
. \" fudge factors for nroff and troff
|
||||
.if n \{\
|
||||
. ds #H 0
|
||||
. ds #V .8m
|
||||
. ds #F .3m
|
||||
. ds #[ \f1
|
||||
. ds #] \fP
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
|
||||
. ds #V .6m
|
||||
. ds #F 0
|
||||
. ds #[ \&
|
||||
. ds #] \&
|
||||
.\}
|
||||
. \" simple accents for nroff and troff
|
||||
.if n \{\
|
||||
. ds ' \&
|
||||
. ds ` \&
|
||||
. ds ^ \&
|
||||
. ds , \&
|
||||
. ds ~ ~
|
||||
. ds /
|
||||
.\}
|
||||
.if t \{\
|
||||
. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
|
||||
. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
|
||||
. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
|
||||
. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
|
||||
. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
|
||||
. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
|
||||
.\}
|
||||
. \" troff and (daisy-wheel) nroff accents
|
||||
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
|
||||
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
|
||||
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
|
||||
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
|
||||
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
|
||||
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
|
||||
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
|
||||
.ds ae a\h'-(\w'a'u*4/10)'e
|
||||
.ds Ae A\h'-(\w'A'u*4/10)'E
|
||||
. \" corrections for vroff
|
||||
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
|
||||
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
|
||||
. \" for low resolution devices (crt and lpr)
|
||||
.if \n(.H>23 .if \n(.V>19 \
|
||||
\{\
|
||||
. ds : e
|
||||
. ds 8 ss
|
||||
. ds o a
|
||||
. ds d- d\h'-1'\(ga
|
||||
. ds D- D\h'-1'\(hy
|
||||
. ds th \o'bp'
|
||||
. ds Th \o'LP'
|
||||
. ds ae ae
|
||||
. ds Ae AE
|
||||
.\}
|
||||
.rm #[ #] #H #V #F C
|
||||
.\" ========================================================================
|
||||
.\"
|
||||
.IX Title "native::Wc 3"
|
||||
.TH native::Wc 3 "2007-11-05" "perl v5.10.1" "User Contributed Perl Documentation"
|
||||
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
|
||||
.\" way too many mistakes in technical documents.
|
||||
.if n .ad l
|
||||
.nh
|
||||
.SH "NAME"
|
||||
SVN::Wc \- Subversion working copy functions
|
||||
.SH "SYNOPSIS"
|
||||
.IX Header "SYNOPSIS"
|
||||
Incomplete
|
||||
.SH "OBJECTS"
|
||||
.IX Header "OBJECTS"
|
||||
.SS "svn_wc_status_t"
|
||||
.IX Subsection "svn_wc_status_t"
|
||||
.ie n .IP "$wcstat\->\fIentry()\fR" 4
|
||||
.el .IP "\f(CW$wcstat\fR\->\fIentry()\fR" 4
|
||||
.IX Item "$wcstat->entry()"
|
||||
A svn_wc_entry_t object for the item. Can be undef if not under version
|
||||
control.
|
||||
.ie n .IP "$wcstat\->\fItext_status()\fR" 4
|
||||
.el .IP "\f(CW$wcstat\fR\->\fItext_status()\fR" 4
|
||||
.IX Item "$wcstat->text_status()"
|
||||
An integer representing the status of the item's text. Can be one of the
|
||||
\&\f(CW$SVN::Wc::Status::\fR* constants.
|
||||
.ie n .IP "$wcstat\->\fIprop_status()\fR" 4
|
||||
.el .IP "\f(CW$wcstat\fR\->\fIprop_status()\fR" 4
|
||||
.IX Item "$wcstat->prop_status()"
|
||||
An integer representing the status of the item's properties. Can be one of the
|
||||
\&\f(CW$SVN::Wc::Status::\fR* constants.
|
||||
.ie n .IP "$wcstat\->\fIlocked()\fR" 4
|
||||
.el .IP "\f(CW$wcstat\fR\->\fIlocked()\fR" 4
|
||||
.IX Item "$wcstat->locked()"
|
||||
A boolean telling if the item is locked. A directory can be locked if a
|
||||
working copy update was interrupted.
|
||||
.ie n .IP "$wcstat\->\fIcopied()\fR" 4
|
||||
.el .IP "\f(CW$wcstat\fR\->\fIcopied()\fR" 4
|
||||
.IX Item "$wcstat->copied()"
|
||||
A boolean telling if the item was copied. A file or directory can be copied if
|
||||
it's scheduled for addition-with-history (or part of a subtree that is
|
||||
scheduled as such).
|
||||
.ie n .IP "$wcstat\->\fIswitched()\fR" 4
|
||||
.el .IP "\f(CW$wcstat\fR\->\fIswitched()\fR" 4
|
||||
.IX Item "$wcstat->switched()"
|
||||
A boolean telling if the item was switched. A file or directory can be
|
||||
switched if the switch command has been used.
|
||||
.ie n .IP "$wcstat\->\fIrepos_text_status()\fR" 4
|
||||
.el .IP "\f(CW$wcstat\fR\->\fIrepos_text_status()\fR" 4
|
||||
.IX Item "$wcstat->repos_text_status()"
|
||||
An integer representing the status of the item's text in the repository. Can
|
||||
be one of the \f(CW$SVN::Wc::Status::\fR* constants.
|
||||
.ie n .IP "$wcstat\->\fIrepos_prop_status()\fR" 4
|
||||
.el .IP "\f(CW$wcstat\fR\->\fIrepos_prop_status()\fR" 4
|
||||
.IX Item "$wcstat->repos_prop_status()"
|
||||
An integer representing the status of the item's properties in the repository.
|
||||
Can be one of the \f(CW$SVN::Wc::Status::\fR* constants.
|
||||
.SS "svn_wc_entry_t"
|
||||
.IX Subsection "svn_wc_entry_t"
|
||||
.ie n .IP "$wcent\->\fIname()\fR" 4
|
||||
.el .IP "\f(CW$wcent\fR\->\fIname()\fR" 4
|
||||
.IX Item "$wcent->name()"
|
||||
Entry's name.
|
||||
.ie n .IP "$wcent\->\fIrevision()\fR" 4
|
||||
.el .IP "\f(CW$wcent\fR\->\fIrevision()\fR" 4
|
||||
.IX Item "$wcent->revision()"
|
||||
Base revision.
|
||||
.ie n .IP "$wcent\->\fIurl()\fR" 4
|
||||
.el .IP "\f(CW$wcent\fR\->\fIurl()\fR" 4
|
||||
.IX Item "$wcent->url()"
|
||||
\&\s-1URL\s0 in repository.
|
||||
.ie n .IP "$wcent\->\fIrepos()\fR" 4
|
||||
.el .IP "\f(CW$wcent\fR\->\fIrepos()\fR" 4
|
||||
.IX Item "$wcent->repos()"
|
||||
Canonical repository \s-1URL\s0.
|
||||
.ie n .IP "$wcent\->\fIuuid()\fR" 4
|
||||
.el .IP "\f(CW$wcent\fR\->\fIuuid()\fR" 4
|
||||
.IX Item "$wcent->uuid()"
|
||||
Repository uuid.
|
||||
.ie n .IP "$wcent\->\fIkind()\fR" 4
|
||||
.el .IP "\f(CW$wcent\fR\->\fIkind()\fR" 4
|
||||
.IX Item "$wcent->kind()"
|
||||
The kind of node. One of the following constants:
|
||||
\&\f(CW$SVN::Node::none\fR, \f(CW$SVN::Node::file\fR,
|
||||
\&\f(CW$SVN::Node::dir\fR, \f(CW$SVN::Node::unknown\fR.
|
||||
.ie n .IP "$wcent\->\fIschedule()\fR" 4
|
||||
.el .IP "\f(CW$wcent\fR\->\fIschedule()\fR" 4
|
||||
.IX Item "$wcent->schedule()"
|
||||
Scheduling. One of the SVN::Wc::Schedule::* constants.
|
||||
.ie n .IP "$wcent\->\fIcopied()\fR" 4
|
||||
.el .IP "\f(CW$wcent\fR\->\fIcopied()\fR" 4
|
||||
.IX Item "$wcent->copied()"
|
||||
In a copied state.
|
||||
.ie n .IP "$wcent\->\fIdeleted()\fR" 4
|
||||
.el .IP "\f(CW$wcent\fR\->\fIdeleted()\fR" 4
|
||||
.IX Item "$wcent->deleted()"
|
||||
Deleted, but parent rev lags behind.
|
||||
.ie n .IP "$wcent\->\fIabsent()\fR" 4
|
||||
.el .IP "\f(CW$wcent\fR\->\fIabsent()\fR" 4
|
||||
.IX Item "$wcent->absent()"
|
||||
Absent \*(-- we know an entry of this name exists, but that's all (usually this
|
||||
happens because of authz restrictions)
|
||||
.ie n .IP "$wcent\->\fIincomplete()\fR" 4
|
||||
.el .IP "\f(CW$wcent\fR\->\fIincomplete()\fR" 4
|
||||
.IX Item "$wcent->incomplete()"
|
||||
For \s-1THIS_DIR\s0 entry, implies whole entries file is incomplete.
|
||||
.ie n .IP "$wcent\->\fIcopyfrom_url()\fR" 4
|
||||
.el .IP "\f(CW$wcent\fR\->\fIcopyfrom_url()\fR" 4
|
||||
.IX Item "$wcent->copyfrom_url()"
|
||||
Copyfrom location.
|
||||
.ie n .IP "$wcent\->\fIcopyfrom_rev()\fR" 4
|
||||
.el .IP "\f(CW$wcent\fR\->\fIcopyfrom_rev()\fR" 4
|
||||
.IX Item "$wcent->copyfrom_rev()"
|
||||
Copyfrom revision.
|
||||
.ie n .IP "$wcent\->\fIconflict_old()\fR" 4
|
||||
.el .IP "\f(CW$wcent\fR\->\fIconflict_old()\fR" 4
|
||||
.IX Item "$wcent->conflict_old()"
|
||||
Old version of conflicted file.
|
||||
.ie n .IP "$wcent\->\fIconflict_new()\fR" 4
|
||||
.el .IP "\f(CW$wcent\fR\->\fIconflict_new()\fR" 4
|
||||
.IX Item "$wcent->conflict_new()"
|
||||
New version of conflicted file.
|
||||
.ie n .IP "$wcent\->\fIconflict_wrk()\fR" 4
|
||||
.el .IP "\f(CW$wcent\fR\->\fIconflict_wrk()\fR" 4
|
||||
.IX Item "$wcent->conflict_wrk()"
|
||||
Working version of conflicted file.
|
||||
.ie n .IP "$wcent\->\fIprejfile()\fR" 4
|
||||
.el .IP "\f(CW$wcent\fR\->\fIprejfile()\fR" 4
|
||||
.IX Item "$wcent->prejfile()"
|
||||
Property reject file.
|
||||
.ie n .IP "$wcent\->\fItext_time()\fR" 4
|
||||
.el .IP "\f(CW$wcent\fR\->\fItext_time()\fR" 4
|
||||
.IX Item "$wcent->text_time()"
|
||||
Last up-to-date time for text contents (0 means no information available).
|
||||
.ie n .IP "$wcent\->\fIprop_time()\fR" 4
|
||||
.el .IP "\f(CW$wcent\fR\->\fIprop_time()\fR" 4
|
||||
.IX Item "$wcent->prop_time()"
|
||||
Last up-to-date time for properties (0 means no information available).
|
||||
.ie n .IP "$wcent\->\fIchecksum()\fR" 4
|
||||
.el .IP "\f(CW$wcent\fR\->\fIchecksum()\fR" 4
|
||||
.IX Item "$wcent->checksum()"
|
||||
Base\-64 encoded checksum for the untranslated text base file, can be undef for
|
||||
backwards compatibility.
|
||||
.ie n .IP "$wcent\->\fIcmt_rev()\fR" 4
|
||||
.el .IP "\f(CW$wcent\fR\->\fIcmt_rev()\fR" 4
|
||||
.IX Item "$wcent->cmt_rev()"
|
||||
Last revision this was changed.
|
||||
.ie n .IP "$wcent\->\fIcmt_date()\fR" 4
|
||||
.el .IP "\f(CW$wcent\fR\->\fIcmt_date()\fR" 4
|
||||
.IX Item "$wcent->cmt_date()"
|
||||
Last date this was changed.
|
||||
.ie n .IP "$wcent\->\fIcmt_author()\fR" 4
|
||||
.el .IP "\f(CW$wcent\fR\->\fIcmt_author()\fR" 4
|
||||
.IX Item "$wcent->cmt_author()"
|
||||
Last commit author of this item.
|
||||
.SH "CONSTANTS"
|
||||
.IX Header "CONSTANTS"
|
||||
.SS "SVN::Wc::Notify::Action"
|
||||
.IX Subsection "SVN::Wc::Notify::Action"
|
||||
.ie n .IP "$SVN::Wc::Notify::Action::add" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Notify::Action::add\fR" 4
|
||||
.IX Item "$SVN::Wc::Notify::Action::add"
|
||||
Adding a path to revision control.
|
||||
.ie n .IP "$SVN::Wc::Notify::Action::copy" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Notify::Action::copy\fR" 4
|
||||
.IX Item "$SVN::Wc::Notify::Action::copy"
|
||||
Copying a versioned path.
|
||||
.ie n .IP "$SVN::Wc::Notify::Action::delete" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Notify::Action::delete\fR" 4
|
||||
.IX Item "$SVN::Wc::Notify::Action::delete"
|
||||
Deleting a versioned path.
|
||||
.ie n .IP "$SVN::Wc::Notify::Action::restore" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Notify::Action::restore\fR" 4
|
||||
.IX Item "$SVN::Wc::Notify::Action::restore"
|
||||
Restoring a missing path from the pristine text-base.
|
||||
.ie n .IP "$SVN::Wc::Notify::Action::revert" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Notify::Action::revert\fR" 4
|
||||
.IX Item "$SVN::Wc::Notify::Action::revert"
|
||||
Reverting a modified path.
|
||||
.ie n .IP "$SVN::Wc::Notify::Action::failed_revert" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Notify::Action::failed_revert\fR" 4
|
||||
.IX Item "$SVN::Wc::Notify::Action::failed_revert"
|
||||
A revert operation has failed.
|
||||
.ie n .IP "$SVN::Wc::Notify::Action::resolved" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Notify::Action::resolved\fR" 4
|
||||
.IX Item "$SVN::Wc::Notify::Action::resolved"
|
||||
Resolving a conflict.
|
||||
.ie n .IP "$SVN::Wc::Notify::Action::skip" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Notify::Action::skip\fR" 4
|
||||
.IX Item "$SVN::Wc::Notify::Action::skip"
|
||||
Skipping a path.
|
||||
.ie n .IP "$SVN::Wc::Notify::Action::update_delete" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Notify::Action::update_delete\fR" 4
|
||||
.IX Item "$SVN::Wc::Notify::Action::update_delete"
|
||||
Got a delete in an update.
|
||||
.ie n .IP "$SVN::Wc::Notify::Action::update_add" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Notify::Action::update_add\fR" 4
|
||||
.IX Item "$SVN::Wc::Notify::Action::update_add"
|
||||
Got an add in an update.
|
||||
.ie n .IP "$SVN::Wc::Notify::Action::update_update" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Notify::Action::update_update\fR" 4
|
||||
.IX Item "$SVN::Wc::Notify::Action::update_update"
|
||||
Got any other action in an update.
|
||||
.ie n .IP "$SVN::Wc::Notify::Action::update_completed" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Notify::Action::update_completed\fR" 4
|
||||
.IX Item "$SVN::Wc::Notify::Action::update_completed"
|
||||
The last notification in an update (including updates of externals).
|
||||
.ie n .IP "$SVN::Wc::Notify::Action::update_external" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Notify::Action::update_external\fR" 4
|
||||
.IX Item "$SVN::Wc::Notify::Action::update_external"
|
||||
Updating an external module.
|
||||
.ie n .IP "$SVN::Wc::Notify::Action::status_completed" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Notify::Action::status_completed\fR" 4
|
||||
.IX Item "$SVN::Wc::Notify::Action::status_completed"
|
||||
The last notification in a status (including status on externals).
|
||||
.ie n .IP "$SVN::Wc::Notify::Action::status_external" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Notify::Action::status_external\fR" 4
|
||||
.IX Item "$SVN::Wc::Notify::Action::status_external"
|
||||
Running status on an external module.
|
||||
.ie n .IP "$SVN::Wc::Notify::Action::commit_modified" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Notify::Action::commit_modified\fR" 4
|
||||
.IX Item "$SVN::Wc::Notify::Action::commit_modified"
|
||||
Committing a modification.
|
||||
.ie n .IP "$SVN::Wc::Notify::Action::commit_added" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Notify::Action::commit_added\fR" 4
|
||||
.IX Item "$SVN::Wc::Notify::Action::commit_added"
|
||||
Committing an addition.
|
||||
.ie n .IP "$SVN::Wc::Notify::Action::commit_deleted" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Notify::Action::commit_deleted\fR" 4
|
||||
.IX Item "$SVN::Wc::Notify::Action::commit_deleted"
|
||||
Committing a deletion.
|
||||
.ie n .IP "$SVN::Wc::Notify::Action::commit_replaced" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Notify::Action::commit_replaced\fR" 4
|
||||
.IX Item "$SVN::Wc::Notify::Action::commit_replaced"
|
||||
Committing a replacement.
|
||||
.ie n .IP "$SVN::Wc::Notify::Action::commit_postfix_txdelta" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Notify::Action::commit_postfix_txdelta\fR" 4
|
||||
.IX Item "$SVN::Wc::Notify::Action::commit_postfix_txdelta"
|
||||
Transmitting post-fix text-delta data for a file.
|
||||
.ie n .IP "$SVN::Wc::Notify::Action::blame_revision" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Notify::Action::blame_revision\fR" 4
|
||||
.IX Item "$SVN::Wc::Notify::Action::blame_revision"
|
||||
Processed a single revision's blame.
|
||||
.SS "SVN::Wc::Notify::State"
|
||||
.IX Subsection "SVN::Wc::Notify::State"
|
||||
.ie n .IP "$SVN::Wc::Notify::State::unknown" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Notify::State::unknown\fR" 4
|
||||
.IX Item "$SVN::Wc::Notify::State::unknown"
|
||||
Notifier doesn't know or isn't saying.
|
||||
.ie n .IP "$SVN::Wc::Notify::State::unchanged" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Notify::State::unchanged\fR" 4
|
||||
.IX Item "$SVN::Wc::Notify::State::unchanged"
|
||||
The state did not change.
|
||||
.ie n .IP "$SVN::Wc::Notify::State::missing" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Notify::State::missing\fR" 4
|
||||
.IX Item "$SVN::Wc::Notify::State::missing"
|
||||
The item wasn't present.
|
||||
.ie n .IP "$SVN::Wc::Notify::State::obstructed" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Notify::State::obstructed\fR" 4
|
||||
.IX Item "$SVN::Wc::Notify::State::obstructed"
|
||||
An unversioned item obstructed work.
|
||||
.ie n .IP "$SVN::Wc::Notify::State::changed" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Notify::State::changed\fR" 4
|
||||
.IX Item "$SVN::Wc::Notify::State::changed"
|
||||
Pristine state was modified.
|
||||
.ie n .IP "$SVN::Wc::Notify::State::merged" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Notify::State::merged\fR" 4
|
||||
.IX Item "$SVN::Wc::Notify::State::merged"
|
||||
Modified state had mods merged in.
|
||||
.ie n .IP "$SVN::Wc::Notify::State::conflicted" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Notify::State::conflicted\fR" 4
|
||||
.IX Item "$SVN::Wc::Notify::State::conflicted"
|
||||
Modified state got conflicting mods.
|
||||
.SS "SVN::Wc::Schedule"
|
||||
.IX Subsection "SVN::Wc::Schedule"
|
||||
.ie n .IP "$SVN::Wc::Schedule::normal" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Schedule::normal\fR" 4
|
||||
.IX Item "$SVN::Wc::Schedule::normal"
|
||||
Nothing special here.
|
||||
.ie n .IP "$SVN::Wc::Schedule::add" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Schedule::add\fR" 4
|
||||
.IX Item "$SVN::Wc::Schedule::add"
|
||||
Slated for addition.
|
||||
.ie n .IP "$SVN::Wc::Schedule::delete" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Schedule::delete\fR" 4
|
||||
.IX Item "$SVN::Wc::Schedule::delete"
|
||||
Slated for deletion.
|
||||
.ie n .IP "$SVN::Wc::Schedule::replace" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Schedule::replace\fR" 4
|
||||
.IX Item "$SVN::Wc::Schedule::replace"
|
||||
Slated for replacement (delete + add)
|
||||
.SS "SVN::Wc::Status"
|
||||
.IX Subsection "SVN::Wc::Status"
|
||||
.ie n .IP "$SVN::Wc::Status::none" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Status::none\fR" 4
|
||||
.IX Item "$SVN::Wc::Status::none"
|
||||
Does not exist.
|
||||
.ie n .IP "$SVN::Wc::Status::unversioned" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Status::unversioned\fR" 4
|
||||
.IX Item "$SVN::Wc::Status::unversioned"
|
||||
Is not a versioned node in this working copy.
|
||||
.ie n .IP "$SVN::Wc::Status::normal" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Status::normal\fR" 4
|
||||
.IX Item "$SVN::Wc::Status::normal"
|
||||
Exists, but uninteresting.
|
||||
.ie n .IP "$SVN::Wc::Status::added" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Status::added\fR" 4
|
||||
.IX Item "$SVN::Wc::Status::added"
|
||||
Is scheduled for addition.
|
||||
.ie n .IP "$SVN::Wc::Status::missing" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Status::missing\fR" 4
|
||||
.IX Item "$SVN::Wc::Status::missing"
|
||||
Under version control but missing.
|
||||
.ie n .IP "$SVN::Wc::Status::deleted" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Status::deleted\fR" 4
|
||||
.IX Item "$SVN::Wc::Status::deleted"
|
||||
Scheduled for deletion.
|
||||
.ie n .IP "$SVN::Wc::Status::replaced" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Status::replaced\fR" 4
|
||||
.IX Item "$SVN::Wc::Status::replaced"
|
||||
Was deleted and then re-added.
|
||||
.ie n .IP "$SVN::Wc::Status::modified" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Status::modified\fR" 4
|
||||
.IX Item "$SVN::Wc::Status::modified"
|
||||
Text or props have been modified.
|
||||
.ie n .IP "$SVN::Wc::Status::merged" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Status::merged\fR" 4
|
||||
.IX Item "$SVN::Wc::Status::merged"
|
||||
Local mods received repos mods.
|
||||
.ie n .IP "$SVN::Wc::Status::conflicted" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Status::conflicted\fR" 4
|
||||
.IX Item "$SVN::Wc::Status::conflicted"
|
||||
Local mods received conflicting mods.
|
||||
.ie n .IP "$SVN::Wc::Status::ignored" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Status::ignored\fR" 4
|
||||
.IX Item "$SVN::Wc::Status::ignored"
|
||||
A node marked as ignored.
|
||||
.ie n .IP "$SVN::Wc::Status::obstructed" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Status::obstructed\fR" 4
|
||||
.IX Item "$SVN::Wc::Status::obstructed"
|
||||
An unversioned resource is in the way of the versioned resource.
|
||||
.ie n .IP "$SVN::Wc::Status::external" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Status::external\fR" 4
|
||||
.IX Item "$SVN::Wc::Status::external"
|
||||
An unversioned path populated by an svn:externals property.
|
||||
.ie n .IP "$SVN::Wc::Status::incomplete" 4
|
||||
.el .IP "\f(CW$SVN::Wc::Status::incomplete\fR" 4
|
||||
.IX Item "$SVN::Wc::Status::incomplete"
|
||||
A directory doesn't contain a complete entries list.
|
|
@ -1,10 +0,0 @@
|
|||
--- Makefile.in.orig 2009-02-16 14:10:48.000000000 -0200
|
||||
+++ Makefile.in 2009-06-04 00:56:29.000000000 -0300
|
||||
@@ -678,6 +678,7 @@
|
||||
|
||||
$(SWIG_PL_DIR)/native/Makefile: $(SWIG_PL_DIR)/native/Makefile.PL
|
||||
cd $(SWIG_PL_DIR)/native; $(PERL) Makefile.PL
|
||||
+ cd $(SWIG_PL_DIR)/native; sed -i 's|LD_RUN_PATH|DIE_RPATH_DIE|g' Makefile{,.{client,delta,fs,ra,repos,wc}}
|
||||
|
||||
swig-pl_DEPS = autogen-swig-pl libsvn_swig_perl \
|
||||
$(SWIG_PL_DIR)/native/Makefile
|
|
@ -1,22 +0,0 @@
|
|||
diff -urN subversion-1.6.9/subversion/bindings/swig/python/svn/core.py subversion-1.6.9-fixed/subversion/bindings/swig/python/svn/core.py
|
||||
--- subversion-1.6.9/subversion/bindings/swig/python/svn/core.py 2009-02-13 11:22:26.000000000 -0500
|
||||
+++ subversion-1.6.9-fixed/subversion/bindings/swig/python/svn/core.py 2010-02-08 07:46:29.000000000 -0500
|
||||
@@ -19,6 +19,7 @@
|
||||
from libsvn.core import *
|
||||
import libsvn.core as _libsvncore
|
||||
import atexit as _atexit
|
||||
+import warnings
|
||||
|
||||
class SubversionException(Exception):
|
||||
def __init__(self, message=None, apr_err=None, child=None,
|
||||
@@ -44,7 +45,9 @@
|
||||
Exception.__init__(self, *args)
|
||||
|
||||
self.apr_err = apr_err
|
||||
- self.message = message
|
||||
+ with warnings.catch_warnings():
|
||||
+ warnings.simplefilter("ignore", DeprecationWarning)
|
||||
+ self.message = message
|
||||
self.child = child
|
||||
self.file = file
|
||||
self.line = line
|
|
@ -1,11 +0,0 @@
|
|||
service svn
|
||||
{
|
||||
flags = REUSE
|
||||
socket_type = stream
|
||||
wait = no
|
||||
user = root
|
||||
server = /usr/bin/svnserve
|
||||
server_args = -i
|
||||
log_on_failure += USERID
|
||||
disable = yes
|
||||
}
|
File diff suppressed because it is too large
Load diff
|
@ -1,42 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
. /etc/rc.conf
|
||||
. /etc/rc.d/functions
|
||||
. /etc/conf.d/svnserve
|
||||
|
||||
PID=`pidof -o %PPID /usr/bin/svnserve`
|
||||
case "$1" in
|
||||
start)
|
||||
stat_busy "Starting svnserve"
|
||||
if [ -z "$PID" ]; then
|
||||
if [ -n "$SVNSERVE_USER" ]; then
|
||||
su -s '/bin/sh' $SVNSERVE_USER -c "/usr/bin/svnserve -d $SVNSERVE_ARGS" &
|
||||
else
|
||||
/usr/bin/svnserve -d $SVNSERVE_ARGS &
|
||||
fi
|
||||
fi
|
||||
if [ ! -z "$PID" -o $? -gt 0 ]; then
|
||||
stat_fail
|
||||
else
|
||||
add_daemon svnserve
|
||||
stat_done
|
||||
fi
|
||||
;;
|
||||
stop)
|
||||
stat_busy "Stopping svnserve"
|
||||
[ ! -z "$PID" ] && kill $PID &> /dev/null
|
||||
if [ $? -gt 0 ]; then
|
||||
stat_fail
|
||||
else
|
||||
rm_daemon svnserve
|
||||
stat_done
|
||||
fi
|
||||
;;
|
||||
restart)
|
||||
$0 stop
|
||||
sleep 1
|
||||
$0 start
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 {start|stop|restart}"
|
||||
esac
|
|
@ -1,7 +0,0 @@
|
|||
#
|
||||
# Parameters to be passed to svnserve
|
||||
#
|
||||
#SVNSERVE_ARGS="-r /path/to/some/repos"
|
||||
SVNSERVE_ARGS=""
|
||||
|
||||
#SVNSERVE_USER="svn"
|
|
@ -1,81 +0,0 @@
|
|||
--- vnc_unixsrc/Xvnc/config/cf/linux.cf.orig 2010-09-21 20:00:26.000000000 +0000
|
||||
+++ vnc_unixsrc/Xvnc/config/cf/linux.cf 2010-09-21 20:02:08.000000000 +0000
|
||||
@@ -249,42 +249,36 @@
|
||||
|
||||
#ifdef i386Architecture
|
||||
#define OptimizedCDebugFlags DefaultGcc2i386Opt
|
||||
-#define LinuxMachineDefines -D__i386__
|
||||
#define ServerOSDefines XFree86ServerOSDefines -DDDXTIME -DPART_NET
|
||||
#define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines
|
||||
#endif /* i386Architecture */
|
||||
|
||||
#ifdef x86_64Architecture
|
||||
#define OptimizedCDebugFlags -O2
|
||||
-#define LinuxMachineDefines -D__x86_64__
|
||||
#define ServerOSDefines XFree86ServerOSDefines -DDDXTIME -DPART_NET
|
||||
#define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines -D_XSERVER64
|
||||
#endif /* x86_64Architecture */
|
||||
|
||||
#ifdef AlphaArchitecture
|
||||
#define OptimizedCDebugFlags -O2
|
||||
-#define LinuxMachineDefines -D__alpha__
|
||||
#define ServerOSDefines XFree86ServerOSDefines -DDDXTIME -DPART_NET
|
||||
#define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines -D_XSERVER64
|
||||
#endif /* AlphaArchitecture */
|
||||
|
||||
#ifdef Mc68020Architecture
|
||||
#define OptimizedCDebugFlags -O2
|
||||
-#define LinuxMachineDefines -D__mc68000__
|
||||
#define ServerOSDefines XFree86ServerOSDefines -DDDXTIME -DPART_NET
|
||||
#define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines
|
||||
#endif /* Mc68020Architecture */
|
||||
|
||||
#ifdef s390Architecture
|
||||
#define OptimzedCDebugFlags -O2
|
||||
-#define LinuxMachineDefines -D__s390__
|
||||
#define ServerOSDefines XFree86ServerOSDefines -DDDXTIME -DPART_NET
|
||||
#define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines
|
||||
#endif /* s390Architecture */
|
||||
|
||||
#ifdef s390xArchitecture
|
||||
#define OptimzedCDebugFlags -O2
|
||||
-#define LinuxMachineDefines -D__s390x__
|
||||
#define ServerOSDefines XFree86ServerOSDefines -DDDXTIME -DPART_NET
|
||||
#define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines
|
||||
#endif /* s390xArchitecture */
|
||||
@@ -292,7 +286,6 @@
|
||||
#ifdef PowerPCArchitecture
|
||||
#define DefaultCCOptions -fsigned-char
|
||||
#define OptimizedCDebugFlags -O2
|
||||
-#define LinuxMachineDefines -D__powerpc__
|
||||
#define ServerOSDefines XFree86ServerOSDefines -DDDXTIME -DPART_NET
|
||||
#define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines
|
||||
#endif /* PowerPCArchitecture */
|
||||
@@ -300,14 +293,12 @@
|
||||
#ifdef ArmArchitecture
|
||||
#define DefaultCCOptions -fsigned-char
|
||||
#define OptimizedCDebugFlags -O2
|
||||
-#define LinuxMachineDefines -D__arm__
|
||||
#define ServerOSDefines XFree86ServerOSDefines -DDDXTIME -DPART_NET
|
||||
#define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines
|
||||
#endif /* Arm */
|
||||
|
||||
#ifdef SparcArchitecture
|
||||
#define OptimizedCDebugFlags -O2
|
||||
-#define LinuxMachineDefines -D__sparc__
|
||||
#define ServerOSDefines -DDDXOSINIT
|
||||
#define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines
|
||||
#define AsVISOption -Av9a
|
||||
@@ -327,10 +318,10 @@
|
||||
Always define _REENTRANT since we may use threaded libraries */
|
||||
|
||||
/* REMOVE
|
||||
-#define StandardDefines -Dlinux LinuxMachineDefines LinuxSourceDefines
|
||||
+#define StandardDefines -Dlinux LinuxSourceDefines
|
||||
*/
|
||||
|
||||
-#define StandardDefines -Dlinux LinuxMachineDefines \
|
||||
+#define StandardDefines -Dlinux \
|
||||
LinuxSourceDefines -D_REENTRANT
|
||||
|
||||
/* END ORL VNC modification
|
|
@ -1,47 +0,0 @@
|
|||
# Maintainer: Paul Mattal <paul@archlinux.org>
|
||||
|
||||
# This PKGBUILD was submitted by a user
|
||||
|
||||
pkgname=tightvnc
|
||||
pkgver=1.3.10
|
||||
pkgrel=5
|
||||
pkgdesc="VNC Unix server && viewer"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL')
|
||||
url="http://www.tightvnc.com"
|
||||
depends=('libjpeg>=7' 'zlib' 'libxaw' 'libxp' 'xorg-xauth')
|
||||
makedepends=('imake')
|
||||
conflicts=('vnc')
|
||||
options=(!makeflags)
|
||||
source=(http://downloads.sf.net/sourceforge/vnc-tight/$pkgname-${pkgver}_unixsrc.tar.bz2
|
||||
tightvnc-fontpath-xcolors.patch
|
||||
LinuxMachineDefines-arm.patch)
|
||||
|
||||
build() {
|
||||
cd $srcdir/vnc_unixsrc || return 1
|
||||
patch -Np1 -i ../tightvnc-fontpath-xcolors.patch || return 1
|
||||
sed -i 's|/usr/local/|/usr/share/|' vncserver || return 1
|
||||
# The following patch allows the package to compile on ARM. It may not
|
||||
# be the best way to do it, but it works. A more elegant solution
|
||||
# is welcomed.
|
||||
patch -Np1 -i ../LinuxMachineDefines-arm.patch || return 1
|
||||
|
||||
xmkmf || return 1
|
||||
make World || return 1
|
||||
cd Xvnc || return 1
|
||||
./configure || return 1
|
||||
sed 's|PROTO_DEFINES =|PROTO_DEFINES = -D_XOPEN_SOURCE=500L|' \
|
||||
-i programs/Xserver/os/Makefile lib/font/fc/Makefile || return 1
|
||||
make || return 1
|
||||
cd .. || return 1
|
||||
mkdir -p $pkgdir/usr/bin $pkgdir/usr/share/man/man1 || return 1
|
||||
./vncinstall $pkgdir/usr/bin $pkgdir/usr/share/man || return 1
|
||||
|
||||
# install java classes
|
||||
mkdir -p $pkgdir/usr/share/vnc/classes || return 1
|
||||
install -Dm644 $srcdir/vnc_unixsrc/classes/* \
|
||||
$pkgdir/usr/share/vnc/classes || return 1
|
||||
}
|
||||
md5sums=('397b35faad32d5246b6d44b142f8304f'
|
||||
'21aa7f3376ec3c608ff22d199a19c601'
|
||||
'48a419227940ef3dcd92fab7f8809845')
|
|
@ -1,13 +0,0 @@
|
|||
diff -urN vnc_unixsrc/vncserver vnc_unixsrc.fixed/vncserver
|
||||
--- vnc_unixsrc/vncserver 2009-02-11 23:27:18.000000000 -0500
|
||||
+++ vnc_unixsrc.fixed/vncserver 2009-04-23 21:46:46.000000000 -0400
|
||||
@@ -34,7 +34,8 @@
|
||||
$desktopName = "X";
|
||||
$vncClasses = "/usr/local/vnc/classes";
|
||||
$vncUserDir = "$ENV{HOME}/.vnc";
|
||||
-$fontPath = "unix/:7100";
|
||||
+$fontPath = "/usr/share/fonts/misc/,/usr/share/fonts/75dpi/,/usr/share/fonts/100dpi/,/usr/share/fonts/Type1/";
|
||||
+$colorPath = "/usr/share/X11/rgb";
|
||||
$authType = "-rfbauth $vncUserDir/passwd";
|
||||
|
||||
# Read configuration from the system-wide and user files if present.
|
|
@ -1,32 +0,0 @@
|
|||
# Maintainer: Mike Staszel <mikestaszel@plugboxlinux.org>
|
||||
# Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
|
||||
# Contributor: Michal Hybner <dta081@gmail.com>
|
||||
|
||||
# Plugbox changes:
|
||||
# Removed "--enable-mmx" from the ./configure line
|
||||
|
||||
pkgname=wavpack
|
||||
pkgver=4.60.1
|
||||
pkgrel=1
|
||||
pkgdesc="Audio compression format with lossless, lossy, and hybrid compression modes"
|
||||
arch=(arm)
|
||||
url="http://www.wavpack.com/"
|
||||
license=('custom')
|
||||
depends=('glibc')
|
||||
options=('!libtool')
|
||||
source=(http://www.wavpack.com/${pkgname}-${pkgver}.tar.bz2)
|
||||
md5sums=('7bb1528f910e4d0003426c02db856063')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
./configure --prefix=/usr --disable-static || return 1
|
||||
make || return 1
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname}
|
||||
install -m644 license.txt ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
|
||||
rm -f ${pkgdir}/usr/lib/*.a
|
||||
}
|
|
@ -1,33 +0,0 @@
|
|||
# Maintainer : Mike Staszel <mikestaszel@plugboxlinux.org>
|
||||
# Contributor: damir <damir@archlinux.org>
|
||||
# Contributor: Paul Mattal <paul@archlinux.org>
|
||||
|
||||
# Plugbox changes:
|
||||
# - Added "--disable-asm" to ./configure to work with ARMv5 CPUs.
|
||||
|
||||
pkgname=x264
|
||||
pkgver=20100607
|
||||
pkgrel=1
|
||||
pkgdesc="free library for encoding H264/AVC video streams"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.videolan.org/developers/x264.html"
|
||||
license=('GPL')
|
||||
depends=('glibc')
|
||||
makedepends=('yasm')
|
||||
source=(ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-$pkgver-2245.tar.bz2)
|
||||
md5sums=('d796cbb3eb4ce5126b861aed64d0058e')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname-snapshot-$pkgver-2245" || return 1
|
||||
|
||||
./configure --enable-shared --disable-asm || return 1
|
||||
|
||||
make || return 1
|
||||
make DESTDIR="$pkgdir" \
|
||||
bindir=/usr/bin \
|
||||
libdir=/usr/lib \
|
||||
includedir=/usr/include \
|
||||
install || return 1
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
|
@ -1,25 +0,0 @@
|
|||
Copyright 1989, 1998 The Open Group
|
||||
|
||||
Permission to use, copy, modify, distribute, and sell this software and its
|
||||
documentation for any purpose is hereby granted without fee, provided that
|
||||
the above copyright notice appear in all copies and that both that
|
||||
copyright notice and this permission notice appear in supporting
|
||||
documentation.
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
||||
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
Except as contained in this notice, the name of The Open Group shall not be
|
||||
used in advertising or otherwise to promote the sale, use or other dealings
|
||||
in this Software without prior written authorization from The Open Group.
|
||||
* *
|
||||
* Original Author of "xauth" : Jim Fulton, MIT X Consortium
|
||||
* Modified into "iceauth" : Ralph Mor, X Consortium
|
||||
*/
|
|
@ -1,18 +0,0 @@
|
|||
(c) Copyright 1990 Tektronix Inc.
|
||||
All Rights Reserved
|
||||
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
provided that the above copyright notice appear in all copies and that
|
||||
both that copyright notice and this permission notice appear in
|
||||
supporting documentation, and that the name of Tektronix not be used
|
||||
in advertising or publicity pertaining to distribution of the software
|
||||
without specific, written prior permission.
|
||||
|
||||
Tektronix disclaims all warranties with regard to this software, including
|
||||
all implied warranties of merchantability and fitness, in no event shall
|
||||
Tektronix be liable for any special, indirect or consequential damages or
|
||||
any damages whatsoever resulting from loss of use, data or profits,
|
||||
whether in an action of contract, negligence or other tortious action,
|
||||
arising out of or in connection with the use or performance of this
|
||||
software.
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue