Schard-nologin schriebDu kannst natürlich darauf setzen, dass
@Greg oder jemand anderes hier ein PKGBUILD für deinen Spezialfall schreibt und debuggt, oder dein vorliegendes Problem als Anlass nehmen, dich selbstständig mit dem
ABS auf Basis von @Gregs Vorarbeit auseinander zu setzen und dir dein Treiberpaket selbst bauen. Der Vorteil im letzteren Fall wäre, dass du dabei möglicherweise auch noch etwas lernst.
Danke fuer diesen Kommentar, aber leider bringt der mich ueberhaupt nicht weiter...
Ich bin wie gesagt noch recht neu dabei und habe noch nie ein PKGBUILD geschrieben. Ich habe allerdings mal das AUR Paket fuer den DCP 135c mit dem von
@Greg verglichen und die sahen sehr aehnlich aus bis auf folgende Stelle:
135c:
# go to the cupswrapper directory and find the source file from wich to generate a ppd- and wrapper-file
cd `find . -type d -name 'cupswrapper'`
if [ -f cupswrapper* ]; then
_wrapper_source=`ls cupswrapper*`
sed -i '/^\/etc\/init.d\/cups/d' $_wrapper_source
sed -i '/^sleep/d' $_wrapper_source
sed -i '/^lpadmin/d' $_wrapper_source
sed -i 's|/usr|$srcdir/usr|g' $_wrapper_source
sed -i 's|/opt|$srcdir/opt|g' $_wrapper_source
sed -i 's|/model/Brother|/model|g' $_wrapper_source
sed -i 's|lpinfo|echo|g' $_wrapper_source
export srcdir=$srcdir
./$_wrapper_source
sed -i 's|$srcdir||' $srcdir/usr/lib/cups/filter/*lpdwrapper*
sed -i "s|$srcdir||" $srcdir/usr/lib/cups/filter/*lpdwrapper*
rm $_wrapper_source
fi
von
@Greg:
# go to the cupswrapper directory and find the source file from wich to generate a ppd- and wrapper-file
cd `find . -type d -name 'cupswrapper'`
if [ -f cupswrapper* ]; then
_wrapper_source=`ls cupswrapper*`
fi
if [ ! -z $_wrapper_source ];then
sed -i '/^\/etc\/init.d\/cups/d' $_wrapper_source
sed -i '/^sleep/d' $_wrapper_source
sed -i '/^lpadmin/d' $_wrapper_source
sed -i 's|/usr|$srcdir/usr|g' $_wrapper_source
sed -i 's|/opt|$srcdir/opt|g' $_wrapper_source
sed -i 's|lpinfo|echo|g' $_wrapper_source
export srcdir=$srcdir
./$_wrapper_source
sed -i 's|$srcdir||' $srcdir/usr/lib/cups/filter/*lpdwrapper*
sed -i "s|$srcdir||" $srcdir/usr/lib/cups/filter/*lpdwrapper*
rm $_wrapper_source
fi
Was mir den Error bzw. die beiden allerdings noch nicht erklaert.