Re: mariadb-connector-c for MinGW

2018-03-22 Thread Dirk Gottschalk
Hi Michael.

Am Donnerstag, den 22.03.2018, 17:35 +0100 schrieb Michal Schorm:
> Hi Dirk,
> 
> MariaDB, MySQL and their C & ODBC connectors maintainer here!
> 
> I agree with Michael Cronenworth, that the right way is to become a
> Fedora packager and start taking care of the new package.
> However, that can take some time and effort. (getting ready to become
> the packager, do a review of somebody's package, find a sponsor, get
> familiar with the infrastructure, propose a new package, a keep eye
> on it for few fedora releases )

Packaging for Fedora is my long term target. but, having a bunch of
other work to to, my target at this point is to build a package that is
simply usable for my convenience, i.e. after a reinstallation of the
system or for installation on other workstations. I'm sure, my package
doesn't reach the packaging guideline by now. But making it available
for others, since it works, is a good idea. The fine tuning for an
official release in Fedora can be done, when my time allows it.


> Posting the buildable package source files on Git{Hub,Lab,...} and
> asking somebody to build it in COPR seems like a good first step to
> me too.
> In adition, with latest COPR features, it should be possible to hook
> the external repo and rebuild automatically on each commit.

Yes, I have seen COPR works with GitHub. I have an FAS account for
years now, but I wanted to get some feedback here first.

I forked the Repo of mariadb-connector-c to my account. I make the
changes there and perhaps the MariaDB guys do a pull. My idea is to
contact them after the work is done.


> I don't understand MinGW at all, so my nex assumption may be wrong.
> If the changes to the sources are only cosmetic from Linux POV, but
> critical from MinGW POV, I'd be happy to offer the patch to MariaDB
> upstream. (Or you can do it yourself through either their JIRA or
> GitHub PR)

I use an old release for this, it's version 2.3.2 of the C connector,
the newer versions don't compile because of some functions and missing
portability. This issue is something I want to resolve in my holidays
in summer.


> Anyway, even though I don't work with MinGW, this sound's like cool
> package to have.
> I'd surely add it to Fedora wiki pages I wrote about MariaDB and
> software around.

I'll revise the package to make it conforming to the packaging
guidelines and to resolve the problem with version 3.x.x of the
connector. 

Regards,
Dirk


-- 
Dirk Gottschalk
Paulusstrasse 6-8
52064 Aachen
Tel.: +49 1573 1152350

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


smime.p7s
Description: S/MIME cryptographic signature
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: mariadb-connector-c for MinGW

2018-03-22 Thread Michal Schorm
Hi Dirk,

MariaDB, MySQL and their C & ODBC connectors maintainer here!

I agree with Michael Cronenworth, that the right way is to become a
Fedora packager and start taking care of the new package.
However, that can take some time and effort. (getting ready to become
the packager, do a review of somebody's package, find a sponsor, get
familiar with the infrastructure, propose a new package, a keep eye on
it for few fedora releases )

Posting the buildable package source files on Git{Hub,Lab,...} and
asking somebody to build it in COPR seems like a good first step to me
too.
In adition, with latest COPR features, it should be possible to hook
the external repo and rebuild automatically on each commit.

I don't understand MinGW at all, so my nex assumption may be wrong.
If the changes to the sources are only cosmetic from Linux POV, but
critical from MinGW POV, I'd be happy to offer the patch to MariaDB
upstream. (Or you can do it yourself through either their JIRA or
GitHub PR)


Anyway, even though I don't work with MinGW, this sound's like cool
package to have.
I'd surely add it to Fedora wiki pages I wrote about MariaDB and
software around.

Michal

--

Michal Schorm
Associate Software Engineer
Core Services - Databases Team
Red Hat


On Thu, Mar 22, 2018 at 4:24 PM, Michael Cronenworth  wrote:
> On 03/22/2018 09:53 AM, Dirk Gottschalk wrote:
>>
>> My questions now:
>> Is there any interest for those Packages?
>> If yes, what is the best way to distribute these packages? Copr?
>
>
> Yes, you may become a Fedora packager and publish the package in the Fedora
> repository.
>
> Fedora MinGW Packages:
> https://koji.fedoraproject.org/koji/search?match=glob=package=mingw-*
>
> https://fedoraproject.org/wiki/Join_the_package_collection_maintainers
>
> There is a MinGW mailing list that you may join and discuss anything further
> there.
>
> https://lists.fedoraproject.org/archives/list/mi...@lists.fedoraproject.org/
> ___
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: mariadb-connector-c for MinGW

2018-03-22 Thread Michael Cronenworth

On 03/22/2018 09:53 AM, Dirk Gottschalk wrote:

My questions now:
Is there any interest for those Packages?
If yes, what is the best way to distribute these packages? Copr?


Yes, you may become a Fedora packager and publish the package in the Fedora 
repository.

Fedora MinGW Packages:
https://koji.fedoraproject.org/koji/search?match=glob=package=mingw-*

https://fedoraproject.org/wiki/Join_the_package_collection_maintainers

There is a MinGW mailing list that you may join and discuss anything further 
there.

https://lists.fedoraproject.org/archives/list/mi...@lists.fedoraproject.org/
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


mariadb-connector-c for MinGW

2018-03-22 Thread Dirk Gottschalk
Hello.

I'm using MinGW for some of my projects which require to be usable also
on Windows. For this purpose I'm using MinGW to compule the Windows
binaries.

Some of this projects require MariaDB. In this case I found out that
there is no MinGW-Package of the C connector.

Being as lazy as I am, I built one by myself and put it in my local
repository.

Now, I want to share it with other Fedora users, so that they don't
have to fumble around with this situation, because you have to change
some things in the sources to compile it with MinGW. In most cases
there are just includes where they seem to have forgotten to take care
about the case sensitivity of filenames.

My questions now:
Is there any interest for those Packages?
If yes, what is the best way to distribute these packages? Copr?

Thanks in advance,
Dirk

-- 
Dirk Gottschalk
Paulusstrasse 6-8
52064 Aachen
Tel.: +49 1573 1152350

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


smime.p7s
Description: S/MIME cryptographic signature
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org