Commit Graph

299 Commits

Author SHA1 Message Date
Joshua Boniface
4fc2bd56ee Add master fallback for web build 2019-11-02 01:24:26 -04:00
Joshua Boniface
e40c82be88 REVERT-ME Update to .NET 3.0 2019-11-02 01:17:12 -04:00
Anthony Lavado
57cf3e24f8 Use the correct file copy operation for the icon 2019-11-01 01:55:09 -04:00
Anthony Lavado
0c003feac6 Fix an incorrect argument type in build script 2019-11-01 01:25:45 -04:00
Anthony Lavado
bde1af5def Add the tray app download to the build script, use it in the installer shortcuts
Adds the tray app download to build-jellyfin, adjusts the shortcuts in the installer, and adds the switch to the pipeline configuration.
2019-10-30 18:16:31 -04:00
Thomas Büttner
e6e9cd8ce2 Remove the SPEC edit hack, replace with proper repos (#7)
* Remove the SPEC edit hack, replace with proper repos

Signed-off-by: Thomas Büttner <thomas@vergesslicher.tech>

* Fix bad rpmbuild flag

Signed-off-by: Thomas Büttner <thomas@vergesslicher.tech>
2019-10-29 18:16:08 -04:00
Anthony Lavado
aca4f83333 Remove extra EndIf 2019-10-29 16:24:45 -04:00
LogicalPhallacy
9c65853ddd
updates win32 build script with nssm mirror 2019-10-28 22:10:36 -07:00
LogicalPhallacy
8c0580aa24
Updating win-x64 build NSSM address 2019-10-28 22:09:46 -07:00
LogicalPhallacy
fd8d4894ca
Updated build-jellyfin.ps1 to pull from my mirror
Updated it to pull from my mirror on Azure.
2019-10-28 22:07:01 -07:00
Joshua M. Boniface
53ee78170a
Merge branch 'master' into copr-fix 2019-10-27 13:52:08 -04:00
Joshua Boniface
2cdf5c203a Correct CentOS build for new Fedora spec 2019-10-27 13:51:32 -04:00
Thomas Büttner
bf11426f7d Add comments about Source URLs and remove no longer needed dependency
Signed-off-by: Thomas Büttner <thomas@vergesslicher.tech>
2019-10-26 19:24:44 +02:00
Anthony Lavado
5e90747541 More preparations for the tray app 2019-10-23 04:14:58 -04:00
Anthony Lavado
cfaf2b97fe Add the "service" argument to the service parameters
This will avoid an exception when the server cannot launch a browser process for the web interface.
2019-10-23 03:49:31 -04:00
Anthony Lavado
14a850b4a8 Change the default AppExit action to Exit
When the service should fail to launch Jellyfin, or should Jellyfin crash, the default action is changed from Restart to AppExit. This prevents the service from entering a constant restart due to a permissions issue or similar.
2019-10-23 03:34:12 -04:00
Anthony Lavado
94932ea216 Make installer shortcut check better
During an upgrade, only create shortcuts if the existing install was not a service install. Otherwise, do not create them.
2019-10-22 04:33:06 -04:00
Anthony Lavado
a278b380b6 Fix syntax errors, move order of upgrade checks, enhance folder check, fix shortcuts
Fixes a syntax error with the NoServiceUninstall section. Moves the detection of an existing Service and datadir further up, so it happens before we decide how the installation will happen. Removed a newline from a comment, and enhanced the existing directory check. Adds an existing folder check, as well as a prompt if the user wants to continue with it or not. Also adds the datadir property to shortcuts.
2019-10-22 04:16:08 -04:00
Thomas Büttner
59995c20f1 Fix buildscript failure, remove unnecessary yarn repo for Fedora build 2019-10-21 23:42:54 +02:00
Joshua Boniface
17c1de7bf2 Clean up ubuntu-armhf build steps
Installs the nodejs package via NodeSource, since the Bionic npm
package is heckin' broken.
2019-10-20 13:01:52 -04:00
Joshua Boniface
44e2d91b2f Clean up ubuntu-arm64 build steps
Installs the nodejs package via NodeSource, since the Bionic npm
package is heckin' broken.
2019-10-20 13:01:44 -04:00
Joshua Boniface
f02ab9818a Clean up ubuntu-x64 build steps
Installs the nodejs package via NodeSource, since the Bionic npm
package is heckin' broken.
2019-10-20 13:00:38 -04:00
Joshua Boniface
9a48486838 Clean up debian-armhf build steps 2019-10-20 13:00:14 -04:00
Joshua Boniface
d9f6c6f289 Clean up debian-arm64 build steps 2019-10-20 12:59:52 -04:00
Joshua Boniface
07d45e82f0 Move web-build into Debian build rules
This removes the convoluted steps in docker-build.sh in favour of
integrating the web-build sequence into the Debian rules file
explicitly. This will allow the web-build to work properly outside of
the boutique Docker container we build, thus allowing it to be build
properly directly on a target system with dpkg-buildpackage.
2019-10-20 12:58:10 -04:00
Joshua Boniface
c30866fc93 Remove web frontend build from docker-build.sh
This is now handled in the RPM spec.
2019-10-20 11:18:12 -04:00
Joshua Boniface
d57ee0b2b8 Remove spec version bump
This will be taken care of with the 10.4.1 bump in stable.
2019-10-20 11:12:45 -04:00
Brian J. Murrell
145df92265 Support buiding jellyfin-web webpack
Needs nodejs >= 8 on EL7
- from https://rpm.nodesource.com/pub_8.x/el/7/x86_64/ on EL7.
Needs yarn
- from yarnpkg.com on EL7
2019-10-17 06:22:35 -04:00
Vasily
dd83784da2
Merge pull request #1887 from joshuaboniface/bump-version
Bump version to 10.5.0 for next stable release
2019-10-16 12:40:01 +03:00
Anthony Lavado
330395e8b6 Check for the presence of AppDataLocal folder before using it 2019-10-16 03:25:39 -04:00
Anthony Lavado
6f504a246b Use the registry path for datadir, don't override it here
Removes an assumption on directory if the user has a datadir from the previous install, use that
2019-10-16 03:18:34 -04:00
Anthony Lavado
63e0bd1d61 Only create/remove shortcuts on non-service install
Should only remove shortcuts if the install type was non-service. On upgrade, check if the install type was non-service, and if so, set the variables correctly and create shortcuts.
2019-10-16 03:14:12 -04:00
Anthony Lavado
5232302532 Adds icons to shortcuts, fixes nsis warning
Adds the icon as a resource file in the program folder, and uses it for the shortcuts created.
Removes an extra section from the dialog creator file, so NSIS won't show a warning for unused code.
2019-10-16 02:29:37 -04:00
Anthony Lavado
dc46620a81 Automatically creates shortcuts for non-service installs
If the user is not installing as a service, then the installer creates a Start Menu shortcut, and a desktop shortcut. Commented out future shortcuts for a tray app.
2019-10-16 02:01:26 -04:00
Anthony Lavado
f80343bf9d Fix the Setup Type dialog titles
I had put the title and subtitle in the wrong order. This corrects the issue.
2019-10-16 01:43:53 -04:00
Anthony Lavado
9ad781324e Fix up Setup Type dialog, and add logic for basic setup
Fix up the Setup Type dialog, by removing an unused function from the page.
Adds logic to the installer to check for a basic or advanced setup choice. Ensures that the service is only installed if the "advanced" method is chosen. Note - it may be possible to remove some defaults from the .onInit, considering they get set through the program now.
2019-10-15 04:24:30 -04:00
Anthony Lavado
05fb84ba22 Make service setup an optional component, remove setuptype page config for now 2019-10-12 04:39:34 -04:00
Anthony Lavado
04c4ad731e Begin to add setup type dialog 2019-10-12 03:56:46 -04:00
Anthony Lavado
c8ffa2fb1d Set service install default to no 2019-10-12 03:03:33 -04:00
Joshua Boniface
fffc5e3a6f Bump version to 10.5.0 for next stable release 2019-10-11 20:12:52 -04:00
Joshua Boniface
f20555bf4a Use NVM to install nodejs v8 and yarn
Prevents failure of the installation of jellyfin-web dependencies due
to the NodeJS version in EPEL being too old. v8 might be a little
conservative but is the earliest compatible version. Instead of using
their repo to install Yarn, use the new nvm binary to install Yarn, thus
forcing it to use the updated NodeJS version.
2019-10-07 23:34:02 -04:00
Erwin de Haan
adde41c533
Remove /bin from ffmpeg path. 2019-10-06 22:26:17 +02:00
Erwin de Haan
3925e1dced
Fix extracted path from ffmpeg zip. 2019-10-06 22:20:49 +02:00
Erwin de Haan
c7d1206dcb
Switch to custom patched build for ffmpeg 2019-10-06 22:03:44 +02:00
Joshua Boniface
3651755984 Properly build DLL for porable 2019-09-30 01:11:11 -04:00
Joshua M. Boniface
61f2c41b76 Recursively zip Windows packages (#1809)
Without -r the directory is not properly zipped up.
2019-09-29 00:33:31 -04:00
Joshua Boniface
547a6121b0 Remove redundant yarn build command 2019-09-26 22:09:19 -04:00
Joshua Boniface
3b935d8fd0 Clean up old changelog entires from Debian package 2019-09-25 14:54:39 -04:00
Joshua Boniface
15b83f8b55 Clean up and fix Fedora/CentOS builds
This performs a lot of bugfixing and general cleanup to the
Fedora/CentOS builds, including moving the create_tarball into the
docker-build.sh script, remove some old long versions from the spec
file, correcting several bugs with the Docker environment including
splitting them into more discrete layers, and finally making sure
jellyfin-web is included properly in the RPM.
2019-09-25 14:45:15 -04:00
Joshua Boniface
56a879e148 Use redirection instead of tee 2019-09-25 14:20:49 -04:00
Joshua Boniface
4b257b7b4a Clean up web_build_dir in docker-build.sh 2019-09-25 01:36:20 -04:00
Joshua Boniface
172a81b22c Clean up deployment directory
1. Update README.md to remove some old info
2. Remove common.build.sh from all the build scripts
3. Remove common.build.sh script
4. Remove the docker folder as this isn't used at all
2019-09-25 01:28:07 -04:00
Joshua Boniface
5c7ca6b363 Port Windows x86 build to Docker and add web build 2019-09-25 01:27:35 -04:00
Joshua Boniface
93b213b59f Port Windows x64 build to Docker and add web build 2019-09-25 01:27:28 -04:00
Joshua Boniface
3b669521da Port Portable build to Docker and add web build 2019-09-25 01:10:04 -04:00
Joshua Boniface
05f01b2c45 Port MacOS build to Docker and add web build 2019-09-25 01:06:50 -04:00
Joshua Boniface
f36b898a4d Port Linux build to Docker and add web build 2019-09-25 01:06:18 -04:00
Joshua Boniface
fa9b0d9da1 Add web build to Fedora package build 2019-09-24 23:25:46 -04:00
Joshua Boniface
1c2fd4ef84 Add web build to CentOS package build 2019-09-24 23:24:22 -04:00
Joshua Boniface
be3b05df68 Add web build to Ubuntu arm64 package build 2019-09-24 23:17:11 -04:00
Joshua Boniface
601a50e430 Add web build to Ubuntu armhf package build 2019-09-24 23:15:31 -04:00
Joshua Boniface
03d60438e2 Add web build to Ubuntu amd64 package build 2019-09-24 23:13:40 -04:00
Joshua Boniface
9b6720ce80 Add web build to Debian arm64 package build 2019-09-24 23:11:18 -04:00
Joshua Boniface
b9e0a0b1ac Add web build to Debian armhf package build 2019-09-24 23:09:47 -04:00
Joshua Boniface
d22fd964c2 Add web build to Debian amd64 package build 2019-09-24 23:06:47 -04:00
Joshua Boniface
12f24674fb Fix up Windows build script copy 2019-09-24 22:10:12 -04:00
dkanada
1156b8f100
Merge pull request #1788 from joshuaboniface/ssl-dep-ubu
Include libssl-dev dep in Ubuntu build containers
2019-09-24 13:12:03 +09:00
Anthony Lavado
229bd598b5
Add escapes for path quotes in the NSIS Installer (#1777)
This adds backslashes to escape the `--datadir` path in the Windows Installer. Without this, the path would be dropped at the first space (e.g. `C:\Test Area\Jellyfin` would become `C:\Test`).

Fixes #1773.
2019-09-20 13:45:20 -04:00
Joshua Boniface
260dd37bd5 Include libssl-dev dep in Ubuntu build containers 2019-09-20 11:55:51 -04:00
Erwin de Haan
2f2010ce59 NSIS improvements (#1692)
* Much better, but still broken

It crashes with two custom pages after one another. (So when the service should be installed).

* Fixed the problems and finished the NSIS installer.

Also ignored some of the artifacts.

* Added changes to CI for setup building.

Consolidate building and fixed git error.

Small CI fixes.

Move UX repo to SourcesDirectory

Fix stupid checkout <> clone error.

Fix typo in PowerShell command.

Artifact publish tasks can not have wildcards.
2019-09-09 17:40:51 -04:00
Joshua M. Boniface
fde9dd2a61
Merge pull request #1693 from joshuaboniface/update-libssl
Update Debian build to Buster and LibSSL 1.1
2019-09-02 21:11:57 -04:00
Joshua Boniface
5552e8cbd7 Add missing build dependency 2019-09-02 20:13:28 -04:00
Joshua Boniface
742102b541 Bump version to 10.4.0 2019-08-31 21:39:10 -04:00
Joshua Boniface
93a668de8b Add libssl-dev dependency 2019-08-31 01:17:23 -04:00
Joshua Boniface
1d5b11f7f6 Update GCC crossbuild to version 8 2019-08-31 01:12:11 -04:00
Joshua Boniface
b1c7b88b5b Use latest 2.2.6 dotnet SDK image (2.2.401) 2019-08-31 00:39:46 -04:00
Joshua Boniface
bedc2be525 Add libssl-dev build dependency 2019-08-31 00:32:26 -04:00
Joshua Boniface
fb37f4a1d5 Use base Debian image in Docker build 2019-08-26 11:05:15 -04:00
Joshua Boniface
5945a638ff Update builds to Debian 10 and OpenSSL to 1.1-only 2019-08-26 11:00:36 -04:00
loli10K
588db95e2a Fix firewall-cmd: Error: INVALID_SERVICE: 'jellyfin' not among existing services 2019-08-20 20:27:31 +02:00
Joshua M. Boniface
94e25e898a
Merge pull request #1511 from crankdoofus/master
Add NSIS installer build support
2019-08-18 13:56:20 -04:00
crankdoofus
c6111a7fb5
Change service install user
The default is Network Service, with advanced option to use Local System
2019-07-27 20:23:22 +10:00
crankdoofus
5517d912bf
Rework based on review comments 2019-07-25 21:52:44 +10:00
crankdoofus
fbbcba95d3
Update installer name to copy 2019-07-25 21:51:53 +10:00
Bond-009
e8028de4d7
Merge pull request #1560 from jellyfin/release-10.3.z
Backmerge for 10.3.7
2019-07-24 19:10:04 +02:00
Joshua M. Boniface
595a68b822 Bump version for 10.3.7 2019-07-24 10:48:35 -04:00
Joshua M. Boniface
953f077f9d Override the installinit name
Without this, when building the `jellyfin-nightly` package, it attempts
to find service/init files with the name `jellyfin-nightly` instead of
the proper name. This override prevents this by forcing the name to
`jellyfin`. Required for nightly builds.
2019-07-14 23:11:17 -04:00
Joshua M. Boniface
0f8e2600e3 Fix broken symlinks
These were removed somehow in defc5f1cf9b486357b379c610663e1bad48428ad;
restore them to their proper link state.
2019-07-13 14:23:57 -04:00
Joshua M. Boniface
881f385a61 Use dash or underscore on mv command
Required for nightlies, which would not match this file format with the
underscore then wildcard. Enables nightly builds.
2019-07-13 13:03:50 -04:00
crankdoofus
e31851d25e
Update to uninstall silently if already installed 2019-07-13 21:16:56 +10:00
crankdoofus
aff72323c6
Update code for in-place upgrades 2019-07-09 22:56:23 +10:00
crankdoofus
8555c5fae1
Correct comment 2019-07-07 09:17:03 +10:00
crankdoofus
da71354e82
Remove Emby migration section, include License 2019-07-07 09:13:27 +10:00
crankdoofus
3d0e7f6cb6
Include License file with installation 2019-07-07 09:10:35 +10:00
Bond-009
82f041d050
Merge branch 'master' into release-10.3.z 2019-07-06 23:08:52 +02:00
Joshua M. Boniface
b3f9d04501 Bump version for 10.3.6 2019-07-06 13:34:38 -04:00
crankdoofus
cea6a2217e
Correct Service handling & LocalAppData folder
The service is now completely controlled by nssm as with the install-jellyfin.ps1
The LocalAppData had the global context, its now 
Corrected order of Mandatory and Optional components.
2019-07-06 18:34:48 +10:00
crankdoofus
dc3eceec6a
Changed order to include install scripts in installer 2019-07-06 18:02:00 +10:00
crankdoofus
a6819ffd1d
Cleaned up code 2019-07-06 12:19:57 +10:00
crankdoofus
de9ee10abc
Uncomment accidental commenting of compilation 2019-07-06 12:18:20 +10:00