Bug 208858 - graphics/nvidia-texture-tools missing libnvtt.a for static linking
Summary: graphics/nvidia-texture-tools missing libnvtt.a for static linking
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-17 15:17 UTC by fcsk.aim
Modified: 2016-05-26 09:43 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (amdmi3)


Attachments
Patch to make graphics/nvidia-texture-tools install static libraries (1.13 KB, patch)
2016-04-21 14:36 UTC, Dmitry Marakasov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description fcsk.aim 2016-04-17 15:17:37 UTC
Hello, can someone make the libnvtt.a  ?

There's no present libnvtt.a for static linking. Thanks.
Also  this adress  https://code.google.com/archive/p/nvidia-texture-tools/ not work anymore.
Update it to https://github.com/castano/nvidia-texture-tools


And if someone can make the libnvtt.a i need it very fast.  Thanks.
Comment 1 fcsk.aim 2016-04-20 20:45:00 UTC
Uppppp, please. xD
Comment 2 Dmitry Marakasov freebsd_committer freebsd_triage 2016-04-21 11:02:08 UTC
nvidia-texture-tools does not support building static and shared libraries at the same time, and switching to static libraries will break dependent ports. MASTER_SITES and WWW update committed, thank you.
Comment 3 fcsk.aim 2016-04-21 13:41:09 UTC
Can you please just make a patch for ports and post it here?
So i can compile myself with ports.

Or maybe a option in ports

make static
Comment 4 Dmitry Marakasov freebsd_committer freebsd_triage 2016-04-21 14:35:03 UTC
(In reply to fcsk.aim from comment #3)

I'd be fine with the option as long as it were compatible with other ports.

Patch is doable though, follows.
Comment 5 Dmitry Marakasov freebsd_committer freebsd_triage 2016-04-21 14:36:21 UTC
Created attachment 169524 [details]
Patch to make graphics/nvidia-texture-tools install static libraries

cd /usr/ports/graphics/nvidia-texture-tools && patch < nvidia-texture-tools-static.patch
Comment 6 fcsk.aim 2016-04-29 16:08:57 UTC
(In reply to Dmitry Marakasov from comment #5)
Allright, thanks. :D

One more request, and i'm done.
Can't you compile static nvtt.a and add it intro package repository ?
I mean when packages are installed with pkg they are downloaded from a repository with precompiled libs and builds.
Can't you make libnvtt.a for packages ?
This will not break the ports.

I never used ports, always used pkg.
Comment 7 fcsk.aim 2016-05-01 13:57:17 UTC
I tried to make static lib, i was waiting for 3 hours and packages install and install thing and never stop.

THX
Comment 8 fcsk.aim 2016-05-05 01:54:56 UTC
uppppppppp
Comment 9 fcsk.aim 2016-05-10 00:23:32 UTC
Someone, please... :(  Just compile and upload intro pkg repository.
Comment 10 fcsk.aim 2016-05-11 03:20:42 UTC
Today I tried, but I waited 4 hours.
Uppp
Comment 11 fcsk.aim 2016-05-25 21:15:20 UTC
Upp
Comment 12 Dmitry Marakasov freebsd_committer freebsd_triage 2016-05-26 09:43:53 UTC
Please stop this, ports is no place to requests tweaks for your custom needs. Static libs in nvidia-texture-tools is not comaptible with other ports, so there's no way for it to end up in the official package repository, period.