Обсуждение: Debian Packaging

Поиск
Список
Период
Сортировка

Debian Packaging

От
Raphaël Enrici
Дата:
Hi all,

I don't know if someone get something working concerning debian
packaging, but here is where I am with it :
I have a package of pgAdmin 3 that seems to be working for woody (I
didn't test it much, so it's to early to say that it works... ;p). This
package is linked on a backport to woody of the official unstable
"wxwindows2.4_2.4.0.8" (I had to change some minor things to the rules
to get it compile).
I've seen some mail from Jean-Michel Poure saying that pgAdmin3 must be
linked on wxwindows 2.5, so here is my question : where can I find the
exact requisites for the product so that I don't introduce some bugs
that you may have already seen/corrected ?
If my question is stupid or the answer is something like read the faq at
the url: bla, please just tell me where I can find the information and I
will wash my eyes :)

Have a nice night!

Regards,

Raphaël

Dave Page wrote:

>>Raphaël Enrici wrote:
>>
>>I will do my best to get something working, but I'm not an
>>expert in Debian Packaging (I mean that I never created
>>"real" Debian packages, part of the distribution... Only
>>packages for my personnal or enterprise use). So if someone
>>else of in your knowledge is fully qualified to do it
>>(Mickael Meskes?), don't stop him! I'm sure he/she will do
>>something better than I would :)
>>
>>Hope I didn't waste your time.
>>
>>
>
>No of course not. Please let us know if you come up with something.
>
>Regards, Dave.
>


Re: Debian Packaging

От
"Dave Page"
Дата:

> -----Original Message-----
> From: Raphaël Enrici [mailto:blacknoz@club-internet.fr]
> Sent: 20 June 2003 00:02
> To: pgadmin-hackers@postgresql.org
> Subject: [pgadmin-hackers] Debian Packaging
>
>
> Hi all,
>
> If my question is stupid or the answer is something like read
> the faq at
> the url: bla, please just tell me where I can find the
> information and I
> will wash my eyes :)

OK, get some soap! :-)

Instructions for setting up a build environment are in:

doc/en_US/unix_compilation.html

In the pgAdmin source tree. This lists the currently recommended wx version, and all the configure options you should
need.What it doesn't list is wxWindows dependencies - for those, please check the wxWindows docs. Slackware 9 for
example,has everything already installed as standard. I don't know about Debian Woody... 

Lemme know if you get stuck :-)

Regards, Dave

Re: Debian Packaging

От
Jean-Michel POURE
Дата:
On Friday 20 June 2003 01:02, Raphaël Enrici wrote:
> I've seen some mail from Jean-Michel Poure saying that pgAdmin3 must be
> linked on wxwindows 2.5, so here is my question : where can I find the
> exact requisites for the product so that I don't introduce some bugs
> that you may have already seen/corrected ?

Dear Raphaël,

So you are the second French guy around...

Nice to hear from you. We really appreciate your help. As Dave already
answered, you can start with the unix_compilation.html page in CVS. I updated
it today to remember to add a simlink, otherwise compilation will fail.

Maybe you should also have a look at the wxGTK2ud.spec and pgadmin3.spec files
which areat the top of the CVS root. It gives the list of the required files
to install. Also, I chose the wxGTK2ud-2.5-dateoftheday for the wxGTK 2.5
packages, but you may have other naming conventions at Debian...

When you are finished, how do you plan to distribute the package? Because
pgAdmin3 is under heavy development, it sometimes needs a daily build to keep
track of evolutions and bug fixes. Do you plan to upload daily packages to
snake.pgadmin.org? Or do you plan to use Debian repositories?

Also, it would be nice to describe the needed steps for compilation in
snapshots.html pages in docs folder (this page was added today).

Cheers,
Jean-Michel


Re: Debian Packaging

От
Raphaël Enrici
Дата:
Jean-Michel POURE wrote:

>Dear Raphaël,
>So you are the second French guy around...
>
:) (is my english so bad ? ;p )

>Nice to hear from you. We really appreciate your help. As Dave already
>answered, you can start with the unix_compilation.html page in CVS. I updated
>it today to remember to add a simlink, otherwise compilation will fail.
>
Ok... In a first time I didn't find these pages because I was working on
the 20030613 snapshots. I think these pages were not included. It's now
corrected in latest snapshots. (Hey Dave, I've bought some soap! :p
[private joke]).

>Maybe you should also have a look at the wxGTK2ud.spec and pgadmin3.spec files
>which areat the top of the CVS root. It gives the list of the required files
>to install. Also, I chose the wxGTK2ud-2.5-dateoftheday for the wxGTK 2.5
>packages, but you may have other naming conventions at Debian...
>
I'll check this... In fact everything seems to be well prepared in
wxWindows cvs snapshots to get a working debian package but I can't get
it compile right for the moment (I'm going to contact the debian
packager of wxWindows to ask him what would be the better way to get a
2.5 version without breaking his work).

>When you are finished, how do you plan to distribute the package? Because
>pgAdmin3 is under heavy development, it sometimes needs a daily build to keep
>track of evolutions and bug fixes. Do you plan to upload daily packages to
>snake.pgadmin.org? Or do you plan to use Debian repositories?
>
I think that, when my packaging work will be quite stable, it would be
nice to integrate the debian's packaging files in the pgadmin3 CVS so
that it can be automatically generated (how are you doing concerning the
RH RPMS, Suse RPMS and MDK rpms ?). I think it's too early for the
moment to plan to use the debian repositories and that it would be
better to upload everything on snake in a first time.

>Also, it would be nice to describe the needed steps for compilation in
>snapshots.html pages in docs folder (this page was added today).
>
I'll have a look at this.
The principal problems I encountered were the pgsql includes that are in
/usr/include/postgresql on debian and the wxWindows 2.5 I exposed
before. I solved the include problem by doing an export CPPFLAGS="-I
/usr/include/postgresql" before doing the configure in the debian/rules.
But It seems you are working on this.

Hope I won't be to slow for all of you guys... You seem to be really
reactive! :)

Cheers,

Raphaël


Re: Debian Packaging

От
Jean-Michel POURE
Дата:
On Saturday 21 June 2003 13:24, Raphaël Enrici wrote:

Dear Raphaël,

Nice to hear from you. :)

> I think that, when my packaging work will be quite stable, it would be
> nice to integrate the debian's packaging files in the pgadmin3 CVS so
> that it can be automatically generated (how are you doing concerning the
> RH RPMS, Suse RPMS and MDK rpms ?). I think it's too early for the
> moment to plan to use the debian repositories and that it would be
> better to upload everything on snake in a first time.

We run cron jobs on RedHat, Mandrake and Suse remote hosts to generate the
packages and upload them nightly to snake.pgadmin.org using SSH. Slackware
packages are compiled on Snake itself as far as I know.

Then, Snake is replicated to http://www.pgadmin.org/snapshots where users
download the packages.

You will need to send your public SSH key to Dave, who will open an account on
Snake and give you the required information. Uploading your work will help
you correct packaging bugs, don't wait until packages are stable...

Cheers,
Jean-Michel


Re: Debian Packaging

От
Jean-Michel POURE
Дата:
> Is there a Debian host online that could allow a similar job. If not, I
> will find one.

I am posting your answer on pgAdmin3 list. If someone has a host for you, he
may get back to you.

May I suggest a solution: buy a VIA Epia C3 card (88€) including a 500 hz
onboard fanless processor, lan and everything. More information on
http://www.mini-itx.com. I have two Via Epia 800 which wake up, compile then
go down. There are better prices in Paris, I drop you a mail if you are
interested.

Cheers,
Jean-Michel


Re: Debian Packaging

От
"Dave Page"
Дата:
It's rumoured that Jean-Michel POURE once said:
>> Is there a Debian host online that could allow a similar job. If not,
>> I will find one.
>
> I am posting your answer on pgAdmin3 list. If someone has a host for
> you, he  may get back to you.
>
> May I suggest a solution: buy a VIA Epia C3 card (88€) including a
> 500 hz  onboard fanless processor, lan and everything. More information
> on  http://www.mini-itx.com. I have two Via Epia 800 which wake up,
> compile then  go down. There are better prices in Paris, I drop you a
> mail if you are  interested.

Jean-Michel; Mark & I recently played with: http://www.usermodelinux.org/
which lets you run Linux VM's on your Linux box. They have their own
filesystems, and can run any distro if you put the work in. Currently you
can download pre-build Debian, Mandrake, Red Hat and Slackware (as well as
Tom's RTBT and a few others).
Perhaps snake could host some build hosts?

Regards, Dave.



Re: Debian Packaging

От
Jean-Michel POURE
Дата:
On Sunday 22 June 2003 11:12, Dave Page wrote:
> Jean-Michel; Mark & I recently played with: http://www.usermodelinux.org/
> which lets you run Linux VM's on your Linux box. They have their own
> filesystems, and can run any distro if you put the work in. Currently you
> can download pre-build Debian, Mandrake, Red Hat and Slackware (as well as
> Tom's RTBT and a few others).
> Perhaps snake could host some build hosts?

I was thinking of using Bochs, which is a virtual machine, without real
interest because it is slow.

I had never head of http://www.usermodelinux.org before your email. Where can
we download pre-built distro? I cannot find the downloading address. The
advantage is that several distros are installed without emulation... Quite
interesting, why not? Don't use Snake as a build host, we need it until your
system is up-and-running.

Cheers,
Jean-Michel


Re: Debian Packaging

От
"Dave Page"
Дата:

> -----Original Message-----
> From: Jean-Michel POURE [mailto:jm.poure@freesurf.fr]
> Sent: 22 June 2003 21:18
> To: Dave Page
> Cc: blacknoz@club-internet.fr; pgadmin-hackers@postgresql.org
> Subject: Re: [pgadmin-hackers] Debian Packaging
>
>
> On Sunday 22 June 2003 11:12, Dave Page wrote:
> > Jean-Michel; Mark & I recently played with:
> > http://www.usermodelinux.org/ which lets you run Linux VM's on your
> > Linux box. They have their own filesystems, and can run any
> distro if
> > you put the work in. Currently you can download pre-build Debian,
> > Mandrake, Red Hat and Slackware (as well as Tom's RTBT and a few
> > others). Perhaps snake could host some build hosts?
>
> I was thinking of using Bochs, which is a virtual machine,
> without real
> interest because it is slow.

Yeah, Bochs is pretty slow. UML isn't though, mainly because all you are
doing is running an additional kernel in user mode. You are not
emulating hardware or anything.

> I had never head of http://www.usermodelinux.org before your
> email. Where can
> we download pre-built distro? I cannot find the downloading
> address.

Just click the Downloads option at the top left(ish).

> The
> advantage is that several distros are installed without
> emulation... Quite
> interesting, why not?

Well, yeah. I'll see what we can do. We had a Slackware VM running in
minutes - the only thing I didn't get working yet was a NIC connection,
which is kindof important!

> Don't use Snake as a build host, we
> need it until your
> system is up-and-running.

Doesn't affect it. You can start and stop VMs as required - you don't
even need to tweak the kernel on the host (except possibly to allow the
virtual NICs), just download and run.

Regards, Dave

Re: Debian Packaging

От
Raphaël Enrici
Дата:
Dave Page wrote:

>It's rumoured that Jean-Michel POURE once said:
>
>
>>I am posting your answer on pgAdmin3 list. If someone has a host for
>>you, he  may get back to you.
>>
I asked one of my friend... Think he will be ok (no answer for the
moment). But thank you for forwading the mail.

>>May I suggest a solution: buy a VIA Epia C3 card (88â,¬) including a
>>500 hz  onboard fanless processor, lan and everything. More information
>>on  http://www.mini-itx.com. I have two Via Epia 800 which wake up,
>>compile then  go down. There are better prices in Paris, I drop you a
>>mail if you are  interested.
>>
Jean Michel: Really interesting. Yes, mail me. I'm in the south (near
Maresilles), but may be I'll do a jump in Paris... Or some VPC.

>Jean-Michel; Mark & I recently played with: http://www.usermodelinux.org/
>which lets you run Linux VM's on your Linux box.
>
I've heard about it but never tested it.


Another question (may be stupid too...) :
I've seen that the RPMS versions of Pgadmin3 were linked statically
against libwx_gtk2ud_stc and 2ud_xrc...
In Debian policy It is totally forbidden to link statically, would you
disagree if I link dynamically ?

Dave, I'll contact you by private mail to see what you exactly need so
that I can be able to upload debian packages.

Regards,

Raphaël


Re: Debian Packaging

От
Adam H.Pendleton
Дата:
You might check out vserver instead of UML, it has plenty of advantes
(including my endorsement!):

http://www.solucorp.qc.ca/miscprj/s_context.hc

ahp

On Sunday, Jun 22, 2003, at 16:18 US/Eastern, Jean-Michel POURE wrote:

> On Sunday 22 June 2003 11:12, Dave Page wrote:
>> Jean-Michel; Mark & I recently played with:
>> http://www.usermodelinux.org/
>> which lets you run Linux VM's on your Linux box. They have their own
>> filesystems, and can run any distro if you put the work in. Currently
>> you
>> can download pre-build Debian, Mandrake, Red Hat and Slackware (as
>> well as
>> Tom's RTBT and a few others).
>> Perhaps snake could host some build hosts?
>
> I was thinking of using Bochs, which is a virtual machine, without real
> interest because it is slow.
>
> I had never head of http://www.usermodelinux.org before your email.
> Where can
> we download pre-built distro? I cannot find the downloading address.
> The
> advantage is that several distros are installed without emulation...
> Quite
> interesting, why not? Don't use Snake as a build host, we need it
> until your
> system is up-and-running.
>
> Cheers,
> Jean-Michel
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to
> majordomo@postgresql.org)
>

Вложения

Re: Debian Packaging

От
"Dave Page"
Дата:

> -----Original Message-----
> From: Adam H. Pendleton [mailto:fmonkey@fmonkey.net]
> Sent: 23 June 2003 02:13
> To: jm.poure@freesurf.fr
> Cc: Dave Page; blacknoz@club-internet.fr;
> pgadmin-hackers@postgresql.org
> Subject: Re: [pgadmin-hackers] Debian Packaging
>
>
> You might check out vserver instead of UML, it has plenty of advantes
> (including my endorsement!):
>
> http://www.solucorp.qc.ca/miscprj/s_context.hc

Hi Adam,

It looks good, but from a quick glance through the docs it looks like
all the VMs run the same distro as the host machine kinda like FreeBSD
jails. With UML, we can run instances of any distro at once and they're
all isolated.

Regards, Dave.

Re: Debian Packaging

От
Jean-Michel POURE
Дата:
On Sunday 22 June 2003 22:56, Raphaël Enrici wrote:
> Jean Michel: Really interesting. Yes, mail me. I'm in the south (near
> Maresilles), but may be I'll do a jump in Paris... Or some VPC.

Marseille... you are lucky. Try:
- http://www.miti-itx.com
- http://www.highway.fr (80€ HT)

I recommand buying a fanless system, like the VIA 5000 (80 € HT), because it
can run 24 hours a day. I have VIA Epia 800, but they are not fanless. After
6 months, I may need to change the small processor fan.

All you need to add is a 128 Mb memory stick (10€) and a 40Mb hard drive
(40€). This makes a complete system for 130€.

These systems are incredibly fast and small. A VIA Epia 800 compiles wxGTK2
three times faster than my old K6 533 Mhz. It is an excellent system to host
a development environment or a small server.

Cheers,
Jean-Michel


Re: Debian Packaging

От
Adam H.Pendleton
Дата:
Actually, you should be able to run any RPM-based distro under vserver.
  I've gotten all the RedHats plus Mandrake to run on the same machine,
so I know's it's *possible*.  Whether I can remember how I did it is a
whole different story.  :-)

ahp

On Monday, Jun 23, 2003, at 03:35 US/Eastern, Dave Page wrote:

>
>
>> -----Original Message-----
>> From: Adam H. Pendleton [mailto:fmonkey@fmonkey.net]
>> Sent: 23 June 2003 02:13
>> To: jm.poure@freesurf.fr
>> Cc: Dave Page; blacknoz@club-internet.fr;
>> pgadmin-hackers@postgresql.org
>> Subject: Re: [pgadmin-hackers] Debian Packaging
>>
>>
>> You might check out vserver instead of UML, it has plenty of advantes
>> (including my endorsement!):
>>
>> http://www.solucorp.qc.ca/miscprj/s_context.hc
>
> Hi Adam,
>
> It looks good, but from a quick glance through the docs it looks like
> all the VMs run the same distro as the host machine kinda like FreeBSD
> jails. With UML, we can run instances of any distro at once and they're
> all isolated.
>
> Regards, Dave.
>

Вложения

Re: Debian Packaging

От
"Dave Page"
Дата:

> -----Original Message-----
> From: Adam H. Pendleton [mailto:fmonkey@fmonkey.net]
> Sent: 23 June 2003 12:53
> To: Dave Page
> Cc: jm.poure@freesurf.fr; blacknoz@club-internet.fr;
> pgadmin-hackers@postgresql.org
> Subject: Re: [pgadmin-hackers] Debian Packaging
>
>
> Actually, you should be able to run any RPM-based distro
> under vserver.
>   I've gotten all the RedHats plus Mandrake to run on the
> same machine,
> so I know's it's *possible*.  Whether I can remember how I
> did it is a
> whole different story.  :-)

Ahh, right. I want to get Redhat, Mandrake, Suse, Debian and Slackware
all on the same box...

Still, it looks good and will probably use fewer resources than UML.

Regards, Dave.