Re: [arch-general] TeXLive 2011 pretest

2011-06-15 Thread Hyacinthe Cartiaux
Le mercredi 15 juin 2011 00:03:49, Bernardo Barros a écrit :
 anyone got problems with texlive 2011 usage so far?

I've just tested quickly, pdflatex compiles my internship report correctly (80 
pages, using 15 packages).

-- 
Hyacinthe


Re: [arch-general] TeXLive 2011 pretest

2011-06-15 Thread Kazuo Teramoto
On Tue, Jun 14, 2011 at 7:03 PM, Bernardo Barros
bernardobarr...@gmail.com wrote:
 anyone got problems with texlive 2011 usage so far?


I'm getting a problem with synctex, its don't work with tl 2011 for me, e.g.:

---2011--
% pdflatex -synctex=1 sample2e
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011/Arch Linux)
[...]
SyncTeX written on sample2e.synctex.gz.
Transcript written on sample2e.log.

% synctex view -i
42:1:/usr/share/texmf-dist/tex/latex/base/sample2e.tex -o sample2e.pdf
This is SyncTeX command line utility, version 1.2
SyncTeX ERROR: SyncTeX Error: Bad preamble

---2011--

But with 2010 I get:
---2010--
% pdflatex -synctex=1 sample2e
This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010/Arch Linux)
[...]
SyncTeX written on sample2e.synctex.gz.
Transcript written on sample2e.log.

% synctex view -i
42:1:/usr/share/texmf-dist/tex/latex/base/sample2e.tex -o sample2e.pdf
This is SyncTeX command line utility, version 1.2
SyncTeX result begin
Output:sample2e.pdf
Page:1
x:386.784882
y:380.216461
h:133.768356
v:382.153625
W:343.711060
H:8.855677
before:
offset:0
middle:
after:
Output:sample2e.pdf
Page:1
x:179.069794
y:392.171631
h:133.768356
v:394.316345
W:343.711060
H:9.063227
before:
offset:0
middle:
after:
SyncTeX result end
---2010--

