Allow installation in custom prefix
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
notify-osd (Ubuntu) |
Triaged
|
Low
|
Mirco Müller |
Bug Description
Currently, notify-osd is not easily installable in a prefix other than /usr:
1.)
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Werror -std=c99 -pthread -DORBIT2=1 -I/opt/
test-withlib.
cc1: warnings being treated as errors
test-withlib.c: In function ‘test_withlib_
test-withlib.c:51: error: implicit declaration of function ‘notify_init’
test-withlib.c:52: error: implicit declaration of function ‘notify_
test-withlib.c: In function ‘test_withlib_
test-withlib.c:67: error: implicit declaration of function ‘notify_
test-withlib.c:67: error: assignment makes pointer from integer without a cast
test-withlib.c: In function ‘test_withlib_
test-withlib.c:88: error: ‘NotifyNotifica
test-withlib.c:88: error: (Each undeclared identifier is reported only once
test-withlib.c:88: error: for each function it appears in.)
test-withlib.c:88: error: ‘n’ undeclared (first use in this function)
test-withlib.c:92: error: implicit declaration of function ‘notify_
test-withlib.c:95: error: implicit declaration of function ‘notify_
test-withlib.c: In function ‘test_withlib_
test-withlib.c:104: error: ‘NotifyNotifica
test-withlib.c:104: error: ‘n’ undeclared (first use in this function)
test-withlib.c:116: error: implicit declaration of function ‘notify_
test-withlib.c: In function ‘test_withlib_
test-withlib.c:131: error: ‘NotifyNotifica
test-withlib.c:131: error: ‘n’ undeclared (first use in this function)
test-withlib.c:132: error: ‘GdkPixbuf’ undeclared (first use in this function)
test-withlib.c:132: error: ‘pixbuf’ undeclared (first use in this function)
test-withlib.c:138: error: implicit declaration of function ‘gdk_pixbuf_
test-withlib.c:140: error: implicit declaration of function ‘notify_
test-withlib.c: In function ‘test_withlib_
test-withlib.c:153: error: ‘NotifyNotifica
test-withlib.c:153: error: ‘n1’ undeclared (first use in this function)
test-withlib.c:153: error: ‘n2’ undeclared (first use in this function)
test-withlib.c:153: error: left-hand operand of comma expression has no effect
test-withlib.c:153: error: ‘n3’ undeclared (first use in this function)
test-withlib.c:153: error: left-hand operand of comma expression has no effect
test-withlib.c:153: error: ‘n4’ undeclared (first use in this function)
test-withlib.c:153: error: left-hand operand of comma expression has no effect
test-withlib.c:167: error: implicit declaration of function ‘notify_
test-withlib.c:172: error: implicit declaration of function ‘notify_
test-withlib.c:172: error: ‘NOTIFY_
test-withlib.c: At top level:
test-withlib.c:188: error: expected ‘)’ before ‘*’ token
test-withlib.c: In function ‘test_withlib_
test-withlib.c:199: error: ‘NotifyNotifica
test-withlib.c:199: error: ‘n1’ undeclared (first use in this function)
test-withlib.c:204: error: implicit declaration of function ‘notify_
test-withlib.c:207: error: ‘NotifyActionCa
test-withlib.c:207: error: expected ‘)’ before ‘callback’
test-withlib.c: In function ‘test_withlib_
test-withlib.c:221: error: ‘NotifyNotifica
test-withlib.c:221: error: ‘n’ undeclared (first use in this function)
test-withlib.c:234: error: implicit declaration of function ‘notify_
test-withlib.c: In function ‘test_withlib_
test-withlib.c:246: error: ‘NotifyNotifica
test-withlib.c:246: error: ‘n’ undeclared (first use in this function)
test-withlib.c: In function ‘test_withlib_
test-withlib.c:288: error: ‘NotifyNotifica
test-withlib.c:288: error: ‘n’ undeclared (first use in this function)
test-withlib.c: In function ‘test_withlib_
test-withlib.c:309: error: ‘NotifyNotifica
test-withlib.c:309: error: ‘n’ undeclared (first use in this function)
make[2]: *** [test_modules-
make[2]: Leaving directory `/home/
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/
make: *** [all] Error 2
=> it should search $PREFIX/include for includes, not only /usr/include
2.)
test -z "/usr/share/
/usr/bin/install -c -m 644 'org.freedeskto
/usr/bin/install: cannot create regular file `/usr/share/
make[3]: *** [install-
make[3]: Leaving directory `/home/
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/
make: *** [install-recursive] Error 1
=> It should not force the DBus service directory to be /usr/share/
Changed in notify-osd: | |
assignee: | nobody → Mirco Müller (macslow) |
affects: | notify-osd → notify-osd (Ubuntu) |
That's mostly an issue due to the test suite.