Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial work to support per-application framebuffer #320

Closed
wants to merge 232 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
232 commits
Select commit Hold shift + click to select a range
a96f542
Move all screen updates to main thread
Eeems Jul 3, 2023
42b8f78
Embed libqsepaper in liboxide
Eeems Jul 4, 2023
bdee5dd
Fix issues with wlan
Eeems Jul 4, 2023
0d0aee6
Fix #145 Detect usb cable
Eeems Jul 4, 2023
979061c
Add rM2 support
Eeems Jul 4, 2023
f84b224
Start creating tarnish api in liboxide
Eeems Jul 4, 2023
83970a0
Start updating applications to use Oxide::Tarnish
Eeems Jul 4, 2023
bff203f
Begin adding logic for framebuffer and events
Eeems Jul 4, 2023
fba2964
Expose framebuffer as image
Eeems Jul 4, 2023
e817398
Get example of writing to framebuffer working
Eeems Jul 5, 2023
f81a1b9
Get partial updates working
Eeems Jul 5, 2023
e30f7eb
Start working on qpa for oxide
Eeems Jul 5, 2023
4513042
Get initial qpa display working
Eeems Jul 5, 2023
731ca29
Fix display size and get touch events working
Eeems Jul 5, 2023
949304b
Move all GUI applications to the new QPA
Eeems Jul 5, 2023
343a53b
Get qpa actually working through shared memory
Eeems Jul 5, 2023
0305bf9
Fix crash and some repaint issues
Eeems Jul 5, 2023
d39c272
Get rid of debugging that slows things down
Eeems Jul 5, 2023
2daf284
Switch to gui API for QPA
Eeems Jul 6, 2023
7f014c6
Attempt to use the correct waveform for the different updates
Eeems Jul 6, 2023
b49ac2e
Don't flash screen when resuming
Eeems Jul 6, 2023
c8dd200
Try to fix crash during cleanup
Eeems Jul 6, 2023
dcfbe57
Speed up screen display
Eeems Jul 7, 2023
3b0b53b
Lots of rework on how the dbus APIs startup/shutdown
Eeems Jul 7, 2023
1aad7b1
Fix startup/shutdown
Eeems Jul 7, 2023
664d37a
Don't rely on QGuiApplication::aboutToQuit
Eeems Jul 7, 2023
b12d08b
Get application shutdown fully working again
Eeems Jul 7, 2023
eff807a
Hook up events pipe
Eeems Jul 7, 2023
167c719
Switch to QLocalSocket
Eeems Jul 7, 2023
4dbcb26
Get basic event passing implemented
Eeems Jul 8, 2023
bc86b63
Don't log access on priviledged calls to Window::isVisible
Eeems Jul 8, 2023
0768ff6
Move input to high priority threads
Eeems Jul 8, 2023
153a81f
Get rid of unneeded logging
Eeems Jul 8, 2023
361340d
Stop InputThread on shutdown
Eeems Jul 8, 2023
2120a15
Add nomanageinput application flag
Eeems Jul 8, 2023
467bfe5
Synthesize tablet events
Eeems Jul 8, 2023
b559c85
Switch to event filter for synth tablet events
Eeems Jul 8, 2023
bceb0f5
Get input events working properly
Eeems Jul 8, 2023
b8b8d6b
Use custom thread names
Eeems Jul 9, 2023
1d2efb8
Lock windows while updating the screen
Eeems Jul 9, 2023
5afbe93
Close windows if child quits
Eeems Jul 9, 2023
f834c07
Force tarnish to it's own pgid and add privileged Window::_close
Eeems Jul 9, 2023
c4fd4a1
Add framebuffer mutex to avoid updating the screen while something is…
Eeems Jul 9, 2023
4f355dc
Switch to file locks
Eeems Jul 9, 2023
8c2fdec
Switch to larger image format to allow for transparency
Eeems Jul 9, 2023
49317a1
Change default image format
Eeems Jul 9, 2023
d659227
Try to get stdout/stderr piping working
Eeems Jul 9, 2023
33a3699
Add nolog flag
Eeems Jul 9, 2023
349dd0f
Change ChildItem to class
Eeems Jul 9, 2023
a7bc411
Merge branch 'master' into qpa
Eeems Jul 10, 2023
bc1a990
Start flushing out window stack
Eeems Jul 10, 2023
99c9d0f
Merge branch 'qpa' into wlan
Eeems Jul 10, 2023
63338fc
Merge branch 'wlan' into usb
Eeems Jul 10, 2023
2191fb7
Merge branch 'usb' into issue/107
Eeems Jul 10, 2023
9893972
Log watchdog state
Eeems Jul 10, 2023
08b0120
Merge branch 'master' into wlan
Eeems Jul 10, 2023
7178513
Merge branch 'wlan' into usb
Eeems Jul 10, 2023
5a11185
Merge branch 'wlan' into issue/107
Eeems Jul 10, 2023
2601570
Bump version to 3.0
Eeems Jul 10, 2023
75ffbba
Merge branch 'master' into usb
Eeems Jul 10, 2023
7d754bf
Merge branch 'usb' into issue/107
Eeems Jul 10, 2023
6b1c667
Support various version of input_event logging
Eeems Jul 10, 2023
b59c17a
Merge branch 'master' into issue/107
Eeems Jul 10, 2023
59a344b
Fix issues codefactor raised
Eeems Jul 10, 2023
6ea36c4
Clean up input_event logging
Eeems Jul 10, 2023
fcd394e
Fix package build
Eeems Jul 10, 2023
25aff96
Switch to older input_event interface
Eeems Jul 10, 2023
c0588a0
Rework child registration API
Eeems Jul 10, 2023
1f8c97c
Fix issues found by codacy
Eeems Jul 10, 2023
4bc3ed4
Implement LD_PRELOAD
Eeems Jul 11, 2023
a4e4280
Log ioctl better and handle all possible requests that libremarkable …
Eeems Jul 11, 2023
1555397
t
Eeems Jul 11, 2023
adfb3ab
Allow applications to suggest which waveform to use
Eeems Jul 11, 2023
17d8dbd
Attempt to handle locking on writes
Eeems Jul 11, 2023
cefd52a
Get mapping working
Eeems Jul 11, 2023
8fedb31
Handle basic ioctl on input devices
Eeems Jul 11, 2023
8b2c040
Lots of work on logging and stability
Eeems Jul 12, 2023
26b465f
Avoid signal handle looping
Eeems Jul 12, 2023
cc1f8c2
Clean up logging and catch SIGABRT
Eeems Jul 12, 2023
cf22dae
Add more information to logging
Eeems Jul 12, 2023
c10a7a4
Get systemd watchdog working
Eeems Jul 12, 2023
1489b66
Fix crash and move libsentry build to qmake
Eeems Jul 12, 2023
aeaf176
Move gui to seperate thread and reduce redraw work
Eeems Jul 13, 2023
1b21b49
Work on porting most of the window API to a private pipe
Eeems Jul 13, 2023
87c35ca
Move a bunch of stuff to the cpp file from the headers
Eeems Jul 13, 2023
0773f84
More refactoring
Eeems Jul 13, 2023
28f34e8
Fix compile error due to use of defines
Eeems Jul 13, 2023
c6acbac
Fix compile error due to rename
Eeems Jul 13, 2023
923504b
Fix qsbuscpp2xml
Eeems Jul 13, 2023
174bddd
Use static_cast
Eeems Jul 13, 2023
2d08c45
Implement basic event pipe handling in QPA
Eeems Jul 13, 2023
bd302c2
Resolve some compile warnings
Eeems Jul 13, 2023
72d1c0b
Get chessmarkable working, still very broken atm
Eeems Jul 14, 2023
1070151
Get waiting for updates working
Eeems Jul 15, 2023
a948e97
Remove bottleneck from repaint pipeline
Eeems Jul 15, 2023
02511ab
Start adding key and touch events to the event pipe
Eeems Jul 15, 2023
b6f5016
Start adding key event handling to the qpa
Eeems Jul 15, 2023
99c4893
Fix up test
Eeems Jul 15, 2023
4634f92
Get some events sending
Eeems Jul 16, 2023
ae89cef
Get key and pen events working. Work on touch events
Eeems Jul 16, 2023
3c6da93
Get touch events working in qpa
Eeems Jul 16, 2023
5f52112
Get lower/raise/close working in qpa
Eeems Jul 16, 2023
3b52b86
Fix signal handler
Eeems Jul 16, 2023
084bb0b
Ensure SignalHandler is being used properly
Eeems Jul 16, 2023
e7b9441
Lots of changes to waiting for paint
Eeems Jul 17, 2023
de5c79c
Finally get wait for paint working
Eeems Jul 17, 2023
9ad02de
Change debug logging
Eeems Jul 18, 2023
7afd5b0
Rework logging for tarnish and start fixing shutdown
Eeems Jul 18, 2023
29e2718
Get startup/shutdown messages displaying. Work on fixing crash on shu…
Eeems Jul 18, 2023
cc051dd
Try to make the QPA more thread safe, liboxide will need some rework
Eeems Jul 18, 2023
cdce856
Tweak QPA/preload window display timings and fix crash
Eeems Jul 18, 2023
65d5736
Allow the preload to opionally expose the framebuffer. Performance tw…
Eeems Jul 19, 2023
2bbcb15
Cleanup some unused code
Eeems Jul 19, 2023
0ae1602
Further cleanup
Eeems Jul 19, 2023
2d970ba
Remove event loops from Oxide::Tarnish. Things using it need to manag…
Eeems Jul 19, 2023
78bc728
Rework logging and huge improvements on repaint
Eeems Jul 19, 2023
43162e4
Remove ButtonHandler and use Qt events instead
Eeems Jul 19, 2023
026e043
Get key actions working again
Eeems Jul 19, 2023
f68e30e
Start getting notifications moved over to the new window system
Eeems Jul 20, 2023
f1aa60f
Clean up error message
Eeems Jul 20, 2023
e846f76
Get notifications to display again
Eeems Jul 20, 2023
c4460ea
Fix notification hiding, and issues with moving/hiding windows
Eeems Jul 20, 2023
f87831e
Add visibleWindows method
Eeems Jul 21, 2023
70b1723
Tweak notifications and application startup
Eeems Jul 21, 2023
4f4262b
Change metatype load location
Eeems Jul 21, 2023
53443f8
Change over to event pipe for everything, remove old event model
Eeems Jul 22, 2023
ffb96a5
Rework image format handling and try to resolve crashes on closed win…
Eeems Jul 22, 2023
aef5f93
Add extra logging
Eeems Jul 22, 2023
3fb3d2b
More work trying to fix crash on window close
Eeems Jul 22, 2023
783e2b2
Switch to disconnected signal
Eeems Jul 22, 2023
dc4ad99
Fix childentry finished detection
Eeems Jul 22, 2023
fa22ced
Fix raise/lower not changing position on the stack if already raised/…
Eeems Jul 22, 2023
ae1eaa2
Only emit raise/lower if z sort changed
Eeems Jul 22, 2023
99408bb
Add back signals required by QPA
Eeems Jul 22, 2023
ee64e01
Add qt specific preload and get pen hover working
Eeems Jul 23, 2023
5c61d8a
Get xochitl loading with default configuration
Eeems Jul 23, 2023
1f64685
Move qpa events to seperate thread
Eeems Jul 23, 2023
0dc242a
Put input reading behind a mutex and move some preload config to flags
Eeems Jul 24, 2023
00348a8
Only send input events to the top window
Eeems Jul 24, 2023
65659e5
Send events directly instead of re-queuing the events
Eeems Jul 24, 2023
b831c39
Get tilt working
Eeems Jul 24, 2023
15dc0da
Fix touch handling in preload
Eeems Jul 24, 2023
9969eb1
Get tilt and pressure working
Eeems Jul 25, 2023
0695f6a
Convert lqsgepaper.a into a shared library
Eeems Jul 25, 2023
fac958f
Update package to include new files
Eeems Jul 25, 2023
19a2492
Remove event filter from apps using qpa
Eeems Jul 25, 2023
2102264
Remove epframebuffer.h from liboxide
Eeems Jul 25, 2023
bdd60ed
Add fbinfo
Eeems Jul 25, 2023
55bab86
Fix crashing when void exit(int) is called
Eeems Jul 25, 2023
3139481
Handle more types of exits
Eeems Jul 25, 2023
a470eb7
Fix input in recrossable and some codacy warnings
Eeems Jul 25, 2023
7260f65
Resolve more codacy warnings
Eeems Jul 25, 2023
7c70ed6
Another codacy warning
Eeems Jul 25, 2023
6d33227
Merge branch 'master' into issue/107
Eeems Jul 25, 2023
58ccb5c
Avoid spurious window raises from the preload
Eeems Jul 25, 2023
c83551b
Make raise/lower handling in preload work better and fix validate error
Eeems Jul 25, 2023
223b85c
Upgrade sentry to 0.6.5
Eeems Jul 26, 2023
6c71ebf
Fix package build
Eeems Jul 26, 2023
93d1a6e
Allow forcing qsgepaper for QT_QUICK_BACKEND
Eeems Jul 26, 2023
933e886
Clean up build warning
Eeems Jul 26, 2023
fecefc0
Remove nix build as it's broken and hasn't been maintained
Eeems Jul 26, 2023
f835070
Remove chroot
Eeems Jul 26, 2023
7fc2a8e
Add power state fifo
Eeems Jul 26, 2023
4213f40
Switch to shared pointers
Eeems Jul 26, 2023
f3941a3
Quit QPA app directly on primary screen close
Eeems Jul 26, 2023
6d5e324
Rework liboxide usage for the shared pointer update
Eeems Jul 26, 2023
9440c69
Fix heap overflow
Eeems Jul 27, 2023
9dbe9c0
Fix crash on exit of QPA
Eeems Jul 27, 2023
f0b91c2
Fix deadlock on quit of preload and cleanup some QPA handling
Eeems Jul 27, 2023
b1b12ef
Create seperate calls for all windows when exposed and fix issue wher…
Eeems Jul 27, 2023
41bfbec
Switch to QVector for windows
Eeems Jul 27, 2023
7ba5617
Make things use STL patterns
Eeems Jul 27, 2023
4077fd8
Remove unneeded debug logging
Eeems Jul 27, 2023
1023156
Handle more types of writes for debug reasons
Eeems Jul 28, 2023
6a58c20
Fix deadlock in preload-qt
Eeems Jul 28, 2023
4aa9dce
Fix deadlock on event pipe read
Eeems Jul 28, 2023
1e27a71
ensure socket writes are on the socket thread
Eeems Jul 28, 2023
a038a4a
Fix error message not being displayed properly
Eeems Jul 28, 2023
ee50646
Add threading unit tests and fix a deadlock
Eeems Jul 29, 2023
625d079
Add more flags and fix freeze on preload quit
Eeems Jul 29, 2023
42b0aa6
Clean up some logging and locking logic
Eeems Jul 29, 2023
8ac8ee8
Change log levels of various things
Eeems Jul 30, 2023
395e348
Change more log levels
Eeems Jul 30, 2023
c5cf5bb
Overhaul log levels throughout tarnish
Eeems Jul 30, 2023
675e285
Tweak window logging
Eeems Jul 30, 2023
eb692c8
Move auto suspend/lock back to info level
Eeems Jul 30, 2023
d57e824
Handle opening input as nonblocking
Eeems Jul 31, 2023
9d43485
Fix comments
Eeems Jul 31, 2023
76b9e6c
Fix memory leak and add Oxide::backtrace
Eeems Aug 2, 2023
146bf17
Merge branch 'master' into issue/107
Eeems Aug 2, 2023
7497b06
Fix build error
Eeems Aug 2, 2023
a6b25fa
Update task switcher to only be a small window across the bottom of t…
Eeems Aug 2, 2023
d4f1b95
Try to make sure that windows always raise for applications
Eeems Aug 2, 2023
322d3df
Fix issue where windows don't get raised when an application is resumed
Eeems Aug 2, 2023
a73585c
Add todo
Eeems Aug 2, 2023
80b8261
Don't hide splashscreen until application has launched
Eeems Aug 2, 2023
c40ba21
Set XDG_CURRENT_DESKTOP and add some more TODOs
Eeems Aug 2, 2023
ef86acb
Add openUrl and openDocument support
Eeems Aug 2, 2023
0d3edec
Add clipboard
Eeems Aug 2, 2023
90be532
Add xclip
Eeems Aug 2, 2023
979fe33
Move clipboard to gui API
Eeems Aug 2, 2023
c1722b2
Add primary/secondary selection to go with clipboard
Eeems Aug 3, 2023
a8d63d6
Only send tablet events if they are on window
Eeems Aug 3, 2023
3cf45d4
Resolve performance for validating tablet location
Eeems Aug 3, 2023
52dbf00
Use liboxide
Eeems Aug 4, 2023
4fbf49d
Fix touch in qpa on resized/moved windows
Eeems Aug 4, 2023
78f3b30
Remove dead code
Eeems Aug 4, 2023
0e9a4e4
Avoid pixelColor errors due to somehow being out of range
Eeems Aug 8, 2023
bdfe681
Initialize framebuffer before starting the gui thread
Eeems Aug 8, 2023
aa76346
Don't log MetaCall and ThreadChange events, don't emit hover by defau…
Eeems Aug 9, 2023
b319d9d
Cleanup custom window sizing with qpa
Eeems Aug 10, 2023
6151284
Add more logging and a todo
Eeems Aug 10, 2023
c398f08
Try to figure out what needs to happen to tablet coordinates to make …
Eeems Aug 10, 2023
a173443
Fix deadlock on startup
Eeems Aug 11, 2023
704b5b2
Merge branch 'master' into issue/107
Eeems Sep 17, 2023
bfd257d
Merge branch 'master' into issue/107
Eeems Oct 25, 2023
8d10ac7
Remove c-style casts
Eeems Oct 25, 2023
ca0f935
Don't change geometry if it hasn't changed
Eeems Oct 25, 2023
d819d72
Add more toos
Eeems Oct 25, 2023
9fe2ba5
Fix random black showing up
Eeems Oct 25, 2023
182ceca
Merge branch 'master' into issue/107
Eeems Dec 5, 2023
e83df32
Fix exposed fb handling and add back input flooding for exposed input
Eeems Dec 8, 2023
9c54aef
Merge branch 'master' into issue/107
Eeems Dec 8, 2023
b944a75
Add lockscreen call to system API, add more tests
Eeems Dec 8, 2023
ccfa049
Fix build and get working in rM-docker
Eeems Dec 10, 2023
6bbeafa
Merge branch 'master' into issue/107
Eeems Dec 13, 2023
8374784
Fix liboxide headers install
Eeems Dec 13, 2023
4cd33c4
Merge branch 'master' into issue/107
Eeems Dec 15, 2023
5b46d2d
Fix up build and add automated tests
Eeems Dec 15, 2023
7b03fc0
Fix tests
Eeems Dec 15, 2023
2bf2a0b
Update build.yml
Eeems Dec 15, 2023
5e64f3d
Copy less as part of the test
Eeems Dec 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
28 changes: 21 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,21 @@ jobs:
needs: [build]
steps:
- uses: actions/download-artifact@v3
id: download
id: repo
with:
name: repo
path: repo
- uses: actions/download-artifact@v3
id: build
with:
name: build
path: build
- name: Copy tests
run: |
mkdir -p ${{ steps.repo.outputs.download-path }}/tests
cp -al \
${{ steps.build.outputs.download-path }}/opt/share/tests/. \
${{ steps.repo.outputs.download-path }}/tests
- uses: Eeems-Org/run-in-remarkable-action@v1
with:
setup: |
Expand All @@ -73,12 +85,14 @@ jobs:
set -ex
echo Y | toltecctl generate-opkg-conf
opkg update
opkg install oxide
# systemctl disable --now xochitl
# systemctl enable --now tarnish
# TODO install and run tests
opkg remove --force-removal-of-dependent-packages liboxide
path: ${{ steps.download.outputs.download-path }}
opkg install oxide oxide-extra inject_evdev liboxide-dev
# TODO test tarnish service
find tests -type f -executable -print | while read test; do
echo "Running test $test"
"$test"
done
opkg remove --force-removal-of-dependent-packages liboxide libsentry
path: ${{ steps.repo.outputs.download-path }}
release:
needs: [build,test]
if: ${{ github.ref == 'refs/heads/master' }}
Expand Down
48 changes: 0 additions & 48 deletions .github/workflows/nix.yml

