[PC-BSD Pbi-dev] Pbi-dev Digest, Vol 55, Issue 16

Tigersharke . tigersharke at gmail.com
Sun Oct 30 14:18:22 PDT 2011


Hello..

It may be worth noting, that for a system which has not already been
setup/used for building Qt stuff, the following additional steps are needed:

Install qmake-qt4, qt4-uic, qt4-moc

(Unless of course the intent was to use the qmake v3.x)

And finally, in place of 'qmake'  use 'qmake-qt4'.

Thanks for your efforts!


On Thu, Oct 27, 2011 at 11:30 AM, <pbi-dev-request at lists.pcbsd.org> wrote:

> Send Pbi-dev mailing list submissions to
>        pbi-dev at lists.pcbsd.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.pcbsd.org/mailman/listinfo/pbi-dev
> or, via email, send a message with subject or body 'help' to
>        pbi-dev-request at lists.pcbsd.org
>
> You can reach the person managing the list at
>        pbi-dev-owner at lists.pcbsd.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Pbi-dev digest..."
>
> Today's Topics:
>
>   1. PBI module for SuperTux (Jesse Smith)
>   2. Easy-bake PBI modules (Jesse Smith)
>   3. Re: Easy-bake PBI modules (Ken Moore)
>
>
> ---------- Forwarded message ----------
> From: Jesse Smith <jessefrgsmith at yahoo.ca>
> To: pbi-dev <pbi-dev at lists.pcbsd.org>
> Date: Thu, 27 Oct 2011 11:35:58 -0300
> Subject: [PC-BSD Pbi-dev] PBI module for SuperTux
> Please find attached my PBI module for SuperTux, a classic-style platform
> game. This PBI was requested on the forum here: http://forums.pcbsd.org/**
> showthread.php?t=15269 <http://forums.pcbsd.org/showthread.php?t=15269>
>
> - Jesse
>
>
>
> ---------- Forwarded message ----------
> From: Jesse Smith <jessefrgsmith at yahoo.ca>
> To: pbi-dev <pbi-dev at lists.pcbsd.org>
> Date: Thu, 27 Oct 2011 11:48:35 -0300
> Subject: [PC-BSD Pbi-dev] Easy-bake PBI modules
> Fellow PBIers,
>
> I believe I've come up with a tool which will make it much easier for
> non-developers to create PBI modules. The tool is simply named (I'm not
> feeling creative today) EasyPBI. It's a Qt-based graphical application
> which will create new PBI modules with just a few mouse clicks.
>
> Right now it's a little rough, the last time I did any real coding in
> Qt.... well, KDE 2.2 was considered current. At any rate, I'm attaching my
> first attempt here. To compile it you will need the Qt development
> libraries installed on your system.
>
> To compile EasyPBI, save the attached tar archive and run the following
> commands
>
> tar zxf EasyPBI-0.1.tar.gz
> cd EasyPBI
> qmake
> make
>
> Then run
> ./EasyPBI
>
> The interface is a small window which displays the key fields of a PBI
> module. At the bottom of the screen the app displays instructions for the
> user to follow. To start off, we go to the File menu and select New Module.
> We pick which port we want to build. The app tries to fill in as many
> fields as possible and prompts the user to fill in the blanks for us. Then
> the user hits the Create Module button at the bottom of the window. EasyPBI
> will then try to build the module and bundle it as a tar archive. Its last
> step is to notify the user that the module has been created and provides
> the location of the tarball and the pbi-dev mailing list address so users
> can submit their module.
>
> The app can be used to build several modules, one after another.
>
> Right now I'm thinking more instructions and an option to open then port's
> FreshPort's page would be a logical next step. Comments, suggestions are
> welcome.
>
> - Jesse
>
>
>
> ---------- Forwarded message ----------
> From: Ken Moore <ken at pcbsd.org>
> To: pbi-dev at lists.pcbsd.org
> Date: Thu, 27 Oct 2011 12:30:16 -0400
> Subject: Re: [PC-BSD Pbi-dev] Easy-bake PBI modules
>  On 10/27/11 10:48, Jesse Smith wrote:
>
> Fellow PBIers,
>
> I believe I've come up with a tool which will make it much easier for
> non-developers to create PBI modules. The tool is simply named (I'm not
> feeling creative today) EasyPBI. It's a Qt-based graphical application
> which will create new PBI modules with just a few mouse clicks.
>
> Right now it's a little rough, the last time I did any real coding in
> Qt.... well, KDE 2.2 was considered current. At any rate, I'm attaching my
> first attempt here. To compile it you will need the Qt development
> libraries installed on your system.
>
> To compile EasyPBI, save the attached tar archive and run the following
> commands
>
> tar zxf EasyPBI-0.1.tar.gz
> cd EasyPBI
> qmake
> make
>
> Then run
> ./EasyPBI
>
> The interface is a small window which displays the key fields of a PBI
> module. At the bottom of the screen the app displays instructions for the
> user to follow. To start off, we go to the File menu and select New Module.
> We pick which port we want to build. The app tries to fill in as many
> fields as possible and prompts the user to fill in the blanks for us. Then
> the user hits the Create Module button at the bottom of the window. EasyPBI
> will then try to build the module and bundle it as a tar archive. Its last
> step is to notify the user that the module has been created and provides
> the location of the tarball and the pbi-dev mailing list address so users
> can submit their module.
>
> The app can be used to build several modules, one after another.
>
> Right now I'm thinking more instructions and an option to open then port's
> FreshPort's page would be a logical next step. Comments, suggestions are
> welcome.
>
> - Jesse
>
>
>
> _______________________________________________
> Pbi-dev mailing listPbi-dev at lists.pcbsd.orghttp://lists.pcbsd.org/mailman/listinfo/pbi-dev
>
>
> Jesse,
> I just gave EasyPBI a whirl, and I must say that I am impressed! It is
> still a bit rough, as you mentioned, but overall it is a nice interface for
> a "casual" user to build a PBI module.
> I have a couple suggestions here from my first use....
>
> GUI
> -------
> 1) Make use of the QT spacers to allow the GUI to dynamically fit to the
> current size of the window.
> 2) There is an extra bar under the "File" and "About" menus that I can
> move around, but has no discernible purpose.
> 3) A button to open up the freshports page for the selected port in the
> default web browser might be a good idea (as you mentioned)
>
> Execution
> ------------
> 1) Instead of creating the modules in the home directory, I would
> recommend the following folder/structure:
>    1-a) Create a EasyPBI-modules/ directory in the home folder and place
> the uncompressed modules there
>    1-b) Create a subdirectory within EasyPBI-modules/ for the compressed
> modules
> 2) Since you are using the /usr/ports/ directory on the system, you might
> want to have some sanity checks to make sure the ports tree is actually on
> the user's system or prompt the user to get it if it is not.
> 3) In addition to creating the modules, you could actually have a button
> to run the pbi_makeport command on the newly-created module to actually run
> the process to build the PBI. This will take a bit more work, but I think
> it would make a nice complement to the program.
>
> All in all, it seems like a great start for the program. Would you like
> some help with it? I do a lot of Qt development and could help you out with
> the GUI if you are a bit rusty on it.
>
> --
> ~ Ken Moore ~
> PCBSD/iXsystems
>
>
> _______________________________________________
> Pbi-dev mailing list
> Pbi-dev at lists.pcbsd.org
> http://lists.pcbsd.org/mailman/listinfo/pbi-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pcbsd.org/pipermail/pbi-dev/attachments/20111030/cc4d6a36/attachment.html>


More information about the Pbi-dev mailing list