VectorLinux
September 22, 2014, 01:46:32 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: gPHPedit  (Read 6650 times)
w2ibc
Packager
Vectorite
****
Posts: 114

GAHHHHHH!!!!!


WWW
« on: November 27, 2009, 10:58:38 pm »

OK so i wanted to play around a little and wanted to get to know a little more about the VL packageing, so i did the best thing... created a package

-removed old link added new package see link couple posts below-

its gphpedit. now sure exactly how it will work yet? but i got a better idea how packages are created.

feel up to test and tell me if i went wrong!
« Last Edit: November 28, 2009, 03:36:13 am by w2ibc » Logged

Linux Registered User #481509.
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #1 on: November 28, 2009, 12:01:40 am »

Nice job.
I downloaded your package and it installed no problem and I've got gPHPedit up and running right now.  Wish I new how to use it.

I took a look at the slack-required list and all the required bits where already present in my machine.  Which is good since just running installpkg, won't get those dependencies for me.

I couldn't find a copy of the slackbuild in docs when I opened the .tlz with Xarchiver, so I'm not sure if you got all the details that would be necessary for it to be an official package. However, it works just fine.

If you would be interested in doing some packaging for VL that would be great.  Nothing promotes a distro like a robust repository.

If you still want to know more about packaging here are some resources....
Some of the rules
New packaging rules
Some of the tut's I've been making as I myself learn how to package.
VL packaging video tutorials

Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
w2ibc
Packager
Vectorite
****
Posts: 114

GAHHHHHH!!!!!


WWW
« Reply #2 on: November 28, 2009, 12:07:57 am »

Link1 gives me a "An Error Has Occurred!
The topic or board you are looking for appears to be either missing or off limits to you. "

gPHPedit is a nice php editor (also good for html and have used it in editing a sql file a time or two)

w/ php it dose a nice job highlighting syntax. its been my fav editor since moving to *nix all that time ago lol

I figured this would be a good test at least to see the process. still got to read up more, but learning by doing you just cant beat.

used cli to make that package.. i did have to dig though the repos to get the "checkinstall" package as i could not find it in the 6.0 repo (think i had to pull it from 5.9)
« Last Edit: November 28, 2009, 12:10:37 am by w2ibc » Logged

Linux Registered User #481509.
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #3 on: November 28, 2009, 12:46:47 am »

Quote
Link1 gives me a "An Error Has Occurred!
The topic or board you are looking for appears to be either missing or off limits to you. "
I think you need to be signed in to access that one.

You should try sbbuilder.  It is a great script put together by kidd and rbistolfi.  It has saved me a ton of time on the builds I have done.
It comes preinstalled on your VL box.  Try 'sbbuilder --manual' in the terminal, for a little more info.

I agree gPHPedit would be a nice addition to the repositories.  Are you going to persue making it into an official package your self? or would you like me to repackage it and submit it to the repositories.  Willing to help either way.
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
w2ibc
Packager
Vectorite
****
Posts: 114

GAHHHHHH!!!!!


WWW
« Reply #4 on: November 28, 2009, 12:55:16 am »

ill check out that sbbulder.

on the link, its showing me signed in not right perms maybe?

ill give it a couple of attempts with gphpedit see if i can do it the right way with no issues, (if i get stuck on something ill be sure to post" i did see on the 2nd link it said its best to create packages under VL light. so i just downloaded the iso prepairing to burn to disk and install it on the lappy. i build above package with KDE 3.5

imma plug away try and get the lite installed on the lappy and give gphpedit another go using the VL packaging requirements try and get this down good. (as if i get good with this, ill try my hand porting over some ham radio stuff for linux)
Logged

Linux Registered User #481509.
w2ibc
Packager
Vectorite
****
Posts: 114

GAHHHHHH!!!!!


WWW
« Reply #5 on: November 28, 2009, 03:35:44 am »

update. this should be more in line with the VL packageing standards

-be looking in the repos soon-

took a couple trys but i finally got it i do believe

-edit, uploading and may be in your repos soon Cheesy
« Last Edit: November 30, 2009, 06:41:34 pm by w2ibc » Logged

Linux Registered User #481509.
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #6 on: November 28, 2009, 08:19:36 am »

Nice work.  Looks like VL is going to get a new package soon. Grin
One question, how did you handle the .desktop and .png files? I could not find the any code in the slackbuild that referenced handling either the .png icon or the .desktop file.
I think what the VL package maintainers what is a script that will do everything without any manual editing. 
I'm heading off to work now, but why don't you see if you can get a vectorcontrib folder.
I'll pm you with some information.
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
w2ibc
Packager
Vectorite
****
Posts: 114

GAHHHHHH!!!!!


WWW
« Reply #7 on: November 28, 2009, 03:05:23 pm »

gphpedit i dont think had a desktop icon. the png is in there which will show in the menu. Development -> gPHPedit

alot of the stuff for Amateur Radio (Ham Radio) don't even come with a .png as its mainly all ran from CLI

i followed the Video tutorial: "SBbuilder Packaging.  Making a .tlz for Grisbi using SBbuilder, step by step." from http://www.opensourcebistro.com/Tutorial/VL60/VLpackaging/page.

thats when i did notice gphp. didnt have the .desktop file.

and- ill check out that pm.
Logged

Linux Registered User #481509.
toothandnail
Tester
Vectorian
****
Posts: 2527


« Reply #8 on: November 29, 2009, 03:01:13 am »

Under the Vector packaging rules, any graphical application must come with an icon and a <packagename.desktop> to generate a menu entry.

Some packages will do this automatically. If not, you need to find a suitable icon and build in the code to generate a .desktop file. You also need to make sure that they get copied to the correct places in the package (usr/share/pixmaps for the icons, usr/share/applications for the .desktop).

Personally I like to generate the .desktop file from within the SlackBuild - makes for one less thing to go missing....

paul.
Logged
w2ibc
Packager
Vectorite
****
Posts: 114

GAHHHHHH!!!!!


WWW
« Reply #9 on: November 29, 2009, 11:18:46 pm »

Under the Vector packaging rules, any graphical application must come with an icon and a <packagename.desktop> to generate a menu entry.

Some packages will do this automatically. If not, you need to find a suitable icon and build in the code to generate a .desktop file. You also need to make sure that they get copied to the correct places in the package (usr/share/pixmaps for the icons, usr/share/applications for the .desktop).

Personally I like to generate the .desktop file from within the SlackBuild - makes for one less thing to go missing....

paul.


cool, Ill rework the package this week. add the .desktop icon and repack.
Logged

Linux Registered User #481509.
kidd
Packager
Vectorian
****
Posts: 682


« Reply #10 on: November 30, 2009, 03:04:52 am »

if you get the last sbbuilder version (available through slapt-get), you can add a flag --xdesktop that will add the lines in the slackbuild file.

Then you only have to provide the appname.desktop file (and maybe enable the lines in the slackbuild file, I can't remember if we commented the lines or not).

Thanks for contributing to VL!
Logged

w2ibc
Packager
Vectorite
****
Posts: 114

GAHHHHHH!!!!!


WWW
« Reply #11 on: November 30, 2009, 04:42:55 am »

by george i got it this time!

ended up having to make the gPHPedit.desktop file. which wasnt hard at all. i went ahead and rebuilt the package tested it and it works (finds the .png and the .desktop) so now waiting to get the FTP issue cleared up real quick. hope to have this uploaded tonight!

Logged

Linux Registered User #481509.
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #12 on: November 30, 2009, 10:28:04 am »

Awesome, nicely done.
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!