Re: Is latest portsnap snapshot corrupted?

2013-05-27 Thread HU Dong
I met with the same problem, too.


On Mon, May 27, 2013 at 10:30 PM, Jakub Lach jakub_l...@mailplus.pl wrote:

 Looks so:

 Fetching public key from portsnap1.FreeBSD.org... done.
 Fetching snapshot tag from portsnap1.FreeBSD.org... done.
 Fetching snapshot metadata... done.
 Fetching snapshot generated at Mon May 27 02:02:39 CEST 2013:
 ecc705a413e04a7c6eafdc110161ed9e1d6efd52224e7a100% of 8007 kB  702 kBps
 00m00s
 Extracting snapshot...
 snap/8afe7697a48de0f3f78e4ca10ea11f519a2d215f22d0e9f294de70abcaeb42f7.gz:
 (Empty error message)
 tar: Error exit delayed from previous errors.

 Fetching public key from portsnap3.FreeBSD.org... done.
 Fetching snapshot tag from portsnap3.FreeBSD.org... done.
 Fetching snapshot metadata... done.
 Fetching snapshot generated at Mon May 27 02:02:39 CEST 2013:
 ecc705a413e04a7c6eafdc110161ed9e1d6efd52224e7a100% of 8007 kB  703 kBps
 00m00s
 Extracting snapshot...
 snap/8afe7697a48de0f3f78e4ca10ea11f519a2d215f22d0e9f294de70abcaeb42f7.gz:
 (Empty error message)
 tar: Error exit delayed from previous errors.




 --
 View this message in context:
 http://freebsd.1045724.n5.nabble.com/Is-latest-portsnap-snapshot-corrupted-tp5815448.html
 Sent from the freebsd-ports mailing list archive at Nabble.com.
 ___
 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




-- 
B.R.
HU Dong
___
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 Port: eclipse-3.7.1_3

2013-03-23 Thread HU Dong
Hi, there!
the port java/eclipse fails to build due to a recent glib update. the
error messages are as following:

In file included from ../gnomeproxy.c:16
/usr/local/include/glib-2.0/glib/glslist.h:28:2 error: #error Only
glib.h can be included directly.

hope this problem could be fixed soon. thank you!

-- 
B.R.
HU Dong
___
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: [HEADSUP] New make config UI

2013-03-19 Thread HU Dong

于 2013/3/19 18:31, Baptiste Daroussin 写道:

On Tue, Mar 19, 2013 at 11:20:43AM +0100, David Demelier wrote:

2013/3/19 Baptiste Daroussin b...@freebsd.org


Hi all,

Since the work on the new options framework has been started more than 2
years
ago, we faced a problem with the make config interface.

dialog(1) is too limited to be able to represent in a simple UI all the
features
proposed by the new framework.

The idea of writing a new UI was born at that time, eadler step in and
wrote a
first attempt called dialog4ports using ncurses, but never get into
completion.

A few month ago Ilya A. Arkhipov decided to jump in that problem and
restart
from scratch a new version of dialog4ports, with the help of danfe, eadler
and
I.

The new version is based on dialog(3), adding to it a new widget (which is
planned to be contributed upstream) and a new UI using that widget.

After months of thinking/coding/testing we have been able to switch to
this new
UI and get rid of the old dialog(1) for make config.

dialog4ports will live forever within the ports tree allowing to fastly
improve/fix it if needed and getting the exact same version on all the
plateforms.

What it currently does:
- represtend all kind of options in a clean way including
   RADIO/GROUP/MULTI/SINGLE
- provide a beta quality help dialog (via F1/^E) if a ports provide a
pkg-help
   file
- Able to represent description instead of the KNOBS name in section
titles for
   RADIO/GROUP/SINGLE/MULTI name

Huge thanks to Ilya A. Arkhipov (M1cRO on irc :))

regards,
Bapt


Thanks a lot for that work to all contributors. I will try this evening and
see how awesome it is :-).

One questions I have:

- Does the dialog4ports installation will be triggered in the pkg
autoremove command since it's a leaf.

Regards

--
Demelier David
___
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

No because it is an explicit installation that is done.

regards,
Bapt

How to use it?

I just updated my ports tree and installed it. But it seemed that the 
make config command didn't change.

___
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: [HEADSUP] New make config UI

2013-03-19 Thread HU Dong

于 2013/3/19 18:41, Baptiste Daroussin 写道:

On Tue, Mar 19, 2013 at 06:37:13PM +0800, HU Dong wrote:

于 2013/3/19 18:31, Baptiste Daroussin 写道:

On Tue, Mar 19, 2013 at 11:20:43AM +0100, David Demelier wrote:

2013/3/19 Baptiste Daroussin b...@freebsd.org


Hi all,

Since the work on the new options framework has been started more than 2
years
ago, we faced a problem with the make config interface.

dialog(1) is too limited to be able to represent in a simple UI all the
features
proposed by the new framework.

The idea of writing a new UI was born at that time, eadler step in and
wrote a
first attempt called dialog4ports using ncurses, but never get into
completion.

A few month ago Ilya A. Arkhipov decided to jump in that problem and
restart
from scratch a new version of dialog4ports, with the help of danfe, eadler
and
I.

The new version is based on dialog(3), adding to it a new widget (which is
planned to be contributed upstream) and a new UI using that widget.

After months of thinking/coding/testing we have been able to switch to
this new
UI and get rid of the old dialog(1) for make config.

dialog4ports will live forever within the ports tree allowing to fastly
improve/fix it if needed and getting the exact same version on all the
plateforms.

What it currently does:
- represtend all kind of options in a clean way including
RADIO/GROUP/MULTI/SINGLE
- provide a beta quality help dialog (via F1/^E) if a ports provide a
pkg-help
file
- Able to represent description instead of the KNOBS name in section
titles for
RADIO/GROUP/SINGLE/MULTI name

Huge thanks to Ilya A. Arkhipov (M1cRO on irc :))

regards,
Bapt


Thanks a lot for that work to all contributors. I will try this evening and
see how awesome it is :-).

One questions I have:

- Does the dialog4ports installation will be triggered in the pkg
autoremove command since it's a leaf.

Regards

--
Demelier David
___
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

No because it is an explicit installation that is done.

regards,
Bapt

How to use it?

I just updated my ports tree and installed it. But it seemed that the
make config command didn't change.

No need to install it manually it will be automatically pulled in and the switch
is automated.

to make sure it works go to the mail/postfix* and try make config if the output
is ugly then you are not using d4p (ports tree not uptodate enough :)) if it is
pretty then you are using it.

both uses dialog(3) so the UI is pretty close, just better :)

regards,
Bapt

Thank you! It looks really nice.

I accidently got a core dump file named dialog4ports.core when I tried 
make config and was pressing some keys for testing purpose in 
mail/postfix-current, but I don't know how to reproduce it. How should I 
deal with the core file?


B.R.
HU Dong
___
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: [HEADSUP] New make config UI

2013-03-19 Thread HU Dong

于 2013/3/19 18:54, Baptiste Daroussin 写道:

On Tue, Mar 19, 2013 at 06:49:51PM +0800, HU Dong wrote:

于 2013/3/19 18:41, Baptiste Daroussin 写道:

On Tue, Mar 19, 2013 at 06:37:13PM +0800, HU Dong wrote:

于 2013/3/19 18:31, Baptiste Daroussin 写道:

On Tue, Mar 19, 2013 at 11:20:43AM +0100, David Demelier wrote:

2013/3/19 Baptiste Daroussin b...@freebsd.org


Hi all,

Since the work on the new options framework has been started more than 2
years
ago, we faced a problem with the make config interface.

dialog(1) is too limited to be able to represent in a simple UI all the
features
proposed by the new framework.

The idea of writing a new UI was born at that time, eadler step in and
wrote a
first attempt called dialog4ports using ncurses, but never get into
completion.

A few month ago Ilya A. Arkhipov decided to jump in that problem and
restart
from scratch a new version of dialog4ports, with the help of danfe, eadler
and
I.

The new version is based on dialog(3), adding to it a new widget (which is
planned to be contributed upstream) and a new UI using that widget.

After months of thinking/coding/testing we have been able to switch to
this new
UI and get rid of the old dialog(1) for make config.

dialog4ports will live forever within the ports tree allowing to fastly
improve/fix it if needed and getting the exact same version on all the
plateforms.

What it currently does:
- represtend all kind of options in a clean way including
 RADIO/GROUP/MULTI/SINGLE
- provide a beta quality help dialog (via F1/^E) if a ports provide a
pkg-help
 file
- Able to represent description instead of the KNOBS name in section
titles for
 RADIO/GROUP/SINGLE/MULTI name

Huge thanks to Ilya A. Arkhipov (M1cRO on irc :))

regards,
Bapt


Thanks a lot for that work to all contributors. I will try this evening and
see how awesome it is :-).

One questions I have:

- Does the dialog4ports installation will be triggered in the pkg
autoremove command since it's a leaf.

Regards

--
Demelier David
___
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

No because it is an explicit installation that is done.

regards,
Bapt

How to use it?

I just updated my ports tree and installed it. But it seemed that the
make config command didn't change.

No need to install it manually it will be automatically pulled in and the switch
is automated.

to make sure it works go to the mail/postfix* and try make config if the output
is ugly then you are not using d4p (ports tree not uptodate enough :)) if it is
pretty then you are using it.

both uses dialog(3) so the UI is pretty close, just better :)

regards,
Bapt

Thank you! It looks really nice.

I accidently got a core dump file named dialog4ports.core when I tried
make config and was pressing some keys for testing purpose in
mail/postfix-current, but I don't know how to reproduce it. How should I
deal with the core file?

B.R.
HU Dong

If it is not big, send it to me, if it is a large one host it somewhere so that
I can fetch.

regards,
Bapt
It's about 10.4MB. I've uploaded it to skydrive. Here's the download 
link: 
https://skydrive.live.com/?cid=08e99d95c50a27faid=8E99D95C50A27FA%214023authkey=!ACg43TTIeHWwoew


--
B.R.
HU Dong

___
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

Should I submit a PR?

2013-02-17 Thread HU Dong
hi, everyone!
I have been using
*deskutils/cairo-dock-2.3.0.3_2http://svnweb.freebsd.org/ports/head/deskutils/cairo-dock
* for several months and I'm happy with it. However, the newest official
version is 3.1.2.1, while the port is based on 2.3.0.3. I made a new port
with the latest version and tested it on redports.org and my machine. It
worked without any problem. But there's a problem that
*deskutils/http://svnweb.freebsd.org/ports/head/deskutils/cairo-dock
c**airo-dock-plugins-2.3.0.3_4http://svnweb.freebsd.org/ports/head/deskutils/cairo-dock-plugins
* depends on 
*deskutils/http://svnweb.freebsd.org/ports/head/deskutils/cairo-dock
c**airo-dock-2.3.0.3_2http://svnweb.freebsd.org/ports/head/deskutils/cairo-dock
* and I didn't manage to make a new port for it. So here's the question:
since the port system has
*deskutils/http://svnweb.freebsd.org/ports/head/deskutils/cairo-dock
c**airo-dock-2.3.0.3_2http://svnweb.freebsd.org/ports/head/deskutils/cairo-dock
 *and *deskutils/http://svnweb.freebsd.org/ports/head/deskutils/cairo-dock
c*airo-dock-plugins-2.3.0.3_4http://svnweb.freebsd.org/ports/head/deskutils/cairo-dock-plugins,
should I submit a PR that upgrades
*deskutils/http://svnweb.freebsd.org/ports/head/deskutils/cairo-dock
c**airo-dock-2.3.0.3_2http://svnweb.freebsd.org/ports/head/deskutils/cairo-dock
 *alone?

PS. I tried to contact the maintainer reminding him to upgrade both
ports, but I didn't get any response.

F.Y.I. This page contains changelog for cairo-dock: Cairo-Dock -
ChangeLog http://glx-dock.org/tt_changelog.php?p=1

-- 
B.R.
HU Dong
___
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 Port: deskutils/cairo-dock-2.3.0.3_2

2013-01-21 Thread HU Dong
hi, fidaj!
Could you please upgrade cairo-dock to 3.1.2.1 ? I tried myself and
found it didn't take much time. Thank you!

-- 
B.R.
HU Dong
___
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 Port:lang/v8

2012-10-30 Thread HU Dong
Vanilla:
Hello, again! :-)

It seems that the port lang/v8 still has a little problem. The d8
binary doesn't work properly. At first, I thought it was a bug of v8 and
reported it to the v8 developers team. They denied it. See
https://code.google.com/p/v8/issues/detail?id=2385

I downloaded v8 3.14.5 source tarball and compiled manually. I compiled
the source code with strictaliasing off, but d8 binary still didn't work
properly. Then I turned on strictaliasing and uncommented Makefile:98
#werror=no. This time d8 worked. Since the --js_arguments feature is very
important, could you please trouble a little updating the port? Thank you!

-- 
B.R.
HU Dong
___
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 Port: lang/v8-3.13.7

2012-10-23 Thread HU Dong
Hi, vanilla!
   I installed the port lang/v8 but found the d8 binary was not installed.
Is there any reason for that? Would you please make d8 binary as an option?

-- 
B.R.
HU Dong
___
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


firefox built with qt doesn't work on 9.0 i386 release

2012-09-15 Thread HU Dong
Hi!
I have problem running firefox which was built with qt toolkit.
When I started firefox, a blank window showed up, without menubar,
content area, status bar, etc. Here's some information that maybe
useful.

1. [user@~]uname -a
FreeBSD hostname 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3
07:15:25 UTC 2012
r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
2. [user@/usr/ports/www/firefox]make showconfig
=== The following configuration options are available for firefox-15.0.1,1:
 DBUS=off: D-Bus IPC system support
 DEBUG=off: Install debug symbols
 GNOME=off: GNOME desktop environment support
 GSTREAMER=off: Multimedia support via GStreamer
 LIBPROXY=off: Proxy support via libproxy
 LOGGING=off: Additional log messages
 OPTIMIZED_CFLAGS=off: Use extra compiler optimizations
 PGO=off: Profile-Guided Optimization
 Options available for the multi GNOME: you have to choose at
least one of them
 GCONF=off: GConf configuration backend support
 GIO=off: GIO for file I/O
 GNOMEUI=off: libgnomeui support module
 GNOMEVFS2=off: GnomeVFS2 support
 Options available for the single AUDIO: you have to select
exactly one of them
 ALSA=off: ALSA audio architecture support
 OSS=on: Open Sound System support
 PULSEAUDIO=off: PulseAudio sound server support
 Options available for the single TOOLKIT: you have to select
exactly one of them
 GTK2=off: GTK+ 2 GUI toolkit support
 QT4=on: Qt 4 toolkit support
=== Use 'make config' to modify these settings
3.  [user@/usr/ports/www/firefox]firefox
XShmAttach: BadAccess (attempt to access private resource denied) , etc...

--
B.R.
HU Dong
___
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: firefox built with qt doesn't work on 9.0 i386 release

2012-09-15 Thread HU Dong
On Sat, Sep 15, 2012 at 2:39 PM, HU Dong itechb...@gmail.com wrote:

 Hi!
 I have problem running firefox which was built with qt toolkit.
 When I started firefox, a blank window showed up, without menubar,
 content area, status bar, etc. Here's some information that maybe
 useful.

 1. [user@~]uname -a
 FreeBSD hostname 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3
 07:15:25 UTC 2012
 r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
 2. [user@/usr/ports/www/firefox]make showconfig
 === The following configuration options are available for
 firefox-15.0.1,1:
  DBUS=off: D-Bus IPC system support
  DEBUG=off: Install debug symbols
  GNOME=off: GNOME desktop environment support
  GSTREAMER=off: Multimedia support via GStreamer
  LIBPROXY=off: Proxy support via libproxy
  LOGGING=off: Additional log messages
  OPTIMIZED_CFLAGS=off: Use extra compiler optimizations
  PGO=off: Profile-Guided Optimization
  Options available for the multi GNOME: you have to choose at
 least one of them
  GCONF=off: GConf configuration backend support
  GIO=off: GIO for file I/O
  GNOMEUI=off: libgnomeui support module
  GNOMEVFS2=off: GnomeVFS2 support
  Options available for the single AUDIO: you have to select
 exactly one of them
  ALSA=off: ALSA audio architecture support
  OSS=on: Open Sound System support
  PULSEAUDIO=off: PulseAudio sound server support
  Options available for the single TOOLKIT: you have to select
 exactly one of them
  GTK2=off: GTK+ 2 GUI toolkit support
  QT4=on: Qt 4 toolkit support
 === Use 'make config' to modify these settings
 3.  [user@/usr/ports/www/firefox]firefox
 XShmAttach: BadAccess (attempt to access private resource denied) , etc...

 --
 B.R.
 HU Dong


Problem solved.
#sysctl kern.ipc.shm_allow_removed=1

http://forum.kde.org/viewtopic.php?f=21t=98803#p216722

-- 
B.R.
HU Dong
___
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


mplayer-1.1.r20120721 doesn't compile with clang release_30 142614

2012-09-02 Thread HU Dong
Hi!
The latest multimedia/mplayer port seems to be broken on freebsd
9.0 i386 release. It fails to compile with clang release_30 142614.
Hope someone could fix it.

1. ENV:
% uname -a
FreeBSD hostname 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3
07:15:25 UTC 2012
r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
% clang --version
FreeBSD clang version 3.0 (branches/release_30 142614) 20111021
Target: i386-unknown-freebsd9.0
Thread model: posix

