Aptitude (was: Re: [Fink-devel] New fink release, testing needed)

2005-07-27 Thread Koen van der Drift


On Jul 27, 2005, at 9:49 AM, Benjamin Reed wrote:

I ported it a little while back, it's in unstable.  I'd be happy to  
move it to stable if I get a few positive reports.  (hint, hint)   :)




Aptitude won't build for me on 10.4:

...
make[4]: Nothing to be done for `all'.
rm -fr output-html/
xsltproc -o output-html/ ./../aptitude-html.xsl ./aptitude.xml
./aptitude.xml:65: warning: failed to load external entity "file:/// 
sw/share/xml/dtd/docbookx/4.2.0/docbookx.dtd"


...

So I installed docbook-dtd, and then aptitude built fine. It seems it  
is missing from the dependencies.


- Koen.



---
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] New fink release, testing needed

2005-07-27 Thread Kyle Moffett

On Jul 27, 2005, at 16:50:15, Benjamin Reed wrote:

Kyle Moffett wrote:
Secondly, the configuration text redirection error comes from this  
part

of the patch:


-  user_config->Dump(out);
+  user_config->Dump();


I can't see any reason for this change.  You don't even change the
argument list for the Dump() function, so I assume it has a default
argument (cout?), but this is definitely not desired behaviour :-D.


The reason is because aptitude is kept in sync, for the most part,  
with

the latest apt, which changed their API some.  I had to remove those
changes.  ;)


Hmm, well, something definitely isn't working, because when I run  
aptitude,

press F10, go to the "Options" menu, then "Dependency Handling", I can
change the setting "Install Recommended Packages Automatically", but  
when
I close the dialog I get the following all over the aptitude GUI  
instead of

in the ~/.aptitude/config file:

aptitude "";
aptitude::Recommends-Important "false";

Thanks for your help!

Cheers,
Kyle Moffett

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCM/CS/IT/U d- s++: a18 C>$ UB/L/X/*(+)>$ P+++()>$ L(+ 
++) E
W++(+) N+++(++) o? K? w--- O? M++ V? PS+() PE+(-) Y+ PGP+++ t+(+++) 5  
X R?

tv-(--) b(++) DI+ D+ G e->$ h!*()>++$ r  !y?(-)
--END GEEK CODE BLOCK--




---
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] New fink release, testing needed

2005-07-27 Thread Jean-François Mertens


On 27 Jul 2005, at 22:50, Benjamin Reed wrote:

Hm, yeah, I honestly don't understand how the crazy gettext  
checking they're doing works, and what _nl_expand_alias is supposed  
to do, but it's not in our gettext.


# nm -m /sw/lib/libintl.3.4.1.dylib|grep nl_expand_alias
 (undefined [lazy bound]) external __nl_expand_alias
2874 (__TEXT,__text) external __nl_expand_alias

??

JF


---
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] New fink release, testing needed

2005-07-27 Thread Benjamin Reed

Kyle Moffett wrote:


You delete the line "const char *_nl_expand_alias ()" without deleting
the "extern" and the "#ifdef __cplusplus" above it, which possibly makes
the gettext test fail.


Hm, yeah, I honestly don't understand how the crazy gettext checking 
they're doing works, and what _nl_expand_alias is supposed to do, but 
it's not in our gettext.  I just hacked on it 'till it worked.  :)



Secondly, the configuration text redirection error comes from this part
of the patch:

-  user_config->Dump(out);
+  user_config->Dump();


I can't see any reason for this change.  You don't even change the
argument list for the Dump() function, so I assume it has a default
argument (cout?), but this is definitely not desired behaviour :-D.


The reason is because aptitude is kept in sync, for the most part, with 
the latest apt, which changed their API some.  I had to remove those 
changes.  ;)



---
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] New fink release, testing needed

2005-07-27 Thread Kyle Moffett

On Jul 27, 2005, at 09:49:55, Benjamin Reed wrote:

Kyle Moffett wrote:

On a side note, does anyone know if porting "aptitude" (from Debian)
has been attempted?  I was considering trying such a port and was
wondering if anybody has made the attempt before and run into
difficult or unsolvable problems.


I ported it a little while back, it's in unstable.  I'd be happy to
move it to stable if I get a few positive reports.  (hint, hint)   :)


Actually, after testing it a bit, I've noticed a few issues.  Firstly,
It seems to have display glitches occasionally when scrolling through
the list of packages, such that package text is sometimes incorrectly
redrawn, and secondly, it doesn't properly create and open its config
file, I get aptitude config text sent through STDOUT, STDERR, or the
tty whenever I try to change preferences.

After looking through your patch a bit, I see a few potential problems.
When you patch this in configure:


extern   << Your patch omits this line
#ifdef __cplusplus
"C"
#endif
const char *_nl_expand_alias ();
int
main ()
{
bindtextdomain ("", "");
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
return (int) gettext ("") + _nl_msg_cat_cntr
  ;
  return 0;
}


You delete the line "const char *_nl_expand_alias ()" without deleting
the "extern" and the "#ifdef __cplusplus" above it, which possibly makes
the gettext test fail.

Secondly, the configuration text redirection error comes from this part
of the patch:

-  user_config->Dump(out);
+  user_config->Dump();


I can't see any reason for this change.  You don't even change the
argument list for the Dump() function, so I assume it has a default
argument (cout?), but this is definitely not desired behaviour :-D.

Cheers,
Kyle Moffett

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCM/CS/IT/U d- s++: a18 C>$ UB/L/X/*(+)>$ P+++()>$ L(+ 
++) E
W++(+) N+++(++) o? K? w--- O? M++ V? PS+() PE+(-) Y+ PGP+++ t+(+++) 5  
X R?

tv-(--) b(++) DI+ D+ G e->$ h!*()>++$ r  !y?(-)
--END GEEK CODE BLOCK--




---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] New fink release, testing needed

2005-07-27 Thread Benjamin Reed

Kyle Moffett wrote:


On a side note, does anyone know if porting "aptitude" (from Debian) has
been attempted?  I was considering trying such a port and was wondering
if anybody has made the attempt before and run into difficult or  
unsolvable

problems.


I ported it a little while back, it's in unstable.  I'd be happy to move 
it to stable if I get a few positive reports.  (hint, hint)   :)



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] New fink release, testing needed

2005-07-26 Thread Kyle Moffett

On Jul 26, 2005, at 23:04:04, Dave Vasilevsky wrote:

Personally I much prefer aptitude to deselect, even when not
using it to just install packages, because it allows one to mark  
packages
as "installed only due to dependency" and it will automatically  
remove them

when the depending package goes away or is upgraded.


I use 'debfoster' for this.


I used to use debfoster, and still do occasionally, but with aptitude  
one

can trivially browse package dependencies and such, both up and down the
dependency graph, including proper handling for virtual packages and  
such.
When you install a package through aptitude, it also marks any  
automatically

installed packages with the "A" flag.  Oh, and aptitude has a built-in
Minesweeper game ;-)

Cheers,
Kyle Moffett

--
I lost interest in "blade servers" when I found they didn't throw  
knives at

people who weren't supposed to be in your machine room.
  -- Anthony de Boer




---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] New fink release, testing needed

2005-07-26 Thread Dave Vasilevsky


On Jul 26, 2005, at 7:47 PM, Kyle Moffett wrote:
I think I remember that it used to create/update apt-get package  
lists for
local filesystem repositories, so that when running dselect you can  
see
what deb files are on the local filesystem, even if they aren't  
installed

at the moment.


As akh pointed out, fink scanpackages does this now. Note that if you  
use Fink from CVS HEAD, and install the package apt-ftparchive,  
scanpackages runs much faster than it used to--but for some reason we  
left this feature out of 0.24.8, I'm not sure why.



Personally I much prefer aptitude to deselect, even when not
using it to just install packages, because it allows one to mark  
packages
as "installed only due to dependency" and it will automatically  
remove them

when the depending package goes away or is upgraded.


I use 'debfoster' for this.

Dave


PGP.sig
Description: This is a digitally signed message part


Re: [Fink-devel] New fink release, testing needed

2005-07-26 Thread Kyle Moffett

On Jul 26, 2005, at 19:52:44, Alexander Hansen wrote:

On Jul 26, 2005, at 7:47 PM, Kyle Moffett wrote:
I think I remember that it used to create/update apt-get package  
lists for
local filesystem repositories, so that when running dselect you  
can see
what deb files are on the local filesystem, even if they aren't  
installed
at the moment.  I've been unsubscribed for a while, so I don't  
know what
development has happened or if the feature has been included  
elsewhere,

but that's what I think it used to do, and maybe still does.


That's done by 'scanpackages', now at any rate.


Hmm, maybe they were synonyms?  Oh well...

On a side note, does anyone know if porting "aptitude" (from  
Debian) has
been attempted?  I was considering trying such a port and was  
wondering
if anybody has made the attempt before and run into difficult or  
unsolvable
problems.  Personally I much prefer aptitude to deselect, even  
when not
using it to just install packages, because it allows one to mark  
packages
as "installed only due to dependency" and it will automatically  
remove them

when the depending package goes away or is upgraded.


http://fink.sourceforge.net/pdb/package.php/aptitude


Hah!  That shows me.  I checked before I went on vacation and I  
couldn't seem

to find it.  I guess it was packaged for 10.4 fairly recently then?

Cheers,
Kyle Moffett

--
I lost interest in "blade servers" when I found they didn't throw  
knives at

people who weren't supposed to be in your machine room.
  -- Anthony de Boer




---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] New fink release, testing needed

2005-07-26 Thread Alexander Hansen
On Jul 26, 2005, at 7:47 PM, Kyle Moffett wrote:On Jul 25, 2005, at 19:22:06, Dave Vasilevsky wrote:      * 'fink rescan' is deprecated because nobody knows what it's for. If    you know, tell us! I think I remember that it used to create/update apt-get package lists forlocal filesystem repositories, so that when running dselect you can seewhat deb files are on the local filesystem, even if they aren't installedat the moment.  I've been unsubscribed for a while, so I don't know whatdevelopment has happened or if the feature has been included elsewhere,but that's what I think it used to do, and maybe still does.That's done by 'scanpackages', now at any rate.On a side note, does anyone know if porting "aptitude" (from Debian) hasbeen attempted?  I was considering trying such a port and was wonderingif anybody has made the attempt before and run into difficult or unsolvableproblems.  Personally I much prefer aptitude to deselect, even when notusing it to just install packages, because it allows one to mark packagesas "installed only due to dependency" and it will automatically remove themwhen the depending package goes away or is upgraded.http://fink.sourceforge.net/pdb/package.php/aptitude ;-)Cheers,Kyle Moffett --Alexander HansenFink Documentarian[Day Job] Levitated Dipole Experimenthttp://psfcwww2.psfc.mit.edu/ldx/ 

Re: [Fink-devel] New fink release, testing needed

2005-07-26 Thread Kyle Moffett

On Jul 25, 2005, at 19:22:06, Dave Vasilevsky wrote:
 * 'fink rescan' is deprecated because nobody knows what it's  
for. If

you know, tell us!


I think I remember that it used to create/update apt-get package  
lists for

local filesystem repositories, so that when running dselect you can see
what deb files are on the local filesystem, even if they aren't  
installed

at the moment.  I've been unsubscribed for a while, so I don't know what
development has happened or if the feature has been included elsewhere,
but that's what I think it used to do, and maybe still does.

On a side note, does anyone know if porting "aptitude" (from Debian) has
been attempted?  I was considering trying such a port and was wondering
if anybody has made the attempt before and run into difficult or  
unsolvable

problems.  Personally I much prefer aptitude to deselect, even when not
using it to just install packages, because it allows one to mark  
packages
as "installed only due to dependency" and it will automatically  
remove them

when the depending package goes away or is upgraded.

Cheers,
Kyle Moffett

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCM/CS/IT/U d- s++: a18 C>$ UB/L/X/*(+)>$ P+++()>$ L(+ 
++) E
W++(+) N+++(++) o? K? w--- O? M++ V? PS+() PE+(-) Y+ PGP+++ t+(+++) 5  
X R?

tv-(--) b(++) DI+ D+ G e->$ h!*()>++$ r  !y?(-)
--END GEEK CODE BLOCK--




---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] New fink release, testing needed

2005-07-25 Thread Randal L. Schwartz
> "Dave" == Dave Vasilevsky <[EMAIL PROTECTED]> writes:

Dave> Usually fink should detect and update your index automagically. If
Dave> for some reason it doesn't, the way to fix it is 'fink index'. As far
Dave> as I can tell from the current code, 'fink rescan' will NOT fix this
Dave> problem.

I might be confusing this with "fink index" or "fink reindex" or something.

Thanks for the update.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] New fink release, testing needed

2005-07-25 Thread Dave Vasilevsky


On Jul 25, 2005, at 7:33 PM, Randal L. Schwartz wrote:
Dave>   * 'fink rescan' is deprecated because nobody knows what  
it's

Dave> for. If
Dave>  you know, tell us!

I've used it as a ritual "turn east and pray" action when I've gone in
and hacked my local .info and .patch files.  Is it no longer needed?


Hi Randal,

Usually fink should detect and update your index automagically. If  
for some reason it doesn't, the way to fix it is 'fink index'. As far  
as I can tell from the current code, 'fink rescan' will NOT fix this  
problem.


Dave


PGP.sig
Description: This is a digitally signed message part


Re: [Fink-devel] New fink release, testing needed

2005-07-25 Thread Randal L. Schwartz
> "Dave" == Dave Vasilevsky <[EMAIL PROTECTED]> writes:

Dave>   * 'fink rescan' is deprecated because nobody knows what it's
Dave> for. If
Dave>  you know, tell us!

I've used it as a ritual "turn east and pray" action when I've gone in
and hacked my local .info and .patch files.  Is it no longer needed?

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] New fink release, testing needed

2005-07-25 Thread Dave Vasilevsky

Hey folks,

We're about to release fink 0.24.8. This is a bit of a bigger point- 
release than usual, because a bunch of features from the future 0.25  
have been backported, so we'd like to get a few days of testing on - 
devel before release.


To try it out, you can access the branch 'branch_0_24' in CVS, or  
just download a tarball here: http://vasi.webhop.org/files/fink/ 
source/fink-0.24.8pre.tgz . Unpack, cd into the directory, and run './ 
inject.pl'.


Here are some of the new features, full changelog is at http:// 
vasi.webhop.org/files/fink/fink-0.24.8-ChangeLog :


 * 'fink rescan' is deprecated because nobody knows what it's  
for. If

you know, tell us!

* Dpkg and apt "lockwait": if you're running two instances of  
fink, and

they both try to run dpkg or apt, breakage will no longer occur.

* Spotlight protection: fink offers to disable spotlight  
indexing on your

build directory (10.4 only).

* Prebinding disabled on Tiger.

* Bug in "Repair Permissions" that can cause compiles to fail is
automagically fixed.

* 10.4.2 officially supported, 10.2 deprecated.

* Bootstrap .info files and mirrors updated: bootstrap with  
XCode 2.1

works again.

* Removing the last versioned perl module now does UpdatePOD  
properly.


Dave


PGP.sig
Description: This is a digitally signed message part