Re: gEDA-user: Oscopy input formats (was Re: zview/ngscope)

2011-04-14 Thread Andrzej
On Fri, Apr 15, 2011 at 5:13 AM, Arnaud Gardelein  wrote:
>
>> if it only supported more input formats
> Which input formats ? There are a lot of them out there.

Yes, there are quite a few of them. Many of them are likely not
documented at all.

There is no need to support them all, though. Just a "common
denominator". In some cases it might be possible (hspice?) to convince
the simulator to output data in an ascii format.
In others, there are usually some legacy formats to choose from.

Gwave did have some (partial) support for a couple of formats - not
sure if the code is reusable.

Also, how about this library? That's one of the most popular formats.
https://github.com/henjo/libpsf

Some other formats that would be nice to have: sst2, wdf. Those might
be more demanding, though.

Cheers,

Andrzej


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Attribute Net (without pin assignment) - for Power and Port Symbols

2011-04-14 Thread Krzysztof Kościuszkiewicz
On Wed, Apr 13, 2011 at 10:41:23PM +0100, Peter Clifton wrote:

> pin[pinnumber=1] {pinnumber="2";}
> pin[pinnumber=2] {pinnumber="1";}
> 
> 
> I've long seen this to be the most sane way of managing back-annotation
> into a hierarchy. I would go as far to say refdes should be
> back-annotated as such:
> 
> #X1 > #X1 > #R1 {refdes = "R99";}
> #X1 > #X2 > #R1 {refdes = "R123";}
> #X1 > #X3 > #R1 {refdes = "R3";}

That looks neat & powerful - and starting to closely resemble XPath/XSLT/CSS
transformations.

But I think we're actually getting farther from something that:
* is backwards compatible with the name=value attribute definition/syntx
* can be simply used to add hierarchy/depth to attribute assignments

It would be best to keep these two things aligned - syntax used for
general transformations should be a natural extension of the one used
for attribute definitions.

And a small comment regarding hierarchy separators - I would personally
choose anything that does not require shift-keystroke to type the most
commonly used separator - so '/' and '.' seem to be the two natural
candidates.

-- 
Krzysztof Kościuszkiewicz
"Simplicity is the ultimate sophistication" -- Leonardo da Vinci


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


gEDA-user: Oscopy input formats (was Re: zview/ngscope)

2011-04-14 Thread Arnaud Gardelein
(Sorry for the late reply, I had some troubles with mails)

Le mardi 05 avril 2011 à 14:19 +0900, Andrzej a écrit :
> if it only supported more input formats
Which input formats ? There are a lot of them out there. I need some
help to include them in oscopy. Basically, at least pointers to the
description of the format and some samples files for testing.
Currently I'm writing documentation (code comments and user/dev manuals)
to help anybody to write its own import routine for oscopy. Once done I
plan to update the website (oscopy.org), merge the dev branch with
stable and finally announce the release.
In the meantime, any feedback on oscopy in its current dev state is
welcomed.

Arnaud.



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Parallel Installation of Stable and Unstable gEDA Version

2011-04-14 Thread Peter Clifton
On Thu, 2011-04-14 at 09:22 -0700, Colin D Bennett wrote:
> On Thu, 14 Apr 2011 08:59:06 +0100
> Peter Clifton  wrote:
> 
> > Beware that pcb and geda only play nice when installed into the same
> > prefix, so you will want to install PCB into both places you install
> > gEDA. Perhaps some kind of symlink to switch between installed
> > versions into one path would also help.
> 
> I'm curious how pcb and gEDA don't “play nice” when installed into
> different prefixes?  It works fine for me.

gch2pcb doesn't always find things IIRC. I think that was the extent of
it.

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)


signature.asc
Description: This is a digitally signed message part


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Spam Email to This List

2011-04-14 Thread Raymond Lillard

On 04/14/2011 05:09 AM, Kai-Martin Knaak wrote:

ge...@igor2.repo.hu wrote:


Sorry, missunderstanding. By private I meant hosted privately instead of
hosted by some 3rd company like google.


Just a quick note:
Before the mailinglist and/or the wiki is hosted by some third party business,
I'd volunteer to run it from my webspace. I have a couple of mailinglists
and dokuwikis running smoothly for some years now.



I would like to state a simple preference that this list stay in
its present form.  I find the web-based forum awkward and a PITA
compared to a mail-list.  This list has a VERY low SPAM level
compared even to web-based solutions.  Please do not over-react
to a little spam.

On the occasions I use gEDA I find it fills my needs and I like
stay up-to-date.  Each time I use it, I pull the sources from HEAD
and build the latest.  So far, it has alway built out-of-the-box
so to speak.  It pleases me to see steady progress.

I fully realize I am mainly a consumer of information on this
list and not actively involved in development, QA or support.
I only use gEDA a few times a year and then even on small projects,
and as such I am not entitled to any say in the matter.

This is just a simple request, please keep the mail-list interface.

Regards all,
Ray


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Attribute Net (without pin assignment) - for Power and Port Symbols

2011-04-14 Thread DJ Delorie

>   Equality test  AssignmentComment
>   x = y  x := yAda, ALGOL, Dylan, Eiffel, Pascal
>   x = y  x <- yR, Objective Caml
>   x == y x = y C, C++, Java, C#, Python
> 
> Even though I am most accustomed to C/C++/Java style, I think that it
> is ideal to use “=” in the mathematical sense of a logical statement
> with a truth value, using another operator to make assignments more
> obvious.

Better to avoid "x = y" completely, and use == and := so there's no
confusion?


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Parallel Installation of Stable and Unstable gEDA Version

2011-04-14 Thread Colin D Bennett
On Thu, 14 Apr 2011 08:59:06 +0100
Peter Clifton  wrote:

> Beware that pcb and geda only play nice when installed into the same
> prefix, so you will want to install PCB into both places you install
> gEDA. Perhaps some kind of symlink to switch between installed
> versions into one path would also help.

I'm curious how pcb and gEDA don't “play nice” when installed into
different prefixes?  It works fine for me.

I use gschem installed using dpkg/apt-get (into prefix /usr) but pcb
installed from source into the prefix
/opt/pcb/HEAD_2011-02-21T023427+, for instance.

(I have many pcb versions installed in different locations
under /opt/pcb with a single /opt/pcb/current symlink to the one I want
to use by default.)

Regards,
Colin


signature.asc
Description: PGP signature


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Attribute Net (without pin assignment) - for Power and Port Symbols

2011-04-14 Thread Colin D Bennett
On Wed, 13 Apr 2011 22:41:23 +0100
Peter Clifton  wrote:

> On Wed, 2011-04-13 at 22:26 +0100, Peter Clifton wrote:
> 
> > pin[pinnumber=1] {
> > pinnumber="99";
> > }
> 
> And regarding stuff like the above - where we key off one attribute
> and change it in the rule, IF that is ever legal - we should do it
> like a PLC executes its processing cycles.
> 
> Freeze a view of the attributes as exist "before", run the rules on
> those frozen attributes, then bulk update. That would enable a
> pin-swap with syntax such as:
> 
> pin[pinnumber=1] {pinnumber="2";}
> pin[pinnumber=2] {pinnumber="1";}

It might make things simpler and more uniform for both the program and
for the user if we had different operators for equality testing and for
assignment.  Something like one of the following:

  Equality test  AssignmentComment
  x = y  x := yAda, ALGOL, Dylan, Eiffel, Pascal
  x = y  x <- yR, Objective Caml
  x == y x = y C, C++, Java, C#, Python

Even though I am most accustomed to C/C++/Java style, I think that it
is ideal to use “=” in the mathematical sense of a logical statement
with a truth value, using another operator to make assignments more
obvious.

Regards,
Colin


