File tree 22 files changed +36
-28
lines changed
22 files changed +36
-28
lines changed Original file line number Diff line number Diff line change 26
26
sudo make install
27
27
- name : Compile desktop
28
28
run : cd desktop && cmake -G Ninja -B build && cmake --build build
29
- - name : Run desktop unit test
30
- run : desktop/build/fudge --test-wifi
29
+ # - name: Run desktop unit test
30
+ # run: desktop/build/fudge --test-wifi
Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ endif()
12
12
# hello_imgui
13
13
set (HELLOIMGUI_BUILD_AUTOMATION_TEST OFF )
14
14
set (HELLOIMGUI_ADD_APP_WITH_INSTALL OFF )
15
- set (HELLOIMGUI_USE_FREETYPE_PLUTOSVG OFF )
15
+ option (HELLOIMGUI_USE_FREETYPE "" OFF )
16
+ option (HELLOIMGUI_USE_FREETYPE_PLUTOSVG "" OFF )
16
17
set (HELLOIMGUI_USE_SDL2 OFF )
17
18
set (HELLOIMGUI_USE_GLFW3 ON )
18
19
set (HELLOIMGUI_HAS_VULKAN OFF )
Original file line number Diff line number Diff line change 1
- FLAGS := -DCMAKE_BUILD_TYPE=Release
1
+ # FLAGS := -DCMAKE_BUILD_TYPE=Release
2
+ # FLAGS += -DFUDGE_CREATE_APPIMAGE
2
3
3
4
b :
4
5
cmake $(FLAGS ) -G Ninja -B build
5
- cmake --build build
6
6
7
7
convert :
8
8
cmake --build build && build/fudge --raw /home/daniel/Pictures/xt30-demo/DSCF2043.RAF /home/daniel/Pictures/xt30-demo/output.jpg /home/daniel/Documents/fudge/lib/fp/fp1/Street.FP1
9
9
10
10
bw :
11
11
cmake -DCMAKE_TOOLCHAIN_FILE=/home/$$ USER/dotfiles/mingw.cmake -G Ninja -B build_win
12
- cmake --build build_win
13
12
14
13
bx :
15
14
@echo " Toolchain file /home/$$ USER/dotfiles/osx.cmake"
16
15
cmake -DFUDGE_CREATE_MAC_APP=ON -DCMAKE_TOOLCHAIN_FILE=/home/$$ USER/dotfiles/osx.cmake -G Ninja -B build_osx
17
- cmake --build build_osx
18
16
19
17
release :
20
18
cmake -DFUDGE_CREATE_APPIMAGE=ON -G Ninja -B build
21
19
cmake -DCMAKE_TOOLCHAIN_FILE=/home/$$ USER/dotfiles/mingw.cmake -G Ninja -B build_win
22
20
cmake -DFUDGE_CREATE_MAC_APP=ON -DCMAKE_TOOLCHAIN_FILE=/home/$$ USER/dotfiles/osx.cmake -G Ninja -B build_osx
23
21
24
22
clean :
25
- rm -rf build_osx build_win build * .ini * .dat
23
+ rm -rf build_osx build_win build * .ini * .dat Thumbs.db * * .jpg * .DAT
Original file line number Diff line number Diff line change 1
1
#include <stdio.h>
2
2
#include <stdint.h>
3
3
#include <stdlib.h>
4
- #include <camlib .h>
4
+ #include <libpict .h>
5
5
#include <fuji.h>
6
6
#include <app.h>
7
7
#include <fujiptp.h>
Original file line number Diff line number Diff line change 1
1
#include <stdio.h>
2
2
#include <stdint.h>
3
3
#include <stdlib.h>
4
- #include <camlib .h>
4
+ #include <libpict .h>
5
5
#include <fuji.h>
6
6
#include <app.h>
7
7
#include <fujiptp.h>
Original file line number Diff line number Diff line change 2
2
// I have some future plans with this API I want to try.
3
3
#ifndef IM_H
4
4
#define IM_H
5
+
6
+ struct NimModifier {
7
+ void (* padding )(int , int );
8
+ void (* margin )(int , int );
9
+ void (* color )(int , int );
10
+ };
11
+
5
12
int im_push_disabled (void );
6
13
int im_pop_disabled (void );
7
14
Original file line number Diff line number Diff line change 12
12
#include <poll.h>
13
13
#include <arpa/inet.h>
14
14
#endif
15
- #include <camlib .h>
15
+ #include <libpict .h>
16
16
#include <fuji.h>
17
17
#include <app.h>
18
18
#include <fujiptp.h>
Original file line number Diff line number Diff line change 9
9
//#else
10
10
// #include <arpa/inet.h>
11
11
//#endif
12
- #include <camlib .h>
12
+ #include <libpict .h>
13
13
#include <cl_stuff.h>
14
14
#include <fuji.h>
15
15
#include <app.h>
Original file line number Diff line number Diff line change
1
+ build_win\fudge --raw " C:\Users\brikb\Desktop\DSCF2911.RAF" output.jpg " C:\Users\brikb\Desktop\DSCF3010.FP2"
Original file line number Diff line number Diff line change 1
- print (fuji .test ())
1
+ x = ptp .getDeviceInfo ()
2
+ print (" You are connected to a " .. x [" model" ])
Original file line number Diff line number Diff line change 4
4
#ifndef APP_H
5
5
#define APP_H
6
6
7
- #include <camlib .h>
7
+ #include <libpict .h>
8
8
9
9
/// @brief Send current camera name to UI
10
10
void app_send_cam_name (const char * name );
Original file line number Diff line number Diff line change 3
3
#include <stdlib.h>
4
4
#include <errno.h>
5
5
#include <string.h>
6
- #include <camlib .h>
6
+ #include <libpict .h>
7
7
#include "app.h"
8
8
#include "fuji.h"
9
9
#include "fujiptp.h"
Original file line number Diff line number Diff line change 5
5
#include <errno.h>
6
6
#include <string.h>
7
7
#include <time.h>
8
- #include <camlib .h>
8
+ #include <libpict .h>
9
9
#include <sys/stat.h>
10
10
#include "app.h"
11
11
#include "fuji.h"
Original file line number Diff line number Diff line change 2
2
// Fudge implementations and app logic
3
3
#ifndef FUJIAPP_FUJI_H
4
4
#define FUJIAPP_FUJI_H
5
- #include <camlib .h>
5
+ #include <libpict .h>
6
6
#include "fujiptp.h"
7
7
#include "app.h"
8
8
Original file line number Diff line number Diff line change 5
5
#include <lua.h>
6
6
#include <lualib.h>
7
7
#include <lauxlib.h>
8
- #include <camlib .h>
8
+ #include <libpict .h>
9
9
#include <fujiptp.h>
10
10
#include "fuji_lua.h"
11
11
Original file line number Diff line number Diff line change 4
4
#include <stdlib.h>
5
5
#include <errno.h>
6
6
#include <string.h>
7
- #include <camlib .h>
7
+ #include <libpict .h>
8
8
#include "app.h"
9
9
#include "fuji.h"
10
10
#include "fujiptp.h"
Original file line number Diff line number Diff line change 4
4
#include <lua.h>
5
5
#include <lualib.h>
6
6
#include <lauxlib.h>
7
- #include <camlib .h>
7
+ #include <libpict .h>
8
8
#include <app.h>
9
9
#include "fuji_lua.h"
10
10
Original file line number Diff line number Diff line change 1
- // Generic portable camlib PTP/IP backend
1
+ // Generic portable libpict PTP/IP backend
2
2
// There shouldn't be any Fuji-specific code here, so this file can be copied to a different project.
3
- // Copyright 2024 by Daniel C (https://github.com/petabyt/camlib )
3
+ // Copyright 2024 by Daniel C (https://github.com/petabyt/libpict )
4
4
#include <stdio.h>
5
5
#include <stdlib.h>
6
6
#include <string.h>
19
19
#include <arpa/inet.h>
20
20
#endif
21
21
#include <time.h>
22
- #include <camlib .h>
22
+ #include <libpict .h>
23
23
#include "app.h"
24
24
#include "fuji.h"
25
25
Original file line number Diff line number Diff line change 1
- // Camlib Object service
1
+ // libpict Object service
2
2
// This is mainly for file tables
3
3
#include <stdlib.h>
4
- #include <camlib .h>
4
+ #include <libpict .h>
5
5
#include <string.h>
6
6
#include <pthread.h>
7
7
#include "object.h"
Original file line number Diff line number Diff line change 3
3
#ifndef OBJECT_H
4
4
#define OBJECT_H
5
5
6
- #include <camlib .h>
6
+ #include <libpict .h>
7
7
8
8
enum PtpSortBy {
9
9
PTP_SORT_BY_OLDEST = 1 ,
Original file line number Diff line number Diff line change 4
4
#include <stdlib.h>
5
5
#include <errno.h>
6
6
#include <string.h>
7
- #include <camlib .h>
7
+ #include <libpict .h>
8
8
#include "app.h"
9
9
#include "fuji.h"
10
10
#include "fujiptp.h"
You can’t perform that action at this time.
0 commit comments