Re: bundled intl stuff necessary

2009-01-03 Thread Enrico Weigelt
* Roland Illig roland.il...@gmx.de schrieb:
 Enrico Weigelt schrieb:
  Hi folks,
  
  is it necessary to have the intl lib bundled into mc or could it
  be taken directly from the system ?
  (I admit, I don't know much about how it really works ;-o)
 
 I don't think it is necessary. There are many other projects who have
 dropped the internal intl/ directory.

Okay, I'm trying to hack up something. 

This will also be my first reallife learning experience w/ git ;-)
Please give me some hint how to send back my changes for review
(directly via git).


cu
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-
___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: bundled intl stuff necessary

2009-01-03 Thread Enrico Weigelt
* Slava Zanko slavaza...@gmail.com schrieb:

Hi,

 lib - in my mind must be sources of library(es) of project.
 What we see in directory lib?

ACK. Currently, it contains lots of stuff which clearly don't belong 
there, but instead something like man/doc/shared-data/whatever.

 My purpose (in far-near future):
 doc
 man (current ${src_root}/doc)
 contributor (contributor manuals)
 developer (developers manual)

What exactly is the difference between developer and contributor ?

 user (all README-files, readme about hotkeys, all other
   user-related)
 
 contrib
 contrib/extfs (current ${src_root}/vfs/extfs)

Why do extfs scripts belong into contrib ?

BTW: they should be installed into ${libexecdir}/mc, not 
${datarootdir}/mc. Same w/ the stuff in ${datarootdir}/mc/bin.
The global menu configs belong into ${sysconfdir}/mc. Hintfiles 
are locale stuff, so belong somewhere below ${datarootdir}/locale/ ..

 contrib/lib (current ${src_root}/lib, except mc.hint.* and
  README.xterm)

And the lib/ChangeLog should be merged with the one in the toplevel dir.

 contrib/syntax (current ${src_root}/syntax)

Why are the syntaxfiles contrib stuff ?

 lib/slang

Why should we carry an own branch of slang at all ?


cu
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-
___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: bundled intl stuff necessary

2009-01-03 Thread Andrew Borodin
On Sat, 3 Jan 2009 17:34:19 +0100 Enrico Weigelt wrote:
 Why do extfs scripts belong into contrib ?
 
 BTW: they should be installed into ${libexecdir}/mc, not 
 ${datarootdir}/mc. Same w/ the stuff in ${datarootdir}/mc/bin.

Why? ${datarootdir}/mc contains arch-independent files and
mc-specific files. It's correct place in terms of FHS.

 The global menu configs belong into ${sysconfdir}/mc.

I agree.

 Hintfiles are locale stuff, so belong somewhere below 
 ${datarootdir}/locale/.

Hintfiles are private data of mc. ${datarootdir}/mc is correct place
for it.

-- 
Regards,
Andrew.
___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: bundled intl stuff necessary

2009-01-03 Thread Slava Zanko
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Enrico Weigelt wrote:

 My purpose (in far-near future):
 doc
 man (current ${src_root}/doc)
 contributor (contributor manuals)
 developer (developers manual)
 
 What exactly is the difference between developer and contributor ?
Developer docs:
- - style of project sources;
- - descriptions of internal functions (library related, may be via doxygen)
- - UML-like schemas... or in plain text :)
- - other doc-stuff related to developers

Contributor... gm... may be I'm mistaken with word... 'maintainer' more
like.
- - How make packages in rpm, deb, tgz(Slackware) and other
package-oriented distros
- - How compile on *BSD/MaCOS, Cygwin/MinGW
- - How compile on embedded systems
- - ... other maintainer-related stuff

 contrib
 contrib/extfs (current ${src_root}/vfs/extfs)
 
 Why do extfs scripts belong into contrib ?
 contrib/syntax (current ${src_root}/syntax)
 Why are the syntaxfiles contrib stuff ?

this not a part of mc executable and must be in conrtib area, IMHO

 BTW: they should be installed into ${libexecdir}/mc, not 
 ${datarootdir}/mc. Same w/ the stuff in ${datarootdir}/mc/bin.
 The global menu configs belong into ${sysconfdir}/mc. Hintfiles 
 are locale stuff, so belong somewhere below ${datarootdir}/locale/ ..

This already applyed in Fedora-10 patch. Later I will publish this patch
in trac.

 contrib/lib (current ${src_root}/lib, except mc.hint.* and
  README.xterm)
 
 And the lib/ChangeLog should be merged with the one in the toplevel dir.
ACK.

 lib/slang
 Why should we carry an own branch of slang at all ?
For embedded systems with less of memory, IMHO...

... P.S. May be, in future mc will work on my iPhone... ;)

WBR. Slavaz.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAklfmUYACgkQb3oGR6aVLponugCdGMWhLVP0yiEaaY0Ibgs6Gt34
4roAnRCOM49isy6Cs5qFSUZZBIlHPvgG
=OsnN
-END PGP SIGNATURE-
___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: bundled intl stuff necessary

2009-01-03 Thread Enrico Weigelt
* Andrew Borodin aboro...@vmail.ru schrieb:
 On Sat, 3 Jan 2009 17:34:19 +0100 Enrico Weigelt wrote:
  Why do extfs scripts belong into contrib ?
  
  BTW: they should be installed into ${libexecdir}/mc, not 
  ${datarootdir}/mc. Same w/ the stuff in ${datarootdir}/mc/bin.
 
 Why? ${datarootdir}/mc contains arch-independent files and
 mc-specific files. It's correct place in terms of FHS.

