FreeBSD Bugzilla – Attachment 113922 Details for
Bug 155537
Update deskutils/xneur to 0.12.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch-xneur.txt
patch-xneur.txt (text/plain; charset="ISO-8859-1"), 10.19 KB, created by
Ganael LAPLANCHE
on 2011-03-17 13:09:32 UTC
(
hide
)
Description:
patch-xneur.txt
Filename:
MIME Type:
Creator:
Ganael LAPLANCHE
Created:
2011-03-17 13:09:32 UTC
Size:
10.19 KB
patch
obsolete
>Index: xneur/Makefile >=================================================================== >RCS file: /home/pcvs/ports/deskutils/xneur/Makefile,v >retrieving revision 1.16 >diff -u -r1.16 Makefile >--- xneur/Makefile 12 Oct 2010 01:36:26 -0000 1.16 >+++ xneur/Makefile 17 Mar 2011 13:04:07 -0000 >@@ -6,7 +6,7 @@ > # > > PORTNAME= xneur >-PORTVERSION= 0.10.0 >+PORTVERSION= 0.12.0 > CATEGORIES= deskutils > MASTER_SITES= http://dists.xneur.ru/release-${DISTVERSION}/tgz/ \ > http://mirror.amdmi3.ru/distfiles/ >@@ -14,15 +14,17 @@ > MAINTAINER= admin@lissyara.su > COMMENT= Auto keyboard switcher > >-LIB_DEPENDS= notify.1:${PORTSDIR}/devel/libnotify >+LIB_DEPENDS= notify.1:${PORTSDIR}/devel/libnotify \ >+ pcre.0:${PORTSDIR}/devel/pcre > > USE_BZIP2= yes > GNU_CONFIGURE= yes > USE_GNOME= pkgconfig gnomehack > USE_ICONV= yes > LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} >+CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} > CONFIGURE_ARGS= --disable-static --libdir=${PREFIX}/lib/xneur >-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ >+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \ > LDFLAGS="${LDFLAGS}" > > USE_LDCONFIG= yes >@@ -32,7 +34,6 @@ > > OPTIONS= GSTREAMER "Build with GStreamer sound support" on \ > OPENAL "Build with OpenAL sound support" off \ >- PCRE "Build with libpcre support" on \ > ASPELL "Build with aspell support" on \ > XOSD "Build with xosd support" off > >@@ -40,7 +41,7 @@ > > .if !defined(WITHOUT_NLS) > USE_GETTEXT= yes >-LDFLAGS+= -lintl >+CONFIGURE_ARGS+= --enable-nls > PLIST_SUB+= NLS="" > .else > CONFIGURE_ARGS+= --disable-nls >@@ -48,21 +49,21 @@ > .endif > > .if defined(WITHOUT_X11) >-CONFIGURE_ARGS+= --with-x=no >+CONFIGURE_ARGS+= --without-x > .else > USE_XORG+= x11 > CONFIGURE_ARGS+= --with-x > .endif > > .if !defined(WITHOUT_GSTREAMER) && defined(WITH_OPENAL) >-IGNORE= please select support one of the sound library >+IGNORE= please select only one sound library > .else > .if !defined(WITHOUT_GSTREAMER) > USE_GSTREAMER= yes > CONFIGURE_ARGS+= --with-sound=gstreamer > .endif > .if defined(WITH_OPENAL) >-USE_OPENAL= al >+USE_OPENAL= al alut > CONFIGURE_ARGS+= --with-sound=openal > .endif > .if defined(WITHOUT_GSTREAMER) && !defined(WITH_OPENAL) >@@ -70,31 +71,26 @@ > .endif > .endif > >-.if defined(WITHOUT_PCRE) >-CONFIGURE_ARGS+= --without-pcre >-.else >-LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre >-.endif >- > .if defined(WITHOUT_ASPELL) >-CONFIGURE_ARGS+= --without-aspell >+CONFIGURE_ARGS+= --with-spell=no --without-aspell > .else > LIB_DEPENDS+= aspell:${PORTSDIR}/textproc/aspell >+CONFIGURE_ARGS+= --with-spell=aspell > .endif > > .if !defined(WITH_XOSD) > CONFIGURE_ARGS+= --without-xosd > .else > LIB_DEPENDS+= xosd.4:${PORTSDIR}/misc/xosd >+CONFIGURE_ARGS+= --with-xosd > .endif > > post-patch: >- @${REINPLACE_CMD} -e '/^CFLAGS=/s|="|="$$CFLAGS |' ${WRKSRC}/configure >- @${REINPLACE_CMD} -e 's| xneurrc |xneurrc.dist|g' ${WRKSRC}/etc/Makefile.in >- ${CP} -np ${WRKSRC}/etc/xneurrc ${WRKSRC}/etc/xneurrc.dist >+ @${MV} ${WRKSRC}/etc/xneurrc ${WRKSRC}/etc/xneurrc.sample > > post-install: >- @for i in ${PREFIX}/etc/xneur/*.dist ;\ >- do ${CP} -np $$i $${i%.dist}; done >+.if !exists(${PREFIX}/etc/xneur/xneurrc) >+ ${CP} -p ${PREFIX}/etc/xneur/xneurrc.sample ${PREFIX}/etc/xneur/xneurrc >+.endif > > .include <bsd.port.post.mk> >Index: xneur/distinfo >=================================================================== >RCS file: /home/pcvs/ports/deskutils/xneur/distinfo,v >retrieving revision 1.7 >diff -u -r1.7 distinfo >--- xneur/distinfo 12 Oct 2010 01:36:26 -0000 1.7 >+++ xneur/distinfo 17 Mar 2011 13:04:07 -0000 >@@ -1,3 +1,2 @@ >-MD5 (xneur-0.10.0.tar.bz2) = 256260b8fdafcffc786d0a1ee0525506 >-SHA256 (xneur-0.10.0.tar.bz2) = 0e118ccf02a654c0c94e1faac254c9df224b63f5296d79806c7b1566b90204ca >-SIZE (xneur-0.10.0.tar.bz2) = 1120059 >+SHA256 (xneur-0.12.0.tar.bz2) = 962660306f138de44fbfcb458fffac59ce32000a49e2314e4f0460a98ac93327 >+SIZE (xneur-0.12.0.tar.bz2) = 1088554 >Index: xneur/pkg-plist >=================================================================== >RCS file: /home/pcvs/ports/deskutils/xneur/pkg-plist,v >retrieving revision 1.7 >diff -u -r1.7 pkg-plist >--- xneur/pkg-plist 12 Oct 2010 01:36:26 -0000 1.7 >+++ xneur/pkg-plist 17 Mar 2011 13:04:07 -0000 >@@ -1,11 +1,12 @@ > bin/xneur >-@unexec if cmp -s %D/etc/xneur/xneurrc %D/etc/xneur/xneurrc.dist; then rm -f %D/etc/xneur/xneurrc; fi >-etc/xneur/xneurrc.dist >+@unexec if cmp -s %D/etc/xneur/xneurrc.sample %D/etc/xneur/xneurrc; then rm -f %D/etc/xneur/xneurrc; fi >+etc/xneur/xneurrc.sample >+@exec if [ ! -f %D/etc/xneur/xneurrc ] ; then cp -p %D/%F %B/xneurrc; fi > @dirrmtry etc/xneur >-lib/xneur/libxneur.so.10 >+lib/xneur/libxneur.so.12 > lib/xneur/libxneur.so > lib/xneur/libxneur.la >-lib/xneur/libxnconfig.so.10 >+lib/xneur/libxnconfig.so.12 > lib/xneur/libxnconfig.so > lib/xneur/libxnconfig.la > lib/xneur/xneur/libxntest.so.0 >@@ -28,113 +29,93 @@ > %%DATADIR%%/sounds/switch.wav > %%DATADIR%%/sounds/itemback.wav > @dirrm %%DATADIR%%/sounds >-%%DATADIR%%/languages/am/dict > %%DATADIR%%/languages/am/proto > %%DATADIR%%/languages/am/proto3 >-%%DATADIR%%/languages/am/regexp >+%%DATADIR%%/languages/am/dictionary > @dirrm %%DATADIR%%/languages/am >-%%DATADIR%%/languages/bg/dict > %%DATADIR%%/languages/bg/proto > %%DATADIR%%/languages/bg/proto3 >-%%DATADIR%%/languages/bg/regexp >+%%DATADIR%%/languages/bg/dictionary > @dirrm %%DATADIR%%/languages/bg >-%%DATADIR%%/languages/by/dict > %%DATADIR%%/languages/by/proto > %%DATADIR%%/languages/by/proto3 >-%%DATADIR%%/languages/by/regexp >+%%DATADIR%%/languages/by/dictionary > @dirrm %%DATADIR%%/languages/by >-%%DATADIR%%/languages/cz/dict > %%DATADIR%%/languages/cz/proto > %%DATADIR%%/languages/cz/proto3 >-%%DATADIR%%/languages/cz/regexp >+%%DATADIR%%/languages/cz/dictionary > @dirrm %%DATADIR%%/languages/cz >-%%DATADIR%%/languages/de/dict > %%DATADIR%%/languages/de/proto > %%DATADIR%%/languages/de/proto3 >-%%DATADIR%%/languages/de/regexp >+%%DATADIR%%/languages/de/dictionary > @dirrm %%DATADIR%%/languages/de >-%%DATADIR%%/languages/ge/dict > %%DATADIR%%/languages/ge/proto > %%DATADIR%%/languages/ge/proto3 >-%%DATADIR%%/languages/ge/regexp >+%%DATADIR%%/languages/ge/dictionary > @dirrm %%DATADIR%%/languages/ge >-%%DATADIR%%/languages/gr/dict > %%DATADIR%%/languages/gr/proto > %%DATADIR%%/languages/gr/proto3 >-%%DATADIR%%/languages/gr/regexp >+%%DATADIR%%/languages/gr/dictionary > @dirrm %%DATADIR%%/languages/gr >-%%DATADIR%%/languages/ee/dict > %%DATADIR%%/languages/ee/proto > %%DATADIR%%/languages/ee/proto3 >-%%DATADIR%%/languages/ee/regexp >+%%DATADIR%%/languages/ee/dictionary > @dirrm %%DATADIR%%/languages/ee >-%%DATADIR%%/languages/en/dict > %%DATADIR%%/languages/en/proto > %%DATADIR%%/languages/en/proto3 >-%%DATADIR%%/languages/en/regexp >+%%DATADIR%%/languages/en/dictionary > @dirrm %%DATADIR%%/languages/en >-%%DATADIR%%/languages/es/dict > %%DATADIR%%/languages/es/proto > %%DATADIR%%/languages/es/proto3 >-%%DATADIR%%/languages/es/regexp >+%%DATADIR%%/languages/es/dictionary > @dirrm %%DATADIR%%/languages/es >-%%DATADIR%%/languages/fr/dict > %%DATADIR%%/languages/fr/proto > %%DATADIR%%/languages/fr/proto3 >-%%DATADIR%%/languages/fr/regexp >+%%DATADIR%%/languages/fr/dictionary > @dirrm %%DATADIR%%/languages/fr >-%%DATADIR%%/languages/gb/dict > %%DATADIR%%/languages/gb/proto > %%DATADIR%%/languages/gb/proto3 >-%%DATADIR%%/languages/gb/regexp >+%%DATADIR%%/languages/gb/dictionary > @dirrm %%DATADIR%%/languages/gb >-%%DATADIR%%/languages/kz/dict > %%DATADIR%%/languages/kz/proto > %%DATADIR%%/languages/kz/proto3 >-%%DATADIR%%/languages/kz/regexp >+%%DATADIR%%/languages/kz/dictionary > @dirrm %%DATADIR%%/languages/kz >-%%DATADIR%%/languages/lt/dict > %%DATADIR%%/languages/lt/proto > %%DATADIR%%/languages/lt/proto3 >-%%DATADIR%%/languages/lt/regexp >+%%DATADIR%%/languages/lt/dictionary > @dirrm %%DATADIR%%/languages/lt >-%%DATADIR%%/languages/lv/dict > %%DATADIR%%/languages/lv/proto > %%DATADIR%%/languages/lv/proto3 >-%%DATADIR%%/languages/lv/regexp >+%%DATADIR%%/languages/lv/dictionary > @dirrm %%DATADIR%%/languages/lv >-%%DATADIR%%/languages/pl/dict > %%DATADIR%%/languages/pl/proto > %%DATADIR%%/languages/pl/proto3 >-%%DATADIR%%/languages/pl/regexp >+%%DATADIR%%/languages/pl/dictionary > @dirrm %%DATADIR%%/languages/pl >-%%DATADIR%%/languages/ro/dict > %%DATADIR%%/languages/ro/proto > %%DATADIR%%/languages/ro/proto3 >-%%DATADIR%%/languages/ro/regexp >+%%DATADIR%%/languages/ro/dictionary > @dirrm %%DATADIR%%/languages/ro >-%%DATADIR%%/languages/ru/dict > %%DATADIR%%/languages/ru/proto > %%DATADIR%%/languages/ru/proto3 >-%%DATADIR%%/languages/ru/regexp >+%%DATADIR%%/languages/ru/dictionary > @dirrm %%DATADIR%%/languages/ru >-%%DATADIR%%/languages/ua/dict > %%DATADIR%%/languages/ua/proto > %%DATADIR%%/languages/ua/proto3 >-%%DATADIR%%/languages/ua/regexp >+%%DATADIR%%/languages/ua/dictionary > @dirrm %%DATADIR%%/languages/ua >-%%DATADIR%%/languages/us/dict > %%DATADIR%%/languages/us/proto > %%DATADIR%%/languages/us/proto3 >-%%DATADIR%%/languages/us/regexp >+%%DATADIR%%/languages/us/dictionary > @dirrm %%DATADIR%%/languages/us >-%%DATADIR%%/languages/uz/dict > %%DATADIR%%/languages/uz/proto > %%DATADIR%%/languages/uz/proto3 >-%%DATADIR%%/languages/uz/regexp >+%%DATADIR%%/languages/uz/dictionary > @dirrm %%DATADIR%%/languages/uz > @dirrm %%DATADIR%%/languages > @dirrm %%DATADIR%% >+%%NLS%%share/locale/be/LC_MESSAGES/xneur.mo > %%NLS%%share/locale/de/LC_MESSAGES/xneur.mo > %%NLS%%share/locale/ro/LC_MESSAGES/xneur.mo > %%NLS%%share/locale/ru/LC_MESSAGES/xneur.mo >Index: xneur/files/patch-configure >=================================================================== >RCS file: xneur/files/patch-configure >diff -N xneur/files/patch-configure >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ xneur/files/patch-configure 17 Mar 2011 13:04:07 -0000 >@@ -0,0 +1,11 @@ >+--- configure.orig 2011-03-13 20:00:53.000000000 +0300 >++++ configure 2011-03-13 20:01:47.000000000 +0300 >+@@ -13690,7 +13690,7 @@ >+ >+ fi >+ >+-ADDITIONAL_LIBS="-pthread -ldl" >++ADDITIONAL_LIBS="-pthread" >+ >+ >+ >Index: xneur/files/patch-etc-Makefile.in >=================================================================== >RCS file: xneur/files/patch-etc-Makefile.in >diff -N xneur/files/patch-etc-Makefile.in >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ xneur/files/patch-etc-Makefile.in 17 Mar 2011 13:04:07 -0000 >@@ -0,0 +1,11 @@ >+--- etc/Makefile.in.orig 2011-03-17 06:55:24.700517870 +0100 >++++ etc/Makefile.in 2011-03-17 06:57:38.716913390 +0100 >+@@ -230,7 +230,7 @@ >+ top_srcdir = @top_srcdir@ >+ xneurrcdir = $(sysconfdir)/xneur >+ xneurrc_DATA = \ >+- xneurrc >++ xneurrc.sample >+ >+ EXTRA_DIST = $(xneurrc_DATA) >+ all: all-am
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 155537
:
113921
| 113922