I read (don't remember where) that synctex have a bug with gziped
files that give the Bad preamble error, so if I gunzip the synctex
file I get:
---2011--
% gunzip sample2e.synctex.gz

% synctex view -i
42:1:/usr/share/texmf-dist/tex/latex/base/sample2e.tex -o sample2e.pdf
This is SyncTeX command line utility, version 1.2

%
---2011--

i.e. no error but no output.

Don't know if this is a packaging or upstream bug (or user bug =]),
what you think?

Thanks,
Kazuo

-- 
“The journey is more important than the destination—that’s part of
life, if you only live for getting to the end, you’re almost always
disappointed.”

Donald E. Knuth


Re: [arch-general] build db and files

2011-06-15 Thread Øyvind Heggstad
On Tue, 14 Jun 2011 23:34:18 -0300
Sergio de Almeida Lenzi lenzi.ser...@gmail.com wrote:

 Hello 
 
 I must build the .db and .files  
 (files that exists in the distribuition: core, community...) I must
 build
 them from the /var/abs/xxx  directory.
 
 Can someone point me the the solution
 
 Thanks for any help,
 
 Sergio
For the .db: repo-add --help

Also see https://wiki.archlinux.org/index.php/Local_repository_HOW-TO

Personally I would not built nor host from /var/abs though.


[arch-general] makechrootpkg -I (any way to pass --noconfirm ?)

2011-06-15 Thread David C. Rankin

Guys

  When installing packages into an archroot with the '-I' option to 
makechrootpkg is there any way to also pass the '--noconfirm' option to 
pacman? I have tried a couple of different ways to pass it after the -I 
option, but so far it is a no go. I'm trying to automate the trinity build in 
an archroot, but having to confirm each install after the module build is 
preventing this. What say the experts?


--
David C. Rankin, J.D.,P.E.


Re: [arch-general] makechrootpkg -I (any way to pass --noconfirm ?)

2011-06-15 Thread Baho Utot

On 06/15/2011 02:41 PM, David C. Rankin wrote:

Guys

  When installing packages into an archroot with the '-I' option to 
makechrootpkg is there any way to also pass the '--noconfirm' option 
to pacman? I have tried a couple of different ways to pass it after 
the -I option, but so far it is a no go. I'm trying to automate the 
trinity build in an archroot, but having to confirm each install after 
the module build is preventing this. What say the experts?




You're doing this incorrectly.
Setup a repo that is reachable in the chroot
then

( sudo /usr/sbin/mkarchroot -u  ${_chroot}/root 21 | tee 
${_date}build.log  exit ${PIPESTATUS} )
( sudo /usr/sbin/makechrootpkg -c -r ${_chroot} 21 | tee -a 
${_date}build.log  exit ${PIPESTATUS} )


The first mkarchroot updates the chroot system and the second builds the 
package, when they are are built you are ready to install to the host 
system.
I do not recommend installing the trinity packages to the chroot, the 
PKGBUILD file should pull them in automagically if it is written correctly.


See my automated trinity build system for pointers.  I wrap the whole 
thing in a Makefile which builds the entire trinity desktop ( if needed ).

$ make trinity is all that is then needed.






[arch-general] arch linux repository

2011-06-15 Thread Sergio de Almeida Lenzi
Hello...

I am building a private repository (myrep) I put all the packages, I
build
using PKGBUILD and /var/abs/tree. and saved it on an internet server
that can be acessed by using http.

Is there a way to build the db and files in the repository, in a way
pacman -Syu can
update my archlinux???   or pacman just do not use them???

Thanks


Re: [arch-general] arch linux repository

2011-06-15 Thread Ángel Velásquez
2011/6/15 Sergio de Almeida Lenzi lenzi.ser...@gmail.com:
 Hello...

 I am building a private repository (myrep) I put all the packages, I
 build
 using PKGBUILD and /var/abs/tree. and saved it on an internet server
 that can be acessed by using http.

 Is there a way to build the db and files in the repository, in a way
 pacman -Syu can
 update my archlinux???   or pacman just do not use them???

 Thanks


Please see [1] I don't know if you noticed that you received that
reply, please don't ask again in other threads, ask if you didn't
understand something from the documentation


[1] https://wiki.archlinux.org/index.php/Local_repository_HOW-TO


-- 
Angel Velásquez
angvp @ irc.freenode.net
Arch Linux Developer / Trusted User
Linux Counter: #359909
http://www.angvp.com


Re: [arch-general] arch linux repository

2011-06-15 Thread jesse jaara
2011/6/16 jesse jaara jesse.ja...@gmail.com



 2011/6/16 Sergio de Almeida Lenzi lenzi.ser...@gmail.com

 Hello...

 I am building a private repository (myrep) I put all the packages, I
 build
 using PKGBUILD and /var/abs/tree. and saved it on an internet server
 that can be acessed by using http.

 Is there a way to build the db and files in the repository, in a way
 pacman -Syu can
 update my archlinux???   or pacman just do not use them???

 Thanks

 You can use repo-add and repo-remove commands to modify pacman-repo-dbs
 then just add the server to pacman.conf

 [myrepo]
 Server = http://myserver.fi/arch/repo

 you want to put that over the other entries if you build packages that are
 also found from core/extra/community
 so that the get fech from there instead from the offical repos.
 --
 (\_ /) copy the bunny to your profile
 (0.o ) to help him achieve world domination.
 ( ) come join the dark side.
 /_|_\ (we have cookies.)


Oh and I used to maintain a customrepo in the past and created 2 scripts to
help in it. Use them if you like
they are normal bash functions. They require package
'bash-xyne-common_functions' from aur/xyne's-repo

##This push the changes from the local copy of the repo to net.
jrepo-sync () {
lftp -c set ftp:list-options -a;
open ftp://username:passw...@myserver.fi;
lcd /path/to/my-repo;
cd /repo/path/on/ftp/server;
mirror --reverse --delete --verbose
}

###This adds the package to the custom repo and removes old versions
###if they exist.

jrepo-add () {
for pkg in $@; do
cp `pwd`/$pkg /srv/ftp/jrepo/
repo-add /srv/ftp/jrepo/jrepo.db /srv/ftp/jrepo/$pkg
extensionless=`strip_pkg_ext $pkg`
name=`get_package_name $extensionless`
toremove=`ls /srv/ftp/jrepo | grep -v $pkg | grep $name`

for i in $toremove; do
extensionless=`strip_pkg_ext $i`
if [ `get_package_name $extensionless` = $name ]; then

echo Removing old version(s) of $name from repository
echo $i
rm /srv/ftp/jrepo/$i
fi
done
done
}


-- 
(\_ /) copy the bunny to your profile
(0.o ) to help him achieve world domination.
( ) come join the dark side.
/_|_\ (we have cookies.)


Re: [arch-general] makechrootpkg -I (any way to pass --noconfirm ?)

2011-06-15 Thread David C. Rankin

On 06/15/2011 04:18 PM, Baho Utot wrote:

On 06/15/2011 02:41 PM, David C. Rankin wrote:

Guys

When installing packages into an archroot with the '-I' option to
makechrootpkg is there any way to also pass the '--noconfirm' option to
pacman? I have tried a couple of different ways to pass it after the -I
option, but so far it is a no go. I'm trying to automate the trinity build in
an archroot, but having to confirm each install after the module build is
preventing this. What say the experts?



You're doing this incorrectly.
Setup a repo that is reachable in the chroot
then

( sudo /usr/sbin/mkarchroot -u ${_chroot}/root 21 | tee ${_date}build.log 
exit ${PIPESTATUS} )
( sudo /usr/sbin/makechrootpkg -c -r ${_chroot} 21 | tee -a ${_date}build.log
 exit ${PIPESTATUS} )

The first mkarchroot updates the chroot system and the second builds the
package, when they are are built you are ready to install to the host system.
I do not recommend installing the trinity packages to the chroot, the PKGBUILD
file should pull them in automagically if it is written correctly.

See my automated trinity build system for pointers. I wrap the whole thing in a
Makefile which builds the entire trinity desktop ( if needed ).
$ make trinity is all that is then needed.




  Thank you Baho!


--
David C. Rankin, J.D.,P.E.


Re: [arch-general] arch linux repository

2011-06-15 Thread Sergio de Almeida Lenzi
Em Qui, 2011-06-16 às 00:38 +0300, jesse jaara escreveu:

 
 You can use repo-add and repo-remove commands to modify pacman-repo-dbs
 then just add the server to pacman.conf
 
 [myrepo]
 Server = http://myserver.fi/arch/repo
 
 you want to put that over the other entries if you build packages that are
 also found from core/extra/community
 so that the get fech from there instead from the offical repos.

Ok thanks for the help, will test this weekend...






Re: [arch-general] arch linux repository

2011-06-15 Thread Sergio de Almeida Lenzi
Em Qua, 2011-06-15 às 18:37 -0300, Ángel Velásquez escreveu:

 2011/6/15 Sergio de Almeida Lenzi lenzi.ser...@gmail.com:
  Hello...
 
  I am building a private repository (myrep) I put all the packages, I
  build
  using PKGBUILD and /var/abs/tree. and saved it on an internet server
  that can be acessed by using http.
 
  Is there a way to build the db and files in the repository, in a way
  pacman -Syu can
  update my archlinux???   or pacman just do not use them???
 
  Thanks
 
 
 Please see [1] I don't know if you noticed that you received that
 reply, please don't ask again in other threads, ask if you didn't
 understand something from the documentation
 
 
 [1] https://wiki.archlinux.org/index.php/Local_repository_HOW-TO
 
 

I read the document, it explains how to mount a repo using nfs on local
servers,
that is not I want to I need to build a repo using http, on remote
servers, and
use the command pacman -Syu to update all the archlinux...

for what I see, I need to go to the pacman source and see how it is
done...

I use FreeBSD, and in BSD it is all documented,  in every detail, I am
having
some dificulties using linuxEven if arch linux is the best one, the
documentation
is missing from some points...  for example: how pacman chooses what
needs
to  be updated from the repo sources...

If the solution is to go to the pacman source, no problem... I just
asked the 
list in the case someone has done it before...

Sergio


[arch-general] linux 3.0 kernel testing

2011-06-15 Thread Madhurya Kakati
Hi,
I want to test the linux3.0 kerne. Whats the most easiest way to test
it? Is there a AUR package? I couldn't find it.
Thanks




signature.asc
Description: OpenPGP digital signature


Re: [arch-general] linux 3.0 kernel testing

2011-06-15 Thread Christian Hesse
Madhurya Kakati mkakati2...@gmail.com on Thu, 16 Jun 2011 10:38:35
+0530:
 I want to test the linux3.0 kerne. Whats the most easiest way to test
 it? Is there a AUR package? I couldn't find it.

kernel26-mainline 3.0rc3-1
https://aur.archlinux.org/packages.php?ID=39965
-- 
Schoene Gruesse
Chris


Re: [arch-general] arch linux repository

2011-06-15 Thread Ángel Velásquez
2011/6/15 Sergio de Almeida Lenzi lenzi.ser...@gmail.com:
 Em Qua, 2011-06-15 às 18:37 -0300, Ángel Velásquez escreveu:

 2011/6/15 Sergio de Almeida Lenzi lenzi.ser...@gmail.com:
  Hello...
 
  I am building a private repository (myrep) I put all the packages, I
  build
  using PKGBUILD and /var/abs/tree. and saved it on an internet server
  that can be acessed by using http.
 
  Is there a way to build the db and files in the repository, in a way
  pacman -Syu can
  update my archlinux???   or pacman just do not use them???
 
  Thanks
 

 Please see [1] I don't know if you noticed that you received that
 reply, please don't ask again in other threads, ask if you didn't
 understand something from the documentation


 [1] https://wiki.archlinux.org/index.php/Local_repository_HOW-TO



 I read the document, it explains how to mount a repo using nfs on local
 servers,
 that is not I want to I need to build a repo using http, on remote
 servers, and
 use the command pacman -Syu to update all the archlinux...


So you need an http server (common sense is also valid)

 for what I see, I need to go to the pacman source and see how it is
 done...

Or try to explore yourself how to do it.


 I use FreeBSD,

I really doubt about it.

and in BSD it is all documented,  in every detail, I am
 having
 some dificulties using linux    Even if arch linux is the best one, the
 documentation
 is missing from some points...  for example: how pacman chooses what
 needs
 to  be updated from the repo sources...


That's explained, even on pacman.conf ..

 If the solution is to go to the pacman source, no problem... I just
 asked the
 list in the case someone has done it before...


The solution is to read a lot, you still missing some valuable information.

 Sergio




-- 
Angel Velásquez
angvp @ irc.freenode.net
Arch Linux Developer / Trusted User
Linux Counter: #359909
http://www.angvp.com