Shuffling files

View: New views
4 Messages — Rating Filter:   Alert me  

Shuffling files

by Kai Willadsen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

This is a proposal for a reorganisation of Meld's directory structure.
Borrowing heavily from Stephen's previous suggestions and fleshing out some
details:

/
    COPYING, INSTALL, etc.
bin/
    The main Meld script
data/
    Miscellaneous data files, such as meld.desktop.
data/icons/
    Custom icons (was glade2/pixmaps)
data/ui/
    Glade/GtkBuilder and UIManager files (was glade2/*)
help/
    Manuals
meld/
    Most of the Meld source files
meld/util/
    Meld's utility classes (prefs, gnomeglade, maybe misc?) and compatibility
    shims (prefs, sourceviewer)
meld/widgets/
    Custom GtkWidgets and other UI components (notebooklabel, findbar,
    historyentry, msgarea)
meld/vc/
    The vc subsystem (was vc/)
po/
    Translations, etc.

Additional small changes:
 * Rename "changelog" to "NEWS"
 * Remove unused images "close.xpm", "cvs-icon.png", "cvs-icon-small.png",
   "svn-icon.png" and "svn-icon-small.png"

Points of contention:
 * running meld uninstalled would now be 'bin/meld' rather than './meld'. Is
   this a big deal?
 * 'widgets' is a slightly silly name.
 * I like making lists.


Assuming this goes ahead, it will probably happen on a (hopefully short-lived)
branch. It seems likely that this might cause breakage and weirdness of
installs and such for a while. Suggestions, thoughts, etc.?

Kai
_______________________________________________
meld-list mailing list
meld-list@...
http://mail.gnome.org/mailman/listinfo/meld-list

Re: Shuffling files

by Vincent Legoll :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, Jul 4, 2009 at 9:48 AM, Kai Willadsen<kai.willadsen@...> wrote:
> Points of contention:
>  * running meld uninstalled would now be 'bin/meld' rather than './meld'. Is
>   this a big deal?

I don't think so

>  * 'widgets' is a slightly silly name.

why not meld/ui

>  * I like making lists.

use [] and , then

--
Vincent Legoll
_______________________________________________
meld-list mailing list
meld-list@...
http://mail.gnome.org/mailman/listinfo/meld-list

Re: Shuffling files

by Kai Willadsen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/7/4 Vincent Legoll <vincent.legoll@...>:
> On Sat, Jul 4, 2009 at 9:48 AM, Kai Willadsen<kai.willadsen@...> wrote:
>>  * 'widgets' is a slightly silly name.
>
> why not meld/ui

I thought of that, but I felt vaguely uneasy about having both data/ui
and meld/ui. In reality, I think you're right, and 'ui' is a
significantly better name than 'widgets'.

Kai
_______________________________________________
meld-list mailing list
meld-list@...
http://mail.gnome.org/mailman/listinfo/meld-list

Re: Shuffling files

by Stephen Kennedy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> meld/
>    Most of the Meld source files
> meld/util/
>    Meld's utility classes (prefs, gnomeglade, maybe misc?) and compatibility
>    shims (prefs, sourceviewer)
> meld/widgets/
>    Custom GtkWidgets and other UI components (notebooklabel, findbar,
>    historyentry, msgarea)


One small thing would be to keep the non-core-app ui together. For instance,
findbar depends on gnomeglade so perhaps it should go into meld/ui with
all the other widget stuff. meld/util would then be for non-ui utilities.

Everything else looks great, I think bin/meld is no big deal.

Stephen.
_______________________________________________
meld-list mailing list
meld-list@...
http://mail.gnome.org/mailman/listinfo/meld-list