You are not logged in.
http://bbs.archlinux.org/viewtopic.php?id=66987 As you can see in that topic , i have figured out a way to make mintmenu work in Arch. I modified a part of the code and the icon.
I would like to make a pkgbuild for this package and maybe in the future tweak it specially for arch.
To install the menu it simply copied the libs and bin files to /usr/bin and /usr/lib , i took this info from this howto http://jasoncarpenter.blogspot.com/2009 … on-my.html .
Should the pkgbuild just contain three cp lines to install it? ( i am still a bit of a noob @ pkgbuilds)
For people how are interested, here are the files i used http://github.com/jelly/archmenu/tree/master
Offline
Wow thanks for doing this, just a quick question though, why are the tar and cp lines commented out in the build() function? Sorry if there's some obvious reason, but I'm not really knowledgeable about PKGBUILDs.
Double booting Arch Linux and Linux Mint
Reader of XKCD
Offline
well it isn't finished ,i haven't got a working PKGBUILD yet
Offline
No the PKGBUILD shouldn't cp the files directly to the system... it should cp them to the $pkgdir, i.e. using the lines from your PKGBUILD:
#cp -r mintmenu-$pkgver/usr/lib/linuxmint/ $pkgdir/usr/lib/
#cp -r mintmenu-$pkgver/usr/lib/bonobo/servers/mintMenu.server $pkgdir/usr/lib/bonobo/servers/mintMenu.server
#cp -r mintmenu-$pkgver/usr/bin/mintmenu $pkgdir/usr/bin/
The point of a PKGBUILD is to create a package file (.tar.gz) that contains the files that can be portably installed and uninstalled via 'pacman -U' and 'pacman -R', respectively. If you install directly to the system during package creation... you'd need to be root or it'd fail... what package will be created? and how would it be uninstalled?
By the way, I'd also like to get mintmenu working on Arch. I found this directory: http://packages.linuxmint.com/pool/main/m/mintmenu/ that has several versions available (4.1.2, 4.2.2, 4.7) in both .deb and .tar.gz files. I'm starting manually with the version 4.7 tarball. Thanks to your help and pointing out the jasoncarpenter blog, it shouldn't be too difficult. Once I get it working, I'll put a PKGBUILD in the AUR.
Offline
In case it takes me longer than expected... or somebody wants to help out... here is where I'm at right now with the UNTESTED PKGBUILD:
# Contributor: ryooichi <ryooichi+arch AT gmail DOT com>
# Real thanks goes to jelly, mike_93 and the original creators of mintmenu, usp, slab...
# See also:
# http://bbs.archlinux.org/viewtopic.php?id=66987
# http://bbs.archlinux.org/viewtopic.php?id=68633
# http://github.com/jelly/archmenu
pkgname=mintmenu
pkgver=4.7
pkgrel=1
pkgdesc="Linux Mint Menu for Gnome"
arch=('i686' 'x86_64')
url="http://packages.linuxmint.com/pool/main/m/mintmenu/"
license=('GPL')
groups=()
depends=('gnome-panel' 'gnome-python' 'gnome-python-desktop' 'pyxdg' 'pygtk' 'archlinux-artwork')
optdepends=('alacarte: for editing the gnome menu')
makedepends=()
provides=()
conflicts=()
replaces=()
backup=()
#install=
source=('http://packages.linuxmint.com/pool/main/m/mintmenu/mintmenu_4.7.tar.gz')
noextract=()
md5sums=('ea9bb5f20637e0860474805cec1da0f1')
build() {
cd "$srcdir/mintmenu-4.6"
sed -i 's|/usr/lib/linuxmint/mintSystem/icon.png|/usr/share/archlinux/icons/archlinux-icon-tango-32.svg|' usr/lib/bonobo/servers/mintMenu.server
cp -R usr $pkgdir/
}
# vim:syntax=sh
I'm also going to try gnome-main-menu and gnome-main-menu-svn again for s&g's. There are some problems with using mintmenu... but I'm still working my way through the various options...
Offline
A PKGBUILD is in the AUR as 'mintmenu' at http://aur.archlinux.org/packages.php?ID=26266 !
I've tested it locally (makepkg/pacman -U) as well as installation via yaourt (yaourt mintmenu) and seems to work pretty well. As you can see in the PKGBUILD, icons are provided by additional dependency archlinux-artwork.
To do: I probably ought to fix or remove the references to Software Manager and Package Manger.
By the way, gnome-main-menu and gnome-main-menu-svn seem to have some unfixed dependency issues... so I'm steering clear for now. This mintmenu pkgbuild is working well for me now.
Offline
nice pacakge , some things just won't work update manager etc. But i don't use gnome anymore so hm the other arch users can profit of this package
Offline
This is awesome! Only, that it doesn't work for me at the moment!
I get a "Couldn't load plugin: applications" with these errors:
Offline
Has the package been cleared of mint *shit* ,like the guy of fedora did or did this package just got installed from the mint source ?
Hmm wel this seems to be not the issue because the packages pached it , but i wouldnt use it if it depends on gtkpacman .
I don't use gnome or gnome-panel so it isnt an issue for me but maybe for other users
Last edited by jelly (2009-05-12 08:12:11)
Offline
In your PKGBUILD you can use ${pkgver} variable in place of the version numbers. It will save you from
and than
cd "$srcdir/mintmenu-4.6"
Offline