added network-protocol-xmpp and -DWITH_XMPP
This commit is contained in:
		
					parent
					
						
							
								269344ae71
							
						
					
				
			
			
				commit
				
					
						2c788a28a1
					
				
			
		
					 5 changed files with 12 additions and 3 deletions
				
			
		
							
								
								
									
										2
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
										
									
									
									
								
							| 
						 | 
					@ -7,7 +7,7 @@ BASEFLAGS=-Wall $(IGNORE) -outputdir $(GIT_ANNEX_TMP_BUILD_DIR) -IUtility
 | 
				
			||||||
# you can turn off some of these features.
 | 
					# you can turn off some of these features.
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# If you're using an old version of yesod, enable -DWITH_OLD_YESOD
 | 
					# If you're using an old version of yesod, enable -DWITH_OLD_YESOD
 | 
				
			||||||
FEATURES?=$(GIT_ANNEX_LOCAL_FEATURES) -DWITH_ASSISTANT -DWITH_S3 -DWITH_WEBAPP -DWITH_PAIRING
 | 
					FEATURES?=$(GIT_ANNEX_LOCAL_FEATURES) -DWITH_ASSISTANT -DWITH_S3 -DWITH_WEBAPP -DWITH_PAIRING -DWITH_XMPP
 | 
				
			||||||
 | 
					
 | 
				
			||||||
bins=git-annex
 | 
					bins=git-annex
 | 
				
			||||||
mans=git-annex.1 git-annex-shell.1
 | 
					mans=git-annex.1 git-annex-shell.1
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										1
									
								
								debian/control
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								debian/control
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -40,6 +40,7 @@ Build-Depends:
 | 
				
			||||||
	libghc-network-multicast-dev,
 | 
						libghc-network-multicast-dev,
 | 
				
			||||||
	libghc-network-info-dev,
 | 
						libghc-network-info-dev,
 | 
				
			||||||
	libghc-safesemaphore-dev,
 | 
						libghc-safesemaphore-dev,
 | 
				
			||||||
 | 
						libghc-network-protocol-xmpp-dev,
 | 
				
			||||||
	ikiwiki,
 | 
						ikiwiki,
 | 
				
			||||||
	perlmagick,
 | 
						perlmagick,
 | 
				
			||||||
	git,
 | 
						git,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										4
									
								
								debian/rules
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								debian/rules
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -2,9 +2,9 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ARCH = $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 | 
					ARCH = $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 | 
				
			||||||
ifeq (install ok installed,$(shell dpkg-query -W -f '$${Status}' libghc-yesod-dev 2>/dev/null))
 | 
					ifeq (install ok installed,$(shell dpkg-query -W -f '$${Status}' libghc-yesod-dev 2>/dev/null))
 | 
				
			||||||
export FEATURES=-DWITH_ASSISTANT -DWITH_S3 -DWITH_OLD_YESOD -DWITH_WEBAPP -DWITH_PAIRING
 | 
					export FEATURES=-DWITH_ASSISTANT -DWITH_S3 -DWITH_OLD_YESOD -DWITH_WEBAPP -DWITH_PAIRING -DWITH_XMPP
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
export FEATURES=-DWITH_ASSISTANT -DWITH_S3 -DWITH_PAIRING
 | 
					export FEATURES=-DWITH_ASSISTANT -DWITH_S3 -DWITH_PAIRING -DWITH_XMPP
 | 
				
			||||||
endif
 | 
					endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%:
 | 
					%:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -42,6 +42,7 @@ quite a lot.
 | 
				
			||||||
  * [clientsession](http://hackage.haskell.org/package/clientsession)
 | 
					  * [clientsession](http://hackage.haskell.org/package/clientsession)
 | 
				
			||||||
  * [network-multicast](http://hackage.haskell.org/package/network-multicast)
 | 
					  * [network-multicast](http://hackage.haskell.org/package/network-multicast)
 | 
				
			||||||
  * [network-info](http://hackage.haskell.org/package/network-info)
 | 
					  * [network-info](http://hackage.haskell.org/package/network-info)
 | 
				
			||||||
 | 
					  * [network-protocol-xmpp](http://hackage.haskell.org/package/network-protocol-xmpp)
 | 
				
			||||||
* Shell commands
 | 
					* Shell commands
 | 
				
			||||||
  * [git](http://git-scm.com/)
 | 
					  * [git](http://git-scm.com/)
 | 
				
			||||||
  * [uuid](http://www.ossp.org/pkg/lib/uuid/)
 | 
					  * [uuid](http://www.ossp.org/pkg/lib/uuid/)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -43,6 +43,9 @@ Flag Webapp
 | 
				
			||||||
Flag Pairing
 | 
					Flag Pairing
 | 
				
			||||||
  Description: Enable pairing
 | 
					  Description: Enable pairing
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Flag XMPP
 | 
				
			||||||
 | 
					  Description: Enable notifications using XMPP
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Executable git-annex
 | 
					Executable git-annex
 | 
				
			||||||
  Main-Is: git-annex.hs
 | 
					  Main-Is: git-annex.hs
 | 
				
			||||||
  Build-Depends: MissingH, hslogger, directory, filepath,
 | 
					  Build-Depends: MissingH, hslogger, directory, filepath,
 | 
				
			||||||
| 
						 | 
					@ -91,6 +94,10 @@ Executable git-annex
 | 
				
			||||||
    Build-Depends: network-multicast, network-info
 | 
					    Build-Depends: network-multicast, network-info
 | 
				
			||||||
    CPP-Options: -DWITH_PAIRING
 | 
					    CPP-Options: -DWITH_PAIRING
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if flag(XMPP) && flag(Assistant)
 | 
				
			||||||
 | 
					    Build-Depends: network-protocol-xmpp
 | 
				
			||||||
 | 
					    CPP-Options: -DWITH_XMPP
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Test-Suite test
 | 
					Test-Suite test
 | 
				
			||||||
  Type: exitcode-stdio-1.0
 | 
					  Type: exitcode-stdio-1.0
 | 
				
			||||||
  Main-Is: test.hs
 | 
					  Main-Is: test.hs
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue