Compare commits

...

40 Commits

Author SHA1 Message Date
Dmitry Porunov
4ad5ddec00 Make script enter passphrase 2019-11-01 04:15:35 +04:00
Dmitry Porunov
faf6a27366 Another try 2019-11-01 04:04:19 +04:00
Dmitry Porunov
f7dd5cf6d3 Debugging 2019-11-01 03:59:24 +04:00
Dmitry Porunov
06046d478d Debugging 2019-11-01 03:56:00 +04:00
Dmitry Porunov
1f7ce8b6fb Add debug echo 2019-11-01 03:51:37 +04:00
Dmitry Porunov
2a391702fd Use echo instead of cat for variable 2019-11-01 03:42:02 +04:00
Dmitry Porunov
3d3125f4fe Fix .gitlab-ci.yml 2019-11-01 03:33:44 +04:00
Dmitry Porunov
0aa4b0eba3 Fix .gitlab-ci.yml URL_SOURCE 2019-11-01 03:25:34 +04:00
Dmitry Porunov
94e06bb116 Fix .gitlab-ci.yml 2019-11-01 03:12:48 +04:00
Dmitry Porunov
c16ac69f0f What's this? 2019-11-01 03:11:06 +04:00
Dmitry Porunov
1adbf2c0f6 Fix source url 2019-11-01 03:10:05 +04:00
Dmitry Porunov
286a06ac1b Fix .gitlab-ci.yml 2019-11-01 02:18:59 +04:00
Dmitry Porunov
f1016e321e CI/CD test 2019-11-01 02:13:37 +04:00
Dmitry
74ab7d14ce Change repository structure 2019-10-31 22:45:05 +04:00
Dmitry
9599f80ff8 Make script stop when needed software is not installed (fixes #1) 2019-10-30 18:51:16 +04:00
Dmitry
31d3d98a51 Update README.md 2019-10-30 18:23:19 +04:00
Dmitry
8e436e5036 Change repository structure 2019-10-30 18:20:00 +04:00
Dmitry
8a599a3351 Add missing cursors 2019-10-30 12:10:59 +04:00
Dmitry
406d6145cc Minor cleanup of scripts 2019-10-28 18:28:32 +04:00
Dmitry
9e8d5c90e2 Update README.md 2019-10-28 16:37:04 +04:00
Dmitry
be3dc36490 Sort symlinks 2019-10-28 14:32:18 +04:00
Dmitry
cb3f60c85c Add some missing cursors 2019-10-28 14:19:47 +04:00
Dmitry
2aee6245c5 Update not-allowed cursor 2019-10-28 04:07:16 +04:00
Dmitry
0ef7e2786d Draw new hand cursors, redraw some others 2019-10-28 03:27:33 +04:00
Dmitry
05c4b1ee2d Update README.md 2019-10-27 13:48:06 +04:00
Dmitry
d0d1f3a76d Tweak scripts, update .gitignore 2019-10-27 06:38:56 +04:00
Dmitry
ee01a250c9 Remove unneded assets 2019-10-27 06:36:19 +04:00
Dmitry
04909a5a63 Remove unneded assets 2019-10-27 06:32:21 +04:00
Dmitry
14fb2420ad Force user to build cursor themes, add progress bar 2019-10-27 06:30:50 +04:00
Dmitry
a0d6b9185d Tweak colored output 2019-10-27 03:32:25 +04:00
Dmitry
e1d32fc6f3 Add colorful output 2019-10-27 03:31:51 +04:00
Dmitry
50049bba08 Ignore built themes 2019-10-27 03:16:51 +04:00
Dmitry
d260dba766 Update stroke on black no-drop cursor 2019-10-27 02:58:01 +04:00
Dmitry
f375f7ae69 Update some cursors, add preview to README.md 2019-10-27 02:57:07 +04:00
Dmitry
6b4a055815 Fix some cursors for tiny themes, also make crosshair more visible 2019-10-26 14:32:39 +04:00
Dmitry
584b565146 Update README.md 2019-10-26 11:39:09 +04:00
Dmitry
05274e8525 Update README.md 2019-10-26 00:54:03 +04:00
Dmitry
609387b2b8 Update README.md 2019-10-26 00:51:38 +04:00
Dmitry
bfd00a3718 Add themes back 2019-10-25 23:06:40 +04:00
Dmitry
485d4b49a4 Add themes with tiny cursor 2019-10-25 23:03:01 +04:00
2688 changed files with 2617 additions and 238 deletions

13
.gitignore vendored
View File

@@ -1 +1,12 @@
/archives
Main/Black/x1/
Main/Black/x1_25/
Main/Black/x1_5/
Main/BlackTiny/x1/
Main/BlackTiny/x1_25/
Main/BlackTiny/x1_5/
Main/White/x1/
Main/White/x1_25/
Main/White/x1_5/
Main/WhiteTiny/x1/
Main/WhiteTiny/x1_25/
Main/WhiteTiny/x1_5/

117
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,117 @@
# GitLab CI configuration for ffsend builds, tests and releases
#
# To add a new release:
# - configure a new 'build-*' job with the proper target
# - export a build artifact from the new job
# - manually upload artifact to GitHub in the 'github-release' job
stages:
- package
# AUR packages release
package-aur:
image: archlinux/base
stage: package
# needs:
# - release-github
dependencies: []
only:
- /^v(\d+\.)*\d+$/
before_script: []
script:
- cd ./pkg/aur
# Determine the version number we're releasing for
- VERSION=$(echo $CI_COMMIT_REF_NAME | cut -c 2-)
- echo "Determined binary version number 'v$VERSION'"
# Determine remote URLs and SHA checksums
- echo "Determining SHA checksums for remote files..."
- URL_SOURCE=https://git.auteiy.me/dmitry/cursorsPosy/-/archive/v$VERSION/cursorsPosy-v$VERSION.tar.gz?path=themes
- 'echo "Selected source URL: $URL_SOURCE"'
- echo "Determining sha256sum for remote source..."
- 'SHA_SOURCE=$(curl -sSL "$URL_SOURCE" | sha256sum | cut -d" " -f1)'
- 'echo "Got sha256sum: $SHA_SOURCE"'
# Update PKGBUILD parameters: version, source URL and SHA sum
- echo "Updating PKGBUILDS with release information..."
- sed "s/^pkgver=.*\$/pkgver=$VERSION/" -i posy-cursors/PKGBUILD
- sed "s/^source=(\"\(.*\)::.*\").*\$/source=(\"\1::$(echo $URL_SOURCE | sed 's/\//\\\//g')\")/" -i posy-cursors/PKGBUILD
- sed "s/^sha256sums=.*\$/sha256sums=('$SHA_SOURCE')/" -i posy-cursors/PKGBUILD
# Get SHA hash for local and remote file w/o version, update if it has changed
# - 'SHA_STRIP_LOCAL=$(cat ffsend-git/PKGBUILD | sed /^pkgver=.\*/d | sha256sum | cut -d" " -f1)'
# - 'SHA_STRIP_REMOTE=$(curl -sSL "https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=ffsend-git" | sed /^pkgver=.\*/d | sha256sum | cut -d" " -f1)'
# Install dependencies
- echo "Installing required build packages..."
- pacman -Syu --noconfirm sudo base-devel openssh git openssl
# Make AUR package
- mkdir -p /.cargo
- chmod -R 777 /.cargo
- cd posy-cursors/
- echo "Making main source package..."
- sudo -u nobody makepkg -c
- sudo -u nobody makepkg --printsrcinfo > .SRCINFO
# Make git package if different than the remote
# - |
# if [ ! "$SHA_STRIP_LOCAL" == "$SHA_STRIP_REMOTE" ]; then
# cd ../ffsend-git
# echo "Making git source package..."
# sudo -u nobody makepkg -c
# sudo -u nobody makepkg --printsrcinfo > .SRCINFO
# else
# echo "Not making git source package, it has not changed"
# fi
- cd ..
# Set up SSH for publishing
- mkdir -p /root/.ssh
- cp ./aur.pub /root/.ssh/id_rsa.pub
- echo "$AUR_SSH_PRIVATE" | base64 -d > /root/.ssh/id_rsa
- echo "Host aur.archlinux.org" >> /root/.ssh/config
- echo " IdentityFile /root/.ssh/aur" >> /root/.ssh/config
- echo " User aur" >> /root/.ssh/config
- chmod 600 /root/.ssh/{id_rsa*,config}
- eval `ssh-agent -s`
# - ssh-add /root/.ssh/id_rsa
- echo -en "${PASSPHRASE}" | ssh-add /root/.ssh/id_rsa
- ssh-keyscan -H aur.archlinux.org >> /root/.ssh/known_hosts
- git config --global user.name "Dmitry Porunov"
- git config --global user.email "dmitry@auteiy.me"
# Publish main package: clone AUR repo, commit update and push
- git clone ssh://aur@aur.archlinux.org/posy-cursors.git aur-posy-cursors
- cd aur-posy-cursors
- cp ../posy-cursors/{PKGBUILD,.SRCINFO} ./
- git add PKGBUILD .SRCINFO
- git commit -m "Release v$VERSION"
- git push
- cd ..
# Publish binary package: clone AUR repo, commit update and push
# - git clone ssh://aur@aur.archlinux.org/ffsend-bin.git aur-ffsend-bin
# - cd aur-ffsend-bin
# - cp ../ffsend-bin/{PKGBUILD,.SRCINFO} ./
# - git add PKGBUILD .SRCINFO
# - git commit -m "Release v$VERSION"
# - git push
# - cd ..
# Publish git package: clone AUR repo, commit update and push
# Only publish it if it is different than the remote
# - |
# if [ ! "$SHA_STRIP_LOCAL" == "$SHA_STRIP_REMOTE" ]; then
# git clone ssh://aur@aur.archlinux.org/ffsend-git.git aur-ffsend-git
# cd aur-ffsend-git
# cp ../ffsend-git/{PKGBUILD,.SRCINFO} ./
# git add PKGBUILD .SRCINFO
# git commit -m "Update PKGBUILD for release v$VERSION"
# git push
# cd ..
# else
# echo "Not pushing git package, it has not changed"
# fi
# TODO: add job to test ffsend{-git} AUR packages

View File

@@ -1,61 +0,0 @@
00000000000000020006000e7e9ffc3f progress
00008160000006810000408080010102 size_ver
03b6e0fcb3499374a867c041f52298f0 circle
08e8e1c95fe2fc01f976f1e063a24ccd progress
3ecb610c1bf2410f44200f48c40d3599 progress
5c6cd98b3f3ebcb1f9c7f1c204630408 help
9d800788f1b08800ae810202380a0822 pointer
640fb0e74195791501fd1ed57b41487f alias
1081e37283d90000800003c07f3ef6bf copy
3085a0e285430894940527032f8b26df alias
4498f0e0c1937ffe01fd06f973665830 dnd-move
6407b0e94181790501fd1e167b474872 copy
9081237383d90e509aa00f00170e968f dnd-move
a2a266d0498c3104214a47bd64ab0fc8 alias
b66166c04f8c3109214a4fbd64a50fc8 copy
d9ce0ab605698f320427677b458ad60b help
e29285e634086352946a0e7090d73106 pointer
fcf21c00b30f7e3f83fe0dfd12e71cff dnd-move
grabbing dnd-move
nwse-resize size_fdiag
nesw-resize size_bdiag
arrow default
circle not-allowed
closedhand dnd-move
col-resize size_hor
color-picker crosshair
copy dnd-move
cross crosshair
crossed_circle not-allowed
dnd-copy copy
dnd-none dnd-move
e-resize size_hor
forbidden no-drop
h_double_arrow size_hor
half-busy progress
grab openhand
hand1 pointer
hand2 pointer
ibeam text
left_ptr default
left_ptr_help help
left_ptr_watch progress
left_side left-arrow
link alias
move dnd-move
n-resize size_ver
plus cell
pointing_hand pointer
question_arrow help
right_side right-arrow
s-resize size_ver
sb_h_double_arrow size_hor
sb_v_double_arrow size_ver
size_all fleur
split_h col-resize
split_v row-resize
v_double_arrow size_ver
w-resize size_hor
watch wait
whats_this help
xterm text

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 936 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 594 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1016 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 979 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 710 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 907 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1017 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 979 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Some files were not shown because too many files have changed in this diff Show More