screenie

Here you can post links to your contributed packages.
Post Reply
User avatar
damNageHack
Posts: 663
Joined: 24. Sep 2009, 17:07

screenie

Post 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;
Image
This is the oppinion of the author, it does not force you to share and is signed automatically.
You are free to keep them all errors for your own. Linux is the best game I ever played.
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

Re: screenie

Post 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.
Image
Help to make Slackware easier Donate to Salix
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: screenie

Post 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...
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

Re: screenie

Post 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>
Image
Help to make Slackware easier Donate to Salix
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: screenie

Post 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?
Image
User avatar
laprjns
Salix Warrior
Posts: 1105
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: screenie

Post 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? :)
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
Post Reply