Coder Social home page Coder Social logo

Comments (13)

psa avatar psa commented on July 28, 2024 1

Also, if you're running FreeBSD 13.0, you can pull a binary release from https://github.com/psa/photoprism-freebsd-port/releases

from photoprism-freebsd-port.

psa avatar psa commented on July 28, 2024 1

@dml33

cd /usr/ports/www
git checkout https://github.com/huo-ju/photoprism-freebsd-port photoprism
cd photoprism
make package

The package should then be in the work directory.

The better way to do it is to use poudriere, it takes a little more configuration and you can find several guides, such as this one https://danschmid.de/en/blog/poudriere-guide

If you want to use that, then you'll need to checkout this repository in the poudriere ports directory (e.g. /usr/local/poudriere/ports/default/www/photoprism) and then run poudriere bulk -j <poudriere jail name> www/photoprism

from photoprism-freebsd-port.

psa avatar psa commented on July 28, 2024

Fixed in #18

from photoprism-freebsd-port.

jwcasl avatar jwcasl commented on July 28, 2024

Thank you! I'm unfortunately still on FreeBSD 12.2 since I'm using XigmaNAS as the base system, and it has not yet moved to v13. Is it possible to provide the binary release for FreeBSD 12.2?

from photoprism-freebsd-port.

dml33 avatar dml33 commented on July 28, 2024

Awesome that there is now a binary package! I am also running it in a FreeBSD 12.2 jail in XigmaNAS. Last time, it took me a whole day to compile the whole port of the 20210505 version, apart from solving some compiling problems regarding Tensorflow (a missing patch and set CPU limitation to 2 cores).

Does this package have the AVX CPU extensions enabled? For example, my tiny Intel N3050 processor does not have them. Maybe, different packages depending on it could be released.

If you provide a FreeBSD 12.2 package I will be pleased to test it.

Many thanks.

from photoprism-freebsd-port.

psa avatar psa commented on July 28, 2024

Unfortunately, I only build for my servers and they're all FreeBSD 13.0 with AVX (but not AVX2). If someone builds 12.2 packages and wants them hosted in the same place, I'm happy to attach them to my releases page.

from photoprism-freebsd-port.

dml33 avatar dml33 commented on July 28, 2024

How do you build the txz package? Is there any script? In the Makefile I do not see any package section.
Thanks

from photoprism-freebsd-port.

dml33 avatar dml33 commented on July 28, 2024

@dml33

cd /usr/ports/www
git checkout https://github.com/huo-ju/photoprism-freebsd-port photoprism
cd photoprism
make package

The package should then be in the work directory.

The better way to do it is to use poudriere, it takes a little more configuration and you can find several guides, such as this one https://danschmid.de/en/blog/poudriere-guide

If you want to use that, then you'll need to checkout this repository in the poudriere ports directory (e.g. /usr/local/poudriere/ports/default/www/photoprism) and then run poudriere bulk -j <poudriere jail name> www/photoprism

I have just built the 20210505 package for FreeBSD 12.2 and non AVX CPUs. How can I send it to you?

from photoprism-freebsd-port.

psa avatar psa commented on July 28, 2024

@dml33 I have sent you a collaboration request, once you accept you should be able to upload to the repository directly.

If that doesn't work for you, let me know and I'll send you an email address you can use which will accept large attachments.

from photoprism-freebsd-port.

dml33 avatar dml33 commented on July 28, 2024

@psa Thanks! I have just uploaded my package as a new release.
Just as suggestion, I like the style used for releases for Emby-server, for example:
https://github.com/MediaBrowser/Emby.Releases/releases
There, under the same Release, there are differente packages, for differente platforms and flavours.
In this case, under the 20210505 release, we could place both the FreeBSD 13.0 and FreeBSD 12.2-noAVX packages.
Do as you wish, of course.

Thank you for letting me collaborate with you.

from photoprism-freebsd-port.

psa avatar psa commented on July 28, 2024

@dml33 Great idea, thanks. Fixed.

from photoprism-freebsd-port.

psa avatar psa commented on July 28, 2024

@huo-ju I believe this can be closed.

from photoprism-freebsd-port.

dml33 avatar dml33 commented on July 28, 2024

@psa I have just finished compiling g20210523. I am uploading the g20210523 package for FreeBSD 12.2 and no-AVX CPU extensions to your repository.
Thanks to you both!

from photoprism-freebsd-port.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.