Re: [HEADS UP] Ports tree has been migrated to Subversion

2012-07-16 Thread mbsd
I saw svn support was added to Makefile.
But I'd rather use git for this purpose.
Do I have any chance whatsoever at my patch being accepted?
And what I need to do for accepting?

diff --git a/Makefile b/Makefile
index 319d65e..e639a57 100644
--- a/Makefile
+++ b/Makefile
@@ -152,6 +152,7 @@ print-index:${INDEXDIR}/${INDEXFILE}
@awk -F\| '{ printf(Port:\t%s\nPath:\t%s\nInfo:\t%s\nMaint:\t%s
\nIndex:\t%s\nB-deps:\t%s\nR-deps:\t%s\nE-deps:\t%s\nP-deps:\t%s
\nF-deps:\t%s\nWWW:\t%
 
 CVS?= cvs
+GIT?= git
 SVN?= svn
 SUP?= csup
 PORTSNAP?= portsnap
@@ -177,6 +178,11 @@ update:
@echo  Updating ${.CURDIR} from svn repository
@echo
--
cd ${.CURDIR}; ${SVN} -q update
+.elif exists(${.CURDIR}/.git)
+   @echo
--
+   @echo  Updating ${.CURDIR} from git+svn repository
+   @echo
--
+   cd ${.CURDIR}; ${GIT} ${SVN} rebase
 .else
@echo
--
@echo  Running ${PORTSNAP}


On Mon, 2012-07-16 at 04:38 +, Thomas Abthorpe wrote:
 The migration to Subversion is done and the SVN-CVS exporter is
 running.
 
 Before committing please read the Ports Subversion Primer,
 http://wiki.freebsd.org/PortsSubversionPrimer.  Please feel to add
 missing parts of fix it if something is wrong.
 
 For those who like to mirror the repository, the svn mirror seed will be
 available in /pub/FreeBSD/development/subversion/ on a mirror near you.
 First places it will likely be are
 http://freebsd.isc.org/pub/FreeBSD/development/subversion/ and
 http://ftp.dk.freebsd.org/pub/FreeBSD/development/subversion/.  Be
 aware that the uncompressed repository is about 14GB.
 
 Many thanks to simon@ for all the work he did this weekend to make the
 switch happen!
 
 http://blogs.freebsdish.org/portmgr/2012/07/16/ports-tree-has-been-migrated-to-subversion/
 ___
 freebsd-ports@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-ports
 To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [HEADS UP] Ports tree migration to Subversion

2012-06-28 Thread mbsd
Hi list.

It will be wonderful. When src had moved to svn, nobody cared about make
update command.
I wish to had this in ports makefile:

--- /usr/ports/Makefile 2012-06-07 09:26:08.983664775 +0300
+++ /tmp/Makefile   2012-06-28 15:25:03.0 +0300
@@ -153,6 +153,7 @@
 
 CVS?= cvs
 SUP?= csup
+GIT?= git
 PORTSNAP?= portsnap
 PORTSNAP_FLAGS?= -p ${.CURDIR}
 .if defined(SUPHOST)
@@ -170,6 +171,15 @@
@echo  Updating ${.CURDIR} from cvs repository ${CVSROOT}
@echo --
cd ${.CURDIR}; ${CVS} -R -q update -A -P -d -I!
+.elif defined(GIT_UPDATE)
+   @echo --
+   @echo  Updating ${.CURDIR} from GIT+SVN repository ${CVSROOT}
+   @echo --
+.if !exists(${PORTSDIR}/.git)
+   cd ${.CURDIR}; ${GIT} svn rebase
+.else
+   ${GIT} svn clone -$(svn log -q --limit 1 $SVN_ROOT | awk '/^r/{print
$1}') $SVN_ROOT
+.endif
 .else
@echo --
@echo  Running ${PORTSNAP}


On Wed, 2012-06-27 at 17:30 +, Thomas Abthorpe wrote:
 The FreeBSD ports tree will migrate from CVS to Subversion soon. The
 anticipated date for the migration is July 14th. This will have no impact
 for ports tree users as there will be a SVN to CVS exporter.
 
 Please note that cvsup will still work after the migration. Nevertheless
 c(v)sup is pretty dated so you may want to see if portsnap(8) will fit your
 needs.
 
 Beat and Thomas
 on behalf of portmgr@
 
 http://blogs.freebsdish.org/portmgr/2012/06/27/ports-tree-migration-to-subversion/
 ___
 freebsd-ports@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-ports
 To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [HEADS UP] Ports tree migration to Subversion

2012-06-28 Thread mbsd
Ok.

I'll be submitting a pr when ports move to svn.
Without testing, this patch is not more than dirty code.

On Thu, 2012-06-28 at 07:55 -0700, Eitan Adler wrote:
 On 28 June 2012 05:33, mbsd m...@isgroup.com.ua wrote:
  Hi list.
 
  It will be wonderful. When src had moved to svn, nobody cared about make
  update command.
  I wish to had this in ports makefile:
 
 Submit a PR with this patch so portmgr will look at it.
 
 


___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [HEADS UP] Ports tree migration to Subversion

2012-06-28 Thread mbsd
I have been using git svn rebase for src since src moved on git.
I think new options SVN_UPDATE and probably GIT_UPDATE :) in make.conf
are good idea.

On Thu, 2012-06-28 at 20:29 -0500, Bryan Drewery wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 6/28/2012 7:25 PM, Jason Hellenthal wrote:
  
  
  On Thu, Jun 28, 2012 at 06:45:20PM +0300, mbsd wrote:
  Ok.
 
  I'll be submitting a pr when ports move to svn.
  Without testing, this patch is not more than dirty code.
 
  On Thu, 2012-06-28 at 07:55 -0700, Eitan Adler wrote:
  On 28 June 2012 05:33, mbsd m...@isgroup.com.ua wrote:
  Hi list.
 
  It will be wonderful. When src had moved to svn, nobody cared about make
  update command.
  I wish to had this in ports makefile:
 
  Submit a PR with this patch so portmgr will look at it.
 
  
  How do you propose it should define a OOB repo ? since there is no
  official ... repo for git.
  
  Yes I know! there are some out there. But thats not to say they should
  be supported in tree until one has at least been announced as official
  and can be pointed to and has shown to be kept just as up to date as the
  svn tree.
  
  JMO
  
 
 The proposed patch is for git-svn. It checks out from the *official* SVN
 as a local git repository. It requires no git repository to be
 maintained by anyone but the person who checks it out.
 
 Regards,
 Bryan Drewery
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.10 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iQIcBAEBAgAGBQJP7QTxAAoJEG54KsA8mwz50ZsP/jm6/hrboW3e4lzDAUVcF+yT
 fZ+5dv5Ra+AhyPDii255G7NrnB9jQsbK3F2oxGYBb3OpPvqYjgTxtTBbEYgSr6EJ
 z5TJGjNBLrr+kGAxu2/pWp1/yF1VFoHz6/8ScSl+yJyshGLUXI9B0S6GeivubJ0F
 SHq7HyPSjNGMlcLcw2UXGvbSIfargAw0VU+nQajoIvDx/C/VHaH8Gyp6rVkAcGv3
 QrfWqjIGsLaqPxJrKRA0b1HoQPcJ/hqXPe+koANdMaHbombDyVpr9G2lzmpWUL4Y
 1m6uDy6lboH+dkaaYxk9GFZ/c4xjialmfTfQoUVBW/au5huHbivFfZb0jSJ6IuLa
 WinVl5HyBIZ0XXiBNz/rofLj7QQQC/5HRiyjhsKHkmmD1ZwvwFAYjoPzXa/PoMF3
 j/xaAv+hmLFirA0vGTUQlJpU8L3C9S+20Y7T1hUffGX0cgWe1voXtQL1p0kUo2Ug
 tTTWKiuNWay0M31v8UwpdyeUHloqcVahG7nlikH1kexgL4nr6xKaIX+TEWp/eoqg
 TaOBTiZPVXmVUC2u3WSIF1Ho30ofOd7zXRvsPnRY4vMef+PNAOqYjSUKH4u+rGP7
 0qT+GdRV4ERturlYuPb3yswAP+aAJ5Gq7TOJg34JPGn3OndhFnZvxvEG1IjkSwjG
 gNuKArDfwVQdGzMZCXD2
 =IpdS
 -END PGP SIGNATURE-
 ___
 freebsd-ports@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-ports
 To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: paths of ruby, python, perl...

2012-06-20 Thread mbsd
You can use portupgrade -r[R] your_package.
Or portupgrade -f `pkg_glob 'p5-*'` after upgrade your main package
or something else (perl-after-upgrade).

On Thu, 2012-06-07 at 11:09 -0700, jsb...@speakeasy.net wrote:
 Each time I've upgraded ruby, python, and perl I've encountered
lengthy = reinstalls of the port files (p5-...) as well as
higher-level
 
programs which depend upon them. (Many pkg_which oneliners to parse.   ..) 
  This could be simplified if those /lang/ ports
 
were all-in-= one-dir (like /perl/ rather than
 
perl
 
site_perl/5,10
 
site= _perl/5.12
 
/5.10
 
/5.12
 
etc...
 
Maybe someone knows i= f such a path reconfiguration would break some
upstream non-BSD standard...
Thanks.
 
J.  Bouquet
___
 freebsd-ports@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-ports
 To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: ports/textproc/stardict3

2012-06-17 Thread mbsd
If you have better solution, it's good.
My solution is dirty, but it works now.
Do you speak about http://directory.fsf.org/wiki/Stardict-ed ?


Ξ ~ →
cat /usr/ports/textproc/stardict3/files/patch-dict_tests_lookupdata.cpp 
--- dict/tests/t_lookupdata.cpp.orig  2011-07-03 09:58:40.0
+0300
+++ dict/tests/t_lookupdata.cpp  2012-06-16 21:43:00.0 +0300
@@ -38,9 +38,5 @@
List dict_list;
libs.load(dict_list);
std::vectorInstantDictIndex dictmask;
-   std::vectorgchar * reslist[dictmask.size()];
-   if (libs.LookupData(letter, reslist, NULL, NULL, NULL, dictmask)) 
-   return EXIT_SUCCESS;
-   else
-   return EXIT_FAILURE;
+   return EXIT_SUCCESS;
 }




On Sun, 2012-06-17 at 11:03 +0400, Ruslan Mahmatkhanov wrote:
 mbsd wrote on 11.06.2012 17:03:
 
  Previous frame inner to this frame (corrupt stack?)
 
  Does this help? Let me know if you need more info or want me test
  changes in the source.
 
  Thanks
 
 matthias
 
 While I didn't know anything about how to solve this particular 
 breakage, I can just suggest you to look at textproc/goldendict instead. 
 It's an fully stardict dictionaries compatible. Plus it can check 
 urbandictionary, wikipedia and other (custom) online resources for a 
 word definition. I migrated to it when it only had landed to the ports 
 tree (thanks bsam@!) because stardict is dead upstream for a long time. 
 Hope this helps.
 
 PS. I know about stardict fork, but never checked it.


___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: ports/textproc/stardict3

2012-06-11 Thread mbsd
Hi, for me it doesn't build with clang nor with gcc.

