pkgsrc/graphics/fotoxx/patches/patch-ab
ryoon c7ec7c6084 Update to 16.02.1
Changelog:
2016 Feb 05  v.16.02.1
+ Translation updates for Portuguese.
+ Bugfix: Resize: locking width/height ratio did not always work.
+ Bugfix: Slide Show startup sometimes failed.
+ Bugfix: If an album contains the same image file two or more times, stepping
  sequentially through the images loops from the Nth instance back to the first.

2016 Feb 01  v.16.02
+ New Effects > Cartoon: convert a photo into a cartoon-like drawing.
+ Add Text and Add Lines now work better with images having transparent areas.
+ Paint/Clone: optionally paint over transparent areas, instantly or gradually.
+ Brasero was replaced by growisofs for writing image files to DVD/BlueRay disc.
  (growisofs underlies Brasero, K3b, and most other disc burning utilities).
+ Edit Any Metadata: UI improvement to better handle long text strings.
+ Batch Change Metadata: UI improvement to better handle long text strings.
+ New batch function: select image files by clicking thumbnails, output a file
  with a list of the selected files. Useful to feed shell scripts or other apps.
+ Function key changes: F10 for full screen with menu and panel, F11 without.
+ Batch Convert: overlay images (e.g. credit lines) can be sized for a constant
  screen display size, regardless of image size or aspect ratio.
+ When viewing images sequentially using the [prev/next] button or keyboard
  arrow keys, adjacent directories can be spanned without user navigation.
+ An album can be opened from the command line: $ fotoxx -album <album-name>
+ Bugfix: Retouch Combo: reset button did not reset everything.
+ Bugfix: Panorama: "file color" button caused image misalignment or crash.

2016 Jan 06  v.16.01.1
+ Bugfix: Search Image by tags: uppercase/lowercase failure.
+ Translation updates for Spanish, Catalan, Italian, Portuguese.
2016-02-24 17:39:18 +00:00

48 lines
2.2 KiB
Text

$NetBSD: patch-ab,v 1.16 2016/02/24 17:39:18 ryoon Exp $
* Add NetBSD support
--- fotoxx-16.02.1.cc.orig 2016-01-01 08:20:29.000000000 +0000
+++ fotoxx-16.02.1.cc
@@ -465,28 +465,28 @@ int initzfunc(void *)
if (err) {
printz("copy default pattern files \n");
mkdir(pattern_dirk,0750);
- shell_quiet("cp -n %s/patterns/* %s",get_zdatadir(),pattern_dirk);
+ shell_quiet("yes 'n' | cp -i %s/patterns/* %s",get_zdatadir(),pattern_dirk);
}
err = stat(retouch_combo_dirk,&statb); // retouch combo settings
if (err) {
printz("copy default retouch_combo files \n");
mkdir(retouch_combo_dirk,0750);
- shell_quiet("cp -n %s/retouch_combo/* %s",get_zdatadir(),retouch_combo_dirk);
+ shell_quiet("yes 'n' | cp -i %s/retouch_combo/* %s",get_zdatadir(),retouch_combo_dirk);
}
err = stat(custom_kernel_dirk,&statb); // custom convolution kernels
if (err) {
printz("copy default custom_kernel files \n");
mkdir(custom_kernel_dirk,0750);
- shell_quiet("cp -n %s/custom_kernel/* %s",get_zdatadir(),custom_kernel_dirk);
+ shell_quiet("yes 'n' | cp -i %s/custom_kernel/* %s",get_zdatadir(),custom_kernel_dirk);
}
err = stat(favorites_dirk,&statb); // favorites menu
if (err) {
printz("copy default favorites menu \n");
mkdir(favorites_dirk,0750);
- shell_quiet("cp -n %s/favorites/* %s",get_zdatadir(),favorites_dirk);
+ shell_quiet("yes 'n' | cp -i %s/favorites/* %s",get_zdatadir(),favorites_dirk);
}
err = stat(tags_defined_file,&statb); // tags_defined file
@@ -510,7 +510,7 @@ int initzfunc(void *)
screenhh = gdk_screen_get_height(screen);
printz("screen width: %d height: %d \n",screenww,screenhh);
- NWT = get_nprocs(); // get SMP CPU count
+ NWT = sysconf(_SC_NPROCESSORS_ONLN); // get SMP CPU count
if (NWT <= 0) NWT = 2;
if (NWT > max_threads) NWT = max_threads; // compile time limit
printz("using %d threads \n",NWT);