Re: Warnings about Mk/Uses/go.mk when building INDEX

2023-02-02 Thread Dmitri Goutnik
"/usr/ports/Mk/Uses/go.mk" line 193: warning: duplicate script for target "go-post-fetch" ignored [00:01:16] Warning: (www/gitlab-pages): make: "Makefile" line 35: warning: using previous script for "go-post-fetch" defined here www/gitlab-pages/Makefile has a comment on why overriding go-post-fetch was needed. Best regards, -- Dmitri Goutnik d...@syrec.org | d...@freebsd.org

Re: Golang debug/buildinfo

2022-05-27 Thread Dmitri Goutnik
8 > Many thanks, > Ben > Best regards, -- Dmitri Goutnik d...@syrec.org / d...@freebsd.org signature.asc Description: PGP signature

Re: Go modules help

2022-01-17 Thread Dmitri Goutnik
It was updated when GO_MODULE was introduced - https://docs.freebsd.org/en/books/porters-handbook/special/index.html#using-go On Mon, Jan 17, 2022 at 3:56 PM Larry Rosenman wrote: > > On 01/17/2022 2:18 pm, Dmitri Goutnik wrote: > > I'd suggest switching to the new(-ish)

Re: Go modules help

2022-01-17 Thread Dmitri Goutnik
I'd suggest switching to the new(-ish) GO_MODULE way of managing dependencies, modules2tuple is not smart enough to handle projects of this size. Attached Makefile builds OK for me and the resulting binary seems to run, untested beyond that. Regards, Dmitri On Mon, Jan 17, 2022 at 1:36 PM Larry

svn commit: r352432 - head/share/misc

