Ryan Mitchener | 15 Sep 06:22 2011
Picon

lxsession-edit-0.2.0

Alright, I'm trying to learn how to create PBI's so I can be of more 
help in the future. I figured I'd start with something small that wasn't 
available in PBI repos or ports. So I am trying to create a PBI of 
lxsession-edit.

It is a small program that only has one out-of-box (LXDE) requirement of 
intltool. So I simply installed that from ports and proceeded to extract 
the source lxsession-edit tarball I downloaded from LXDE's website.

after extracting I ran ./configure --prefix=/home/lxsession-edit-pbi/
then gmake
then gmake install

I then ran ldd on the lxsession-edit bin and copied all of the required 
libraries into their respective folder in my lxsession-edit-pbi folder.

 From the get go, I cannot run lxsession-edit program from within the 
directory like I can run chromium from chromium's PBI install folder in 
/usr/pbi/chromium-i386. lxsession-edit doesn't do anything. It just says 
command not found.

I went ahead and tried to create the PBI which I successfully did using 
pbi_create. However even after "installing" it no folders or files had 
be copied to /usr/pbi and I still could not run lxsession-edit.

Where did I go wrong? I shouldn't need any scripts or a config file if I 
input the pbi information into the pbi_create command correct? 
Unfortunately the PBI creator pbi only works for pcbsd 8 as I am on 
pcbsd 9 beta 2 now.

(Continue reading)

Tigersharke . | 15 Sep 10:43 2011
Picon

pbi_makeport process.. (via beta2.0)

Hello!

Since I have been bitten a number of times (more than 3) by the "ports/pkgs erased when system is modified or updated" rule, I decided that I would figure out how to build PBIs of those things I use.

pbi_makeport for my first multiple attempts seemed to stall.  After I finally decided to let it alone for what may have been in excess of 10 hours, is when it actually was successful and I discovered pbi_makeport wasn't stalled.

Therefore, I would like to request some kind of indication (for those who are new to using pbi_makeport) that it is actually *doing* something, or that it is continuing to do something.

An alternative to this might be a separate process (via switch) or a separate command, pbi_buildenv which purely does the initial environment construction.

If this pbi build environment (jail) setup didn't take so long, I would suggest it somehow be pre-made or setup during the install process. Thankfully, for as long as that initial environment setup takes, it is only oppressively long for the very first instance.. I suppose, because I choose not to erase everything prior to my successive PBI builds. I'm sure there may be other ways to speed up the building of a PBI- my main hope was that if I did not 'clean' the port's directory after building the port (ie, simply: make install), that it might use things from there.

Another thought, when using pbi_makeport, is the ports tree used? Specifically, if I configure a port with certain options, within its location of the ports tree, is that configuration honored so that the PBI is built according to those options?  If not, how would I accomplish such a thing?

Since the wiki pages for pbi building feel like they are a little terse, those of us who become more familiar with the process will hopefully find time to improve it (myself included).

Thanks!
_______________________________________________
Pbi-dev mailing list
Pbi-dev@...
http://lists.pcbsd.org/mailman/listinfo/pbi-dev
Ken Moore | 15 Sep 19:41 2011

Re: lxsession-edit-0.2.0

On 09/15/11 00:22, Ryan Mitchener wrote:
> Alright, I'm trying to learn how to create PBI's so I can be of more 
> help in the future. I figured I'd start with something small that 
> wasn't available in PBI repos or ports. So I am trying to create a PBI 
> of lxsession-edit.
>
> It is a small program that only has one out-of-box (LXDE) requirement 
> of intltool. So I simply installed that from ports and proceeded to 
> extract the source lxsession-edit tarball I downloaded from LXDE's 
> website.
>
> after extracting I ran ./configure --prefix=/home/lxsession-edit-pbi/
> then gmake
> then gmake install
>
> I then ran ldd on the lxsession-edit bin and copied all of the 
> required libraries into their respective folder in my 
> lxsession-edit-pbi folder.
>
> From the get go, I cannot run lxsession-edit program from within the 
> directory like I can run chromium from chromium's PBI install folder 
> in /usr/pbi/chromium-i386. lxsession-edit doesn't do anything. It just 
> says command not found.
>
> I went ahead and tried to create the PBI which I successfully did 
> using pbi_create. However even after "installing" it no folders or 
> files had be copied to /usr/pbi and I still could not run lxsession-edit.
>
> Where did I go wrong? I shouldn't need any scripts or a config file if 
> I input the pbi information into the pbi_create command correct? 
> Unfortunately the PBI creator pbi only works for pcbsd 8 as I am on 
> pcbsd 9 beta 2 now.
>
> Thanks for your help.
>
> -Ryan Mitchener
> _______________________________________________
> Pbi-dev mailing list
> Pbi-dev@...
> http://lists.pcbsd.org/mailman/listinfo/pbi-dev
One thing that might be causing this is if the program executable that 
you are trying to run is actually a wrapper script of some kind rather 
than a binary file. For those, we usually have to check the first line 
of the file and make sure it is using the right path for the script 
language.
For example:
#!/bin/python   -> should become ->  #!/usr/pbi/(pbi-name)/bin/python

This is because each program is (or should be) packaged with the proper 
version of the language it uses (especially for these programs that are 
simply ruby/python scripts) and you want to make sure to use the right 
one. This is usually accomplished by putting a quick "sed" line in the 
post-install.sh script to fix the first line. If you want to see an 
example, take a look at the modules for games/fretsonfire or 
games/frozenbubble in our source tree (pbi/modules/games/....)

