Browse Source

packaging updates

master
Odilitime 5 years ago
parent
commit
b8fe5dc78c
  1. 30
      README.md
  2. 22
      reltools/darwin/package.sh
  3. 5
      reltools/linux/package_from_darwin.sh
  4. 5
      reltools/linux/package_from_linux.sh
  5. 21
      reltools/winnt/package_from_darwin.sh
  6. 0
      res/anime_blank.pnm

30
README.md

@ -33,7 +33,7 @@ These do not include mbedtls yet, if you know the correct package name for your @@ -33,7 +33,7 @@ These do not include mbedtls yet, if you know the correct package name for your
Also will need either libmbedtls-dev (Debian 9/Ubuntu 16LTS (xenial)) or libpolarssl-dev (Debian 8 or earlier)
#### Arch (and derivates)
`sudo pacman -Suy glew glfw freetype2 harfbuzz`
`sudo pacman -Suy glew glfw freetype2 harfbuzz mbedtls`
#### Void
`sudo xbps-install -S glew glfw harfbuzz-devel`
@ -41,8 +41,8 @@ Also will need either libmbedtls-dev (Debian 9/Ubuntu 16LTS (xenial)) or libpola @@ -41,8 +41,8 @@ Also will need either libmbedtls-dev (Debian 9/Ubuntu 16LTS (xenial)) or libpola
#### Gentoo
`sudo emerge freetype harfbuzz glew glfw`
#### Mac OS X
`brew install glew glfw freetype harfbuzz mbedtls`
### Mac OS X (Brew)
`sudo brew install glew glfw freetype harfbuzz mbedtls`
## Binaries
### Linux
@ -58,9 +58,11 @@ GyroNinja.net is back online @@ -58,9 +58,11 @@ GyroNinja.net is back online
### Windows
[2017-08-20 binary package](https://my.mixtape.moe/exebyr.zip)
[Jenkins 32bit](https://nt-build-bot.rvx86.net:7421/job/netrunner-winnt-i686/)
[32bit nightly package](https://nt-build-bot.rvx86.net/job/netrunner-winnt-i686/lastSuccessfulBuild/artifact/*zip*/archive.z)
[64bit nightly package](https://nt-build-bot.rvx86.net/job/netrunner-winnt-amd64/lastSuccessfulBuild/artifact/*zip*/archive.z)
[Jenkins 64bit](https://nt-build-bot.rvx86.net:7421/job/netrunner-winnt-amd64/)
[Jenkins 32bit](https://nt-build-bot.rvx86.net/job/netrunner-winnt-i686/)
[Jenkins 64bit](https://nt-build-bot.rvx86.net/job/netrunner-winnt-amd64/)
## Milestones
- Browse 4chan /g/ board
@ -79,6 +81,9 @@ Join IRC, compile the code, figure out something you want to improve @@ -79,6 +81,9 @@ Join IRC, compile the code, figure out something you want to improve
- What about security?
I don't think one on here could ever say they know what their doing without being laughed off the board. Security is a huge challenge to any project. We're going to do the best with the resources we have.
## Contributing
[Our style](https://en.wikipedia.org/wiki/Indent_style#Variant:_1TBS_.28OTBS.29)
## Who
- Odilitime - Lead Developer
@ -89,18 +94,25 @@ I don't think one on here could ever say they know what their doing without bein @@ -89,18 +94,25 @@ I don't think one on here could ever say they know what their doing without bein
- Windows Dev, SSL Support
- repo: https://gitgud.io/despair/netrunner/
- Geertiebear
- OpenGL Shader rework
- repo:
-
- Nubben
- contributed local file code
- contributed local file code, WebResource, CommandLineParams, URL object
- repo: https://github.com/nubben/netrunner
- Tomleb
- contributed keyboard code
- contributed keyboard code and URL parser
- repo: https://github.com/tomleb/netrunner
- RetroTech - Web / Sys Admin
- Created original website
- manages existing website
- Helps manage archive of logos and threads
- set up etherpad for collaboration
- set up/manages etherpad for collaboration
- Gyroninja - Jenkins
- Was original Lead Developer (left to work on a servo-based project), Linux Dev, Did primary OOP planning and structure
@ -137,4 +149,4 @@ We coordinate on [irc.rizon.net](https://www.rizon.net/chat) #/g/netrunner or [O @@ -137,4 +149,4 @@ We coordinate on [irc.rizon.net](https://www.rizon.net/chat) #/g/netrunner or [O
### Class Types
- Nodes: DOM tree objects
- Elements: Individual tag types
- Components: (gameobjects) renderer entities
- Components: (gameobjects) renderer entities

22
reltools/darwin/package.sh

@ -4,19 +4,19 @@ physicalCpuCount=$([[ $(uname) = 'Darwin' ]] && @@ -4,19 +4,19 @@ physicalCpuCount=$([[ $(uname) = 'Darwin' ]] &&
lscpu -p | egrep -v '^#' | sort -u -t, -k 2,4 | wc -l)
mkdir netrunner-$(date +%F)
cd netrunner-$(date +%F)
cp ../*.dylib .
cp ../../../*.ttf .
cp ../../../anime.pnm .
cp ../../../anime_blank.pnm .
cp ../../../ca-bundle.crt .
cp ../*.dylib .
# this now has the ttfs and pnm
cp -r ../../../res .
rm res/.DS_Store
cp ../../../ca-bundle.crt .
cd ../../../
make -j$physicalCpuCount
make -j$physicalCpuCount
cd reltools/darwin/netrunner-$(date +%F)
cp ../../../netrunner .
install_name_tool -change /usr/local/lib/libGLEW.2.0.0.dylib libGLEW.2.0.0.dylib netrunner
install_name_tool -change /usr/local/lib/libfreetype.6.dylib libfreetype.6.dylib netrunner
install_name_tool -change /usr/local/lib/libharfbuzz.0.dylib libharfbuzz.0.dylib netrunner
otool -L netrunner
cp ../../../netrunner .
install_name_tool -change /usr/local/lib/libGLEW.2.0.0.dylib libGLEW.2.0.0.dylib netrunner
install_name_tool -change /usr/local/lib/libfreetype.6.dylib libfreetype.6.dylib netrunner
install_name_tool -change /usr/local/lib/libharfbuzz.0.dylib libharfbuzz.0.dylib netrunner
otool -L netrunner
cd ..
zip -r -X netrunner-$(date +%F)-darwin.zip netrunner-$(date +%F)
rm -fr netrunner-$(date +%F)

5
reltools/linux/package_from_darwin.sh

@ -1,9 +1,8 @@ @@ -1,9 +1,8 @@
#!/bin/bash
mkdir netrunner-$(date +%F)
cd netrunner-$(date +%F)
cp ../../../*.ttf .
cp ../../../anime.pnm .
cp ../../../anime_blank.pnm .
# this now has the ttfs and pnm
cp -r ../../../res .
cp ../../../ca-bundle.crt .
curl https://gyroninja.net:1615/job/NetRunner/lastSuccessfulBuild/artifact/netrunner > netrunner
cd ..

5
reltools/linux/package_from_linux.sh

@ -1,9 +1,8 @@ @@ -1,9 +1,8 @@
#!/bin/bash
mkdir netrunner-$(date +%F)
cd netrunner-$(date +%F)
cp ../../../*.ttf .
cp ../../../anime.pnm .
cp ../../../anime_blank.pnm .
# this now has the ttfs and pnm
cp -r ../../../res .
cp ../../../ca-bundle.crt .
cp ../../../netrunner .
cd ..

21
reltools/winnt/package_from_darwin.sh

@ -0,0 +1,21 @@ @@ -0,0 +1,21 @@
#!/bin/bash
mkdir netrunner-$(date +%F)-32
cd netrunner-$(date +%F)-32
# this now has the ttfs and pnm
cp -r ../../../res .
cp ../../../ca-bundle.crt .
curl https://nt-build-bot.rvx86.net/job/netrunner-winnt-i686/lastSuccessfulBuild/artifact/bin/netrunner.exe > netrunner32.exe
cd ..
zip -r -X netrunner-$(date +%F)-win32.zip netrunner-$(date +%F)-32
rm -fr netrunner-$(date +%F)-32
mkdir netrunner-$(date +%F)-64
cd netrunner-$(date +%F)-64
# this now has the ttfs and pnm
cp -r ../../../res .
cp ../../../ca-bundle.crt .
curl https://nt-build-bot.rvx86.net/job/netrunner-winnt-amd64/lastSuccessfulBuild/artifact/bin/netrunner.exe > netrunner64.exe
cd ..
zip -r -X netrunner-$(date +%F)-win64.zip netrunner-$(date +%F)-64
rm -fr netrunner-$(date +%F)-64
# https://gitgud.io/snippets/29

0
anime_blank.pnm → res/anime_blank.pnm

Loading…
Cancel
Save