Re: Debian packaging

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: <bogomips(at)post(dot)pl>, <pgadmin-hackers(at)postgresql(dot)org>, <blacknoz(at)club-internet(dot)fr>
Subject: Re: Debian packaging
Date: 2005-08-22 21:38:28
Message-ID: 003e01c5a761$e1994dd2$6a01a8c0@valehousing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers


The translations used to be in the ui dir, but have recently moved. Raphael (the Debian maintainer) was working on updating the Debian packing iirc. Certainly he often has newer code in test than is in svn...

Raph? You around atm?

Regards, Dave

-----Original Message-----
From: "Tomasz Rybak"<bogomips(at)post(dot)pl>
Sent: 22/08/05 22:16:31
To: "pgAdmin Hackers"<pgadmin-hackers(at)postgresql(dot)org>
Subject: [pgadmin-hackers] Debian packaging

I fixed Debian packaging files.
pgagent wasn't included in created package, and
locales were put into wrong directory.

Wrong locales path was caused by misspelled directory name :-).
There was ui instead of i18n.

One question. Should I play with changing pkg/debian/rules file
to new Debian PostgreSQL packaging (which I described in my
mail from Sat, 20 Aug 2005 21:35:02 +0200?

Here's patch:
Index: rules
===================================================================
--- rules (wersja 4412)
+++ rules (kopia robocza)
@@ -98,7 +98,7 @@
# move pgadmin3.mo files to locales directory
# this part was written by Andreas Tille <tille(at)debian(dot)org>
for loc in `find debian/tmp -name $(pkg).mo` ; do \
- LOC=`echo $${loc} | sed "s?.*pgadmin3/ui/\(.*
\)/$(pkg).mo?\1?"` ; \
+ LOC=`echo $${loc} | sed "s?.*pgadmin3/i18n/\(.*
\)/$(pkg).mo?\1?"` ; \ mkdir -p
debian/$(pkg)/usr/share/locale/$${LOC}/LC_MESSAGES ; \
mv $${loc}
debian/$(pkg)/usr/share/locale/$${LOC}/LC_MESSAGES/. ; \
done
Index: pgadmin3.install
===================================================================
--- pgadmin3.install (wersja 4412)
+++ pgadmin3.install (kopia robocza)
@@ -1,3 +1,5 @@
debian/tmp/usr/bin/pgadmin3 usr/bin
+debian/tmp/usr/bin/pgagent usr/bin
debian/tmp/usr/share/pgadmin3/ui usr/share/pgadmin3
+debian/tmp/usr/share/pgadmin3/i18n usr/share/pgadmin3
debian/pgadmin3.xpm usr/share/pixmaps

--
Tomasz Rybak <bogomips(at)post(dot)pl>

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

-----Unmodified Original Message-----
I fixed Debian packaging files.
pgagent wasn't included in created package, and
locales were put into wrong directory.

Wrong locales path was caused by misspelled directory name :-).
There was ui instead of i18n.

One question. Should I play with changing pkg/debian/rules file
to new Debian PostgreSQL packaging (which I described in my
mail from Sat, 20 Aug 2005 21:35:02 +0200?

Here's patch:
Index: rules
===================================================================
--- rules (wersja 4412)
+++ rules (kopia robocza)
@@ -98,7 +98,7 @@
# move pgadmin3.mo files to locales directory
# this part was written by Andreas Tille <tille(at)debian(dot)org>
for loc in `find debian/tmp -name $(pkg).mo` ; do \
- LOC=`echo $${loc} | sed "s?.*pgadmin3/ui/\(.*
\)/$(pkg).mo?\1?"` ; \
+ LOC=`echo $${loc} | sed "s?.*pgadmin3/i18n/\(.*
\)/$(pkg).mo?\1?"` ; \ mkdir -p
debian/$(pkg)/usr/share/locale/$${LOC}/LC_MESSAGES ; \
mv $${loc}
debian/$(pkg)/usr/share/locale/$${LOC}/LC_MESSAGES/. ; \
done
Index: pgadmin3.install
===================================================================
--- pgadmin3.install (wersja 4412)
+++ pgadmin3.install (kopia robocza)
@@ -1,3 +1,5 @@
debian/tmp/usr/bin/pgadmin3 usr/bin
+debian/tmp/usr/bin/pgagent usr/bin
debian/tmp/usr/share/pgadmin3/ui usr/share/pgadmin3
+debian/tmp/usr/share/pgadmin3/i18n usr/share/pgadmin3
debian/pgadmin3.xpm usr/share/pixmaps

--
Tomasz Rybak <bogomips(at)post(dot)pl>

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Browse pgadmin-hackers by date

  From Date Subject
Next Message svn 2005-08-23 11:05:31 SVN Commit by andreas: r4414 - in trunk/pgadmin3: . src/include/base src/include/images src/schema
Previous Message Tomasz Rybak 2005-08-22 20:28:59 Debian packaging