You are not logged in.

#1 2013-02-28 00:07:29

root
Member
From: 127.0.0.1
Registered: 2012-04-13
Posts: 297

[QUESTION] PopTray - suitable AUR request package?

I presume just like anyone else who has some essential/favourite programs in Windows tries to find either the same or similar in any other OS they work with. In this case my search is that of a mail notifier that also includes the preview and delete functions. And the one I have found whose source code is available is, as stated in the subject, PopTray.

I have found a Linux 'port' of the program named PopTray Minus though its recommended 'requirements' of either using KDE or GNOME does not make it as flexible as I would like this kind of programs to be (working with any DM/WM).

The thing is that the PopTray source code is written in Delphi 7.0 . So the question is, after reading Dusty's sticky thread, does it (still) make it a suitable AUR package to be requested?


\(o_X)/
                        'Cause I wanna be an Archy - An Archy in the UK // Sex Pistols

Offline

#2 2013-02-28 01:09:05

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 438

Re: [QUESTION] PopTray - suitable AUR request package?

root wrote:

The thing is that the PopTray source code is written in Delphi 7.0

As far as I can tell, it's just a python package. You can try this out:

pkgname=poptrayminus
pkgver=0.9.0
pkgrel=1
pkgdesc="A POP3 mailbox monitor with tray icon notifications"
arch=('any')
url="http://server-pro.com/poptrayminus/"
license=('GPL3')
depends=('python2-chardet' 'python2-pyqt')
source=(http://server-pro.com/$pkgname/$pkgname-$pkgver.tar.gz)
sha256sums=('21fea89a59fc3f212d9cc17020f97b838f715d31da7b52f3606f2768f517a2ce')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  python2 setup.py build
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  python2 setup.py install --root="$pkgdir" --optimize=1
}

# vim:set ts=2 sw=2 et:

Last edited by tdy (2013-02-28 01:14:01)

Offline

#3 2013-02-28 01:33:43

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 438

Re: [QUESTION] PopTray - suitable AUR request package?

Oh I see, you don't want poptrayminus. You want the original poptray.

Well it might be possible with fpc, but it didn't seem to work when I tinkered with it. So... hopefully someone has enough pascal experience to figure this out easily, or has the time/motivation to get it working.

Last edited by tdy (2013-02-28 02:10:26)

Offline

#4 2013-02-28 02:48:05

root
Member
From: 127.0.0.1
Registered: 2012-04-13
Posts: 297

Re: [QUESTION] PopTray - suitable AUR request package?

Yes tdy, I would prefer the 'original' PopTray. Thanks anyway.

Hopefully someone would have the time as, as far as I have checked, this type of mail checkers/notifiers is a real 'rara avis' in the GNU/Linux environment.


\(o_X)/
                        'Cause I wanna be an Archy - An Archy in the UK // Sex Pistols

Offline

#5 2013-02-28 15:20:25

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 4,399

Re: [QUESTION] PopTray - suitable AUR request package?

Many delphi programs use the Borland VCL library, of which there's no linux version.
(borland had a crossplatfrom version called kylix, but development stopped in 2006 or so).

Lazarus has the Lazarus Component Library (LCL) that offers similar functionality to the VCL.

I haven't looked at the poptray code, but chances are that to run Poptray on linux, the code will have to be ported to fpc/lazarus .

Last edited by Lone_Wolf (2013-02-28 15:21:15)


Booting with apg Openrc, NOT systemd.
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#6 2013-03-08 20:49:54

root
Member
From: 127.0.0.1
Registered: 2012-04-13
Posts: 297

Re: [QUESTION] PopTray - suitable AUR request package?

It is a a pity to read that crossplatform tools for this kind of things are deprecated.

I presume that, unless greener pastures appear for the original PopTray program, I meanwhile might have a closer look to what tdy posted. I will try to report back in case someone else is interested on this kind of programs.


\(o_X)/
                        'Cause I wanna be an Archy - An Archy in the UK // Sex Pistols

Offline

Board footer

Powered by FluxBB