Page 1 of 1

screenie

Posted: 10. Sep 2010, 18:05
by damNageHack
I've been asked if I could provide a package for screenie.
So here, it comes my suggestion. Some fiddling is still required to get that .desktop file working correctly with the menu.
Instructions:
0) The only additionally needed dependency is qt, so do "slapt-get -i qt".
0.1) Maybe install as well fakeroot if not done so already (see 3).
1) create the three files with the provided content.
2) execute git.sh
3) run "fakeroot slkbuild -X" (preferred with fakeroot as no need to be root)
4) done, enjoy the package and have fun
git.sh wrote:#!/bin/bash
pkgname=screenie

# set pkgver to current date
pkgver=$(date +%Y%m%d)
if [ -d $pkgname ]; then
(
cd $pkgname
git pull --depth 1
)
else
git clone git://github.com/ariya/screenie.git
fi

# create the source archive
tar czf $pkgname-$pkgver.src.tar.gz screenie

# change the SLKBUILD
sed -i 's#^pkgver=.*#pkgver='$pkgver'#' SLKBUILD
SLKBUILD wrote:#Packager: xx <email@address.com>
pkgname=screenie
pkgver=20100910
pkgrel=1xx
source=("$pkgname-$pkgver.src.tar.gz")
docs=(license*)
url=http://code.google.com/p/screenie
slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"Screenie (compose a fancy and stylish screenshots)"
"Screenie is cross-platform (for Linux, Windows and Mac OS X) and very "
"easy to use. "
"You will have an impressive screenshot in just one minute!"
""
"http://code.google.com/p/screenie/"
)
build() {
cd $startdir/src/$pkgname
qmake
make || return 1
#make install DESTDIR=$startdir/pkg
install -m 755 screenie -D $startdir/pkg/usr/bin/screenie

install -m 644 resources/screenie.ico -D $startdir/pkg/usr/share/icons/hicolor/128x128/apps/screenie.ico
install -m 644 screenie.desktop -D $startdir/pkg/usr/share/applications/screenie.desktop
}
screenie.desktop wrote:[Desktop Entry]
Version=1.0
Name=Screenie
Name[de]=Screenie
Comment=You will have an impressive screenshot in one minute!
Comment[de]=Bildschirmfoto in nur einer Minute!
Icon=screenie
Exec=screenie
Type=Application
StartupNotify=true
Terminal=false
Categories=GTK;Utility;

Re: screenie

Posted: 10. Sep 2010, 19:36
by zAchAry
damNageHack wrote:0) The only additionally needed dependency is qt, so do "slapt-get -i qt".
What are you, Richard Stallman with his rules of FOSS? :P

@SalixOS Team
You might want to use screenie to show-off with SalixOS on the front page...

Thank you, for the package, damNageHack.

Re: screenie

Posted: 11. Sep 2010, 02:17
by thenktor
zAchAry wrote:
damNageHack wrote:0) The only additionally needed dependency is qt, so do "slapt-get -i qt".
What are you, Richard Stallman with his rules of FOSS? :P
Huh?
zAchAry wrote:@SalixOS Team
You might want to use screenie to show-off with SalixOS on the front page...
I don't understand...

Re: screenie

Posted: 11. Sep 2010, 07:39
by zAchAry
thenktor wrote:Huh?
It was a joke.
Computerworld Blogs wrote:DT: Why Freedoms 0-3 rather than Freedoms 1-4?

RMS: Because originally I had 1, 2, and 3, and then I realized that the freedom to run the program did not go without saying, and had to be explicitly mentioned. And because it was so basic, I felt it had to go at the beginning.
source: Free software pioneer Richard Stallman on his experience in Cuba
thenktor wrote:I don't understand...
Compose/Generate an image, with the effects that are provided with screenie, with 2 - 3 screenshots <link>

Re: screenie

Posted: 11. Sep 2010, 12:13
by Shador
zAchAry wrote:
thenktor wrote:Huh?
It was a joke.
Computerworld Blogs wrote:DT: Why Freedoms 0-3 rather than Freedoms 1-4?

RMS: Because originally I had 1, 2, and 3, and then I realized that the freedom to run the program did not go without saying, and had to be explicitly mentioned. And because it was so basic, I felt it had to go at the beginning.
source: Free software pioneer Richard Stallman on his experience in Cuba
I guess all programmers should bear in mind than that they identify themselves by counting from 0, which is very common.
But looking at this another time, I think it's a chicken-and-eqq question. Was there Programming or Stallman first? And was it by Stallman "stolen" from Programming or the other way round?

Re: screenie

Posted: 11. Sep 2010, 13:18
by laprjns
Shador wrote:
zAchAry wrote:But looking at this another time, I think it's a chicken-and-eqq question. Was there Programming or Stallman first? And was it by Stallman "stolen" from Programming or the other way round?
I don't think Stallman's intent was to count the way programmers do or he would have numbered the original three "Freedoms" as 0,1,and 2. Furthermore if that was his real intention, then shouldn't it have been 000, 001, 010, 011, and 100? :)