signature.asc
Description: PGP signature


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Where is pcb-20100929 for Win32 ?

2011-04-14 Thread Vaclav Peroutka
> > In the meantime I tried another steps. Now, when building PCB, I am
> > getting this log below. Unfortunately I can't find what is the
> > correct ./config.status command and where from Makefile it is run...
> 
> config.status is produced by the build, not consumed by it.  Did you
> run autogen.sh on cygwin?
> 
I use MinGW + MinSYS environment. I just run win32/build_pcb script. Nothing 
else. It seems there is again problem with white spaces at the end of lines. 
Correct command should have been "./config.status win32/Makefile" . I edited it 
again and another problems appeared.

So IMHO there is currently no straightforward way how to compile PCB with MinGW 
compiler.


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Where is pcb-20100929 for Win32 ?

2011-04-14 Thread DJ Delorie

> In the meantime I tried another steps. Now, when building PCB, I am
> getting this log below. Unfortunately I can't find what is the
> correct ./config.status command and where from Makefile it is run...

config.status is produced by the build, not consumed by it.  Did you
run autogen.sh on cygwin?


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Where is pcb-20100929 for Win32 ?

2011-04-14 Thread DJ Delorie

> I built pcb-20100929 last night using the minipack environment in a
> virtualbox VM with a fresh Ubuntu 10.10 install. Process was nearly
> painles: I had to find alternative sources to the ones given in the
> pixman and gd recipes(it seems like libgd.org has been down for a
> long time), but that was the only hiccup .

Could you send me the built installer exe and a diff for the changes
you made?

Maybe I can reproduce it here, and we'd be done :-)


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Spam Email to This List

2011-04-14 Thread Kai-Martin Knaak
ge...@igor2.repo.hu wrote:

> Sorry, missunderstanding. By private I meant hosted privately instead of 
> hosted by some 3rd company like google.

Just a quick note: 
Before the mailinglist and/or the wiki is hosted by some third party business, 
I'd volunteer to run it from my webspace. I have a couple of mailinglists 
and dokuwikis running smoothly for some years now.  

