creating a new port from github: "_GH0" suffix in the filename
Hi, I'm trying to create a new port which is hosted on github (the luakit development version). The Makefile is just a modified version of the one from www/luakit. The Makefile I got so far is: [...] # Created by: Stefan Hagen # $FreeBSD: head/www/luakit/Makefile 531700 2020-04-14 15:49:36Z mat $ PORTNAME= luakit-devel DISTVERSION=2.1-33 PORTEPOCH= 1 CATEGORIES= www MAINTAINER= mb...@xs4all.nl COMMENT=Fast, small, webkit2 based browser framework extensible with Lua LICENSE=GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING.GPLv3 NOT_FOR_ARCHS= sparc64 NOT_FOR_ARCHS_REASON_sparc64= Does not install on sparc64 BUILD_DEPENDS= help2man:misc/help2man \ ${LUA_MODLIBDIR}/lfs.so:devel/luafilesystem@${LUA_FLAVOR} LIB_DEPENDS=libdbus-glib-1.so:devel/dbus-glib \ libsoup-2.4.so:devel/libsoup \ libfreetype.so:print/freetype2 \ libwebkit2gtk-4.0.so:www/webkit2-gtk3 \ libfontconfig.so:x11-fonts/fontconfig RUN_DEPENDS= ${LUA_PKGNAMEPREFIX}luafilesystem>=0:devel/luafilesystem@${LUA_FLAVOR} USES= compiler:c++11-lang desktop-file-utils gettext-runtime gmake \ gnome lua:51 pkgconfig sqlite USE_GITHUB= yes GH_ACCOUNT= luakit GH_PROJECT= luakit GH_TAGNAME= g0de4b1c USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 OPTIONS_DEFINE= DOCS LUAJIT LUAJIT_DESC=Use the Just-In-Time compiler for lua LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit LUAJIT_MAKE_ARGS= USE_LUAJIT=1 LUAJIT_MAKE_ARGS_OFF= USE_LUAJIT=0 CONFLICTS_INSTALL= luakit post-extract: @${REINPLACE_CMD} -e \ 's|share/man|man| ; s|luakit/doc|doc/luakit| ; \ s|/etc/xdg|${PREFIX}/etc/xdg| ; /MANPREFIX */s|?=|=| ; \ s|gnu99|gnu11| ; s|-ggdb||' \ ${WRKSRC}/config.mk @${REINPLACE_CMD} -e 's|bin/env lua|&${LUA_VER_STR}|' \ ${WRKSRC}/build-utils/gentokens.lua post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/luakit .include [...] The tarball isn't downloaded because "_GH0" is being added to the name of the file to be downloaded. So I get an error message: [...] => luakit-luakit-2.1-33-gOde4b1c_GH0.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch https://codeload.github.com/luakit/luakit/tar.gz/gOde4b1c?dummy=/luakit-luakit-2.1-33-gOde4b1c_GH0.tar.gz fetch: https://codeload.github.com/luakit/luakit/tar.gz/gOde4b1c?dummy=/luakit-luakit-2.1-33-gOde4b1c_GH0.tar.gz: Not Found => Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/luakit-luakit-2.1-33-gOde4b1c_GH0.tar.gz fetch: http://distcache.FreeBSD.org/ports-distfiles/luakit-luakit-2.1-33-gOde4b1c_GH0.tar.gz: Not Found => Couldn't fetch it - please try to retrieve this => port manually into /usr/ports/distfiles/ and try again. *** Error code 1 [...] The name of the file is correct, except for the added "_GH0". How can I download the file without the "_GH0" suffix? Thanks, Marco -- My own dear love, he is strong and bold And he cares not what comes after. His words ring sweet as a chime of gold, And his eyes are lit with laughter. He is jubilant as a flag unfurled -- Oh, a girl, she'd not forget him. My own dear love, he is all my world -- And I wish I'd never met him. -- Dorothy Parker, part 1 ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: creating a new port from github: "_GH0" suffix in the filename
On Thu, Apr 16, 2020 at 01:20:20PM +0200, Marco Beishuizen wrote: > GH_TAGNAME= g0de4b1c ^ There is an extra g here, commit hash only use hexadecimals. > The name of the file is correct, except for the added "_GH0". > How can I download the file without the "_GH0" suffix? The _GH0 suffix is fine :) -- Mathieu Arnold signature.asc Description: PGP signature
Re: creating a new port from github: "_GH0" suffix in the filename
On Thu, 16 Apr 2020, the wise Mathieu Arnold wrote: On Thu, Apr 16, 2020 at 01:20:20PM +0200, Marco Beishuizen wrote: GH_TAGNAME= g0de4b1c ^ There is an extra g here, commit hash only use hexadecimals. The name of the file is correct, except for the added "_GH0". How can I download the file without the "_GH0" suffix? The _GH0 suffix is fine :) After some fiddling around, downloading worked after removing the "GH_TAGNAME" line, and adding "DISTVERSIONSUFFIX= -g0de4b1c". The _GH0 suffix is indeed not a problem anymore. Remain some plist issues, but that's another subject... Thanks! Marco ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: kde5/qt5 problem
On Thursday, 16 April 2020 00:05:02 CEST The Doctor wrote: > On Wed, Apr 15, 2020 at 09:20:17PM +0200, Adriaan de Groot wrote: > > Qt ports are annoying like that; it's an incompatibility between pre-5.14 > > and (current) 5.14 where it picks up the wrong CMake support bits. > > Uninstall Qt < 5.14, then build Qt 5.14. Or use poudriere, which builds > > in a clean environment. > > All right, just that I use portmaster. How can I use poudriere for this? https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/testing-poudriere.html That's from the perspective of someone working on the ports themselves, not so much for the consumer of ports, but it'll do to get you started. [ade] signature.asc Description: This is a digitally signed message part.
Re: kde5/qt5 problem
On 2020-04-16 17:08, Adriaan de Groot wrote: On Thursday, 16 April 2020 00:05:02 CEST The Doctor wrote: All right, just that I use portmaster. How can I use poudriere for this? https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/testing-poudriere.html That's from the perspective of someone working on the ports themselves, not so much for the consumer of ports, but it'll do to get you started. For port consumers, there's also https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-poudriere.html . ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
New feature suggestion: print-gh-tuple: Print GH_TUPLE corresponding to submodules of a GitHub repository ${GH_ACCOUNT}/${GH_PROJECT}
Hi, I am suggesting a new feature: make print-gh-tuple https://reviews.freebsd.org/D24231 It works when USE_GITHUB=yes is set. When a GitHub repository has git submodules, that themselves can also have embedded submodules, it can traverse all of them and output the value of GH_TUPLE that would include all of them. This is quite tedious and difficult to do manually. It checks out the GitHub repository with submodules, traverses the list using a combination of shell and awk scripting, and prints GH_TUPLE that can be pasted into a ports's Makefile. Yuri ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: editors/atom: build error on 13.0-CURRENT
On 4/16/20 6:49 AM, Dimitry Andric wrote: On 15 Apr 2020, at 22:14, Vidar Karlsen wrote: BUILDING.md says it needs llvm 3.3 or higher, and I have clang 10.0.0. Is this simply a version check gone wrong in node? Very likely. When FreeBSD went to version 10, lots of sloppy configure scripts then started to assume they were dealing with FreeBSD 1.x, and did *strange* things. I would look for an expression "1*" in the script. :) You are right, Dimitri. I found that there is already an issue for this upstream: https://github.com/nodejs/node/issues/29536 -- Vidar Karlsen ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: kde5/qt5 problem
On Thu, Apr 16, 2020 at 05:08:59PM +0200, Adriaan de Groot wrote: > On Thursday, 16 April 2020 00:05:02 CEST The Doctor wrote: > > On Wed, Apr 15, 2020 at 09:20:17PM +0200, Adriaan de Groot wrote: > > > Qt ports are annoying like that; it's an incompatibility between pre-5.14 > > > and (current) 5.14 where it picks up the wrong CMake support bits. > > > Uninstall Qt < 5.14, then build Qt 5.14. Or use poudriere, which builds > > > in a clean environment. > > > > All right, just that I use portmaster. How can I use poudriere for this? > > https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/testing-poudriere.html > > That's from the perspective of someone working on the ports themselves, not > so > much for the consumer of ports, but it'll do to get you started. > > [ade] Will do. -- Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising! https://www.empire.kred/ROOTNK?t=94a1f39b Look at Psalms 14 and 53 on Atheism All appears to change when we change. -Henri-Fr=C3=A9d=C3=A9ric Amiel ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
llvm-mingw Cross Compiler
Hello, I found the most excellent llvm-mingw project by Martin Storsjo: https://github.com/mstorsjo/llvm-mingw/ It uses shell scripts to build all the components. I'm currently using it on FreeBSD 12 to cross build itself for Windows for i686 and amd64 (x86_64 to be exact). Is there any interest in llvm-mingw as a port? Regards, Russ ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"