BTW, what folder are you running the program from?
i.e.  /usr/pbi/(pbi-name)/bin/   or   /usr/pbi/(pbi-name)/.sbin ?
The executables in the .sbin folder have all the linking properly set up 
(and run the command of the same name in the (pbi-name)/bin folder), and 
are the commands that should be run to start the program, otherwise you 
can get some interesting errors about missing files.

--

-- 
~~ Ken Moore ~~
PC-BSD/iXsystems
Jesse Smith | 16 Sep 19:04 2011
Picon

Foremost PBI

Please find attached my module for Foremost, a file recovery utility.
This PBI was requested on the forum here:
http://forums.pcbsd.org/showthread.php?t=15043

Thanks,
Jesse

Attachment (foremost.tar.gz): application/x-compressed-tar, 1926 bytes
_______________________________________________
Pbi-dev mailing list
Pbi-dev@...
http://lists.pcbsd.org/mailman/listinfo/pbi-dev
Ken Moore | 16 Sep 22:22 2011

Re: Foremost PBI

On 09/16/11 13:04, Jesse Smith wrote:
Please find attached my module for Foremost, a file recovery utility. This PBI was requested on the forum here: http://forums.pcbsd.org/showthread.php?t=15043 Thanks, Jesse _______________________________________________ Pbi-dev mailing list Pbi-dev-Fhbtn2kkCAMmbxgs1yVkuA@public.gmane.org http://lists.pcbsd.org/mailman/listinfo/pbi-dev
I just finished adding these modules to the build servers.
Thanks Jesse!

-- ~~ Ken Moore ~~ PC-BSD/iXsystems
_______________________________________________
Pbi-dev mailing list
Pbi-dev@...
http://lists.pcbsd.org/mailman/listinfo/pbi-dev
Jesse Smith | 25 Sep 01:53 2011
Picon

New PBI module: midori

Please find attached my PBI module for the Midori web browser. This PBI
was requested on the forum here:
http://forums.pcbsd.org/showthread.php?t=15106

Thanks,
Jesse

Attachment (midori.tar.gz): application/x-compressed-tar, 2230 bytes
_______________________________________________
Pbi-dev mailing list
Pbi-dev@...
http://lists.pcbsd.org/mailman/listinfo/pbi-dev
Tigersharke . | 25 Sep 19:15 2011
Picon

firefox6.x + flash

Hello..

Am I missing a step?  I have added the new(er) Firefox 6.x to my i386 PC-BSD v9.0beta2, yet there is no flash or it is out-dated?

Gmail works fine, but many silly facebook games which require flash, or youtube, do not.

Thank you!

_______________________________________________
Pbi-dev mailing list
Pbi-dev@...
http://lists.pcbsd.org/mailman/listinfo/pbi-dev
Tigersharke . | 26 Sep 09:49 2011
Picon

Re: firefox6.x + flash



On Sun, Sep 25, 2011 at 12:15 PM, Tigersharke . <tigersharke-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Hello..

Am I missing a step?  I have added the new(er) Firefox 6.x to my i386 PC-BSD v9.0beta2, yet there is no flash or it is out-dated?

Gmail works fine, but many silly facebook games which require flash, or youtube, do not.

 
Sorry folks..

 I figured it out.  I believe for Flash in Firefox for PC-BSD, you need 3 things:
  1. www/linux-f10-flashplugin10
  2. www/nspluginwrapper
  3. from a shell prompt as the user needing flash, issue: flashpluginctl on
After reinstalling the first two via ports, I remembered #3.  My main mistake was to assume that flash was automatically available (and turned 'on') in Firefox after adding the pbi.  Perhaps this should be more automated or more obvious for the average user?

Thanks!
_______________________________________________
Pbi-dev mailing list
Pbi-dev@...
http://lists.pcbsd.org/mailman/listinfo/pbi-dev
Ken Moore | 26 Sep 19:17 2011

Re: New PBI module: midori

On 09/24/11 19:53, Jesse Smith wrote:
Please find attached my PBI module for the Midori web browser. This PBI was requested on the forum here: http://forums.pcbsd.org/showthread.php?t=15106 Thanks, Jesse

_______________________________________________ Pbi-dev mailing list Pbi-dev-Fhbtn2kkCAMmbxgs1yVkuA@public.gmane.org http://lists.pcbsd.org/mailman/listinfo/pbi-dev
I just added this module to the build servers.

Thanks Jesse!

-- ~~ Ken Moore ~~ PC-BSD/iXsystems
_______________________________________________
Pbi-dev mailing list
Pbi-dev@...
http://lists.pcbsd.org/mailman/listinfo/pbi-dev
Yuri Momotiuk | 27 Sep 10:30 2011
Picon

question about windows software pbi creation

Hello

I would like to create pbis for some windows software. That will be pbi with embedded wine.

It may look like that:
1. Build and install wine in chroot
2. Create wine prefix in chroot
3. setup wine prefix in chroot, install some windows specific libs with winetricks
4. copy or install windows soft into that wine prefix
5. make pbi

I did not find info how to execute script after port is installed in chroot while pbi build.

In any case, I was glad to hear some ideas how can I make pbi with embedded wine. Thanks.

PS Sorry for my English. I hope you will understand this.

--
Best regards, Yuri Momotyuk
_______________________________________________
Pbi-dev mailing list
Pbi-dev@...
http://lists.pcbsd.org/mailman/listinfo/pbi-dev

Gmane