Commit Graph
43 Commits
Author SHA1 Message Date
Joshua M. Boniface 01e8c4bdd5 Revert "Upgrade packages" 2025-09-26 22:16:40 -04:00
Shadowghost 1cc2e42a99 Upgrade packages 2025-09-25 13:26:20 +02:00
Joshua M. Boniface 729990ac33 Fix ICU dependency for Debuntu 2025-08-30 11:21:09 -04:00
Joshua M. Boniface 671d66c35c Fix Trixie cross-building
Debian 13 removed the `cross-gcc-dev` package as it was unmaintained
(Debian bug #1107126). This broke the existing cross build setup.

Instead, switch to using binary cross-gcc packages, which work the same
without having to manually generate the libraries. This is still fully
symmetrical.
2025-08-14 11:39:15 -04:00
Joshua M. Boniface 8f821c9540 Add ICU libs to Docker builders 2025-08-12 23:13:17 -04:00
Joshua M. Boniface 7c9f0a3da1 Wrap libjemalloc symlink in conditional 2025-06-14 22:53:04 -04:00
Joshua M. Boniface 70b62123db Improve libjemalloc detection
Instead of using dpgk-architecture (in `dpkg-dev`), directly find the
file with ldconfig -p, a grep, an awk, and head -n1 to find the first
instance.

This is not very pretty but should work universally.
2025-06-14 22:45:46 -04:00
Joshua M. Boniface 90bf1c632a Properly support libjemalloc multiarch 2025-06-14 22:31:43 -04:00
Joshua M. Boniface 85f3482551 Add libjemalloc2 to Debian packages
Addresses jellyfin/jellyfin#11588 for Debuntu packages, mirroring #70
for these OS-level packages.
2025-06-14 13:14:06 -04:00
Joshua M. Boniface 34ba5153c4 Add support for Debug releases
Allows specifying --debug to build.py to build Debug builds of the
server, facilitating easier debugging. This is then called by default
for weekly builds.
2025-04-11 16:52:35 -04:00
Joshua M. Boniface 22f1a26ee7 Add safe.directory for jellyfin-web
Ensures that the `git` command to obtain the commit hash works properly.
2024-11-21 14:34:26 -05:00
Joshua M. Boniface deaf5b96c5 Remove wget removal from Dockerfiles
This seems to throw errors randomly when building locally. As these are
purely build containers, the extra few kB due to wget doesn't matter.
2024-11-21 14:34:26 -05:00
Joshua M. Boniface 67d680a3aa Remove masking and unmasking during postrm
I'm not sure why we ever added this, but like unmasking, this is outside
of our purview to manage.
2024-11-21 14:31:39 -05:00
Joshua M. Boniface 07c797fc78 Simplify service handling during postinst
1. Don't try to unmask the service; that's not in our purview.

1. Don't start the Jellyfin service if the
`DISABLE_JELLYFIN_AUTOSTART` environment variable is set. Allows
explicit disabling of Jellyfin starting during package updates.
2024-11-21 14:31:39 -05:00
Joshua M. Boniface 72bcd5a2f6 Remove old crufty commands
1. We should no longer care about Emby sudoers, that is long-since
obsoleted.

2. We shouldn't need to touch existing config dirs. While I've never had
this break things, I don't think we need to worry about this ancient
migration any longer.
2024-11-21 14:31:39 -05:00
Joshua M. Boniface 78589faa6d Fix up failed-to-stop message 2024-11-21 14:31:39 -05:00
Joshua M. Boniface 73642f3cda Ensure git is installed in builders
Needed for Webpack to get the commit SHA1 hash.
2024-11-03 11:05:05 -05:00
Joshua M. Boniface 6b2d24b40c Fix incorrect envvar for temporary path 2024-10-28 02:55:22 -04:00
Joshua M. Boniface 3913a5a5b4 Add TEMPDIR option to environments
Allows reconfiguration of jellyfin/jellyfin#12226 by the administrator
if required for Debuntu. Commented by default to preserve default
operation as this is a DotNET variable.
2024-10-28 02:45:56 -04:00
Joshua M. Boniface 6beda5c94f Swap preference for Recommends
This order should prefer ours over the distro package.
2024-09-28 17:39:31 -04:00
nyanmisaka 116d2fa9cd Switch to jellyfin-ffmpeg7
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-09-09 23:19:54 +08:00
Joshua M. Boniface a85c22d5ad Fix bad spacing 2024-09-03 15:05:23 -04:00
Joshua M. Boniface 674709b0ee Improve ownership further
1. Loop instead of individual entries
2. Create the dirs if they don't exist
3. Use stat to check current user; if it's root, chown
2024-09-03 15:02:28 -04:00
Joshua M. Boniface f1e361d211 Ensure CONFIGDATA is properly set up
Fixes #37
2024-08-25 23:21:13 -04:00
Joshua M. Boniface 5a4ba50dc8 Only change ownership during directory creation
If a user changes directory permissions or ownership, don't overwrite
this on upgrade; just set it once during creation.

Closes #32
2024-08-04 22:15:50 -04:00
Joshua M. Boniface ab92096493 Add dependencies for libfontconfig and adduser
Both are required for a functional system, so add them as hard
dependencies. Also add ffmpeg as a recommends, in case the Metapackage
is not installed.

Closes #34
Closes #33
2024-08-04 22:12:40 -04:00
Joshua M. Boniface 59794c9fac Merge pull request #31 from eppesuig/master
Ensure that "rm -rf" never fails in debian/jellyfin-server.postrm
2024-08-04 22:02:33 -04:00
Joshua M. Boniface c46373945b Add additional override options to service.d conf
1. Add examples of overriding the Group and WorkingDirectory; the former
being important if one decides to use an alternate data/working
directory.

2. Simplify the comments around the service hardening options,
especially given that we've now removed the hacky restart.sh restarting
method.
2024-07-06 13:47:44 -04:00
eppesuig cd24feed96 Update jellyfin-server.postrm
Ensure that "rm -rf" never fails. It may happens when user changed a directory like /var/cache/jellyfin into a mount point.
Without this patch, at any error, the shell script exits (because is has been activated with "-e")
2024-06-25 15:37:11 +02:00
Joshua M. Boniface d38fbe0d19 Switch (back) to using .NET install script
The .deb/repository fails on Ubuntu 24.04 "Noble". Since this must be
consistent across all builds, switch to the script instead.
2024-05-17 18:29:06 -04:00
Joshua M. Boniface 47d631b115 Avoid failing if sources.list.d is empty 2024-04-30 01:39:23 -04:00
Joshua M. Boniface 0f59b4638b Remove extraneous sources.list.d entries on Ubuntu
Fixes a build failure on Noble due to duplications in here, but should
still work on older version as well since we write new versions and
those just used sources.list (not the .d directory)
2024-04-30 01:36:44 -04:00
Joshua M. Boniface 7c5d44480f Fix bad newline 2024-02-25 15:23:24 -05:00
Uruk 32002b2ed7 Apply suggestions 2024-02-23 18:39:40 +01:00
Uruk 8698aba49e Apply suggestions 2024-02-23 18:36:32 +01:00
Uruk 76a60266d1 Apply suggestions 2024-02-23 18:24:32 +01:00
Uruk 104f91e697 Refactor jellyfin-packaging
- Fix typo in the README
 - Added -f to rm from fix https://github.com/jellyfin/jellyfin/pull/11008
 - Apply fix from https://github.com/jellyfin/jellyfin/pull/10763
 - Refactor Docker for better syntax and readability
 - Update Intel runtime drivers to 24.05.28454.6
 - Added possible miss line 159 docker/Dockerfile : "--ffmpeg", "/usr/lib/jellyfin-ffmpeg/ffmpeg"
 - Removed wget in cleanup
2024-02-23 17:52:10 +01:00
Joshua M. Boniface 05d21f5f78 Make all variables more descriptive 2024-02-15 01:23:51 -05:00
Joshua M. Boniface 92a66671b6 Convert jellyfin-web to platform-independent arch 2024-02-12 09:54:51 -05:00
Joshua M. Boniface 99ec87bb63 Remove blank line 2024-02-11 14:21:59 -05:00
Joshua M. Boniface 7666f4d8b4 Add Dockerized debian builders 2024-02-07 02:26:43 -05:00
Joshua M. Boniface 1784777c50 Fix naming of per-package files 2024-02-04 02:20:03 -05:00
Joshua M. Boniface 9a2248e1d2 Add combined Debian build 2024-02-03 16:09:29 -05:00