My app for image resizing - questions

Discuss all artwork and development - Suggestions needed

Moderator: Moderators

Post Reply
beli0135
Simple Hen
Posts: 72
Joined: Tue Aug 22, 2006 17:37
Location: Belgrade
Contact:

My app for image resizing - questions

Post by beli0135 » Sat Oct 16, 2010 23:36

Hi

I have a multilanguage Qt4 application made for batch image resizing. Its a quite nice little thing, and it has been built for opensuse, fedora, acrch and debian.
However, I do not know how to make ebuild and/or how to suggest this app for repository.
Thanks.

Baires site: http://www.beli.ws/apps/baires/
Source code: http://www.beli.ws/apps/baires/baires.tar.gz
Emil Beli
Blog: http://www.beli.ws/blog/

DHalens
Old Dear Hen
Posts: 933
Joined: Thu Apr 10, 2008 23:08
Location: Canary Islands, Spain

Re: My app for image resizing - questions

Post by DHalens » Sun Oct 17, 2010 11:44

I posted some suggestions for the program a while ago: http://forum.sabayon.org/viewtopic.php? ... 30#p110985
As the source comes, it won't build on my system. I had to do a make clean before make would work. The more things like that to do means the ebuild would be more and more complex.

If you want to create an ebuild by yourself, take a look to http://devmanual.gentoo.org/index.html
Once the ebuild is created, you can request to add the app at our bugzilla (don't forget to point to the ebuild there).
Former Sabayon staff (retired).
For any personal questions or whatever, contact me trough my G+ profile

beli0135
Simple Hen
Posts: 72
Joined: Tue Aug 22, 2006 17:37
Location: Belgrade
Contact:

Re: My app for image resizing - questions

Post by beli0135 » Sun Oct 17, 2010 12:39

Thank you. Will see into that
Emil Beli
Blog: http://www.beli.ws/blog/

beli0135
Simple Hen
Posts: 72
Joined: Tue Aug 22, 2006 17:37
Location: Belgrade
Contact:

Re: My app for image resizing - questions

Post by beli0135 » Tue Oct 26, 2010 18:42

Anyone willing to help me loose my ebuild virginity?
I don't seem to understand the concept. Well, this is mostly because my lack of knowledge where gentoo does it stuff.

Application is very simple (Qt), there is no configure, just qmake to make executable. There are 2 dependencies, help is online so there is no man, there is only one icon, and have to be placed... somewhere, and linked with KDE (or gnome)
It already works for RPM based systems, I even made DEB file... but gentoo organization of things is new to me.

Here is a web page, so one can understand what I talk about: http://www.beli.ws/apps/baires/

So, anyone has time and will to help me make 1st ebuild in my life?
My skype: beli0135
Emil Beli
Blog: http://www.beli.ws/blog/

Fitzcarraldo
Sagely Hen
Posts: 8199
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom
Contact:

Re: My app for image resizing - questions

Post by Fitzcarraldo » Tue Oct 26, 2010 19:25

If nobody has the time to help you, I think your best bet would be to study the documentation listed below and to study some ebuilds to see how they are structured, then have a crack at writing one yourself, perhaps using an existing ebuild as a template. You can look at all the ebuilds in the main Portage tree on the two Web sites lists listed below.

Browse the ebuild of any package in the main Portage tree:

Gentoo-Portage- Browse Portage

Gentoo Packages

There are also plenty of ebuilds (of variable quality and complexity) you could study in the Gentoo Bugzilla.

Documentation on how to write ebuilds:

Gentoo Development Guide - Ebuild writing

Gentoo Ebuild HOWTO

Gentoo Wiki - Writing Ebuilds

Gentoo Games Ebuild HOWTO

Gentoo Linux Ebuild Quick Reference

I have an old article from a Linux magazine somewhere, which explains some of the fundamentals of creating ebuilds. Although some parts of the article are now out of date (the location of local repository ebuilds, the layman storage path, etc.), it might give you some extra help, although the above-mentioned on-line documentation is excellent. PM me with your e-mail address if you'd like me to scan the article and e-mail a PDF file to you.

beli0135
Simple Hen
Posts: 72
Joined: Tue Aug 22, 2006 17:37
Location: Belgrade
Contact:

Re: My app for image resizing - questions

Post by beli0135 » Tue Oct 26, 2010 20:45

No, thanks. That would be enough. Just wanted a simple instructions by someone expirienced (learning by doing).

I really dont have time right now to study gentoo. There are tons of documentation to be learnt.
In comparation, building spec file for RPM is like 5 pages. DEB is more complicated, but this ebuild is champion in complexity with zillion options and no easy howto... Darn...
Emil Beli
Blog: http://www.beli.ws/blog/

Post Reply