You are not logged in.
Last updated: 17th-Feb-2007
With Wocka you can do:
./configure
make
su
wocka
and you'll get the application installed, and a pacman db entry too.
Wocka automatically figures out the package name, version and/or subversion revision, and if it can, other metadata too. It determines the build system (make, unsermake, scons, cmake, etc.). It can also create a basic PKGBUILD, with some of the fields (eg name, version) magically filled in. It can also handle upgrades and check AUR for PKGBUILDs.
Visit the site for a Arch linux package, the source tarball, and detailed usage examples. There's also a feed you can subscribe to at the site if you want to be notified of updates.
Comments, contributions, etc. most welcome! Thanks.
===========
I have discovered other programs that do a similar thing for Arch. They may be better and you may want to consider them, or at least demand I implement things they do into Wocka If you do use one of the others, I'd like to hear why, if you have the time, thanks!
bpkg
creapkg
pacinstall
versionpkg
Last edited by mxcl (2007-02-17 03:24:12)
Offline
What are the benifits of using this over makepkg?
Offline
You don't have to write a PKGBUILD file. For me it was always too much of a PITA to write a PKGBUILD.
But if you still love PKGBUILDs it can generate a basic one, and attempt to run makepkg with it: pacgen --makepkg
I generally dislike creating pkgbuilds for one off builds as errors mean you have to run configure again, rebuild everything till the error etc. And you can't always find a PKGBUILD, nor do I really like using AUR, I prefer to do things myself, hence this tool.
Offline
ahh, gotcha.
While I will probabily use the AUR for stuff still, this seems like it might be useful for stuff that doesn't play nice with prefixes.
Offline
Awsome stuff...what i wanted is a checkinstall like tool for pacman.
Thanks man!
Send a PKGBUILD to AUR!
Offline
Greate tool indeed.
I like most the function that provides a basic PKGBUILD...
ps. wasnt pacman's sound waka waka waka?
Leonardo Andrés Gallego
www.archlinux-es.org || Comunidad Hispana de Arch Linux
Offline
For me it was always too much of a PITA to write a PKGBUILD.
<snip>
.... nor do I really like using AUR
Send a PKGBUILD to AUR!
Offline
i didn't read it...
I make a PKGBUILD for AUR if you don't mind...
Offline
Now this is very cool. Thanks!
Offline
nice idea, was going to do it myself once... but dude, wtf with the name?
pacgen was a reasonable name, but wocka? what were you drinking.
Offline
Awesome job!
Offline
nice idea, was going to do it myself once... but dude, wtf with the name?
pacgen was a reasonable name, but wocka? what were you drinking.
From http://methylblue.com/wocka/:
Why Wocka?
pacman, from the famous computer game, says "wocka, wocka, wocka!" as he goes along
Offline
i get it now, i like it!
Offline
Awesome! Now I can finally make the packages I was always dreaming of but were too lazy to do them on my own. Great work!
Todays mistakes are tomorrows catastrophes.
Offline
You should have talked to Xentac. He already has an app named "Wakka" IIRC.
Offline
Wait a minute, why the heck does this thing require QT? It doesn't have a GUI so why would it use the QT library? :?
Offline
Firstly, I'm really sorry I didn't see the above new replies, I subscribed to this thread, but never got the emails... Must have been my spam filter I expect.
Wait a minute, why the heck does this thing require QT? It doesn't have a GUI so why would it use the QT library? :?
I used Qt as I have 4 years experience with it and develop fast with it. With Qt4 the library is separated into Core (CLI only) and GUI components, so as soon as Arch ships Qt4 and people have it installed en-mass, I'll switch to the CLI only library. I apologise if you think I'm crazy/stupid, you may be right
You should have talked to Xentac. He already has an app named "Wakka" IIRC.
Hmm sucks, I may have to rename again. I renamed the first time as pacgen is a name already used by two other projects!
wasnt pacman's sound waka waka waka?
heh could be, I'm not a pacman expert. Extralife the webcomic always makes pacman say "Wocka!", but I spose I should have done more research!
Send a PKGBUILD to AUR!
Yeah I half did this and then couldn't figure out how to work the AUR or something. I'll try again.
I had 0.3 ready a few weeks ago, then I started using my CRT with my new XBOX 360 and didn't boot to Linux until yesterday Now I have some new TFTs.
The changes since 0.2:
· Automatic upgrade/merge for new installs of subversion managed source installations
· Better versioning detection
· Easy automatic AUR builds via: wocka --aur appname
· Metadata is extracted from LSM files
· --upgrade switch
The upgrade switch basically merges the old package with what's just installed, so you don't lose any information, I figured this was the safest route. Please correct me if you disagree. Thanks
Offline
Perhaps you could work with someone else to switch it to something other than QT? Eh... It's not a big deal, just kind of annoying.
Offline
With Wocka you can do:
./configure
make
su
wockaand you'll get the source installed, and a pacman db entry too.
Wocka automatically figures out ...
What is the proper way to install the wocka package in the first place?
After that, could you give an example of using it?
Thanks.
Regards, Joe
Offline
There's a package on his website...
Offline
There's a package on his website...
My problem is that the thing does not work here. I downloaded the file which is 0.3.1, not 0.3 but the instructions say that I should be able to do the following:
$ tar xzf wocka-0.3.tar.gz
~$ cd wocka-0.3
wocka-0.3$ ./configure
[[snip]]
...
That does not happen. I do not get a wocka-0.3 sub-directory. I was hoping he would tell me what to do now.
I even tried the binary ../usr/bin/wocka that unpacks but that does nothing but give an error.
Thanks.
Edit: Just to be clear, I am saying the example on the fellow's home page does not work. It may have worked for 0.3 but not for 0.3.1.
Anyone got a 0.3 they would post so I might us it?
Regards, Joe
Offline
I was referring to this binary package.
Offline
I was referring to this binary package.
Sorry, I now see that both packages are there. There is a binary for installation via "pacman -A" and a source package. I went with the binary, so unfortunately I did not get to see the example of wocka installing itself as on the homepage.
But, thanks for the help. These old eyes did not see that 0.3 is source pacage and 0.3-1 is a binary package especially for Arch.
Regards, Joe
Offline
Hi, i have been trying wocka with some success in certain packages and not too much in others... I think it is a fine tool and i hope you keep developing it.
I just wanted to detail something (bug report?):
I did a wocka --makepkg (as i wanted to keep the pkg around for distribution), and it built the package ok, but when i installed it, i found it was installed to /usr/local/bin, instead of the usual Arch style of /usr/bin.
I think you should review the part where it runs the configure script to include the flag --prefix=/usr
Regards and keep up the good work.
Leonardo Andrés Gallego
www.archlinux-es.org || Comunidad Hispana de Arch Linux
Offline
Hi, i have been trying wocka with some success in certain packages and not too much in others... I think it is a fine tool and i hope you keep developing it.
Thanks, and I'd like to test circumstances where it doesn't work, if anyone has time to detail them here or you can get my email from the site. I'll ahve to add my email to --help.
I did a wocka --makepkg (as i wanted to keep the pkg around for distribution), and it built the package ok, but when i installed it, i found it was installed to /usr/local/bin, instead of the usual Arch style of /usr/bin.
I think you should review the part where it runs the configure script to include the flag --prefix=/usr
This makes sense, thanks. Will update.
Offline