This file was deleted.

89 changes: 41 additions & 48 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,37 +11,67 @@ MAKEFLAGS := --jobs=$(shell nproc)
DIST=$(CURDIR)/release
BUILD=$(CURDIR)/.build


ifneq ($(filter sentry,$(FEATURES)),)
OBJ += sentry
RELOBJ += $(DIST)/opt/lib/libsentry.so
DEFINES += 'DEFINES+="SENTRY"'
DEFINES += DEFINES+="SENTRY"
endif

OBJ += $(BUILD)/oxide/Makefile

clean:
rm -rf $(DIST) $(BUILD)
clean-base:
rm -rf $(DIST) $(BUILD)/oxide

release: clean build $(RELOBJ)
mkdir -p $(DIST)
clean: clean-base
rm -rf $(BUILD)

release: clean-base build $(DIST)
# Force sentry makefile to regenerate so that install targets get when being build in toltecmk
cd $(BUILD)/oxide/shared/sentry && make qmake
# Force liboxide makefile to regenerate so that install targets get when being build in toltecmk
cd $(BUILD)/oxide/shared/liboxide && make qmake
INSTALL_ROOT=$(DIST) $(MAKE) --output-sync=target -C $(BUILD)/oxide install

build: $(BUILD) $(OBJ)
build: $(OBJ)
$(MAKE) --output-sync=target -C $(BUILD)/oxide all

