배포 준비: GPL-3.0-or-later, 배포판별 .deb, README 정리
- 라이선스 GPL-3.0-or-later (LICENSE, Cargo.toml, DEP-5 packaging/copyright) - 서드파티 고지: Rust 크레이트 라이선스 원문 모음(scripts/third-party-licenses.py, .deb 포함), APK assets/third_party_licenses.txt - .deb: cargo-deb 설정(관리자, dlopen 런타임 의존성, 매뉴얼 페이지, Debian 변경 기록) - Ubuntu 26.04/24.04 컨테이너 빌드(packaging/Containerfile, scripts/build-deb.sh) - 릴리스 첨부 파일 모으기(scripts/release.sh: .deb 2개, APK, 소스 아카이브, SHA256SUMS) - README 사용자 중심으로 재작성, 스크린샷 추가 - docs/release-checklist.md 배포 전 점검표 - 테스트 데이터의 실제 기기 일련번호를 가짜 값으로
- 작성자
- LeeJunyoung
- 작성 시각
- 커밋
915194e6ceb8e6068f2a6379beea6dcc08b2e3eb- 부모
- fe8ddc3
변경된 파일 14개
+1,739-61| @@ -19,3 +19,6 @@ captures/ | ||
| 19 | 19 | *.iml |
| 20 | 20 | .vscode/ |
| 21 | 21 | .DS_Store |
| 22 | 추가: | |
| 23 | 추가: # 릴리스 산출물 | |
| 24 | 추가: /dist/ |
| @@ -2,9 +2,38 @@ | ||
| 2 | 2 | name = "wayland-android-remote" |
| 3 | 3 | version = "0.1.0" |
| 4 | 4 | edition = "2024" |
| 5 | 추가: authors = ["LeeJunyoung <[email protected]>"] | |
| 6 | 추가: license = "GPL-3.0-or-later" | |
| 5 | 7 | description = "Ubuntu(Wayland/X11)에서 Android 기기 화면 미러링 및 원격 제어 호스트 클라이언트" |
| 6 | 8 | publish = false |
| 7 | 9 | |
| 10 | 추가: [package.metadata.deb] | |
| 11 | 추가: name = "android-remote" | |
| 12 | 추가: maintainer = "LeeJunyoung <[email protected]>" | |
| 13 | 추가: copyright = "2026, LeeJunyoung <[email protected]>" | |
| 14 | 추가: license-file = ["packaging/copyright", "0"] | |
| 15 | 추가: # scripts/build-deb.sh가 배포판별 버전으로 만든다. | |
| 16 | 추가: changelog = "target/debian-changelog" | |
| 17 | 추가: section = "utils" | |
| 18 | 추가: priority = "optional" | |
| 19 | 추가: # $auto는 직접 링크한 FFmpeg·libc만 잡는다. winit·wgpu가 dlopen으로 여는 Wayland·X11·Vulkan 라이브러리를 더한다. | |
| 20 | 추가: depends = "$auto, libvulkan1, libwayland-client0, libxkbcommon0, libxkbcommon-x11-0, libx11-6, libx11-xcb1, libxcursor1, libxi6" | |
| 21 | 추가: recommends = "mesa-vulkan-drivers | vulkan-icd, va-driver-all | va-driver, adb" | |
| 22 | 추가: extended-description = """\ | |
| 23 | 추가: Ubuntu(Wayland/X11)에서 Android 휴대폰 화면을 실시간으로 띄우고 PC의 마우스와 키보드로 조작한다. | |
| 24 | 추가: 텍스트·이미지 클립보드 동기화와 PC에서 휴대폰으로의 파일 전송을 지원한다. | |
| 25 | 추가: 휴대폰에는 Android Remote 동반 앱이 필요하다.""" | |
| 26 | 추가: assets = [ | |
| 27 | 추가: ["target/release/android-remote", "usr/bin/", "755"], | |
| 28 | 추가: ["packaging/android-remote.desktop", "usr/share/applications/", "644"], | |
| 29 | 추가: ["packaging/android-remote.svg", "usr/share/icons/hicolor/scalable/apps/", "644"], | |
| 30 | 추가: ["README.md", "usr/share/doc/android-remote/", "644"], | |
| 31 | 추가: # scripts/third-party-licenses.py가 만든다 (scripts/build-deb.sh가 먼저 실행). | |
| 32 | 추가: ["target/third-party-licenses.txt", "usr/share/doc/android-remote/", "644"], | |
| 33 | 추가: # scripts/build-deb.sh가 packaging/android-remote.1을 압축해 둔다. | |
| 34 | 추가: ["target/android-remote.1.gz", "usr/share/man/man1/", "644"], | |
| 35 | 추가: ] | |
| 36 | 추가: | |
| 8 | 37 | [[bin]] |
| 9 | 38 | name = "android-remote" |
| 10 | 39 | path = "src/main.rs" |
| @@ -0,0 +1,674 @@ | ||
| 1 | 추가: GNU GENERAL PUBLIC LICENSE | |
| 2 | 추가: Version 3, 29 June 2007 | |
| 3 | 추가: | |
| 4 | 추가: Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> | |
| 5 | 추가: Everyone is permitted to copy and distribute verbatim copies | |
| 6 | 추가: of this license document, but changing it is not allowed. | |
| 7 | 추가: | |
| 8 | 추가: Preamble | |
| 9 | 추가: | |
| 10 | 추가: The GNU General Public License is a free, copyleft license for | |
| 11 | 추가: software and other kinds of works. | |
| 12 | 추가: | |
| 13 | 추가: The licenses for most software and other practical works are designed | |
| 14 | 추가: to take away your freedom to share and change the works. By contrast, | |
| 15 | 추가: the GNU General Public License is intended to guarantee your freedom to | |
| 16 | 추가: share and change all versions of a program--to make sure it remains free | |
| 17 | 추가: software for all its users. We, the Free Software Foundation, use the | |
| 18 | 추가: GNU General Public License for most of our software; it applies also to | |
| 19 | 추가: any other work released this way by its authors. You can apply it to | |
| 20 | 추가: your programs, too. | |
| 21 | 추가: | |
| 22 | 추가: When we speak of free software, we are referring to freedom, not | |
| 23 | 추가: price. Our General Public Licenses are designed to make sure that you | |
| 24 | 추가: have the freedom to distribute copies of free software (and charge for | |
| 25 | 추가: them if you wish), that you receive source code or can get it if you | |
| 26 | 추가: want it, that you can change the software or use pieces of it in new | |
| 27 | 추가: free programs, and that you know you can do these things. | |
| 28 | 추가: | |
| 29 | 추가: To protect your rights, we need to prevent others from denying you | |
| 30 | 추가: these rights or asking you to surrender the rights. Therefore, you have | |
| 31 | 추가: certain responsibilities if you distribute copies of the software, or if | |
| 32 | 추가: you modify it: responsibilities to respect the freedom of others. | |
| 33 | 추가: | |
| 34 | 추가: For example, if you distribute copies of such a program, whether | |
| 35 | 추가: gratis or for a fee, you must pass on to the recipients the same | |
| 36 | 추가: freedoms that you received. You must make sure that they, too, receive | |
| 37 | 추가: or can get the source code. And you must show them these terms so they | |
| 38 | 추가: know their rights. | |
| 39 | 추가: | |
| 40 | 추가: Developers that use the GNU GPL protect your rights with two steps: | |
| 41 | 추가: (1) assert copyright on the software, and (2) offer you this License | |
| 42 | 추가: giving you legal permission to copy, distribute and/or modify it. | |
| 43 | 추가: | |
| 44 | 추가: For the developers' and authors' protection, the GPL clearly explains | |
| 45 | 추가: that there is no warranty for this free software. For both users' and | |
| 46 | 추가: authors' sake, the GPL requires that modified versions be marked as | |
| 47 | 추가: changed, so that their problems will not be attributed erroneously to | |
| 48 | 추가: authors of previous versions. | |
| 49 | 추가: | |
| 50 | 추가: Some devices are designed to deny users access to install or run | |
| 51 | 추가: modified versions of the software inside them, although the manufacturer | |
| 52 | 추가: can do so. This is fundamentally incompatible with the aim of | |
| 53 | 추가: protecting users' freedom to change the software. The systematic | |
| 54 | 추가: pattern of such abuse occurs in the area of products for individuals to | |
| 55 | 추가: use, which is precisely where it is most unacceptable. Therefore, we | |
| 56 | 추가: have designed this version of the GPL to prohibit the practice for those | |
| 57 | 추가: products. If such problems arise substantially in other domains, we | |
| 58 | 추가: stand ready to extend this provision to those domains in future versions | |
| 59 | 추가: of the GPL, as needed to protect the freedom of users. | |
| 60 | 추가: | |
| 61 | 추가: Finally, every program is threatened constantly by software patents. | |
| 62 | 추가: States should not allow patents to restrict development and use of | |
| 63 | 추가: software on general-purpose computers, but in those that do, we wish to | |
| 64 | 추가: avoid the special danger that patents applied to a free program could | |
| 65 | 추가: make it effectively proprietary. To prevent this, the GPL assures that | |
| 66 | 추가: patents cannot be used to render the program non-free. | |
| 67 | 추가: | |
| 68 | 추가: The precise terms and conditions for copying, distribution and | |
| 69 | 추가: modification follow. | |
| 70 | 추가: | |
| 71 | 추가: TERMS AND CONDITIONS | |
| 72 | 추가: | |
| 73 | 추가: 0. Definitions. | |
| 74 | 추가: | |
| 75 | 추가: "This License" refers to version 3 of the GNU General Public License. | |
| 76 | 추가: | |
| 77 | 추가: "Copyright" also means copyright-like laws that apply to other kinds of | |
| 78 | 추가: works, such as semiconductor masks. | |
| 79 | 추가: | |
| 80 | 추가: "The Program" refers to any copyrightable work licensed under this | |
| 81 | 추가: License. Each licensee is addressed as "you". "Licensees" and | |
| 82 | 추가: "recipients" may be individuals or organizations. | |
| 83 | 추가: | |
| 84 | 추가: To "modify" a work means to copy from or adapt all or part of the work | |
| 85 | 추가: in a fashion requiring copyright permission, other than the making of an | |
| 86 | 추가: exact copy. The resulting work is called a "modified version" of the | |
| 87 | 추가: earlier work or a work "based on" the earlier work. | |
| 88 | 추가: | |
| 89 | 추가: A "covered work" means either the unmodified Program or a work based | |
| 90 | 추가: on the Program. | |
| 91 | 추가: | |
| 92 | 추가: To "propagate" a work means to do anything with it that, without | |
| 93 | 추가: permission, would make you directly or secondarily liable for | |
| 94 | 추가: infringement under applicable copyright law, except executing it on a | |
| 95 | 추가: computer or modifying a private copy. Propagation includes copying, | |
| 96 | 추가: distribution (with or without modification), making available to the | |
| 97 | 추가: public, and in some countries other activities as well. | |
| 98 | 추가: | |
| 99 | 추가: To "convey" a work means any kind of propagation that enables other | |
| 100 | 추가: parties to make or receive copies. Mere interaction with a user through | |
| 101 | 추가: a computer network, with no transfer of a copy, is not conveying. | |
| 102 | 추가: | |
| 103 | 추가: An interactive user interface displays "Appropriate Legal Notices" | |
| 104 | 추가: to the extent that it includes a convenient and prominently visible | |
| 105 | 추가: feature that (1) displays an appropriate copyright notice, and (2) | |
| 106 | 추가: tells the user that there is no warranty for the work (except to the | |
| 107 | 추가: extent that warranties are provided), that licensees may convey the | |
| 108 | 추가: work under this License, and how to view a copy of this License. If | |
| 109 | 추가: the interface presents a list of user commands or options, such as a | |
| 110 | 추가: menu, a prominent item in the list meets this criterion. | |
| 111 | 추가: | |
| 112 | 추가: 1. Source Code. | |
| 113 | 추가: | |
| 114 | 추가: The "source code" for a work means the preferred form of the work | |
| 115 | 추가: for making modifications to it. "Object code" means any non-source | |
| 116 | 추가: form of a work. | |
| 117 | 추가: | |
| 118 | 추가: A "Standard Interface" means an interface that either is an official | |
| 119 | 추가: standard defined by a recognized standards body, or, in the case of | |
| 120 | 추가: interfaces specified for a particular programming language, one that | |
| 121 | 추가: is widely used among developers working in that language. | |
| 122 | 추가: | |
| 123 | 추가: The "System Libraries" of an executable work include anything, other | |
| 124 | 추가: than the work as a whole, that (a) is included in the normal form of | |
| 125 | 추가: packaging a Major Component, but which is not part of that Major | |
| 126 | 추가: Component, and (b) serves only to enable use of the work with that | |
| 127 | 추가: Major Component, or to implement a Standard Interface for which an | |
| 128 | 추가: implementation is available to the public in source code form. A | |
| 129 | 추가: "Major Component", in this context, means a major essential component | |
| 130 | 추가: (kernel, window system, and so on) of the specific operating system | |
| 131 | 추가: (if any) on which the executable work runs, or a compiler used to | |
| 132 | 추가: produce the work, or an object code interpreter used to run it. | |
| 133 | 추가: | |
| 134 | 추가: The "Corresponding Source" for a work in object code form means all | |
| 135 | 추가: the source code needed to generate, install, and (for an executable | |
| 136 | 추가: work) run the object code and to modify the work, including scripts to | |
| 137 | 추가: control those activities. However, it does not include the work's | |
| 138 | 추가: System Libraries, or general-purpose tools or generally available free | |
| 139 | 추가: programs which are used unmodified in performing those activities but | |
| 140 | 추가: which are not part of the work. For example, Corresponding Source | |
| 141 | 추가: includes interface definition files associated with source files for | |
| 142 | 추가: the work, and the source code for shared libraries and dynamically | |
| 143 | 추가: linked subprograms that the work is specifically designed to require, | |
| 144 | 추가: such as by intimate data communication or control flow between those | |
| 145 | 추가: subprograms and other parts of the work. | |
| 146 | 추가: | |
| 147 | 추가: The Corresponding Source need not include anything that users | |
| 148 | 추가: can regenerate automatically from other parts of the Corresponding | |
| 149 | 추가: Source. | |
| 150 | 추가: | |
| 151 | 추가: The Corresponding Source for a work in source code form is that | |
| 152 | 추가: same work. | |
| 153 | 추가: | |
| 154 | 추가: 2. Basic Permissions. | |
| 155 | 추가: | |
| 156 | 추가: All rights granted under this License are granted for the term of | |
| 157 | 추가: copyright on the Program, and are irrevocable provided the stated | |
| 158 | 추가: conditions are met. This License explicitly affirms your unlimited | |
| 159 | 추가: permission to run the unmodified Program. The output from running a | |
| 160 | 추가: covered work is covered by this License only if the output, given its | |
| 161 | 추가: content, constitutes a covered work. This License acknowledges your | |
| 162 | 추가: rights of fair use or other equivalent, as provided by copyright law. | |
| 163 | 추가: | |
| 164 | 추가: You may make, run and propagate covered works that you do not | |
| 165 | 추가: convey, without conditions so long as your license otherwise remains | |
| 166 | 추가: in force. You may convey covered works to others for the sole purpose | |
| 167 | 추가: of having them make modifications exclusively for you, or provide you | |
| 168 | 추가: with facilities for running those works, provided that you comply with | |
| 169 | 추가: the terms of this License in conveying all material for which you do | |
| 170 | 추가: not control copyright. Those thus making or running the covered works | |
| 171 | 추가: for you must do so exclusively on your behalf, under your direction | |
| 172 | 추가: and control, on terms that prohibit them from making any copies of | |
| 173 | 추가: your copyrighted material outside their relationship with you. | |
| 174 | 추가: | |
| 175 | 추가: Conveying under any other circumstances is permitted solely under | |
| 176 | 추가: the conditions stated below. Sublicensing is not allowed; section 10 | |
| 177 | 추가: makes it unnecessary. | |
| 178 | 추가: | |
| 179 | 추가: 3. Protecting Users' Legal Rights From Anti-Circumvention Law. | |
| 180 | 추가: | |
| 181 | 추가: No covered work shall be deemed part of an effective technological | |
| 182 | 추가: measure under any applicable law fulfilling obligations under article | |
| 183 | 추가: 11 of the WIPO copyright treaty adopted on 20 December 1996, or | |
| 184 | 추가: similar laws prohibiting or restricting circumvention of such | |
| 185 | 추가: measures. | |
| 186 | 추가: | |
| 187 | 추가: When you convey a covered work, you waive any legal power to forbid | |
| 188 | 추가: circumvention of technological measures to the extent such circumvention | |
| 189 | 추가: is effected by exercising rights under this License with respect to | |
| 190 | 추가: the covered work, and you disclaim any intention to limit operation or | |
| 191 | 추가: modification of the work as a means of enforcing, against the work's | |
| 192 | 추가: users, your or third parties' legal rights to forbid circumvention of | |
| 193 | 추가: technological measures. | |
| 194 | 추가: | |
| 195 | 추가: 4. Conveying Verbatim Copies. | |
| 196 | 추가: | |
| 197 | 추가: You may convey verbatim copies of the Program's source code as you | |
| 198 | 추가: receive it, in any medium, provided that you conspicuously and | |
| 199 | 추가: appropriately publish on each copy an appropriate copyright notice; | |
| 200 | 추가: keep intact all notices stating that this License and any | |
| 201 | 추가: non-permissive terms added in accord with section 7 apply to the code; | |
| 202 | 추가: keep intact all notices of the absence of any warranty; and give all | |
| 203 | 추가: recipients a copy of this License along with the Program. | |
| 204 | 추가: | |
| 205 | 추가: You may charge any price or no price for each copy that you convey, | |
| 206 | 추가: and you may offer support or warranty protection for a fee. | |
| 207 | 추가: | |
| 208 | 추가: 5. Conveying Modified Source Versions. | |
| 209 | 추가: | |
| 210 | 추가: You may convey a work based on the Program, or the modifications to | |
| 211 | 추가: produce it from the Program, in the form of source code under the | |
| 212 | 추가: terms of section 4, provided that you also meet all of these conditions: | |
| 213 | 추가: | |
| 214 | 추가: a) The work must carry prominent notices stating that you modified | |
| 215 | 추가: it, and giving a relevant date. | |
| 216 | 추가: | |
| 217 | 추가: b) The work must carry prominent notices stating that it is | |
| 218 | 추가: released under this License and any conditions added under section | |
| 219 | 추가: 7. This requirement modifies the requirement in section 4 to | |
| 220 | 추가: "keep intact all notices". | |
| 221 | 추가: | |
| 222 | 추가: c) You must license the entire work, as a whole, under this | |
| 223 | 추가: License to anyone who comes into possession of a copy. This | |
| 224 | 추가: License will therefore apply, along with any applicable section 7 | |
| 225 | 추가: additional terms, to the whole of the work, and all its parts, | |
| 226 | 추가: regardless of how they are packaged. This License gives no | |
| 227 | 추가: permission to license the work in any other way, but it does not | |
| 228 | 추가: invalidate such permission if you have separately received it. | |
| 229 | 추가: | |
| 230 | 추가: d) If the work has interactive user interfaces, each must display | |
| 231 | 추가: Appropriate Legal Notices; however, if the Program has interactive | |
| 232 | 추가: interfaces that do not display Appropriate Legal Notices, your | |
| 233 | 추가: work need not make them do so. | |
| 234 | 추가: | |
| 235 | 추가: A compilation of a covered work with other separate and independent | |
| 236 | 추가: works, which are not by their nature extensions of the covered work, | |
| 237 | 추가: and which are not combined with it such as to form a larger program, | |
| 238 | 추가: in or on a volume of a storage or distribution medium, is called an | |
| 239 | 추가: "aggregate" if the compilation and its resulting copyright are not | |
| 240 | 추가: used to limit the access or legal rights of the compilation's users | |
| 241 | 추가: beyond what the individual works permit. Inclusion of a covered work | |
| 242 | 추가: in an aggregate does not cause this License to apply to the other | |
| 243 | 추가: parts of the aggregate. | |
| 244 | 추가: | |
| 245 | 추가: 6. Conveying Non-Source Forms. | |
| 246 | 추가: | |
| 247 | 추가: You may convey a covered work in object code form under the terms | |
| 248 | 추가: of sections 4 and 5, provided that you also convey the | |
| 249 | 추가: machine-readable Corresponding Source under the terms of this License, | |
| 250 | 추가: in one of these ways: | |
| 251 | 추가: | |
| 252 | 추가: a) Convey the object code in, or embodied in, a physical product | |
| 253 | 추가: (including a physical distribution medium), accompanied by the | |
| 254 | 추가: Corresponding Source fixed on a durable physical medium | |
| 255 | 추가: customarily used for software interchange. | |
| 256 | 추가: | |
| 257 | 추가: b) Convey the object code in, or embodied in, a physical product | |
| 258 | 추가: (including a physical distribution medium), accompanied by a | |
| 259 | 추가: written offer, valid for at least three years and valid for as | |
| 260 | 추가: long as you offer spare parts or customer support for that product | |
| 261 | 추가: model, to give anyone who possesses the object code either (1) a | |
| 262 | 추가: copy of the Corresponding Source for all the software in the | |
| 263 | 추가: product that is covered by this License, on a durable physical | |
| 264 | 추가: medium customarily used for software interchange, for a price no | |
| 265 | 추가: more than your reasonable cost of physically performing this | |
| 266 | 추가: conveying of source, or (2) access to copy the | |
| 267 | 추가: Corresponding Source from a network server at no charge. | |
| 268 | 추가: | |
| 269 | 추가: c) Convey individual copies of the object code with a copy of the | |
| 270 | 추가: written offer to provide the Corresponding Source. This | |
| 271 | 추가: alternative is allowed only occasionally and noncommercially, and | |
| 272 | 추가: only if you received the object code with such an offer, in accord | |
| 273 | 추가: with subsection 6b. | |
| 274 | 추가: | |
| 275 | 추가: d) Convey the object code by offering access from a designated | |
| 276 | 추가: place (gratis or for a charge), and offer equivalent access to the | |
| 277 | 추가: Corresponding Source in the same way through the same place at no | |
| 278 | 추가: further charge. You need not require recipients to copy the | |
| 279 | 추가: Corresponding Source along with the object code. If the place to | |
| 280 | 추가: copy the object code is a network server, the Corresponding Source | |
| 281 | 추가: may be on a different server (operated by you or a third party) | |
| 282 | 추가: that supports equivalent copying facilities, provided you maintain | |
| 283 | 추가: clear directions next to the object code saying where to find the | |
| 284 | 추가: Corresponding Source. Regardless of what server hosts the | |
| 285 | 추가: Corresponding Source, you remain obligated to ensure that it is | |
| 286 | 추가: available for as long as needed to satisfy these requirements. | |
| 287 | 추가: | |
| 288 | 추가: e) Convey the object code using peer-to-peer transmission, provided | |
| 289 | 추가: you inform other peers where the object code and Corresponding | |
| 290 | 추가: Source of the work are being offered to the general public at no | |
| 291 | 추가: charge under subsection 6d. | |
| 292 | 추가: | |
| 293 | 추가: A separable portion of the object code, whose source code is excluded | |
| 294 | 추가: from the Corresponding Source as a System Library, need not be | |
| 295 | 추가: included in conveying the object code work. | |
| 296 | 추가: | |
| 297 | 추가: A "User Product" is either (1) a "consumer product", which means any | |
| 298 | 추가: tangible personal property which is normally used for personal, family, | |
| 299 | 추가: or household purposes, or (2) anything designed or sold for incorporation | |
| 300 | 추가: into a dwelling. In determining whether a product is a consumer product, | |
| 301 | 추가: doubtful cases shall be resolved in favor of coverage. For a particular | |
| 302 | 추가: product received by a particular user, "normally used" refers to a | |
| 303 | 추가: typical or common use of that class of product, regardless of the status | |
| 304 | 추가: of the particular user or of the way in which the particular user | |
| 305 | 추가: actually uses, or expects or is expected to use, the product. A product | |
| 306 | 추가: is a consumer product regardless of whether the product has substantial | |
| 307 | 추가: commercial, industrial or non-consumer uses, unless such uses represent | |
| 308 | 추가: the only significant mode of use of the product. | |
| 309 | 추가: | |
| 310 | 추가: "Installation Information" for a User Product means any methods, | |
| 311 | 추가: procedures, authorization keys, or other information required to install | |
| 312 | 추가: and execute modified versions of a covered work in that User Product from | |
| 313 | 추가: a modified version of its Corresponding Source. The information must | |
| 314 | 추가: suffice to ensure that the continued functioning of the modified object | |
| 315 | 추가: code is in no case prevented or interfered with solely because | |
| 316 | 추가: modification has been made. | |
| 317 | 추가: | |
| 318 | 추가: If you convey an object code work under this section in, or with, or | |
| 319 | 추가: specifically for use in, a User Product, and the conveying occurs as | |
| 320 | 추가: part of a transaction in which the right of possession and use of the | |
| 321 | 추가: User Product is transferred to the recipient in perpetuity or for a | |
| 322 | 추가: fixed term (regardless of how the transaction is characterized), the | |
| 323 | 추가: Corresponding Source conveyed under this section must be accompanied | |
| 324 | 추가: by the Installation Information. But this requirement does not apply | |
| 325 | 추가: if neither you nor any third party retains the ability to install | |
| 326 | 추가: modified object code on the User Product (for example, the work has | |
| 327 | 추가: been installed in ROM). | |
| 328 | 추가: | |
| 329 | 추가: The requirement to provide Installation Information does not include a | |
| 330 | 추가: requirement to continue to provide support service, warranty, or updates | |
| 331 | 추가: for a work that has been modified or installed by the recipient, or for | |
| 332 | 추가: the User Product in which it has been modified or installed. Access to a | |
| 333 | 추가: network may be denied when the modification itself materially and | |
| 334 | 추가: adversely affects the operation of the network or violates the rules and | |
| 335 | 추가: protocols for communication across the network. | |
| 336 | 추가: | |
| 337 | 추가: Corresponding Source conveyed, and Installation Information provided, | |
| 338 | 추가: in accord with this section must be in a format that is publicly | |
| 339 | 추가: documented (and with an implementation available to the public in | |
| 340 | 추가: source code form), and must require no special password or key for | |
| 341 | 추가: unpacking, reading or copying. | |
| 342 | 추가: | |
| 343 | 추가: 7. Additional Terms. | |
| 344 | 추가: | |
| 345 | 추가: "Additional permissions" are terms that supplement the terms of this | |
| 346 | 추가: License by making exceptions from one or more of its conditions. | |
| 347 | 추가: Additional permissions that are applicable to the entire Program shall | |
| 348 | 추가: be treated as though they were included in this License, to the extent | |
| 349 | 추가: that they are valid under applicable law. If additional permissions | |
| 350 | 추가: apply only to part of the Program, that part may be used separately | |
| 351 | 추가: under those permissions, but the entire Program remains governed by | |
| 352 | 추가: this License without regard to the additional permissions. | |
| 353 | 추가: | |
| 354 | 추가: When you convey a copy of a covered work, you may at your option | |
| 355 | 추가: remove any additional permissions from that copy, or from any part of | |
| 356 | 추가: it. (Additional permissions may be written to require their own | |
| 357 | 추가: removal in certain cases when you modify the work.) You may place | |
| 358 | 추가: additional permissions on material, added by you to a covered work, | |
| 359 | 추가: for which you have or can give appropriate copyright permission. | |
| 360 | 추가: | |
| 361 | 추가: Notwithstanding any other provision of this License, for material you | |
| 362 | 추가: add to a covered work, you may (if authorized by the copyright holders of | |
| 363 | 추가: that material) supplement the terms of this License with terms: | |
| 364 | 추가: | |
| 365 | 추가: a) Disclaiming warranty or limiting liability differently from the | |
| 366 | 추가: terms of sections 15 and 16 of this License; or | |
| 367 | 추가: | |
| 368 | 추가: b) Requiring preservation of specified reasonable legal notices or | |
| 369 | 추가: author attributions in that material or in the Appropriate Legal | |
| 370 | 추가: Notices displayed by works containing it; or | |
| 371 | 추가: | |
| 372 | 추가: c) Prohibiting misrepresentation of the origin of that material, or | |
| 373 | 추가: requiring that modified versions of such material be marked in | |
| 374 | 추가: reasonable ways as different from the original version; or | |
| 375 | 추가: | |
| 376 | 추가: d) Limiting the use for publicity purposes of names of licensors or | |
| 377 | 추가: authors of the material; or | |
| 378 | 추가: | |
| 379 | 추가: e) Declining to grant rights under trademark law for use of some | |
| 380 | 추가: trade names, trademarks, or service marks; or | |
| 381 | 추가: | |
| 382 | 추가: f) Requiring indemnification of licensors and authors of that | |
| 383 | 추가: material by anyone who conveys the material (or modified versions of | |
| 384 | 추가: it) with contractual assumptions of liability to the recipient, for | |
| 385 | 추가: any liability that these contractual assumptions directly impose on | |
| 386 | 추가: those licensors and authors. | |
| 387 | 추가: | |
| 388 | 추가: All other non-permissive additional terms are considered "further | |
| 389 | 추가: restrictions" within the meaning of section 10. If the Program as you | |
| 390 | 추가: received it, or any part of it, contains a notice stating that it is | |
| 391 | 추가: governed by this License along with a term that is a further | |
| 392 | 추가: restriction, you may remove that term. If a license document contains | |
| 393 | 추가: a further restriction but permits relicensing or conveying under this | |
| 394 | 추가: License, you may add to a covered work material governed by the terms | |
| 395 | 추가: of that license document, provided that the further restriction does | |
| 396 | 추가: not survive such relicensing or conveying. | |
| 397 | 추가: | |
| 398 | 추가: If you add terms to a covered work in accord with this section, you | |
| 399 | 추가: must place, in the relevant source files, a statement of the | |
| 400 | 추가: additional terms that apply to those files, or a notice indicating | |
| 401 | 추가: where to find the applicable terms. | |
| 402 | 추가: | |
| 403 | 추가: Additional terms, permissive or non-permissive, may be stated in the | |
| 404 | 추가: form of a separately written license, or stated as exceptions; | |
| 405 | 추가: the above requirements apply either way. | |
| 406 | 추가: | |
| 407 | 추가: 8. Termination. | |
| 408 | 추가: | |
| 409 | 추가: You may not propagate or modify a covered work except as expressly | |
| 410 | 추가: provided under this License. Any attempt otherwise to propagate or | |
| 411 | 추가: modify it is void, and will automatically terminate your rights under | |
| 412 | 추가: this License (including any patent licenses granted under the third | |
| 413 | 추가: paragraph of section 11). | |
| 414 | 추가: | |
| 415 | 추가: However, if you cease all violation of this License, then your | |
| 416 | 추가: license from a particular copyright holder is reinstated (a) | |
| 417 | 추가: provisionally, unless and until the copyright holder explicitly and | |
| 418 | 추가: finally terminates your license, and (b) permanently, if the copyright | |
| 419 | 추가: holder fails to notify you of the violation by some reasonable means | |
| 420 | 추가: prior to 60 days after the cessation. | |
| 421 | 추가: | |
| 422 | 추가: Moreover, your license from a particular copyright holder is | |
| 423 | 추가: reinstated permanently if the copyright holder notifies you of the | |
| 424 | 추가: violation by some reasonable means, this is the first time you have | |
| 425 | 추가: received notice of violation of this License (for any work) from that | |
| 426 | 추가: copyright holder, and you cure the violation prior to 30 days after | |
| 427 | 추가: your receipt of the notice. | |
| 428 | 추가: | |
| 429 | 추가: Termination of your rights under this section does not terminate the | |
| 430 | 추가: licenses of parties who have received copies or rights from you under | |
| 431 | 추가: this License. If your rights have been terminated and not permanently | |
| 432 | 추가: reinstated, you do not qualify to receive new licenses for the same | |
| 433 | 추가: material under section 10. | |
| 434 | 추가: | |
| 435 | 추가: 9. Acceptance Not Required for Having Copies. | |
| 436 | 추가: | |
| 437 | 추가: You are not required to accept this License in order to receive or | |
| 438 | 추가: run a copy of the Program. Ancillary propagation of a covered work | |
| 439 | 추가: occurring solely as a consequence of using peer-to-peer transmission | |
| 440 | 추가: to receive a copy likewise does not require acceptance. However, | |
| 441 | 추가: nothing other than this License grants you permission to propagate or | |
| 442 | 추가: modify any covered work. These actions infringe copyright if you do | |
| 443 | 추가: not accept this License. Therefore, by modifying or propagating a | |
| 444 | 추가: covered work, you indicate your acceptance of this License to do so. | |
| 445 | 추가: | |
| 446 | 추가: 10. Automatic Licensing of Downstream Recipients. | |
| 447 | 추가: | |
| 448 | 추가: Each time you convey a covered work, the recipient automatically | |
| 449 | 추가: receives a license from the original licensors, to run, modify and | |
| 450 | 추가: propagate that work, subject to this License. You are not responsible | |
| 451 | 추가: for enforcing compliance by third parties with this License. | |
| 452 | 추가: | |
| 453 | 추가: An "entity transaction" is a transaction transferring control of an | |
| 454 | 추가: organization, or substantially all assets of one, or subdividing an | |
| 455 | 추가: organization, or merging organizations. If propagation of a covered | |
| 456 | 추가: work results from an entity transaction, each party to that | |
| 457 | 추가: transaction who receives a copy of the work also receives whatever | |
| 458 | 추가: licenses to the work the party's predecessor in interest had or could | |
| 459 | 추가: give under the previous paragraph, plus a right to possession of the | |
| 460 | 추가: Corresponding Source of the work from the predecessor in interest, if | |
| 461 | 추가: the predecessor has it or can get it with reasonable efforts. | |
| 462 | 추가: | |
| 463 | 추가: You may not impose any further restrictions on the exercise of the | |
| 464 | 추가: rights granted or affirmed under this License. For example, you may | |
| 465 | 추가: not impose a license fee, royalty, or other charge for exercise of | |
| 466 | 추가: rights granted under this License, and you may not initiate litigation | |
| 467 | 추가: (including a cross-claim or counterclaim in a lawsuit) alleging that | |
| 468 | 추가: any patent claim is infringed by making, using, selling, offering for | |
| 469 | 추가: sale, or importing the Program or any portion of it. | |
| 470 | 추가: | |
| 471 | 추가: 11. Patents. | |
| 472 | 추가: | |
| 473 | 추가: A "contributor" is a copyright holder who authorizes use under this | |
| 474 | 추가: License of the Program or a work on which the Program is based. The | |
| 475 | 추가: work thus licensed is called the contributor's "contributor version". | |
| 476 | 추가: | |
| 477 | 추가: A contributor's "essential patent claims" are all patent claims | |
| 478 | 추가: owned or controlled by the contributor, whether already acquired or | |
| 479 | 추가: hereafter acquired, that would be infringed by some manner, permitted | |
| 480 | 추가: by this License, of making, using, or selling its contributor version, | |
| 481 | 추가: but do not include claims that would be infringed only as a | |
| 482 | 추가: consequence of further modification of the contributor version. For | |
| 483 | 추가: purposes of this definition, "control" includes the right to grant | |
| 484 | 추가: patent sublicenses in a manner consistent with the requirements of | |
| 485 | 추가: this License. | |
| 486 | 추가: | |
| 487 | 추가: Each contributor grants you a non-exclusive, worldwide, royalty-free | |
| 488 | 추가: patent license under the contributor's essential patent claims, to | |
| 489 | 추가: make, use, sell, offer for sale, import and otherwise run, modify and | |
| 490 | 추가: propagate the contents of its contributor version. | |
| 491 | 추가: | |
| 492 | 추가: In the following three paragraphs, a "patent license" is any express | |
| 493 | 추가: agreement or commitment, however denominated, not to enforce a patent | |
| 494 | 추가: (such as an express permission to practice a patent or covenant not to | |
| 495 | 추가: sue for patent infringement). To "grant" such a patent license to a | |
| 496 | 추가: party means to make such an agreement or commitment not to enforce a | |
| 497 | 추가: patent against the party. | |
| 498 | 추가: | |
| 499 | 추가: If you convey a covered work, knowingly relying on a patent license, | |
| 500 | 추가: and the Corresponding Source of the work is not available for anyone | |
| 501 | 추가: to copy, free of charge and under the terms of this License, through a | |
| 502 | 추가: publicly available network server or other readily accessible means, | |
| 503 | 추가: then you must either (1) cause the Corresponding Source to be so | |
| 504 | 추가: available, or (2) arrange to deprive yourself of the benefit of the | |
| 505 | 추가: patent license for this particular work, or (3) arrange, in a manner | |
| 506 | 추가: consistent with the requirements of this License, to extend the patent | |
| 507 | 추가: license to downstream recipients. "Knowingly relying" means you have | |
| 508 | 추가: actual knowledge that, but for the patent license, your conveying the | |
| 509 | 추가: covered work in a country, or your recipient's use of the covered work | |
| 510 | 추가: in a country, would infringe one or more identifiable patents in that | |
| 511 | 추가: country that you have reason to believe are valid. | |
| 512 | 추가: | |
| 513 | 추가: If, pursuant to or in connection with a single transaction or | |
| 514 | 추가: arrangement, you convey, or propagate by procuring conveyance of, a | |
| 515 | 추가: covered work, and grant a patent license to some of the parties | |
| 516 | 추가: receiving the covered work authorizing them to use, propagate, modify | |
| 517 | 추가: or convey a specific copy of the covered work, then the patent license | |
| 518 | 추가: you grant is automatically extended to all recipients of the covered | |
| 519 | 추가: work and works based on it. | |
| 520 | 추가: | |
| 521 | 추가: A patent license is "discriminatory" if it does not include within | |
| 522 | 추가: the scope of its coverage, prohibits the exercise of, or is | |
| 523 | 추가: conditioned on the non-exercise of one or more of the rights that are | |
| 524 | 추가: specifically granted under this License. You may not convey a covered | |
| 525 | 추가: work if you are a party to an arrangement with a third party that is | |
| 526 | 추가: in the business of distributing software, under which you make payment | |
| 527 | 추가: to the third party based on the extent of your activity of conveying | |
| 528 | 추가: the work, and under which the third party grants, to any of the | |
| 529 | 추가: parties who would receive the covered work from you, a discriminatory | |
| 530 | 추가: patent license (a) in connection with copies of the covered work | |
| 531 | 추가: conveyed by you (or copies made from those copies), or (b) primarily | |
| 532 | 추가: for and in connection with specific products or compilations that | |
| 533 | 추가: contain the covered work, unless you entered into that arrangement, | |
| 534 | 추가: or that patent license was granted, prior to 28 March 2007. | |
| 535 | 추가: | |
| 536 | 추가: Nothing in this License shall be construed as excluding or limiting | |
| 537 | 추가: any implied license or other defenses to infringement that may | |
| 538 | 추가: otherwise be available to you under applicable patent law. | |
| 539 | 추가: | |
| 540 | 추가: 12. No Surrender of Others' Freedom. | |
| 541 | 추가: | |
| 542 | 추가: If conditions are imposed on you (whether by court order, agreement or | |
| 543 | 추가: otherwise) that contradict the conditions of this License, they do not | |
| 544 | 추가: excuse you from the conditions of this License. If you cannot convey a | |
| 545 | 추가: covered work so as to satisfy simultaneously your obligations under this | |
| 546 | 추가: License and any other pertinent obligations, then as a consequence you may | |
| 547 | 추가: not convey it at all. For example, if you agree to terms that obligate you | |
| 548 | 추가: to collect a royalty for further conveying from those to whom you convey | |
| 549 | 추가: the Program, the only way you could satisfy both those terms and this | |
| 550 | 추가: License would be to refrain entirely from conveying the Program. | |
| 551 | 추가: | |
| 552 | 추가: 13. Use with the GNU Affero General Public License. | |
| 553 | 추가: | |
| 554 | 추가: Notwithstanding any other provision of this License, you have | |
| 555 | 추가: permission to link or combine any covered work with a work licensed | |
| 556 | 추가: under version 3 of the GNU Affero General Public License into a single | |
| 557 | 추가: combined work, and to convey the resulting work. The terms of this | |
| 558 | 추가: License will continue to apply to the part which is the covered work, | |
| 559 | 추가: but the special requirements of the GNU Affero General Public License, | |
| 560 | 추가: section 13, concerning interaction through a network will apply to the | |
| 561 | 추가: combination as such. | |
| 562 | 추가: | |
| 563 | 추가: 14. Revised Versions of this License. | |
| 564 | 추가: | |
| 565 | 추가: The Free Software Foundation may publish revised and/or new versions of | |
| 566 | 추가: the GNU General Public License from time to time. Such new versions will | |
| 567 | 추가: be similar in spirit to the present version, but may differ in detail to | |
| 568 | 추가: address new problems or concerns. | |
| 569 | 추가: | |
| 570 | 추가: Each version is given a distinguishing version number. If the | |
| 571 | 추가: Program specifies that a certain numbered version of the GNU General | |
| 572 | 추가: Public License "or any later version" applies to it, you have the | |
| 573 | 추가: option of following the terms and conditions either of that numbered | |
| 574 | 추가: version or of any later version published by the Free Software | |
| 575 | 추가: Foundation. If the Program does not specify a version number of the | |
| 576 | 추가: GNU General Public License, you may choose any version ever published | |
| 577 | 추가: by the Free Software Foundation. | |
| 578 | 추가: | |
| 579 | 추가: If the Program specifies that a proxy can decide which future | |
| 580 | 추가: versions of the GNU General Public License can be used, that proxy's | |
| 581 | 추가: public statement of acceptance of a version permanently authorizes you | |
| 582 | 추가: to choose that version for the Program. | |
| 583 | 추가: | |
| 584 | 추가: Later license versions may give you additional or different | |
| 585 | 추가: permissions. However, no additional obligations are imposed on any | |
| 586 | 추가: author or copyright holder as a result of your choosing to follow a | |
| 587 | 추가: later version. | |
| 588 | 추가: | |
| 589 | 추가: 15. Disclaimer of Warranty. | |
| 590 | 추가: | |
| 591 | 추가: THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY | |
| 592 | 추가: APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT | |
| 593 | 추가: HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY | |
| 594 | 추가: OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, | |
| 595 | 추가: THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | |
| 596 | 추가: PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM | |
| 597 | 추가: IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF | |
| 598 | 추가: ALL NECESSARY SERVICING, REPAIR OR CORRECTION. | |
| 599 | 추가: | |
| 600 | 추가: 16. Limitation of Liability. | |
| 601 | 추가: | |
| 602 | 추가: IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING | |
| 603 | 추가: WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS | |
| 604 | 추가: THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY | |
| 605 | 추가: GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE | |
| 606 | 추가: USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF | |
| 607 | 추가: DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD | |
| 608 | 추가: PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), | |
| 609 | 추가: EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF | |
| 610 | 추가: SUCH DAMAGES. | |
| 611 | 추가: | |
| 612 | 추가: 17. Interpretation of Sections 15 and 16. | |
| 613 | 추가: | |
| 614 | 추가: If the disclaimer of warranty and limitation of liability provided | |
| 615 | 추가: above cannot be given local legal effect according to their terms, | |
| 616 | 추가: reviewing courts shall apply local law that most closely approximates | |
| 617 | 추가: an absolute waiver of all civil liability in connection with the | |
| 618 | 추가: Program, unless a warranty or assumption of liability accompanies a | |
| 619 | 추가: copy of the Program in return for a fee. | |
| 620 | 추가: | |
| 621 | 추가: END OF TERMS AND CONDITIONS | |
| 622 | 추가: | |
| 623 | 추가: How to Apply These Terms to Your New Programs | |
| 624 | 추가: | |
| 625 | 추가: If you develop a new program, and you want it to be of the greatest | |
| 626 | 추가: possible use to the public, the best way to achieve this is to make it | |
| 627 | 추가: free software which everyone can redistribute and change under these terms. | |
| 628 | 추가: | |
| 629 | 추가: To do so, attach the following notices to the program. It is safest | |
| 630 | 추가: to attach them to the start of each source file to most effectively | |
| 631 | 추가: state the exclusion of warranty; and each file should have at least | |
| 632 | 추가: the "copyright" line and a pointer to where the full notice is found. | |
| 633 | 추가: | |
| 634 | 추가: <one line to give the program's name and a brief idea of what it does.> | |
| 635 | 추가: Copyright (C) <year> <name of author> | |
| 636 | 추가: | |
| 637 | 추가: This program is free software: you can redistribute it and/or modify | |
| 638 | 추가: it under the terms of the GNU General Public License as published by | |
| 639 | 추가: the Free Software Foundation, either version 3 of the License, or | |
| 640 | 추가: (at your option) any later version. | |
| 641 | 추가: | |
| 642 | 추가: This program is distributed in the hope that it will be useful, | |
| 643 | 추가: but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 644 | 추가: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 645 | 추가: GNU General Public License for more details. | |
| 646 | 추가: | |
| 647 | 추가: You should have received a copy of the GNU General Public License | |
| 648 | 추가: along with this program. If not, see <https://www.gnu.org/licenses/>. | |
| 649 | 추가: | |
| 650 | 추가: Also add information on how to contact you by electronic and paper mail. | |
| 651 | 추가: | |
| 652 | 추가: If the program does terminal interaction, make it output a short | |
| 653 | 추가: notice like this when it starts in an interactive mode: | |
| 654 | 추가: | |
| 655 | 추가: <program> Copyright (C) <year> <name of author> | |
| 656 | 추가: This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. | |
| 657 | 추가: This is free software, and you are welcome to redistribute it | |
| 658 | 추가: under certain conditions; type `show c' for details. | |
| 659 | 추가: | |
| 660 | 추가: The hypothetical commands `show w' and `show c' should show the appropriate | |
| 661 | 추가: parts of the General Public License. Of course, your program's commands | |
| 662 | 추가: might be different; for a GUI interface, you would use an "about box". | |
| 663 | 추가: | |
| 664 | 추가: You should also get your employer (if you work as a programmer) or school, | |
| 665 | 추가: if any, to sign a "copyright disclaimer" for the program, if necessary. | |
| 666 | 추가: For more information on this, and how to apply and follow the GNU GPL, see | |
| 667 | 추가: <https://www.gnu.org/licenses/>. | |
| 668 | 추가: | |
| 669 | 추가: The GNU General Public License does not permit incorporating your program | |
| 670 | 추가: into proprietary programs. If your program is a subroutine library, you | |
| 671 | 추가: may consider it more useful to permit linking proprietary applications with | |
| 672 | 추가: the library. If this is what you want to do, use the GNU Lesser General | |
| 673 | 추가: Public License instead of this License. But first, please read | |
| 674 | 추가: <https://www.gnu.org/licenses/why-not-lgpl.html>. |
| @@ -1,110 +1,191 @@ | ||
| 1 | 삭제: # wayland-android-remote | |
| 1 | 추가: # Android Remote | |
| 2 | 2 | |
| 3 | 삭제: Ubuntu(Wayland/X11)에서 Android 기기 화면을 실시간으로 미러링하고, PC의 마우스와 키보드로 원격 제어하는 프로젝트입니다. 호스트 PC와 휴대폰 간 텍스트를 Ctrl+C / Ctrl+V로 주고받는 양방향 클립보드 동기화를 지원합니다. | |
| 3 | 추가: Ubuntu(Wayland/X11)에서 Android 휴대폰 화면을 실시간으로 띄우고, PC의 마우스와 키보드로 조작하는 앱입니다. 휴대폰과 PC 사이에서 텍스트·이미지 클립보드를 단축키 그대로 주고받고, PC 파일을 끌어다 놓아 휴대폰으로 보낼 수 있습니다. | |
| 4 | 4 | |
| 5 | 삭제: 자세한 설계는 Google Docs의 "Android Remote 기획서"에 있습니다. | |
| 5 | 추가: <p align="center"><img src="docs/images/screenshot.png" alt="Ubuntu에서 휴대폰 화면을 띄운 Android Remote 창" width="320"></p> | |
| 6 | 6 | |
| 7 | 삭제: ## 구성 | |
| 7 | 추가: - **저지연 미러링**: 휴대폰 하드웨어 인코더(H.265/H.264)와 PC 하드웨어 디코더(NVDEC, VA-API)를 쓰고, 지원하지 않으면 소프트웨어 디코딩으로 자동 전환합니다. Wi-Fi에서 1080p급 60fps. | |
| 8 | 추가: - **PC에 ADB가 필요 없음**: 휴대폰 동반 앱이 무선 디버깅으로 자기 자신에게 접속해 서비스를 띄웁니다. PC는 IP만 입력하면 됩니다. | |
| 9 | 추가: - **안전한 연결**: 모든 연결을 TLS 1.3으로 암호화하고, PC는 Ed25519 키로 인증합니다. 처음 연결하는 PC는 휴대폰에서 확인 코드를 대조해 승인합니다. | |
| 10 | 추가: - **클립보드와 파일**: Ctrl+C / Ctrl+V로 텍스트와 이미지를 양방향 동기화하고, 파일은 붙여넣기나 끌어다 놓기로 전송합니다. | |
| 8 | 11 | |
| 9 | 삭제: | 경로 | 내용 | | |
| 12 | 추가: ## 요구 사항 | |
| 13 | 추가: | |
| 14 | 추가: | | 조건 | | |
| 10 | 15 | |---|---| |
| 11 | 삭제: | `src/protocol/` | 제어 채널 프레이밍과 메시지 페이로드 인코딩/디코딩 (Rust 라이브러리) | | |
| 12 | 삭제: | `src/ui/` | 호스트 GUI. winit 창에 wgpu(Vulkan)로 직접 그리고, 설정·입력 UI는 egui로 같은 렌더 패스에 그립니다. | | |
| 13 | 삭제: | `src/adb.rs` | USB ADB 모드: 호스트 adb로 데몬을 띄우고 포트를 포워딩 | | |
| 14 | 삭제: | `android/` | Android 동반 앱과 shell 권한 데몬 (Kotlin, Gradle). 데몬은 동반 앱 APK 안에 함께 들어가며 `app_process`로 실행됩니다. | | |
| 15 | 삭제: | `scripts/install.sh`, `packaging/` | PC 앱 설치 스크립트, 바탕화면 항목, 아이콘 | | |
| 16 | 삭제: | `docs/dev-setup.md` | 개발 환경 설치 방법 | | |
| 16 | 추가: | PC | Ubuntu 26.04 또는 24.04 (GNOME Wayland 또는 X11), Vulkan을 지원하는 GPU | | |
| 17 | 추가: | 휴대폰 | Android 15 이상 (Galaxy S21+ One UI 7에서 확인) | | |
| 18 | 추가: | 네트워크 | PC와 휴대폰이 같은 Wi-Fi 또는 VPN(예: 100.x.x.x)으로 연결 | | |
| 19 | 추가: | |
| 20 | 추가: ## 빠른 시작 | |
| 17 | 21 | |
| 18 | 삭제: ## 연결 구조 요약 | |
| 22 | 추가: ### 1. PC 앱 설치 | |
| 19 | 23 | |
| 20 | 삭제: 1. 동반 앱이 기기 자신의 무선 디버깅에 접속해 shell 권한 데몬을 띄웁니다. 호스트 PC에는 ADB가 필요 없습니다. | |
| 21 | 삭제: 2. 데몬은 TCP 27200 포트에서 대기하고, 모든 연결은 TLS 1.3으로 암호화합니다. | |
| 22 | 삭제: 3. 호스트는 IP를 입력해 접속하고 Ed25519 키로 인증합니다. 처음 접속하는 PC는 휴대폰에서 승인합니다. | |
| 23 | 삭제: 4. 제어 채널(입력, 클립보드)과 영상 채널(H.264/H.265/AV1)은 별도 TCP 연결로 나뉩니다. | |
| 24 | 추가: 릴리스 페이지에서 Ubuntu 버전에 맞는 .deb(`~ubuntu26.04` 또는 `~ubuntu24.04`)를 받아 설치합니다. | |
| 24 | 25 | |
| 25 | 삭제: ## 설치 | |
| 26 | 추가: ```bash | |
| 27 | 추가: sudo apt install ./android-remote_0.1.0-1~ubuntu26.04_amd64.deb | |
| 28 | 추가: ``` | |
| 26 | 29 | |
| 27 | 삭제: ### PC 앱 | |
| 30 | 추가: 소스에서 직접 설치하려면: | |
| 28 | 31 | |
| 29 | 32 | ```bash |
| 30 | 33 | ./scripts/install.sh |
| 31 | 34 | ``` |
| 32 | 35 | |
| 33 | 삭제: 릴리스로 빌드해 `~/.local/bin/android-remote`, 앱 목록 항목, 아이콘을 설치합니다(root 불필요). 제거는 `./scripts/install.sh --uninstall`이며, 키와 설정(`~/.config/android-remote`)은 남깁니다. | |
| 36 | 추가: 릴리스로 빌드해 `~/.local`에 실행 파일, 앱 목록 항목, 아이콘을 설치합니다(관리자 권한 불필요). 앱 목록에서 **Android Remote**로 실행하거나, 터미널에서 `android-remote [휴대폰 IP]`로 실행합니다. 제거는 `./scripts/install.sh --uninstall`이며, 키와 설정은 남깁니다. | |
| 34 | 37 | |
| 35 | 삭제: - 설정 창의 값과 창 크기는 `~/.config/android-remote/settings`에 저장됩니다. | |
| 36 | 삭제: - 클립보드는 텍스트와 이미지를 모두 주고받습니다. 휴대폰에서 이미지를 복사하면 PC 클립보드에 이미지로 들어오고, PC에서 이미지를 복사한 뒤 원격 창에서 Ctrl+V를 누르면 휴대폰에 붙여넣습니다(한 장 최대 16MB). | |
| 37 | 삭제: - 파일 전송: PC 파일 관리자에서 파일을 복사한 뒤 원격 창에서 Ctrl+V를 누르거나, 파일을 원격 창에 끌어다 놓으면 휴대폰의 `Download/Android Remote`에 저장합니다. 진행률은 화면 아래 알림으로 보입니다. | |
| 38 | 삭제: - 왼쪽 카메라 아이콘은 현재 화면을 `~/사진/Android Remote`(XDG 사진 폴더)에 PNG로 저장합니다. | |
| 39 | 삭제: - 연결된 뒤 Wi-Fi가 끊기거나 데몬이 다시 시작되면 최대 60초 동안 자동으로 다시 연결합니다. Esc로 취소합니다. 휴대폰에서 이 PC의 허용을 철회하면 다시 연결하지 않습니다. | |
| 38 | 추가: ### 2. 휴대폰 앱 설치와 최초 설정 | |
| 40 | 39 | |
| 41 | 삭제: ### 휴대폰 앱 (릴리스 APK) | |
| 40 | 추가: 1. 릴리스 페이지의 `android-remote-0.1.0.apk`를 휴대폰에 설치하고 엽니다. | |
| 41 | 추가: 2. 설정 > 휴대전화 정보 > 소프트웨어 정보 > 빌드번호를 7번 눌러 개발자 옵션을 켭니다. 삼성 **자동 차단(Auto Blocker)**이 켜져 있으면 끕니다. | |
| 42 | 추가: 3. 앱에서 **페어링 코드 입력 (최초 1회)**을 누르면 알림이 뜨고 개발자 옵션이 열립니다. | |
| 43 | 추가: 4. **무선 디버깅**을 켭니다. 확인 창에서 **이 네트워크에서 항상 허용**을 선택해야 이후 앱이 혼자 서비스를 다시 띄울 수 있습니다. | |
| 44 | 추가: 5. **페어링 코드로 기기 페어링**을 연 채로, 알림의 **코드 입력**에 화면의 6자리 코드를 넣습니다. | |
| 42 | 45 | |
| 43 | 삭제: 서명 키는 저장소 밖 `~/.config/android-remote-signing/keystore.properties`(또는 `ANDROID_REMOTE_SIGNING` 환경 변수가 가리키는 파일)에 둡니다. `storeFile`, `storePassword`, `keyAlias`, `keyPassword` 네 값을 적습니다. 디버그 빌드도 같은 키로 서명하므로 두 APK를 지우지 않고 서로 덮어 설치할 수 있습니다. | |
| 46 | 추가: 페어링이 끝나면 서비스가 바로 시작됩니다. 이후에는 재부팅이나 앱 업데이트 뒤에도 앱이 무선 디버깅을 잠깐 켜서 서비스를 다시 띄우고 끕니다(Wi-Fi 연결 필요). | |
| 44 | 47 | |
| 45 | 삭제: ```bash | |
| 46 | 삭제: cd android && ./gradlew assembleRelease | |
| 47 | 삭제: adb install -r app/build/outputs/apk/release/app-release.apk | |
| 48 | 삭제: ``` | |
| 48 | 추가: ### 3. 연결 | |
| 49 | 추가: | |
| 50 | 추가: 1. PC 앱의 검은 화면 가운데에 휴대폰 앱이 보여 주는 주소(예: `192.168.0.12`)를 입력하고 Enter를 누릅니다. | |
| 51 | 추가: 2. 휴대폰에 승인 창이 뜨면 PC 화면의 확인 코드와 같은지 보고 **항상 허용** 또는 **이번만 허용**을 누릅니다. | |
| 49 | 52 | |
| 50 | 삭제: 릴리스 빌드는 R8로 코드와 리소스를 줄입니다. 데몬 클래스는 `app_process`가 이름으로 찾으므로 `proguard-rules.pro`에서 유지합니다. | |
| 53 | 추가: 한 번 허용한 PC는 다음부터 바로 연결됩니다. 최근 연결한 주소는 입력창 아래에 표시됩니다. | |
| 51 | 54 | |
| 52 | 삭제: ### USB ADB 모드 | |
| 55 | 추가: ## 사용법 | |
| 56 | 추가: | |
| 57 | 추가: ### 조작 | |
| 58 | 추가: | |
| 59 | 추가: | PC | 휴대폰 | | |
| 60 | 추가: |---|---| | |
| 61 | 추가: | 왼쪽 클릭·드래그 | 터치, 스와이프 | | |
| 62 | 추가: | 오른쪽 클릭 | 바로 길게 누르기 (누른 채 움직이면 길게 누른 뒤 끌기) | | |
| 63 | 추가: | 휠, 터치패드 스크롤 | 스크롤 | | |
| 64 | 추가: | 마우스 뒤로 버튼 (옆 버튼 아래쪽) | 뒤로 | | |
| 65 | 추가: | 키보드, 한글 입력 | 키 입력, 글자 입력 | | |
| 66 | 추가: | Ctrl+C / Ctrl+X / Ctrl+V / Ctrl+A | 복사 / 잘라내기 / 붙여넣기 / 전체 선택 | | |
| 67 | 추가: | 화면 아래 ◁ ○ □ | 뒤로 / 홈 / 최근 앱 | | |
| 53 | 68 | |
| 54 | 삭제: 무선 디버깅을 쓸 수 없을 때의 보조 경로입니다. PC에 adb(platform-tools)가 있으면 설정 창에서 "USB ADB 모드"를 켤 수 있습니다. 켠 뒤 IP 입력창을 비우고 Enter를 누르면(또는 `android-remote usb`로 실행하면) 호스트가 USB 기기에서 데몬을 띄우고 `adb forward`로 연결합니다. 이후 TLS와 인증은 Wi-Fi 연결과 같습니다. 이렇게 띄운 데몬은 USB를 뽑아도 계속 실행되므로 그 뒤에는 Wi-Fi로도 접속할 수 있습니다. | |
| 69 | 추가: 창 왼쪽 아이콘은 위에서부터 **설정**, **스크린샷**, **화면 회전**, 맨 아래 **연결 끊기**입니다. 아이콘 열·아래 내비게이션 줄의 빈 곳이나 제목 표시줄을 끌면 창이 움직이고, 창 가장자리를 끌면 휴대폰 화면 비율을 유지한 채 크기가 바뀝니다. | |
| 55 | 70 | |
| 56 | 삭제: ## 개발 환경 | |
| 71 | 추가: ### 클립보드 | |
| 57 | 72 | |
| 58 | 삭제: ### 호스트 (Rust) | |
| 73 | 추가: - 휴대폰에서 복사한 텍스트·이미지는 PC 클립보드에 바로 들어옵니다. | |
| 74 | 추가: - PC에서 복사한 뒤 원격 창에서 Ctrl+V를 누르면 휴대폰에 붙여넣습니다. 이미지는 한 장 최대 16MB입니다. | |
| 75 | 추가: - 설정의 **창 포커스 시 클립보드 동기화**를 켜면 원격 창으로 돌아올 때 PC의 텍스트를 휴대폰에 미리 넣어 둡니다. | |
| 76 | 추가: | |
| 77 | 추가: ### 파일 보내기 | |
| 78 | 추가: | |
| 79 | 추가: PC 파일 관리자에서 파일을 복사(Ctrl+C)한 뒤 원격 창에서 Ctrl+V를 누르거나, 파일을 원격 창에 끌어다 놓으면 휴대폰의 `Download/Android Remote` 폴더에 저장됩니다. 같은 이름이 있으면 `이름 (1).확장자`로 저장하고, 진행률은 화면 아래 알림에 표시됩니다. 받은 파일은 갤러리와 내 파일 앱에 바로 보입니다. | |
| 80 | 추가: | |
| 81 | 추가: ### 그 밖의 기능 | |
| 82 | 추가: | |
| 83 | 추가: - **스크린샷**: 카메라 아이콘을 누르면 현재 화면을 `~/사진/Android Remote/`(XDG 사진 폴더)에 PNG로 저장합니다. | |
| 84 | 추가: - **화면 회전**: 회전 아이콘으로 휴대폰 화면을 세로·가로로 돌립니다. 연결을 끊으면 원래 회전 설정으로 돌아갑니다. | |
| 85 | 추가: - **휴대폰 화면 끄기**: 기본으로 연결 중에는 휴대폰의 실제 화면을 끄고 미러링만 유지합니다. 설정의 **휴대폰 화면 켜 두기**로 바꿀 수 있습니다. | |
| 86 | 추가: - **자동 재연결**: 연결된 뒤 Wi-Fi가 끊기거나 서비스가 다시 시작되면 최대 60초 동안 같은 주소로 다시 연결합니다. Esc로 취소합니다. | |
| 87 | 추가: - **영상 설정**: 설정 창에서 해상도(원본, 2400p~1024p), FPS(30~120), 비트레이트(2~40Mbps)를 바꾸면 연결 중에도 바로 적용됩니다. | |
| 88 | 추가: | |
| 89 | 추가: ### USB로 연결하기 | |
| 90 | 추가: | |
| 91 | 추가: 무선 디버깅을 쓸 수 없을 때의 보조 경로입니다. PC에 adb(Android platform-tools)가 있으면 설정 창에서 **USB ADB 모드**를 켤 수 있습니다. 켠 뒤 IP 입력창을 비우고 Enter를 누르거나 `android-remote usb`로 실행하면, PC가 USB로 연결된 휴대폰에서 서비스를 띄우고 연결합니다. 이렇게 띄운 서비스는 USB를 뽑아도 계속 실행되므로 그 뒤에는 Wi-Fi로도 연결할 수 있습니다. | |
| 92 | 추가: | |
| 93 | 추가: ## 보안과 권한 관리 | |
| 94 | 추가: | |
| 95 | 추가: - 휴대폰 서비스는 TCP 27200 포트에서 TLS 1.3 연결만 받습니다. PC는 처음 연결한 휴대폰의 인증서 지문을 기억하고, 같은 주소에서 다른 인증서가 오면 연결을 거부합니다. | |
| 96 | 추가: - 휴대폰 앱의 **허용된 PC** 목록에서 PC를 삭제하면 연결 중인 세션이 바로 끊기고, 다시 연결하려면 승인을 받아야 합니다. | |
| 97 | 추가: - PC 키는 `~/.config/android-remote/device_key`(권한 0600)에 있습니다. 이 파일을 지우면 휴대폰에서 새 PC로 보입니다. | |
| 98 | 추가: | |
| 99 | 추가: ## 문제 해결 | |
| 100 | 추가: | |
| 101 | 추가: | 증상 | 해결 | | |
| 102 | 추가: |---|---| | |
| 103 | 추가: | "휴대폰에서 Android Remote 앱을 열어 서비스를 켜 주세요" | 앱에서 **서비스 시작**을 누릅니다. 페어링이 해제되었다고 나오면 최초 설정의 페어링을 다시 합니다. | | |
| 104 | 추가: | 재부팅 뒤 서비스가 자동으로 뜨지 않음 | 휴대폰에 "이 네트워크에서 무선 디버깅을 허용하시겠습니까?" 창이 떠 있으면 **이 네트워크에서 항상 허용**을 체크하고 허용합니다. | | |
| 105 | 추가: | 개발자 옵션에서 "USB 디버깅 권한 승인 취소"를 한 뒤 연결이 안 됨 | 이 작업은 앱의 무선 디버깅 페어링과 네트워크 허용도 지웁니다. 페어링을 다시 하고 네트워크 허용을 다시 선택합니다. | | |
| 106 | 추가: | "저장된 기기와 인증서가 다릅니다" | 휴대폰을 초기화했거나 휴대폰의 서비스 저장소(`/data/local/tmp/android-remote`)가 지워진 경우입니다. 화면의 **기기 기록 지우기**를 누른 뒤 다시 승인합니다. | | |
| 107 | 추가: | 영상이 끊기거나 소프트웨어 디코딩으로 표시됨 | 다른 프로그램이 GPU 메모리를 거의 다 쓰고 있으면 하드웨어 디코더를 만들지 못합니다. GPU 메모리를 비우거나 설정에서 해상도를 낮춥니다. | | |
| 108 | 추가: | 원인을 더 보고 싶을 때 | `RUST_LOG=android_remote=debug android-remote`로 실행하면 자세한 로그가 나옵니다. 휴대폰 쪽 로그는 `/data/local/tmp/android-remote/daemon.log`에 있습니다. | | |
| 59 | 109 | |
| 60 | 삭제: - Rust 1.85 이상 (edition 2024) | |
| 110 | 추가: ## 저장 위치 | |
| 111 | 추가: | |
| 112 | 추가: | 위치 | 내용 | | |
| 113 | 추가: |---|---| | |
| 114 | 추가: | `~/.config/android-remote/device_key` | PC 인증 키 (Ed25519) | | |
| 115 | 추가: | `~/.config/android-remote/known_devices` | 연결한 휴대폰의 인증서 지문 | | |
| 116 | 추가: | `~/.config/android-remote/settings` | 설정값과 창 크기 | | |
| 117 | 추가: | `~/.config/android-remote/recent_ips` | 최근 연결 주소 | | |
| 118 | 추가: | 휴대폰 `/data/local/tmp/android-remote/` | 서비스 인증서, 허용된 PC 목록, 로그 | | |
| 119 | 추가: | 휴대폰 `Download/Android Remote/` | PC에서 받은 파일 | | |
| 120 | 추가: | |
| 121 | 추가: ## 개발 | |
| 122 | 추가: | |
| 123 | 추가: ### 구조 | |
| 124 | 추가: | |
| 125 | 추가: | 경로 | 내용 | | |
| 126 | 추가: |---|---| | |
| 127 | 추가: | `src/protocol/` | 제어 채널 프레이밍과 메시지 인코딩·디코딩 | | |
| 128 | 추가: | `src/net/` | TLS 1.3 연결, 인증서 고정, PC 키 | | |
| 129 | 추가: | `src/video/` | FFmpeg 하드웨어·소프트웨어 디코더 | | |
| 130 | 추가: | `src/ui/` | 호스트 GUI (winit + wgpu, 설정·입력 UI는 egui), 클립보드, 파일 전송, 끌어다 놓기 | | |
| 131 | 추가: | `src/adb.rs` | USB ADB 모드 | | |
| 132 | 추가: | `android/` | 휴대폰 동반 앱과 shell 권한 서비스(데몬). 데몬은 APK 안에 함께 들어가며 `app_process`로 실행됩니다. | | |
| 133 | 추가: | `examples/` | `probe`(GUI 없는 연결·입력·전송 점검), `fake_device`(가짜 휴대폰) | | |
| 134 | 추가: | `scripts/`, `packaging/` | 설치·.deb 빌드 스크립트, 개발용 데몬 실행, 바탕화면 항목, 아이콘, 빌드 컨테이너 | | |
| 135 | 추가: | `docs/dev-setup.md` | 개발 환경 설치 | | |
| 136 | 추가: | `docs/release-checklist.md` | .deb 배포 전 점검표 | | |
| 137 | 추가: | |
| 138 | 추가: 자세한 설계와 프로토콜은 "Android Remote 기획서"(Google Docs)에 있습니다. | |
| 139 | 추가: | |
| 140 | 추가: ### 빌드와 테스트 | |
| 141 | 추가: | |
| 142 | 추가: 개발 환경 설치는 [docs/dev-setup.md](docs/dev-setup.md)를 봅니다. | |
| 61 | 143 | |
| 62 | 144 | ```bash |
| 63 | 145 | cargo test |
| 64 | 삭제: cargo run | |
| 146 | 추가: cargo clippy --all-targets -- -D warnings | |
| 147 | 추가: cargo run --release | |
| 65 | 148 | ``` |
| 66 | 149 | |
| 67 | 삭제: ### Android | |
| 68 | 삭제: | |
| 69 | 삭제: - JDK 17 이상 (javac 포함) | |
| 70 | 삭제: - Android SDK (compileSdk 36), `android/local.properties`에 `sdk.dir` 지정 또는 `ANDROID_HOME` 설정 | |
| 71 | 삭제: - 대상 기기: Android 15(API 35) 이상 | |
| 72 | 삭제: | |
| 73 | 150 | ```bash |
| 74 | 삭제: cd android | |
| 75 | 삭제: ./gradlew assembleDebug | |
| 151 | 추가: cd android && ./gradlew assembleRelease | |
| 76 | 152 | ``` |
| 77 | 153 | |
| 78 | 삭제: ### 휴대폰 없이 테스트하기 | |
| 154 | 추가: 릴리스 APK는 R8로 줄이고, 저장소 밖 서명 키로 서명합니다. 키 정보는 `~/.config/android-remote-signing/keystore.properties`(또는 `ANDROID_REMOTE_SIGNING`이 가리키는 파일)에 `storeFile`, `storePassword`, `keyAlias`, `keyPassword`로 적습니다. 디버그 빌드도 같은 키로 서명하므로 서로 덮어 설치할 수 있습니다. 서명 키를 잃어버리면 기존 설치를 업데이트할 수 없으니 따로 백업해 둡니다. | |
| 79 | 155 | |
| 80 | 삭제: `examples/fake_device.rs`는 기기 데몬과 같은 프로토콜(TLS 1.3, Ed25519 인증, 영상 채널)로 응답하는 가짜 기기입니다. 영상 데이터는 디코딩할 수 없는 더미 바이트입니다. | |
| 156 | 추가: ### .deb 만들기 | |
| 81 | 157 | |
| 82 | 158 | ```bash |
| 83 | 삭제: cargo run --example fake_device -- --policy always --delay-ms 3000 | |
| 159 | 추가: ./scripts/build-deb.sh | |
| 84 | 160 | ``` |
| 85 | 161 | |
| 86 | 삭제: 다른 터미널에서 `cargo run`으로 호스트를 띄우고 IP 입력창에 `127.0.0.1`을 입력합니다. 승인 정책은 `always`, `once`, `reject`, `never` 중에서 고릅니다. | |
| 162 | 추가: Ubuntu 26.04와 24.04 컨테이너에서 각각 빌드해 `dist/`에 배포판별 .deb를 만듭니다. podman(또는 docker)이 필요합니다. 배포 절차와 점검 항목은 [docs/release-checklist.md](docs/release-checklist.md)에 있습니다. | |
| 87 | 163 | |
| 88 | 삭제: ### 휴대폰 준비 (USB 없이 사용) | |
| 164 | 추가: ### 휴대폰 없이 시험하기 | |
| 89 | 165 | |
| 90 | 삭제: 1. 동반 앱(Android Remote)을 설치하고 엽니다. | |
| 91 | 삭제: 2. "페어링 코드 입력 (최초 1회)"을 누르면 알림이 뜨고 개발자 옵션이 열립니다. 무선 디버깅을 켜고(확인 창에서 "이 네트워크에서 항상 허용" 선택), "페어링 코드로 기기 페어링"을 연 채로 알림의 "코드 입력"에 6자리 코드를 넣습니다. | |
| 92 | 삭제: 3. 페어링이 끝나면 서비스가 자동으로 시작됩니다. 이후에는 재부팅이나 앱 업데이트 뒤에도 앱이 무선 디버깅을 잠깐 켜서 서비스를 다시 띄우고 끕니다(Wi-Fi 연결 필요). | |
| 93 | 삭제: 4. PC 앱에 동반 앱 화면의 주소(예: `192.168.0.12`)를 입력하고, 휴대폰 승인 창에서 확인 코드를 대조해 허용합니다. | |
| 166 | 추가: ```bash | |
| 167 | 추가: cargo run --example fake_device -- --policy always --delay-ms 3000 | |
| 168 | 추가: ``` | |
| 94 | 169 | |
| 95 | 삭제: ### 실제 휴대폰으로 테스트하기 (개발용) | |
| 170 | 추가: 가짜 휴대폰이 같은 프로토콜(TLS 1.3, Ed25519, 영상 채널)로 응답합니다. 다른 터미널에서 `cargo run`으로 PC 앱을 띄우고 `127.0.0.1`에 연결합니다. 승인 정책은 `always`, `once`, `reject`, `never` 중에서 고릅니다. | |
| 96 | 171 | |
| 97 | 삭제: 데몬 로그를 터미널에서 바로 보려면 USB로 데몬을 포그라운드로 띄웁니다. 폰에서 USB 디버깅을 허용한 뒤: | |
| 172 | 추가: ### 실제 휴대폰으로 시험하기 | |
| 98 | 173 | |
| 99 | 174 | ```bash |
| 100 | 175 | ./scripts/dev-daemon.sh |
| 101 | 176 | ``` |
| 102 | 177 | |
| 103 | 삭제: APK를 빌드·설치하고 데몬을 포그라운드로 실행합니다(Ctrl+C로 종료). `adb forward`도 걸어 두므로 호스트에서 `127.0.0.1`(USB) 또는 폰의 Wi-Fi IP로 접속할 수 있습니다. 처음 접속하는 PC는 휴대폰에 승인 창이 뜨고, PC 화면과 같은 확인 코드인지 보고 허용합니다. 동반 앱(Android Remote)에서 허용된 PC 목록을 보고 삭제할 수 있습니다. | |
| 104 | 삭제: | |
| 105 | 삭제: GUI 없이 접속만 점검하려면: | |
| 178 | 추가: USB로 연결한 휴대폰에 APK를 설치하고 서비스를 포그라운드로 실행합니다(Ctrl+C로 종료). 로그를 터미널에서 바로 볼 수 있습니다. | |
| 106 | 179 | |
| 107 | 180 | ```bash |
| 108 | 삭제: cargo run --example probe -- 127.0.0.1 --key home | |
| 109 | 삭제: cargo run --example probe -- usb # USB ADB 모드로 데몬 기동부터 | |
| 181 | 추가: cargo run --example probe -- 192.168.0.12 --tap 400,800 --text 안녕 --listen 2000 | |
| 110 | 182 | ``` |
| 183 | 추가: | |
| 184 | 추가: `probe`는 GUI 없이 연결하고 터치(`--tap`, `--swipe`, `--rclick`), 입력(`--text`, `--keycode`, `--action`), 클립보드(`--clip`, `--clip-image`), 파일 전송(`--send-file`), 영상 저장(`--record`)을 시험합니다. 주소 대신 `usb`를 주면 USB ADB 모드로 연결합니다. | |
| 185 | 추가: | |
| 186 | 추가: ## 라이선스 | |
| 187 | 추가: | |
| 188 | 추가: Android Remote는 [GNU General Public License v3.0 이상](LICENSE)(GPL-3.0-or-later)으로 배포합니다. | |
| 189 | 추가: | |
| 190 | 추가: - PC 앱에 들어가는 Rust 크레이트의 라이선스 원문은 `scripts/third-party-licenses.py`로 모아 .deb의 `/usr/share/doc/android-remote/third-party-licenses.txt`에 넣습니다. FFmpeg 등 시스템 라이브러리는 배포판 패키지를 동적으로 씁니다. | |
| 191 | 추가: - 휴대폰 앱에 들어가는 라이브러리(Bouncy Castle, Conscrypt와 BoringSSL, libadb-android, Kotlin 표준 라이브러리)의 고지는 APK 안 `assets/third_party_licenses.txt`에 있습니다. |
| @@ -0,0 +1,525 @@ | ||
| 1 | 추가: Android Remote (companion app and daemon) | |
| 2 | 추가: Copyright 2026 LeeJunyoung <[email protected]> | |
| 3 | 추가: Licensed under the GNU General Public License, version 3 or (at your option) any later version. | |
| 4 | 추가: Source: https://gitgit.kr/leejunyoung5819/wayland-android-remote | |
| 5 | 추가: | |
| 6 | 추가: This app includes the following third-party software. | |
| 7 | 추가: | |
| 8 | 추가: ============================================================================== | |
| 9 | 추가: Bouncy Castle (bcprov-jdk18on 1.87) - MIT License | |
| 10 | 추가: ------------------------------------------------------------------------------ | |
| 11 | 추가: MIT License (https://opensource.org/licenses/MIT) | |
| 12 | 추가: | |
| 13 | 추가: Copyright (c) 2000-2026 The Legion of the Bouncy Castle Inc. (https://www.bouncycastle.org). | |
| 14 | 추가: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and | |
| 15 | 추가: associated documentation files (the "Software"), to deal in the Software without restriction, | |
| 16 | 추가: including without limitation the rights to use, copy, modify, merge, publish, distribute, | |
| 17 | 추가: sub license, and/or sell copies of the Software, and to permit persons to whom the Software is | |
| 18 | 추가: furnished to do so, subject to the following conditions: The above copyright notice and this | |
| 19 | 추가: permission notice shall be included in all copies or substantial portions of the Software. | |
| 20 | 추가: | |
| 21 | 추가: **THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT | |
| 22 | 추가: NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | |
| 23 | 추가: NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, | |
| 24 | 추가: DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT | |
| 25 | 추가: OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.** | |
| 26 | 추가: | |
| 27 | 추가: ============================================================================== | |
| 28 | 추가: Conscrypt (conscrypt-android 2.5.3) - Apache License 2.0 | |
| 29 | 추가: ------------------------------------------------------------------------------ | |
| 30 | 추가: Copyright 2016 The Android Open Source Project | |
| 31 | 추가: | |
| 32 | 추가: Licensed under the Apache License, Version 2.0 (the "License"); | |
| 33 | 추가: you may not use this file except in compliance with the License. | |
| 34 | 추가: You may obtain a copy of the License at | |
| 35 | 추가: | |
| 36 | 추가: http://www.apache.org/licenses/LICENSE-2.0 | |
| 37 | 추가: | |
| 38 | 추가: Unless required by applicable law or agreed to in writing, software | |
| 39 | 추가: distributed under the License is distributed on an "AS IS" BASIS, | |
| 40 | 추가: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 41 | 추가: See the License for the specific language governing permissions and | |
| 42 | 추가: limitations under the License. | |
| 43 | 추가: | |
| 44 | 추가: ----------------------------------------------------------------------- | |
| 45 | 추가: This product contains a modified portion of `Netty`, a configurable network | |
| 46 | 추가: stack in Java, which can be obtained at: | |
| 47 | 추가: | |
| 48 | 추가: * LICENSE: | |
| 49 | 추가: * licenses/LICENSE.netty.txt (Apache License 2.0) | |
| 50 | 추가: * HOMEPAGE: | |
| 51 | 추가: * http://netty.io/ | |
| 52 | 추가: | |
| 53 | 추가: This product contains a modified portion of `Apache Harmony`, modular Java runtime, | |
| 54 | 추가: which can be obtained at: | |
| 55 | 추가: | |
| 56 | 추가: * LICENSE: | |
| 57 | 추가: * licenses/LICENSE.harmony.txt (Apache License 2.0) | |
| 58 | 추가: * HOMEPAGE: | |
| 59 | 추가: * https://harmony.apache.org/ | |
| 60 | 추가: | |
| 61 | 추가: ------------------------------------------------------------------------------ | |
| 62 | 추가: BoringSSL (native library bundled in Conscrypt) | |
| 63 | 추가: ------------------------------------------------------------------------------ | |
| 64 | 추가: BoringSSL is a fork of OpenSSL. As such, large parts of it fall under OpenSSL | |
| 65 | 추가: licensing. Files that are completely new have a Google copyright and an ISC | |
| 66 | 추가: license. This license is reproduced at the bottom of this file. | |
| 67 | 추가: | |
| 68 | 추가: Contributors to BoringSSL are required to follow the CLA rules for Chromium: | |
| 69 | 추가: https://cla.developers.google.com/clas | |
| 70 | 추가: | |
| 71 | 추가: Files in third_party/ have their own licenses, as described therein. The MIT | |
| 72 | 추가: license, for third_party/fiat, which, unlike other third_party directories, is | |
| 73 | 추가: compiled into non-test libraries, is included below. | |
| 74 | 추가: | |
| 75 | 추가: The OpenSSL toolkit stays under a dual license, i.e. both the conditions of the | |
| 76 | 추가: OpenSSL License and the original SSLeay license apply to the toolkit. See below | |
| 77 | 추가: for the actual license texts. Actually both licenses are BSD-style Open Source | |
| 78 | 추가: licenses. In case of any license issues related to OpenSSL please contact | |
| 79 | 추가: [email protected]. | |
| 80 | 추가: | |
| 81 | 추가: The following are Google-internal bug numbers where explicit permission from | |
| 82 | 추가: some authors is recorded for use of their work. (This is purely for our own | |
| 83 | 추가: record keeping.) | |
| 84 | 추가: 27287199 | |
| 85 | 추가: 27287880 | |
| 86 | 추가: 27287883 | |
| 87 | 추가: | |
| 88 | 추가: OpenSSL License | |
| 89 | 추가: --------------- | |
| 90 | 추가: | |
| 91 | 추가: /* ==================================================================== | |
| 92 | 추가: * Copyright (c) 1998-2011 The OpenSSL Project. All rights reserved. | |
| 93 | 추가: * | |
| 94 | 추가: * Redistribution and use in source and binary forms, with or without | |
| 95 | 추가: * modification, are permitted provided that the following conditions | |
| 96 | 추가: * are met: | |
| 97 | 추가: * | |
| 98 | 추가: * 1. Redistributions of source code must retain the above copyright | |
| 99 | 추가: * notice, this list of conditions and the following disclaimer. | |
| 100 | 추가: * | |
| 101 | 추가: * 2. Redistributions in binary form must reproduce the above copyright | |
| 102 | 추가: * notice, this list of conditions and the following disclaimer in | |
| 103 | 추가: * the documentation and/or other materials provided with the | |
| 104 | 추가: * distribution. | |
| 105 | 추가: * | |
| 106 | 추가: * 3. All advertising materials mentioning features or use of this | |
| 107 | 추가: * software must display the following acknowledgment: | |
| 108 | 추가: * "This product includes software developed by the OpenSSL Project | |
| 109 | 추가: * for use in the OpenSSL Toolkit. (http://www.openssl.org/)" | |
| 110 | 추가: * | |
| 111 | 추가: * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to | |
| 112 | 추가: * endorse or promote products derived from this software without | |
| 113 | 추가: * prior written permission. For written permission, please contact | |
| 114 | 추가: * [email protected]. | |
| 115 | 추가: * | |
| 116 | 추가: * 5. Products derived from this software may not be called "OpenSSL" | |
| 117 | 추가: * nor may "OpenSSL" appear in their names without prior written | |
| 118 | 추가: * permission of the OpenSSL Project. | |
| 119 | 추가: * | |
| 120 | 추가: * 6. Redistributions of any form whatsoever must retain the following | |
| 121 | 추가: * acknowledgment: | |
| 122 | 추가: * "This product includes software developed by the OpenSSL Project | |
| 123 | 추가: * for use in the OpenSSL Toolkit (http://www.openssl.org/)" | |
| 124 | 추가: * | |
| 125 | 추가: * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY | |
| 126 | 추가: * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |
| 127 | 추가: * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | |
| 128 | 추가: * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR | |
| 129 | 추가: * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 130 | 추가: * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | |
| 131 | 추가: * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | |
| 132 | 추가: * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | |
| 133 | 추가: * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, | |
| 134 | 추가: * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | |
| 135 | 추가: * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | |
| 136 | 추가: * OF THE POSSIBILITY OF SUCH DAMAGE. | |
| 137 | 추가: * ==================================================================== | |
| 138 | 추가: * | |
| 139 | 추가: * This product includes cryptographic software written by Eric Young | |
| 140 | 추가: * ([email protected]). This product includes software written by Tim | |
| 141 | 추가: * Hudson ([email protected]). | |
| 142 | 추가: * | |
| 143 | 추가: */ | |
| 144 | 추가: | |
| 145 | 추가: Original SSLeay License | |
| 146 | 추가: ----------------------- | |
| 147 | 추가: | |
| 148 | 추가: /* Copyright (C) 1995-1998 Eric Young ([email protected]) | |
| 149 | 추가: * All rights reserved. | |
| 150 | 추가: * | |
| 151 | 추가: * This package is an SSL implementation written | |
| 152 | 추가: * by Eric Young ([email protected]). | |
| 153 | 추가: * The implementation was written so as to conform with Netscapes SSL. | |
| 154 | 추가: * | |
| 155 | 추가: * This library is free for commercial and non-commercial use as long as | |
| 156 | 추가: * the following conditions are aheared to. The following conditions | |
| 157 | 추가: * apply to all code found in this distribution, be it the RC4, RSA, | |
| 158 | 추가: * lhash, DES, etc., code; not just the SSL code. The SSL documentation | |
| 159 | 추가: * included with this distribution is covered by the same copyright terms | |
| 160 | 추가: * except that the holder is Tim Hudson ([email protected]). | |
| 161 | 추가: * | |
| 162 | 추가: * Copyright remains Eric Young's, and as such any Copyright notices in | |
| 163 | 추가: * the code are not to be removed. | |
| 164 | 추가: * If this package is used in a product, Eric Young should be given attribution | |
| 165 | 추가: * as the author of the parts of the library used. | |
| 166 | 추가: * This can be in the form of a textual message at program startup or | |
| 167 | 추가: * in documentation (online or textual) provided with the package. | |
| 168 | 추가: * | |
| 169 | 추가: * Redistribution and use in source and binary forms, with or without | |
| 170 | 추가: * modification, are permitted provided that the following conditions | |
| 171 | 추가: * are met: | |
| 172 | 추가: * 1. Redistributions of source code must retain the copyright | |
| 173 | 추가: * notice, this list of conditions and the following disclaimer. | |
| 174 | 추가: * 2. Redistributions in binary form must reproduce the above copyright | |
| 175 | 추가: * notice, this list of conditions and the following disclaimer in the | |
| 176 | 추가: * documentation and/or other materials provided with the distribution. | |
| 177 | 추가: * 3. All advertising materials mentioning features or use of this software | |
| 178 | 추가: * must display the following acknowledgement: | |
| 179 | 추가: * "This product includes cryptographic software written by | |
| 180 | 추가: * Eric Young ([email protected])" | |
| 181 | 추가: * The word 'cryptographic' can be left out if the rouines from the library | |
| 182 | 추가: * being used are not cryptographic related :-). | |
| 183 | 추가: * 4. If you include any Windows specific code (or a derivative thereof) from | |
| 184 | 추가: * the apps directory (application code) you must include an acknowledgement: | |
| 185 | 추가: * "This product includes software written by Tim Hudson ([email protected])" | |
| 186 | 추가: * | |
| 187 | 추가: * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND | |
| 188 | 추가: * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |
| 189 | 추가: * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | |
| 190 | 추가: * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE | |
| 191 | 추가: * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | |
| 192 | 추가: * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | |
| 193 | 추가: * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | |
| 194 | 추가: * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
| 195 | 추가: * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | |
| 196 | 추가: * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | |
| 197 | 추가: * SUCH DAMAGE. | |
| 198 | 추가: * | |
| 199 | 추가: * The licence and distribution terms for any publically available version or | |
| 200 | 추가: * derivative of this code cannot be changed. i.e. this code cannot simply be | |
| 201 | 추가: * copied and put under another distribution licence | |
| 202 | 추가: * [including the GNU Public Licence.] | |
| 203 | 추가: */ | |
| 204 | 추가: | |
| 205 | 추가: | |
| 206 | 추가: ISC license used for completely new code in BoringSSL: | |
| 207 | 추가: | |
| 208 | 추가: /* Copyright (c) 2015, Google Inc. | |
| 209 | 추가: * | |
| 210 | 추가: * Permission to use, copy, modify, and/or distribute this software for any | |
| 211 | 추가: * purpose with or without fee is hereby granted, provided that the above | |
| 212 | 추가: * copyright notice and this permission notice appear in all copies. | |
| 213 | 추가: * | |
| 214 | 추가: * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | |
| 215 | 추가: * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | |
| 216 | 추가: * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY | |
| 217 | 추가: * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | |
| 218 | 추가: * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION | |
| 219 | 추가: * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN | |
| 220 | 추가: * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ | |
| 221 | 추가: | |
| 222 | 추가: | |
| 223 | 추가: The code in third_party/fiat carries the MIT license: | |
| 224 | 추가: | |
| 225 | 추가: Copyright (c) 2015-2016 the fiat-crypto authors (see | |
| 226 | 추가: https://github.com/mit-plv/fiat-crypto/blob/master/AUTHORS). | |
| 227 | 추가: | |
| 228 | 추가: Permission is hereby granted, free of charge, to any person obtaining a copy | |
| 229 | 추가: of this software and associated documentation files (the "Software"), to deal | |
| 230 | 추가: in the Software without restriction, including without limitation the rights | |
| 231 | 추가: to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| 232 | 추가: copies of the Software, and to permit persons to whom the Software is | |
| 233 | 추가: furnished to do so, subject to the following conditions: | |
| 234 | 추가: | |
| 235 | 추가: The above copyright notice and this permission notice shall be included in all | |
| 236 | 추가: copies or substantial portions of the Software. | |
| 237 | 추가: | |
| 238 | 추가: THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
| 239 | 추가: IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| 240 | 추가: FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
| 241 | 추가: AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
| 242 | 추가: LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
| 243 | 추가: OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
| 244 | 추가: SOFTWARE. | |
| 245 | 추가: | |
| 246 | 추가: | |
| 247 | 추가: Licenses for support code | |
| 248 | 추가: ------------------------- | |
| 249 | 추가: | |
| 250 | 추가: Parts of the TLS test suite are under the Go license. This code is not included | |
| 251 | 추가: in BoringSSL (i.e. libcrypto and libssl) when compiled, however, so | |
| 252 | 추가: distributing code linked against BoringSSL does not trigger this license: | |
| 253 | 추가: | |
| 254 | 추가: Copyright (c) 2009 The Go Authors. All rights reserved. | |
| 255 | 추가: | |
| 256 | 추가: Redistribution and use in source and binary forms, with or without | |
| 257 | 추가: modification, are permitted provided that the following conditions are | |
| 258 | 추가: met: | |
| 259 | 추가: | |
| 260 | 추가: * Redistributions of source code must retain the above copyright | |
| 261 | 추가: notice, this list of conditions and the following disclaimer. | |
| 262 | 추가: * Redistributions in binary form must reproduce the above | |
| 263 | 추가: copyright notice, this list of conditions and the following disclaimer | |
| 264 | 추가: in the documentation and/or other materials provided with the | |
| 265 | 추가: distribution. | |
| 266 | 추가: * Neither the name of Google Inc. nor the names of its | |
| 267 | 추가: contributors may be used to endorse or promote products derived from | |
| 268 | 추가: this software without specific prior written permission. | |
| 269 | 추가: | |
| 270 | 추가: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 271 | 추가: "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 272 | 추가: LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 273 | 추가: A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 274 | 추가: OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 275 | 추가: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 276 | 추가: LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 277 | 추가: DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 278 | 추가: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 279 | 추가: (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 280 | 추가: OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
| 281 | 추가: | |
| 282 | 추가: | |
| 283 | 추가: BoringSSL uses the Chromium test infrastructure to run a continuous build, | |
| 284 | 추가: trybots etc. The scripts which manage this, and the script for generating build | |
| 285 | 추가: metadata, are under the Chromium license. Distributing code linked against | |
| 286 | 추가: BoringSSL does not trigger this license. | |
| 287 | 추가: | |
| 288 | 추가: Copyright 2015 The Chromium Authors. All rights reserved. | |
| 289 | 추가: | |
| 290 | 추가: Redistribution and use in source and binary forms, with or without | |
| 291 | 추가: modification, are permitted provided that the following conditions are | |
| 292 | 추가: met: | |
| 293 | 추가: | |
| 294 | 추가: * Redistributions of source code must retain the above copyright | |
| 295 | 추가: notice, this list of conditions and the following disclaimer. | |
| 296 | 추가: * Redistributions in binary form must reproduce the above | |
| 297 | 추가: copyright notice, this list of conditions and the following disclaimer | |
| 298 | 추가: in the documentation and/or other materials provided with the | |
| 299 | 추가: distribution. | |
| 300 | 추가: * Neither the name of Google Inc. nor the names of its | |
| 301 | 추가: contributors may be used to endorse or promote products derived from | |
| 302 | 추가: this software without specific prior written permission. | |
| 303 | 추가: | |
| 304 | 추가: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 305 | 추가: "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 306 | 추가: LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 307 | 추가: A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 308 | 추가: OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 309 | 추가: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 310 | 추가: LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 311 | 추가: DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 312 | 추가: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 313 | 추가: (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 314 | 추가: OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
| 315 | 추가: | |
| 316 | 추가: ============================================================================== | |
| 317 | 추가: libadb-android 3.1.1 (Muntashir Al-Islam) - used under the Apache License 2.0 | |
| 318 | 추가: (dual-licensed GPL-3.0-or-later OR Apache-2.0) | |
| 319 | 추가: ============================================================================== | |
| 320 | 추가: Kotlin standard library (JetBrains s.r.o. and Kotlin contributors) - Apache License 2.0 | |
| 321 | 추가: ============================================================================== | |
| 322 | 추가: Apache License 2.0 (full text, applies to Conscrypt, libadb-android and the Kotlin standard library) | |
| 323 | 추가: ------------------------------------------------------------------------------ | |
| 324 | 추가: | |
| 325 | 추가: Apache License | |
| 326 | 추가: Version 2.0, January 2004 | |
| 327 | 추가: http://www.apache.org/licenses/ | |
| 328 | 추가: | |
| 329 | 추가: TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION | |
| 330 | 추가: | |
| 331 | 추가: 1. Definitions. | |
| 332 | 추가: | |
| 333 | 추가: "License" shall mean the terms and conditions for use, reproduction, | |
| 334 | 추가: and distribution as defined by Sections 1 through 9 of this document. | |
| 335 | 추가: | |
| 336 | 추가: "Licensor" shall mean the copyright owner or entity authorized by | |
| 337 | 추가: the copyright owner that is granting the License. | |
| 338 | 추가: | |
| 339 | 추가: "Legal Entity" shall mean the union of the acting entity and all | |
| 340 | 추가: other entities that control, are controlled by, or are under common | |
| 341 | 추가: control with that entity. For the purposes of this definition, | |
| 342 | 추가: "control" means (i) the power, direct or indirect, to cause the | |
| 343 | 추가: direction or management of such entity, whether by contract or | |
| 344 | 추가: otherwise, or (ii) ownership of fifty percent (50%) or more of the | |
| 345 | 추가: outstanding shares, or (iii) beneficial ownership of such entity. | |
| 346 | 추가: | |
| 347 | 추가: "You" (or "Your") shall mean an individual or Legal Entity | |
| 348 | 추가: exercising permissions granted by this License. | |
| 349 | 추가: | |
| 350 | 추가: "Source" form shall mean the preferred form for making modifications, | |
| 351 | 추가: including but not limited to software source code, documentation | |
| 352 | 추가: source, and configuration files. | |
| 353 | 추가: | |
| 354 | 추가: "Object" form shall mean any form resulting from mechanical | |
| 355 | 추가: transformation or translation of a Source form, including but | |
| 356 | 추가: not limited to compiled object code, generated documentation, | |
| 357 | 추가: and conversions to other media types. | |
| 358 | 추가: | |
| 359 | 추가: "Work" shall mean the work of authorship, whether in Source or | |
| 360 | 추가: Object form, made available under the License, as indicated by a | |
| 361 | 추가: copyright notice that is included in or attached to the work | |
| 362 | 추가: (an example is provided in the Appendix below). | |
| 363 | 추가: | |
| 364 | 추가: "Derivative Works" shall mean any work, whether in Source or Object | |
| 365 | 추가: form, that is based on (or derived from) the Work and for which the | |
| 366 | 추가: editorial revisions, annotations, elaborations, or other modifications | |
| 367 | 추가: represent, as a whole, an original work of authorship. For the purposes | |
| 368 | 추가: of this License, Derivative Works shall not include works that remain | |
| 369 | 추가: separable from, or merely link (or bind by name) to the interfaces of, | |
| 370 | 추가: the Work and Derivative Works thereof. | |
| 371 | 추가: | |
| 372 | 추가: "Contribution" shall mean any work of authorship, including | |
| 373 | 추가: the original version of the Work and any modifications or additions | |
| 374 | 추가: to that Work or Derivative Works thereof, that is intentionally | |
| 375 | 추가: submitted to Licensor for inclusion in the Work by the copyright owner | |
| 376 | 추가: or by an individual or Legal Entity authorized to submit on behalf of | |
| 377 | 추가: the copyright owner. For the purposes of this definition, "submitted" | |
| 378 | 추가: means any form of electronic, verbal, or written communication sent | |
| 379 | 추가: to the Licensor or its representatives, including but not limited to | |
| 380 | 추가: communication on electronic mailing lists, source code control systems, | |
| 381 | 추가: and issue tracking systems that are managed by, or on behalf of, the | |
| 382 | 추가: Licensor for the purpose of discussing and improving the Work, but | |
| 383 | 추가: excluding communication that is conspicuously marked or otherwise | |
| 384 | 추가: designated in writing by the copyright owner as "Not a Contribution." | |
| 385 | 추가: | |
| 386 | 추가: "Contributor" shall mean Licensor and any individual or Legal Entity | |
| 387 | 추가: on behalf of whom a Contribution has been received by Licensor and | |
| 388 | 추가: subsequently incorporated within the Work. | |
| 389 | 추가: | |
| 390 | 추가: 2. Grant of Copyright License. Subject to the terms and conditions of | |
| 391 | 추가: this License, each Contributor hereby grants to You a perpetual, | |
| 392 | 추가: worldwide, non-exclusive, no-charge, royalty-free, irrevocable | |
| 393 | 추가: copyright license to reproduce, prepare Derivative Works of, | |
| 394 | 추가: publicly display, publicly perform, sublicense, and distribute the | |
| 395 | 추가: Work and such Derivative Works in Source or Object form. | |
| 396 | 추가: | |
| 397 | 추가: 3. Grant of Patent License. Subject to the terms and conditions of | |
| 398 | 추가: this License, each Contributor hereby grants to You a perpetual, | |
| 399 | 추가: worldwide, non-exclusive, no-charge, royalty-free, irrevocable | |
| 400 | 추가: (except as stated in this section) patent license to make, have made, | |
| 401 | 추가: use, offer to sell, sell, import, and otherwise transfer the Work, | |
| 402 | 추가: where such license applies only to those patent claims licensable | |
| 403 | 추가: by such Contributor that are necessarily infringed by their | |
| 404 | 추가: Contribution(s) alone or by combination of their Contribution(s) | |
| 405 | 추가: with the Work to which such Contribution(s) was submitted. If You | |
| 406 | 추가: institute patent litigation against any entity (including a | |
| 407 | 추가: cross-claim or counterclaim in a lawsuit) alleging that the Work | |
| 408 | 추가: or a Contribution incorporated within the Work constitutes direct | |
| 409 | 추가: or contributory patent infringement, then any patent licenses | |
| 410 | 추가: granted to You under this License for that Work shall terminate | |
| 411 | 추가: as of the date such litigation is filed. | |
| 412 | 추가: | |
| 413 | 추가: 4. Redistribution. You may reproduce and distribute copies of the | |
| 414 | 추가: Work or Derivative Works thereof in any medium, with or without | |
| 415 | 추가: modifications, and in Source or Object form, provided that You | |
| 416 | 추가: meet the following conditions: | |
| 417 | 추가: | |
| 418 | 추가: (a) You must give any other recipients of the Work or | |
| 419 | 추가: Derivative Works a copy of this License; and | |
| 420 | 추가: | |
| 421 | 추가: (b) You must cause any modified files to carry prominent notices | |
| 422 | 추가: stating that You changed the files; and | |
| 423 | 추가: | |
| 424 | 추가: (c) You must retain, in the Source form of any Derivative Works | |
| 425 | 추가: that You distribute, all copyright, patent, trademark, and | |
| 426 | 추가: attribution notices from the Source form of the Work, | |
| 427 | 추가: excluding those notices that do not pertain to any part of | |
| 428 | 추가: the Derivative Works; and | |
| 429 | 추가: | |
| 430 | 추가: (d) If the Work includes a "NOTICE" text file as part of its | |
| 431 | 추가: distribution, then any Derivative Works that You distribute must | |
| 432 | 추가: include a readable copy of the attribution notices contained | |
| 433 | 추가: within such NOTICE file, excluding those notices that do not | |
| 434 | 추가: pertain to any part of the Derivative Works, in at least one | |
| 435 | 추가: of the following places: within a NOTICE text file distributed | |
| 436 | 추가: as part of the Derivative Works; within the Source form or | |
| 437 | 추가: documentation, if provided along with the Derivative Works; or, | |
| 438 | 추가: within a display generated by the Derivative Works, if and | |
| 439 | 추가: wherever such third-party notices normally appear. The contents | |
| 440 | 추가: of the NOTICE file are for informational purposes only and | |
| 441 | 추가: do not modify the License. You may add Your own attribution | |
| 442 | 추가: notices within Derivative Works that You distribute, alongside | |
| 443 | 추가: or as an addendum to the NOTICE text from the Work, provided | |
| 444 | 추가: that such additional attribution notices cannot be construed | |
| 445 | 추가: as modifying the License. | |
| 446 | 추가: | |
| 447 | 추가: You may add Your own copyright statement to Your modifications and | |
| 448 | 추가: may provide additional or different license terms and conditions | |
| 449 | 추가: for use, reproduction, or distribution of Your modifications, or | |
| 450 | 추가: for any such Derivative Works as a whole, provided Your use, | |
| 451 | 추가: reproduction, and distribution of the Work otherwise complies with | |
| 452 | 추가: the conditions stated in this License. | |
| 453 | 추가: | |
| 454 | 추가: 5. Submission of Contributions. Unless You explicitly state otherwise, | |
| 455 | 추가: any Contribution intentionally submitted for inclusion in the Work | |
| 456 | 추가: by You to the Licensor shall be under the terms and conditions of | |
| 457 | 추가: this License, without any additional terms or conditions. | |
| 458 | 추가: Notwithstanding the above, nothing herein shall supersede or modify | |
| 459 | 추가: the terms of any separate license agreement you may have executed | |
| 460 | 추가: with Licensor regarding such Contributions. | |
| 461 | 추가: | |
| 462 | 추가: 6. Trademarks. This License does not grant permission to use the trade | |
| 463 | 추가: names, trademarks, service marks, or product names of the Licensor, | |
| 464 | 추가: except as required for reasonable and customary use in describing the | |
| 465 | 추가: origin of the Work and reproducing the content of the NOTICE file. | |
| 466 | 추가: | |
| 467 | 추가: 7. Disclaimer of Warranty. Unless required by applicable law or | |
| 468 | 추가: agreed to in writing, Licensor provides the Work (and each | |
| 469 | 추가: Contributor provides its Contributions) on an "AS IS" BASIS, | |
| 470 | 추가: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | |
| 471 | 추가: implied, including, without limitation, any warranties or conditions | |
| 472 | 추가: of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A | |
| 473 | 추가: PARTICULAR PURPOSE. You are solely responsible for determining the | |
| 474 | 추가: appropriateness of using or redistributing the Work and assume any | |
| 475 | 추가: risks associated with Your exercise of permissions under this License. | |
| 476 | 추가: | |
| 477 | 추가: 8. Limitation of Liability. In no event and under no legal theory, | |
| 478 | 추가: whether in tort (including negligence), contract, or otherwise, | |
| 479 | 추가: unless required by applicable law (such as deliberate and grossly | |
| 480 | 추가: negligent acts) or agreed to in writing, shall any Contributor be | |
| 481 | 추가: liable to You for damages, including any direct, indirect, special, | |
| 482 | 추가: incidental, or consequential damages of any character arising as a | |
| 483 | 추가: result of this License or out of the use or inability to use the | |
| 484 | 추가: Work (including but not limited to damages for loss of goodwill, | |
| 485 | 추가: work stoppage, computer failure or malfunction, or any and all | |
| 486 | 추가: other commercial damages or losses), even if such Contributor | |
| 487 | 추가: has been advised of the possibility of such damages. | |
| 488 | 추가: | |
| 489 | 추가: 9. Accepting Warranty or Additional Liability. While redistributing | |
| 490 | 추가: the Work or Derivative Works thereof, You may choose to offer, | |
| 491 | 추가: and charge a fee for, acceptance of support, warranty, indemnity, | |
| 492 | 추가: or other liability obligations and/or rights consistent with this | |
| 493 | 추가: License. However, in accepting such obligations, You may act only | |
| 494 | 추가: on Your own behalf and on Your sole responsibility, not on behalf | |
| 495 | 추가: of any other Contributor, and only if You agree to indemnify, | |
| 496 | 추가: defend, and hold each Contributor harmless for any liability | |
| 497 | 추가: incurred by, or claims asserted against, such Contributor by reason | |
| 498 | 추가: of your accepting any such warranty or additional liability. | |
| 499 | 추가: | |
| 500 | 추가: END OF TERMS AND CONDITIONS | |
| 501 | 추가: | |
| 502 | 추가: APPENDIX: How to apply the Apache License to your work. | |
| 503 | 추가: | |
| 504 | 추가: To apply the Apache License to your work, attach the following | |
| 505 | 추가: boilerplate notice, with the fields enclosed by brackets "[]" | |
| 506 | 추가: replaced with your own identifying information. (Don't include | |
| 507 | 추가: the brackets!) The text should be enclosed in the appropriate | |
| 508 | 추가: comment syntax for the file format. We also recommend that a | |
| 509 | 추가: file or class name and description of purpose be included on the | |
| 510 | 추가: same "printed page" as the copyright notice for easier | |
| 511 | 추가: identification within third-party archives. | |
| 512 | 추가: | |
| 513 | 추가: Copyright [yyyy] [name of copyright owner] | |
| 514 | 추가: | |
| 515 | 추가: Licensed under the Apache License, Version 2.0 (the "License"); | |
| 516 | 추가: you may not use this file except in compliance with the License. | |
| 517 | 추가: You may obtain a copy of the License at | |
| 518 | 추가: | |
| 519 | 추가: http://www.apache.org/licenses/LICENSE-2.0 | |
| 520 | 추가: | |
| 521 | 추가: Unless required by applicable law or agreed to in writing, software | |
| 522 | 추가: distributed under the License is distributed on an "AS IS" BASIS, | |
| 523 | 추가: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 524 | 추가: See the License for the specific language governing permissions and | |
| 525 | 추가: limitations under the License. |
바이너리 파일이라 Diff를 표시하지 않아요.
파일 내려받기| @@ -0,0 +1,58 @@ | ||
| 1 | 추가: # .deb 배포 전 점검표 | |
| 2 | 추가: | |
| 3 | 추가: 첫 점검: 2026-11-25, 커밋 7763f56 기준, Ubuntu 26.04.1 LTS amd64. 결정 사항 반영: 같은 날. | |
| 4 | 추가: | |
| 5 | 추가: 표시: ✅ 확인 완료 · ⚠️ 결정 또는 조치 필요 · ⬜ 아직 안 함 | |
| 6 | 추가: | |
| 7 | 추가: ## 1. 결정 사항 | |
| 8 | 추가: | |
| 9 | 추가: | | 항목 | 결정 | | |
| 10 | 추가: |---|---|---| | |
| 11 | 추가: | ✅ | 프로젝트 라이선스 | GPL-3.0-or-later. Ubuntu의 FFmpeg(`libavcodec`)가 `--enable-gpl`로 빌드되어 GPL 라이브러리를 함께 링크하고, Apache-2.0 의존성과 호환되는 GPL은 버전 3이므로 분쟁 소지가 가장 적다. 저장소 `LICENSE`, `Cargo.toml` `license`, .deb `copyright`(DEP-5, `packaging/copyright`)에 반영 | | |
| 12 | 추가: | ✅ | 패키지 관리자 | LeeJunyoung <[email protected]> | | |
| 13 | 추가: | ✅ | 휴대폰 앱 배포 | APK는 .deb에 넣지 않고 릴리스 첨부 파일(`android-remote-0.1.0.apk`)로 올린다 | | |
| 14 | 추가: | ✅ | 버전 | 0.1.0 (호스트, APK versionName). APK versionCode 1 | | |
| 15 | 추가: | ✅ | 지원 배포판 | Ubuntu 26.04, 24.04. glibc와 FFmpeg 버전이 달라 배포판별로 따로 빌드한 .deb(`0.1.0-1~ubuntu26.04`, `0.1.0-1~ubuntu24.04`)를 각각 첨부한다 | | |
| 16 | 추가: | ✅ | 서드파티 고지 | PC: `scripts/third-party-licenses.py`가 크레이트 275개 라이선스 원문을 모아 .deb에 넣는다. APK: `assets/third_party_licenses.txt`(Bouncy Castle, Conscrypt·BoringSSL, libadb-android, Kotlin 표준 라이브러리) | | |
| 17 | 추가: | ⚠️ | GPL 소스 제공 | 저장소가 비공개이므로 GPL 배포 조건에 따라 릴리스마다 소스 아카이브(`git archive`)를 함께 첨부한다 | | |
| 18 | 추가: | |
| 19 | 추가: ## 2. 자동 점검 결과 | |
| 20 | 추가: | |
| 21 | 추가: | | 항목 | 결과 | | |
| 22 | 추가: |---|---|---| | |
| 23 | 추가: | ✅ | 테스트 | `cargo test` 전부 통과 (lib 28, bin 108, 통합 테스트 31) | | |
| 24 | 추가: | ✅ | 정적 분석 | `cargo clippy --all-targets -- -D warnings`, `cargo fmt --check` 통과 | | |
| 25 | 추가: | ✅ | Rust 의존성 라이선스 | 크레이트 275개 모두 MIT·Apache-2.0·BSD·ISC·Zlib·Unicode 등 허용 라이선스. `ffmpeg-next`·`ffmpeg-sys-next`는 WTFPL, `self_cell`은 Apache-2.0 OR GPL-2.0 중 Apache-2.0 선택 가능 | | |
| 26 | 추가: | ✅ | Android 의존성 라이선스 | BouncyCastle(MIT), Conscrypt(Apache-2.0), libadb-android(GPL-3.0-or-later OR Apache-2.0 중 Apache-2.0으로 사용) | | |
| 27 | 추가: | ✅ | 비밀값 | 추적 파일에 키·비밀번호 없음. APK 서명 정보는 저장소 밖 `~/.config/android-remote-signing/`에서만 읽고, `.gitignore`가 `*.jks`·`*.keystore`·`*.apk`를 막는다 | | |
| 28 | 추가: | ✅ | 개인정보 | 추적 파일에 이메일·사용자 경로 없음. IP는 테스트와 주석의 예시뿐 | | |
| 29 | 추가: | ✅ | 남은 디버그 코드 | `src/`에 `println!`·`dbg!`·`TODO` 없음 | | |
| 30 | 추가: | ✅ | 바탕화면 항목 | `desktop-file-validate` 통과, `StartupWMClass`와 창 앱 ID(`android-remote`) 일치 | | |
| 31 | 추가: | ✅ | 시험 패키지 | `cargo deb`로 .deb(5.5MB, 실행 파일 19MB 스트립) 생성. 실행 파일, 바탕화면 항목, 아이콘, README, copyright, 서드파티 라이선스 포함 | | |
| 32 | 추가: | ✅ | 런타임 의존성 | 직접 링크: libavcodec62, libavutil60, libswscale9, libc6. winit·wgpu가 dlopen으로 여는 라이브러리(libvulkan1, libwayland-client0, libxkbcommon0, libxkbcommon-x11-0, libx11-6, libx11-xcb1, libxcursor1, libxi6)는 자동 감지되지 않아 `depends`에 직접 넣었다. 권장: Vulkan 드라이버, VA-API 드라이버, adb | | |
| 33 | 추가: | |
| 34 | 추가: ## 3. 남은 점검 (결정 뒤 진행) | |
| 35 | 추가: | |
| 36 | 추가: | | 항목 | 방법 | | |
| 37 | 추가: |---|---|---| | |
| 38 | 추가: | ✅ | 배포판별 빌드 | `./scripts/build-deb.sh`로 Ubuntu 26.04(FFmpeg 8, glibc 2.43)와 24.04(FFmpeg 6.1, glibc 2.39) 컨테이너에서 각각 빌드했다. `0.1.0-1~ubuntu26.04`(5.6MB), `0.1.0-1~ubuntu24.04`(5.6MB) | | |
| 39 | 추가: | ✅ | 깨끗한 설치 시험 | 각 배포판의 새 컨테이너에서 `apt install ./*.deb`만으로 의존성이 모두 풀리고, `ldd`에 빠진 라이브러리가 없으며, dlopen 대상(Vulkan, Wayland, xkbcommon, X11)도 설치된다. 24.04 컨테이너에 Wayland 소켓을 넘겨 실행하니 창이 뜨고 휴대폰에 연결·인증한 뒤 영상을 디코딩해 표시했다(컨테이너에 GPU를 넘기지 않아 소프트웨어 렌더링·디코딩) | | |
| 40 | 추가: | ✅ | lintian | 두 패키지 모두 경고·오류 없음 (변경 기록 `changelog.Debian.gz`와 매뉴얼 페이지 `android-remote(1)` 추가 뒤) | | |
| 41 | 추가: | ✅ | 재설치·제거 | 컨테이너에서 설치 → 재설치 → `apt remove` → `apt purge`: 실행 파일은 지워지고 사용자 설정(`~/.config/android-remote`)은 남는다. 이전 버전 위 업그레이드는 다음 릴리스에서 확인한다 | | |
| 42 | 추가: | ⬜ | 릴리스 빌드 설정 | `[profile.release]`에 `lto = "thin"`, `codegen-units = 1`을 넣으면 크기와 속도가 나아질 수 있다. 넣는다면 실기기로 프레임 지연과 디코딩 시간을 다시 잰다. | | |
| 43 | 추가: | ✅ | 실기기 회귀 점검 (26.04 빌드) | 기능 개발마다 실기기로 확인했고, 2026-11-25 사용자 확인: 전 기능 정상. 아래 목록은 다음 릴리스부터 매번 반복한다 | | |
| 44 | 추가: | ⬜ | 실기기 회귀 점검 (다음 릴리스부터) | 연결·승인, 영상(60fps, NVDEC), 터치·스크롤·우클릭 길게 누르기, 키보드·한글, 텍스트·이미지 클립보드 양방향, 파일 붙여넣기·끌어다 놓기, 스크린샷, 회전, 화면 끄기, 자동 재연결, 권한 철회, USB ADB 모드, 재부팅 뒤 자동 시작 | | |
| 45 | 추가: | ⬜ | X11 세션 | 지금까지 GNOME Wayland에서만 실사용했다. X11 세션에서 창 이동·크기 조절·끌어다 놓기(winit 기본 드롭)를 확인한다. | | |
| 46 | 추가: | ⬜ | 다른 GPU | GPU 메모리가 부족할 때 소프트웨어 디코딩으로 넘어가는 것은 확인했다. Intel·AMD에서 VA-API 하드웨어 디코딩은 아직 확인하지 않았다 | | |
| 47 | 추가: | ✅ | 테스트 데이터 정리 | `src/adb.rs` 테스트 문자열의 실제 기기 일련번호를 가짜 값으로 바꿨다. README 스크린샷에는 휴대폰 홈 화면의 날씨 위젯(지역: 서울)과 설치된 앱 아이콘이 보인다. | | |
| 48 | 추가: | ⬜ | APK 서명 키 백업 | `~/.config/android-remote-signing/`의 키를 안전한 곳에 백업한다. 잃으면 설치된 앱을 업데이트할 수 없다. | | |
| 49 | 추가: | ⬜ | 릴리스 게시 | 태그 `v0.1.0`을 만들고 gitgit 릴리스에 .deb 2개, APK, 소스 아카이브, `SHA256SUMS`를 올린다. | | |
| 50 | 추가: | |
| 51 | 추가: ## 4. 패키지 만들기 | |
| 52 | 추가: | |
| 53 | 추가: ```bash | |
| 54 | 추가: ./scripts/build-deb.sh # 26.04와 24.04 모두, 결과는 dist/ | |
| 55 | 추가: ./scripts/build-deb.sh 24.04 # 하나만 | |
| 56 | 추가: ``` | |
| 57 | 추가: | |
| 58 | 추가: `packaging/Containerfile`로 배포판별 빌드 환경을 만들고 그 안에서 `cargo deb`를 실행한다. 설치 내용은 `Cargo.toml`의 `[package.metadata.deb]`에 있다. |
| @@ -0,0 +1,16 @@ | ||
| 1 | 추가: # Ubuntu 배포판별 .deb 빌드 환경 (scripts/build-deb.sh가 쓴다). | |
| 2 | 추가: # 같은 소스를 각 배포판의 glibc·FFmpeg에 맞춰 빌드해야 그 배포판에 설치된다. | |
| 3 | 추가: ARG UBUNTU=26.04 | |
| 4 | 추가: FROM docker.io/library/ubuntu:${UBUNTU} | |
| 5 | 추가: | |
| 6 | 추가: ENV DEBIAN_FRONTEND=noninteractive | |
| 7 | 추가: RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| 8 | 추가: build-essential pkg-config clang libclang-dev ca-certificates curl python3 git dpkg-dev \ | |
| 9 | 추가: libavcodec-dev libavformat-dev libavutil-dev libswscale-dev libswresample-dev \ | |
| 10 | 추가: libavfilter-dev libavdevice-dev libva-dev \ | |
| 11 | 추가: && rm -rf /var/lib/apt/lists/* | |
| 12 | 추가: | |
| 13 | 추가: # 배포판 Rust는 edition 2024와 let 체인을 지원하지 않을 수 있어 rustup으로 안정판을 쓴다. | |
| 14 | 추가: ENV RUSTUP_HOME=/opt/rustup CARGO_HOME=/opt/cargo PATH=/opt/cargo/bin:$PATH | |
| 15 | 추가: RUN curl -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain stable \ | |
| 16 | 추가: && cargo install cargo-deb --locked |
| @@ -0,0 +1,48 @@ | ||
| 1 | 추가: .TH ANDROID-REMOTE 1 "2026-11-25" "android-remote 0.1.0" "User Commands" | |
| 2 | 추가: .SH NAME | |
| 3 | 추가: android-remote \- mirror and control an Android phone from Ubuntu | |
| 4 | 추가: .SH SYNOPSIS | |
| 5 | 추가: .B android-remote | |
| 6 | 추가: .RI [ ADDRESS | usb ] | |
| 7 | 추가: .SH DESCRIPTION | |
| 8 | 추가: .B android-remote | |
| 9 | 추가: shows the screen of an Android phone running the Android Remote companion app | |
| 10 | 추가: and forwards mouse, keyboard, clipboard (text and images) and dropped or pasted | |
| 11 | 추가: files to it. All connections use TLS 1.3 and the PC authenticates with an | |
| 12 | 추가: Ed25519 key; a new PC must be approved on the phone after comparing the | |
| 13 | 추가: six-digit confirmation code. | |
| 14 | 추가: .PP | |
| 15 | 추가: Without arguments a window opens with an address field. Enter the phone | |
| 16 | 추가: address shown in the companion app (for example 192.168.0.12, or | |
| 17 | 추가: IP:port when the port is not 27200). | |
| 18 | 추가: .SH OPTIONS | |
| 19 | 추가: .TP | |
| 20 | 추가: .I ADDRESS | |
| 21 | 추가: Connect to this phone address on startup. | |
| 22 | 추가: .TP | |
| 23 | 추가: .B usb | |
| 24 | 추가: Connect over USB with adb (USB ADB mode must be enabled in the settings). | |
| 25 | 추가: .SH CONTROLS | |
| 26 | 추가: Left click and drag send touches, right click is an immediate long press, | |
| 27 | 추가: the wheel scrolls, the mouse back button sends Back, and Ctrl+C, Ctrl+X, | |
| 28 | 추가: Ctrl+V and Ctrl+A copy, cut, paste and select all on the phone. Files copied | |
| 29 | 추가: in a file manager and pasted with Ctrl+V, or dropped on the window, are saved | |
| 30 | 추가: to Download/Android Remote on the phone. | |
| 31 | 추가: .SH FILES | |
| 32 | 추가: .TP | |
| 33 | 추가: .I ~/.config/android-remote/device_key | |
| 34 | 추가: Ed25519 key that identifies this PC. | |
| 35 | 추가: .TP | |
| 36 | 추가: .I ~/.config/android-remote/known_devices | |
| 37 | 추가: Pinned certificate fingerprints of connected phones. | |
| 38 | 추가: .TP | |
| 39 | 추가: .I ~/.config/android-remote/settings | |
| 40 | 추가: Settings and window size. | |
| 41 | 추가: .SH ENVIRONMENT | |
| 42 | 추가: .TP | |
| 43 | 추가: .B RUST_LOG | |
| 44 | 추가: Log filter, for example RUST_LOG=android_remote=debug. | |
| 45 | 추가: .SH SEE ALSO | |
| 46 | 추가: .BR adb (1) | |
| 47 | 추가: .SH AUTHOR | |
| 48 | 추가: LeeJunyoung <[email protected]> |
| @@ -0,0 +1,28 @@ | ||
| 1 | 추가: Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | |
| 2 | 추가: Upstream-Name: android-remote | |
| 3 | 추가: Upstream-Contact: LeeJunyoung <[email protected]> | |
| 4 | 추가: Source: https://gitgit.kr/leejunyoung5819/wayland-android-remote | |
| 5 | 추가: | |
| 6 | 추가: Files: * | |
| 7 | 추가: Copyright: 2026 LeeJunyoung <[email protected]> | |
| 8 | 추가: License: GPL-3+ | |
| 9 | 추가: | |
| 10 | 추가: Comment: | |
| 11 | 추가: The binary statically links Rust crates under MIT, Apache-2.0, BSD, ISC, Zlib, | |
| 12 | 추가: Unicode-3.0, Unlicense and WTFPL terms. Their license texts are installed in | |
| 13 | 추가: /usr/share/doc/android-remote/third-party-licenses.txt. | |
| 14 | 추가: FFmpeg is linked dynamically from the distribution packages. | |
| 15 | 추가: | |
| 16 | 추가: License: GPL-3+ | |
| 17 | 추가: This program is free software: you can redistribute it and/or modify | |
| 18 | 추가: it under the terms of the GNU General Public License as published by | |
| 19 | 추가: the Free Software Foundation, either version 3 of the License, or | |
| 20 | 추가: (at your option) any later version. | |
| 21 | 추가: . | |
| 22 | 추가: This program is distributed in the hope that it will be useful, | |
| 23 | 추가: but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 24 | 추가: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 25 | 추가: GNU General Public License for more details. | |
| 26 | 추가: . | |
| 27 | 추가: On Debian systems, the complete text of the GNU General Public | |
| 28 | 추가: License version 3 can be found in "/usr/share/common-licenses/GPL-3". |
| @@ -0,0 +1,34 @@ | ||
| 1 | 추가: #!/usr/bin/env bash | |
| 2 | 추가: # Ubuntu 배포판별 .deb를 컨테이너에서 빌드해 dist/에 둔다. | |
| 3 | 추가: # | |
| 4 | 추가: # ./scripts/build-deb.sh 26.04와 24.04 모두 | |
| 5 | 추가: # ./scripts/build-deb.sh 24.04 하나만 | |
| 6 | 추가: # | |
| 7 | 추가: # podman(또는 docker)이 필요하다: sudo apt install podman | |
| 8 | 추가: set -euo pipefail | |
| 9 | 추가: cd "$(dirname "$0")/.." | |
| 10 | 추가: | |
| 11 | 추가: ENGINE="$(command -v podman || command -v docker || true)" | |
| 12 | 추가: if [[ -z "$ENGINE" ]]; then | |
| 13 | 추가: echo "podman이 필요합니다: sudo apt install podman" >&2 | |
| 14 | 추가: exit 1 | |
| 15 | 추가: fi | |
| 16 | 추가: | |
| 17 | 추가: VERSIONS=("$@") | |
| 18 | 추가: [[ ${#VERSIONS[@]} -eq 0 ]] && VERSIONS=(26.04 24.04) | |
| 19 | 추가: mkdir -p dist | |
| 20 | 추가: | |
| 21 | 추가: for v in "${VERSIONS[@]}"; do | |
| 22 | 추가: image="android-remote-build:$v" | |
| 23 | 추가: echo "== Ubuntu $v 빌드 환경" | |
| 24 | 추가: "$ENGINE" build -t "$image" --build-arg "UBUNTU=$v" -f packaging/Containerfile packaging | |
| 25 | 추가: echo "== Ubuntu $v .deb 빌드" | |
| 26 | 추가: # 배포판마다 빌드 결과를 따로 두고, 크레이트 내려받기는 호스트 캐시를 함께 쓴다. | |
| 27 | 추가: "$ENGINE" run --rm \ | |
| 28 | 추가: -v "$PWD:/src" -w /src \ | |
| 29 | 추가: -v "$HOME/.cargo/registry:/opt/cargo/registry" \ | |
| 30 | 추가: -e CARGO_TARGET_DIR="/src/target/ubuntu-$v" \ | |
| 31 | 추가: "$image" scripts/deb-in-container.sh "$v" | |
| 32 | 추가: done | |
| 33 | 추가: | |
| 34 | 추가: ls -la dist/*.deb |
| @@ -0,0 +1,20 @@ | ||
| 1 | 추가: #!/usr/bin/env bash | |
| 2 | 추가: # scripts/build-deb.sh가 배포판 컨테이너 안에서 실행한다. 직접 실행하지 않는다. | |
| 3 | 추가: # deb-in-container.sh <Ubuntu 버전> | |
| 4 | 추가: set -euo pipefail | |
| 5 | 추가: v="$1" | |
| 6 | 추가: . /etc/os-release | |
| 7 | 추가: ver="$(sed -n 's/^version = "\(.*\)"/\1/p' Cargo.toml | head -n1)" | |
| 8 | 추가: rev="1~ubuntu$v" | |
| 9 | 추가: | |
| 10 | 추가: python3 scripts/third-party-licenses.py target/third-party-licenses.txt | |
| 11 | 추가: gzip -9n -c packaging/android-remote.1 > target/android-remote.1.gz | |
| 12 | 추가: cat > target/debian-changelog <<CHANGELOG | |
| 13 | 추가: android-remote ($ver-$rev) $VERSION_CODENAME; urgency=medium | |
| 14 | 추가: | |
| 15 | 추가: * Ubuntu $v build of $ver. | |
| 16 | 추가: | |
| 17 | 추가: -- LeeJunyoung <[email protected]> $(date -R) | |
| 18 | 추가: CHANGELOG | |
| 19 | 추가: | |
| 20 | 추가: cargo deb --locked --deb-revision "$rev" --output dist/ |
| @@ -0,0 +1,41 @@ | ||
| 1 | 추가: #!/usr/bin/env bash | |
| 2 | 추가: # 릴리스 첨부 파일을 dist/에 모은다: 배포판별 .deb, APK, 소스 아카이브(GPL 소스 제공), SHA256SUMS. | |
| 3 | 추가: # | |
| 4 | 추가: # ./scripts/release.sh .deb는 scripts/build-deb.sh로 미리 만들어 둔다 | |
| 5 | 추가: # SKIP_APK=1 ./scripts/release.sh APK를 다시 빌드하지 않는다 | |
| 6 | 추가: set -euo pipefail | |
| 7 | 추가: cd "$(dirname "$0")/.." | |
| 8 | 추가: | |
| 9 | 추가: VERSION="$(sed -n 's/^version = "\(.*\)"/\1/p' Cargo.toml | head -n1)" | |
| 10 | 추가: APK_VERSION="$(sed -n 's/.*versionName = "\(.*\)"/\1/p' android/app/build.gradle.kts | head -n1)" | |
| 11 | 추가: if [[ "$VERSION" != "$APK_VERSION" ]]; then | |
| 12 | 추가: echo "버전 불일치: Cargo.toml $VERSION, APK $APK_VERSION" >&2 | |
| 13 | 추가: exit 1 | |
| 14 | 추가: fi | |
| 15 | 추가: if [[ -n "$(git status --porcelain)" ]]; then | |
| 16 | 추가: echo "커밋하지 않은 변경이 있습니다. 소스 아카이브가 실제 빌드와 달라질 수 있습니다." >&2 | |
| 17 | 추가: exit 1 | |
| 18 | 추가: fi | |
| 19 | 추가: | |
| 20 | 추가: mkdir -p dist | |
| 21 | 추가: for v in 26.04 24.04; do | |
| 22 | 추가: deb="dist/android-remote_${VERSION}-1~ubuntu${v}_amd64.deb" | |
| 23 | 추가: [[ -f "$deb" ]] || { echo "없음: $deb (./scripts/build-deb.sh $v)" >&2; exit 1; } | |
| 24 | 추가: done | |
| 25 | 추가: | |
| 26 | 추가: if [[ -z "${SKIP_APK:-}" ]]; then | |
| 27 | 추가: (cd android && ./gradlew -q assembleRelease) | |
| 28 | 추가: fi | |
| 29 | 추가: cp android/app/build/outputs/apk/release/app-release.apk "dist/android-remote-${VERSION}.apk" | |
| 30 | 추가: | |
| 31 | 추가: git archive --format=tar.gz --prefix="wayland-android-remote-${VERSION}/" \ | |
| 32 | 추가: -o "dist/wayland-android-remote-${VERSION}-source.tar.gz" HEAD | |
| 33 | 추가: | |
| 34 | 추가: ( | |
| 35 | 추가: cd dist | |
| 36 | 추가: sha256sum "android-remote_${VERSION}-1~ubuntu26.04_amd64.deb" \ | |
| 37 | 추가: "android-remote_${VERSION}-1~ubuntu24.04_amd64.deb" \ | |
| 38 | 추가: "android-remote-${VERSION}.apk" \ | |
| 39 | 추가: "wayland-android-remote-${VERSION}-source.tar.gz" > SHA256SUMS | |
| 40 | 추가: cat SHA256SUMS | |
| 41 | 추가: ) |
| @@ -0,0 +1,121 @@ | ||
| 1 | 추가: #!/usr/bin/env python3 | |
| 2 | 추가: """실행 파일에 들어가는 Rust 크레이트의 라이선스 원문을 한 파일로 모은다. | |
| 3 | 추가: | |
| 4 | 추가: MIT·BSD 등은 바이너리를 배포할 때 저작권 고지와 라이선스 원문을 함께 줘야 한다. | |
| 5 | 추가: `cargo metadata`로 빌드(비개발) 의존성만 골라, 각 크레이트 폴더의 LICENSE*/COPYING*/NOTICE* | |
| 6 | 추가: 파일을 이어 붙인다. 원문 파일이 없는 크레이트는 SPDX 식별자만 적는다. | |
| 7 | 추가: | |
| 8 | 추가: scripts/third-party-licenses.py [출력 경로] (기본 target/third-party-licenses.txt) | |
| 9 | 추가: """ | |
| 10 | 추가: | |
| 11 | 추가: import json | |
| 12 | 추가: import os | |
| 13 | 추가: import subprocess | |
| 14 | 추가: import sys | |
| 15 | 추가: | |
| 16 | 추가: PREFIXES = ("license", "licence", "copying", "notice", "unlicense", "copyright") | |
| 17 | 추가: | |
| 18 | 추가: WTFPL = """ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| 19 | 추가: Version 2, December 2004 | |
| 20 | 추가: | |
| 21 | 추가: Copyright (C) 2004 Sam Hocevar <[email protected]> | |
| 22 | 추가: | |
| 23 | 추가: Everyone is permitted to copy and distribute verbatim or modified | |
| 24 | 추가: copies of this license document, and changing it is allowed as long | |
| 25 | 추가: as the name is changed. | |
| 26 | 추가: | |
| 27 | 추가: DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| 28 | 추가: TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION | |
| 29 | 추가: | |
| 30 | 추가: 0. You just DO WHAT THE FUCK YOU WANT TO. | |
| 31 | 추가: """ | |
| 32 | 추가: | |
| 33 | 추가: | |
| 34 | 추가: def fallback(pkg): | |
| 35 | 추가: """원문 파일이 없는 크레이트: 고를 수 있는 라이선스 가운데 원문을 붙일 수 있는 것을 고른다.""" | |
| 36 | 추가: lic = pkg.get("license") or "" | |
| 37 | 추가: if "Apache-2.0" in lic: | |
| 38 | 추가: return "Apache-2.0", "(crate ships no license file; used under Apache-2.0, full text at the end of this file)\n" | |
| 39 | 추가: if "WTFPL" in lic: | |
| 40 | 추가: return "WTFPL", WTFPL | |
| 41 | 추가: return None, "(no license file shipped in the crate; SPDX identifier above applies)\n" | |
| 42 | 추가: | |
| 43 | 추가: | |
| 44 | 추가: def build_deps(meta): | |
| 45 | 추가: nodes = {n["id"]: n for n in meta["resolve"]["nodes"]} | |
| 46 | 추가: root = meta["resolve"]["root"] | |
| 47 | 추가: seen, stack = set(), [root] | |
| 48 | 추가: while stack: | |
| 49 | 추가: i = stack.pop() | |
| 50 | 추가: if i in seen: | |
| 51 | 추가: continue | |
| 52 | 추가: seen.add(i) | |
| 53 | 추가: for d in nodes[i]["deps"]: | |
| 54 | 추가: if any(k["kind"] in (None, "build") for k in d["dep_kinds"]): | |
| 55 | 추가: stack.append(d["pkg"]) | |
| 56 | 추가: seen.discard(root) | |
| 57 | 추가: return seen | |
| 58 | 추가: | |
| 59 | 추가: | |
| 60 | 추가: def license_files(pkg): | |
| 61 | 추가: root = os.path.dirname(pkg["manifest_path"]) | |
| 62 | 추가: files = [] | |
| 63 | 추가: if pkg.get("license_file"): | |
| 64 | 추가: files.append(os.path.join(root, pkg["license_file"])) | |
| 65 | 추가: for name in sorted(os.listdir(root)): | |
| 66 | 추가: path = os.path.join(root, name) | |
| 67 | 추가: if os.path.isfile(path) and name.lower().startswith(PREFIXES) and path not in files: | |
| 68 | 추가: files.append(path) | |
| 69 | 추가: return files | |
| 70 | 추가: | |
| 71 | 추가: | |
| 72 | 추가: def main(): | |
| 73 | 추가: out_path = sys.argv[1] if len(sys.argv) > 1 else "target/third-party-licenses.txt" | |
| 74 | 추가: meta = json.loads( | |
| 75 | 추가: subprocess.check_output( | |
| 76 | 추가: ["cargo", "metadata", "--format-version", "1", "--locked", | |
| 77 | 추가: "--filter-platform", "x86_64-unknown-linux-gnu"], | |
| 78 | 추가: ) | |
| 79 | 추가: ) | |
| 80 | 추가: pkgs = {p["id"]: p for p in meta["packages"]} | |
| 81 | 추가: deps = sorted((pkgs[i] for i in build_deps(meta)), key=lambda p: (p["name"], p["version"])) | |
| 82 | 추가: | |
| 83 | 추가: parts = [ | |
| 84 | 추가: "Android Remote - third-party licenses\n", | |
| 85 | 추가: "The android-remote binary includes the following Rust crates.\n", | |
| 86 | 추가: "FFmpeg and other system libraries are linked dynamically from the distribution.\n\n", | |
| 87 | 추가: ] | |
| 88 | 추가: missing = 0 | |
| 89 | 추가: need_apache = False | |
| 90 | 추가: for p in deps: | |
| 91 | 추가: parts.append("=" * 78 + "\n") | |
| 92 | 추가: parts.append(f"{p['name']} {p['version']}\n") | |
| 93 | 추가: parts.append(f"License: {p.get('license') or 'see files below'}\n") | |
| 94 | 추가: if p.get("repository"): | |
| 95 | 추가: parts.append(f"Source: {p['repository']}\n") | |
| 96 | 추가: files = license_files(p) | |
| 97 | 추가: if not files: | |
| 98 | 추가: missing += 1 | |
| 99 | 추가: chosen, text = fallback(p) | |
| 100 | 추가: if chosen == "Apache-2.0": | |
| 101 | 추가: need_apache = True | |
| 102 | 추가: parts.append(text) | |
| 103 | 추가: for f in files: | |
| 104 | 추가: parts.append("-" * 78 + f"\n{os.path.basename(f)}:\n\n") | |
| 105 | 추가: with open(f, encoding="utf-8", errors="replace") as fh: | |
| 106 | 추가: parts.append(fh.read().rstrip() + "\n") | |
| 107 | 추가: parts.append("\n") | |
| 108 | 추가: | |
| 109 | 추가: if need_apache: | |
| 110 | 추가: parts.append("=" * 78 + "\nApache License 2.0 (full text)\n\n") | |
| 111 | 추가: with open("/usr/share/common-licenses/Apache-2.0", encoding="utf-8") as fh: | |
| 112 | 추가: parts.append(fh.read()) | |
| 113 | 추가: | |
| 114 | 추가: os.makedirs(os.path.dirname(out_path) or ".", exist_ok=True) | |
| 115 | 추가: with open(out_path, "w", encoding="utf-8") as fh: | |
| 116 | 추가: fh.writelines(parts) | |
| 117 | 추가: print(f"{out_path}: 크레이트 {len(deps)}개, 원문 없는 크레이트 {missing}개") | |
| 118 | 추가: | |
| 119 | 추가: | |
| 120 | 추가: if __name__ == "__main__": | |
| 121 | 추가: main() |