2. PORT CONFIG:
% make showconfig
=== The following configuration options are available for
mplayer-1.1.r20120721:
 DEBUG=off: Include debug symbols in mplayer's binaries
 RTCPU=on: Allow runtime CPU detection
 OCFLAGS=on: Use optimized compiler flags
 OTCHAIN=off: Use gcc 4.6+ toolchain on legacy systems
 IPV6=on: Include inet6 network support
 X11=on: Enable X11 support for mplayer's video output
 X11XV=on: X11 video drivers: XV
 X11DGA=on: X11 video drivers: DGA
 X11GL=on: X11 video drivers: OpenGL
 X11XIN=on: X11 video drivers: Xinerama
 X11VM=on: X11 VidMode support
 X11XVMC=off: Enable XvMC acceleration
 VDPAU=off: Enable Nvidia VDPAU acceleration
 GUI=off: Enable GTK2 graphical user interface with X11
 SDL=off: Enable SDL video output
 SKINS=off: Force dependency on mplayer-skins
 RTC=off: Add support for kernel real time clock timing
 ARTS=off: Enable KDE sound system support
 ESOUND=off: Enable GNOME esound support
 JACK=off: Enable JackIt audio server support
 NAS=off: Enable NAS sound server support
 OPENAL=off: Enable OpenAL sound support
 PULSE=off: Enable PulseAudio
 LIBUNGIF=off: Enable gif support
 OPENJPEG=off: Enable JPEG2000 support
 MNG=off: Enable MNG input support
 AALIB=off: Enable aalib support
 LIBCACA=off: Enable libcaca support
 SVGALIB=off: Enable svgalib support
 LIBDV=off: Enable libdv support
 MAD=off: Enable mad MPEG audio engine support
 AMR_NB=off: AMR Narrow Band encoder (opencore)
 AMR_WB=off: AMR Wide Band encoder (opencore)
 GSM=off: GSM audio codec
 LADSPA=off: Enable LADSPA plugin support
 SPEEX=off: Enable speex audio codec support
 THEORA=off: Enable ogg theora video support
 VPX=off: Enable VP8 video via libvpx
 SCHROEDINGER=off: Dirac codec via libschroedinger
 WIN32=off: Enable win32 codec set on the IA32 arch
 REALPLAYER=off: Enable real player plugin
 LIVEMEDIA=off: Enable LIVE555 streaming support
 SMB=off: Enable Samba input support
 BLURAY=off: Build with libbluray support
 FRIBIDI=off: Enable FriBiDi support
 LIRC=off: Enable lirc support
 LIBCDIO=off: Enable libcdio support
 CDPARANOIA=off: Enable cdparanoia support
 LIBLZO=off: Enable external liblzo library
 JOYSTICK=off: Enable joystick support
 V4L=off: Enable Video4Linux TV support
 LIBRTMP=off: Enable RTMPDump Streaming Media support
 ENCA=off: Enable enca charset detection
=== Use 'make config' to modify these settings

3. Error Message:
...
clang -MD -MP -D_ISOC99_SOURCE -D_BSD_SOURCE -O2 -pipe -O3
-fomit-frame-pointer -ffast-math -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FILE_OFFSET_BITS=64
-Ilibdvdread4 -I. -Iffmpeg -I/usr/local/include -I/usr/local/include
-I/usr/local/include  -I/usr/local/include/freetype2
-I/usr/local/include -fomit-frame-pointer -c -o mp3lib/decode_i586.o
mp3lib/decode_i586.c
mp3lib/decode_i586.c:65:23: error: unknown token in expression
pushl %%eax\n\t
  ^
inline asm:22:18: note: instantiated into assembly here
movl 4+(%esp),%edx
^
mp3lib/decode_i586.c:68:23: error: unknown token in expression
pushl %%eax\n\t
  ^
inline asm:25:18: note: instantiated into assembly here
movl 8+(%esp),%eax
^
2 errors generated.
gmake: *** [mp3lib/decode_i586.o] Error 1
gmake: *** Waiting for unfinished jobs
3 warnings generated.
*** Error code 1

--
B.R.
HU Dong
___
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


port name confliction and lib dir problems about porting

2012-08-20 Thread HU Dong
Hi!
I'm porting evan's debugger to freebsd, which name will be
devel/edb. It's an excellent ollydbg-like debugging tool. Now almost
all work has been done, but I run into two problems.

1. There's already one port named edb (databases/edb,
Enlightenment Database Library). Is there any convention that I should
follow to rename the new port? It has a man file edb.1. What should I
do with it after I rename the port, eg, how to rename a file in
Makefile?
2. It installs some library files to lib or lib64 based on OS
arch. How to specify lib path in pkg-plist?

--
B.R.
HU Dong
___
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: port name confliction and lib dir problems about porting

2012-08-20 Thread HU Dong
On Mon, Aug 20, 2012 at 3:14 PM, HU Dong itechb...@gmail.com wrote:
 Hi!
 I'm porting evan's debugger to freebsd, which name will be
 devel/edb. It's an excellent ollydbg-like debugging tool. Now almost
 all work has been done, but I run into two problems.

 1. There's already one port named edb (databases/edb,
 Enlightenment Database Library). Is there any convention that I should
 follow to rename the new port? It has a man file edb.1. What should I
 do with it after I rename the port, eg, how to rename a file in
 Makefile?
 2. It installs some library files to lib or lib64 based on OS
 arch. How to specify lib path in pkg-plist?

 --
 B.R.
 HU Dong

Problems solved. Sorry for disturbance.

-- 
B.R.
HU Dong
___
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


Qestion about patching

2012-08-19 Thread HU Dong
Hi!
The porter's handbook says that Note that if the path of a patched
file contains an underscore (_) character, the patch needs to have two
underscores instead in its name. For example, to patch a file named
src/freeglut_joystick.c, the corresponding patch should be named
patch-src-freeglut__joystick.c.

Question: What if the file contains -
charactor(src/freeglut-joystick.c)? Should the patch be
patch-src-freeglut-joystick.c or patch-src-freeglut--joystick.c?

--
B.R.
HU Dong
___
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: Qestion about patching

2012-08-19 Thread HU Dong
On Mon, Aug 20, 2012 at 10:06 AM, Wesley Shields w...@freebsd.org wrote:

 On Mon, Aug 20, 2012 at 10:03:54AM +0800, HU Dong wrote:
  Hi!
  The porter's handbook says that Note that if the path of a patched
  file contains an underscore (_) character, the patch needs to have two
  underscores instead in its name. For example, to patch a file named
  src/freeglut_joystick.c, the corresponding patch should be named
  patch-src-freeglut__joystick.c.
 
  Question: What if the file contains -
  charactor(src/freeglut-joystick.c)? Should the patch be
  patch-src-freeglut-joystick.c or patch-src-freeglut--joystick.c?

 When applying a patch I get from upstream I apply it manually in
 ${WRKSRC} and then use 'make makepatch' from the port directory to
 generate the appropriate filename in files for me.

 -- WXS


It's really a smart way. Thank you!

-- 
B.R.
HU Dong
___
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


Could someone please maintain www/xxxterm?

2012-08-17 Thread HU Dong
Hi, all!
Several days ago, I sent a PR to update www/xxxterm and ask to takeover
maintainership. Since I'm not familiar with diff and patch commands, the
progress has been delayed for a while. Now that I'm not suitable for being
a maintainer, could someone please takeover the maintainership? Thank you!

PR link: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/169860

-- 
B.R.
HU Dong
___
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: Could someone please maintain www/xxxterm?

2012-08-17 Thread HU Dong
On Fri, Aug 17, 2012 at 9:52 PM, Niclas Zeising zeis...@daemonic.se wrote:

 On 2012-08-17 15:16, HU Dong wrote:
  Hi, all!
  Several days ago, I sent a PR to update www/xxxterm and ask to
 takeover
  maintainership. Since I'm not familiar with diff and patch commands, the
  progress has been delayed for a while. Now that I'm not suitable for
 being
  a maintainer, could someone please takeover the maintainership? Thank
 you!
 
  PR link: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/169860
 

 I'll take it.  I'll need some time to look through the PR and test and
 fix the port though.
 Regards!
 --
 Niclas


Thank you! I'll make my last effort and resubmit the patch later. Hope it
will help.

-- 
B.R.
HU Dong
___
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: Could someone please maintain www/xxxterm?

2012-08-17 Thread HU Dong
On Fri, Aug 17, 2012 at 9:52 PM, Waitman Gobble uzi...@da3m0n8t3r.comwrote:

 HU Dong itechb...@gmail.com wrote ..
  Hi, all!
  Several days ago, I sent a PR to update www/xxxterm and ask to
 takeover
  maintainership. Since I'm not familiar with diff and patch commands, the
  progress has been delayed for a while. Now that I'm not suitable for
 being
  a maintainer, could someone please takeover the maintainership? Thank
 you!
 
  PR link: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/169860
 
  --
  B.R.
  HU Dong
  ___
  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

 Hi,

 I can take this if you like.

 --
 Waitman Gobble
 San Jose California USA


Thank you, Waitman. Maybe you could talk to Niclas, since his mail arrived
a little earlier.

-- 
B.R.
HU Dong
___
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: gdb doesn't work well with qtcreator

