Trinity Desktop Environment Packaging
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile.r14 15KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619
  1. SHELL := /bin/bash
  2. PATH := $(PATH):$(shell pwd)/build
  3. TDE_VERSION = 14.0.0
  4. buildpkg = \
  5. @echo "Now processing '$(1)' ."; \
  6. if [ "${REBUILD}" = "$(1)" ] || ! is_latest_package_installed.sh "$(1)" ${TDE_VERSION}; then \
  7. echo " Package '${1}' is not yet installed."; \
  8. if [ "${REBUILD}" = "$(1)" ] || ! is_latest_package_built.sh "$(1)" ${TDE_VERSION}; then \
  9. echo " Building package."; \
  10. build_rpm_package.sh "$(1)" ${TDE_VERSION} || exit 1; \
  11. echo " Updating repository."; \
  12. update_repository.sh ${TDE_VERSION}; \
  13. fi; \
  14. echo "Now installing package '$(1)'"; \
  15. install_rpm_package.sh "$(1)" || exit 2; \
  16. fi; \
  17. echo
  18. all: dependencies main libraries applications i18n meta
  19. dependencies: tqt3 tqtinterface arts libart_lgpl libcaldav libcarddav sip4-tqt tqca tqca-tls avahi-tqt dbus-tqt dbus-1-tqt akode
  20. main: tdelibs tdebase tdeaccessibility tdeadmin tdegames tdemultimedia tdepim tdetoys tdevelop tdeaddons tdeartwork tdebindings tdeedu tdegraphics tdenetwork tdesdk tdeutils tdewebdev
  21. libraries: libkdcraw libkexiv2 libkipi libksquirrel libtdeldap libtqt-perl pytdeextensions python-trinity
  22. applications: abakus amarok basket bibletime digikam dolphin filelight gtk3-tqt-engine gtk-qt-engine gwenview k3b k9copy kaffeine kaffeine-mozilla kasablanca katapult kbarcode kbfx kbibtex kbiff kbookreader kchmviewer kcmautostart kcmldap kcmldapcontroller kcmldapmanager kcpuload kdbg kdbusnotification kdiff3 kdirstat keep kerberostray kftpgrabber kile kima kiosktool kkbswitch klcddimmer kmplayer kmyfirewall kmymoney knemo knetload knetstats knights knmap knowit knutclient koffice konversation kopete-otr kpicosim kpilot krecipes krename krusader kscope ksensors kshowmail kshutdown ksplash-engine-moodin ksquirrel kstreamripper ksystemlog ktechlab ktorrent kuickshow kvirc kvkbd kvpnc mplayerthumbs piklab potracegui qt4-tqt-theme-engine rosegarden smartcardauth smb4k soundkonverter tde-guidance tdeio-apt tdeio-ftps tdeio-locate tdeio-sword tdeio-umountwrapper tdenetworkmanager tdepowersave tderadio tde-style-lipstik tde-style-qtcurve tdesudo tdesvn tde-systemsettings tdmtheme tellico tork twin-style-crystal wlassistant yakuake
  23. i18n: gwenview-i18n k3b-i18n koffice-i18n tde-i18n
  24. ### Trinity Dependencies
  25. arts: tqtinterface esound
  26. $(call buildpkg,dependencies/arts)
  27. avahi-tqt: tqtinterface
  28. $(call buildpkg,dependencies/avahi-tqt)
  29. dbus-1-tqt: tqtinterface
  30. $(call buildpkg,dependencies/dbus-1-tqt)
  31. dbus-tqt: tqtinterface
  32. $(call buildpkg,dependencies/dbus-tqt)
  33. libart_lgpl: tqtinterface
  34. $(call buildpkg,dependencies/libart-lgpl)
  35. libcaldav: tqtinterface libcurl
  36. $(call buildpkg,dependencies/libcaldav)
  37. libcarddav: tqtinterface libcurl
  38. $(call buildpkg,dependencies/libcarddav)
  39. python-tqt: sip4-tqt tdelibs
  40. $(call buildpkg,dependencies/python-tqt)
  41. sip4-tqt:
  42. $(call buildpkg,dependencies/sip4-tqt)
  43. tqca: tqtinterface
  44. $(call buildpkg,dependencies/tqca)
  45. tqca-tls: tqtinterface tqca
  46. $(call buildpkg,dependencies/tqca-tls)
  47. tqscintilla: tqca-tls tdelibs
  48. $(call buildpkg,dependencies/tqscintilla)
  49. tqt3:
  50. $(call buildpkg,dependencies/tqt3)
  51. tqtinterface: tqt3
  52. $(call buildpkg,dependencies/tqtinterface)
  53. # Main packages
  54. tdeaccessibility: tdebase tdemultimedia
  55. $(call buildpkg,tdeaccessibility)
  56. tdeaddons: tdebase tdegames tdemultimedia tdenetwork tdepim
  57. $(call buildpkg,tdeaddons)
  58. tdeadmin: tdebase
  59. $(call buildpkg,tdeadmin)
  60. tdeartwork: tdebase
  61. $(call buildpkg,tdeartwork)
  62. tdebase: tdelibs htdig
  63. $(call buildpkg,tdebase)
  64. tdebindings: tdebase tqscintilla
  65. $(call buildpkg,tdebindings)
  66. tdeedu: tdebase
  67. $(call buildpkg,tdeedu)
  68. tdegames: tdebase tdemultimedia
  69. $(call buildpkg,tdegames)
  70. tdegraphics: tdebase poppler
  71. $(call buildpkg,tdegraphics)
  72. tdelibs: tqt3 tqtinterface arts dbus-tqt dbus-1-tqt
  73. $(call buildpkg,tdelibs)
  74. tdemultimedia: tdebase akode
  75. $(call buildpkg,tdemultimedia)
  76. tdenetwork: tdebase
  77. $(call buildpkg,tdenetwork)
  78. tdepim: tdebase libcaldav libcarddav
  79. $(call buildpkg,tdepim)
  80. tdesdk: tdebase tdebindings
  81. $(call buildpkg,tdesdk)
  82. tdetoys: tdebase
  83. $(call buildpkg,tdetoys)
  84. tdeutils: tdebase
  85. $(call buildpkg,tdeutils)
  86. tdevelop: tdebase tdesdk
  87. $(call buildpkg,tdevelop)
  88. tdewebdev: tdebase tdesdk
  89. $(call buildpkg,tdewebdev)
  90. ### 3rd party libraries and tools
  91. esound:
  92. # Build on Mageia only
  93. ifneq ($(wildcard /etc/mageia-release),)
  94. $(call buildpkg,3rdparty/esound)
  95. endif
  96. gnuchess:
  97. # Build on CentOS 5 only
  98. ifneq ($(wildcard /boot/vmlinuz*.el5*),)
  99. $(call buildpkg,3rdparty/gnuchess)
  100. endif
  101. htdig:
  102. # build on Mageia only
  103. ifneq ($(wildcard /etc/mageia-release),)
  104. $(call buildpkg,3rdparty/htdig)
  105. endif
  106. imlib1:
  107. # Do NOT build on Fedora, nor CentOS
  108. ifeq ($(wildcard /etc/fedora-release),)
  109. ifeq ($(wildcard /etc/centos-release),)
  110. ifeq ($(wildcard /boot/vmlinuz*.el5*),)
  111. $(call buildpkg,3rdparty/imlib1)
  112. endif
  113. endif
  114. endif
  115. libcurl:
  116. # Build on CentOS 5 only
  117. ifneq ($(wildcard /boot/vmlinuz*.el5*),)
  118. $(call buildpkg,3rdparty/curl)
  119. endif
  120. libotr3:
  121. # Build on Mageia only
  122. ifneq ($(wildcard /etc/mageia-release),)
  123. $(call buildpkg,3rdparty/libotr3)
  124. endif
  125. lilypond: mftrace
  126. # Build on CentOS only
  127. ifneq ($(wildcard /etc/centos-release),)
  128. $(call buildpkg,3rdparty/lilypond)
  129. endif
  130. mftrace:
  131. # Build on CentOS only
  132. ifneq ($(wildcard /etc/centos-release),)
  133. $(call buildpkg,3rdparty/mftrace)
  134. endif
  135. pcsc-perl:
  136. # Build on CentOS and openSUSE only
  137. ifneq ($(wildcard /etc/centos-release /etc/SuSE-release /boot/vmlinuz*.el5*),)
  138. $(call buildpkg,3rdparty/pcsc-perl)
  139. endif
  140. poppler:
  141. # Build on CentOS 5 only (vendor-provided Poppler is too old)
  142. ifneq ($(wildcard /boot/vmlinuz*.el5*),)
  143. $(call buildpkg,3rdparty/poppler)
  144. endif
  145. python-qt3: tdelibs sip
  146. $(call buildpkg,3rdparty/python-qt3)
  147. sip:
  148. # Build on CentOS 5 only (vendor-provided SIP is too old)
  149. ifneq ($(wildcard /boot/vmlinuz*.el5*),)
  150. $(call buildpkg,3rdparty/sip)
  151. endif
  152. sword:
  153. # Build on Fedora >= 20 only, or PCLinuxOS
  154. ifneq ($(wildcard /boot/vmlinuz*.fc20* /etc/pclinuxos-release),)
  155. $(call buildpkg,3rdparty/sword)
  156. endif
  157. torsocks:
  158. $(call buildpkg,3rdparty/torsocks)
  159. wv2:
  160. # Do NOT build on Mageia or openSUSE or PCLINUXOS
  161. ifeq ($(wildcard /etc/mageia-release /etc/SuSE-release /etc/pclinuxos-release),)
  162. $(call buildpkg,3rdparty/wv2)
  163. endif
  164. ### Extra packages
  165. akode: tqtinterface
  166. $(call buildpkg,extras/akode)
  167. ### Trinity Libraries
  168. kipi-plugins: tqtinterface libkipi
  169. $(call buildpkg,libraries/kipi-plugins)
  170. libkdcraw: tqtinterface
  171. $(call buildpkg,libraries/libkdcraw)
  172. libkexiv2: tqtinterface
  173. $(call buildpkg,libraries/libkexiv2)
  174. libkipi: tqtinterface
  175. $(call buildpkg,libraries/libkipi)
  176. libksquirrel: tqtinterface
  177. $(call buildpkg,libraries/libksquirrel)
  178. libtdeldap: tqtinterface
  179. $(call buildpkg,libraries/libtdeldap)
  180. libtqt-perl: tqtinterface
  181. $(call buildpkg,libraries/libtqt-perl)
  182. mlt: tqtinterface
  183. $(call buildpkg,libraries/mlt)
  184. mlt++: tqtinterface
  185. $(call buildpkg,libraries/mlt++)
  186. pytdeextensions: tqtinterface python-trinity
  187. $(call buildpkg,libraries/pytdeextensions)
  188. python-trinity: tqtinterface python-tqt
  189. $(call buildpkg,libraries/python-trinity)
  190. ### Trinity Applications
  191. abakus: tdebase
  192. $(call buildpkg,applications/abakus)
  193. adept: tdebase
  194. $(call buildpkg,applications/adept)
  195. amarok: tdebase
  196. $(call buildpkg,applications/amarok)
  197. basket: tdebase
  198. $(call buildpkg,applications/basket)
  199. bibletime: tdebase sword
  200. $(call buildpkg,applications/bibletime)
  201. compizconfig-backend-kconfig: tdebase
  202. $(call buildpkg,applications/compizconfig-backend-kconfig)
  203. desktop-effects-tde: tdebase
  204. $(call buildpkg,applications/desktop-effects-tde)
  205. digikam: tdebase libkdcraw libkexiv2 libkipi libksquirrel
  206. $(call buildpkg,applications/digikam)
  207. dolphin: tdebase
  208. $(call buildpkg,applications/dolphin)
  209. filelight: tdebase
  210. $(call buildpkg,applications/filelight)
  211. filelight-l10n: tdebase
  212. $(call buildpkg,applications/filelight-l10n)
  213. fusion-icon: tdebase
  214. $(call buildpkg,applications/fusion-icon)
  215. gtk3-tqt-engine: tdebase
  216. # Do NOT build on CentOS
  217. ifeq ($(wildcard /etc/centos-release),)
  218. $(call buildpkg,applications/gtk3-tqt-engine)
  219. endif
  220. gtk-qt-engine: tdebase
  221. # Do NOT build on CentOS 5 (GTK2 is too old)
  222. ifeq ($(wildcard /boot/vmlinuz*.el5*),)
  223. $(call buildpkg,applications/gtk-qt-engine)
  224. endif
  225. gwenview: tdebase
  226. $(call buildpkg,applications/gwenview)
  227. k3b: tdebase
  228. $(call buildpkg,applications/k3b)
  229. k9copy: tdebase k3b
  230. $(call buildpkg,applications/k9copy)
  231. kaffeine: tdebase
  232. $(call buildpkg,applications/kaffeine)
  233. kaffeine-mozilla: tdebase kaffeine
  234. $(call buildpkg,applications/kaffeine-mozilla)
  235. kasablanca: tdebase
  236. $(call buildpkg,applications/kasablanca)
  237. katapult: tdebase
  238. $(call buildpkg,applications/katapult)
  239. kbarcode: tdebase
  240. $(call buildpkg,applications/kbarcode)
  241. kbfx: tdebase
  242. $(call buildpkg,applications/kbfx)
  243. kbibtex: tdebase
  244. $(call buildpkg,applications/kbibtex)
  245. kbiff: tdebase
  246. $(call buildpkg,applications/kbiff)
  247. kbookreader: tdebase
  248. $(call buildpkg,applications/kbookreader)
  249. kchmviewer: tdebase
  250. $(call buildpkg,applications/kchmviewer)
  251. kcmautostart: tdebase
  252. $(call buildpkg,applications/kcmautostart)
  253. kcmldap: tdebase libtdeldap
  254. $(call buildpkg,applications/kcmldap)
  255. kcmldapcontroller: tdebase kcmldap
  256. $(call buildpkg,applications/kcmldapcontroller)
  257. kcmldapmanager: tdebase kcmldap
  258. $(call buildpkg,applications/kcmldapmanager)
  259. kcpuload: tdebase
  260. $(call buildpkg,applications/kcpuload)
  261. kdbg: tdebase
  262. $(call buildpkg,applications/kdbg)
  263. kdbusnotification: tdebase
  264. $(call buildpkg,applications/kdbusnotification)
  265. kdiff3: tdebase
  266. $(call buildpkg,applications/kdiff3)
  267. kdirstat: tdebase
  268. $(call buildpkg,applications/kdirstat)
  269. kdpkg: tdebase
  270. $(call buildpkg,applications/kdpkg)
  271. keep: tdebase
  272. $(call buildpkg,applications/keep)
  273. kerberostray: tdebase
  274. $(call buildpkg,applications/kerberostray)
  275. kerry: tdebase
  276. $(call buildpkg,applications/kerry)
  277. kftpgrabber: tdebase
  278. $(call buildpkg,applications/kftpgrabber)
  279. kgtk-qt3: tdebase
  280. # Do NOT build on CentOS 5 (GTK2 is too old)
  281. # Do NOT build on Fedora >= 20 (GTK2 is too new)
  282. ifeq ($(wildcard /boot/vmlinuz*.el5* /boot/vmlinuz*.fc20*),)
  283. $(call buildpkg,applications/kgtk-qt3)
  284. endif
  285. kile: tdebase
  286. $(call buildpkg,applications/kile)
  287. kima: tdebase
  288. $(call buildpkg,applications/kima)
  289. kiosktool: tdebase
  290. $(call buildpkg,applications/kiosktool)
  291. kkbswitch: tdebase
  292. $(call buildpkg,applications/kkbswitch)
  293. klcddimmer: tdebase
  294. $(call buildpkg,applications/klcddimmer)
  295. kmplayer: tdebase
  296. $(call buildpkg,applications/kmplayer)
  297. kmyfirewall: tdebase
  298. $(call buildpkg,applications/kmyfirewall)
  299. kmymoney: tdebase
  300. $(call buildpkg,applications/kmymoney)
  301. knemo: tdebase
  302. $(call buildpkg,applications/knemo)
  303. knetload: tdebase
  304. $(call buildpkg,applications/knetload)
  305. knetstats: tdebase
  306. $(call buildpkg,applications/knetstats)
  307. knetworkmanager8: tdebase
  308. $(call buildpkg,applications/knetworkmanager8)
  309. knights: tdebase gnuchess
  310. $(call buildpkg,applications/knights)
  311. knmap: tdebase
  312. $(call buildpkg,applications/knmap)
  313. knowit: tdebase
  314. $(call buildpkg,applications/knowit)
  315. knutclient: tdebase
  316. $(call buildpkg,applications/knutclient)
  317. koffice: tdebase wv2
  318. $(call buildpkg,applications/koffice)
  319. konversation: tdebase
  320. $(call buildpkg,applications/konversation)
  321. kopete-otr: tdebase
  322. $(call buildpkg,applications/kopete-otr)
  323. kpicosim: tdebase
  324. $(call buildpkg,applications/kpicosim)
  325. kpilot: tdebase
  326. # Do NOT build on CentOS 5
  327. ifeq ($(wildcard /boot/vmlinuz*.el5*),)
  328. $(call buildpkg,applications/kpilot)
  329. endif
  330. kpowersave: tdebase
  331. $(call buildpkg,applications/kpowersave)
  332. krecipes: tdebase
  333. $(call buildpkg,applications/krecipes)
  334. krename: tdebase
  335. $(call buildpkg,applications/krename)
  336. krusader: tdebase
  337. $(call buildpkg,applications/krusader)
  338. kscope: tdebase
  339. $(call buildpkg,applications/kscope)
  340. ksensors: tdebase
  341. $(call buildpkg,applications/ksensors)
  342. kshowmail: tdebase
  343. $(call buildpkg,applications/kshowmail)
  344. kshutdown: tdebase
  345. $(call buildpkg,applications/kshutdown)
  346. ksplash-engine-moodin: tdebase
  347. $(call buildpkg,applications/ksplash-engine-moodin)
  348. ksquirrel: tdebase libksquirrel
  349. $(call buildpkg,applications/ksquirrel)
  350. kstreamripper: tdebase
  351. $(call buildpkg,applications/kstreamripper)
  352. ksystemlog: tdebase
  353. $(call buildpkg,applications/ksystemlog)
  354. ktechlab: tdebase
  355. $(call buildpkg,applications/ktechlab)
  356. ktorrent: tdebase
  357. $(call buildpkg,applications/ktorrent)
  358. kuickshow: tdebase imlib1
  359. $(call buildpkg,applications/kuickshow)
  360. kvirc: tdebase
  361. $(call buildpkg,applications/kvirc)
  362. kvkbd: tdebase
  363. $(call buildpkg,applications/kvkbd)
  364. kvpnc: tdebase
  365. $(call buildpkg,applications/kvpnc)
  366. mplayerthumbs: tdebase
  367. $(call buildpkg,applications/mplayerthumbs)
  368. piklab: tdebase
  369. $(call buildpkg,applications/piklab)
  370. potracegui: tdebase
  371. $(call buildpkg,applications/potracegui)
  372. qt4-tqt-theme-engine: tdebase
  373. # Do NOT build on CentOS
  374. ifeq ($(wildcard /etc/centos-release),)
  375. $(call buildpkg,applications/qt4-tqt-theme-engine)
  376. endif
  377. rosegarden: tdebase lilypond
  378. # Do NOT build on CentOS 5
  379. ifeq ($(wildcard /boot/vmlinuz*.el5*),)
  380. $(call buildpkg,applications/rosegarden)
  381. endif
  382. smartcardauth: tdebase pcsc-perl
  383. $(call buildpkg,applications/smartcardauth)
  384. smb4k: tdebase
  385. $(call buildpkg,applications/smb4k)
  386. soundkonverter: tdebase
  387. $(call buildpkg,applications/soundkonverter)
  388. tde-guidance: tdebase pytdeextensions
  389. $(call buildpkg,applications/tde-guidance)
  390. tdeio-apt: tdebase
  391. $(call buildpkg,applications/tdeio-apt)
  392. tdeio-ftps: tdebase
  393. $(call buildpkg,applications/tdeio-ftps)
  394. tdeio-locate: tdebase
  395. $(call buildpkg,applications/tdeio-locate)
  396. tdeio-sword: tdebase sword
  397. $(call buildpkg,applications/tdeio-sword)
  398. tdeio-umountwrapper: tdebase
  399. $(call buildpkg,applications/tdeio-umountwrapper)
  400. tdenetworkmanager: tdebase
  401. # Do NOT build on CentOS
  402. ifeq ($(wildcard /etc/centos-release),)
  403. $(call buildpkg,applications/tdenetworkmanager)
  404. endif
  405. tdepowersave: tdebase
  406. $(call buildpkg,applications/tdepowersave)
  407. tderadio: tdebase
  408. $(call buildpkg,applications/tderadio)
  409. tde-style-lipstik: tdebase
  410. $(call buildpkg,applications/tde-style-lipstik)
  411. tde-style-qtcurve: tdebase
  412. $(call buildpkg,applications/tde-style-qtcurve)
  413. tdesudo: tdebase
  414. $(call buildpkg,applications/tdesudo)
  415. tdesvn: tdebase
  416. $(call buildpkg,applications/tdesvn)
  417. tde-systemsettings: tdebase
  418. $(call buildpkg,applications/tde-systemsettings)
  419. tdmtheme: tdebase
  420. $(call buildpkg,applications/tdmtheme)
  421. tellico: tdebase
  422. $(call buildpkg,applications/tellico)
  423. tork: tdebase torsocks
  424. $(call buildpkg,applications/tork)
  425. twin-style-crystal: tdebase
  426. $(call buildpkg,applications/twin-style-crystal)
  427. wlassistant: tdebase
  428. $(call buildpkg,applications/wlassistant)
  429. yakuake: tdebase
  430. $(call buildpkg,applications/yakuake)
  431. ### Trinity Translations
  432. gwenview-i18n: tdebase
  433. $(call buildpkg,applications/gwenview-i18n)
  434. k3b-i18n: tdebase
  435. $(call buildpkg,applications/k3b-i18n)
  436. koffice-i18n: tdebase
  437. $(call buildpkg,applications/koffice-i18n)
  438. tde-i18n: tdebase
  439. $(call buildpkg,tde-i18n)
  440. ### Meta packages
  441. meta:
  442. $(call buildpkg,extras/trinity-desktop)