Re: [maemo-developers] automake

2005-08-27 Thread Kalle Vahlman
Thought I'd share some hints for reference, these are not so common
knowledge among normal users.

2005/8/26, Timo Steuerwald [EMAIL PROTECTED]:
 Kalle Vahlman wrote:
 
 You can probably use the package form Debian, if you really need the
 1.6 version.
 Ups, yes. I have forgotten this possibility, I already thought I must
 build it myself from source.

If a package is not compatible with the Maemo environment (optional
dependancies missing, compiled with wrong options or something like
that), you also try to recompile the package yourself. To do this you
can simply issue the command

  fakeroot apt-get  source -b package

if you have the approperiate deb-src entry in apt's sources.list file.
Any source code distribution that has the debian directory can be
build as a debian package with

  fakeroot dpkg-buildpackage

in the source directory. Add a -b option if you only want binary packages.

 Find package which contains a file:
   dpkg -S file
 
 List files in a package:
   dpkg -L package
 
 Thanks a lot! I didn't know that this is also possible with dpkg.

Apt and dpkg are powerful tools when used right :)

-- 
Kalle Vahlman, [EMAIL PROTECTED]
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] automake

2005-08-26 Thread Timo Steuerwald

Hi all,

In the package db is only an automake1.8 package available, but on 
command line I can see that also automake-1.4 and 1.7 is installed. It 
seems that both version come from autotools-dev package On common debian 
systems there is an automakex.y package for each version.
IMHO because of 1.4 and 1.7 are installed in 
/scratchbox/tools/autotools, I can also not use update-alternatives:



[sbox-SDK_PC: /]  update-alternatives --config automake

There is only 1 program which provides automake
(/usr/bin/automake-1.8). Nothing to configure.


Is there already a package out there for automake 1.6?
Is there a site like http://www.debian.org/distrib/packages or 
http://packages.ubuntu.com/ or - instead of this - apt-file where I can 
see which file belongs to which package?


Cheers,

Timo
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] automake

2005-08-26 Thread Kalle Vahlman
2005/8/26, Timo Steuerwald [EMAIL PROTECTED]:
 Hi all,
 
 In the package db is only an automake1.8 package available,

That is the one installed in the target side of scratchbox (and will
be removed when resetting the target)...

 but on
 command line I can see that also automake-1.4 and 1.7 is installed.

..and these are most likely a part of a scratchbox toolkit, and thus
are not visible to the package management (these won't go away even if
you reset your target).

 Is there already a package out there for automake 1.6?

You can probably use the package form Debian, if you really need the
1.6 version.

 Is there a site like http://www.debian.org/distrib/packages or
 http://packages.ubuntu.com/ or - instead of this - apt-file where I can
 see which file belongs to which package?

Find package which contains a file:
  dpkg -S file

List files in a package:
  dpkg -L package

-- 
Kalle Vahlman, [EMAIL PROTECTED]
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] automake

2005-08-26 Thread Veli Mankinen
Hi,

If you are using sb 1.0 series there is an environment variable for 
this called SBOX_DEFAULT_AUTOMAKE. Take a look at the variables list:

variables for 1.0 -series:
http://viewcvs.scratchbox.org/cgi-bin/viewcvs.cgi/scratchbox/doc/variables.txt?rev=1.18content-type=text/vnd.viewcvs-markup

With sb 0.9.8 you have to use SBOX_REDIRECT_BINARIES environment 
variable. I'm not totally sure it works though...

variables for 0.9.8 -series:
http://viewcvs.scratchbox.org/cgi-bin/viewcvs.cgi/scratchbox/doc/variables.txt?rev=1.11.2.1only_with_tag=SBOX_0_9_8_5content-type=text/vnd.viewcvs-markup


- Veli Mankinen


On Fri, Aug 26, 2005 at 11:24:54AM +0200, Timo Steuerwald wrote:
 Hi all,
 
 In the package db is only an automake1.8 package available, but on 
 command line I can see that also automake-1.4 and 1.7 is installed. It 
 seems that both version come from autotools-dev package On common debian 
 systems there is an automakex.y package for each version.
 IMHO because of 1.4 and 1.7 are installed in 
 /scratchbox/tools/autotools, I can also not use update-alternatives:
 
 [sbox-SDK_PC: /]  update-alternatives --config automake
 
 There is only 1 program which provides automake
 (/usr/bin/automake-1.8). Nothing to configure.
 
 Is there already a package out there for automake 1.6?
 Is there a site like http://www.debian.org/distrib/packages or 
 http://packages.ubuntu.com/ or - instead of this - apt-file where I can 
 see which file belongs to which package?
 
 Cheers,
 
 Timo
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://maemo.org/mailman/listinfo/maemo-developers

-- 
Veli Mankinen, Movial Corporation
Porkkalankatu 13 J, FI-00180 Helsinki
Mobile +358 40 549 0437, Tel +358 9 8567 6400
Fax +358 9 8567 6401
www.movial.fi

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] automake

2005-08-26 Thread Timo Steuerwald

Kalle Vahlman wrote:


You can probably use the package form Debian, if you really need the
1.6 version.

 

Ups, yes. I have forgotten this possibility, I already thought I must 
build it myself from source.



Find package which contains a file:
 dpkg -S file

List files in a package:
 dpkg -L package

 


Thanks a lot! I didn't know that this is also possible with dpkg.

Cheers,

Timo


___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers