New PKGBUILD for File-RsyncP
As my first foray into PKGBUILDing, I figured I'd try one for a simple perl module. This will be needed by backuppc, which I'll be attempting next.
see below
I'm unsure if the makedepends are necessary, and `namcap -i` said that the perl dependency was unneeded. I'd appreciate any feedback.
Last edited by sinecure (2007-10-10 12:09:53)
Here's my final version of the PKGBUILD, now I'll read up on how to submit it.
# Contributor: "David J. Weller-Fahy" <[email protected]>
# Maintainer: "David J. Weller-Fahy" <[email protected]>
pkgname=perl-file-rsyncp
pkgver=0.68
pkgrel=2
pkgdesc="Perl/CPAN Module File::RsyncP : a simple rsync client"
arch=('i686' 'x86_64')
url="http://search.cpan.org/~cbarratt/File-RsyncP"
source=("http://search.cpan.org/CPAN/authors/id/C/CB/CBARRATT/File-RsyncP-$pkgver.tar.gz")
license=('GPL2')
provides=('file-rsyncp')
depends=('perl>=5.8.8-6' 'glibc')
makedepends=('make' 'gcc' 'findutils')
options=('docs' '!emptydirs')
build() {
cd $startdir/src/File-RsyncP-$pkgver || return 1
eval `perl -V:archname` || return 1
perl Makefile.PL \
INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \
INSTALLSITELIB=/usr/lib/perl5/site_perl/current \
INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname} \
|| return 1
make || return 1
make DESTDIR=$startdir/pkg install || return 1
find $startdir/pkg -name '.packlist' -exec rm '{}' \; || return 1
find $startdir/pkg -name '*.pod' -exec rm '{}' \; || return 1
md5sums=('ed47c5ef7ff835415692f18137cb0cf9')
Last edited by sinecure (2007-10-11 08:49:25)
Similar Messages
-
New PKGBUILDs for calpp and cpyrit-calpp
Hello
I wanted to try the calpp backend for pyrit (a WPA cracking utility), but couldn't find them in either the official repositiories or in AUR. There for I have created new PKGBUILDs for these, they work on my system (x86_64 3.1.0-4-ARCH), but as these are my first ones I wanted to post them here for review before I upload them to AUR.
The main thing I have doubts about are the dependencies. I think I have listed them all but I'm not sure.
Here is the PKGBUILD for calpp:
# Maintainer: Martin R. <mr-ger [at] hotmail [dot] com>
pkgname=calpp
pkgver=0.90
pkgrel=2
pkgdesc="Library to allow writing ATI CAL kernels in C++"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/calpp/"
license=('GPL3')
depends=('amdstream' 'boost')
makedepends=('cmake')
source=("http://sourceforge.net/projects/calpp/files/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz")
md5sums=('efc3f519492ac8d3178fe42115ce3637')
_streamdir='/opt/amdstream'
build() {
cd "$srcdir/$pkgname-$pkgver"
sed -i "s|\$ENV{ATISTREAMSDKROOT}/lib|${_streamdir}/lib|g" CMakeLists.txt
sed -i "s|\$ENV{ATISTREAMSDKROOT}/include|/${_streamdir}/include/CAL|" CMakeLists.txt
cmake -DCMAKE_INSTALL_PREFIX=/usr .
make
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
And here is the PKGBUILD for cpyrit-calpp:
# Maintainer: Martin R. <mr-ger [at] hotmail [dot] com>
pkgname=cpyrit-calpp-svn
pkgver=308
pkgrel=3
pkgdesc="CAL++ backend for accelerated attack against WPA-PSK authentication, development version"
url="http://code.google.com/p/pyrit/"
license=('GPL3')
arch=('i686' 'x86_64')
depends=('python2' 'catalyst-utils' 'pyrit-svn')
makedepends=('calpp')
conflicts=('cpyrit-opencl-svn')
_svntrunk='http://pyrit.googlecode.com/svn/trunk'
_svnmod='cpyrit_calpp'
_caldir='/usr/include/CAL/'
build() {
svn co "${_svntrunk}/${_svnmod}"
cd "${_svnmod}"
sed -i "s|VERSION = '0.4.0-dev'|VERSION = '0.4.1-dev'|" setup.py
sed -i "s|CALPP_INC_DIRS = \[\]|CALPP_INC_DIRS = \[\'${_caldir}\'\]|" setup.py
LDFLAGS="" python2 setup.py build
package() {
cd "${srcdir}/${_svnmod}"
python2 setup.py install --root="${pkgdir}" --optimize=1
Thanks in advance
EDIT = Updated the PKGBUILDs
Last edited by ozon-eatar (2011-11-30 22:15:56)Thanks for the respones Stebalien! I have changed the things you pointed out and updated my first post.
I have also run namcap on both packages and their PKGBUILDs. The only thing namcap complains about on the PKGBUILDs are the lack of contributer tag, which I think is unnecessary as I'm listed as the maintainer.
On the cpyrit-calpp package namcap complains about unnecessary dependencies:
cpyrit-calpp-svn I: Depends as namcap sees them: depends=(catalyst-utils python2)
I tried this dep array with all packages listed before uninstalled (well, catalyst and libpcap I couldn't uninstall) and it didn't work. When I added 'calpp' to makedepends it worked, and it ran after I uninstalled calpp again.
As cpyrit-calpp-svn is a backend to the pyrit-svn package and pointless to install without pyrit-svn I added it back to the array. Might add that this is how the dep array looked before:
depends=('python2' 'openssl' 'zlib' 'libpcap' 'amdstream' 'catalyst' 'calpp' 'pyrit-svn')
This is what namcap is telling me about calpp:
calpp I: Depends as namcap sees them: depends=()
BUT it will neither build nor will it compile one of the examples without both amdstream and boost (not just boost-libs). Therefore I have not changed the dep array for calpp. -
RFC: new PKGBUILD for odfpy
odfpy is a nice library for producing ODF documents with python. I've created a PKGBUILD for it, any comments before I submit it to the AUR?
# Contributor: Joel Schaerer <[email protected]>
pkgname=odfpy
pkgver=0.7
pkgrel=1
pkgdesc="A complete API for OpenDocument in Python"
arch=('i686' 'x86_64')
url="http://opendocumentfellowship.com/projects/odfpy"
license=('GPL')
depends=('python')
source=(http://opendocumentfellowship.com/files/odfpy-${pkgver}.tgz)
md5sums=('cea1c5bf445d3eeacca23f3de5ac0f94')
build() {
cd "$srcdir/${pkgname}-${pkgver}"
python setup.py build
python setup.py install --prefix=${pkgdir}/usrsvn version ones from the site:
odfpy
pkgname=odfpy
pkgver=442
pkgrel=2
pkgdesc="A complete API for OpenDocument in Python"
arch=('i686' 'x86_64')
url="http://opendocumentfellowship.com/projects/odfpy"
license=('GPL')
depends=('python')
source=()
md5sums=()
_svntrunk="http://opendocumentfellowship.com/repos/odfpy/trunk"
_svnmod="odfpy"
build() {
cd ${startdir}/src
msg "Connecting to svn server...."
if [ -d ${_svnmod}/.svn ]; then
(cd ${_svnmod} && svn up -r ${pkgver})
else
svn co $_svntrunk ${_svnmod}
fi
msg "SVN checkout done or server timeout"
msg "Starting make..."
cp -r ${startdir}/src/${_svnmod} ${startdir}/src/${_svnmod}-build
cd ${startdir}/src/${_svnmod}-build
python setup.py build
python setup.py install --root=${startdir}/pkg
rm -rf ${startdir}/src/${_svnmod}-build
odftools
pkgname=odftools
pkgver=324
pkgrel=2
pkgdesc="a set of conversion tools for OpenDocument files"
arch=('i686' 'x86_64')
url="http://opendocumentfellowship.com/projects/odftools"
license=('GPL')
depends=('python')
source=()
md5sums=()
_svntrunk="http://opendocumentfellowship.com/repos/odftools/trunk"
_svnmod="odftools"
build() {
cd ${startdir}/src
msg "Connecting to svn server...."
if [ -d ${_svnmod}/.svn ]; then
(cd ${_svnmod} && svn up -r ${pkgver})
else
svn co ${_svntrunk} ${_svnmod}
fi
msg "SVN checkout done or server timeout"
msg "Starting make..."
cp -r ${startdir}/src/${_svnmod} ${startdir}/src/${_svnmod}-build
find . -type d -name '\.svn' -exec rm -rf {} \;
cd ${startdir}/src/${_svnmod}-build
install -d ${pkgdir}/usr/{bin,share/man/man1}
make
make PREFIX=${pkgdir}/usr install
rm -rf ${startdir}/src/${_svnmod}-build
odf2html
pkgname=odf2html
pkgver=349
pkgrel=2
pkgdesc="a set of conversion tools for OpenDocument files"
arch=('i686' 'x86_64')
url="http://opendocumentfellowship.com/projects/odftools"
license=('GPL')
depends=('libxslt')
source=()
md5sums=()
_svntrunk="http://opendocumentfellowship.com/repos/html2odf/trunk"
_svnmod="odf2html"
build() {
cd ${startdir}/src
msg "Connecting to svn server...."
if [ -d ${_svnmod}/.svn ]; then
(cd ${_svnmod} && svn up -r ${pkgver})
else
svn co $_svntrunk ${_svnmod}
fi
msg "SVN checkout done or server timeout"
msg "Starting make..."
cp -r ${startdir}/src/${_svnmod} ${startdir}/src/${_svnmod}-build
cd ${startdir}/src/${_svnmod}-build
install -d ${pkgdir}/usr/share/odftools/xsl
make
install -m 644 html2odf-complete.xsl \
${pkgdir}/usr/share/odftools/html2odf-complete.xsl
install -m 644 html2odf.xsl \
${pkgdir}/usr/share/odftools/html2odf.xsl
cp -r xsl/*.xsl ${pkgdir}/usr/share/odftools/xsl
chmod 0644 ${pkgdir}/usr/share/odftools/xsl/*.xsl
rm -rf ${startdir}/src/${_svnmod}-build
odfviewer
pkgname=odfviewer
pkgver=350
pkgrel=2
pkgdesc="Cross-platform viewer for OpenDocument files"
arch=('i686' 'x86_64')
url="http://opendocumentfellowship.com/projects/odfviewer"
license=('GPL')
depends=('xulrunner')
source=()
md5sums=()
_svntrunk="http://opendocumentfellowship.com/repos/odfviewer/trunk"
_svnmod="odfviewer"
build() {
cd ${startdir}/src
[ -d ${_svnmod}-build ] && rm -rf ${_svnmod}-build
msg "Connecting to svn server...."
if [ -d ${_svnmod}/.svn ]; then
(cd ${_svnmod} && svn up -r ${pkgver})
else
svn co $_svntrunk ${_svnmod}
fi
msg "SVN checkout done or server timeout"
msg "Starting make..."
cp -r ${startdir}/src/${_svnmod} ${startdir}/src/${_svnmod}-build
cd ${startdir}/src/${_svnmod}-build
find . -type d -name '\.svn' -exec rm -rf {} \;
install -d ${pkgdir}/opt/odfviewer
cp -r * ${pkgdir}/opt/odfviewer
install -D -m 755 ${startdir}/odfviewer ${pkgdir}/usr/bin/odfviewer
rm -rf ${startdir}/src/${_svnmod}-build
script of odfviewer
#!/bin/sh
cd /opt/odfviewer
xulrunner application.ini $@
Last edited by superkevjr (2008-06-04 12:45:23) -
My first message on these forums and my first PKGBUILD. It is a plugin for the GIMP and the installation is not a big deal really. Its functionality however is impressive, IMHO. Nevertheless, I would like to post the PKGBUILD here for a peer review. A mistake is easily made despite all checking and double checking. All C&C are welcome.
# Contributor: Serge Gielkens <[email protected]>
# Command line interface and Quicktime support are disabled
pkgname=gimp-mathmap
pkgver=1.2.1
pkgrel=1
pkgdesc="A GIMP plug-in which allows distortion of images specified by mathematical formulae"
url="http://www.complang.tuwien.ac.at/schani/mathmap/"
makedepends=('gimp>=2.2' 'gsl')
depends=('gimp>=2.2' 'gsl')
source=(http://www.complang.tuwien.ac.at/schani/mathmap/files/mathmap-${pkgver}.tar.gz)
arch=('i686')
license=('GPL')
md5sums=('e06610008184d553ec3ab247c277d20f')
build() {
cd $startdir/src/mathmap-$pkgver
make || return 1
/bin/install -D -m 755 mathmap $startdir/pkg/usr/lib/gimp/2.0/plug-ins/mathmap
/bin/install -D -m 644 new_template.c $startdir/pkg/usr/share/gimp/2.0/mathmap/new_template.c
/bin/install -D -m 644 opmacros.h $startdir/pkg/usr/share/gimp/2.0/mathmap/opmacros.h
cp -r examples $startdir/pkg/usr/share/gimp/2.0/mathmap/expressions
Last edited by Teld (2007-08-02 11:11:13)Looks good! One single suggestion:
. You don't need to repeat the depends in the makedepends area - every depend is automatically a makedepend, so you can remove the makedepends line. -
[SOLVED] New PKGBUILD for dvbcut. Please review.
Bad English, sorry!
I am a heavy user of dvbcut. It is really nice program to cut commercials out of dvb recordings.
http://dvbcut.sourceforge.net/
The problem was, i could not build dvbcut 0.5.4 on arch. Probably because of new compiler versions and scons problems. So i used an old binary in my home directory.
The good news is, they changed the build system a few days ago:
http://www.mail-archive.com/dvbcut-user … 01006.html
Now i can build dvbcut and i adopted the packages on AUR.
http://aur.archlinux.org/packages.php?ID=2793
Before i update AUR, i want to make sure, that everything is ok. Is the svn solution appropriate?
PKGBUILD
# Contributor: AndyRTR <[email protected]>
pkgname=dvbcut
pkgver=0.5.4
pkgrel=2
pkgdesc="Qt application for cutting parts out of DVB streams"
arch=('i686' 'x86_64')
url="http://dvbcut.sourceforge.net/index.html"
license="GPL"
depends=('qt3' 'libao')
makedepends=('autoconf' 'make' 'subversion')
install=dvbcut.install
source=(dvbcut.desktop)
md5sums=('e41118aef010f3a19140f9fc2463d4ce')
build() {
cd ${srcdir}
# 0.5.4 does not build anymore. Using svn until next release.
msg "Connecting to SVN server...."
if [ -d dvbcut/.svn ]; then
(cd dvbcut && svn up -r 129)
else
svn co -r 129 --config-dir ./ https://dvbcut.svn.sourceforge.net/svnroot/dvbcut/trunk dvbcut
fi
msg "SVN checkout done or server timeout"
msg "Starting make..."
cp -r dvbcut dvbcut-build
cd dvbcut-build
autoconf || return 1
./configure --prefix=/usr --with-qt3=/opt/qt
make || return 1
install -Dm755 ${srcdir}/${pkgname}-build/bin/dvbcut ${pkgdir}/usr/bin/dvbcut
install -Dm644 ${srcdir}/${pkgname}-build/dvbcut.1 ${pkgdir}/usr/share/man/man1/dvbcut.1
install -Dm644 ${startdir}/dvbcut.desktop ${pkgdir}/usr/share/applications/dvbcut.desktop
rm -rf ${srcdir}/dvbcut-build
dvbcut.install
post_install() {
cat << 'EOF'
==> If you have "mplayer" installed on your machine,
==> you can play videos inside of DVBCUT.
EOF
op=$1
shift
$op $*
dvbcut.desktop
[Desktop Entry]
Categories=Qt;Video;AudioVideo;AudioVideoEditing;
Encoding=UTF-8
Name=dvbcut
GenericName=DVBCut
Type=Application
Exec=/usr/bin/dvbcut
Icon=
Last edited by sp42b (2008-06-18 20:45:13)Instead of using custom svn commands in the build() function, it would be wise to use something along these lines:
_svntrunk=https://dvbcut.svn.sourceforge.net/svnroot/dvbcut/trunk
_svnmod=dvbcut
_revnumber=$pkgver
before the build() function in the PKGBUILD.
This functionality is built into makepkg/ABS already, so there is no need to reinvent it ;-).
Last edited by xaw (2008-06-17 21:36:24) -
Hello all,
I was searching for a driver for my ricoh webcam (05ca:1870) in my hp pavilion dv1000.
I know that here http://bitbucket.org/ahixon/r5u87x/ there's a user space tool manager cameras based on Ricoh R5U87x chipsets though uvcvideo, but my webcam did not work (no /dev/video0).
But searching a bit more i found this http://www.palmix.org/r5u870-en.html, here there's an update for the old r4u870 driver to build with the 2.6.30 kernel (32 and 64 bits). I modified the PKGBUILD in http://aur.archlinux.org/packages.php?ID=15226.
The package is builded and installed ok, but after I activate the module (with modprobe r5u870) and tested with gstreamer (gst-launch-0.10 v4l2 ! ffmpegcolorspace ! autovideosink) it only capture one image and then gst-launch-0.10 shows a bunch of:
(gst-launch-0.10:31682): GStreamer-CRITICAL **: gst_util_uint64_scale_int: assertion `denom > 0' failed
I want to know if someone has this type webcam and can try this packages, and of course modify the PKGBUILD to add support both i686 and x86_64.
If someone made it work please send me how.
# Contributor: Alessandro Sagratini <[email protected]>
# Contributor: Matias De la Puente <[email protected]>
_kernver=2.6.30-ARCH
pkgname=r5u870
pkgver=0.11.3
pkgrel=1
pkgdesc="Linux device driver for Ricoh R5U870 OEM cameras."
arch=('i686')
url="http://www.palmix.org/r5u870-en.html"
license=('GPL2')
install=r5u870.install
depends=('kernel26>=${_kernver}')
source=(http://www.palmix.org/download/r5u870_k2.6.30_i386.tar.bz2)
md5sums=('8f285c1bc28a6dc32835d1973f2d7b6c')
build() {
cd $startdir/src/$pkgname
sed -i -e 's/\/sbin\/depmod -a//g' Makefile
make || return 1
#Install kernel module
install -D -m644 usbcam/usbcam.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/media/video/usbcam.ko
install -D -m644 r5u870.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/media/video/r5u870.ko
#Install firmwares
for i in *.fw; do
install -D -m 644 $i $startdir/pkg/lib/firmware/$i
done
sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" $startdir/r5u870.installI copied r5u870.install from the aur package, then tried your PKGBUILD, only modifying arch to x86_64. Got a make error....
make[1]: Entering directory `/usr/src/linux-2.6.30-ARCH'
CC [M] /home/firecat53/src/webcam/src/r5u870/r5u870.o
CC [M] /home/firecat53/src/webcam/src/r5u870/usbcam/usbcam_dev.o
CC [M] /home/firecat53/src/webcam/src/r5u870/usbcam/usbcam_fops.o
/home/firecat53/src/webcam/src/r5u870/usbcam/usbcam_fops.c: In function 'usbcam_v4l_ioctl':
/home/firecat53/src/webcam/src/r5u870/usbcam/usbcam_fops.c:1163: warning: unused variable 'udp'
/home/firecat53/src/webcam/src/r5u870/usbcam/usbcam_fops.c: At top level:
/home/firecat53/src/webcam/src/r5u870/usbcam/usbcam_fops.c:1199: error: unknown field 'compat_ioctl' specified in initializer
/home/firecat53/src/webcam/src/r5u870/usbcam/usbcam_fops.c:1199: error: 'v4l_compat_ioctl32' undeclared here (not in a function)
make[3]: *** [/home/firecat53/src/webcam/src/r5u870/usbcam/usbcam_fops.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/home/firecat53/src/webcam/src/r5u870/usbcam] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [_module_/home/firecat53/src/webcam/src/r5u870] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.30-ARCH'
make: *** [all] Error 2
==> ERROR: Build Failed.
Aborting...
Any ideas?
Scott -
PKGBUILD for transmission-remote-gtk new since move to git - help?
Transmission-remote-gtk just moved to git from svn and I made a new PKGBUILD for it;
# Maintainer: Aleksey Frolov <[email protected]> [ru]
# Contributor: PitBall
_pname=transmission-remote-gtk
pkgname=${_pname}-git
pkgver=20120203
pkgrel=1
pkgdesc="GTK client for remote management of the Transmission BitTorrent client, using its HTTP RPC protocol"
arch=(i686 x86_64)
license=('GPL2')
depends=('git' 'hicolor-icon-theme' 'geoip' 'libproxy' 'libunique' 'json-glib' 'libnotify' 'gconf' 'desktop-file-utils' 'curl')
makedepends=('intltool')
conflicts=('transmission-remote-gtk')
install=${pkgname}.install
options=('!libtool')
url="http://code.google.com/p/transmission-remote-gtk"
_gittrunk="https://code.google.com/p/transmission-remote-gtk/"
_gitmod=${pkgname}
build() {
cd ${srcdir}
# GIT checkout
if [[ -d ${_gitmod} ]]; then
(cd ${_gitmod} && git pull )
else
git clone ${_gittrunk} ${_gitmod}
fi
rm -rf ${srcdir}/${_gitmod}-build
cp -r ${srcdir}/${_gitmod} ${srcdir}/${_gitmod}-build
cd ${srcdir}/${_gitmod}-build
# Configure
./autogen.sh
./configure \
--prefix=/usr
# --prefix=/usr \
# --disable-schemas-install \
# --with-gconf-schema-file-dir=/usr/share/gconf/schemas
# Compile
make
# Install
make DESTDIR=${pkgdir} install
# License & Authors
install -dm755 ${pkgdir}/usr/share/licenses/${_pname}
ln -sf /usr/share/licenses/common/GPL2/license.txt ${pkgdir}/usr/share/licenses/${_pname}/LICENSE
install -Dm644 AUTHORS ${pkgdir}/usr/share/doc/${_pname}/AUTHORS
When doing a pacman -U 'pkgname' I get about 20 file "exists in filesystem". With my limited knolwedge I don't know how to fix this. pacman -Uf does it but is an ugly solution. What can I do with the PKGBUILD or maybe recommend users to uninstall the svn version first?
Furthermore; there was a bit of code looking for the .svn directory
# SVN checkout
if [[ -d ${_svnmod}/.svn ]]; then
(cd ${_svnmod} && svn up -r $pkgver)
else
svn co ${_svntrunk} --config-dir ./ -r ${pkgver} ${_svnmod}
fi
which I changed to this;
# GIT checkout
if [[ -d ${_gitmod} ]]; then
(cd ${_gitmod} && git pull )
else
git clone ${_gittrunk} ${_gitmod}
fi
The prupose is to look for previous source and not download it all again, just get the changes. svn up -r is quite straight forward but git pull, I find is not. I'd really appreciate some pointers on this.
By the way, it compiles just fine and with pacman -Uf it works, I'd just like to make a proper PKGBUILD.
Last edited by swanson (2012-02-03 22:35:17)Yes, that's the seems to be the easiest and cleanest way to go. Here's the new transmission-remote-gtk git version in AUR;
https://aur.archlinux.org/packages.php?ID=56377 -
Adding a new layout for DME for file download
Hi All,
How do i add a new layout for file download in DME?
Thanks
William WilstrothThis problem is solved.
Need to enhanced the T042O table. -
[solved] new abs PKGBUILD for package kernel26...old kernel?
I was looking into the new PKGBUILD in the /var/abs/core/kernel26 folder, as I wanted to update my custom kernel. I was editing the new PKGBUILD when I saw something weird...references to kernel.org files and archlinux.org patch seems to be same as the 2.6.37 version. Is _basekernel value not updated? Am I wrong?
Take a look:
new PKGBUILD (I copied only relevant lines):
_basekernel=2.6.37
pkgver=${_basekernel}
pkgrel=6
_patchname="patch-${pkgver}-4-ARCH"
source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_basekernel.tar.bz2
ftp://ftp.archlinux.org/other/kernel26/${_patchname}.bz2
now...these is exactly the same as PKGBUILD for 2.6.37. But the new files are:
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.37.1.tar.bz2
ftp://ftp.archlinux.org/other/kernel26/patch-2.6.37.1-1-ARCH.bz2
If I am right, someone has to update variable values...
TIA
Gemon
Last edited by gemon (2011-02-21 22:17:23)well...I had time to check so...this is the content for the PKGBUILD after I run abs yesterday (pasted only relevant lines):
# $Id: PKGBUILD 109724 2011-02-12 08:01:06Z tpowa $
pkgbase="kernel26"
pkgname=('kernel26' 'kernel26-headers' 'kernel26-docs') # Build stock -ARCH kernel
_kernelname=${pkgname#kernel26}
_basekernel=2.6.37
pkgver=${_basekernel}
pkgrel=6
_patchname="patch-${pkgver}-4-ARCH"
this is the one I run tonight...looks updated now
# $Id: PKGBUILD 110322 2011-02-18 20:13:49Z tpowa $
pkgbase="kernel26"
pkgname=('kernel26' 'kernel26-headers' 'kernel26-docs') # Build stock -ARCH kernel
_kernelname=${pkgname#kernel26}
_basekernel=2.6.37
pkgver=${_basekernel}.1
pkgrel=1
_patchname="patch-${pkgver}-${pkgrel}-ARCH"
now patch filename and kernel sources correctly resolve to the latest ones.
but believe me, right after I had the 2.6.37.1-arch kernel, the abs PKGBUILD was outdated...probably it is updated after kernel package is released. doesn't matter
all in all...now it's ok
Gemon -
secondly, i used migration assistant to move everything from old laptop to new. when i used pages on new machine, 10.8.5 operating system, there is no click for file save as in the menu, only flle save. why?
Hold down Option key while clicking on menu bar and Save as will appear.
-
"A new folder for every project file"
Aha!! Right, from now on ... (thanks Steve)
From the Muvipix.com Guide to Adobe PE11 by Steve Grisetti
(p 36) [on starting and saving a new project]
2 Click the Browse button to choose a location to save your new
project file.
We at Muvipix recommend always selecting the Browse option and,
wherever you choose to save your file, creating a new folder for every
new project file.
This little bit of housekeeping keeps all of your new project's files in
one neat, little folder. And, when your project is done and you want to
clear it from your computer, you can then remove not only the project
file but all of the temp, render and scratch disk files Premiere Elements
has created for that project simply by deleting that single folder!
This makes post-project clean-up a much easier and neater process.
OK, hope I've got it this time (at last)
cheers
BrianOh no! I thought I’ll re-work that Canal video again, but this time saved the project from the very start in a new folder on an ext HD (500 GB) connected USB3.0. Tried all sorts of things on it, saved each time in the same folder. Cleared all 14 clips from Project Assets (which of course emptied the timeline). Shut down PE11. Checked via Windows Explorer that the project files were all on the ext HD – and by the way, there are no other files on it, just the PE files. My understanding is that Advanced System Care Pro (Iobit) regularly defrags all my drives if necessary (tho’ I haven’t done this manually for months with this drive).
OK, opened PE, went to Open Recent Projects, it shows the above .prel file and the entire path, I click on it and –
Weird, just weird
Nil desperandum
Brian
Edited --- and another weird thing, my email isn't sending the complete message I type to this forum. I sent a whole message once and it never appeared, but this time it's cut off half a sentence above (it did this before, earlier today).
That sentence should read,
OK, opened PE, went to Open Recent Projects, it shows the above .prel file and the entire path, I click on it and – nothing happened! (You'll have gathered that's what happened, but I wrote it in my Windows Live Mail, sent via BT-Yahoo ISP ......... ) Hey wait, there was a whole lot more.
Here's a copy / paste from Windows Live Mail outbox
It’s so odd, because as I said previously, most of the time it works so well, does all the things it’s supposed to do. I followed Steve’s instructions here to the letter. By the way, as you know, it’s not just the ext HD, this has been happening all along with allowing PE to save everything in its default Folder 11.
I would be – now – very sorry indeed to have to abandon PE11 simply on this account, but it’s causing me to waste such a lot of time. (Let alone the expense of buying it, plust one Lynda.com course, plus 2 books – not forgetting that I’d previously tried the Corel software and bought a book and DVD for that too!!)
Might just use – what’s that simplicity-itself thingy everyone uses who just want to get any old kind of thing up on You Tube .......... Oi vey!! <<more weary sigh>>
Weird, just weird
Nil desperandum -
Can New Java 7 File API Path Objs Be Used For Windows Virtual Folders
Hello,
I'm trying to duplicate a JFileChooser's drop-down list containing root directories of the file system. For Windows machines, its combobox lists the roots in a nice tree-like layout. For example:
+ Desktop
+ Computer
+ Local Disk (C:)
+ Data (D:)I cannot find an offical way to do this; I ended up using a class called "ShellFolder" to do it. Based on the "File" objects returned by the "ShellFolder" operation, I wanted to use the "toPath" method of the "java.io.File" object to convert the object to a "java.io.file.Path" object. Unfortunately, when I try to convert it, a java.nio.file.InvalidPathException" occurs.
Therefore, is there a way to use the the new Path object (provided by Java7's new File NIO APIs) that can map to Windows special virtual folders (like "My Computer" which is mapped to a CLSID like "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}")?
Note: It looks like NetBeans suffered from the same problem. See their bug report here: [https://netbeans.org/bugzilla/show_bug.cgi?id=214011] .
Here's some sample code to reproduce the problem:
static public void main(final String[] asArguments)
javax.swing.SwingUtilities.invokeLater(new Runnable() {
@Override
public void run()
java.io.File homeFile = FileSystemView.getFileSystemView().getHomeDirectory();
System.out.printf("File obj for home dir = %s\r\n", homeFile.getAbsolutePath());
java.nio.file.Path homePath = homeFile.toPath();
System.out.printf("Path obj for home dir = %s\r\n", homePath.toString());
// get the root directories
java.io.File[] rootDirs = (java.io.File[]) sun.awt.shell.ShellFolder.get("fileChooserComboBoxFolders");
for (int nIdx = 0; nIdx < rootDirs.length; nIdx++) {
java.io.File nextRoot = rootDirs[nIdx];
System.out.printf("File obj for next root dir = %s\r\n", nextRoot.getAbsolutePath());
// Is this a bug?
// When we encounter a special Windows folder,
// like "My Computer" which has a filename of "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}",
// why do we receive a "java.nio.file.InvalidPathException"? Should it not resolve the path
// to the virtual Windows folder of "My Computer", just like the java.io.File objects do?
// If not, is there an alternative way to get that information using the new Java 7 File APIs?
java.nio.file.Path nextRootPath = nextRoot.toPath();
System.out.printf("Path obj for next root dir = %s\r\n", nextRootPath.toString());
} // for
} // run
} // mainEdited by: RhinoGuy on Aug 10, 2012 11:11 AMHmm don't know about special folders but the File object does have a listRoots() method. Perhaps that only returns mapped drives on Windows though, I remember using it to create my own Eclipse type filechooser which I find a lot more user-friendly than the standard JFileChooser.
-
Do I need to create new group for standby redo log files?
I have 10 group of redo log files with 2 members for each group for my primary database , Do I need to create new group for standby redo log files for the standby database
Group# Members
==============
1 2
2 2
3 2
4 2
5 2
6 2
7 2
8 2
9 2
10 2
If So, The following statment is correct? or nto
ALTER DATABASE ADD STANDBY LOGFILE GROUP 1 ('D:\Databases\epprod\StandbyRedoLog\REDO01.LOG',D:\Databases\epprod\StandbyRedoLog\REDO01_1.LOG');
please correct me if am doin mistake
becuase when I issue the statment I getting error message sayin the group is already created.Thanks John
I just find the answer
Yes, it's recomeded to add new group , for instnace If I have 10 group from 1 to 10 then the standby shoudl be from 11 to 20
Thanks I found the answer. -
Process for setting up new directories and files on Unix
I am trying to document a process �Process for setting up new directories and files on Unix batch servers�.
Developer will be developing project on Windows and I need tell them as well as QA team how the Unix directory and file structure.
Please let me know how is the process in Unix on AIX.
If I get some documentation regarding this it will be useful.
Thanks in advance
Regards
Sanwell on unix/Linux/solaris there are no drives but storage heirarchy starts with a root directory represented with ' / '. and all files and directories are created in root directoy like
/usr/local/bin
/export/home/san
etc
also filesystem of unix consists iNodes rathar than FAT entries as in case of Windows.
some basic information is available at
http://www.techonthenet.com/unix/index.php
Regards -
Determine http source for file in my PKGBUILD
I'm trying to write a PKGBUILD for a JAlbum skin. The problem I'm having is that the download link doesn't point to a specific file. Ideas on how I can translate the following into a source=(http://) line in my PKGBUILD are welcomed
Here is the download link: http://jalbum.net/web/GetSkinFile?versi … 3&type=zip
Here is the page that the page at which the download link resides: http://jalbum.net/skins/skin/BananAlbum@Allan - thanks for the suggestion. I had to wrap it in double-quotes for it to work though:
source=("BananAlbum_v6.1.4.zip::http://jalbum.net/web/GetSkinFile?versionId=1253&type=zip")
@fukawi2 - I tried your suggestion, but the same perl line got copied rather than an absolute path (i.e. http://jalbum.net/web/GetSkinFile?versi … &type=zip)
Maybe you are looking for
-
Can anyone help me write a script that would click "get info" and then "enter" on each movie in my itunes library? I am asking because my itunes 11 repeatedly loses the artwork to my movies in my itunes library. I can restore the artwork (and make my
-
ITS ALMOST BEEN A WHOLE MNTH I HAV TRIED EVERYTHING I DID ALL THE RESETS AND RESTORE YOU CAN DO. CAN ANYBODY TELL ME HOW TO FIX MY PROBLEM OR HAVE ANY OTHER SUGGESTION I WOULD BE ABLE TO DO ON MY PHONE OR HAVE I PRETTY MUCH TRIED EVERYTHING THAT I CA
-
Create an Output of the PO Notification
Hi all, I'm creating a custom program (in SRM GUI mode) which needs to trigger an output to the vendor similar to the action perform on the web. But then I'm not sure is there a function module to do it? I know that the controls in SPRO is pointing t
-
Service order confirmation in status "Completed To be Distributed"
All, I have created a service order confirmation based on service order and it is in status "Completed To be Distributed" for a long time. It is not being distributed to ECC system also. Could you please let me know how to make it "successfully distr
-
The Mac, god bless it, is so reliable, so dependable it's very easy to take its stability for granted. So if you use a Mac, or know anyone who does, it would be a good idea to forward this message on to them. For me downloading and installing Apple's