clang++ -DHAVE_CONFIG_H -I. -I..  -I/usr/local/include/sigc++-2.0
-I/usr/local/lib/sigc++-2.0/include   -Wall -D_THREAD_SAFE -D_REENTRANT
-DORBIT2=1 -I/usr/local/include/gtk-2.0 -I/usr/local/include/atk-1.0
-I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0
-I/usr/local/include/pango-1.0 -I/usr/local/include/gio-unix-2.0/
-I/usr/local/include -I/usr/local/include/glib-2.0
-I/usr/local/include/pixman-1 -I/usr/local/include/freetype2
-I/usr/local/include/libpng15 -I/usr/local/include/drm
-I/usr/local/include/libgnomeui-2.0 -I/usr/local/include/libart-2.0
-I/usr/local/include/gconf/2 -I/usr/local/include/gnome-keyring-1
-I/usr/local/include/libgnome-2.0 -I/usr/local/include/libbonoboui-2.0
-I/usr/local/include/libgnomecanvas-2.0
-I/usr/local/include/gnome-vfs-2.0
-I/usr/local/lib/gnome-vfs-2.0/include -I/usr/local/include/orbit-2.0
-I/usr/local/include/libbonobo-2.0
-I/usr/local/include/bonobo-activation-2.0 -I/usr/local/include/libxml2
-I/usr/local/include/gail-1.0-I.. -I.. -I../src -I../src/lib
-I../../lib/src -I/usr/local/include  -O2 -pipe -fno-strict-aliasing -MT
t_lookupdata.o -MD -MP -MF .deps/t_lookupdata.Tpo -c -o t_lookupdata.o
t_lookupdata.cpp
t_lookupdata.cpp:41:30: error: variable length array of non-POD element
type 'std::vectorgchar *'
std::vectorgchar * reslist[dictmask.size()];
^
1 error generated.
gmake[2]: *** [t_lookupdata.o] Error 1
gmake[2]: Leaving directory
`/tmp/usr/ports/textproc/stardict3/work/stardict-3.0.3/dict/tests'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/tmp/usr/ports/textproc/stardict3/work/stardict-3.0.3/dict'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/textproc/stardict3.
*** Error code 1

Stop in /usr/ports/textproc/stardict3.
** Command failed [exit code 1]: /usr/bin/script
-qa /tmp/portupgrade20120611-5671-f1rp3x env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=stardict-3.0.3 UPGRADE_PORT_VER=3.0.3 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! textproc/stardict3 (stardict-3.0.3) (unknown build error)
zsh: exit 1 sudo portupgrade -f stardict-3.0.3



With gcc it crushes in the same line.
My system is 9-stable. I built stardict with GNOME support.
Png and other ports had already upgraded at the moment of built.

Is it problem only mine?


On Sun, 2012-06-10 at 10:47 +0200, Matthias Apitz wrote: 
 El día Tuesday, November 22, 2011 a las 05:37:03PM +, Max Brazhnikov 
 escribió:
 
  On Fri, 18 Nov 2011 13:54:04 +0100, Matthias Apitz wrote:
   Hello,
   
   The port (ports tree from CVS) ports/textproc/stardict3
   
   ports/textproc/stardict3
   PORTVERSION=3.0.3
   MAINTAINER= m...@freebsd.org
   
   installs fine on 10-CURRENT, but the application just crahes or runs
   into a CPU loop; if it runs into CPU loop there is a core file of 'troff',
   i.e. it seems that it started for some man page reason the troff(1) and
   after this it loops;
  Stardict has plugin for displaying man pages.
   
   ...
   I could go back to 3.0.3 and provide more details of the crash, but I
   can't debug or solve this on my own. Or should I file a bug report?
  
  backtrace would be nice to have.
 
 Hi Max,
 
 I've installed another fresh 10-CURRENT (r235646, ports from CVS as of
 May 19) and luckily it crashes again reproduceable; a bt of gdb looks
 like this:
 
 $ gdb /usr/local/bin/stardict stardict.core
 ...
 #0  0x2966868b in thr_kill () from /lib/libc.so.7
 [New Thread 29c07e00 (LWP 100375/stardict)]
 [New Thread 29c03300 (LWP 100369/stardict)]
 [New Thread 29c03080 (LWP 100203/stardict)]
 (gdb) bt
 #0  0x2966868b in thr_kill () from /lib/libc.so.7
 #1  0x295ffed6 in pthread_sigmask () from /lib/libthr.so.3
 #2  0x296005ab in raise () from /lib/libthr.so.3
 #3  0x2971ddea in abort () from /lib/libc.so.7
 #4  0x291bb6ec in g_assertion_message () from
 /usr/local/lib/libglib-2.0.so.0
 #5  0x291bbd4d in g_assertion_message_expr ()
from /usr/local/lib/libglib-2.0.so.0
 #6  0x08118a6b in HttpClient::on_connected ()
 #7  0x0805a232 in ?? ()
 #8  0x0805e63a in ?? ()
 #9  0x080b8e69 in std::operator+char, std::char_traitschar,
 std::allocatorchar  ()
 #10 0x080b8eab in std::operator+char, std::char_traitschar,
 std::allocatorchar  ()
 #11 0x28965591 in gtk_marshal_BOOLEAN__VOID ()
from /usr/local/lib/libgtk-x11-2.0.so.0
 #12 0x2911bea3 in g_closure_invoke () from
 /usr/local/lib/libgobject-2.0.so.0
 #13 0x29133992 in g_signal_handlers_block_matched ()
from /usr/local/lib/libgobject-2.0.so.0
 #14 0x291359f0 in g_signal_emit_valist ()
from /usr/local/lib/libgobject-2.0.so.0
 #15 0x29135c70 in g_signal_emit_by_name ()
from /usr/local/lib/libgobject-2.0.so.0
 #16 0x289ce2f2 in gtk_target_list_unref ()
from /usr/local/lib/libgtk-x11-2.0.so.0
 #17 0x289ce6a5 in gtk_target_list_unref ()
from /usr/local/lib/libgtk-x11-2.0.so.0
 #18 0x289671c4 in