2012-08-15 Thread HU Dong
On Wed, Aug 15, 2012 at 3:17 PM, Luca Pizzamiglio 
l.pizzamig...@bally-wulff.de wrote:

 Hi HU,
 I tested QtCreator on a 8-STABLE i386 machine and a 9-STABLE amd64 machine.
 In both cases I'm not able to reproduce the error

 Regards,
 Luca

 On 08/14/12 02:29, HU Dong wrote:
  waiting for your furthur reply.
 
  B.R.
  HU Dong
  On Monday, August 13, 2012, Luca Pizzamiglio
  l.pizzamig...@bally-wulff.de mailto:l.pizzamig...@bally-wulff.de
 wrote:
Hi HU,
   
I tried QtCreator 2.5.0 (Based on Qt 4.8.2 - 32 bit) on my 8-STABLE
  i386 system.
   
gdb works good (only one worning about inappropriate ioctl for
  terminal device), but it works as expected.
   
If I've time, I could try on a 9-STABLE system.
   
Regards,
Luca
   
On 08/13/12 10:23, HU Dong wrote:
   
On Mon, Aug 13, 2012 at 4:09 PM, Luca Pizzamiglio
l.pizzamig...@bally-wulff.de mailto:l.pizzamig...@bally-wulff.de
  mailto:l.pizzamig...@bally-wulff.de
  mailto:l.pizzamig...@bally-wulff.de wrote:
   
Hi.
Could you provide a simple repro-case? Is your application a
multi-thread one?
   
I'm using gdb 7.4.1_4 with KDevelop without problem, but my
applications are not Qt based...
   
Regards,
Luca
   
   
On 08/09/12 14:02, HU Dong wrote:
   
On Thu, Aug 9, 2012 at 7:55 PM, Konstantin Tokarev
annu...@yandex.ru mailto:annu...@yandex.ru
  mailto:annu...@yandex.ru mailto:annu...@yandex.ru wrote:
   
   
   
09.08.2012, 15:50, HU Dong itechb...@gmail.com
  mailto:itechb...@gmail.com
mailto:itechb...@gmail.com mailto:itechb...@gmail.com
 :
   
Hi,all!
  I just installed devel/qtcreator from port.
Everything seemed to
work fine except the debugger. At first I set it to
/usr/bin/gdb, it
simply crashed when I started debugging, with a
 dialog
reporting The
gdb process crashed. Then I installed devel/gdb and
 set
the debugger
to /usr/local/bin/gdb, qtcreator reported that
Application process
could not be stopped:The program is not being run.
 and
Cannot
continue debugged process:The program is not being
 run.
  I've spent much time searching on the internet,
but found nothing
helpful. Did anyone run into the same problem?
   
  Env: FreeBSD  9.0-RELEASE-p3 FreeBSD
9.0-RELEASE-p3 #0: Tue Jun 12
01:47:53 UTC 2012
   
  root@i386-builder.daemonology.__net:/usr/obj/usr/src/sys/__GENERIC
  i386
   
   
Which version og gdb are you using? Qt Creator officially
requires gdb = 7.2,
and may have issues with earlier versions.
   
Maybe it's worthwhile to ask on
  qt-crea...@qt-project.org mailto:qt-crea...@qt-project.org
mailto:qt-crea...@qt-project.org
  mailto:qt-crea...@qt-project.org too.
   
--
Regards,
Konstantin
   
   
I've tested both gdb 6.1.1 and 7.4.1_4, but with no luck.
   
I suspect that this problem is kind of freebsd-specific,
 cause I
didn't find similar problems reported on the internet.
   
HU Dong
_
freebsd-ports@freebsd.org mailto:freebsd-ports@freebsd.org
  mailto:freebsd-ports@freebsd.org mailto:freebsd-ports@freebsd.org
mailing list
http://lists.freebsd.org/__mailman/listinfo/freebsd-ports
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to
freebsd-ports-unsubscribe@__freebsd.org http://freebsd.org
 
mailto:freebsd-ports-unsubscr...@freebsd.org
  mailto:freebsd-ports-unsubscr...@freebsd.org
   
   
   
It's not application-related. I tried hello,world! and the problem
still existed. The problem happened in Qt Creator, not kdevelop.
 Anyway,
thank you!
   
B.R.
HU Dong
   
   
 
  --



It's kinda weird. I deleted 2.5.0, and tried installing 2.0 with pkg_add -r
command. The debugger worked.

I've submitted debugger log to qt creator bugreport site, hoping they could
find some clues. Thank you very much!

However I've switched to kdevelop and it's OK. Thank you!

B.R.
HU Dong
___
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: gdb doesn't work well with qtcreator

2012-08-15 Thread HU Dong
On Wed, Aug 15, 2012 at 4:10 PM, HU Dong itechb...@gmail.com wrote:

 On Wed, Aug 15, 2012 at 3:17 PM, Luca Pizzamiglio 
 l.pizzamig...@bally-wulff.de wrote:

 Hi HU,
 I tested QtCreator on a 8-STABLE i386 machine and a 9-STABLE amd64
 machine.
 In both cases I'm not able to reproduce the error

 Regards,
 Luca

 On 08/14/12 02:29, HU Dong wrote:
  waiting for your furthur reply.
 
  B.R.
  HU Dong
  On Monday, August 13, 2012, Luca Pizzamiglio
  l.pizzamig...@bally-wulff.de mailto:l.pizzamig...@bally-wulff.de
 wrote:
Hi HU,
   
I tried QtCreator 2.5.0 (Based on Qt 4.8.2 - 32 bit) on my 8-STABLE
  i386 system.
   
gdb works good (only one worning about inappropriate ioctl for
  terminal device), but it works as expected.
   
If I've time, I could try on a 9-STABLE system.
   
Regards,
Luca
   
On 08/13/12 10:23, HU Dong wrote:
   
On Mon, Aug 13, 2012 at 4:09 PM, Luca Pizzamiglio
l.pizzamig...@bally-wulff.de mailto:l.pizzamig...@bally-wulff.de
  mailto:l.pizzamig...@bally-wulff.de
  mailto:l.pizzamig...@bally-wulff.de wrote:
   
Hi.
Could you provide a simple repro-case? Is your application a
multi-thread one?
   
I'm using gdb 7.4.1_4 with KDevelop without problem, but my
applications are not Qt based...
   
Regards,
Luca
   
   
On 08/09/12 14:02, HU Dong wrote:
   
On Thu, Aug 9, 2012 at 7:55 PM, Konstantin Tokarev
annu...@yandex.ru mailto:annu...@yandex.ru
  mailto:annu...@yandex.ru mailto:annu...@yandex.ru wrote:
   
   
   
09.08.2012, 15:50, HU Dong itechb...@gmail.com
  mailto:itechb...@gmail.com
mailto:itechb...@gmail.com mailto:itechb...@gmail.com
 :
   
Hi,all!
  I just installed devel/qtcreator from port.
Everything seemed to
work fine except the debugger. At first I set it to
/usr/bin/gdb, it
simply crashed when I started debugging, with a
 dialog
reporting The
gdb process crashed. Then I installed devel/gdb
 and set
the debugger
to /usr/local/bin/gdb, qtcreator reported that
Application process
could not be stopped:The program is not being run.
 and
Cannot
continue debugged process:The program is not being
 run.
  I've spent much time searching on the
 internet,
but found nothing
helpful. Did anyone run into the same problem?
   
  Env: FreeBSD  9.0-RELEASE-p3 FreeBSD
9.0-RELEASE-p3 #0: Tue Jun 12
01:47:53 UTC 2012
   
  root@i386-builder.daemonology.__net:/usr/obj/usr/src/sys/__GENERIC
  i386
   
   
Which version og gdb are you using? Qt Creator
 officially
requires gdb = 7.2,
and may have issues with earlier versions.
   
Maybe it's worthwhile to ask on
  qt-crea...@qt-project.org mailto:qt-crea...@qt-project.org
mailto:qt-crea...@qt-project.org
  mailto:qt-crea...@qt-project.org too.
   
--
Regards,
Konstantin
   
   
I've tested both gdb 6.1.1 and 7.4.1_4, but with no luck.
   
I suspect that this problem is kind of freebsd-specific,
 cause I
didn't find similar problems reported on the internet.
   
HU Dong
_
freebsd-ports@freebsd.org mailto:freebsd-ports@freebsd.org
  mailto:freebsd-ports@freebsd.org mailto:freebsd-ports@freebsd.org
mailing list
http://lists.freebsd.org/__mailman/listinfo/freebsd-ports
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to
freebsd-ports-unsubscribe@__freebsd.org 
 http://freebsd.org
mailto:freebsd-ports-unsubscr...@freebsd.org
  mailto:freebsd-ports-unsubscr...@freebsd.org
   
   
   
It's not application-related. I tried hello,world! and the problem
still existed. The problem happened in Qt Creator, not kdevelop.
 Anyway,
thank you!
   
   
   
 
  --



 It's kinda weird. I deleted 2.5.0, and tried installing 2.0 with pkg_add
 -r command. The debugger worked.

 I've submitted debugger log to qt creator bugreport site, hoping they
 could find some clues. Thank you very much!

 However I've switched to kdevelop and it's OK. Thank you!



I found that when I chose to create a CMake-Build project instead of
QMake-Build one, the debugger worked... I don't know what's the difference,
but after being confused for sevral days, it finally works...

