[aur-general] PKGBUILD git remote branch issue

Ralf Mardorf ralf.mardorf at alice-dsl.net
Wed Nov 7 13:17:23 UTC 2018


Hi,

building the Claws GTK3 port works, if I build from the branch like
this:


[rocketmouse at archlinux tmp]$ git clone git://git.claws-mail.org/claws.git
[snip]
[rocketmouse at archlinux tmp]$ cd claws
[rocketmouse at archlinux claws]$ git fetch origin
[rocketmouse at archlinux claws]$ git branch --track gtk3 origin/gtk3
Branch 'gtk3' set up to track remote branch 'gtk3' from 'origin'.
[rocketmouse at archlinux claws]$ ./autogen.sh
[snip]
[rocketmouse at archlinux claws]$ ./configure --build=$HOSTTYPE-arch-linux-gnu --prefix=/usr --disable-static --enable-enchant --enable-gnutls --enable-ldap --enable-crash-dialog --enable-pgpmime-plugin --enable-spamassassin-plugin --enable-bogofilter-plugin
[rocketmouse at archlinux claws]$ sh version
3.17.0-153-gf4607b
[rocketmouse at archlinux claws]$ make
[snip]
Done.
[snip]



If I try to build from the master with "--enable-gtk3" it fails, see:
https://lists.claws-mail.org/pipermail/users/2018-November/023174.html

A developer mentions that I should build from the gtk3 branch:
https://lists.claws-mail.org/pipermail/users/2018-November/023176.html

I commented out "#--enable-gtk3"...



[rocketmouse at archlinux claws]$ grep HOST /usr/src/claws-mail-gtk3-git/PKGBUILD -B1 -A14
	./configure \
		--build=$HOSTTYPE-arch-linux-gnu \
		--prefix=/usr \
		--disable-jpilot \
		--disable-maintainer-mode \
		--disable-manual \
		--disable-static \
		--enable-bogofilter-plugin \
		--enable-crash-dialog \
		--enable-enchant \
		--enable-gnutls \
		#--enable-gtk3 \
		--enable-ldap \
		--enable-pgpmime-plugin \
		--enable-silent-rules \
		--enable-spamassassin-plugin



...but don't know what "foo bar" to add to the source or how else to
handle this by a PKGBUILD:

[rocketmouse at archlinux claws]$ grep source /usr/src/claws-mail-gtk3-git/PKGBUILD
source=('claws-mail::git://git.claws-mail.org/#FOO=BAR')



Is there an easy way to do it?

Regards,
Ralf


More information about the aur-general mailing list