Change Details
dgclock/Makefile |
34 | 34 | CATEGORY:=Xorg |
35 | 35 | TITLE:=dgclock - sdl based date and time |
36 | 36 | URL:=http://clogging.web.fc2.com/dingoo/ |
37 | | DEPENDS:=+libsdl +libsdl-image +libsdl-ttf +libgl-mesa |
| 37 | DEPENDS:=+libsdl +libsdl-image +libsdl-ttf +libgl-mesa +dejavu-fonts-ttf |
38 | 38 | endef |
39 | 39 | |
40 | 40 | define Package/dgclock/description |
dgclock/patches/001-use-dejavu-font.patch |
| 1 | diff -ruN dgclock/src/main.c dgclock.mod/src/main.c |
| 2 | --- dgclock/src/main.c 2009-12-21 16:00:00.000000000 +0100 |
| 3 | @@ -60,11 +60,11 @@ |
| 4 | |
| 5 | SDL_ShowCursor(SDL_DISABLE); |
| 6 | |
| 7 | - gTTFFont = TTF_OpenFont ( "mplus-2p-medium.ttf" , 15 ); |
| 8 | + gTTFFont = TTF_OpenFont ( "/usr/share/fonts/ttf-dejavu/DejaVuSans.ttf" , 15 ); |
| 9 | if (!gTTFFont) |
| 10 | return -1; |
| 11 | |
| 12 | - gTTFSmall = TTF_OpenFont ( "mplus-2p-medium.ttf" , 10 ); |
| 13 | + gTTFSmall = TTF_OpenFont ( "/usr/share/fonts/ttf-dejavu/DejaVuSans.ttf" , 10 ); |
| 14 | if (!gTTFSmall) |
| 15 | return -1; |
| 16 | |
Download the corresponding diff file