You are not logged in.

#1 2010-04-12 12:13:06

PirateJonno
Forum Fellow
From: New Zealand
Registered: 2009-04-13
Posts: 372

nautilus-makepkg - a context menu for building packages in nautilus

Hi all,

I've written a nautilus extension that makes it a little bit easier to use the AUR. When you right click a PKGBUILD, it has an option to run makepkg inside a terminal window (the terminal it uses depends on your "Preferred Applications" settings, which can be found in the System > Preferences menu).

Here are some screenshots of it in action:
tNDRsZg tNDRsZw tNDRsaA

You can configure the options passed to makepkg with gconf-editor, like so:
tNDRsbA

If you're feeling adventurous, you might also like to try my PackageKit and gnome-packagekit packages:
PackageKit
gnome-packagekit
pacman-glib (a dependency of PackageKit)
NB: these are approaching release quality, but may not be quite there yet. However, they do support most of the important features of pacman.

Last edited by PirateJonno (2010-04-12 12:17:58)


"You can watch for your administrator to install the latest kernel with watch uname -r" - From the watch man page

Offline

#2 2010-05-06 12:27:50

mukwing
Member
Registered: 2007-10-30
Posts: 4

Re: nautilus-makepkg - a context menu for building packages in nautilus

I tried to build your packages, but gnome-packagekit build failed with the following errors:

gpk-install-local-file.sgml:1: parser error : StartTag: invalid element name
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
^
gpk-install-local-file.sgml:1: parser error : Extra content at the end of the document
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
^
unable to parse gpk-install-local-file.sgml
gpk-install-mime-type.sgml:1: parser error : StartTag: invalid element name
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
^
gpk-install-mime-type.sgml:1: parser error : Extra content at the end of the document
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
^
unable to parse gpk-install-mime-type.sgml
gpk-backend-status.sgml:1: parser error : StartTag: invalid element name
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
^
gpk-backend-status.sgml:1: parser error : Extra content at the end of the document
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
^
unable to parse gpk-backend-status.sgml
gpk-application.sgml:1: parser error : StartTag: invalid element name
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
^
gpk-application.sgml:1: parser error : Extra content at the end of the document
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
^
unable to parse gpk-application.sgml
gpk-install-package-name.sgml:1: parser error : StartTag: invalid element name
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
^
gpk-install-package-name.sgml:1: parser error : Extra content at the end of the document
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
^
unable to parse gpk-install-package-name.sgml
Unable to recognise encoding of this document at /usr/share/perl5/vendor_perl/XML/SAX/PurePerl/EncodingDetect.pm line 100.
Unable to recognise encoding of this document at /usr/share/perl5/vendor_perl/XML/SAX/PurePerl/EncodingDetect.pm line 100.
Document requires an element [Ln: 1, Col: 0]
make[2]: *** [gpk-backend-status.1] Error 9
make[2]: *** Waiting for unfinished jobs....
Document requires an element [Ln: 1, Col: 0]
make[2]: *** [gpk-install-local-file.1] Error 9
Unable to recognise encoding of this document at /usr/share/perl5/vendor_perl/XML/SAX/PurePerl/EncodingDetect.pm line 100.
Document requires an element [Ln: 1, Col: 0]
make[2]: *** [gpk-application.1] Error 9
Unable to recognise encoding of this document at /usr/share/perl5/vendor_perl/XML/SAX/PurePerl/EncodingDetect.pm line 100.
Document requires an element [Ln: 1, Col: 0]
make[2]: *** [gpk-install-mime-type.1] Error 9
Unable to recognise encoding of this document at /usr/share/perl5/vendor_perl/XML/SAX/PurePerl/EncodingDetect.pm line 100.
Document requires an element [Ln: 1, Col: 0]
make[2]: *** [gpk-install-package-name.1] Error 9
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
==> ERROR: Build Failed.
    Aborting...

Offline

#3 2010-05-06 12:40:43

PirateJonno
Forum Fellow
From: New Zealand
Registered: 2009-04-13
Posts: 372

Re: nautilus-makepkg - a context menu for building packages in nautilus

Ok, I get this error too when I install docbook2x. Looks like an upstream problem, you can fix it by uninstalling docbook2x temporarily (use pacman -Rd if something depends on it, then reinstall asap). I'll try to figure this out when I get the time

Last edited by PirateJonno (2010-05-06 12:40:54)


"You can watch for your administrator to install the latest kernel with watch uname -r" - From the watch man page

Offline

#4 2010-05-06 12:51:14

mukwing
Member
Registered: 2007-10-30
Posts: 4

Re: nautilus-makepkg - a context menu for building packages in nautilus

The packages finally builded:).
After testing your packages(pacman-glib and it packagekit backends), I think it is a very good pacman gui frontend.
At least it feels stable, which seems to be a good alternative for shaman(which crash quite often for me).

-Wing

Offline

#5 2010-05-06 13:03:39

PirateJonno
Forum Fellow
From: New Zealand
Registered: 2009-04-13
Posts: 372

Re: nautilus-makepkg - a context menu for building packages in nautilus

ok, that's good
thank you, although i only did the arch linux-specific work (and only some of it at that)
if you'd rather use qt, there is a frontend for that too (I don't have an up-to-date package on offer though)
I've just been made a developer of the upstream project, so packaging etc should get a bit easier soon, and I will put up some more information on how to get the most out of it


"You can watch for your administrator to install the latest kernel with watch uname -r" - From the watch man page

Offline

Board footer

Powered by FluxBB