2019-09-16 Thread Dmitri Goutnik
ot;] dhn [label="Dennis Herrmann\n...@freebsd.org\n2009/03/03"] -dmgk [label="Dmitri Goutnik\d...@freebsd.org\n2019/09/15"] +dmgk [label="Dmitri Goutnik\nd...@freebsd.org\n2019/09/15"] dryice [label="Dryice Dong Liu\ndry...@freebsd.org\n2006/12/25"] dteske [

svn commit: r352432 - head/share/misc

2019-09-16 Thread Dmitri Goutnik
ot;] dhn [label="Dennis Herrmann\n...@freebsd.org\n2009/03/03"] -dmgk [label="Dmitri Goutnik\d...@freebsd.org\n2019/09/15"] +dmgk [label="Dmitri Goutnik\nd...@freebsd.org\n2019/09/15"] dryice [label="Dryice Dong Liu\ndry...@freebsd.org\n2006/12/25"] dteske [

svn commit: r352423 - head/usr.bin/calendar/calendars

2019-09-16 Thread Dmitri Goutnik
Dmitri Goutnik born in Minsk, USSR, 1969 12/01 Hajimu Umemoto born in Nara, Japan, 1961 12/01 Alexey Dokuchaev born in Magadan, USSR, 1980 12/02 Ermal Luçi born in Tirane, Albania, 1980 ___ svn-src-head@freebsd.org mailing list https

svn commit: r352423 - head/usr.bin/calendar/calendars

2019-09-16 Thread Dmitri Goutnik
Dmitri Goutnik born in Minsk, USSR, 1969 12/01 Hajimu Umemoto born in Nara, Japan, 1961 12/01 Alexey Dokuchaev born in Magadan, USSR, 1980 12/02 Ermal Luçi born in Tirane, Albania, 1980 ___ svn-src-all@freebsd.org mailing list https

svn commit: r352422 - head/share/misc

2019-09-16 Thread Dmitri Goutnik
n\n...@freebsd.org\n2009/03/03"] +dmgk [label="Dmitri Goutnik\d...@freebsd.org\n2019/09/15"] dryice [label="Dryice Dong Liu\ndry...@freebsd.org\n2006/12/25"] dteske [label="Devin Teske\ndte...@freebsd.org\n2018/03/01"] dumbbell [label="Jean-Sebastien

svn commit: r352422 - head/share/misc

2019-09-16 Thread Dmitri Goutnik
n\n...@freebsd.org\n2009/03/03"] +dmgk [label="Dmitri Goutnik\d...@freebsd.org\n2019/09/15"] dryice [label="Dryice Dong Liu\ndry...@freebsd.org\n2006/12/25"] dteske [label="Devin Teske\ndte...@freebsd.org\n2018/03/01"] dumbbell [label="Jean-Sebastien

Re: How to handle go dependencies

2019-07-06 Thread Dmitri Goutnik via freebsd-ports
Hi Matthias, On 19-07-06 23:30:33, Matthias Fechner wrote: > Am 06.07.2019 um 21:48 schrieb Dmitri Goutnik: > > -USES= gmake go:no_targets > > +USES= gmake go:modules,no_targets > > > > It adds -mod=vendor build flag that tells Go to not try to download >

Re: How to handle go dependencies

2019-07-06 Thread Dmitri Goutnik via freebsd-ports
t try to download anything and assume that all dependencies are already in vendor directory. Best regards, -- Dmitri Goutnik d...@syrec.org ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe,

Re: How to handle go dependencies

2019-06-23 Thread Dmitri Goutnik via freebsd-ports
bling Go modules support by setting GO111MODULES=off so "rm go.mod" can be removed from post-patch (go.mod is ignored with GO111MODULES=off): post-patch: ${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|" ${WRKSRC}/config.toml.example ${MV} ${WRKSRC}/config.toml.examp

Re: How to handle go dependencies

2019-06-23 Thread Dmitri Goutnik via freebsd-ports
/home/pi/m/net/gobgp/work/gobgp-2.5.0/gobgp > > I do not think that I understand what's going on 8-} > It appears that upstream moved gobgp and gobgpd packages to ./cmd, so GO_TARGET needs to be updated: -GO_TARGET= ${GO_PKGNAME}/gobgp \ - ${GO_PKGNAME}/gob

Re: How to handle go dependencies

2019-06-22 Thread Dmitri Goutnik via freebsd-ports
g:net:2491c5:net/vendor/golang.org/x/net \ > > + golang:sync:1d60e4:sync/vendor/golang.org/x/sync \ > > + golang:sys:7c87d1:sys/vendor/golang.org/x/sys > > > > -do-build: > > - ${RM} ${WRKSRC}/go.mod > > - cd ${

Re: lang/go14 doesn't build without COMPAT11 in FREEBSD 12

2019-03-23 Thread Dmitri Goutnik via freebsd-ports
ports > To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org" Hi Lucas, COMPAT_FREEBSD11 is a documented requirement for lang/go and lang/go14 on FreeBSD 12 [1]. [2] explains technical reasons behind this requirement. [1] https://github.com/golang/go/wiki/FreeBS

Re: has a framework change broken sysutils/google-compute-engine-oslogin?

2018-08-08 Thread Dmitri Goutnik
t > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org" Hi Julian, As Jan said, port's Makefile is broken in a sense that not all of its binary targets respect CXXFLAGS. I took a stab at unbreaking th

Re: sysutils/ipfs-go downloads pre-built binaries while sources are available

2018-03-12 Thread Dmitri Goutnik
freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org" -- Dmitri Goutnik d...@syrec.org | GPG: https://syrec.org/d...@syrec.org.asc

Re: Go ports fail with fs violation: Error: Filesystem touched during build:,extra: root/.cache

2018-02-27 Thread Dmitri Goutnik
Go 1.10 started caching build artefacts [1] in GOCACHE (~/.cache/go-build by default). This probably needs to be disabled by settings GOCACHE=off in port Makefiles (unless there's a better way to disable it globally). [1] https://groups.google.com/forum/#!msg/golang-dev/qfa3mHN4ZPA/X2UzjNV1BAAJ O

Re: FreeBSD Port: gogs-0.11.34_1 Fix file commit history pagination

2017-12-31 Thread Dmitri Goutnik
Thanks! PR updated, https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224614 On Sat, Dec 30, 2017 at 11:03 PM, Douglas Thrift wrote: > Hello, > > I've already submitted a fix for this upstream: > > https://github.com/gogits/gogs/pull/4965 > > But, I have also attached a patch to add to the port

Re: FreeBSD Port: gogs-0.11.34_1 rc.d script status does not work correctly

2017-12-27 Thread Dmitri Goutnik
Hi Douglas, This should be fixed by https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224614 Regards, Dmitri On Tue, Dec 26, 2017 at 8:25 PM, Douglas Thrift wrote: > Hello, > > I just noticed that the gogs rc.d script's status subcommand does not > work, when I have verified that gogs is actua

AIM is shutting down today

2017-12-15 Thread Dmitri Goutnik
With AOL Instant Messenger products and services going dark today(*) (December 15th 2017), a few ports will stop working and probably need to be deprecated: net-im/bsflite net-im/p5-Net-AIM net-im/pork security/aimsniff Additionally, these ports irc/bitlbee net-im/centerim net-im/centerim-devel

devel/gogs is looking for a committer

2017-12-08 Thread Dmitri Goutnik
Hi, Can someone please have a look at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224113 Thanks, Dmitri ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-p

Re: FreeBSD Port: gogs-0.11.34

2017-12-04 Thread Dmitri Goutnik
Hi Douglas, Thanks for pointing that out, I missed your comment in the PR discussion. I'll update the port to use "git" user though this will probably make it conflict with www/gitea (and maybe others you mentioned) because they'll be both modifying the contents of ~git/.ssh and will have conflict

Re: GCE: significant clock drift - the solution

2017-01-18 Thread Dmitri Goutnik
Hi Bruce, Thanks for posting this, setting machdep.disable_tsc_calibration=1 indeed makes TSC-low available and fixes the clock drift. The confusing thing is that timecounter choices vary with GCE hardware and the only common choice seems to be low "quality" i8254. On Wed, Jan 18, 2017 at 8:10 P

Re: [go-nuts] $GOROOT_BOOTSTRAP variable not found if all.bash is run with sudo

2016-12-10 Thread Dmitri Goutnik
sudo sanitizes environment, you need to either pass -E option or add GOROOT_BOOTSTRAP to env_keep in /etc/sudoers: Defaults env_keep += "GOROOT_BOOTSTRAP" On Sat, Dec 10, 2016 at 1:57 PM, xMudrii wrote: > Hi, > > I have downloaded Go 1.4 binaries and moved it to `/usr/local/go1.4` for > example

CPUTYPE translation confuses gcc48 on 11.0-BETA1

2016-07-11 Thread Dmitri Goutnik
CPUTYPE translation performed by /usr/share/mk/bsd.cpu.mk seems to confuse gcc48 and as a consequence, all ports that use gcc48 (including lang/gcc itself) fail on configure stage. uname -a: FreeBSD xombo.syrec.org 11.0-BETA1 FreeBSD 11.0-BETA1 #0 r302526: Sun Jul 10 16:12:30 ECT 2016 r...@xo

Re: [Help-glpk] Ordered bin packing

2013-01-27 Thread Dmitri Goutnik
gt; 140 > 260 > 330 > 4 70 > 550 > 640 > 715 > 825 ; > > end; > > > Bin 1: total weight 100 > item 1 (40) > item 2 (60) > > Bin 2: total weight 100 > item 3 (30) &

Re: [Help-glpk] Ordered bin packing

2013-01-27 Thread Dmitri Goutnik
t; > This could be done through the objective function. But before going there, > I'm wondering a bit > about the solution you're showing for your example. Wouldn't you want move > item 7 from Bin 3 to Bin 2 to meet your primary objective? > > Jeff > > &

[Help-glpk] Ordered bin packing

2013-01-27 Thread Dmitri Goutnik
Hello everyone, I modified bpp.mod to pack items in predefined number of bins of unlimited capacity so that weight is (approximately) evenly distributed between bins. In addition to weight, each item has an "order" or "position". Is there a way to write an additional model constraint so that it

Re: NSLog on releasebuild

2008-07-23 Thread Dmitri Goutnik
On Jul 23, 2008, at 6:48 PM, Mike wrote: Hello, During development and debug I typically use tons of NSLog()- messages to get info what's happening. I don't wish to include these messages to release-build so what is common/recommended way to get rid of them? Should I comment them all out o

Re: Being notified of changes to a file

2008-07-21 Thread Dmitri Goutnik
On Jul 20, 2008, at 8:37 PM, Yann Disser wrote: Hi everyone. I am trying to execute a ruby script from within a Cocoa application. I want to use NSTask (any better ideas?). My scripts outputs its progress by printing single lines on standard out containing percentages (e.g. "15%"). How ca

Re: newbie question: NSURLConnection delegation and "method instance"

2008-07-20 Thread Dmitri Goutnik
On Jul 20, 2008, at 11:43 PM, JB Ashton wrote: Hi all, I'm struggling with "receivedData is declared as a method instance elsewhere" in this explanation of NSURLConnection delegation: http://developer.apple.com/documentation/Cocoa/Conceptual/URLLoadingSystem/Tasks/UsingNSURLConnection.html Wh

Re: Flip animation like dashboard widgets

2008-07-18 Thread Dmitri Goutnik
On Jul 18, 2008, at 11:42 AM, chaitanya pandit wrote: Is there any way to do flip animation like the one with dashboard widgets when u click the "i" to change the settings for the widget. Can it be done for NSView? Take a look at Lemur Flip by Mike Lee. - Dmitri __

Re: How to programmatically open an NSComboBox's list?

2008-07-17 Thread Dmitri Goutnik
Hello Jens, On Jul 17, 2008, at 8:26 PM, Jens Alfke wrote: I have an NSComboBox, and I want to automatically pop open the list, without the user having to click the button. But I can't find anything in the API of either the control or the cell to do this. Did I overlook something? I know

NSTextField labels and URLs

2008-07-14 Thread Dmitri Goutnik
Hi, I'm almost positive I've seen this asked here a few weeks back, but search turned up nothing so here goes... I have About panel with copyright label (NSTextField) that have URL in it. Label is set to allow rich text and be selectable, copyright string is loaded from Credits.rtf and as

Re: CALayer transform, setting the Y value of rotation causes side-effects

2008-07-14 Thread Dmitri Goutnik
John, You're rotating layer around Y axis by 2.12041 which is greater than PI/2. So after rotation you're looking at the "back side" of the layer, that's why X and Z get close to PI (i.e. flipped). - Dmitri On Jul 14, 2008, at 8:57 PM, John Clayton wrote: Hi All, I'm setting the rotatio

Re: CoreAnimation and Filters

2008-05-29 Thread Dmitri Goutnik
On May 29, 2008, at 11:32 PM, Joachim Deelen wrote: The Animation of the Filter is working fine. The ZoomBlur gets animated from 20.0 to 0.0 in 1.8 seconds. But as soon as the animation has finished, the Value for the filter instantly drops back to 20.0. I've tried different "fillModes" bu

Re: Mount Point

2008-05-28 Thread Dmitri Goutnik
On May 28, 2008, at 10:36 PM, Mr. Gecko wrote: Hello I have a program that finds a device by it's device number such as /dev/disk2s3 how would I find out the mount point/name of that device? If not how can I find the device number and name from a mount point? mount | grep /dev/disk2s3 | s

Re: NSImage display quality and zooming

2008-05-28 Thread Dmitri Goutnik
On May 28, 2008, at 4:37 AM, also wrote: I've created a custom NSView that displays an image and allows the user to zoom in and out. The view works in general, but the quality of the image displayed is not what I expect. When I zoom in even slightly on a high resolution image (300 dpi, 500x50

Re: How to Delay, Wait, Pause...

2008-05-25 Thread Dmitri Goutnik
Sorry, forgot to hit Reply All.. On May 25, 2008, at 10:45 AM, Steve Steinitz wrote: Hello, This is hard to google for because they are such common words: how do I delay, wait, pause for a tenth of a second? I don't want to use NSTimer because I just want to resume where I left off. I don

Re: Synching Animations Across CALayers

2008-05-23 Thread Dmitri Goutnik
On May 23, 2008, at 11:18 AM, Bridger Maxwell wrote: Perhaps there is a way to see how far along the animation is for a given layer, and be able to make another layer synch to the same time. Surely this has to be possible. Haven't tried this myself but it should be possible to get current