Are you *absolutely* sure they're always arch-independent and 
ever will be ? 

  Hintfiles are locale stuff, so belong somewhere below 
  ${datarootdir}/locale/.
 
 Hintfiles are private data of mc. ${datarootdir}/mc is correct place
 for it.

Yeah, same way private as .mo files, and they also serve almost
the purpose: language specific messages.


cu
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-
___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: bundled intl stuff necessary

2009-01-03 Thread Enrico Weigelt
* Slava Zanko slavaza...@gmail.com schrieb:

 Contributor... gm... may be I'm mistaken with word... 'maintainer' more
 like.
 - - How make packages in rpm, deb, tgz(Slackware) and other
 package-oriented distros
 - - How compile on *BSD/MaCOS, Cygwin/MinGW
 - - How compile on embedded systems
 - - ... other maintainer-related stuff

hmm, isn't that just normal doc stuff ? ;-o
(perhaps under the packager/ subdir)

  Why do extfs scripts belong into contrib ?
  contrib/syntax (current ${src_root}/syntax)
  Why are the syntaxfiles contrib stuff ?
 
 this not a part of mc executable and must be in conrtib area, IMHO

They're needed by mcedit at runtime, same as shared libs, configs, etc.

IMHO, contrib means: from external sources and not officially 
maintained by the upstream. I don't see that we really have this
situation yet (besides distro-specific buildfiles, etc).

  BTW: they should be installed into ${libexecdir}/mc, not 
  ${datarootdir}/mc. Same w/ the stuff in ${datarootdir}/mc/bin.
  The global menu configs belong into ${sysconfdir}/mc. Hintfiles 
  are locale stuff, so belong somewhere below ${datarootdir}/locale/ ..
 
 This already applyed in Fedora-10 patch. Later I will publish this patch
 in trac.

Ok.

  lib/slang
  Why should we carry an own branch of slang at all ?
 For embedded systems with less of memory, IMHO...

Already suspected something like that. IMHO an stupid idea:
Embedded maintainers should use an trimmed-down slang or do
static linking, etc. BTW: the change of unnecessarily bloating
up the system w/ bundled slang is quite good - just takes one
more slang-using app and all benefit's gone.

My vote is to completely dropping the bundled slang and let the
embedded folks do the trim-down on their own.


cu
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-
___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: bundled intl stuff necessary

2009-01-03 Thread Enrico Weigelt
* Andrew Borodin aboro...@vmail.ru schrieb:
 On Sat, 3 Jan 2009 18:14:21 +0100 Enrico Weigelt wrote:
  * Andrew Borodin schrieb:
   ${datarootdir}/mc contains arch-independent files and
   mc-specific files. It's correct place in terms of FHS.
  
  Are you *absolutely* sure they're always arch-independent
 
 At current time -- yes.
 
  and ever will be ? 
 
 Who knows? :-)

That's the point. Some day someone writes an extfs in C (which
is evrything but improbable) and the hassle begins. I'd prefer
to keep such trouble out of the way even before it starts.


cu
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-
___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: bundled intl stuff necessary

2008-12-31 Thread Roland Illig
Enrico Weigelt schrieb:
 Hi folks,
 
 is it necessary to have the intl lib bundled into mc or could it
 be taken directly from the system ?
 (I admit, I don't know much about how it really works ;-o)

I don't think it is necessary. There are many other projects who have
dropped the internal intl/ directory.

Roland
___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: bundled intl stuff necessary

2008-12-31 Thread Slava Zanko
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Roland Illig wrote:
 Enrico Weigelt schrieb:
 Hi folks,

 is it necessary to have the intl lib bundled into mc or could it
 be taken directly from the system ?
 (I admit, I don't know much about how it really works ;-o)
 
 I don't think it is necessary. There are many other projects who have
 dropped the internal intl/ directory.

If we started to talk about the source tree...

What now:
config
doc
edit
lib
m4
maint
po
slang
src
syntax
vfs

I think, this not good.

lib - in my mind must be sources of library(es) of project.
What we see in directory lib?

doc - Documentation of project, included:
- - man pages
- - Users manual
- - Developers manual (doxygen?)
- - Maintainers manual (how make packages on all known OSes, for example)

Now in directory 'doc' only manpages... and README-files at all
subdirectoryes.

My purpose (in far-near future):
doc
man (current ${src_root}/doc)
contributor (contributor manuals)
developer (developers manual)
user (all README-files, readme about hotkeys, all other
  user-related)

contrib
contrib/extfs (current ${src_root}/vfs/extfs)
contrib/hints
contrib/lib (current ${src_root}/lib, except mc.hint.* and
 README.xterm)
contrib/maint (current ${src_root}/maint)
contrib/syntax (current ${src_root}/syntax)
lib
lib/edit (current ${src_root}/edit)
lib/mcglib (may be, needed as mcslang for embedded systems... Little
internal library... but it's only thinks)
lib/slang
lib/vfs
lib/vfs/samba
m4
po
src


WBR, Slavaz.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFJWzU2b3oGR6aVLpoRAhsuAJ914GDP2/6kAPx53GQgzQ86QBFLOQCfXupQ
2WJiflZRaGvsv7CY80Rt/TM=
=a/Gh
-END PGP SIGNATURE-
___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel