Rajeev J Sebastian | 1 Nov 09:33 2011
Picon

PostGIS package

Hi,

I'm trying to create a pisi for PostGIS. I need to run some commands
in the postInstall.

Currently, I have a shell script (.sh) in the files/ and it is
installed at a system location (/usr/share/postgresql/) using
AdditionalFiles.

Trying to run it using os.system and shelltools, doesn't work.

Could anyone point me to an existing package which runs a shell script
as postInstall?

Regards
Rajeev J Sebastian
Fatih Arslan | 1 Nov 09:40 2011
Picon

Re: PostGIS package

On Tue, Nov 01, 2011 at 02:03:12PM +0530, Rajeev J Sebastian wrote:
>Hi,

Hi,

>Could anyone point me to an existing package which runs a shell script
>as postInstall?

Below are some packages that uses "os" module to execute a shell command:

http://svn.pardus.org.tr/pardus/2011/devel/x11/library/mesa/comar/package.py
http://svn.pardus.org.tr/pardus/2011/devel/network/mail/alpine/comar/package.py
http://svn.pardus.org.tr/pardus/2011/devel/programming/misc/xulrunner/comar/package.py

Regards

--

-- 
Fatih Arslan
Rajeev J Sebastian | 1 Nov 09:42 2011
Picon

Re: PostGIS package

Thanks Fatih, I will try that.

How can we debug postInstall? I've tried echo statements within the
shell script, but for some reason, they do not print on screen.

Regards
Rajeev J Sebastian

On Tue, Nov 1, 2011 at 2:10 PM, Fatih Arslan <farslan@...> wrote:
> On Tue, Nov 01, 2011 at 02:03:12PM +0530, Rajeev J Sebastian wrote:
>>Hi,
>
> Hi,
>
>>Could anyone point me to an existing package which runs a shell script
>>as postInstall?
>
> Below are some packages that uses "os" module to execute a shell command:
>
> http://svn.pardus.org.tr/pardus/2011/devel/x11/library/mesa/comar/package.py
> http://svn.pardus.org.tr/pardus/2011/devel/network/mail/alpine/comar/package.py
> http://svn.pardus.org.tr/pardus/2011/devel/programming/misc/xulrunner/comar/package.py
>
> Regards
>
> --
> Fatih Arslan
> _______________________________________________
> Pardus-devel mailing list
> Pardus-devel@...
(Continue reading)

Fatih Arslan | 1 Nov 09:52 2011
Picon

Re: PostGIS package

On Tue, Nov 01, 2011 at 02:12:20PM +0530, Rajeev J Sebastian wrote:
>Thanks Fatih, I will try that.
>
>How can we debug postInstall? I've tried echo statements within the
>shell script, but for some reason, they do not print on screen.

Please do not top-post [1] :)

You can open a separate terminal window and execute comar in pring and
no-timeout mode(you can also add -g for debug, but first try it without this
option, because comar's debug mode has lot's of information that you'll not
need):

    comar -t 0 -p

After that try to install you self-made package. You will see comar's debug
outputs on the other terminal windows. Adding some python print statements to
your package.py will help you to debug easier. 

[1] http://idallen.com/topposting.html
--

-- 
Fatih Arslan
Rajeev J Sebastian | 1 Nov 11:04 2011
Picon

Re: PostGIS package

On Tue, Nov 1, 2011 at 2:22 PM, Fatih Arslan <farslan@...> wrote:
> On Tue, Nov 01, 2011 at 02:12:20PM +0530, Rajeev J Sebastian wrote:
>>Thanks Fatih, I will try that.
>>
>>How can we debug postInstall? I've tried echo statements within the
>>shell script, but for some reason, they do not print on screen.
>
> Please do not top-post [1] :)

Thanks Fatih. I top-post for three reasons:

1. because what I had to write had no relation with your speedy
response (except an expression of my gratitude)
2. because GMail automatically quotes and hides "earlier" text; but I
realize now, you might not be using GMail
3. because I'm special and different, goddamnit ;) (j/k ... :D)

Thanks again for your response, and illumination of comar. I will try
the comar debug ...

Regards
Rajeev J Sebastian
Fatih Arslan | 1 Nov 12:15 2011
Picon

Re: PostGIS package

On Tue, Nov 01, 2011 at 03:34:19PM +0530, Rajeev J Sebastian wrote:
>3. because I'm special and different, goddamnit ;) (j/k ... :D)

That's a good reason to top-post :)
>
>Thanks again for your response, and illumination of comar. I will try
>the comar debug ...

You're welcome. I hope you can fix youre problem.

Regards

--

-- 
Fatih Arslan
Metin Akdere | 3 Nov 14:54 2011
Picon

[2011] Package approvals (2011-11-11)

Hi,

The following list contains the new packages in testing repository. If
you will give the same answer, you don't need to reply for both
architectures.

Last approval date is 2011-11-11, 08:00 (GMT)

Lengend
-------
 A - Added
 U - Updated
 S - Security update
 C - Critical update

x86_64
------
U  BackupPC-3.2.1-2-p11-x86_64.pisi

U  ETL-0.04.14-5-p11-x86_64.pisi

U  NetworkManager-0.8.5.92-19-p11-x86_64.pisi
U  NetworkManager-devel-0.8.5.92-19-p11-x86_64.pisi

U  R-2.13.2-37-p11-x86_64.pisi
U  R-devel-2.13.2-37-p11-x86_64.pisi
U  R-docs-2.13.2-37-p11-x86_64.pisi
U  R-mathlib-2.13.2-37-p11-x86_64.pisi

U  SVK-2.2.3-9-p11-x86_64.pisi
(Continue reading)

Metin Akdere | 3 Nov 14:57 2011
Picon

Re: [2011] Package approvals (2011-11-11) [Details]

Alper Tekinalp:
     Source: Terminal ( 
http://packages.pardus.org.tr/info/2011/testing/source/Terminal.html )
    Version: 0.4.8
    Release: 26 (* Version bump.)
      Owner: Alper Tekinalp

     Source: exo ( 
http://packages.pardus.org.tr/info/2011/testing/source/exo.html )
    Version: 0.6.2
    Release: 21 (* Version bump.)
      Owner: Alper Tekinalp

     Source: gajim ( 
http://packages.pardus.org.tr/info/2011/testing/source/gajim.html )
    Version: 0.14.4
    Release: 11 (Version bump.)
      Owner: Alper Tekinalp

     Source: garcon ( 
http://packages.pardus.org.tr/info/2011/testing/source/garcon.html )
    Version: 0.1.9
    Release: 2 (Version bump.)
      Owner: Alper Tekinalp

     Source: gtk-style-xfce ( 
http://packages.pardus.org.tr/info/2011/testing/source/gtk-style-xfce.html )
    Version: 2.9.0
    Release: 14 (* Version bump....)
      Owner: Alper Tekinalp
(Continue reading)

David Stegbauer | 3 Nov 22:52 2011
Picon

Re: PAE enabled kernel for Pardus 2011

Hi Gürkan,

> ...
> But I must say that the 64-bit version of
> Pardus 2011 leaks of 32-bit libraries - which make it for me impossible to
> get some software working. In example Adobe Reader, TeamViewer, WINE for
> 32-Bit Windows software and so on ...

Well, at least 64bit wine package works perfectly wit 32bit windows
programs as long as I have installed package wine-32bit. So I'd
suggest to
pisi it wine-32bit

I didn't try other software you mentioned, but there is available pile
of 32 bit libraries. See the long list printed by
pisi sr --name 32bit
(Note: I use devel repository). I belive at least the Reader
dependecies is satisfiable.

> So I'd like to create the needed PiSi packages for PAE enabled 32-bit Linux
> Kernel. ... Of course I know that this is not easy job, but I'll try!

Yes, it is huge amount of work. You can find my (now abandoned) try in
my playground repository
https://svn.pardus.org.tr/pardus/playground/dast/2011/kernel
You can use it as base for your work, I was able to boot this kernel,
but I gave up when 64 bit Pardus got wine-32bit package.
I wish you good luck.

Best Regards
(Continue reading)

Gürkan Zengin | 3 Nov 23:15 2011
Picon

Re: PAE enabled kernel for Pardus 2011

Hi David,

Thanks for you response! :)


> But I must say that the 64-bit version of
> Pardus 2011 leaks of 32-bit libraries - which make it for me impossible to
> get some software working. In example Adobe Reader, TeamViewer, WINE for
> 32-Bit Windows software and so on ...

Well, at least 64bit wine package works perfectly wit 32bit windows
programs as long as I have installed package wine-32bit. So I'd
suggest to
pisi it wine-32bit

I didn't try other software you mentioned, but there is available pile
of 32 bit libraries. See the long list printed by
pisi sr --name 32bit
(Note: I use devel repository). I belive at least the Reader
dependecies is satisfiable.


I know these packages, but I don't wannt to install Windows software, if there is a native Linux version available ...

 
> So I'd like to create the needed PiSi packages for PAE enabled 32-bit Linux
> Kernel. ... Of course I know that this is not easy job, but I'll try!

Yes, it is huge amount of work. You can find my (now abandoned) try in
my playground repository
https://svn.pardus.org.tr/pardus/playground/dast/2011/kernel
You can use it as base for your work, I was able to boot this kernel,
but I gave up when 64 bit Pardus got wine-32bit package.
I wish you good luck.

This link appears broken ^^^ :-\


Regards,
Gürkan

--
Gürkan Zengin, aka "LinuxFanatic"
_____________________________________________________
German Pardus Linux Community - PardusUser.de !
http://www.pardususer.de/
<div>
<div class="gmail_quote">Hi David,<br><br>Thanks for you response! :)<br><br><br><blockquote class="gmail_quote">
<div class="im">&gt; But I must say that the 64-bit version of<br>
&gt; Pardus 2011 leaks of 32-bit libraries - which make it for me impossible to<br>
&gt; get some software working. In example Adobe Reader, TeamViewer, WINE for<br>
&gt; 32-Bit Windows software and so on ...<br><br>
</div>Well, at least 64bit wine package works perfectly wit 32bit windows<br>
programs as long as I have installed package wine-32bit. So I'd<br>
suggest to<br>
pisi it wine-32bit<br><br>
I didn't try other software you mentioned, but there is available pile<br>
of 32 bit libraries. See the long list printed by<br>
pisi sr --name 32bit<br>
(Note: I use devel repository). I belive at least the Reader<br>
dependecies is satisfiable.<br><div class="im"><br></div>
</blockquote>
<div>
<br>I know these packages, but I don't wannt to install Windows software, if there is a native Linux version available ... <br><br>&nbsp;</div>
<blockquote class="gmail_quote">
<div class="im">
&gt; So I'd like to create the needed PiSi packages for PAE enabled 32-bit Linux<br>
</div>&gt; Kernel. ... Of course I know that this is not easy job, but I'll try!<br><br>
Yes, it is huge amount of work. You can find my (now abandoned) try in<br>
my playground repository<br><a href="https://svn.pardus.org.tr/pardus/playground/dast/2011/kernel" target="_blank">https://svn.pardus.org.tr/pardus/playground/dast/2011/kernel</a><br>
You can use it as base for your work, I was able to boot this kernel,<br>
but I gave up when 64 bit Pardus got wine-32bit package.<br>
I wish you good luck.<br>
</blockquote>
</div>
<br>This link appears broken ^^^ :-\<br><br><br>Regards,<br>G&uuml;rkan<br clear="all"><br>-- <br>G&uuml;rkan Zengin, aka "LinuxFanatic"<br>_____________________________________________________<br>
German Pardus Linux Community - PardusUser.de !<br><a href="http://www.pardususer.de/">http://www.pardususer.de/</a><br>
</div>

Gmane