talimat 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Tanım: Deepin masaüstü ortamı - Oturum UI modülü
  2. # URL: https://github.com/linuxdeepin/dde-session-ui
  3. # Paketçi: Cihan_Alkan
  4. # Gerekler: deepin-desktop-schemas gvfs libcanberra poppler-glib rfkill bluez deepin-notifications iso-codes lsb-release mobile-broadband-provider-info deepin-polkit-agent udisks2 upower xorg-libxkbfile accountsservice deepin-desktop-base bamf pulseaudio gnome-keyring noto-fonts deepin-dbus-factory deepin-gir-generator deepin-go-lib deepin-api sqlite deepin-gettext-tools mercurial python-gobject networkmanager go18
  5. # Grup: deepin
  6. isim=deepin-daemon
  7. surum=3.14.0
  8. devir=1
  9. kaynak=(https://github.com/linuxdeepin/dde-daemon/archive/$surum.tar.gz::$isim-$surum.tar.gz
  10. https://raw.githubusercontent.com/jouyouyun/tap-gesture-patches/master/patches/dde-daemon_3.8.0.patch
  11. deepin-daemon.sysusers)
  12. derle() {
  13. cd dde-daemon-$surum
  14. patch -p1 -i ../dde-daemon_3.8.0.patch
  15. export GOPATH="$SRC/build:/usr/share/gocode"
  16. # https://github.com/niemeyer/gopkg/issues/50
  17. git config --global http.https://gopkg.in.followRedirects true
  18. go get -insecure github.com/BurntSushi/xgb github.com/BurntSushi/xgbutil github.com/linuxdeepin/go-x11-client \
  19. github.com/mattn/go-sqlite3 gopkg.in/alecthomas/kingpin.v2 github.com/disintegration/imaging \
  20. github.com/BurntSushi/freetype-go/freetype github.com/BurntSushi/freetype-go/freetype/truetype \
  21. github.com/BurntSushi/graphics-go/graphics github.com/fsnotify/fsnotify golang.org/x/sys/unix \
  22. gopkg.in/yaml.v2 github.com/axgle/mahonia github.com/msteinert/pam github.com/nfnt/resize \
  23. golang.org/x/text/encoding/charmap github.com/cryptix/wav golang.org/x/net/context
  24. sed -i 's#/usr/share/backgrounds/default_background.jpg#/usr/share/backgrounds/deepin/desktop.jpg#' accounts/user.go
  25. make -C network/nm_generator gen-nm-code
  26. make # USE_GCCGO=1
  27. make DESTDIR="$PKG" install # USE_GCCGO=1
  28. install -Dm644 ../deepin-daemon.sysusers "$PKG/usr/lib/sysusers.d/deepin-daemon.conf"
  29. }