-- 
B.R.
HU Dong
___
freebsd-ports

Re: gdb doesn't work well with qtcreator

2012-08-13 Thread HU Dong
On Mon, Aug 13, 2012 at 4:09 PM, Luca Pizzamiglio 
l.pizzamig...@bally-wulff.de wrote:

 Hi.
 Could you provide a simple repro-case? Is your application a multi-thread
 one?

 I'm using gdb 7.4.1_4 with KDevelop without problem, but my applications
 are not Qt based...

 Regards,
 Luca


 On 08/09/12 14:02, HU Dong wrote:

 On Thu, Aug 9, 2012 at 7:55 PM, Konstantin Tokarev annu...@yandex.ru
 wrote:



 09.08.2012, 15:50, HU Dong itechb...@gmail.com:

 Hi,all!
  I just installed devel/qtcreator from port. Everything seemed to
 work fine except the debugger. At first I set it to /usr/bin/gdb, it
 simply crashed when I started debugging, with a dialog reporting The
 gdb process crashed. Then I installed devel/gdb and set the debugger
 to /usr/local/bin/gdb, qtcreator reported that Application process
 could not be stopped:The program is not being run. and Cannot
 continue debugged process:The program is not being run.
  I've spent much time searching on the internet, but found nothing
 helpful. Did anyone run into the same problem?

  Env: FreeBSD  9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12
 01:47:53 UTC 2012
 root@i386-builder.daemonology.**net:/usr/obj/usr/src/sys/**GENERIC
  i386


 Which version og gdb are you using? Qt Creator officially requires gdb
 = 7.2,
 and may have issues with earlier versions.

 Maybe it's worthwhile to ask on qt-crea...@qt-project.org too.

 --
 Regards,
 Konstantin


 I've tested both gdb 6.1.1 and 7.4.1_4, but with no luck.

 I suspect that this problem is kind of freebsd-specific, cause I
 didn't find similar problems reported on the internet.

 HU Dong
 __**_
 freebsd-ports@freebsd.org mailing list
 http://lists.freebsd.org/**mailman/listinfo/freebsd-portshttp://lists.freebsd.org/mailman/listinfo/freebsd-ports
 To unsubscribe, send any mail to 
 freebsd-ports-unsubscribe@**freebsd.orgfreebsd-ports-unsubscr...@freebsd.org
 



It's not application-related. I tried hello,world! and the problem still
existed. The problem happened in Qt Creator, not kdevelop. Anyway, thank
you!

B.R.
HU Dong
___
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


gdb doesn't work well with qtcreator

2012-08-13 Thread HU Dong
waiting for your furthur reply.

B.R.
HU Dong
On Monday, August 13, 2012, Luca Pizzamiglio l.pizzamig...@bally-wulff.de
wrote:
 Hi HU,

 I tried QtCreator 2.5.0 (Based on Qt 4.8.2 - 32 bit) on my 8-STABLE i386
system.

 gdb works good (only one worning about inappropriate ioctl for terminal
device), but it works as expected.

 If I've time, I could try on a 9-STABLE system.

 Regards,
 Luca

 On 08/13/12 10:23, HU Dong wrote:

 On Mon, Aug 13, 2012 at 4:09 PM, Luca Pizzamiglio
 l.pizzamig...@bally-wulff.de mailto:l.pizzamig...@bally-wulff.de
wrote:

 Hi.
 Could you provide a simple repro-case? Is your application a
 multi-thread one?

 I'm using gdb 7.4.1_4 with KDevelop without problem, but my
 applications are not Qt based...

 Regards,
 Luca


 On 08/09/12 14:02, HU Dong wrote:

 On Thu, Aug 9, 2012 at 7:55 PM, Konstantin Tokarev
 annu...@yandex.ru mailto:annu...@yandex.ru wrote:



 09.08.2012, 15:50, HU Dong itechb...@gmail.com
 mailto:itechb...@gmail.com:

 Hi,all!
   I just installed devel/qtcreator from port.
 Everything seemed to
 work fine except the debugger. At first I set it to
 /usr/bin/gdb, it
 simply crashed when I started debugging, with a dialog
 reporting The
 gdb process crashed. Then I installed devel/gdb and set
 the debugger
 to /usr/local/bin/gdb, qtcreator reported that
 Application process
 could not be stopped:The program is not being run. and
 Cannot
 continue debugged process:The program is not being run.
   I've spent much time searching on the internet,
 but found nothing
 helpful. Did anyone run into the same problem?

   Env: FreeBSD  9.0-RELEASE-p3 FreeBSD
 9.0-RELEASE-p3 #0: Tue Jun 12
 01:47:53 UTC 2012
 root@i386-builder.daemonology.
__net:/usr/obj/usr/src/sys/__GENERIC
   i386


 Which version og gdb are you using? Qt Creator officially
 requires gdb = 7.2,
 and may have issues with earlier versions.

 Maybe it's worthwhile to ask on qt-crea...@qt-project.org
 mailto:qt-crea...@qt-project.org too.

 --
 Regards,
 Konstantin


 I've tested both gdb 6.1.1 and 7.4.1_4, but with no luck.

 I suspect that this problem is kind of freebsd-specific, cause I
 didn't find similar problems reported on the internet.

 HU Dong
 _
 freebsd-ports@freebsd.org mailto:freebsd-ports@freebsd.org
 mailing list
 http://lists.freebsd.org/__mailman/listinfo/freebsd-ports
 http://lists.freebsd.org/mailman/listinfo/freebsd-ports
 To unsubscribe, send any mail to
 freebsd-ports-unsubscribe@__freebsd.org
 mailto:freebsd-ports-unsubscr...@freebsd.org



 It's not application-related. I tried hello,world! and the problem
 still existed. The problem happened in Qt Creator, not kdevelop. Anyway,
 thank you!

 B.R.
 HU Dong



-- 
祝好!  Best Regards,
胡东  HU Dong
清华大学电子系 Dept of EE, Tsinghua Univ
137 5115 5701 +86 137 5115 5701
___
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: portmaster 3.13.13 real endless loop Waiting on fetch checksum...

2012-08-11 Thread HU Dong
OK, two log files are attached.

In my previous email, I ran postmaster -F and the problem still existed.

However, I let the portmaster command run a little longer just now, and
after many error messages scrolling down, it managed to download the
tarball file and continued executing. You can check stdout.log.

Maybe it is because the file size is largger than portmaster expected. So
it kept reporting error messages when timeout. So...it's not a bug?

B.R.
HU Dong


On Sat, Aug 11, 2012 at 4:15 PM, Michael Ranner mich...@ranner.eu wrote:

  Sorry Mr. Barton, I am living in a different time zone ;-)

 Your requested info should on the way.

 Regards
 Michael

 Am 11.08.12 10:09, schrieb Doug Barton:

 Guys, these reports are useless without the information that I
 asked for:

 While 'portmaster -F' is running in one window, keep an eye on
 /usr/ports/distfiles and see if the file is being downloaded, and also
 keep an eye on the log file in $TMPDIR to see if it is being appended to.

 Neither I nor others who have replied to this thread can reproduce the
 problem you're seeing, and that is some of the oldest code in
 portmaster, so I strongly suspect that there is some problem in your
 environment that is causing this. In any case, I can't debug the problem
 without the information in the paragraph above.

 thanks,

 Doug



 --
 Mit freundlichen Grüßen

 Ing. Michael Ranner

 GSM:  +43 676 4155044
 Mail: mich...@ranner.eu
 WWW:  http://www.azedo.at/




stdout.log
Description: Binary data


tmp.log
Description: Binary data
___
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

why kdbg hasn't been upgraded?

2012-08-10 Thread HU Dong
kdbg has been upgraded to 2.5.1 with qt4 library, while the port
devel/kdbg is still 2.2.0 with qt3 library. I modified the port a
little and had it successfully built. Is there any reason that it
should stay with the older version? If not, I'll submit a PR.

B.R.
HU Dong
___
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: portmaster 3.13.13 real endless loop Waiting on fetch checksum...

2012-08-10 Thread HU Dong
I can simply reproduce this problem by this way:

# portmaster -v databases/postgresql90-client

=== Currently installed version: postgresql-client-9.0.8
=== Port directory: /usr/ports/databases/postgresql90-client

=== Gathering distinfo list for installed ports

=== Launching 'make checksum' for databases/postgresql90-client in
background
=== Gathering dependency list for databases/postgresql90-client from
ports
=== Starting dependency check
=== Checking dependency: devel/gettext
=== Checking dependency: devel/gmake
=== Checking dependency: textproc/libxml2
=== Initial dependency check complete for databases/postgresql90-client


=== Starting build for databases/postgresql90-client ===

=== All dependencies are up to date

===  Cleaning for postgresql-client-9.0.8
=== Waiting on fetch  checksum for databases/postgresql90-client ===
===  Found saved configuration for postgresql-client-9.0.8
= SHA256 Checksum mismatch for postgresql/postgresql-9.0.8.tar.bz2.
===  Refetch for 1 more times files: postgresql/postgresql-9.0.8.tar.bz2
===  Found saved configuration for postgresql-client-9.0.8
= postgresql-9.0.8.tar.bz2 doesn't seem to exist in
/usr/ports/distfiles//postgresql.
= Attempting to fetch
ftp://ftp.se.postgresql.org/pub/databases/relational/postgresql/source/v9.0.8/postgresql-9.0.8.tar.bz2


=== Waiting on fetch  checksum for databases/postgresql90-client ===
===  Found saved configuration for postgresql-client-9.0.8
= SHA256 Checksum mismatch for postgresql/postgresql-9.0.8.tar.bz2.
===  Refetch for 1 more times files: postgresql/postgresql-9.0.8.tar.bz2
===  Found saved configuration for postgresql-client-9.0.8
= postgresql-9.0.8.tar.bz2 doesn't seem to exist in
/usr/ports/distfiles//postgresql.
= Attempting to fetch
ftp://ftp.se.postgresql.org/pub/databases/relational/postgresql/source/v9.0.8/postgresql-9.0.8.tar.bz2
postgresql-9.0.8.tar.bz2

=== Waiting on fetch  checksum for databases/postgresql90-client ===
===  Found saved configuration for postgresql-client-9.0.8
= SHA256 Checksum mismatch for postgresql/postgresql-9.0.8.tar.bz2.
===  Refetch for 1 more times files: postgresql/postgresql-9.0.8.tar.bz2
===  Found saved configuration for postgresql-client-9.0.8
= postgresql-9.0.8.tar.bz2 doesn't seem to exist in
/usr/ports/distfiles//postgresql.
= Attempting to fetch
ftp://ftp.se.postgresql.org/pub/databases/relational/postgresql/source/v9.0.8/postgresql-9.0.8.tar.bz2
postgresql-9.0.8.tar.bz2

^C
=== Build/Install for databases/postgresql90-client exiting due to signal
Terminated
Terminated

=== You can restart from the point of failure with this command line:
   portmaster flags databases/postgresql90-client

B.R.
HU Dong

On Fri, Aug 10, 2012 at 11:08 PM, Michael Ranner mich...@ranner.eu wrote:
 It is really strange. I tried to debug deeper and it seems that it does
not
 even start to fetch on make checksum, it hangs on an empty fetchlog file
 in /tmp

 This was a little bit surprising, because it downloaded distfiles for
other
 ports some time ago, but also hangs on an empty fetchlog.

 In any case, it breaks the endless loop and starts to download and build
the
 port after removing the fetchlog file in /tmp manually.

 Am 10.08.12 17:02, schrieb HU Dong:

 I have met with the same problem several times, too. But my
 environment is 9.0 release. It occurred ocasionally. At first I
 thought it was because of bad wireless connection. Now it seems not.

 B.R.
 HU Dong

 On Fri, Aug 10, 2012 at 9:37 PM, Michael Ranner mich...@ranner.eu wrote:

 Hello!

 I have this problem on a specific 8.3-RELEASE since several weeks.

 portmaster hangs in endeless loop for Waiting on fetch  checksum... for
 all ports.

 If the distfile does not exist, portmaster fetches it, but stays in this
 endless loop.

 If distfile is already fetched, portmaster will go immediately in endless
 loop.

 rm'ing the /tmp/*fetchlog* file by hand will continue portmaster to build
 and install the port.

 I have no idea where to go!

 gatekeeper# portmaster -i unrar-3.93,5

 === Currently installed version: unrar-3.93,5
 === Port directory: /usr/ports/archivers/unrar

 === Gathering distinfo list for installed ports

 === Launching 'make checksum' for archivers/unrar in background
 === Gathering dependency list for archivers/unrar from ports
 Terminated
 === No dependencies for archivers/unrar

 Terminated
 Terminated

 === Starting build for archivers/unrar ===

 === All dependencies are up to date

 ===  Cleaning for unrar-4.20,5
 === Waiting on fetch  checksum for archivers/unrar ===


 === Waiting on fetch  checksum for archivers/unrar ===

 ps -ax shows this:

 27005   0  S+ 0:00.02 /bin/sh /usr/local/sbin/portmaster -i
unrar-3.93,5
 27331   0  S+ 0:00.00 sleep 2

 ports tree is freshly extracted with portsnap. make install in ports dir
 will work for all ports.

 --
 Mit freundlichen Grüßen

 Ing. Michael Ranner

 GSM:  +43 676 4155044
 Mail: mich...@ranner.eu
 WWW:  http://www.azedo.at

Re: portmaster 3.13.13 real endless loop Waiting on fetch checksum...

2012-08-10 Thread HU Dong
The mirror is OK. I could download the file from the exact mirror manually
with fetch command.

B.R.
HU Dong

On Sat, Aug 11, 2012 at 6:37 AM, Doug Barton do...@freebsd.org wrote:

 On 8/10/2012 8:21 AM, HU Dong wrote:
  I can simply reproduce this problem by this way:
 
  # portmaster -v databases/postgresql90-client

 Both of your reports sound like they are hanging on a bad mirror. Try
 putting the RANDOMIZE_MASTER_SITES= yes in your /etc/make.conf and see
 if that helps.

 Doug

 --

 I am only one, but I am one.  I cannot do everything, but I can do
 something.  And I will not let what I cannot do interfere with what
 I can do.
 -- Edward Everett Hale, (1822 - 1909)

___
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: portmaster 3.13.13 real endless loop Waiting on fetch checksum...

2012-08-10 Thread HU Dong
#ls -la / | grep tmp
drwxrwxrwt  40 root  wheel   6656 Aug 11 09:22 tmp
#rm -fr /usr/ports/distfiles/postgresql/postgresql-9.0.8.tar.bz2
#make checksum
===  Found saved configuration for postgresql-client-9.0.8
= postgresql-9.0.8.tar.bz2 doesn't seem to exist in
/usr/ports/distfiles/postgresql.
= Attempting to fetch
ftp://ftp.se.postgresql.org/pub/databases/relational/postgresql/source/v9.0.8/postgresql-9.0.8.tar.bz2
postgresql-9.0.8.tar.bz2  100% of   14 MB  118 kBps
00m00s
= SHA256 Checksum OK for postgresql/postgresql-9.0.8.tar.bz2.
#rm -fr /usr/ports/distfiles/postgresql/postgresql-9.0.8.tar.bz2
#portmaster -F

=== Currently installed version: postgresql-client-9.0.8
=== Port directory: /usr/ports/databases/postgresql90-client

=== Launching 'make checksum' for databases/postgresql90-client in
background
=== Gathering dependency list for databases/postgresql90-client from
ports
=== Initial dependency check complete for databases/postgresql90-client


=== Waiting for 1 distfile fetch to finish
=== Waiting for 1 distfile fetch to finish
=== Waiting for 1 distfile fetch to finish
=== Waiting for 1 distfile fetch to finish
^C
=== Build/Install for databases/postgresql90-client exiting due to signal
Terminated
Terminated

B.R.
HU Dong

On Sat, Aug 11, 2012 at 9:07 AM, Doug Barton do...@freebsd.org wrote:

 Ok, so do this ... remove the file from /usr/ports/distfiles, then go to
 the port directory and type 'make checksum' and see if it works
 properly. Then remove it again, and run 'portmaster -F'

 While that's running in one window, keep an eye on /usr/ports/distfiles
 and see if the file is being downloaded, and also keep an eye on the log
 file in $TMPDIR to see if it is being appended to.

 Also make sure that whatever directory you use for $TMPDIR (/tmp by
 default) has permissions 1777, and is not mounted with odd options.

 Doug


 On 08/10/2012 06:00 PM, HU Dong wrote:
  The mirror is OK. I could download the file from the exact mirror
  manually with fetch command.
 
  B.R.
  HU Dong
 
  On Sat, Aug 11, 2012 at 6:37 AM, Doug Barton do...@freebsd.org
  mailto:do...@freebsd.org wrote:
 
  On 8/10/2012 8:21 AM, HU Dong wrote:
   I can simply reproduce this problem by this way:
  
   # portmaster -v databases/postgresql90-client
 
  Both of your reports sound like they are hanging on a bad mirror. Try
  putting the RANDOMIZE_MASTER_SITES= yes in your /etc/make.conf and
 see
  if that helps.
 
  Doug



___
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: why kdbg hasn't been upgraded?

2012-08-10 Thread HU Dong
I just submitted a patch ( http://www.freebsd.org/cgi/query-pr.cgi?pr=170532 )
for devel/kdbg, updating it from 2.2.0 to 2.5.1. Since I'm not familiar
with cmake, I didn't figure out how to make DOCS component optional. Hope
someone could help.

B.R.
HU Dong

On Fri, Aug 10, 2012 at 5:33 PM, Chris Rees utis...@gmail.com wrote:

 Reply from maintainer.
 On 10 Aug 2012 11:12, Thomas Sander thomas.san...@gmx.de wrote:

  Hello,
 
  It has no reason why the version is so old. You can submit a PR.
 
  B.R.
  Thomas
 
  2012/8/10 Chris Rees utis...@gmail.com
 
  Copying in maintainer.
  On 10 Aug 2012 10:42, HU Dong itechb...@gmail.com wrote:
 
  kdbg has been upgraded to 2.5.1 with qt4 library, while the port
  devel/kdbg is still 2.2.0 with qt3 library. I modified the port a
  little and had it successfully built. Is there any reason that it
  should stay with the older version? If not, I'll submit a PR.
 
  B.R.
  HU Dong
  ___
  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

___
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


gdb doesn't work well with qtcreator

2012-08-09 Thread HU Dong
Hi,all!
I just installed devel/qtcreator from port. Everything seemed to
work fine except the debugger. At first I set it to /usr/bin/gdb, it
simply crashed when I started debugging, with a dialog reporting The
gdb process crashed. Then I installed devel/gdb and set the debugger
to /usr/local/bin/gdb, qtcreator reported that Application process
could not be stopped:The program is not being run. and Cannot
continue debugged process:The program is not being run.
I've spent much time searching on the internet, but found nothing
helpful. Did anyone run into the same problem?

Env: FreeBSD  9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12
01:47:53 UTC 2012
r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

B.R.
HU Dong
___
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: gdb doesn't work well with qtcreator

2012-08-09 Thread HU Dong
On Thu, Aug 9, 2012 at 7:55 PM, Konstantin Tokarev annu...@yandex.ru wrote:


 09.08.2012, 15:50, HU Dong itechb...@gmail.com:
 Hi,all!
 I just installed devel/qtcreator from port. Everything seemed to
 work fine except the debugger. At first I set it to /usr/bin/gdb, it
 simply crashed when I started debugging, with a dialog reporting The
 gdb process crashed. Then I installed devel/gdb and set the debugger
 to /usr/local/bin/gdb, qtcreator reported that Application process
 could not be stopped:The program is not being run. and Cannot
 continue debugged process:The program is not being run.
 I've spent much time searching on the internet, but found nothing
 helpful. Did anyone run into the same problem?

 Env: FreeBSD  9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12
 01:47:53 UTC 2012
 r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

 Which version og gdb are you using? Qt Creator officially requires gdb = 7.2,
 and may have issues with earlier versions.

 Maybe it's worthwhile to ask on qt-crea...@qt-project.org too.

 --
 Regards,
 Konstantin

I've tested both gdb 6.1.1 and 7.4.1_4, but with no luck.

I suspect that this problem is kind of freebsd-specific, cause I
didn't find similar problems reported on the internet.

HU Dong
___
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: How to change docdir in port Makefile?

2012-08-07 Thread HU Dong
I found that line in Makefile.in. Thank you!

B.R.
HU Dong

On Tue, Aug 7, 2012 at 1:37 PM, Jason Helfman j...@freebsd.org wrote:

 On Mon, Aug 6, 2012 at 8:36 PM, HU Dong itechb...@gmail.com wrote:

 Hi, all. I'm making a new port. It uses GNU configure to generate a
 GNU Makefile. But it set DOCSDIR to
 ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} instead
 of ${PREFIX}/share/doc/${PORTNAME}:

 ***
 docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION)
 ***

 I've tried post-patch, but it didn't help, cause post-patch phase is
 earlier than the time when GNU Makefile is generated. So how to modify the
 GNU Makefile to correct this problem?

 B.R.
 HU Dong


 If it is generated from, I assume a Makefile.in, or similar file, try
 patching that file. Then your change
 should follow. I had to take this approach for deskutils/virt-manager
 recently for NLS location
 change.

 Hope this helps.

 -jgh

 --
 Jason Helfman  | FreeBSD Committer
 j...@freebsd.org | http://people.freebsd.org/~jgh


___
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


New port: devel/streamhtmlparser

2012-08-07 Thread HU Dong
Hello, everyone! I've made a new port: devel/streamhtmlparser. It's
a C/C++/Python streaming HTML parser library from Google(
http://code.google.com/p/streamhtmlparser/). Currently I've finished it and
made it work on my box. I put the files on redports.org:
http://svn.redports.org/Lion/devel/streamhtmlparser/ . I hope someone could
spend time reviewing the files in case there's something wrong.

B.R.
HU Dong
___
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


How to determine Python.h location in Makefile?

2012-08-06 Thread HU Dong
Hi, all! Could anybody tell me how to detect Python.h location
automatically in port Makefile, or how to add its path to gmake's arguments
in a reliable way?

B.R.
HU Dong
___
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: How to determine Python.h location in Makefile?

2012-08-06 Thread HU Dong
It helps. Thank you!

B.R.
HU Dong

On Tue, Aug 7, 2012 at 11:24 AM, Denny Lin dennyli...@hs.ntnu.edu.twwrote:

 Hi,

 On Tue, Aug 07, 2012 at 10:21:13AM +0800, HU Dong wrote:
  Hi, all! Could anybody tell me how to detect Python.h location
  automatically in port Makefile, or how to add its path to gmake's
 arguments
  in a reliable way?

 There's a list of variables in bsd.python.mk. This should work:
 ${PYTHON_INCLUDEDIR}/Python.h

 --
 Denny Lin

___
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


How to change docdir in port Makefile?

2012-08-06 Thread HU Dong
Hi, all. I'm making a new port. It uses GNU configure to generate a
GNU Makefile. But it set DOCSDIR to
${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} instead
of ${PREFIX}/share/doc/${PORTNAME}:

***
docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION)
***

I've tried post-patch, but it didn't help, cause post-patch phase is
earlier than the time when GNU Makefile is generated. So how to modify the
GNU Makefile to correct this problem?

B.R.
HU Dong
___
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: gam_server hitting 100% cpu

2012-08-04 Thread HU Dong
The file /usr/local/etc/gamin/gaminrc is not always necessary, and setting
the time interval to 10 seconds may cause gamin to function improperly
according to my experience. Hope someone could dig into the problem and
find a solution.

B.R.
HU Dong

On Sat, Aug 4, 2012 at 10:48 PM, Marco Beishuizen mb...@xs4all.nl wrote:

 On Sat, 4 Aug 2012, the wise Kevin Oberman wrote:

 Finally found this one.

 Gamin needs some files that aren't there by default:
 ~/.gaminrc and /usr/local/etc/gamin/gaminrc.

 In these files you need to put two lines:
 fsset ufs poll 10
 fsset zfs poll 10

 to prevent gam_server from polling constantly.

 Regards,

 Marco

 NB: don't know if this mail is making it to the ports mailing list. My ISP
 is blocking freebsd.org for some reason.

 --
 Leibowitz's Rule:
 When hammering a nail, you will never hit your
 finger if you hold the hammer with both hands.

___
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: gam_server hitting 100% cpu

2012-08-03 Thread HU Dong
$ cat ~/.gaminrc
fsset ufs kernel 1
fsset zfs kernel 1

It tells gamin to update every 1 second.

On Sat, Aug 4, 2012 at 5:35 AM, Marco Beishuizen mb...@xs4all.nl wrote:

 Hi,

 Every time when Gnome (2.32) starts, gam_server is going to 100% cpu usage.
 Does anyone knows why this can happen?
 I use FreeBSD 9-STABLE on i386.

 Regards,
 Marco


 --
 Oh I'm just a typical American boy

 From a typical American town.

 I believe in God and Senator Dodd
 And keeping old Castro down.
 And when it came my time to serve
 I knew Better Dead Than Red,
 But when I got to my old draft board,
 Buddy, this is what I said:

 Chorus:
 Sarge, I'm only eighteen, I've got a ruptured spleen,
 And I always carry a purse!
 I've got eyes like a bat and my feet are flat,
 And my asthma's getting worse!
 Yes, think of my career and my sweetheart dear,
 And my poor old invalid aunt!
 Besides I ain't no fool, I'm a-going to school
 And I'm a-working in a defense plant!
 -- Phil Ochs, Draft Dodger Rag
 __**_
 freebsd-ports@freebsd.org mailing list
 http://lists.freebsd.org/**mailman/listinfo/freebsd-portshttp://lists.freebsd.org/mailman/listinfo/freebsd-ports
 To unsubscribe, send any mail to 
 freebsd-ports-unsubscribe@**freebsd.orgfreebsd-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: gam_server hitting 100% cpu

2012-08-03 Thread HU Dong
It did help me. Maybe you can increase the time interval.

Anyway, I think this is a common problem that the port maintainer should
consider fixing.

On Sat, Aug 4, 2012 at 8:44 AM, Marco Beishuizen mb...@xs4all.nl wrote:

 On Sat, 4 Aug 2012, the wise HU Dong wrote:

  $ cat ~/.gaminrc
 fsset ufs kernel 1
 fsset zfs kernel 1

 It tells gamin to update every 1 second.


 Sorry, didn't help. Gam_server still running at 100%.

 --
 In war, truth is the first casualty.
 -- U Thant

___
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: Problems about making a new port

2012-07-31 Thread HU Dong
OK, I've done creating a wrapper script. Now I'm waiting my
redports.orgaccount to be approved.

HU Dong

On Tue, Jul 31, 2012 at 10:10 AM, HU Dong itechb...@gmail.com wrote:

 Thanks, Jason! I've corrected most of them.

 As for /usr/local/share/certs/ca-root-nss.crt, it's a cert file
 installed by security/ca_root_nss. I can't figure out how to determine its
 location automatically, but I think ${PREFIX} is not proper either, so I
 replace /usr/local with ${LOCALBASE}.

 Now it seems that the only problem left is to create a wrapper script for
 the binary. I don't know where to find tutorials. Is there a google example
 that I can refer to? Roughly, I need to know where to place the original
 binary, how to name the wrapper, whether there's anything additional to do
 except copying files and executing the original binary, etc.

 HU Dong


 On Mon, Jul 30, 2012 at 11:22 PM, Jason E. Hale bsdkaf...@gmail.comwrote:

 On Monday, July 30, 2012 20:31:54 HU Dong wrote:
  I met with some problem while porting a software, which will be
  www/xombrero. It's a web browser.
 
  1. Its source code has a .desktop file and I want to install it to
  /usr/local/share/applications. But some committer told me to check it
  again. Is it a wrong place?
 
 It should go in ${PREFIX}/share/applications

  2. Also, it has several icon files located in ${WORKSRC}/. The filenames
  are xombreroicon32.png, xombreroicon64.png etc. Is there a convinient
 way
  to install them to correct places
 (/usr/local/share/icons/hicolr/NxN/apps)?
 
 Since you already have a variable ICONS=16 32 48 64 128, you could do:
 .for i in ${ICONS}
 ${INSTALL_DATA}  ${WRKSRC}/xombreroicon${i}.png
 ${PREFIX}/share/icons/hicolor/${i}x${i}/apps/
 .endfor
 You should probably add INSTALLS_ICONS=yes too.

  3. It has a simple sh script called playflash.sh as its plugin. The
  script is supposed to be manually copied to ~/.xombrero directory. So I
  installed the script to /usr/local/share/xombrero. Is it better to move
 it
  to /usr/local/share/examples/xombrero?
 
 IMO, it would be best in ${EXAMPLESDIR}, so add it to PORTEXAMPLES and
 remove it
 from the pkg-plist.  You should also install it with ${INSTALL_SCRIPT}
 since it is a script
 instead of ${INSTALL_DATA}.
 Perhaps you could create a wrapper script for xombrero so that the
 playflash.sh script
 is installed in ~/.xombrero instead of making the user do it
 manually...just a thought.

 Looking at your patch, you should remove pkgconfig from
 USE_GNOME=gtk20 pkgconfig
 and use the USE_PKGCONFIG=build macro instead.

 Use ${INSTALL_PROGRAM} to install bin/xombrero since it is a binary I'm
 assuming

 In this line, don't use a hardcoded path (/usr/local should be ${PREFIX}:
 @${REINPLACE_CMD} -e 's|#define XT_DS_SSL_CA_FILE   ()|#define
 XT_DS_SSL_CA_FILE  (\/usr\/local\/share\/certs\/ca-root-nss.crt)|g'
 ${WRKSRC}/xombrero.h

 In this line, use ${MAKE} instead of make:
 cd ${WRKSRC}/freebsd  make GTK_VERSION=gtk2

 pkg-plist: sort and remove the blank line and of course fix where the
 icons are installed

 Cheers,
 Jason E. Hale



___
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: Problems about making a new port

2012-07-31 Thread HU Dong
On Tue, Jul 31, 2012 at 11:27 PM, Jason E. Hale bsdkaf...@gmail.com wrote:

 On Tuesday, July 31, 2012 10:10:48 HU Dong wrote:

  As for /usr/local/share/certs/ca-root-nss.crt, it's a cert file
 installed
  by security/ca_root_nss. I can't figure out how to determine its
  location automatically, but I think ${PREFIX} is not proper either, so I
  replace /usr/local with ${LOCALBASE}.
 
 I've looked over this port a lot closer and it doesn't seem like this
 replacement is really necessary.  The user can define the location of the
 cert
 in ~/.xombrero.conf with the ssl_ca_file variable.

  Now it seems that the only problem left is to create a wrapper script for
  the binary. I don't know where to find tutorials. Is there a google
 example
  that I can refer to? Roughly, I need to know where to place the original
  binary, how to name the wrapper, whether there's anything additional to
 do
  except copying files and executing the original binary, etc.
 
 I'm not sure this is the right thing now since I looked at that script and
 it
 requires www/get_flash_videos and multimedia/mplayer.  You could make them
 optional dependencies, but I wouldn't install the script to the users home
 directory unless get_flash_videos and mplayer are installed.  It might be
 better to leave it up to the user since they will have to manually install
 .xombrero.conf anyways.  Maybe a pkg-message would be more appropriate.

 I was bored and had some free time, so I fixed up the port and put it in my
 Redports SVN repo:
 https://redports.org/browser/bsdkaffee/www/xombrero
 Build logs here:
 https://redports.org/buildarchive/20120731145106-5752/
 Clang build failed do to devel/gobject-introspection

 Feel free to use any of the changes I made.  Many of the changes were
 things I
 said in my previous mail.

 I did away with the do-build target and left that up to bsd.port.mk by
 defining MAKE_ARGS and BUILD_WRKSRC.  This will make it easier in the
 future
 if you want to make the port use either webkit-gtk2 or webkit-gtk3 (when it
 get in the ports tree).  Plus we need to pass PTHREAD_CFLAGS and
 PTHREAD_LIBS
 to make.

 - Fixed some hardcoded paths and the use of -pthread directly in the
 Makefile.
 - Added -D_GCRYPT_IN_LIBGCRYPT=1 to the Makefile to squash the warnings.
 - Moved one of the reinplaces to a proper patch.  Reinplaces are more for
 fixing paths and multiple instances of things.

 Regards,
 Jason E. Hale


Thanks, Jason! You really helped a lot! I'll merge these changes to my
files.

HU Dong
___
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: Problems about making a new port

2012-07-30 Thread HU Dong
Thanks, Jason! I've corrected most of them.

As for /usr/local/share/certs/ca-root-nss.crt, it's a cert file installed
by security/ca_root_nss. I can't figure out how to determine its location
automatically, but I think ${PREFIX} is not proper either, so I replace
/usr/local with ${LOCALBASE}.

Now it seems that the only problem left is to create a wrapper script for
the binary. I don't know where to find tutorials. Is there a google example
that I can refer to? Roughly, I need to know where to place the original
binary, how to name the wrapper, whether there's anything additional to do
except copying files and executing the original binary, etc.

HU Dong

On Mon, Jul 30, 2012 at 11:22 PM, Jason E. Hale bsdkaf...@gmail.com wrote:

 On Monday, July 30, 2012 20:31:54 HU Dong wrote:
  I met with some problem while porting a software, which will be
  www/xombrero. It's a web browser.
 
  1. Its source code has a .desktop file and I want to install it to
  /usr/local/share/applications. But some committer told me to check it
  again. Is it a wrong place?
 
 It should go in ${PREFIX}/share/applications

  2. Also, it has several icon files located in ${WORKSRC}/. The filenames
  are xombreroicon32.png, xombreroicon64.png etc. Is there a convinient way
  to install them to correct places
 (/usr/local/share/icons/hicolr/NxN/apps)?
 
 Since you already have a variable ICONS=16 32 48 64 128, you could do:
 .for i in ${ICONS}
 ${INSTALL_DATA}  ${WRKSRC}/xombreroicon${i}.png
 ${PREFIX}/share/icons/hicolor/${i}x${i}/apps/
 .endfor
 You should probably add INSTALLS_ICONS=yes too.

  3. It has a simple sh script called playflash.sh as its plugin. The
  script is supposed to be manually copied to ~/.xombrero directory. So I
  installed the script to /usr/local/share/xombrero. Is it better to move
 it
  to /usr/local/share/examples/xombrero?
 
 IMO, it would be best in ${EXAMPLESDIR}, so add it to PORTEXAMPLES and
 remove it
 from the pkg-plist.  You should also install it with ${INSTALL_SCRIPT}
 since it is a script
 instead of ${INSTALL_DATA}.
 Perhaps you could create a wrapper script for xombrero so that the
 playflash.sh script
 is installed in ~/.xombrero instead of making the user do it
 manually...just a thought.

 Looking at your patch, you should remove pkgconfig from USE_GNOME=gtk20
 pkgconfig
 and use the USE_PKGCONFIG=build macro instead.

 Use ${INSTALL_PROGRAM} to install bin/xombrero since it is a binary I'm
 assuming

 In this line, don't use a hardcoded path (/usr/local should be ${PREFIX}:
 @${REINPLACE_CMD} -e 's|#define XT_DS_SSL_CA_FILE   ()|#define
 XT_DS_SSL_CA_FILE  (\/usr\/local\/share\/certs\/ca-root-nss.crt)|g'
 ${WRKSRC}/xombrero.h

 In this line, use ${MAKE} instead of make:
 cd ${WRKSRC}/freebsd  make GTK_VERSION=gtk2

 pkg-plist: sort and remove the blank line and of course fix where the
 icons are installed

 Cheers,
 Jason E. Hale

___
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