[Mono-dev] cosmetic sqlsharpgtk patch to install exe.config
atsushi eno
atsushi at ximian.com
Wed Jan 3 04:35:35 EST 2007
Hi Daniel,
For now I'll rename .config.in to .config and checkin the fix.
My guess is that we could use DbProviderFactories (sys.data 2.0 class)
instead of its own configuration syntax, and import some additional
settings from custom configuration file (.sqlsharpgtk?). But well,
you know, I'm far from familiar with sqlsharp sources, so I might
be missing the point :|
Atsushi Eno
> Looks good. Feel free to commit.
>
> The .config.in file was meant to be copied to a
> .config file. This way, you can change it for your
> specific settings. Yet, when you do a svn commit, the
> config file would not get committed as well. As far
> as I can recall, I got this idea from FreeTDS with
> their PWD file. You copied your PWD.in file you got
> from cvs to a PWD file. If you wanted the changes to
> the PWD file committed, you would modify the .in file.
>
> However, the app settings file usually goes where the
> executable is located, and this could be read only. I
> wonder if I should be sticking a .sqlsharpgtk file in
> the user's $HOME for these settings.
>
> Any ideas?
>
> --- atsushi eno <atsushi at ximian.com> wrote:
>
> > Hi,
> >
> > Here is a cosmetic patch to make sqlsharpgtk to
> > install
> > sqlsharp.exe.config. It won't work unless you trim
> > ".in" from
> > sqlsharpgtk.exe.config.in (I don't think this ".in"
> > is needed
> > so I simply renamed it). Without it sqlsharpgtk
> > won't show
> > any drivers to connect to databases.
> >
> > Atsushi Eno
> >
> > > Index: sqlsharpgtk/Makefile.am
> >
> ===================================================================
> > --- sqlsharpgtk/Makefile.am (リビジョン 70316)
> > +++ sqlsharpgtk/Makefile.am (作æ¥ã‚³ãƒ”ー)
> > @@ -25,12 +25,12 @@
> > # Install Unstable Mono Libraries (see
> > configure.ac)
> >
> > install-data-hook:
> > - for ASM in $(INSTALLED_ASSEMBLIES); do \
> > + for ASM in $(INSTALLED_ASSEMBLIES)
> > sqlsharpgtk.exe.config; do \
> > $(INSTALL) -c -m 0755 $$ASM
> > $(DESTDIR)$(pkglibdir); \
> > done;
> >
> > uninstall-hook:
> > - for ASM in $(INSTALLED_ASSEMBLIES); do \
> > + for ASM in $(INSTALLED_ASSEMBLIES)
> > sqlsharpgtk.exe.config; do \
> > rm -f $(DESTDIR)$(pkglibdir)/`basename $$ASM`; \
> > done;
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
More information about the Mono-devel-list
mailing list