package: REV="~r$(shell git rev-list --count HEAD).$(shell git rev-parse --short HEAD)"
package:
package: version.txt $(DIST) $(BUILD)/package/oxide.tar.gz
toltecmk \
--verbose \
-w $(BUILD)/package/build \
-d $(BUILD)/package/dist \
$(BUILD)/package
cp -a $(BUILD)/package/dist/rmall/*.ipk $(DIST)

version.txt:
if [ -d .git ];then \
echo $(REV) > version.txt; \
else \
echo "~manual" > version.txt; \
fi;

$(DIST):
mkdir -p $(DIST)

$(BUILD):
mkdir -p $(BUILD)

$(BUILD)/.nobackup: $(BUILD)
touch $(BUILD)/.nobackup

$(BUILD)/oxide: $(BUILD)/.nobackup
mkdir -p $(BUILD)/oxide

$(BUILD)/oxide/Makefile: $(BUILD)/oxide
cd $(BUILD)/oxide && qmake -r $(DEFINES) $(CURDIR)

$(BUILD)/package:
mkdir -p $(BUILD)/package
rm -rf $(BUILD)/package/build

$(BUILD)/package/package: $(BUILD)/package
sed "s/~VERSION~/`cat version.txt`/" ./package > $(BUILD)/package/package

$(BUILD)/package/oxide.tar.gz: $(BUILD)/package/package
tar \
--exclude='$(CURDIR)/.git' \
--exclude='$(BUILD)' \
Expand All @@ -53,43 +83,6 @@ package:
interfaces \
qmake \
shared \
tests \
oxide.pro \
Makefile
toltecmk \
--verbose \
-w $(BUILD)/package/build \
-d $(BUILD)/package/dist \
$(BUILD)/package
mkdir -p $(DIST)
cp -a $(BUILD)/package/dist/rmall/*.ipk $(DIST)

sentry: $(BUILD)/sentry/libsentry.so

$(BUILD):
mkdir -p $(BUILD)

$(BUILD)/.nobackup: $(BUILD)
touch $(BUILD)/.nobackup

$(BUILD)/oxide: $(BUILD)/.nobackup
mkdir -p $(BUILD)/oxide

$(BUILD)/oxide/Makefile: $(BUILD)/oxide
cd $(BUILD)/oxide && qmake -r $(DEFINES) $(CURDIR)/oxide.pro

$(BUILD)/sentry/libsentry.so: $(BUILD)/.nobackup
cd shared/sentry && cmake -B $(BUILD)/sentry/src \
-DBUILD_SHARED_LIBS=ON \
-DSENTRY_INTEGRATION_QT=ON \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DSENTRY_PIC=OFF \
-DSENTRY_BACKEND=breakpad \
-DSENTRY_BREAKPAD_SYSTEM=OFF \
-DSENTRY_EXPORT_SYMBOLS=ON \
-DSENTRY_PTHREAD=ON
cd shared/sentry && cmake --build $(BUILD)/sentry/src --parallel
cd shared/sentry && cmake --install $(BUILD)/sentry/src --prefix $(BUILD)/sentry --config RelWithDebInfo

$(DIST)/opt/lib/libsentry.so: sentry
mkdir -p $(DIST)/opt/lib
cp -a $(BUILD)/sentry/lib/libsentry.so $(DIST)/opt/lib/
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,3 @@ You can find other (likely outdated) [videos here](https://github.com/Eeems/oxid
1. Install [toltecmk](https://pypi.org/project/toltecmk/)
2. Run `make package`
3. The ipk files can be found in the `dist/` folder

### Nix
Works on x86_64-linux or macOS via [nix-docker](https://github.com/LnL7/nix-docker).

```ShellSession
$ nix-build --argstr system 'x86_64-linux'
```
6 changes: 5 additions & 1 deletion applications/applications.pro
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ SUBDIRS = \
xdg-desktop-menu \
xdg-icon-resource \
xdg-open \
xdg-settings
xdg-settings \
fbinfo \
xclip

launcher.depends = system-service update-desktop-database
lockscreen.depends = system-service
Expand All @@ -41,5 +43,7 @@ xdg-icon-resource.depends = system-service
desktop-file-edit.depends =
desktop-file-install.depends =
inject_evdev.depends =
fbinfo.depends =
xclip.depends = system-service

INSTALLS += $$SUBDIRS
2 changes: 0 additions & 2 deletions applications/desktop-file-edit/desktop-file-edit.pro
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
QT -= gui
QT += dbus

CONFIG += c++11 console
CONFIG -= app_bundle
Expand All @@ -20,4 +19,3 @@ target.path = /opt/bin
INSTALLS += target

include(../../qmake/liboxide.pri)
include(../../qmake/sentry.pri)
2 changes: 0 additions & 2 deletions applications/desktop-file-install/desktop-file-install.pro
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
QT -= gui
QT += dbus

CONFIG += c++11 console
CONFIG -= app_bundle
Expand All @@ -20,4 +19,3 @@ target.path = /opt/bin
INSTALLS += target

include(../../qmake/liboxide.pri)
include(../../qmake/sentry.pri)
2 changes: 0 additions & 2 deletions applications/desktop-file-validate/desktop-file-validate.pro
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
QT -= gui
QT += dbus

CONFIG += c++11 console
CONFIG -= app_bundle
Expand All @@ -18,4 +17,3 @@ target.path = /opt/bin
INSTALLS += target

include(../../qmake/liboxide.pri)
include(../../qmake/sentry.pri)
73 changes: 73 additions & 0 deletions applications/fbinfo/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# This file is used to ignore files which are generated
# ----------------------------------------------------------------------------

*~
*.autosave
*.a
*.core
*.moc
*.o
*.obj
*.orig
*.rej
*.so
*.so.*
*_pch.h.cpp
*_resource.rc
*.qm
.#*
*.*#
core
!core/
tags
.DS_Store
.directory
*.debug
Makefile*
*.prl
*.app
moc_*.cpp
ui_*.h
qrc_*.cpp
Thumbs.db
*.res
*.rc
/.qmake.cache
/.qmake.stash

# qtcreator generated files
*.pro.user*

# xemacs temporary files
*.flc

# Vim temporary files
.*.swp

# Visual Studio generated files
*.ib_pdb_index
*.idb
*.ilk
*.pdb
*.sln
*.suo
*.vcproj
*vcproj.*.*.user
*.ncb
*.sdf
*.opensdf
*.vcxproj
*vcxproj.*

# MinGW generated files
*.Debug
*.Release

# Python byte code
*.pyc

# Binaries
# --------
*.dll
*.exe

22 changes: 22 additions & 0 deletions applications/fbinfo/fbinfo.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
QT -= gui

CONFIG += c++11
CONFIG += console
CONFIG -= app_bundle

DEFINES += QT_DEPRECATED_WARNINGS
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
main.cpp

HEADERS +=

TARGET = fbinfo
include(../../qmake/common.pri)
target.path = /opt/bin
INSTALLS += target

INCLUDEPATH += ../../shared/mxcfb

include(../../qmake/liboxide.pri)
Loading
Loading