---<)kaimartin(>---
-- 
Kai-Martin Knaak  tel: +49-511-762-2895
Universität Hannover, Inst. für Quantenoptik  fax: +49-511-762-2211 
Welfengarten 1, 30167 Hannover   http://www.iqo.uni-hannover.de
GPG key:http://pgp.mit.edu:11371/pks/lookup?search=Knaak+kmk&op=get



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Where is pcb-20100929 for Win32 ?

2011-04-14 Thread Vaclav Peroutka
> 
> I built pcb-20100929 last night using the minipack environment in a
> virtualbox VM  with a fresh Ubuntu 10.10 install. Process was nearly
> painles: I had to find alternative sources to the ones given in the
> pixman and gd recipes(it seems like libgd.org has been down for a long
> time), but that was the only hiccup .
> 
> I remember ages ago when I was doing a bit of coding for the N900,
> Nokia actually release a VM image containing a fully set-up Maemo
> linux development environment. It saved me alot of time compared to
> navigating a sea of dependencies and manually setting up the
> cross-compiler and emulator environments.
> Is there any interest in something like this for PCB/Minipack? I'd be
> happy to slap one together but don't have the resources to host it.
> 
> -Tom Pope

I don't know, what exactly minipack is. If I can run such PCB/Minipack on 
Windows XP, yes.

In the meantime I tried another steps. Now, when building PCB, I am getting 
this log below. Unfortunately I can't find what is the correct ./config.status 
command and where from Makefile it is run...

Vaclav


Building for cygwin
make  all-recursive
make[1]: Entering directory `/d/V/temp/pcb-20100929'
Making all in win32
make[2]: Entering directory `/d/V/temp/pcb-20100929/win32'
Makefile:317: warning: overriding commands for target `..'
Makefile:314: warning: ignoring old commands for target `..'
Makefile:319: warning: overriding commands for target `..'
Makefile:317: warning: ignoring old commands for target `..'
 cd ..  && /bin/sh  /d/V/temp/pcb-20100929/missing --run automake-1.11  
--foreign win32/Makefile
/d/V/temp/pcb-20100929/missing: line 52: automake-1.11: command not found
WARNING: `automake-1.11' is missing on your system.  You should only need it if
 you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
 You might want to install the `Automake' and `Perl' packages.
 Grab them from any GNU archive site.
make[2]: Circular .. <- .. dependency dropped.
cd ..  && make  am--refresh 
make[3]: Entering directory `/d/V/temp/pcb-20100929'
 cd . && /bin/sh ./config.status Makefile 
config.status: creating Makefile
make[3]: Leaving directory `/d/V/temp/pcb-20100929'
make[3]: Entering directory `/d/V/temp/pcb-20100929'
make[3]: Leaving directory `/d/V/temp/pcb-20100929'
cd ..  && make  am--refresh 
make[3]: Entering directory `/d/V/temp/pcb-20100929'
make[3]: Leaving directory `/d/V/temp/pcb-20100929'
cd ..  && make  am--refresh 
make[3]: Entering directory `/d/V/temp/pcb-20100929'
make[3]: Leaving directory `/d/V/temp/pcb-20100929'
 cd ..  && /bin/sh  ./config.status win32 /Makefile 
config.status: error: invalid argument: win32
make[2]: *** [Makefile] Error 1
make[2]: Leaving directory `/d/V/temp/pcb-20100929/win32'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/d/V/temp/pcb-20100929'
make: *** [all] Error 2
 ERROR  Build failed. See log in m.log


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Parallel Installation of Stable and Unstable gEDA Version

2011-04-14 Thread Peter Clifton
On Wed, 2011-04-13 at 23:10 +0200, Markus Traidl wrote:
> Hello,
> 
>currently I am using gEDA 1.6.2 on a Ubuntu Linux System in a
>VirtualBox -> this runs very good.
> 
>For test reasons, I would like also to install the 1.7.x version of
>gEDA. I can do it at a different place - that's no problem.
> 
>But what I am looking for is a good way to switch between the stable
>and the unstable version?
> 
>What is your way of doing that?

Probably best to install them in different places. Set prefix= on
the ./configure command line. E.g. mine:

./configure --prefix=/home/pcjc2/geda --with-xdgdatadir=/home/pcjc2/.local/share

I then set up my paths to point to these files with a script in
~/.profile:

(snippet)

if [ -f ~/geda.exports ]; then
`~/geda.exports`
fi

(NO, not the best style in the word!)

The reason being is that the script ~/geda.exports doesn't do anything
directly.. it prints the list of bash commands which you need to run to
set all the environment variables.

cat ~/geda.exports 
#!/bin/sh

# echo "# For bash:"
echo export 
LD_LIBRARY_PATH=/home/pcjc2/geda/lib:/home/pcjc2/geda/lib/gnucap:$LD_LIBRARY_PATH
echo export PATH=/home/pcjc2/geda/bin:$PATH
echo export PKG_CONFIG_PATH=/home/pcjc2/geda/lib/pkgconfig:$PKG_CONFIG_PATH
echo export GUILE_LOAD_PATH=/home/pcjc2/geda/share/guile

Probably the PKG_CONFIG_PATH one is not required any more, and possibly
ditto for the GUILE_LOAD_PATH one.. I've been using these since way
before the gEDA build was unified by Peter Brett, and at least the
PKG_CONFIG_PATH one relates to building against the installed libgeda.


Beware that pcb and geda only play nice when installed into the same
prefix, so you will want to install PCB into both places you install
gEDA. Perhaps some kind of symlink to switch between installed versions
into one path would also help.


Finally, since the stable release and devel release have different SO
versions for libgeda, the library is in principle co-installable, but
the shared scheme code etc.. won't be.

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)


signature.asc
Description: This is a digitally signed message part


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user